/* =========================
   Lux by Jules — rebuilt styles.css
   Cleaned, deduplicated, product-page safe
   ========================= */

/* ---------- Root ---------- */
:root{
  --bg:#ffffff;
  --surface:#fafafa;
  --surface-2:#f4f4f4;
  --text:#111111;
  --muted:#666666;
  --muted-2:#7a7a7a;
  --accent:#c5002f;
  --border:rgba(0,0,0,.08);
  --border-soft:rgba(0,0,0,.06);
  --line:rgba(0,0,0,.08);
  --overlay:rgba(0,0,0,.46);
  --shadow-sm:0 8px 20px rgba(10,10,10,.04);
  --shadow-md:0 12px 35px rgba(0,0,0,.05);
  --shadow-lg:0 18px 50px rgba(0,0,0,.06);
  --danger:#b00020;
  --danger-bg:#fff8f8;
  --danger-border:rgba(176,0,32,.12);
  --page-max:1240px;
  --page:1240px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  padding:0;
  min-height:100%;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}

img,
video{
  display:block;
  max-width:100%;
  height:auto;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
select,
textarea{
  font:inherit;
}

button{
  border:0;
  background:none;
  cursor:pointer;
}

body.body-lock,
.body-lock{
  overflow:hidden;
}

/* ---------- Generic layout ---------- */
main{
  max-width:var(--page-max);
  margin:2rem auto 5rem;
  padding:0 1.25rem;
}

.page{
  max-width:var(--page-max);
  margin:0 auto;
  padding:20px 20px 40px;
}

/* ---------- Snipcart ---------- */
html.snipcart-modal-open,
body.snipcart-modal-open{
  overflow:hidden !important;
  height:auto !important;
}

.snipcart,
.snipcart *{
  -webkit-overflow-scrolling:touch;
}

.snipcart .snipcart-modal,
.snipcart .snipcart-layout,
.snipcart .snipcart-cart,
.snipcart .snipcart-checkout,
.snipcart .snipcart-base,
.snipcart .snipcart__box,
.snipcart .snipcart-overwrite{
  z-index:999999 !important;
}

@media (max-width:768px){
.snipcart .snipcart-modal,
.snipcart .snipcart-layout,
.snipcart .snipcart-cart,
.snipcart .snipcart-checkout{
    position:fixed !important;
    inset:0 !important;
    width:100vw !important;
    height:100dvh !important;
    max-height:100dvh !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
  }

  .snipcart .snipcart-cart__content,
  .snipcart .snipcart-checkout__content,
  .snipcart .snipcart-modal__container,
  .snipcart .snipcart__box{
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
  }
}/* ---------- Header ---------- */
.site-header,
.header-wrapper{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border-soft);
}

.site-header-inner,
.header-wrapper{
  max-width:var(--page-max);
  margin:0 auto;
  padding:18px 20px;
}

.site-header-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  min-height:78px;
}

.brand,
.logo a,
.header-title a{
  font-family:Garamond, Georgia, serif;
  font-weight:700;
  color:var(--text);
  line-height:1;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:2rem;
}

.brand a{
  font-size:2rem;
  line-height:1;
}

.site-nav,
.top-nav,
.header-wrapper nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.site-nav,
.top-nav{
  margin-left:8px;
  flex:1;
}

.site-nav a,
.top-nav a,
.header-wrapper nav a{
  color:var(--text);
  padding:6px 10px;
  border-radius:8px;
  transition:background .16s ease, color .16s ease;
}

.site-nav a:hover,
.top-nav a:hover,
.header-wrapper nav a:hover{
  color:var(--accent);
  background:rgba(197,5,47,.04);
}

.header-actions,
.auth-area{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
}

.auth-area a{
  padding:6px 8px;
  border-radius:6px;
}

.auth-area .btn{
  background:#000;
  color:#fff;
  padding:6px 10px;
  border-radius:8px;
  font-weight:600;
}

.auth-area .chip{
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.06);
  font-size:.95rem;
}

.auth-area .admin-badge{
  background:var(--accent);
  color:#fff;
  padding:5px 8px;
  border-radius:6px;
  font-size:.85rem;
}

.burger,
.icon-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  color:#111;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  flex:0 0 44px;
}

.burger:hover,
.icon-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,0,0,.06);
  border-color:rgba(0,0,0,.16);
}

