/* Product-page presentation; price, stock, SEO and checkout remain data-driven. */
:root { --product-ink:#173d39; --product-line:#e2e8ed; --product-nav-height:70px; --product-header-height:64px; }
body { background:#f8fafc; color:var(--product-ink); }
button,input,a { -webkit-tap-highlight-color:transparent; }
button,input { font-family:inherit; }
button,a { touch-action:manipulation; }
button:focus-visible,a:focus-visible { outline:2px solid #008080; outline-offset:3px; }
.product-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.desktop-header { padding:10px 24px; background:#fff; box-shadow:0 2px 10px #173d3908; border-color:var(--product-line); }
.desktop-logo .logo-text { font-family:Georgia,serif; letter-spacing:.025em; }
.header-inner { gap:16px; }
.desktop-actions { flex-shrink:0; gap:10px; }
.desktop-auth-pill { max-width:190px; }
#desktop-auth-text { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.breadcrumb-section { margin-top:12px; font-size:11px; gap:7px; }
.product-page-container { margin:14px auto 24px; }
.product-grid { grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); gap:24px; }
.product-images { top:calc(var(--product-header-height) + 16px); min-width:0; }
.main-image-wrap { height:clamp(280px,38vw,470px); aspect-ratio:auto; border-radius:20px; border-color:var(--product-line); box-shadow:none; }
.main-image-wrap img { padding:12px; }
.main-image-wrap:hover img { transform:none; }
.product-zoom-button { position:absolute; right:10px; bottom:10px; display:flex; align-items:center; justify-content:center; gap:6px; min-height:36px; padding:6px 11px; border:1px solid #dce8e3; border-radius:11px; background:#ffffffed; color:#28564b; font-size:10px; font-weight:700; cursor:pointer; box-shadow:0 2px 8px #173d3908; }
.thumb-row { gap:8px; margin-top:8px; padding:3px 2px 5px; scroll-snap-type:x proximity; }
.thumb-row:empty { display:none; }
.thumb { width:56px; height:56px; padding:3px; border-radius:10px; box-shadow:none; scroll-snap-align:start; }
.thumb.active { transform:none; box-shadow:0 0 0 1px #00808022; }
.product-info { min-width:0; gap:14px; padding:22px; border:1px solid var(--product-line); border-radius:20px; background:#fff; box-shadow:0 3px 16px #203c3403; }
.meta-tags-row { gap:5px; }
.brand-pill,.b2b-verified-badge { padding:3px 7px; font-size:9px; line-height:1.4; letter-spacing:.025em; border-radius:6px; text-decoration:none; overflow-wrap:anywhere; }
.product-title { font-size:clamp(22px,2.2vw,29px); line-height:1.25; font-weight:700; letter-spacing:-.025em; overflow-wrap:anywhere; }
.product-subtitle { font-size:12px; line-height:1.55; overflow-wrap:anywhere; }
.price-card { padding:0 0 14px; margin:0; border:0; border-bottom:1px solid #edf0f3; border-radius:0; background:#fff; box-shadow:none; }
.price-row { gap:6px 10px; }
.price-main { font-size:30px; line-height:1.15; letter-spacing:-.035em; overflow-wrap:anywhere; }
.price-mrp { font-size:13px; color:#64748b; }
.brand-pill { color:#00766c; }
.price-off { font-size:10px; padding:3px 6px; border-radius:5px; color:#167046; background:#d6efdf; }
.price-tax-note { font-size:10px; line-height:1.45; margin-top:6px; align-items:flex-start; }
.price-tax-note i { margin-top:2px; }
.product-purchase { display:grid; gap:12px; }
.qty-container { padding:2px 0; border:0; border-radius:0; gap:12px; }
.qty-left { min-width:0; gap:2px; }
.qty-title { font-size:12px; }
.qty-subtitle { font-size:10px; color:#16865b; }
.qty-subtitle.product-unavailable { color:#ad4653; }
.qty-entry-hint { font-size:9px; color:#70837b; }
.qty-controls { flex-shrink:0; padding:0; border:1px solid #dce4e9; border-radius:12px; background:#f7f9fb; overflow:hidden; }
.qty-btn { width:40px; height:44px; border-radius:0; background:transparent; box-shadow:none; color:#00766c; }
.qty-num { width:54px; height:44px; font-size:16px; border:0; border-radius:0; background:#fff; }
.qty-num:focus-visible { box-shadow:inset 0 -2px #008080; }
.action-buttons-grid { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:0; }
.btn-cart,.btn-buy { min-height:48px; padding:10px 12px; border-radius:12px; gap:7px; font-size:13px; box-shadow:none; line-height:1.3; white-space:normal; }
.btn-cart { background:#008080; box-shadow:0 3px 8px #00808014; }
.btn-buy { background:linear-gradient(120deg,#f9d448,#f2b807); box-shadow:0 3px 8px #b58d0014; }
.btn-cart:hover,.btn-buy:hover { transform:none; box-shadow:none; }
.btn-buy:disabled { opacity:.7; cursor:wait; }
.trust-grid { display:flex; flex-wrap:wrap; gap:6px 16px; padding:4px 0; margin:0; border:0; border-radius:0; background:none; }
.trust-item { font-size:11px; color:#577369; gap:6px; text-decoration:none; min-height:32px; }
.trust-item i { color:#008080; }
.trust-item:hover { color:#008080; text-decoration:underline; }
.details-container { margin:0; border-radius:12px; border-color:var(--product-line); }
.tabs-header { background:#f8fafc; border-color:var(--product-line); }
.tab-btn { font-size:12px; line-height:1.35; min-height:44px; padding:10px 8px; border-bottom-width:2px; }
.tab-body { padding:14px; font-size:12px; line-height:1.75; overflow-wrap:anywhere; }
.tab-body p:last-child { margin-bottom:0; }
.tab-body a { color:#00766c; text-underline-offset:3px; }
.details-container > .product-subtitle,.details-container > p { margin:12px; }
.related-section { margin:28px auto 32px; padding:0 24px; background:transparent; border-radius:0; }
.related-header { margin-bottom:14px; gap:12px; flex-wrap:wrap; }
.related-title { font-size:21px; letter-spacing:-.02em; }
.related-title > i { color:#008080; font-size:16px; }
.related-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:16px; }
.related-card { border-radius:16px; box-shadow:0 2px 8px #1d333b04; min-width:0; border-color:#e2e8ed; }
.related-card:hover { transform:translateY(-2px); box-shadow:0 5px 12px #163d3909; }
.related-card-img { padding:12px; }
.related-card-body { padding:12px; gap:8px; }
.related-card-name { font-size:13px; line-height:1.45; margin:0; overflow-wrap:anywhere; }
.related-card-price-row { gap:5px; flex-wrap:wrap; }
.related-card-price { font-size:17px; }
.android-app-promo { margin:14px auto; box-shadow:none; }
.desktop-footer { padding:28px 24px; margin-top:24px; }
.footer-desc { font-size:12px; margin:12px auto; }
.footer-links { margin-bottom:14px; gap:12px 20px; }
.footer-links a,.footer-copy { font-size:11px; }
.bottom-nav { background:#fff; border-color:#e1eae5; box-shadow:0 -5px 20px #173d3908; }
.bottom-nav .nav-item { color:#64748b; }
.search-overlay[hidden],.share-overlay[hidden] { display:none; }
.bottom-nav-inner { height:70px; }
.bottom-nav .cart-btn-wrap { top:-7px; flex:0 0 68px; gap:3px; }
.bottom-nav .cart-btn { background:linear-gradient(145deg,#ffe16b,#f2b807); color:#104843; border:3.6px solid #fff; border-radius:19.8px; box-shadow:0 5px 14px #a3750038; flex-shrink:0; }
.bottom-nav .cart-btn svg { width:24.3px; height:26.1px; }
.bottom-nav .cart-badge-btm { min-width:21px; width:auto; padding:0 4px; height:21px; top:-5px; right:-5px; color:#fff; background:#006b65; }
.bottom-nav .product-cart-label { color:#245650; font-size:10px; line-height:12px; font-weight:700; }
.toast { top:calc(var(--product-header-height) + 12px); bottom:auto; border-radius:12px; font-size:12px; padding:10px 14px; }
.product-image-viewer[hidden] { display:none; }
.product-image-viewer { position:fixed; inset:0; z-index:1100; padding:64px 16px 24px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:12px; background:#0b231ff2; overscroll-behavior:contain; }
.product-image-slides { display:flex; flex:1; min-height:0; width:100%; max-width:1100px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; -webkit-overflow-scrolling:touch; border-radius:12px; }
.product-image-slides::-webkit-scrollbar { display:none; }
.product-image-slides:focus-visible { outline:2px solid #d6e9df; outline-offset:4px; }
.product-image-slide { flex:0 0 100%; min-width:0; height:100%; display:flex; align-items:center; justify-content:center; scroll-snap-align:center; }
.product-image-slide img { max-width:100%; width:auto; max-height:100%; height:auto; object-fit:contain; border-radius:12px; background:#fff; }
.product-image-controls[hidden] { display:none; }
.product-image-controls { display:flex; flex-shrink:0; align-items:center; justify-content:center; gap:18px; color:#fff; }
.product-image-controls button { width:44px; height:44px; border:1px solid #ffffff40; border-radius:14px; color:#fff; background:#ffffff14; cursor:pointer; }
.product-image-controls button:hover { background:#ffffff26; }
.product-image-controls button:disabled { opacity:.35; cursor:default; }
#product-image-counter { min-width:60px; text-align:center; font-size:13px; font-weight:700; font-variant-numeric:tabular-nums; }
.product-image-viewer > p { font-size:11px; color:#e1eee6; }
#close-product-image { position:absolute; top:max(12px,env(safe-area-inset-top)); right:16px; width:44px; height:44px; border-radius:14px; border:1px solid #ffffff4d; background:#ffffff14; color:#fff; font-size:20px; cursor:pointer; }
.product-image-open { overflow:hidden; }
@media(min-width:768px) {
    .desktop-header { display:flex !important; }
    .mobile-appbar { display:none !important; }
    .product-grid { display:grid; }
}
@media(min-width:768px) and (max-width:1023px) {
    .desktop-nav { gap:14px; }
    .desktop-nav a { font-size:12px; }
    .desktop-auth-pill { max-width:120px; padding:8px; font-size:11px; }
    .product-grid { gap:16px; }
    .product-info { padding:16px; }
    .product-images { position:static; }
}
@media(max-width:1023px) {
    .bottom-nav { display:block !important; }
    body { padding-bottom:calc(var(--product-nav-height) + 12px); }
    .btn-cart,.btn-buy { min-height:46px; }
    .desktop-footer { display:none; }
    .search-panel { max-height:94vh; max-height:94dvh; }
}
@media(max-width:767px) {
    .desktop-header { display:none !important; }
    .mobile-appbar { display:block !important; padding:env(safe-area-inset-top) 12px 0; background:#fff; border-bottom:1px solid #e8edf1; box-shadow:0 2px 10px #173d3905; }
    .mobile-appbar-inner { min-height:56px; gap:10px; }
    .mobile-appbar-left { min-width:0; flex:1; gap:9px; }
    .mobile-appbar-right { gap:4px; flex-shrink:0; }
    .mobile-round-btn { width:40px; height:40px; flex-shrink:0; border-radius:12px; color:#284640; background:#f3f6f8; }
    .mobile-round-btn:active { background:#e4efec; }
    .mobile-title-wrap { min-width:0; gap:2px; }
    .mobile-title-wrap .sub { color:#008080; font-size:9px; letter-spacing:.055em; }
    .mobile-title-wrap .title { max-width:none; font-size:13px; line-height:1.35; }
    .product-page-container { margin:10px auto 16px; padding:0 12px; }
    .product-grid { display:flex; gap:10px; }
    .main-image-wrap { height:clamp(228px,74vw,330px); max-height:none; border-radius:18px; }
    .main-image-wrap img { padding:8px; }
    .product-info { gap:12px; padding:16px; border-radius:18px; width:100%; }
    .product-title { font-size:22px; line-height:1.25; }
    .product-subtitle { font-size:11px; }
    .price-card { padding:0 0 12px; }
    .price-main { font-size:28px; }
    .qty-container { padding:2px 0; }
    .trust-grid { gap:4px 14px; }
    .related-section { margin:24px 12px; padding:0; }
    .related-title { font-size:19px; }
    .related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
    .related-card-body { padding:10px; }
    .related-card-name { font-size:12px; }
    .android-app-promo { width:calc(100% - 24px); }
    .tab-btn { font-size:11px; }
}
@media(max-width:350px) {
    .product-info { padding:12px; }
    .qty-controls .qty-btn { width:34px; }
    .qty-num { width:46px; }
    .product-title { font-size:20px; }
    .btn-cart,.btn-buy { font-size:12px; }
}
@media(max-height:560px) {
    .product-images { position:static; }
    .main-image-wrap { height:220px; }
    .product-image-viewer { padding-top:54px; }
}
@media(prefers-reduced-motion:reduce) {
    .btn-cart,.btn-buy,.thumb,.related-card,.related-card img,.toast,.bottom-nav .cart-btn { transition:none; }
}

/* Clear buying details while retaining the familiar white product layout. */
.product-code { margin:0; color:#60736e; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.product-subtitle { font-size:14px; line-height:1.65; }
.brand-pill,.b2b-verified-badge { font-size:11px; line-height:1.45; padding:4px 8px; }
.price-tax-note { font-size:12px; line-height:1.6; }
.price-off { font-size:11px; }
#product-price-comparison { display:inline-flex; flex-wrap:wrap; align-items:center; gap:8px; }
.product-purchase { gap:12px; min-width:0; }
.qty-container { align-items:center; flex-wrap:wrap; gap:12px; }
.qty-title { font-size:14px; line-height:1.5; }
.qty-subtitle { font-size:12px; line-height:1.55; color:#13734f; }
.qty-entry-hint { font-size:11px; line-height:1.5; color:#60736e; }
.qty-controls { max-width:100%; }
.qty-controls .qty-btn { width:44px; height:46px; flex:0 0 44px; }
.qty-num { width:58px; min-width:0; height:46px; font-variant-numeric:tabular-nums; }
.qty-num[aria-invalid="true"] { color:#a72b3c; box-shadow:inset 0 -2px #bb4455; }
.qty-btn:disabled { color:#87958f; background:#f0f3f2; cursor:default; }
.qty-num:disabled { color:#73827c; background:#f2f5f3; }
.product-qty-error { margin:0; color:#a72b3c; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.product-qty-error[hidden] { display:none; }
.product-line-total { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 12px; padding:12px 14px; border:1px solid #e0ece7; border-radius:12px; background:#f7fbf9; min-width:0; }
.product-line-total > div { display:flex; flex:1 1 100%; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:4px 12px; min-width:0; }
.product-line-total strong { color:#164b40; font-size:20px; line-height:1.35; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.product-line-total span { color:#577067; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
#product-total-formula { flex-basis:100%; }
.product-cart-context { margin:0; color:#577067; font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
.product-cart-context a { color:#00766c; font-weight:700; text-underline-offset:3px; }
.btn-cart,.btn-buy { min-height:48px; font-size:14px; }
.btn-cart:disabled,.btn-buy:disabled { opacity:1; color:#718079; background:#eaf0ed; border-color:#dce5e0; box-shadow:none; cursor:default; }
.btn-cart[aria-busy="true"],.btn-buy[aria-busy="true"] { cursor:wait; }
.trust-item { min-height:44px; font-size:13px; line-height:1.5; }
.tab-btn { min-height:46px; font-size:13px; padding:12px 10px; }
.tab-body { padding:16px; font-size:14px; line-height:1.75; }
.product-facts { min-width:0; margin:0 0 14px; }
.product-facts h2 { margin:0 0 10px; color:#21483f; font-size:15px; font-weight:600; line-height:1.45; }
.product-facts dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0; padding:14px 0; border-top:1px solid #edf0f3; border-bottom:1px solid #edf0f3; }
.product-facts dl > div { min-width:0; }
.product-facts dt { margin:0 0 4px; color:#60736e; font-size:12px; line-height:1.5; }
.product-facts dd { margin:0; color:#244b41; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.product-delivery { min-width:0; padding:16px; border:1px solid #e0e9e5; border-radius:14px; background:#fff; }
.product-delivery h2,.product-delivery h3 { margin:0 0 8px; color:#21483f; font-size:15px; line-height:1.45; }
.product-delivery p { margin:8px 0 0; color:#577067; font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
.product-delivery label { display:block; margin-bottom:8px; color:#49665b; font-size:13px; line-height:1.5; }
.product-delivery form { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:8px; min-width:0; }
.product-delivery form > label,.product-delivery form > div { grid-column:1 / -1; }
.product-delivery form > label { margin-bottom:0; }
.product-delivery form > div { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:stretch; gap:8px; min-width:0; }
.product-delivery input { min-width:0; width:100%; height:46px; padding:10px 12px; border:1px solid #cbdad3; border-radius:10px; background:#fff; color:#244b41; font-size:16px; line-height:1.4; }
.product-delivery input:focus-visible { outline:2px solid #008080; outline-offset:2px; }
.product-delivery input[aria-invalid="true"] { border-color:#bb4455; }
.product-delivery button { min-height:46px; padding:10px 14px; border:1px solid #00766c; border-radius:10px; color:#fff; background:#00766c; font-size:13px; font-weight:700; line-height:1.4; cursor:pointer; }
.product-delivery button:disabled { color:#718079; border-color:#dce5e0; background:#eaf0ed; cursor:wait; }
#product-delivery-result { margin:10px 0 0; color:#49665b; font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
#product-delivery-result:empty { display:none; }
#product-delivery-result.is-error { color:#a72b3c; }
.related-card-name { display:block; overflow:visible; font-size:14px; line-height:1.5; -webkit-line-clamp:unset; }
.related-card-body { gap:8px; }
.related-subtitle { display:-webkit-box; margin:0; color:#60736e; font-size:13px; line-height:1.55; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden; overflow-wrap:anywhere; }
.related-stock { display:block; color:#13734f; font-size:12px; line-height:1.5; }
.related-stock.is-unavailable { color:#a34452; }

@media(min-width:768px) and (max-width:899px) {
    .product-grid { grid-template-columns:minmax(0,1fr); gap:20px; max-width:700px; margin:0 auto; }
    .product-info { padding:22px; }
}
@media(max-width:767px) {
    .product-info { gap:14px; }
    .product-info .product-subtitle { font-size:14px; }
    .qty-controls { margin-left:auto; }
    .product-facts dl { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .product-delivery { padding:14px; }
    .tab-body { padding:14px; }
    .related-card-name { font-size:13px; }
    .related-card-body { padding:12px 10px; }
}
@media(max-width:350px) {
    .product-info { padding:14px; }
    .qty-controls .qty-btn { width:44px; }
    .qty-num { width:52px; }
    .action-buttons-grid { gap:8px; }
    .btn-cart,.btn-buy { padding:10px 8px; font-size:13px; }
    .product-delivery { padding:12px; }
    .product-delivery button { padding:10px 12px; }
}
@media(prefers-reduced-motion:reduce) {
    .product-delivery button,.qty-btn { transition:none; }
}

/* Compact product notes: one soft surface, small factual chips and clear policy links. */
.details-container .tab-body { padding:12px; }
.details-container .tab-btn.active { background:#eaf6f1; color:#006c65; }
.product-facts { margin:0 0 8px; }
.product-facts h2 { margin:0 0 7px; font-size:13px; font-weight:600; }
.product-facts dl { display:flex; flex-wrap:wrap; gap:6px; padding:0; border:0; }
.product-facts dl > div { display:flex; align-items:baseline; gap:5px; min-width:0; max-width:100%; padding:6px 8px; border:1px solid #dcebe4; border-radius:8px; background:#eef8f3; }
.product-facts dl > div:nth-child(3n+2) { background:#fff8e8; border-color:#efe4c7; }
.product-facts dl > div:nth-child(3n) { background:#eff5ff; border-color:#dfe7f3; }
.product-facts dt { flex-shrink:0; margin:0; font-size:11px; font-weight:500; line-height:1.5; letter-spacing:0; }
.product-facts dd { min-width:0; margin:0; font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif; font-size:12px; font-weight:600; line-height:1.5; overflow-wrap:anywhere; }
.product-description-card { margin-top:8px; padding:11px 12px; border:1px solid #e8e7e1; border-radius:10px; background:#faf9f5; }
.product-description-heading { margin:0 0 5px; }
.product-description-heading h2 { margin:0; color:#344b42; font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif; font-size:13px; font-weight:700; line-height:1.5; }
#product-details-description { margin:0; color:#344e46; font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif; font-size:13px; font-weight:400; line-height:1.65; overflow-wrap:anywhere; }
.product-policy-list { display:grid; gap:7px; }
.product-policy-row { display:flex; align-items:center; gap:9px; min-height:54px; padding:8px 10px; border:1px solid #e2eae5; border-radius:10px; background:#f7faf8; text-decoration:none; }
.product-policy-row:nth-child(2) { background:#fffaf0; border-color:#eee7d7; }
.product-policy-icon { display:grid; place-items:center; flex:0 0 28px; height:28px; border-radius:8px; background:#e7f2ec; color:#32745e; }
.product-policy-row:nth-child(2) .product-policy-icon { background:#f6ecd3; color:#866a2e; }
.product-policy-icon svg { width:19px; height:19px; }
.product-policy-copy { flex:1; min-width:0; }
.product-policy-copy strong { display:block; color:#294b40; font-size:13px; font-weight:600; line-height:1.5; }
.product-policy-copy > span { display:block; color:#576c63; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.product-policy-arrow { flex-shrink:0; color:#7b8c83; font-size:21px; line-height:1; }

/* Keep the PIN checker in one compact card, including a fresh date result. */
.product-delivery { padding:10px 12px; border-radius:12px; }
.product-delivery h2 { margin:0 0 7px; font-size:14px; line-height:1.45; }
.product-delivery form { display:block; }
.product-delivery form > label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.product-delivery form > div { gap:6px; }
.product-delivery input { height:44px; padding:8px 10px; }
.product-delivery button { min-height:44px; padding:8px 10px; font-size:12px; }
#product-delivery-result { margin:8px 0 0; padding-top:7px; border-top:1px solid #e6ede9; font-size:12px; line-height:1.5; }
#product-delivery-result > div { padding:0!important; border:0!important; border-radius:0!important; background:transparent!important; line-height:1.5!important; }
@media(max-width:350px) { .product-delivery { padding:10px; } }
