
/* ==========================================================
   AL6ABE3 BLACK & GOLD — FINAL LUXURY POLISH R1.12.4.5.9
   Presentation only. No WooCommerce behavior changes.
   ========================================================== */

:root{
  --al6-lux-bg:#07111b;
  --al6-lux-black:#080908;
  --al6-lux-panel:#0c0d0b;
  --al6-lux-panel2:#11120f;
  --al6-lux-gold:#d4af37;
  --al6-lux-gold-hi:#f2d57a;
  --al6-lux-text:#f6f1e7;
  --al6-lux-muted:#aaa69b;
  --al6-lux-line:rgba(212,175,55,.24);
}

html[data-al6-luxury-polish="product-mounted"],
html[data-al6-luxury-polish="product-mounted"] body{
  overflow-x:hidden!important;
}

/* Product hero — calmer spacing and stronger luxury hierarchy. */
.al6-luxury-product{
  padding-top:58px!important;
}

.al6-luxury-product .al6-pro-hero{
  gap:72px!important;
  align-items:center!important;
}

.al6-luxury-product .al6-pro-summary{
  padding-top:0!important;
}

.al6-luxury-product .al6-pro-summary h1{
  max-width:620px!important;
  text-wrap:balance;
}

.al6-luxury-product .al6-pro-desc{
  max-width:540px!important;
}

.al6-luxury-product .al6-pro-media-frame{
  background:
    radial-gradient(circle at 50% 42%,rgba(212,175,55,.10),transparent 38%),
    linear-gradient(145deg,#11110f,#070808 72%)!important;
  box-shadow:
    0 36px 90px rgba(0,0,0,.38),
    inset 0 0 0 1px rgba(255,255,255,.015)!important;
}

.al6-luxury-product .al6-pro-thumb{
  background:#0b0c0a!important;
}

.al6-luxury-product .al6-pro-thumb.is-active{
  box-shadow:0 8px 22px rgba(212,175,55,.12);
}

/* Configuration section intro. */
.al6-luxury-config-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,520px);
  gap:28px 48px;
  align-items:end;
  margin:0 0 22px;
  padding:0 4px;
}