.badge{
  position:absolute;
  right:-5px;
  top:-5px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:12px;
  display:flex;
  align-items:center;
  justify-content:center;
}

#search-bar.is-open{
  display:block !important;
}

#intro-overlay{
  transition:opacity .6s ease;
}

.header-duplicate-fix{
  display:none !important;
}

/* ---------- Drawer ---------- */
.drawer{
  position:fixed;
  top:0;
  left:0;
  width:320px;
  max-width:85vw;
  height:100vh;
  background:#fff;
  transform:translateX(-100%);
  transition:transform .28s ease;
  z-index:999;
  border-right:1px solid rgba(0,0,0,.08);
  box-shadow:0 20px 60px rgba(0,0,0,.18);
  display:flex;
  flex-direction:column;
}

.drawer.is-open{
  transform:translateX(0);
}

.drawer-backdrop{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.24);
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease;
  z-index:250;
}

.drawer-backdrop.is-open{
  opacity:1;
  pointer-events:auto;
}

.drawer-head{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px;
  border-bottom:1px solid #eee;
}

.drawer-title{
  font-weight:700;
}

.drawer-nav{
  flex:1;
  overflow:auto;
}

.drawer-nav .row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 16px;
  border-bottom:1px solid #f2f2f2;
  color:#111;
}

.drawer-nav .row:hover{
  background:#fafafa;
}

.drawer-foot{
  margin-top:auto;
  padding:14px;
  color:#777;
  border-top:1px solid #eee;
}

/* ---------- Shop landing ---------- */
.shop-header{
  text-align:center;
  margin-bottom:18px;
}

.shop-cats{
  display:inline-flex;
  gap:2rem;
  margin-bottom:.6rem;
  font-weight:700;
  color:var(--text);
}

.shop-title{
  font-family:Garamond, Georgia, serif;
  font-size:1.95rem;
  margin:8px 0;
}

.jules-intro{
  max-width:780px;
  margin:0 auto 18px;
  color:#777;
  font-size:.98rem;
}

/* ---------- Product grid ---------- */
.shop-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:24px;
  align-items:stretch;
}

.shop-grid > *{
  display:flex;
  flex-direction:column;
  min-height:0;
}

.product-card{
  display:flex;
  flex-direction:column;
  min-height:360px;
  height:100%;
  background:#fff;
  border-radius:12px;
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-sm);
  overflow:hidden;
  position:relative;
  transition:transform .16s ease, box-shadow .16s ease;
}

.product-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 36px rgba(10,10,10,.08);
}

.product-card:focus-within{
  outline:3px solid rgba(197,5,47,.06);
  outline-offset:4px;
}

