/* ========================================
   VARIANT SELECTION MODAL - RESPONSIVE DESIGN
   ======================================== */

/* Mobile-first approach - Base styles for mobile */
html.vhd-modal-open,
body.vhd-modal-open {
  overflow: hidden;               /* scrollbar'ı kapat */
  /* height: 100%; */
  overscroll-behavior: contain;   /* scroll chaining (pull-to-refresh vs) engelle */
}
/* Modal Overlay */
.vhd-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease, visibility .3s ease;
}
.vhd-modal.vhd-modal-open {
    visibility: visible;
    opacity: 1;
}
.vhd-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .7);
    cursor: pointer;
}

/* Modal Content */
.vhd-modal-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-width: 90vw;
    background: #fff;
    border-radius: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, .1);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-top-left-radius: 28px;
    border-bottom-left-radius: 28px;
}


.vhd-modal.vhd-modal-open .vhd-modal-content {
    transform: translateX(0);
}

/* Modal Header */
.vhd-modal-header{padding-bottom: 1.5em;;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center;}
.vhd-modal-header h3{margin:0;font-size:18px;font-weight:600;color:#000;}
@media (min-width: 1280px) {
    .vhd-modal-header h3 {
        font-size: 1.4375rem;
        line-height: 1.4375rem;
    }
}
@media (min-width: 1720px) {
    .vhd-modal-header h3 {
        font-size: 2.0625rem;
        line-height: 2.0625rem;
    }
}

.vhd-modal-close{
  background:none !important;
  border:none;
  font-size:24px;
  color:#000 !important;
  cursor:pointer;padding:0;
  align-items: normal !important;
  display: inherit !important;
  padding: 0 !important;
  min-height: auto !important;
  justify-content: normal !important;
}
.vhd-modal-close p{
  text-transform: none !important;
  font-size: 1rem !important;
  line-height: 1.25rem !important;
  margin: 0 !important;
  padding: 3px 0px;
}
.vhd-modal-close:hover{background:#e9ecef;color:#333}

/* Modal Body */
.vhd-modal-body{flex:1;overflow-y:auto;padding:0}

/* Variants Grid (liste görünümü kullanan kısımlar varsa) */
.vhd-variants-grid{display:flex;flex-direction:column;gap:0}
.vhd-variant-item{border-bottom:1px solid #eee;cursor:pointer;transition:background-color .2s ease}
.vhd-variant-item:hover{background-color:#f8f9fa}
.vhd-variant-item:last-child{border-bottom:none}
.vhd-variant-item.out-of-stock{opacity:.6;cursor:not-allowed}
.vhd-variant-content{padding:20px}

/* Variant Image */
.vhd-variant-image{margin-bottom:15px;text-align:center}
.vhd-variant-image img{max-width:80px;max-height:80px;object-fit:cover;border-radius:4px;border:1px solid #eee}

/* Variant Info */
.vhd-variant-info{display:flex;flex-direction:column;gap:15px}

/* Variant Attributes (etiketler) */
.vhd-variant-attributes{display:flex;flex-wrap:wrap;gap:8px}
.vhd-attribute{background:#e9ecef;padding:4px 8px;border-radius:4px;font-size:12px;color:#495057}
.vhd-attribute strong{color:#212529}

/* Boyut/Ölçü alanı */
.vhd-variant-dimensions h4{margin:0 0 10px;font-size:14px;font-weight:600;color:#333}
.vhd-dimensions-display{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.vhd-dimension-item{display:flex;justify-content:space-between;align-items:center;font-size:13px}
.vhd-dimension-label{color:#666;font-weight:500}
.vhd-dimension-value{color:#333;font-weight:600;}
.vhd-unit-controls{display:flex;gap:4px;margin-bottom:10px}
.vhd-unit-toggle{background:#f8f9fa;border:1px solid #dee2e6;padding:4px 8px;font-size:11px;font-weight:600;color:#495057;cursor:pointer;border-radius:3px;transition:all .2s ease}
.vhd-unit-toggle:hover{background:#e9ecef}
.vhd-unit-toggle.active{background:#007cba;color:#fff;border-color:#007cba}

/* Fiyat & Stok */
.vhd-variant-price{font-size:16px;font-weight:700;color:#333}
.vhd-variant-stock{display:flex;align-items:center}
.vhd-stock-status{font-size:12px;font-weight:600;padding:4px 8px;border-radius:4px;text-transform:uppercase}
.vhd-stock-status.in-stock{background:#d4edda;color:#155724}
.vhd-stock-status.out-of-stock{background:#f8d7da;color:#721c24}
.vhd-swatch-label {
    width: 100%;
    text-align: left;
    color: #000;
    text-transform: capitalize;

    display: flex ;
    flex-direction: row;
    align-items: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.tvhd-swatch.vhd-swatch-text {
  font-size: .75rem;
  line-height: 1rem;
}
@media (min-width: 1280px) {
  .tvhd-swatch.vhd-swatch-text {
      font-size: .875rem;
      line-height: 1.25rem;
  }
}
/* Butonlar */
.vhd-select-variant-btn{background:#007cba;color:#fff;border:none;padding:10px 16px;font-size:13px;font-weight:600;border-radius:4px;cursor:pointer;transition:background-color .2s ease;width:100%}
.vhd-select-variant-btn:hover:not(:disabled){background:#005a87}
.vhd-select-variant-btn:disabled{background:#6c757d;cursor:not-allowed}
.vhd-variant-selector-wrapper{margin:15px 0}
.vhd-variant-selector-btn{background:#007cba;color:#fff;border:none;padding:12px 20px;font-size:14px;font-weight:600;border-radius:4px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;gap:8px}
.vhd-variant-selector-btn:hover{background:#005a87;transform:translateY(-1px)}
.vhd-icon{font-size:16px}

/* Loading & Error */
.vhd-loading,.vhd-error,.vhd-no-variants{padding:40px 20px;text-align:center;color:#666;font-style:italic}
.vhd-error{color:#dc3545}

/* Success toast */
.vhd-success-message{position:fixed;top:20px;right:20px;background:#28a745;color:#fff;padding:12px 20px;border-radius:4px;font-weight:600;z-index:10000;transform:translateX(100%);transition:transform .3s ease}
.vhd-success-message.vhd-show{transform:translateX(0)}

/* Body Lock */
body.vhd-modal-open{overflow:hidden}

/* ========================================
   CONFIGURATION MODAL STYLES
   ======================================== */

.vhd-configuration-sections{padding:0}
.vhd-config-section{padding:20px;border-bottom:1px solid #eee}
.vhd-config-section:last-child{border-bottom:none}
.vhd-config-section-title{margin:0 0 15px;font-size:16px;font-weight:600;color:#333}

/* Size / dropdown */
.vhd-size-selector{position:relative;display:flex;justify-content:center}
.vhd-size-dropdown,.vhd-attribute-dropdown{width:100%;max-width:300px;padding:12px 16px;font-size:16px;font-weight:500;color:#333;background:#fff;border:2px solid #ddd;border-radius:8px;cursor:pointer;transition:border-color .2s ease;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right 12px center;background-repeat:no-repeat;background-size:16px;padding-right:40px}
.vhd-size-dropdown:hover,.vhd-attribute-dropdown:hover{border-color:#007cba}
.vhd-size-dropdown:focus,.vhd-attribute-dropdown:focus{outline:none;border-color:#007cba;box-shadow:0 0 0 3px rgba(0,124,186,.1)}

/* Center dropdown-style attributes (like size selection) */
.vhd-attr-text .vhd-attr-options{display:flex;justify-content:center;gap:32px;align-items:center}

/* Özet alt kısmı */
.vhd-config-summary{padding:20px;background:#f8f9fa;border-top:1px solid #eee}
.vhd-selected-config{background:#fff;padding:16px;border-radius:8px;border:1px solid #ddd}
.vhd-selected-config>div{margin-bottom:8px;font-size:14px;color:#666}
.vhd-selected-config>div:last-child{margin-bottom:0}
.vhd-selected-config span{color:#333;font-weight:600}
.vhd-config-actions{padding:20px;background:#fff;border-top:1px solid #eee}
.vhd-confirm-selection-btn{width:100%;background:#28a745;color:#fff;border:none;padding:16px 24px;font-size:16px;font-weight:600;border-radius:8px;cursor:pointer;transition:all .2s ease}
.vhd-confirm-selection-btn:hover{background:#218838;transform:translateY(-1px);box-shadow:0 4px 12px rgba(40,167,69,.3)}
.vhd-confirm-selection-btn:active{transform:translateY(0)}

/* Shortcode/info alanları */
.vhd-attribute-display{margin:10px 0}
.vhd-attribute-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #eee}
.vhd-attribute-label{font-size:16px;font-weight:500;color:#333}
.vhd-more-options-btn{background:transparent;border:none;color:#007cba;font-size:14px;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:5px;transition:color .2s ease}
.vhd-more-options-btn:hover{color:#005a87}
.vhd-arrow{font-size:12px;transition:transform .2s ease}
.vhd-more-options-btn:hover .vhd-arrow{transform:translateX(2px)}

/* Product Info (ürün sayfası) */
.vhd-product-info-wrapper{max-width:100%;}
.vhd-dimensions-section{padding:20px 0;border-bottom:1px solid #eee;position:relative}
.vhd-dimensions-section .vhd-dimensions-display{display:flex;flex-direction:row;gap:30px;align-items:center;margin-bottom:0}
.vhd-dimensions-section .vhd-dimension-item{display:flex;gap:8px;align-items:center;font-size:16px;white-space:nowrap}
.vhd-dimensions-section .vhd-dimension-label{color:#333;font-weight:normal}
.vhd-dimensions-section .vhd-dimension-value{font-weight:bold;color:#333;}
.vhd-unit-controls{position:absolute;top:20px;right:0;display:flex;gap:0}
.vhd-unit-btn{background:#f8f9fa;border:1px solid #dee2e6;padding:8px 16px;font-size:14px;font-weight:600;color:#495057;cursor:pointer;transition:all .2s ease}
.vhd-unit-btn:first-child{border-radius:4px 0 0 4px}
.vhd-unit-btn:last-child{border-radius:0 4px 4px 0;border-left:none}
.vhd-unit-btn:hover{background:#e9ecef}
.vhd-unit-btn.active{background:#333;color:#fff;border-color:#333}

/* .vhd-attributes-section{padding:15px 0 0 0} */

/* UI Certificate Section */
.vhd-ui-certificate-section {
  padding: 0px 0 35px 0 !important;
  border-bottom: 1px solid #eee !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.vhd-ui-certificate-label {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #333 !important;
  margin: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  flex: 0 0 auto !important;
}

.vhd-ui-certificate-options {
  display: flex !important;
  gap: 0 !important;
  flex: 0 0 auto !important;
}

.vhd-ui-cert-btn {
  background: transparent !important;
  border: 1px solid #111 !important;
  padding: 4px 8px !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #8b8b8b !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  white-space: nowrap !important;
  min-height: auto !important;
}

.vhd-ui-cert-btn:first-child {
  border-radius: 4px 0 0 4px !important;
}

.vhd-ui-cert-btn:last-child {
  border-radius: 0 4px 4px 0 !important;
  border-left: none !important;
}

.vhd-ui-cert-btn:hover {
  background: transparent !important;
}

.vhd-ui-cert-btn.active {
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1)) !important;
  color: #111 !important;
  --tw-bg-opacity: 1;
}

.vhd-ui-certificate-input {
  display: none !important;
}

.vhd-configuration-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.vhd-attributes {
  flex-grow: 4;
}
.vhd-attribute-row{display:flex;justify-content:space-between;align-items:center;padding:30px 0 15px 0;border-bottom:1px solid #eee;font-size:16px}
.vhd-attribute-value{font-weight:normal;color:#333; text-transform: uppercase;}
.vhd-more-btn{background:transparent !important;border:none;color:#333;font-size:16px;cursor:pointer;display:flex;align-items:center;gap:5px;transition:color .2s ease; text-transform: uppercase !important;}
.vhd-more-btn:hover{color:#007cba}
.vhd-delivery-info{background:#f8f9fa;padding:15px;text-align:left;font-size:14px;color: var(--e-global-color-accent);border-bottom: 1px solid #DFDFDF;text-transform: uppercase;}
/* .vhd-purchase-section{padding:20px 0} */
.vhd-price-cart-row{display:flex;justify-content:space-between;align-items:center;margin:10px;}
.vhd-price-display{flex:1}
.vhd-current-price{font-size:32px;font-weight:700;color:#333}
.vhd-add-to-cart{flex:0 0 auto}
.vhd-add-to-bag-btn{
  background:#000 !important;
  color:#fff !important;
  border:none;
  padding:15px 30px;
  font-size:16px !important;
  font-weight:400 !important;
  transition:all .2s ease;
  min-width:150px;
  border-radius: 50px !important;
  text-transform: uppercase !important;
}
.vhd-add-to-bag-btn:hover{background:#333;transform:translateY(-1px)}
/* .vhd-add-to-bag-btn:disabled{background:#ccc;cursor:not-allowed;transform:none} */
.vhd-payment-options{text-align:left;font-size:14px;color: var(--e-global-color-accent);padding: 15px;text-transform: uppercase;
    border-top: 1px solid #DFDFDF;}
.vhd-payment-options a{color: var(--e-global-color-accent);text-decoration:underline}
.vhd-payment-options a:hover{color:#005a87}

/* Responsive */
@media (min-width: 1720px) {
  .vhd-modal-content {
    width: 100%;
    max-width: 60dvw;
  }
}
@media (min-width: 1366px) {
  .vhd-modal-content {
    width: 100%;
    max-width: 70dvw;
  }
}
@media (min-width: 1280px) {
  .vhd-modal-content {
    width: 100%;
    max-width: 60dvw;
  }
}

/* ========================================
   SWATCH/KART GÖRÜNÜMLERİ (image & color)
   ======================================== */

:root{
  --vhd-gap: 1rem;
  --vhd-tile: 170px;
  --vhd-radius: 16px;
  --vhd-ring: 2px;
  --vhd-border: #000;
  --vhd-ring-color: #111827;
  --vhd-muted: #9ca3af;
}

.vhd-attr{margin:28px 0}
.vhd-attr-label{
  font-weight:600;
  margin-bottom:1.5rem;
  font-size: 1rem;
  line-height: 1.25rem;
  color: #000;
  }

/* Varsayılan: grid (image & color için) */
.vhd-attr-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--vhd-tile),1fr));gap:var(--vhd-gap)}

.vhd-option{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
    width:100% !important;
    padding:12px !important;
    border:none !important;
    border-radius:var(--vhd-radius) !important;
    background:#fff !important;
    cursor:pointer !important;
    transition:border-color .15s ease,box-shadow .15s ease,transform .02s ease !important;
    box-sizing:border-box !important;
    margin:0 !important;
    outline:none !important;
    text-decoration:none !important;
    list-style:none !important;
    font-size:inherit !important;
    line-height:inherit !important;
    color:inherit !important;
    background-color:#fff !important;
    box-shadow:none !important;
}
.vhd-option:hover{
    border-color:#d1d5db !important;
    box-shadow:0 1px 8px rgba(0,0,0,.06) !important;
    background:#fff !important;
}
.vhd-option.is-active{
    transform:translateY(1px) !important;
    background:#fff !important;
    border:1px solid var(--vhd-border) !important;
}

/* Sadece image & color kare alan */
.vhd-option img,
.vhd-option .vhd-swatch-color{
  width:100%;
  aspect-ratio:1/1;
  border-radius:calc(var(--vhd-radius) - 4px);
  display:block;
}
.vhd-option img{object-fit:cover;background:#f3f4f6}
.vhd-option .vhd-swatch-color{background:var(--swatch,#f3f4f6)}

.vhd-option-name{font-weight:600;line-height:1.2}
.vhd-option-sub{color:var(--vhd-muted)}

.vhd-option.is-active{border-color:var(--vhd-ring-color);box-shadow:0 0 0 var(--vhd-ring) rgba(17,24,39,.12)}
.vhd-option.is-active::before{
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  z-index: 2;

  /* önceki mask tabanlı çözümleri iptal et */
  -webkit-mask: none !important;
  mask: none !important;

  /* siyah daire */
  background-color: #000;

  /* ortalanmış beyaz tik (SVG) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;

  /* küçük bir derinlik */
  box-shadow: 0 1px 0 rgba(0,0,0,.25);  
}
.vhd-option.is-disabled{pointer-events:none;opacity:.45;filter:grayscale(1)}

/* ========================================
   TEXT NİTELİKLERİ (radio/pill görünümü)
   ======================================== */

/* Grup yerleşimi: grid yerine yatay satır */
.vhd-attr:has(.vhd-swatch-text) .vhd-attr-options{display:flex;flex-wrap:wrap;gap:32px;align-items:center}

/* :has destekleme fallback'i istersen gruba .vhd-attr--text sınıfı koy,
   aşağı satırı da aktif et:
   .vhd-attr.vhd-attr--text .vhd-attr-options{display:flex;flex-wrap:wrap;gap:32px;align-items:center}
*/

/* Butonu pill'e çevir */
.vhd-option:has(.vhd-swatch-text){
  width:auto !important;
  min-width:140px !important;
  padding:16px 22px !important;
  border-radius:18px !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  background:#fff !important;
  box-sizing:border-box !important;
  margin:0 !important;
  outline:none !important;
  text-decoration:none !important;
  list-style:none !important;
  font-size:18px !important;
  line-height:1 !important;
  color:#111 !important;
  background-color:#fff !important;
  box-shadow:none !important;
  border:none !important;
}
.vhd-option:has(.vhd-swatch-text):hover{
  border:1px solid #d1d5db !important;
  box-shadow:0 1px 8px rgba(0,0,0,.06) !important;
  background:#fff !important;
}

/* Etiket */
.vhd-option .vhd-swatch-text{
  /* kare kurallarını geçersiz kıl */
  width:auto;aspect-ratio:auto;border-radius:0;display:inline-block;
  background:transparent;color:#111;font-weight:600;font-size:18px;line-height:1;
  margin-right: 10px;
}

/* Sağ tarafta radyo dairesi */
/* .vhd-option:has(.vhd-swatch-text)::after{
  content:"";
  inline-size:28px; block-size:28px;
  border-radius:999px;
  border:2px solid #c7c7c7;
  background:#fff;
} */

/* Seçili rozet + radyo dolu */
/* .vhd-option.is-active:has(.vhd-swatch-text){
  border-color:#111;
  box-shadow:0 0 0 var(--vhd-ring) rgba(17,24,39,.08);
}
.vhd-option.is-active:has(.vhd-swatch-text)::after{
  border-color:#111;
  background:#111;
  /* tik işareti */
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M20.285 6.709l-11.1 11.1-5.47-5.47 1.414-1.414 4.056 4.056 9.686-9.686z'/%3E%3C/svg%3E") no-repeat center/14px 14px;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M20.285 6.709l-11.1 11.1-5.47-5.47 1.414-1.414 4.056 4.056 9.686-9.686z'/%3E%3C/svg%3E") no-repeat center/14px 14px;
}

/* Disabled */
.vhd-option.is-disabled:has(.vhd-swatch-text){opacity:.45;filter:grayscale(0)}
.vhd-option.is-disabled:has(.vhd-swatch-text)::after{border-color:#ddd}

/* Klavye erişilebilirliği */
.vhd-option:focus-visible{outline:2px solid #111;outline-offset:2px}

/* Responsive ebatlar */
@media (max-width:1200px){
  :root{--vhd-tile:150px;--vhd-gap:20px}
}
@media (max-width:900px){
  :root{--vhd-tile:130px;--vhd-gap:16px}
  .vhd-option:has(.vhd-swatch-text){min-width:120px;padding:14px 18px}
  .vhd-option .vhd-swatch-text{font-size:16px}
}
@media (max-width:600px){
  :root{--vhd-tile:110px;--vhd-gap:12px}
  .vhd-option:has(.vhd-swatch-text){min-width:110px}
}
.vhd-swatch-unselected {
    cursor: pointer;    
    border-style: solid;
    position: absolute;
    height: 1.25rem;
    width: 1.25rem;
    border-radius: 9999px;
    border-width: 1px;
    border-color: #0000004d;
}
/* ================================
   TEXT NİTELİĞİ (pill) HIZA DÜZELTME
   ================================ */

/* grid yerine yatay satır */
.vhd-attr:has(.vhd-swatch-text) .vhd-attr-options{
  display:flex;
  flex-wrap:wrap;
  gap:32px;
  align-items:center;
}

/* önceki ::after rozetini kapat (çiftleşmesin) */
.vhd-option:has(.vhd-swatch-text)::after{ content:none !important; }

/* butonu pill'e çevir + içerik hizası */
.vhd-option:has(.vhd-swatch-text){
  width:auto;
  min-width:160px;
  padding:16px 22px;
  border-radius:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}

/* label ve metin hizası */
.vhd-option:has(.vhd-swatch-text) .vhd-swatch-label{
  display:flex;
  align-items:center;
  line-height:1;
}
.vhd-option:has(.vhd-swatch-text) .vhd-swatch-text{
  /* kare kurallarını geçersiz kıl */
  width:auto; aspect-ratio:auto; border-radius:0;
  background:transparent;
  color:#111; font-weight:600; font-size:18px; line-height:1;
}

/* SAĞDAKİ DAİRE: gerçek radyo/rozet */
.vhd-option:has(.vhd-swatch-text) .vhd-swatch-unselected{
  width:24px; height:24px;
  border-radius:999px;
  border:2px solid #c7c7c7;
  background:#fff;
  flex:0 0 auto;               /* kaymasın */
  margin-left:12px;
}

/* aktifken siyah dolu + tik */
.vhd-option.is-active:has(.vhd-swatch-text){
  border-color:#111;
  box-shadow:0 0 0 var(--vhd-ring,2px) rgba(17,24,39,.08);
}
.vhd-option.is-active:has(.vhd-swatch-text) .vhd-swatch-unselected{
  border-color:#111;
  background:#111;
  -webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24"><path fill="white" d="M20.285 6.709l-11.1 11.1-5.47-5.47 1.414-1.414 4.056 4.056 9.686-9.686z"/></svg>') no-repeat center/14px 14px;
          mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24"><path fill="white" d="M20.285 6.709l-11.1 11.1-5.47-5.47 1.414-1.414 4.056 4.056 9.686-9.686z"/></svg>') no-repeat center/14px 14px;
}

/* disabled görünüm */
.vhd-option.is-disabled:has(.vhd-swatch-text){ opacity:.45; filter:none; }
.vhd-option.is-disabled:has(.vhd-swatch-text) .vhd-swatch-unselected{ border-color:#ddd; }

/* responsive ince ayar */
@media (max-width: 900px){
  .vhd-option:has(.vhd-swatch-text){ min-width:120px; padding:14px 18px; }
  .vhd-option:has(.vhd-swatch-text) .vhd-swatch-text{ font-size:16px; }
}
@media (max-width: 600px){
  .vhd-option:has(.vhd-swatch-text){ min-width:110px; }
}
.DeliveryBox {
  border-radius: 8px;
  --display: flex;
    --gap: 0px 0px;
    --row-gap: 0px;
    --column-gap: 0px;
    border-style: solid;
    --border-style: solid;
    border-width: 1px 1px 1px 1px;
    --border-top-width: 1px;
    --border-right-width: 1px;
    --border-bottom-width: 1px;
    --border-left-width: 1px;
    border-color: var(--e-global-color-819d093);
    --border-color: var(--e-global-color-819d093);
    
    --padding-top: 0px;
    --padding-bottom: 0px;
    --padding-left: 0px;
    --padding-right: 0px;
}
/* --- Unit toggle - pill görünüm (CM | IN) --- */
.vhd-dimensions-section .vhd-unit-controls,
.vhd-size-selector-header .vhd-unit-controls{
  position: absolute;        /* mevcut yerleşimi koru */
  right: 0;
  display: inline-flex;
  align-items: center;
  border: 1px solid #111;    /* siyah çerçeve */
  border-radius: 4px;       /* pill */
  overflow: hidden;
  background: #fff;          /* dış zemin beyaz */
}

/* orta ayraç çizgisi */
.vhd-dimensions-section .vhd-unit-controlsss::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 100%;
  background: #111;
  transform: translate(-50%, -50%);
}

/* butonların sıfırlaması */
.vhd-dimensions-section .vhd-unit-btn,
.vhd-size-selector-header .vhd-unit-btn{
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  color: #8b8b8b;
  min-height: auto !important;
}

/* hover ve aktif: siyah yazı, zemin yine beyaz */
.vhd-dimensions-section .vhd-unit-btn:hover,
.vhd-dimensions-section .vhd-unit-btn.active,
.vhd-size-selector-header .vhd-unit-btn:hover,
.vhd-size-selector-header .vhd-unit-btn.active{
  color: #111;
  background: transparent;
}

/* önceki temadaki koyu arka planı ezmek için ek güvenlik */
.vhd-dimensions-section .vhd-unit-controls .vhd-unit-btn.active,
.vhd-size-selector-header .vhd-unit-controls .vhd-unit-btn.active{
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

/* küçük ekran boşlukları */
@media (max-width: 600px){
  .vhd-dimensions-section .vhd-unit-btn, .vhd-size-selector-header .vhd-unit-btn{ padding: 4px 8px; min-width: 35px; height: 100%; }
  .vhd-dimensions-section .vhd-unit-controls, .vhd-size-selector-header .vhd-unit-controls{ border-radius: 10px; }
  .vhd-ui-cert-btn:first-child {
      border-radius: 10px 0 0 10px !important;
  }
  .vhd-ui-cert-btn:last-child {
      border-radius: 0 10px 10px 0 !important;
  }
}
.border-r {
    border-right: 1px solid #000 !important;
}
.vhd-apply-cta {
  position:sticky;
  bottom:0;
  right:0;
  padding:16px 20px;
  background:rgba(255,255,255,.96);
  border-top:1px solid #eee;
  display:flex;
  justify-content:flex-end;
}
.vhd-apply-selection {
  background:#000 !important;
  color:#fff !important;
  border:none;
  padding:14px 22px;
  border-radius:9999px !important;
  font-weight:600;
  font-size:16px;
  transform: translate3d(var(--tw-translate-x), var(--tw-translate-y), 0) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  border: 1px solid transparent !important;
}
.vhd-apply-selection:hover {
  background:#fff !important;
  color:#000 !important;
  border-color: #000 !important;
}
.vhd-size-selector-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.vhd-size-selector-header .vhd-unit-controls {
  position: static;
}
/* ========================================
   MOBILE RESPONSIVE DESIGN - 760px BREAKPOINT
   ======================================== */

/* Mobile-first approach - Base styles for mobile (up to 760px) */
@media (max-width: 760px) {
  #vhd-variant-modal {
    position: fixed;
    inset: 0;
    height: 100vh;     /* fallback */
    height: 100dvh;    /* iOS Safari için dinamik vh */
    overflow: hidden;  /* içerik alanı ayrı scroll alacak */
  }
  .vhd-modal-content {
    width: 100%;
    max-width: 100vw;
    height: 90vh;
    height: 90dvh;
    max-height: 90vh;
    max-height: 90dvh;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    border-radius: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transform: translateY(100%);
  }

  .vhd-modal.vhd-modal-open .vhd-modal-content {
    transform: translateY(0);
  }

  .vhd-modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
  }

  .vhd-modal-header h3 {
    font-size: 18px;
    font-weight: 600;
  }

  .vhd-modal-body {
    padding:0 24px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(30px + env(safe-area-inset-bottom)); /* CTA yüksekliği + güvenli alan */
  }

  /* Mobile variant selection - VERTICAL LIST layout */
  .vhd-attr {
    margin: 20px 0;
  }

  .vhd-attr-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    padding: 10px 0;
  }

  /* Mobile variant options - VERTICAL LIST (not horizontal scroll) */
  .vhd-attr-options {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow-y: auto;
    max-height: 60vh;
  }

  .vhd-option {
    display: flex;
    align-items: center;
    flex-direction: row !important;
    justify-content: space-between;
    padding: 4px 8px !important;
    border: 1px solid #e0e0e0;
    border-radius: 12px !important;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    margin-bottom: 8px;
    align-items: stretch !important;
    border: 1px solid transparent;
  }

  .vhd-option:hover {
    border-color: #007cba;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
    transform: translateY(-1px);
  }

  .vhd-option:last-child {
    margin-bottom: 0;
  }

  .vhd-option.is-active {
    border-color: #007cba;
    background-color: #f0f8ff;
    box-shadow: 0 2px 12px rgba(0, 124, 186, 0.15);
    margin: 5px 0px !important;
  }

  /* Left side - Image/Color Swatch */
  .vhd-option-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
  }

  .vhd-option img,
  .vhd-option .vhd-swatch-color {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
  }

  .vhd-option-name {
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #000;
    margin: 0;
    min-width: 80px;
  }

  .vhd-option-sub {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
  }

  /* Right side - Price and Radio Button */
  .vhd-option-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
  }

  .vhd-option-price {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    min-width: 70px;
    text-align: right;
  }

  .vhd-option-radio {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    background: #fff;
    transition: all 0.2s ease;
  }

  .vhd-option-radio.selected {
    border-color: #007cba;
    background: #007cba;
  }

  .vhd-option-radio.selected::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
  }

  .vhd-option-radio:hover {
    border-color: #007cba;
  }

  /* Mobile price display */
  .vhd-config-summary {
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
  }

  .vhd-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: center;
  }

  /* Mobile confirm button */
  .vhd-config-actions {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
  }

  .vhd-confirm-selection-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .vhd-confirm-selection-btn:hover {
    background: #218838;
  }
  .vhd-option::before {
    content: " ";
    background: transparent;
    border: 1px solid #0000004d;
    border-radius: 9999px;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    z-index: 2;
    -webkit-mask: none !important;
    mask: none !important;
  }
  .vhd-option.is-active::before {
    top: calc(50% - 10px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  }
  .vhd-swatch-label{
    align-items: flex-start;
    padding-left: 0;
  }
  .vhd-modal-content {
    top:10vh;
    border-radius: 30px 30px 0 0;
  }
  .vhd-dimensions-section .vhd-dimensions-display {
    /* flex-direction: column;
    align-items: flex-start; */
    gap: 5px;
    justify-content: flex-start;
  }
  .vhd-configuration-container {
    /* display: block;
    flex-direction: column; */
    /* margin-bottom: 30px; */
  }
  .vhd-apply-cta {
    position: fixed;
    width: 100%;
    bottom: 0;
    height: 80px;
    z-index: 5;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .vhd-apply-selection {
    width: 100%;
  }
  .vhd-attributes {
    padding-bottom: 100px;
    /* height: calc(90vh - 160px); */
  }
  .vhd-dimensions-section .vhd-dimension-item,
  .vhd-dimensions-section .vhd-unit-btn,
  .vhd-size-selector-header .vhd-unit-btn {
    font-size: 11px !important;
  }
  .vhd-attribute-value,
  .vhd-more-btn {
    font-size: 13px !important;
  }
  .vhd-unit-controls {
    margin-bottom: 0;
  }
  .vhd-dimensions-section {
    display: flex;
    justify-content: space-between;
  }
  .vhd-dimensions-section .vhd-unit-controls,
  .vhd-size-selector-header .vhd-unit-controls{
    position: static;
  }
}

/* Desktop styles - above 760px */
@media (min-width: 761px) {
  .vhd-modal-content {
    width: 100%;
    max-width: 60vw;
    border-top-left-radius: 28px;
    border-bottom-left-radius: 28px;
  }

  .vhd-modal-header {
    padding: 24px 30px;
  }

  .vhd-modal-header h3 {
    font-size: 20px;
    font-weight: 600;
  }

  .vhd-modal-body {
    padding: 0;
  }

  /* Desktop grid layout */
  .vhd-attr {
    margin: 28px 0;
  }

  .vhd-attr-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 0 30px;
  }

  .vhd-attr-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
    padding: 0 30px 30px 30px;
  }

  .vhd-option {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
  }

  .vhd-option img,
  .vhd-option .vhd-swatch-color {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
  }

  .vhd-option-name {
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
  }

  .vhd-option-sub {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
  }

  /* Desktop price and actions */
  .vhd-config-summary {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
  }

  .vhd-price {
    font-size: 20px;
    font-weight: 700;
    color: #333;
  }

  .vhd-config-actions {
    padding: 24px 30px;
    background: #fff;
    border-top: 1px solid #eee;
  }

  .vhd-confirm-selection-btn {
    width: 100%;
    padding: 18px 28px;
    font-size: 18px;
    font-weight: 600;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .vhd-confirm-selection-btn:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  }
}

/* ========================================
   COLOR SELECTION SPECIFIC STYLES
   ======================================== */

.vhd-color-selection {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}

.vhd-color-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
  text-align: center;
}

.vhd-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.vhd-color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
}

.vhd-color-option:hover {
  border-color: #007cba;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 124, 186, 0.15);
}

.vhd-color-option.selected {
  border-color: #007cba;
  background: #f0f8ff;
}

.vhd-color-swatch {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 8px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
}

.vhd-color-swatch.selected::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.vhd-color-name {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.vhd-color-price {
  font-size: 11px;
  color: #666;
  margin-top: 2px;
}

.vhd-color-option.selected .vhd-color-name {
  color: #007cba;
}

/* Mobile responsive for color selection */
@media (max-width: 760px) {
  .vhd-color-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
  }

  .vhd-color-swatch {
    width: 50px;
    height: 50px;
  }

  .vhd-color-name {
    font-size: 11px;
  }

  .vhd-color-price {
    font-size: 10px;
  }
}

/* ========================================
   SIZE SELECTOR SECTION STYLES
   ======================================== */

.vhd-size-selector-section {
    margin-bottom: 20px;
}
.vhd-size-selector-header {
  margin-bottom: 12px;
}
.vhd-size-selector-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

.vhd-size-options {
    display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;  
}
.vhd-size-options .vhd-size-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 12px 16px;
  text-align: center;
  white-space: normal;
  background: #f3f3f3;
  border: 1px solid #f3f3f3;
  color: #1f1f1f;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  position: relative;
  border-radius: 5px !important;
}
.vhd-size-options .vhd-size-option:hover {
  color: var(--btn-color-hover, var(--btn-color, #3E3E3E));
  border-color: black;
  background-color: white;
  box-shadow: none;
}
.vhd-size-options .vhd-size-option:not(.selected):hover {
  background-color: #e0e0e0;
  border-color: #f3f3f3;
}
.vhd-size-option.selected {
  background-color: white;
  border-color: black;
  cursor: auto;
}

.vhd-size-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
    color: #6c757d;
}

.vhd-size-option.disabled:hover {
    border-color: #e9ecef;
    background: #f8f9fa;
    color: #6c757d;
}

.vhd-size-option-name {
    font-size: 14px;
    font-weight: 500;
}

.vhd-size-option-status {
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.8;
}

/* Mobile responsive for size selector */
@media (max-width: 760px) {
    .vhd-size-options {
        gap: 8px;
    }

    .vhd-size-option {
        padding: 8px 14px;
        font-size: 13px;
        min-height: 40px;
    }

    .vhd-size-option-name {
        font-size: 13px;
    }
}
.elementor-widget-off-canvas .e-off-canvas__main {
  z-index: 3911;
}
.vox-color-circle {
    text-transform: none;
    cursor: pointer;
    box-sizing: border-box;
    border-style: solid;
    display: flex;
    height: 1.25rem;
    width: 1.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border-width: 1px;
    border-color: #0000001a;
}
.vox-color-circle .full-circle {
    border-color: #e5e7eb;
    height: .75rem;
    width: .75rem;
    border-radius: 9999px;
}
.vhd-attribute-value {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 5px;
  cursor:pointer
}
.vox-term-pa-colors {
    position: relative;
    display: flex;
    min-height: 42px;
    width: 50px;
    justify-content: center;
    align-items: center;
}
.vox-term-pa-colors .pa-color {
    position: relative;
    top: 50%;
    height: 12px;
    width: 12px;
    --tw-translate-y: -50%;
    transform: translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    border-radius: 9999px;
    border: 1px solid #0000004d;
}

.vox-term-pa-colors .pa-color-last {
  border: none;
}

/* ========================================
   ELEMENTOR BUTTON HOVER EFFECT - ICON CIRCLE EXPAND (FIXED LAYOUT)
   ======================================== */
.elementor-element-2e94149 .elementor-button-content-wrapper {
  justify-content: space-between;
}
.elementor-element-2e94149 .elementor-button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent !important;
    padding: 0;
    width: 15rem;
    height: auto;
}

.elementor-element-2e94149 .elementor-button-icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 35px;
    height: 35px;
    background: #000;
    border-radius: 1.625rem;
    float: right; /* Icon sağda */
    overflow: hidden;
}

.elementor-element-2e94149 .elementor-button-icon i {
  transition: all 0.45s ease-out;
  position: absolute;
  top: 0;
    bottom: 0;
    right: 0.625rem; /* Sağdan 0.625rem */
    margin: auto;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
    color: #fff;
  }
  
  .elementor-element-2e94149 .elementor-button-icon i::before {
    transition: all 0.50s ease-out;
    position: absolute;
    content: '';
    top: -0.25rem;
    right: 5px;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-left: 0.125rem solid #fff;
    transform: rotate(135deg);
}

.elementor-element-2e94149 .elementor-button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px 8px 0px;
    margin: 0 3.5rem 0 0;
    color: #000;
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
    text-transform: uppercase;
}

.elementor-element-2e94149 .elementor-button:hover .elementor-button-icon {
    width: 100%;
}
.elementor-element-2e94149 .elementor-button:hover .elementor-button-text {
    transform: translate(1.4rem, 0);
}

.elementor-element-2e94149 .elementor-button:hover .elementor-button-icon i {
  transform: translate(-1rem, 0);
}
.elementor-element-2e94149 .elementor-button:hover .elementor-button-icon i::before {
  right: 0px;
}

.elementor-element-2e94149 .elementor-button:hover .elementor-button-text {
    color: #fff;
}