/* Requested fixes - 25 Jul v25.07.9
   Scope: keep original shop/account layout, only make left panels sticky and right content scrollable; invoice untouched. */

/* SHOP: original layout restored, only overlap fixes */
body.cosmic-v15.shop-page{
  overflow-x:hidden;
}
body.cosmic-v15.shop-page .shop-layout{
  display:grid;
  grid-template-columns:340px minmax(0,1fr);
  gap:32px;
  align-items:start;
  padding-top:30px;
  overflow:visible!important;
  height:auto!important;
  min-height:0!important;
}
body.cosmic-v15.shop-page .filter-panel{
  position:sticky!important;
  top:118px!important;
  max-height:none!important;
  overflow:visible!important;
  align-self:start!important;
  z-index:4!important;
}
body.cosmic-v15.shop-page .shop-main{
  min-width:0!important;
  overflow:hidden!important;
  max-height:calc(100dvh - 138px)!important;
  height:auto!important;
  display:flex!important;
  flex-direction:column!important;
  padding-right:0!important;
}
body.cosmic-v15.shop-page .shop-main-head,
body.cosmic-v15.shop-page .active-filter-row{
  position:relative!important;
  z-index:2!important;
}
body.cosmic-v15.shop-page .active-filter-row{
  margin:0 0 18px!important;
}
body.cosmic-v15.shop-page .shop-results-scroll{
  overflow-y:auto!important;
  overflow-x:hidden!important;
  max-height:none!important;
  min-height:0!important;
  height:auto!important;
  flex:1 1 auto!important;
  padding:0 8px 40px 0!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
}
body.cosmic-v15.shop-page .product-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:stretch!important;
}
body.cosmic-v15.shop-page .product-card{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.cosmic-v15.shop-page .product-media{
  flex:0 0 auto!important;
}
body.cosmic-v15.shop-page .product-body{
  flex:1 1 auto!important;
  display:flex!important;
  flex-direction:column!important;
  min-height:0!important;
  padding-bottom:20px!important;
  overflow:visible!important;
}
body.cosmic-v15.shop-page .product-body h3 a{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}
body.cosmic-v15.shop-page .product-body p{
  min-height:44px!important;
  max-height:44px!important;
  overflow:hidden!important;
}
body.cosmic-v15.shop-page .price-row{
  margin-top:auto!important;
  min-height:30px!important;
}
body.cosmic-v15.shop-page .product-actions-row{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 98px!important;
  gap:8px!important;
  align-items:center!important;
  width:100%!important;
  margin-top:8px!important;
  position:relative!important;
  z-index:5!important;
}
body.cosmic-v15.shop-page .product-actions-row form{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
}
body.cosmic-v15.shop-page .product-cta,
body.cosmic-v15.shop-page .product-whatsapp{
  width:100%!important;
  max-width:100%!important;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1.08!important;
  white-space:normal!important;
  overflow:hidden!important;
  border-radius:999px!important;
  box-sizing:border-box!important;
}
body.cosmic-v15.shop-page .invoice-mini-bar{
  z-index:10010!important;
}
@media(max-width:1199px){
  body.cosmic-v15.shop-page .shop-layout{grid-template-columns:1fr!important;display:block!important}
  body.cosmic-v15.shop-page .filter-panel{position:fixed!important;top:auto!important;max-height:86dvh!important;overflow:auto!important}
  body.cosmic-v15.shop-page .shop-main{display:block!important;max-height:none!important;overflow:visible!important}
  body.cosmic-v15.shop-page .shop-results-scroll{display:block!important;overflow:visible!important;padding:0!important}
  body.cosmic-v15.shop-page .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:991px){
  body.cosmic-v15.shop-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:767px){
  body.cosmic-v15.shop-page .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
  body.cosmic-v15.shop-page .product-body{padding:6px 12px 14px!important}
  body.cosmic-v15.shop-page .product-body p{display:none!important}
  body.cosmic-v15.shop-page .product-actions-row{grid-template-columns:1fr!important;gap:8px!important}
  body.cosmic-v15.shop-page .product-cta,
  body.cosmic-v15.shop-page .product-whatsapp{height:42px!important;min-height:42px!important;font-size:12px!important}
}
@media(max-width:420px){
  body.cosmic-v15.shop-page .product-grid{grid-template-columns:1fr!important}
}

/* Cart quantity controls */
.cart-pro-line{grid-template-columns:94px minmax(0,1fr) auto!important;gap:20px!important;align-items:center!important}
.cart-pro-line h3{margin:0 0 4px;color:var(--emerald);font-size:20px;font-family:var(--body);font-weight:850}
.cart-qty-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px}
.qty-stepper{height:52px;display:inline-flex;align-items:center;border:1px solid rgba(12,36,31,.12);border-radius:999px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(13,36,31,.06)}
.qty-stepper button{width:46px;height:52px;border:0;background:#f9f0df;color:#071814;font-size:22px;font-weight:950;line-height:1;cursor:pointer}
.qty-stepper button:hover{background:var(--gold)}
.qty-stepper input{width:58px;height:52px;border:0!important;border-radius:0!important;text-align:center;padding:0!important;background:#fff!important;font-weight:900;color:var(--emerald)}
.cart-line-total{min-width:110px;text-align:right;font-size:22px;color:var(--emerald)}
.cart-auto-note{width:100%;font-size:12px;color:var(--muted);font-weight:700}
@media(max-width:767px){.cart-pro-line{grid-template-columns:76px 1fr!important}.cart-line-total{grid-column:1/-1;text-align:left}.cart-qty-form{gap:8px}.qty-stepper{height:46px}.qty-stepper button,.qty-stepper input{height:46px}}

/* ACCOUNT: original page flow restored, buttons/formats fixed only */
body.account-page .account-section{
  padding:70px 0!important;
  min-height:0!important;
  overflow:visible!important;
}
body.account-page .account-dashboard{
  display:grid!important;
  grid-template-columns:330px minmax(0,1fr)!important;
  gap:24px!important;
  align-items:start!important;
  height:auto!important;
  overflow:visible!important;
}
body.account-page .profile-card-enhanced{
  position:sticky!important;
  top:104px!important;
  max-height:none!important;
  overflow:visible!important;
  text-align:center!important;
}
body.account-page .profile-meta-list{
  display:grid!important;
  gap:10px!important;
  margin:18px 0 20px!important;
  text-align:left!important;
}
body.account-page .profile-meta-list div{
  border:1px solid rgba(12,36,31,.08)!important;
  background:#fffaf1!important;
  border-radius:18px!important;
  padding:12px 14px!important;
  display:grid!important;
  gap:3px!important;
}
body.account-page .profile-meta-list span{
  font-size:11px!important;
  text-transform:uppercase!important;
  letter-spacing:.14em!important;
  color:#9a7525!important;
  font-weight:950!important;
}
body.account-page .profile-meta-list b{
  font-size:13px!important;
  color:#071814!important;
  word-break:break-word!important;
}
body.account-page .profile-actions{
  display:grid!important;
  gap:10px!important;
  margin-top:20px!important;
}
body.account-page .profile-actions .btn-luxe,
body.account-page .profile-actions .btn-line{
  width:100%!important;
  min-height:46px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
body.account-page .orders-history-panel{
  display:flex!important;
  flex-direction:column!important;
  gap:18px!important;
  min-width:0!important;
  max-height:calc(100dvh - 124px)!important;
  overflow:hidden!important;
}
body.account-page .order-list-scroll{
  display:grid!important;
  gap:18px!important;
  max-height:none!important;
  min-height:0!important;
  flex:1 1 auto!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:0 8px 32px 0!important;
  overscroll-behavior:contain!important;
  scrollbar-width:thin!important;
}
body.account-page .order-history-card{
  display:grid!important;
  gap:18px!important;
  overflow:visible!important;
}
body.account-page .order-history-body{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 230px!important;
  gap:18px!important;
}
body.account-page .order-mini-item{
  align-items:flex-start!important;
}
body.account-page .order-mini-item small{
  white-space:normal!important;
  text-align:right!important;
  min-width:120px!important;
}
body.account-page .order-card-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  align-items:center!important;
}
body.account-page .order-card-actions .btn-luxe,
body.account-page .order-card-actions .btn-line{
  min-height:44px!important;
  padding:0 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  line-height:1!important;
}
@media(max-width:991px){
  body.account-page .account-dashboard,
  body.account-page .order-history-body{grid-template-columns:1fr!important}
  body.account-page .profile-card-enhanced{position:static!important}
  body.account-page .orders-history-panel{display:grid!important;max-height:none!important;overflow:visible!important}
  body.account-page .order-list-scroll{overflow:visible!important;padding:0!important;display:grid!important}
  body.account-page .order-history-top{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
  body.account-page .order-money-box{grid-template-columns:1fr 1fr!important}
}
@media(max-width:640px){
  body.account-page .order-money-box{grid-template-columns:1fr!important}
  body.account-page .order-mini-item{display:grid!important;gap:4px!important}
  body.account-page .order-mini-item small{text-align:left!important;min-width:0!important}
  body.account-page .order-card-actions{display:grid!important;grid-template-columns:1fr!important}
  body.account-page .order-card-actions .btn-luxe,
  body.account-page .order-card-actions .btn-line{width:100%!important}
}

/* Order success slight polish */
body.order-success-page .success-main-card,body.order-success-page .success-invoice-card{border:1px solid rgba(12,36,31,.10)!important;border-radius:34px!important;box-shadow:0 26px 80px rgba(22,18,11,.10)!important;background:#fff!important}
body.order-success-page .order-card-actions{justify-content:center;margin-top:18px;display:flex;gap:10px;flex-wrap:wrap}
body.order-success-page .tracking-summary-grid{margin:18px 0}

/* Invoice page and print/PDF alignment */
body.invoice-page .invoice-mini-bar{display:none!important}
body.invoice-page .invoice-public-shell{max-width:900px;margin-inline:auto}
body.invoice-page .invoice-public-card{background:#fff;border:1px solid rgba(12,36,31,.10);border-radius:34px;padding:34px;box-shadow:0 26px 80px rgba(22,18,11,.10)}
body.invoice-page .invoice-actions-public{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px;justify-content:flex-end!important}
body.invoice-page .invoice-actions-public .btn-luxe,
body.invoice-page .invoice-actions-public .btn-line{height:48px;justify-content:center!important;min-width:150px!important}
body.invoice-page .invoice-print-box{font-family:var(--body);color:#17221f}
body.invoice-page .invoice-print-head{display:flex;justify-content:space-between;align-items:center!important;gap:18px;border-bottom:2px solid #d2b15f;padding-bottom:18px;margin-bottom:22px}
body.invoice-page .invoice-brand-lockup{display:flex;align-items:center;gap:16px;min-width:0}
body.invoice-page .invoice-brand-lockup img{width:112px;height:72px;object-fit:contain;background:#071814;border-radius:18px;padding:8px;box-shadow:0 12px 30px rgba(7,24,20,.12)}
body.invoice-page .invoice-print-head h2{font-family:var(--head);font-size:42px;line-height:1;color:#071814;margin:0}
body.invoice-page .invoice-print-meta{text-align:right}
body.invoice-page .invoice-customer-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:22px}
body.invoice-page .invoice-customer-grid .box{border:1px solid rgba(12,36,31,.10);background:#fffaf1;border-radius:18px;padding:16px}
body.invoice-page .invoice-table{width:100%;border-collapse:collapse;margin:10px 0 18px}
body.invoice-page .invoice-table th{background:#071814;color:#fff;text-align:left;padding:12px}
body.invoice-page .invoice-table td{border-bottom:1px solid rgba(12,36,31,.12);padding:12px;vertical-align:top}
body.invoice-page .invoice-table th:nth-child(n+2),
body.invoice-page .invoice-table td:nth-child(n+2){text-align:right}
body.invoice-page .invoice-total-summary{max-width:360px;margin-left:auto;border:1px solid rgba(12,36,31,.12);border-radius:20px;overflow:hidden}
body.invoice-page .invoice-total-summary div{display:flex;justify-content:space-between;gap:16px;padding:11px 15px;border-bottom:1px solid rgba(12,36,31,.08)}
body.invoice-page .invoice-total-summary div:last-child{border-bottom:0;background:#071814;color:#fff;font-size:18px;font-weight:950}
body.invoice-page .invoice-note{margin-top:20px;color:var(--muted);font-size:14px}
@media(max-width:767px){
  body.invoice-page .invoice-print-head,
  body.invoice-page .invoice-customer-grid{grid-template-columns:1fr;display:grid}
  body.invoice-page .invoice-print-meta{text-align:left}
  body.invoice-page .invoice-public-card{padding:22px!important}
  body.invoice-page .invoice-brand-lockup{display:grid!important;grid-template-columns:84px 1fr!important}
  body.invoice-page .invoice-brand-lockup img{width:84px;height:58px}
}
@media print{
  @page{size:A4 portrait;margin:10mm!important;}
  html,body{width:auto!important;height:auto!important;overflow:visible!important;background:#fff!important;padding:0!important;margin:0!important;}
  body.invoice-page{background:#fff!important;overflow:visible!important;}
  body.invoice-page *{visibility:hidden!important;box-shadow:none!important;}
  body.invoice-page #invoiceBox,
  body.invoice-page #invoiceBox *{visibility:visible!important;}
  body.invoice-page #invoiceBox{position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-radius:0!important;}
  body.invoice-page .invoice-public-shell{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;}
  body.invoice-page .invoice-public-card{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
  body.invoice-page .invoice-print-box{width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;background:#fff!important;color:#071814!important;font-size:12px!important;line-height:1.35!important;page-break-inside:avoid!important;break-inside:avoid!important;}
  body.invoice-page .invoice-print-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;border-bottom:2px solid #d2b15f!important;padding-bottom:14px!important;margin-bottom:18px!important;}
  body.invoice-page .invoice-brand-lockup{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important;}
  body.invoice-page .invoice-brand-lockup img{display:block!important;visibility:visible!important;width:96px!important;height:64px!important;object-fit:contain!important;background:#071814!important;border-radius:14px!important;padding:7px!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;}
  body.invoice-page .invoice-brand-lockup h2{font-size:34px!important;line-height:1!important;margin:0!important;color:#071814!important;}
  body.invoice-page .invoice-brand-lockup p{margin:3px 0 0!important;font-size:13px!important;color:#071814!important;}
  body.invoice-page .invoice-print-meta{text-align:right!important;font-size:13px!important;line-height:1.55!important;white-space:nowrap!important;}
  body.invoice-page .invoice-customer-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important;margin-bottom:18px!important;}
  body.invoice-page .invoice-customer-grid .box{background:#fffaf1!important;border:1px solid rgba(12,36,31,.12)!important;border-radius:16px!important;padding:14px!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;}
  body.invoice-page .invoice-customer-grid p{margin:6px 0 0!important;font-size:13px!important;line-height:1.45!important;color:#071814!important;}
  body.invoice-page .mini-label{font-size:10px!important;letter-spacing:.18em!important;color:#9a7525!important;font-weight:900!important;}
  body.invoice-page .invoice-table{width:100%!important;border-collapse:collapse!important;margin:8px 0 18px!important;table-layout:fixed!important;}
  body.invoice-page .invoice-table th{background:#071814!important;color:#fff!important;text-align:left!important;padding:10px!important;font-size:12px!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;}
  body.invoice-page .invoice-table td{border-bottom:1px solid rgba(12,36,31,.14)!important;padding:10px!important;font-size:12px!important;color:#071814!important;}
  body.invoice-page .invoice-table th:nth-child(1),body.invoice-page .invoice-table td:nth-child(1){width:52%!important;text-align:left!important;}
  body.invoice-page .invoice-table th:nth-child(n+2),body.invoice-page .invoice-table td:nth-child(n+2){text-align:right!important;}
  body.invoice-page .invoice-total-summary{width:330px!important;max-width:45%!important;margin-left:auto!important;border:1px solid rgba(12,36,31,.12)!important;border-radius:16px!important;overflow:hidden!important;}
  body.invoice-page .invoice-total-summary div{display:flex!important;justify-content:space-between!important;gap:14px!important;padding:9px 12px!important;border-bottom:1px solid rgba(12,36,31,.08)!important;font-size:12px!important;color:#071814!important;}
  body.invoice-page .invoice-total-summary div:last-child{background:#071814!important;color:#fff!important;border-bottom:0!important;font-size:15px!important;font-weight:950!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;}
  body.invoice-page .invoice-note{margin-top:18px!important;font-size:12px!important;color:#5d554a!important;}
  body.invoice-page .invoice-actions-public,
  body.invoice-page .invoice-mini-bar,
  body.invoice-page .invoice-drawer,
  body.invoice-page .site-header,
  body.invoice-page .site-footer,
  body.invoice-page .instagram-feed-section,
  body.invoice-page .newsletter-band,
  body.invoice-page .mobile-bottom-nav,
  body.invoice-page .drawer-scrim,
  body.invoice-page .quick-view-modal{display:none!important;visibility:hidden!important;}
  a[href]:after{content:""!important;}
}


/* V9 FINAL STICKY CORRECTION
   Request: do not redesign shop/account. Keep left panels in their original place and only freeze them;
   right-side products/orders scroll only after their heading + active-filter/header rows. */
@media (min-width:1200px){
  body.shop-page .shop-layout,
  body.cosmic-v14.shop-page .shop-layout,
  body.cosmic-v15.shop-page .shop-layout{
    display:grid!important;
    grid-template-columns:340px minmax(0,1fr)!important;
    gap:32px!important;
    align-items:start!important;
    padding-top:30px!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  body.shop-page .filter-panel,
  body.cosmic-v14.shop-page .filter-panel,
  body.cosmic-v15.shop-page .filter-panel{
    position:sticky!important;
    top:104px!important;
    align-self:start!important;
    max-height:none!important;
    height:auto!important;
    overflow:visible!important;
    z-index:20!important;
  }
  body.shop-page .shop-main,
  body.cosmic-v14.shop-page .shop-main,
  body.cosmic-v15.shop-page .shop-main{
    min-width:0!important;
    display:grid!important;
    grid-template-rows:auto auto minmax(0,1fr)!important;
    align-items:stretch!important;
    height:calc(100dvh - 120px)!important;
    max-height:calc(100dvh - 120px)!important;
    overflow:hidden!important;
    padding-right:0!important;
    position:relative!important;
  }
  body.shop-page .shop-main-head,
  body.shop-page .active-filter-row,
  body.cosmic-v14.shop-page .shop-main-head,
  body.cosmic-v14.shop-page .active-filter-row,
  body.cosmic-v15.shop-page .shop-main-head,
  body.cosmic-v15.shop-page .active-filter-row{
    position:static!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    z-index:auto!important;
    flex:0 0 auto!important;
  }
  body.shop-page .shop-main-head,
  body.cosmic-v14.shop-page .shop-main-head,
  body.cosmic-v15.shop-page .shop-main-head{
    margin:0 0 20px!important;
  }
  body.shop-page .active-filter-row,
  body.cosmic-v14.shop-page .active-filter-row,
  body.cosmic-v15.shop-page .active-filter-row{
    margin:0 0 18px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    min-height:48px!important;
  }
  body.shop-page .shop-results-scroll,
  body.cosmic-v14.shop-page .shop-results-scroll,
  body.cosmic-v15.shop-page .shop-results-scroll{
    grid-row:3!important;
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:0 8px 48px 0!important;
    margin:0!important;
    overscroll-behavior:contain!important;
    scrollbar-width:thin!important;
    position:relative!important;
    z-index:1!important;
  }
  body.shop-page .product-grid,
  body.cosmic-v14.shop-page .product-grid,
  body.cosmic-v15.shop-page .product-grid{
    margin-top:0!important;
    padding-top:0!important;
  }

  body.account-page .account-section{
    padding:70px 0!important;
    overflow:visible!important;
  }
  body.account-page .account-dashboard{
    display:grid!important;
    grid-template-columns:330px minmax(0,1fr)!important;
    gap:24px!important;
    align-items:start!important;
    height:auto!important;
    overflow:visible!important;
  }
  body.account-page .profile-card-enhanced{
    position:sticky!important;
    top:104px!important;
    align-self:start!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    z-index:20!important;
  }
  body.account-page .orders-history-panel{
    min-width:0!important;
    display:grid!important;
    grid-template-rows:auto minmax(0,1fr)!important;
    height:calc(100dvh - 120px)!important;
    max-height:calc(100dvh - 120px)!important;
    overflow:hidden!important;
  }
  body.account-page .orders-history-panel .section-head{
    position:static!important;
    margin:0 0 18px!important;
  }
  body.account-page .order-list-scroll{
    min-height:0!important;
    height:auto!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:0 8px 42px 0!important;
    margin:0!important;
    overscroll-behavior:contain!important;
    scrollbar-width:thin!important;
  }
}

@media (max-width:1199px){
  body.shop-page .filter-panel,
  body.cosmic-v14.shop-page .filter-panel,
  body.cosmic-v15.shop-page .filter-panel{
    overflow:auto!important;
    max-height:86dvh!important;
  }
  body.shop-page .shop-main,
  body.cosmic-v14.shop-page .shop-main,
  body.cosmic-v15.shop-page .shop-main,
  body.shop-page .shop-results-scroll,
  body.cosmic-v14.shop-page .shop-results-scroll,
  body.cosmic-v15.shop-page .shop-results-scroll,
  body.account-page .orders-history-panel,
  body.account-page .order-list-scroll{
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    display:block!important;
  }
}

/* V10 USER CLARIFICATION FIX
   Do not change shop/account layout. Keep left filter/account panels in the same place,
   make them sticky, and let product/order content continue in normal page flow.
   This removes the forced internal product scroller that was causing blank space next to the filter. */
@media (min-width:1200px){
  body.shop-page .shop-layout,
  body.cosmic-v14.shop-page .shop-layout,
  body.cosmic-v15.shop-page .shop-layout{
    display:grid!important;
    grid-template-columns:310px minmax(0,1fr)!important;
    gap:38px!important;
    align-items:start!important;
    padding:54px 0 110px!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
  }
  body.shop-page .filter-panel,
  body.cosmic-v14.shop-page .filter-panel,
  body.cosmic-v15.shop-page .filter-panel{
    position:sticky!important;
    top:160px!important;
    align-self:start!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    z-index:20!important;
  }
  body.shop-page .shop-main,
  body.cosmic-v14.shop-page .shop-main,
  body.cosmic-v15.shop-page .shop-main{
    display:block!important;
    min-width:0!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    padding-right:0!important;
    position:relative!important;
  }
  body.shop-page .shop-main-head,
  body.shop-page .active-filter-row,
  body.cosmic-v14.shop-page .shop-main-head,
  body.cosmic-v14.shop-page .active-filter-row,
  body.cosmic-v15.shop-page .shop-main-head,
  body.cosmic-v15.shop-page .active-filter-row{
    position:static!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    z-index:auto!important;
    flex:none!important;
  }
  body.shop-page .shop-main-head,
  body.cosmic-v14.shop-page .shop-main-head,
  body.cosmic-v15.shop-page .shop-main-head{
    margin:0 0 20px!important;
  }
  body.shop-page .active-filter-row,
  body.cosmic-v14.shop-page .active-filter-row,
  body.cosmic-v15.shop-page .active-filter-row{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    min-height:48px!important;
    margin:0 0 22px!important;
  }
  body.shop-page .shop-results-scroll,
  body.cosmic-v14.shop-page .shop-results-scroll,
  body.cosmic-v15.shop-page .shop-results-scroll{
    display:block!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    padding:0!important;
    margin:0!important;
    position:static!important;
    z-index:auto!important;
  }
  body.shop-page .product-grid,
  body.cosmic-v14.shop-page .product-grid,
  body.cosmic-v15.shop-page .product-grid{
    margin:0!important;
    padding:0!important;
  }

  body.account-page .account-section{
    padding:70px 0!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  body.account-page .account-dashboard{
    display:grid!important;
    grid-template-columns:330px minmax(0,1fr)!important;
    gap:24px!important;
    align-items:start!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  body.account-page .profile-card-enhanced{
    position:sticky!important;
    top:104px!important;
    align-self:start!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    z-index:20!important;
  }
  body.account-page .orders-history-panel,
  body.account-page .order-list-scroll{
    display:grid!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    padding:0!important;
    margin:0!important;
  }
  body.account-page .orders-history-panel{
    gap:18px!important;
  }
}

/* V11 STRICT STICKY ONLY
   Keep V10 layout exactly as-is. Do not make product/order area a separate internal scroller.
   Only pin the left filter/profile card in its existing column while the page scrolls normally. */
@media (min-width:1200px){
  body.shop-page .shop-layout,
  body.cosmic-v14.shop-page .shop-layout,
  body.cosmic-v15.shop-page .shop-layout{
    overflow:visible!important;
    align-items:start!important;
    height:auto!important;
    max-height:none!important;
  }
  body.shop-page .filter-panel,
  body.cosmic-v14.shop-page .filter-panel,
  body.cosmic-v15.shop-page .filter-panel{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:92px!important;
    align-self:start!important;
    height:max-content!important;
    max-height:none!important;
    overflow:visible!important;
    transform:none!important;
    z-index:30!important;
  }
  body.shop-page .shop-main,
  body.cosmic-v14.shop-page .shop-main,
  body.cosmic-v15.shop-page .shop-main,
  body.shop-page .shop-results-scroll,
  body.cosmic-v14.shop-page .shop-results-scroll,
  body.cosmic-v15.shop-page .shop-results-scroll{
    display:block!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
  }
  body.account-page .account-section,
  body.account-page .account-dashboard{
    overflow:visible!important;
    height:auto!important;
    max-height:none!important;
    align-items:start!important;
  }
  body.account-page .profile-card-enhanced{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:92px!important;
    align-self:start!important;
    height:max-content!important;
    max-height:none!important;
    overflow:visible!important;
    transform:none!important;
    z-index:30!important;
  }
  body.account-page .orders-history-panel,
  body.account-page .order-list-scroll{
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
  }
}

/* V12 FINAL REQUEST: keep current V11/V10 visual layout, but freeze only the left panels
   and make only the right product/order list scroll. No redesign. */
@media (min-width:1200px){
  /* SHOP: two-column viewport area. Left filter stays where it is, right products scroll. */
  body.shop-page .shop-layout,
  body.cosmic-v14.shop-page .shop-layout,
  body.cosmic-v15.shop-page .shop-layout{
    display:grid!important;
    grid-template-columns:310px minmax(0,1fr)!important;
    gap:38px!important;
    align-items:start!important;
    height:calc(100vh - 118px)!important;
    max-height:calc(100vh - 118px)!important;
    min-height:640px!important;
    overflow:hidden!important;
    padding-top:30px!important;
    padding-bottom:34px!important;
    position:relative!important;
  }

  body.shop-page .filter-panel,
  body.cosmic-v14.shop-page .filter-panel,
  body.cosmic-v15.shop-page .filter-panel{
    position:sticky!important;
    top:92px!important;
    align-self:start!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    z-index:30!important;
  }

  body.shop-page .shop-main,
  body.cosmic-v14.shop-page .shop-main,
  body.cosmic-v15.shop-page .shop-main{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
    height:100%!important;
    max-height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    position:relative!important;
    padding-right:0!important;
  }

  body.shop-page .shop-main-head,
  body.cosmic-v14.shop-page .shop-main-head,
  body.cosmic-v15.shop-page .shop-main-head,
  body.shop-page .active-filter-row,
  body.cosmic-v14.shop-page .active-filter-row,
  body.cosmic-v15.shop-page .active-filter-row{
    position:static!important;
    flex:0 0 auto!important;
    z-index:2!important;
  }

  body.shop-page .shop-main-head,
  body.cosmic-v14.shop-page .shop-main-head,
  body.cosmic-v15.shop-page .shop-main-head{
    margin:0 0 18px!important;
  }

  body.shop-page .active-filter-row,
  body.cosmic-v14.shop-page .active-filter-row,
  body.cosmic-v15.shop-page .active-filter-row{
    margin:0 0 20px!important;
  }

  body.shop-page .shop-results-scroll,
  body.cosmic-v14.shop-page .shop-results-scroll,
  body.cosmic-v15.shop-page .shop-results-scroll{
    flex:1 1 auto!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:0 10px 34px 0!important;
    margin:0!important;
    position:relative!important;
    scroll-behavior:smooth;
  }

  body.shop-page .product-grid,
  body.cosmic-v14.shop-page .product-grid,
  body.cosmic-v15.shop-page .product-grid{
    margin:0!important;
    padding:0 0 30px!important;
  }

  /* ACCOUNT: left profile stays where it is, only order history scrolls. */
  body.account-page .account-section{
    height:calc(100vh - 96px)!important;
    max-height:calc(100vh - 96px)!important;
    min-height:620px!important;
    overflow:hidden!important;
    padding-top:40px!important;
    padding-bottom:40px!important;
  }

  body.account-page .account-dashboard{
    display:grid!important;
    grid-template-columns:330px minmax(0,1fr)!important;
    gap:24px!important;
    align-items:start!important;
    height:100%!important;
    max-height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
  }

  body.account-page .profile-card-enhanced{
    position:sticky!important;
    top:92px!important;
    align-self:start!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    z-index:30!important;
  }

  body.account-page .orders-history-panel{
    display:flex!important;
    flex-direction:column!important;
    height:100%!important;
    max-height:100%!important;
    min-height:0!important;
    overflow:hidden!important;
    gap:18px!important;
  }

  body.account-page .orders-history-panel .section-head,
  body.account-page .orders-history-panel .section-head.compact{
    flex:0 0 auto!important;
    margin-bottom:0!important;
  }

  body.account-page .order-list-scroll{
    flex:1 1 auto!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:0 12px 34px 0!important;
    margin:0!important;
    display:grid!important;
    gap:18px!important;
  }
}

/* V13 FINAL: Normal page flow + left sticky only.
   Requirement: filter/profile must stay visible in same place; no right-side internal scroller,
   no blank/black gap, products/orders continue naturally beside the sticky left panel. */
@media (min-width:1200px){
  html, body.shop-page,
  body.cosmic-v14.shop-page,
  body.cosmic-v15.shop-page{
    overflow-x:hidden!important;
    overflow-y:auto!important;
    height:auto!important;
  }

  body.shop-page .shop-layout,
  body.cosmic-v14.shop-page .shop-layout,
  body.cosmic-v15.shop-page .shop-layout{
    display:grid!important;
    grid-template-columns:310px minmax(0,1fr)!important;
    gap:38px!important;
    align-items:start!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    padding-top:54px!important;
    padding-bottom:110px!important;
    position:relative!important;
  }

  body.shop-page .filter-panel,
  body.cosmic-v14.shop-page .filter-panel,
  body.cosmic-v15.shop-page .filter-panel{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:92px!important;
    align-self:start!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    z-index:30!important;
    transform:none!important;
  }

  body.shop-page .shop-main,
  body.cosmic-v14.shop-page .shop-main,
  body.cosmic-v15.shop-page .shop-main{
    display:block!important;
    min-width:0!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    padding-right:0!important;
    position:relative!important;
  }

  body.shop-page .shop-main-head,
  body.cosmic-v14.shop-page .shop-main-head,
  body.cosmic-v15.shop-page .shop-main-head{
    position:static!important;
    margin:0 0 20px!important;
    z-index:auto!important;
  }

  body.shop-page .active-filter-row,
  body.cosmic-v14.shop-page .active-filter-row,
  body.cosmic-v15.shop-page .active-filter-row{
    position:static!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    min-height:48px!important;
    margin:0 0 22px!important;
    z-index:auto!important;
  }

  body.shop-page .shop-results-scroll,
  body.cosmic-v14.shop-page .shop-results-scroll,
  body.cosmic-v15.shop-page .shop-results-scroll{
    display:block!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    padding:0!important;
    margin:0!important;
    position:static!important;
    z-index:auto!important;
  }

  body.shop-page .product-grid,
  body.cosmic-v14.shop-page .product-grid,
  body.cosmic-v15.shop-page .product-grid{
    margin:0!important;
    padding:0!important;
  }

  body.shop-page .site-footer,
  body.cosmic-v14.shop-page .site-footer,
  body.cosmic-v15.shop-page .site-footer{
    position:relative!important;
    z-index:1!important;
  }

  /* Account: keep profile card at same place and sticky; order history stays in normal page flow. */
  body.account-page,
  body.account-page .account-section,
  body.account-page .account-dashboard{
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
  }

  body.account-page .account-section{
    padding:70px 0!important;
  }

  body.account-page .account-dashboard{
    display:grid!important;
    grid-template-columns:330px minmax(0,1fr)!important;
    gap:24px!important;
    align-items:start!important;
  }

  body.account-page .profile-card-enhanced{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:92px!important;
    align-self:start!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
    transform:none!important;
    z-index:30!important;
  }

  body.account-page .orders-history-panel,
  body.account-page .order-list-scroll{
    display:grid!important;
    height:auto!important;
    max-height:none!important;
    min-height:0!important;
    overflow:visible!important;
    padding:0!important;
    margin:0!important;
  }

  body.account-page .orders-history-panel{
    gap:18px!important;
  }
}

/* V14 SHOP = ACCOUNT PROFILE FLOW
   User request: keep current design, make shop filter behave like account/profile sticky flow.
   No separate/internal product scroller; page scroll continues normally next to the sticky left panel. */
@media (min-width:1200px){
  html body.shop-page,
  html body.cosmic-v14.shop-page,
  html body.cosmic-v15.shop-page{
    overflow-x:hidden!important;
    overflow-y:auto!important;
  }

  html body.shop-page .shop-layout,
  html body.cosmic-v14.shop-page .shop-layout,
  html body.cosmic-v15.shop-page .shop-layout{
    display:grid!important;
    grid-template-columns:310px minmax(0,1fr)!important;
    gap:38px!important;
    align-items:start!important;
    padding:54px 0 110px!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    position:relative!important;
  }

  html body.shop-page .filter-panel,
  html body.cosmic-v14.shop-page .filter-panel,
  html body.cosmic-v15.shop-page .filter-panel{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:92px!important;
    align-self:start!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    transform:none!important;
    z-index:30!important;
  }

  html body.shop-page .shop-main,
  html body.cosmic-v14.shop-page .shop-main,
  html body.cosmic-v15.shop-page .shop-main{
    display:block!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    padding:0!important;
    margin:0!important;
    position:relative!important;
    z-index:1!important;
  }

  html body.shop-page .shop-main-head,
  html body.cosmic-v14.shop-page .shop-main-head,
  html body.cosmic-v15.shop-page .shop-main-head{
    position:static!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:16px!important;
    margin:0 0 20px!important;
    z-index:auto!important;
  }

  html body.shop-page .active-filter-row,
  html body.cosmic-v14.shop-page .active-filter-row,
  html body.cosmic-v15.shop-page .active-filter-row{
    position:static!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    min-height:48px!important;
    margin:0 0 22px!important;
    z-index:auto!important;
  }

  html body.shop-page .shop-results-scroll,
  html body.cosmic-v14.shop-page .shop-results-scroll,
  html body.cosmic-v15.shop-page .shop-results-scroll{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
    padding:0!important;
    margin:0!important;
    position:static!important;
    z-index:auto!important;
  }

  html body.shop-page .product-grid,
  html body.cosmic-v14.shop-page .product-grid,
  html body.cosmic-v15.shop-page .product-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:24px!important;
    align-items:stretch!important;
    margin:0!important;
    padding:0!important;
  }

  /* keep the same account/profile sticky behaviour untouched, only assert normal-flow page scroll */
  html body.account-page,
  html body.account-page .account-section,
  html body.account-page .account-dashboard{
    overflow:visible!important;
    height:auto!important;
    max-height:none!important;
  }
  html body.account-page .profile-card-enhanced{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:92px!important;
    align-self:start!important;
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
  html body.account-page .orders-history-panel,
  html body.account-page .order-list-scroll{
    height:auto!important;
    max-height:none!important;
    overflow:visible!important;
  }
}