.product-media{
  width:100%;
  aspect-ratio:1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  background:linear-gradient(180deg,#fff,#fbfbfb);
  border-bottom:1px solid var(--border-soft);
  padding:20px;
  flex:0 0 auto;
}

.product-media::before{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:8px;
  background:#fff;
  box-shadow:0 6px 20px rgba(0,0,0,.03);
  z-index:1;
  pointer-events:none;
}

.product-media img{
  position:relative;
  z-index:2;
  width:auto;
  max-width:86%;
  max-height:86%;
  object-fit:contain;
  transition:transform .28s cubic-bezier(.2,.8,.2,1);
  pointer-events:none;
  user-select:none;
  -webkit-user-drag:none;
}

.product-card:hover .product-media img{
  transform:scale(1.06);
}

.media-overlay{
  position:absolute;
  inset:0;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  opacity:0;
  transition:background .18s ease, opacity .18s ease;
  pointer-events:none;
}

.product-card:hover .media-overlay,
.product-card:focus-within .media-overlay{
  background:var(--overlay);
  opacity:1;
  pointer-events:auto;
}

.overlay-cta{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  padding:10px 14px;
  background:rgba(255,255,255,.98);
  color:#111;
  border-radius:10px;
  font-weight:700;
}

.card-heart{
  position:absolute;
  top:12px;
  right:12px;
  z-index:6;
  background:rgba(255,255,255,.95);
  border-radius:10px;
  padding:8px;
  border:1px solid rgba(0,0,0,.06);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.card-heart svg{
  width:16px;
  height:16px;
  stroke:#111;
  fill:none;
}

.card-heart.active svg{
  stroke:var(--accent);
  fill:var(--accent);
}

.product-body{
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1 1 auto;
  justify-content:space-between;
}

.product-body h3{
  margin:0;
  font-size:1rem;
  font-weight:700;
  color:var(--text);
}

.product-body .meta{
  color:#777;
  font-size:.92rem;
  margin-top:6px;
}

.product-body .price{
  margin-top:6px;
  font-weight:800;
  color:#111;
}

.cta-row{
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:12px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#000;
  color:#fff;
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
  transition:background .16s ease, transform .16s ease;
}

.btn:hover{
  background:var(--accent);
  transform:translateY(-1px);
}

.image-wrap.is-missing{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ddd;
  font-size:.95rem;
}

/* ---------- Loading state ---------- */
.btn.loading,
.add-to-cart-btn.loading{
  pointer-events:none;
  opacity:.7;
  position:relative;
}

.btn.loading::after,
.add-to-cart-btn.loading::after{
  content:"";
  position:absolute;
  right:10px;
  top:50%;
  width:16px;
  height:16px;
  margin-top:-8px;
  border:2px solid currentColor;
  border-top-color:transparent;
  border-radius:50%;
  animation:spin .8s linear infinite;
}

@keyframes spin{
  to{ transform:rotate(360deg); }
}

/* ---------- Generic option styles ---------- */
.option-group,
.elite-option-group{
  margin:16px 0 0;
}

.option-label,
.elite-option-label{
  display:block;
  margin-bottom:10px;
  color:#333;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size:.92rem;
}

.color-options,
.color-options-row,
.color-options-list,
.color-options-inline,
.color-row,
.color-picker,
.color-options-wrap,
.color-options-flex,
.color-options-grid,
.color-options-stack,
.color-options-bar,
.color-options-controls,
.color-options-menu,
.color-options-buttons,
.color-options-pills,
.color-options-set,
.color-options-strip,
.color-options-cluster,
.color-options-group,
.color-options-area,
.color-options-section,
.color-options-panel,
.color-options-holder,
.color-options-shell,
.color-options-box,
.color-options-line,
.color-options-container,
.color-options-field,
.color-options-items,
.color-options-actions,
.color-options-toolbar,
.color-options-layout,
.color-options-select,
.color-options-swatch-row,
.color-options-swatch-wrap,
.color-options-swatches,
.color-options-controls-row,
.color-options-controls-wrap,
.color-options-controls-group,
.color-options-controls-bar,
.color-options-controls-line,
.color-options-controls-container,
.color-options-controls-shell,
.color-options-controls-panel,
.color-options-controls-box,
.color-options-controls-items,
.color-options-controls-set,
.color-options-controls-stack,
.color-options-controls-cluster,
.color-options-controls-flex,
.elite-color-row,
.swatches,
.size-row,
.quick-benefits,
.lux-meta,
.elite-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.color-btn{
  padding:8px 14px;
  border-radius:999px;
  border:1px solid #ddd;
  background:#fff;
  font-weight:600;
  transition:all .15s ease;
}

.color-btn:hover{
  border-color:#999;
  transform:translateY(-1px);
}

.color-btn.active{
  background:#111;
  color:#fff;
  border-color:#111;
}

.swatch{
  width:18px;
  height:18px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.15);
  padding:0;
}

.swatch.active{
  outline:2px solid #111;
  outline-offset:2px;
}

.size-select,
.elite-size-select{
  width:100%;
  max-width:240px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #ddd;
  background:#fff;
}

.size-btn{
  min-width:58px;
  height:44px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  color:#111;
  font-weight:700;
  transition:all .15s ease;
}

.size-btn:hover{
  border-color:#111;
}

.size-btn.active,
.size-btn[aria-pressed="true"]{
  background:#111;
  color:#fff;
  border-color:#111;
}

.color-tile{
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  padding:10px 12px;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  transition:all .15s ease;
}

.color-tile:hover{
  border-color:#111;
  transform:translateY(-1px);
}

.color-tile.active{
  background:#111;
  color:#fff;
  border-color:#111;
}

/* ---------- Product gallery ---------- */
.product-gallery{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:12px;
  margin-top:16px;
}

.product-gallery img{
  width:100%;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.06);
}

/* ---------- Product detail / elite page ---------- */
.elite-product-page{
  color:#111;
}

.elite-product-grid{
  display:grid;
  grid-template-columns:minmax(0, 560px) minmax(0, 1fr);
  gap:60px;
  align-items:start;
}

