body.sf-quick-open{overflow:hidden}.sf-quick-product-overlay,.sf-quick-guest-overlay{position:fixed;inset:0;z-index:9990;background:rgba(17,24,39,.54);display:grid;place-items:center;padding:22px}.sf-quick-product-overlay[hidden],.sf-quick-guest-overlay[hidden],.sf-quick-toast[hidden]{display:none!important}.sf-quick-product-stage{width:min(930px,calc(100vw - 44px));max-height:calc(100vh - 44px)}.sf-quick-product-dialog{position:relative;width:100%;max-height:calc(100vh - 44px);overflow:auto;border-radius:14px;background:#fff;box-shadow:0 22px 70px rgba(30,24,16,.25)}.sf-quick-close{position:absolute;z-index:3;right:20px;top:18px;width:40px;height:40px;border:1px solid #eadfce;border-radius:999px;background:#fff;color:#2b2119;font-size:31px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px rgba(83,63,36,.08)}.sf-quick-product-form{display:grid;grid-template-columns:46.5% 53.5%;grid-template-areas:"gallery info" "benefits benefits";gap:0;padding:34px 28px 26px}.sf-quick-gallery{grid-area:gallery;padding-right:34px}.sf-quick-main-image{position:relative;height:470px;border-radius:14px;overflow:hidden;background:#f5eee4}.sf-quick-main-image>img{width:100%;height:100%;object-fit:cover;display:block}.sf-quick-placeholder{width:100%;height:100%;display:grid;place-items:center;font-size:76px}.sf-quick-heart{position:absolute;right:15px;top:15px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#5d4e42;font-size:27px;line-height:1;box-shadow:0 3px 12px rgba(45,33,23,.14);cursor:pointer}.sf-quick-thumbs{display:flex;gap:12px;margin-top:14px;overflow:auto;padding:1px 0}.sf-quick-thumbs button{flex:0 0 74px;width:74px;height:60px;border:2px solid transparent;border-radius:8px;padding:0;overflow:hidden;background:#fff;cursor:pointer}.sf-quick-thumbs button.active{border-color:#709b36}.sf-quick-thumbs img{width:100%;height:100%;object-fit:cover}.sf-quick-info{grid-area:info;padding:18px 3px 0 4px;min-width:0}.sf-quick-discount{display:inline-flex;align-items:center;min-height:28px;padding:5px 14px;border-radius:18px;background:#5b8b25;color:#fff;font-size:13px;font-weight:800}.sf-quick-info h2{margin:16px 0 8px;font-size:34px;line-height:1.08;letter-spacing:-.7px;color:#201b17}.sf-quick-rating{display:flex;align-items:center;gap:14px;margin-bottom:20px}.sf-quick-rating>span{font-size:20px;letter-spacing:1px;color:#ffae00}.sf-quick-rating small{font-size:13px;color:#81796f}.sf-quick-price{font-size:36px;line-height:1;font-weight:850;color:#5d8f2b}.sf-quick-price del{margin-left:13px;font-size:18px;font-weight:500;color:#968f89}.sf-quick-tax{margin-top:10px;color:#659230;font-size:14px;font-weight:650}.sf-quick-options{margin-top:18px;padding-top:14px;border-top:1px solid #eee6dd;display:grid;gap:10px}.sf-quick-option>b{display:block;margin-bottom:7px;font-size:12px}.sf-quick-option>div{display:flex;flex-wrap:wrap;gap:7px}.sf-quick-option label{position:relative}.sf-quick-option input{position:absolute;opacity:0;pointer-events:none}.sf-quick-option label span{display:inline-flex;gap:5px;align-items:center;min-height:34px;padding:5px 9px;border:1px solid #ddd3ca;border-radius:7px;font-size:11px;cursor:pointer}.sf-quick-option label small{font-size:9px;color:#7b726b}.sf-quick-option input:checked+span{border-color:#6f9735;background:#f5faee;color:#5a7f25}.sf-quick-qty-label{display:block;margin:24px 0 8px;font-size:14px;font-weight:700;color:#2f2924}.sf-quick-actions{display:grid;grid-template-columns:174px 1fr;gap:12px}.sf-quick-actions>*{height:58px;border-radius:9px;font-size:15px;font-weight:750}.sf-quick-qty{display:grid;grid-template-columns:50px 1fr 50px;border:1px solid #ddd3ca;background:#fff;overflow:hidden}.sf-quick-qty button{border:0;background:#fff;font-size:24px;cursor:pointer;color:#372d26}.sf-quick-qty input{width:100%;min-width:0;border:0!important;box-shadow:none!important;text-align:center;font-size:17px;background:#fff;padding:0}.sf-quick-inquiries{display:flex;align-items:center;justify-content:center;gap:8px;border:0;background:#5c8f2c;color:#fff;text-decoration:none;cursor:pointer}.sf-quick-inquiries:disabled{opacity:.45}.sf-quick-wa{font-size:18px}.sf-quick-add{border:0;background:#ff661c;color:#fff;cursor:pointer}.sf-quick-add span{font-size:18px;margin-right:5px}.sf-quick-buy{border:1.5px solid #779c45;background:#fff;color:#5b7d2f;cursor:pointer}.sf-quick-actions button:disabled{opacity:.65;cursor:wait}.sf-quick-secondary{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.sf-quick-secondary button{height:54px;border:1px solid #dfd2c5;border-radius:28px;background:#fff;color:#4c4239;font-size:14px;cursor:pointer}.sf-quick-secondary button span{margin-left:6px}.sf-quick-benefits{grid-area:benefits;margin-top:20px;padding:18px 28px;background:#fbf4e9;border-radius:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.sf-quick-benefits>div{display:flex;align-items:center;gap:14px}.sf-quick-benefits b{flex:0 0 46px;width:46px;height:46px;border:1.5px solid #76a34a;border-radius:50%;display:grid;place-items:center;color:#577f2d;font-size:22px}.sf-quick-benefits span{display:grid;gap:3px}.sf-quick-benefits strong{font-size:13px;color:#2e2924}.sf-quick-benefits small{font-size:12px;line-height:1.42;color:#5e5750}.sf-quick-toast{position:fixed;z-index:10020;right:26px;top:116px;min-width:220px;padding:14px 19px;border-radius:8px;background:#69a83b;color:#fff;font-weight:750;box-shadow:0 8px 28px rgba(48,87,32,.25)}.sf-quick-guest-overlay{z-index:10000;align-items:start;padding-top:98px}.sf-quick-guest-dialog{width:min(880px,calc(100vw - 42px));background:#fff;border-radius:3px;padding:21px 24px;display:grid;grid-template-columns:1fr 220px;gap:28px;align-items:center;box-shadow:0 15px 45px rgba(0,0,0,.22)}.sf-quick-guest-dialog h2{margin:0 0 7px;font-size:25px}.sf-quick-guest-dialog p{margin:0;color:#4d4d4d;font-size:12px;line-height:1.5}.sf-quick-guest-actions{display:grid;gap:10px}.sf-quick-guest-actions a{height:42px;display:flex;align-items:center;justify-content:center;border:1px solid #dbe9bf;border-radius:4px;text-decoration:none;font-size:12px;color:#7da32f}.sf-quick-guest-actions .sf-quick-guest-continue{background:#111;color:#fff;border-color:#111}
@media(max-width:800px){.sf-quick-product-overlay{padding:10px}.sf-quick-product-stage{width:min(620px,calc(100vw - 20px));max-height:calc(100vh - 20px)}.sf-quick-product-dialog{max-height:calc(100vh - 20px)}.sf-quick-product-form{grid-template-columns:1fr;grid-template-areas:"gallery" "info" "benefits";padding:18px 16px 16px}.sf-quick-gallery{padding-right:0}.sf-quick-main-image{height:auto;aspect-ratio:0.78/1}.sf-quick-info{padding-top:16px}.sf-quick-close{right:13px;top:13px}.sf-quick-benefits{grid-template-columns:1fr;margin-top:18px}.sf-quick-info h2{font-size:28px}.sf-quick-price{font-size:30px}.sf-quick-guest-dialog{grid-template-columns:1fr;padding:20px}.sf-quick-guest-overlay{padding-top:45px}}
@media(max-width:480px){.sf-quick-product-overlay{place-items:start center;padding-top:6px}.sf-quick-product-form{padding:14px 12px}.sf-quick-main-image{aspect-ratio:0.78/1}.sf-quick-thumbs{gap:8px}.sf-quick-thumbs button{flex-basis:62px;width:62px;height:48px}.sf-quick-info h2{font-size:24px;margin-top:12px}.sf-quick-rating{margin-bottom:14px}.sf-quick-price{font-size:26px}.sf-quick-tax{font-size:12px}.sf-quick-qty-label{margin-top:16px}.sf-quick-actions{grid-template-columns:1fr 1fr;gap:8px}.sf-quick-actions>*{height:48px;font-size:12px}.sf-quick-qty{grid-template-columns:39px 1fr 39px}.sf-quick-secondary{gap:8px;margin-top:12px}.sf-quick-secondary button{height:46px;font-size:12px}.sf-quick-benefits{padding:13px 15px;gap:12px}.sf-quick-benefits b{width:39px;height:39px;flex-basis:39px}.sf-quick-benefits small br{display:none}.sf-quick-toast{left:12px;right:12px;top:82px;text-align:center}.sf-quick-guest-overlay{padding:12px;align-items:center}.sf-quick-guest-dialog{width:100%}}

/* v199 — mobile quick Product Details viewport/scroll fix only */
@media (max-width:800px){
  .sf-quick-product-overlay{
    height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
    overscroll-behavior:contain!important;
  }
  .sf-quick-product-stage{
    max-height:calc(100dvh - 20px)!important;
    min-height:0!important;
  }
  .sf-quick-product-dialog{
    max-height:calc(100dvh - 20px)!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
  }
}
@media (max-width:480px){
  .sf-quick-product-overlay{
    padding-top:6px!important;
    padding-bottom:max(6px,env(safe-area-inset-bottom))!important;
  }
  .sf-quick-product-stage,
  .sf-quick-product-dialog{
    max-height:calc(100dvh - 12px - env(safe-area-inset-bottom))!important;
  }
}

/* v225 — Product popup secondary actions: exact same visual treatment as
   Product Detail page. Skin only; button behaviour and data attributes stay. */
.sf-quick-product-dialog .sf-quick-secondary{
  gap:10px!important;
  margin-top:40px!important;
}
.sf-quick-product-dialog .sf-quick-secondary button{
  position:relative!important;
  height:54px!important;
  border-radius:999px!important;
  font-family:inherit!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:400!important;
  letter-spacing:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:16px!important;
  padding:0 18px!important;
  box-shadow:none!important;
}
.sf-quick-product-dialog .sf-quick-secondary button:first-child{
  border:1.4px solid #B46F54!important;
  color:#2E241F!important;
  background:#FFF9F6!important;
  font-size:0!important;
}
.sf-quick-product-dialog .sf-quick-secondary button:first-child::before{
  content:"";width:22px;height:22px;flex:0 0 22px;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.7a5.5 5.5 0 0 0-7.8 0L12 5.7l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.5 1-1a5.5 5.5 0 0 0 0-7.8Z' fill='none' stroke='%23E34242' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.sf-quick-product-dialog .sf-quick-secondary button:first-child::after{content:"";width:1px;height:24px;background:#D9CDC7;order:1}
.sf-quick-product-dialog .sf-quick-secondary button:first-child span{font-size:14px!important;color:#2E241F!important;margin:0!important;order:2}
.sf-quick-product-dialog .sf-quick-secondary button:last-child{
  border:1.4px solid #6D8743!important;
  color:#435E20!important;
  background:#FEFFF9!important;
  font-size:0!important;
}
.sf-quick-product-dialog .sf-quick-secondary button:last-child::before{
  content:"";width:22px;height:22px;flex:0 0 22px;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='18' cy='5' r='2.5' fill='none' stroke='%235A7D2B' stroke-width='1.8'/%3E%3Ccircle cx='6' cy='12' r='2.5' fill='none' stroke='%235A7D2B' stroke-width='1.8'/%3E%3Ccircle cx='18' cy='19' r='2.5' fill='none' stroke='%235A7D2B' stroke-width='1.8'/%3E%3Cpath d='m8.2 10.9 7.6-4.5M8.2 13.1l7.6 4.5' fill='none' stroke='%235A7D2B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.sf-quick-product-dialog .sf-quick-secondary button:last-child::after{content:"";width:1px;height:24px;background:#D8DDD0;order:1}
.sf-quick-product-dialog .sf-quick-secondary button:last-child span{font-size:14px!important;color:#435E20!important;margin:0!important;order:2}
@media(max-width:480px){
  .sf-quick-product-dialog .sf-quick-secondary{gap:8px!important;margin-top:40px!important}
  .sf-quick-product-dialog .sf-quick-secondary button{height:46px!important;gap:11px!important;padding:0 10px!important}
  .sf-quick-product-dialog .sf-quick-secondary button:first-child::before,
  .sf-quick-product-dialog .sf-quick-secondary button:last-child::before{width:20px;height:20px;flex-basis:20px}
  .sf-quick-product-dialog .sf-quick-secondary button:first-child::after,
  .sf-quick-product-dialog .sf-quick-secondary button:last-child::after{height:21px}
  .sf-quick-product-dialog .sf-quick-secondary button:first-child span,
  .sf-quick-product-dialog .sf-quick-secondary button:last-child span{font-size:12px!important}
}

/* v331b — Product Detail popup only: double the variant group-name text size. */
.sf-quick-option>b{font-size:24px!important;line-height:1.2!important}

/* v560 — mobile Product Details: scroll the complete white sheet as one unit.
   The overlay owns vertical scrolling; the white dialog itself keeps natural height. */
@media (max-width:800px){
  .sf-quick-product-overlay{
    place-items:start center!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    touch-action:pan-y!important;
  }
  .sf-quick-product-stage{
    max-height:none!important;
    min-height:0!important;
  }
  .sf-quick-product-dialog{
    max-height:none!important;
    overflow:visible!important;
    overscroll-behavior:auto!important;
    touch-action:auto!important;
  }
}
@media (max-width:480px){
  .sf-quick-product-stage,
  .sf-quick-product-dialog{
    max-height:none!important;
  }
}


/* v562 — mobile Product Details measured initial top clearance only.
   Keep v560 whole-sheet scrolling; start the scroll track below the fixed storefront header. */
@media (max-width:800px){
  .sf-quick-product-overlay{
    padding-top:var(--sf-product-sheet-top-clearance, 124px)!important;
    padding-bottom:10px!important;
    box-sizing:border-box!important;
  }
}
@media (max-width:480px){
  .sf-quick-product-overlay{
    padding-top:var(--sf-product-sheet-top-clearance, 124px)!important;
    padding-bottom:calc(10px + env(safe-area-inset-bottom))!important;
  }
}

/* v563 — mobile Product Details: match bottom visible clearance to the confirmed top gap.
   Preserve v560 whole-sheet scrolling and v562 opening position. */
@media (max-width:800px){
  .sf-quick-product-overlay{
    padding-bottom:var(--sf-product-sheet-visible-gap, 7px)!important;
  }
}
@media (max-width:480px){
  .sf-quick-product-overlay{
    padding-bottom:calc(var(--sf-product-sheet-visible-gap, 7px) + env(safe-area-inset-bottom))!important;
  }
}

/* v564 — mobile Product Details: real trailing scroll-track clearance.
   The stage owns an explicit spacer after the complete white sheet so the final
   scroll position leaves the same visible 7px gap as the confirmed top gap. */
@media (max-width:800px){
  .sf-quick-product-stage::after{
    content:"";
    display:block;
    width:100%;
    height:var(--sf-product-sheet-visible-gap, 7px);
    flex:0 0 auto;
  }
}
