@import url('../commerce/style.css?v=toranj-20261106-mobile-overflow');
.detail-price .commerce-muted{display:block;margin-top:8px}.product-detail .size-option:disabled{opacity:.45;cursor:not-allowed}.commerce-feedback-form h3{margin:0;font-size:15px}

/* Sticky mobile purchase bar: price + CTA always reachable while scrolling */
.mobile-buy-bar{display:none;z-index:91}
@media (max-width:900px){
    body.is-customer-site.has-mobile-navigation{padding-bottom:calc(var(--mobile-nav-height, 80px) + 58px)}
    .mobile-buy-bar{position:fixed;bottom:var(--mobile-nav-height, calc(71px + env(safe-area-inset-bottom,0px)));inset-inline:0;z-index:89;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;background:#fffffffa;border-top:1px solid #e1ebe6;backdrop-filter:blur(14px);box-shadow:0 -2px 14px #173d290d}
    .mobile-buy-price{display:flex;align-items:baseline;gap:5px;min-width:0}
    .mobile-buy-price del{color:#a3a3a3;font-size:12px}
    .mobile-buy-price strong{font-size:17px}
    .mobile-buy-price span{font-size:12px;color:#6b7d76}
    .mobile-buy-cta{flex:none;min-height:42px;padding:9px 18px;font-size:14px}
    .mobile-buy-bar.has-chat{gap:8px}
    .mobile-buy-bar.has-chat .mobile-buy-price{flex:1}
    .mobile-buy-chat{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:54px;min-height:46px;border-radius:12px;background:var(--mint);color:var(--teal);font-size:11px;font-weight:700;line-height:1.2}
    .mobile-buy-chat .icon{width:21px;height:21px}
}

/* Narrow phones (<=360px): chat + 9-10-digit price + nowrap CTA exceed the bar,
   so drop the strike-through price and let the CTA wrap to two shorter lines. */
@media (max-width:360px){
    .mobile-buy-price del{display:none}
    .mobile-buy-cta{white-space:normal;padding-inline:12px;line-height:1.25;text-align:center}
}

/* Seller line with the "chat with producer" entry point */
.detail-seller-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin:4px 0 6px}
.detail-seller-row .detail-seller{margin:0}
.detail-chat-button{min-height:40px;padding:0 15px;border-radius:999px;font-size:13.5px}
.detail-chat-button .icon{width:19px;height:19px}

/* Trust row under the buy box: delivery estimate, returns, payment options */
.purchase-trust{list-style:none;display:flex;flex-wrap:wrap;gap:6px 14px;margin:14px 0 0;padding:12px 14px;background:#f4faf7;border:1px solid #dcebe2;border-radius:12px}
.purchase-trust li{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:#3f5a50}
.purchase-trust li .icon{width:14px;height:14px;color:#1d7a5f;flex:none}

/* Swipeable gallery counter chip + fullscreen lightbox */
.gallery-main{position:relative}
.gallery-main[data-gallery-swipe]{cursor:zoom-in;touch-action:pan-y}
.gallery-counter{position:absolute;bottom:10px;inset-inline-start:10px;background:rgba(17,45,40,.62);color:#fff;font-size:12px;padding:4px 10px;border-radius:99px;pointer-events:none}
.product-lightbox{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:rgba(10,24,22,.94);backdrop-filter:blur(6px);animation:product-lightbox-in .18s ease-out}
@keyframes product-lightbox-in{from{opacity:0}to{opacity:1}}
.product-lightbox img{max-width:94vw;max-height:86vh;object-fit:contain;border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.5)}
.product-lightbox-close{position:absolute;top:14px;inset-inline-start:14px;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:19px;cursor:pointer}
.product-lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:56px;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:27px;border-radius:12px;cursor:pointer}
.product-lightbox-prev{inset-inline-end:14px}
.product-lightbox-next{inset-inline-start:14px}
.product-lightbox-nav:hover,.product-lightbox-close:hover{background:rgba(255,255,255,.24)}
.product-lightbox-counter{position:absolute;bottom:20px;inset-inline-start:50%;transform:translateX(50%);background:rgba(255,255,255,.16);color:#fff;font-size:13px;padding:5px 14px;border-radius:99px}
body.has-product-lightbox{overflow:hidden}