.elite-media-col,
.elite-info-col{
  min-width:0;
}

.elite-media-col{
  max-width:560px;
  width:100%;
}

.elite-video-wrap,
.elite-main-image-wrap{
  border:1px solid var(--border);
  border-radius:22px;
  overflow:hidden;
  background:linear-gradient(180deg,#fcfcfc,#f4f4f4);
  box-shadow:var(--shadow-lg);
}

.elite-video-wrap{
  max-width:420px;
  width:100%;
  margin:0 auto 16px;
}

.elite-video-wrap video{
  width:100%;
  height:auto;
  display:block;
}

.elite-main-image-wrap{
  max-width:500px;
  width:100%;
  margin:0 auto;
}

.elite-main-image-wrap img{
  width:100%;
  display:block;
  object-fit:contain;
}

.elite-thumb-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:14px;
}

.thumb{
  width:82px;
  height:82px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.1);
  background:#fff;
  transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.thumb:hover{
  transform:translateY(-2px);
  border-color:#999;
}

.active-thumb{
  border-color:#111;
  box-shadow:0 0 0 2px #111 inset;
}

.elite-kicker,
.eyebrow{
  margin:0 0 10px;
  font-size:.82rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#7a7a7a;
  font-weight:700;
}

.elite-title,
.title{
  font-family:Garamond, Georgia, serif;
  font-size:3rem;
  line-height:1;
  margin:0 0 10px;
  letter-spacing:-.02em;
}

.elite-price,
.price{
  font-size:1.7rem;
  font-weight:800;
  margin-bottom:18px;
}

.elite-badges span,
.badges span,
.quick-benefits span{
  border:1px solid rgba(0,0,0,.08);
  background:#fafafa;
  border-radius:999px;
  padding:8px 12px;
  font-size:.88rem;
  font-weight:700;
}

.elite-desc,
.desc{
  color:#444;
  line-height:1.75;
  margin:0 0 18px;
  font-size:1rem;
}

.elite-note,
.notice,
.size-note{
  background:#fafafa;
  border:1px solid rgba(0,0,0,.07);
  border-radius:16px;
  padding:14px 16px;
  color:#444;
  line-height:1.6;
  margin-bottom:12px;
}

.elite-note-hot{
  color:var(--danger);
  font-weight:700;
  background:var(--danger-bg);
  border-color:var(--danger-border);
}

.elite-ship-line{
  display:flex;
  align-items:center;
  gap:8px;
  color:#444;
  font-size:.96rem;
}

.elite-summary{
  margin-top:20px;
  font-weight:700;
  color:#222;
  font-size:1rem;
}

.elite-buy-btn,
#buyBtn,
.buy-btn{
  margin-top:20px;
  width:100%;
  padding:17px 18px;
  border-radius:16px;
  background:#111;
  color:#fff;
  font-size:1rem;
  font-weight:800;
  cursor:pointer;
  transition:transform .15s ease, opacity .15s ease, background .15s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
  min-height:52px;
}

.elite-buy-btn:hover:not(:disabled),
#buyBtn:hover:not(:disabled),
.buy-btn:hover:not(:disabled){
  transform:translateY(-1px);
  background:#000;
}

.elite-buy-btn:disabled,
#buyBtn:disabled,
.buy-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
  box-shadow:none;
}

.elite-mini{
  color:#666;
  margin-top:12px;
  font-size:.95rem;
}

.elite-section{
  margin-top:70px;
  padding-top:28px;
  border-top:1px solid #ededed;
}

.elite-details-grid,
.elite-video-grid,
.elite-reco-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.elite-detail-card{
  border:1px solid rgba(0,0,0,.07);
  border-radius:20px;
  padding:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.03);
}

.elite-detail-card h3{
  margin:0 0 8px;
  font-size:1rem;
}

.elite-detail-card p{
  margin:0;
  color:#555;
  line-height:1.65;
}

.lux-meta{
  align-items:center;
  margin:0 0 18px;
  color:#444;
  font-size:.96rem;
}

.lux-meta .dot{
  width:4px;
  height:4px;
  border-radius:999px;
  background:#999;
}

.quick-benefits{
  margin:0 0 16px;
}

.store-benefits{
  margin-top:18px;
  display:grid;
  gap:10px;
  padding:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  color:#222;
  font-weight:600;
  line-height:1.5;
}