.al6-luxury-config-head p{
  grid-column:1/-1;
  margin:0 0 -12px;
  color:var(--al6-lux-gold);
  font-size:11px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.al6-luxury-config-head h2{
  margin:0;
  color:#fff;
  font-size:clamp(30px,3.2vw,46px);
  line-height:1;
  letter-spacing:-.035em;
}

.al6-luxury-config-head span{
  color:#aaa69b;
  font-size:14px;
  line-height:1.65;
}

/* The selector becomes a restrained luxury configurator. */
.al6-luxury-selector{
  padding:20px!important;
  border:1px solid var(--al6-lux-line)!important;
  border-radius:24px!important;
  background:
    radial-gradient(circle at 82% -10%,rgba(212,175,55,.075),transparent 30%),
    linear-gradient(180deg,#0c0d0b,#080908)!important;
  box-shadow:0 30px 70px rgba(0,0,0,.22)!important;
}

.al6-luxury-selector .al6-customer-stand-card{
  overflow:hidden!important;
  padding:14px!important;
  border:1px solid rgba(212,175,55,.2)!important;
  border-radius:18px!important;
  background:#0a0b09!important;
}

.al6-luxury-selector .al6-luxury-original-stand-media{
  display:none!important;
}

.al6-luxury-stand-stage{
  width:100%;
  height:430px;
  min-height:430px;
  overflow:hidden;
  border-radius:14px;
  background:
    radial-gradient(circle at 50% 48%,rgba(212,175,55,.12),transparent 30%),
    radial-gradient(circle at 50% 105%,rgba(212,175,55,.06),transparent 35%),
    #11120f;
}

.al6-luxury-stand-hero-viewer{
  display:block;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  background:transparent!important;
  --poster-color:transparent;
}

.al6-luxury-selector .al6-customer-3d-panel{
  margin-top:14px!important;
  gap:12px!important;
}

.al6-luxury-selector .al6-customer-3d-panel > *{
  min-width:0!important;
  overflow:hidden!important;
  border:1px solid rgba(212,175,55,.13)!important;
  border-radius:16px!important;
  background:#0d0e0c!important;
}

.al6-luxury-selector .al6-customer-3d-panel model-viewer{
  width:100%!important;
  height:235px!important;
  min-height:235px!important;
  max-height:235px!important;
  background:
    radial-gradient(circle at 50% 50%,rgba(212,175,55,.08),transparent 34%),
    #0f100e!important;
  --poster-color:transparent;
}

/* If the old selector CSS puts a white poster/background on any live viewer,
   this layer wins after the proven base CSS. */
.al6-luxury-selector model-viewer{
  background-color:#0f100e!important;
  --poster-color:transparent!important;
}

/* Purchase bar looks like a premium checkout action rather than a utility row. */
.al6-luxury-product .al6-bg-purchase-actions{
  margin-top:14px!important;
  padding:16px 18px!important;
  border-radius:16px!important;
  border:1px solid rgba(212,175,55,.2)!important;
  background:linear-gradient(180deg,#0d0e0c,#090a08)!important;
}

.al6-luxury-product .al6-bg-add-to-cart,
.al6-luxury-product button.single_add_to_cart_button{
  background:linear-gradient(135deg,#f4d77f,#c99a22)!important;
  box-shadow:0 14px 34px rgba(212,175,55,.15)!important;
}

/* RTL must remain within its own content box instead of visually drifting. */
.al6-luxury-product[data-lang="ar"] .al6-pro-summary,
.al6-luxury-product[data-lang="he"] .al6-pro-summary{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-inline:0!important;
  padding-inline:0!important;
  text-align:right!important;
}

.al6-luxury-product[data-lang="ar"] .al6-pro-summary > *,
.al6-luxury-product[data-lang="he"] .al6-pro-summary > *{
  max-width:100%!important;
}

.al6-luxury-product[data-lang="ar"] .al6-pro-summary h1,
.al6-luxury-product[data-lang="he"] .al6-pro-summary h1{
  overflow-wrap:break-word;
  word-break:normal;
}

.al6-luxury-product[data-lang="ar"] .al6-luxury-config-head,
.al6-luxury-product[data-lang="he"] .al6-luxury-config-head{
  direction:rtl;
  text-align:right;
}

/* Collection mobile: keep the detected product card completely inside viewport. */
.al6-luxury-collection-main{
  max-width:100%!important;
  overflow-x:hidden!important;
}

.al6-luxury-collection-card{
  max-width:100%!important;
  min-width:0!important;
}

.al6-luxury-collection-card img{
  max-width:100%!important;
  height:auto!important;
}

@media(max-width:980px){
  .al6-luxury-product{
    padding-top:38px!important;
  }

  .al6-luxury-product .al6-pro-hero{
    gap:30px!important;
  }

  .al6-luxury-config-head{
    grid-template-columns:1fr;
    gap:9px;
  }

  .al6-luxury-config-head p{
    grid-column:auto;
    margin:0;
  }

  .al6-luxury-stand-stage{
    height:360px;
    min-height:360px;
  }
}

@media(max-width:600px){
  .al6-luxury-product{
    width:100%!important;
    max-width:100%!important;
    padding:20px 10px 50px!important;
  }

  .al6-luxury-product .al6-pro-media-frame{
    border-radius:15px!important;
    aspect-ratio:4/3!important;
  }

  .al6-luxury-product .al6-pro-media-frame img{
    object-fit:cover!important;
  }

  .al6-luxury-product .al6-pro-thumbs{
    display:flex!important;
    width:100%!important;
    max-width:100%!important;
    gap:6px!important;
    overflow-x:auto!important;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;
    padding:0 0 4px!important;
  }

  .al6-luxury-product .al6-pro-thumb{
    flex:0 0 92px!important;
    min-width:92px!important;
    scroll-snap-align:start;
  }

  .al6-luxury-product .al6-pro-summary{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  .al6-luxury-product .al6-pro-summary h1{
    width:100%!important;
    max-width:100%!important;
    font-size:clamp(38px,12vw,50px)!important;
    line-height:.96!important;
  }

  .al6-luxury-product .al6-pro-desc{
    display:block;
    width:100%!important;
    max-width:100%!important;
    overflow-wrap:anywhere;
  }

  .al6-luxury-product .al6-pro-cta-row{
    width:100%!important;
  }

  .al6-luxury-config-head{
    margin-bottom:14px;
    padding:0 2px;
  }

  .al6-luxury-config-head h2{
    font-size:31px;
  }

  .al6-luxury-config-head span{
    font-size:13px;
  }

  .al6-luxury-selector{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:8px!important;
    border-radius:17px!important;
    overflow:hidden!important;
  }

  .al6-luxury-selector .al6-customer-stand-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:7px!important;
    border-radius:14px!important;
  }

  .al6-luxury-stand-stage{
    width:100%!important;
    height:270px!important;
    min-height:270px!important;
    max-height:270px!important;
    border-radius:11px;
  }

  .al6-luxury-selector .al6-customer-3d-panel{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }

  .al6-luxury-selector .al6-customer-3d-panel > *{
    width:100%!important;
    max-width:100%!important;
  }

  .al6-luxury-selector .al6-customer-3d-panel model-viewer{
    width:100%!important;
    height:210px!important;
    min-height:210px!important;
    max-height:210px!important;
  }

  .al6-luxury-product .al6-bg-purchase-actions{
    width:100%!important;
    padding:9px!important;
  }

  .al6-luxury-product .al6-bg-qty,
  .al6-luxury-product .al6-bg-qty input.qty,
  .al6-luxury-product .al6-bg-add-to-cart,
  .al6-luxury-product button.single_add_to_cart_button{
    width:100%!important;
    max-width:100%!important;
  }

  .al6-luxury-collection-card{
    width:calc(100vw - 24px)!important;
    max-width:calc(100vw - 24px)!important;
    margin-inline:12px!important;
    overflow:hidden!important;
  }

  .al6-luxury-collection-card a,
  .al6-luxury-collection-card img{
    max-width:100%!important;
  }
}