.review-section{
  max-width:720px;
}

.review-video-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  max-width:680px;
  width:100%;
}

/* ---------- Size chart modal ---------- */
.size-chart-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.34);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:500;
}

.size-chart-modal.is-open{
  display:flex;
}

.size-chart-card{
  width:min(760px, 100%);
  background:#fff;
  border-radius:24px;
  padding:22px;
  box-shadow:0 24px 70px rgba(0,0,0,.18);
  max-height:85vh;
  overflow:auto;
}

.size-chart-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.size-chart-table{
  width:100%;
  border-collapse:collapse;
  margin-top:10px;
  font-size:.96rem;
}

.size-chart-table th,
.size-chart-table td{
  border:1px solid rgba(0,0,0,.1);
  padding:12px 10px;
  text-align:left;
}

.size-chart-table th{
  background:#f8f8f8;
}

/* ---------- Product layout / gallery system ---------- */
.product-layout{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.product-panel{
  min-width:0;
  padding-top:6px;
}

.gallery-stage{
  position:relative;
  min-height:620px;
  border-radius:22px;
  overflow:hidden;
  background:linear-gradient(180deg,#fcfcfc,#f4f4f4);
  border:1px solid var(--border);
  box-shadow:var(--shadow-lg);
}

.slide{
  width:100%;
  height:100%;
}

.slide img,
.slide video{
  width:100%;
  height:620px;
  object-fit:cover;
  border-radius:22px;
}

.gallery-arrow{
  position:absolute;
  bottom:16px;
  z-index:3;
  width:48px;
  height:48px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
  box-shadow:0 10px 24px rgba(0,0,0,.10);
}

.gallery-arrow.prev{ left:16px; }
.gallery-arrow.next{ right:16px; }

.gallery-count{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  z-index:3;
  background:rgba(17,17,17,.85);
  color:#fff;
  padding:7px 11px;
  border-radius:999px;
  font-size:.84rem;
  font-weight:700;
}

.thumb-strip{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:10px;
  margin-top:12px;
}

.color-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
}

.details,
.review-meta{
  color:#555;
  line-height:1.65;
}

/* ---------- Sticky buy ---------- */
.elite-sticky-buy,
.sticky-buy{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  padding:10px 12px calc(10px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.96);
  border-top:1px solid var(--line);
  backdrop-filter:blur(12px);
  display:none;
  z-index:400;
}

.sticky-buy-inner{
  max-width:var(--page);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.sticky-buy-meta{
  min-width:0;
  flex:1;
}

.sticky-buy-title{
  font-weight:800;
  font-size:.98rem;
  margin-bottom:2px;
}

.sticky-buy-selection{
  font-size:.86rem;
  color:#666;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.elite-sticky-buy button,
.sticky-buy button,
.sticky-buy .btn{
  width:auto;
  min-width:140px;
  white-space:nowrap;
  padding:15px 18px;
  border-radius:14px;
  background:#111;
  color:#fff;
  font-weight:800;
  font-size:1rem;
  min-height:50px;
}

.elite-sticky-buy button:disabled,
.sticky-buy button:disabled{
  opacity:.55;
  cursor:not-allowed;
}

/* ---------- Responsive ---------- */
@media (max-width:1400px){
  .shop-grid{
    grid-template-columns:repeat(4, 1fr);
  }
}

@media (max-width:1100px){
  .shop-grid{
    grid-template-columns:repeat(3, 1fr);
  }
}

@media (max-width: 1180px){
  .product-layout{
    grid-template-columns: 1fr;
  }
}html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

@media (max-width: 768px) {
  .site-header,
  .site-header-inner,
  .page,
  .product-layout,
  .gallery-wrap,
  .product-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .site-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 14px !important;
  }

  .top-nav {
    display: none !important;
  }

  .header-actions {
    display: none !important;
  }

  .brand {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 1.8rem !important;
  }

  .product-layout {
    display: block !important;
  }

  .gallery-stage,
  .slide img,
  .slide video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

  .elite-details-grid,
  .elite-video-grid,
  .elite-reco-grid{
    grid-template-columns:1fr;
  }

  .elite-title,
  .title{
    font-size:2.35rem;
  }

  .elite-sticky-buy{
    display:block;
  }

  .gallery-stage{
    min-height:500px;
  }

  .slide img,
  .slide video{
    height:500px;
  }

  .color-grid{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (max-width:780px){
  .shop-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:18px;
  }

  .product-gallery{
    grid-template-columns:1fr;
  }

  .sticky-buy{
    display:block;
  }
}

@media (max-width:760px){
  .site-header{
    z-index:300;
  }

  .site-header-inner{
    grid-template-columns:auto 1fr auto;
    gap:10px;
    padding:10px 12px;
    min-height:72px;
  }

  .brand{
    gap:10px;
    font-size:1.8rem;
  }

  .brand a{
    font-size:1.8rem;
  }

  .top-nav,
  .site-nav{
    display:none;
  }

  .header-actions{
    gap:8px;
  }

  .badge{
    right:-4px;
    top:-4px;
    width:18px;
    height:18px;
    font-size:.7rem;
  }

  .page{
    padding:10px 12px 100px;
  }

  .product-layout{
    gap:22px;
  }

  .gallery-stage{
    min-height:360px;
    border-radius:18px;
  }

  .slide img,
  .slide video{
    height:360px;
    border-radius:18px;
    object-fit:cover;
  }

  .gallery-arrow{
    width:44px;
    height:44px;
    font-size:1.2rem;
    bottom:12px;
  }

  .gallery-arrow.prev{ left:12px; }
  .gallery-arrow.next{ right:12px; }

  .gallery-count{
    bottom:16px;
    font-size:.82rem;
    padding:6px 10px;
  }

  .thumb-strip{
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:8px;
  }

  .product-panel{
    padding-top:0;
  }

  .eyebrow{
    font-size:.78rem;
    margin-bottom:8px;
  }

  .title{
    font-size:2.2rem;
    line-height:1.02;
    margin-bottom:8px;
  }

  .price{
    margin-bottom:12px;
  }

  .desc,
  .details,
  .review-meta,
  .notice,
  .size-note{
    font-size:.95rem;
  }

  .badges,
  .elite-badges{
    gap:8px;
    margin-bottom:12px;
  }

  .badges span,
  .elite-badges span{
    padding:8px 10px;
    font-size:.82rem;
  }

  .lux-meta{
    gap:8px;
    font-size:.86rem;
    margin-bottom:14px;
  }

  .color-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
  }

  .size-row{
    gap:8px;
  }

  .size-btn{
    min-width:58px;
    height:44px;
  }

  .buy-btn,
  .elite-buy-btn,
  #buyBtn{
    padding:16px 18px;
    min-height:52px;
    border-radius:14px;
  }

  .sticky-buy{
    display:block;
  }
}

@media (max-width:720px){
  .site-header-inner{
    gap:10px;
  }

  .auth-area{
    justify-content:flex-end;
  }

  .product-card{
    min-height:320px;
  }

  .product-media::before{
    inset:10px;
  }
}

@media (max-width:640px){
  .site-header-inner{
    padding:14px 12px;
    gap:10px;
  }

  .brand{
    font-size:1.05rem;
  }

  .page{
    padding:16px 12px 92px;
  }

  .gallery-stage{
    min-height:380px;
    border-radius:18px;
  }

  .slide,
  .slide img,
  .slide video{
    border-radius:18px;
  }

  .slide img,
  .slide video{
    height:380px;
    object-fit:cover;
  }

  .thumb-strip{
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:8px;
  }

  .title{
    font-size:2.1rem;
  }

  .desc,
  .details,
  .review-meta,
  .notice,
  .size-note{
    font-size:.95rem;
  }

  .color-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
  }

  .size-row{
    gap:8px;
  }

  .size-btn{
    min-width:52px;
    height:44px;
    padding:0 12px;
  }

  .review-video-card video{
    aspect-ratio:4 / 5;
    object-fit:cover;
  }
}

@media (max-width:420px){
  .shop-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:768px){
  .buy-btn,
  .sticky-buy button,
  .size-btn,
  .color-tile,
  .thumb,
  .burger,
  .icon-btn{
    min-height:48px;
  }

  .buy-btn,
  .sticky-buy button{
    font-size:1rem;
    font-weight:800;
    letter-spacing:.02em;
  }

  .size-btn{
    min-width:62px;
    padding:0 16px;
  }

  .color-tile{
    padding:10px;
  }
}

@media (min-width:769px){
  .sticky-buy{
    display:none;
  }
}.gallery-arrow,
.gallery-count{
  z-index: 5;
}
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}