        main { padding-bottom: 2rem; }
        .pdp-crumb { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; color: var(--store-muted); font-size: .88rem; padding: 1rem 0 .35rem; }
        .pdp-crumb a { color: var(--store-muted); text-decoration: none; }
        .pdp-crumb a:hover { color: var(--store-accent); }
        .pdp { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 1.75rem; align-items: start; }
        .pdp-gallery { position: sticky; top: 96px; display: grid; grid-template-columns: 72px 1fr; gap: .75rem; }
        .pdp-thumbs { display: flex; flex-direction: column; gap: .55rem; }
        .pdp-thumb { width: 72px; height: 72px; border-radius: 14px; border: 2px solid #eee6f7; background: #fff; overflow: hidden; cursor: pointer; padding: 4px; }
        .pdp-thumb.active { border-color: var(--store-accent); }
        .pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
        /* Square, unlike the grid cards.
           The grid needs uniform cells, so it commits to the catalogue's dominant
           portrait shape. The hero shows one product at a time and is already large,
           so it stays square: that is the shape that treats a tall packshot and a
           wide one equally badly rather than one of them very badly. */
        .pdp-main { position: relative; background: linear-gradient(180deg,#fff,#faf6ef); border: 1px solid #eee6f7; border-radius: 24px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
        /* Slide track. With a single slide this lays out exactly like the old bare
           <img>, so desktop is unaffected; with more it becomes a snap carousel. */
        /* Absolutely positioned so the track can never drive .pdp-main's size: the
           slides' percentage heights must resolve against the box, not the other way
           round, or the image's natural size feeds back through aspect-ratio:1/1. */
        .pdp-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
        .pdp-track::-webkit-scrollbar { display: none; }
        .pdp-slide { flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: center; display: flex; align-items: center; justify-content: center; }
        .pdp-ribbon, .pdp-veg, .pdp-wish { z-index: 2; }
        .pdp-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
        .pdp-main:hover img { transform: scale(1.08); }
        .pdp-dots { display: none; grid-column: 1 / -1; justify-content: center; gap: 0; padding-top: .5rem; }
        .pdp-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
        .pdp-dots button::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 8px; height: 8px; border-radius: 999px; background: #d9d0bf; transition: width .2s ease; }
        .pdp-dots button.active::before { width: 22px; background: var(--store-accent); }
        .pdp-ribbon { position: absolute; top: 16px; left: 16px; background: #c86b3c; color: #fff; font-weight: 800; font-size: .82rem; padding: .3rem .7rem; border-radius: 999px; box-shadow: 0 8px 18px rgba(255,44,125,.3); }
        .pdp-veg { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border: 2px solid #15803d; border-radius: 4px; display: flex; align-items: center; justify-content: center; background: #fff; }
        .pdp-veg span { width: 10px; height: 10px; border-radius: 50%; background: #15803d; }
        .pdp-wish { position: absolute; bottom: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.12); cursor: pointer; color: #94879f; font-size: 1.25rem; }
        .pdp-wish.on { color: #e11d48; }
        .pdp-wish .wish-fill { color: #e11d48; font-size: 1.35rem; line-height: 1; }
        .pdp-info { background: var(--store-surface); border: 1px solid #eee6f7; border-radius: 24px; padding: 1.5rem 1.6rem; }
        .pdp-rating { display: inline-flex; align-items: center; gap: .3rem; color: #f59e0b; font-weight: 700; }
        .pdp-rating .rc { color: var(--store-muted); font-weight: 600; }
        .price-card { background: linear-gradient(135deg,#f0fdf4,#f7fff9); border: 1px solid #d5f0df; border-radius: 18px; padding: 1rem 1.15rem; margin: 1rem 0; }
        .price-main { font-size: 2.3rem; line-height: 1; font-weight: 900; color: #0f766e; }
        .price-mrp { color: #667085; text-decoration: line-through; font-weight: 600; }
        .price-off { background: #f0dcc4; color: #a85a2c; font-weight: 800; font-size: .8rem; padding: .2rem .6rem; border-radius: 999px; }
        .variant-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .7rem; margin: .4rem 0 1.2rem; }
        .variant-pick a { position: relative; display: block; border: 2px solid #e2d9c6; background: var(--store-surface); color: var(--store-text); border-radius: 16px; padding: .85rem .6rem; text-decoration: none; text-align: center; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
        .variant-pick a:hover { border-color: #86b06f; }
        .variant-pick a.active { border-color: #2f6b34; box-shadow: 0 8px 20px rgba(44,82,40,.12); }
        .variant-pick a.oos { opacity: .55; }
        .variant-pick .vp-name { font-weight: 800; font-size: .92rem; }
        .variant-pick .vp-price { color: var(--store-green); font-weight: 900; font-size: 1.05rem; margin-top: .2rem; }
        .variant-pick .vp-mrp { color: var(--store-muted); text-decoration: line-through; font-size: .76rem; font-weight: 600; margin-left: .3rem; }
        .variant-pick .vp-save { position: absolute; top: 0; right: 0; background: #f0dcc4; color: #a85a2c; font-size: .62rem; font-weight: 800; padding: .14rem .45rem; border-bottom-left-radius: 10px; }
        body.rm-dark .variant-pick a { background: #221d14; border-color: #3a3324; }
        .hl-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: .6rem; margin: 1.2rem 0; }
        .hl-item { text-align: center; background: transparent; border: 0; padding: .2rem; }
        .hl-item i { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; border: 2px solid #c86b3c; color: #c86b3c; font-size: 1.55rem; }
        .hl-item div { font-size: .72rem; color: #8a6a4a; font-weight: 800; margin-top: .4rem; line-height: 1.2; }
        body.rm-dark .hl-item div { color: #cba07a; }
        .deliv-box { border: 1px solid #ece5d8; border-radius: 16px; padding: .9rem 1rem; margin: 1rem 0; }
        .deliv-box .dh { display: flex; align-items: center; gap: .5rem; font-weight: 800; margin-bottom: .55rem; }
        .deliv-inline { display: flex; gap: .5rem; }
        .deliv-inline input { border: 1px solid #d9d0bf; border-radius: 12px; padding: .5rem .8rem; flex: 1; }
        .deliv-result { font-size: .85rem; margin-top: .5rem; }
        .qtybox { display: inline-grid; grid-template-columns: 44px 60px 44px; align-items: center; border: 2px solid #d9d0bf; border-radius: 14px; overflow: hidden; }
        .qtybox button { border: 0; background: #fff; color: var(--store-accent); font-weight: 900; font-size: 1.15rem; height: 44px; cursor: pointer; }
        .qtybox button:hover { background: #faf5ff; }
        .qtybox input { border: 0; text-align: center; font-weight: 800; height: 44px; width: 100%; -moz-appearance: textfield; }
        .qtybox input::-webkit-outer-spin-button, .qtybox input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
        .pdp-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
        .pdp-cta .btn { border-radius: 14px; font-weight: 800; padding: .8rem 1.6rem; text-transform: uppercase; letter-spacing: .03em; flex: 1 1 auto; }
        .btn-add { background: var(--store-accent); border-color: var(--store-accent); color: #fff; }
        .btn-add:hover { filter: brightness(1.05); color: #fff; }
        .btn-buy { background: #c86b3c; border-color: #c86b3c; color: #fff; }
        .btn-buy:hover { filter: brightness(1.05); color: #fff; }
        /* Out of stock / not purchasable */
        .pdp-oos { margin-top: 1rem; border: 1px solid #f2ddcd; background: #fff7f2; border-radius: 16px; padding: .9rem 1rem; }
        .pdp-oos-head { display: flex; align-items: center; gap: .45rem; font-weight: 800; color: #97441c; margin-bottom: .3rem; }
        .pdp-oos p { margin: 0 0 .7rem; color: var(--store-muted); font-size: var(--fs-body); line-height: 1.5; }
        .pdp-notify { display: flex; gap: .5rem; flex-wrap: wrap; }
        .pdp-notify input { flex: 1 1 150px; min-width: 0; min-height: 44px; border: 1px solid #d9d0bf; border-radius: 12px; padding: 0 .85rem; font: inherit; background: #fff; }
        .pdp-notify input:focus { outline: none; border-color: var(--store-accent); box-shadow: 0 0 0 3px rgba(47,107,52,.1); }
        .pdp-notify .btn { min-height: 44px; flex: 0 0 auto; background: var(--store-accent); border-color: var(--store-accent); color: #fff; font-weight: 800; border-radius: 12px; padding: 0 1.15rem; }
        .pdp-notify .btn:disabled { opacity: .6; cursor: not-allowed; }
        .pdp-notify-msg { margin-top: .5rem; font-size: var(--fs-body); font-weight: 700; }
        .pdp-notify-msg.ok { color: #15803d; }
        .pdp-notify-msg.err { color: #b42318; }
        .pdp-rate0 { display: inline-flex; align-items: center; gap: .4rem; color: var(--store-muted); font-size: .9rem; font-weight: 600; }
        .pdp-rate0 .stars { color: #d9d0bf; letter-spacing: 1px; font-size: .95rem; }
        .pdp-acc { margin-top: 1.9rem; display: grid; gap: .85rem; }
        .acc-item { background: var(--store-surface); border: 1px solid #eee6d8; border-radius: 18px; overflow: hidden; transition: box-shadow .18s ease; }
        .acc-item.open { box-shadow: 0 10px 26px rgba(47,42,36,.06); }
        .acc-head { width: 100%; display: flex; align-items: center; gap: .8rem; padding: 1.05rem 1.25rem; background: none; border: 0; cursor: pointer; font-weight: 800; font-size: 1.02rem; color: var(--store-text); text-align: left; }
        .acc-ic { width: 40px; height: 40px; border-radius: 50%; background: #eef3e6; color: var(--store-accent); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; flex: 0 0 auto; }
        .acc-chev { margin-left: auto; transition: transform .25s ease; color: var(--store-muted); font-weight: 900; font-size: 1.15rem; }
        .acc-item.open .acc-chev { transform: rotate(180deg); }
        .acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
        .acc-item.open .acc-body { max-height: 640px; }
        .acc-inner { padding: 0 1.25rem 1.15rem 3.05rem; color: var(--store-muted); line-height: 1.6; }
        .acc-inner ul { margin: 0; padding-left: 1.1rem; }
        .acc-inner li { margin-bottom: .4rem; }
        body.rm-dark .acc-item { background: #221d14; border-color: #3a3324; }
        body.rm-dark .acc-ic { background: #2a2418; }
        /* Ratings & reviews */
        .rv-section { margin-top: 2rem; }
        .rv-summary { display: inline-flex; align-items: center; gap: .45rem; font-size: .95rem; }
        .rv-form { background: var(--store-surface); border: 1px solid #eee6f7; border-radius: 18px; padding: 1.1rem; margin-bottom: 1rem; }
        .rv-form-title { margin: 0 0 .6rem; font-size: 1rem; font-weight: 800; }
        .rv-stars-pick { display: flex; align-items: center; gap: .2rem; margin-bottom: .7rem; }
        .rv-star { cursor: pointer; line-height: 1; }
        .rv-star input { position: absolute; opacity: 0; width: 0; height: 0; }
        .rv-star .star { display: inline-block; font-size: 1.9rem; line-height: 1; color: #ddd6c8; transition: color .12s ease, transform .12s ease; }
        .rv-star.on .star, .rv-star.hot .star { color: #e0a419; }
        .rv-star:hover .star { transform: scale(1.12); }
        .rv-star-hint { margin-left: .5rem; font-size: .82rem; color: var(--store-muted); font-weight: 700; }
        .rv-text { border-radius: 12px; }
        .rv-login { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--store-surface); border: 1px dashed #d9d0bf; border-radius: 18px; padding: 1rem 1.1rem; margin-bottom: 1rem; color: var(--store-muted); }
        .rv-list { display: flex; flex-direction: column; gap: .8rem; }
        .rv-item { display: flex; gap: .8rem; background: var(--store-surface); border: 1px solid #eee6f7; border-radius: 16px; padding: .9rem 1rem; }
        .rv-avatar { width: 38px; height: 38px; border-radius: 50%; background: #eef3e6; color: #2f6b34; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto; }
        .rv-body { min-width: 0; }
        .rv-head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
        .rv-text-out { margin: .35rem 0 0; color: var(--store-text); line-height: 1.5; }
        .rv-empty { padding: .5rem 0 1rem; }
        body.rm-dark .rv-form, body.rm-dark .rv-item, body.rm-dark .rv-login { background: #221d14 !important; border-color: #3a3324 !important; }
        .rel-head { display: flex; align-items: center; justify-content: space-between; margin: 1.75rem 0 1rem; }
        .pdp-main { cursor: zoom-in; }
        .pdp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky-cta); background: var(--store-surface); border-top: 1px solid #eee6f7; padding: .6rem 1rem; display: none; align-items: center; justify-content: space-between; gap: 1rem; box-shadow: 0 -8px 24px rgba(0,0,0,.08); }
        .pdp-sticky .btn-add { border-radius: 12px; font-weight: 800; white-space: nowrap; }
        .pdp-lightbox { position: fixed; inset: 0; background: rgba(10,6,20,.92); z-index: var(--z-modal); display: none; align-items: center; justify-content: center; padding: 1rem; }
        .pdp-lightbox.open { display: flex; }
        .pdp-lightbox img { max-width: 96%; max-height: 92%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); transform-origin: center center; touch-action: none; will-change: transform; }
        .pdp-lightbox .lb-x { position: absolute; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.4rem; cursor: pointer; }
        /* The sticky bar is now the only fixed thing at the bottom on mobile (the tab
           bar is hidden via body.rm-pdp), so it owns the safe-area inset and the shell
           only has to clear its own height instead of nav + bar. */
        @media (max-width: 820px) {
            .pdp-sticky { display: flex; padding-bottom: calc(.6rem + env(safe-area-inset-bottom, 0px)); }
            .store-shell { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
        }
        @media (max-width: 991px) {
            .pdp { grid-template-columns: 1fr; }
            .pdp-gallery { position: static; }
        }
        @media (max-width: 575px) {
            .pdp-gallery { grid-template-columns: 56px 1fr; }
            .pdp-thumb { width: 56px; height: 56px; }
            .pdp-info { padding: 1.15rem; }
        }
        /* ---------- Mobile: type floor, touch targets, contrast ----------
           This block is injected after every linked stylesheet, so it wins the
           cascade for the product page's own components. */
        @media (max-width: 820px) {
            .price-off { font-size: var(--fs-lg); color: #8f4413; }   /* 3.78 -> 5.16 on #f0dcc4 */
            .variant-pick .vp-mrp { font-size: var(--fs-md); }
            .variant-pick .vp-save { font-size: var(--fs-2xs); color: #8f4413; }
            .hl-item div { font-size: var(--fs-sm); }
            .pdp-ribbon { background: #9c4f28; }                     /* 3.73 -> 5.42 */
            .btn-buy { background: #9c4f28; border-color: #9c4f28; }
            .pdp-rate0 .stars { color: #9a9184; }                    /* 1.53 -> 3.11 */

            /* Touch targets */
            .pdp-crumb a { display: inline-flex; align-items: center; min-height: 44px; }
            .deliv-inline input { min-height: 44px; }
            .deliv-inline .btn { min-height: 44px; }
            .btn-add, .btn-buy { min-height: 44px; }
            .pdp-sticky .btn-add { min-height: 44px; }
            .pdp-thumb { min-width: 44px; min-height: 44px; }
        }

        /* ================= Mobile layout rework ================= */
        @media (max-width: 820px) {
            /* Grid items default to min-width:auto, so the nowrap badge pills and the
               slide track were reporting a huge min-content and inflating the whole
               .pdp column to 784px inside a 347px frame (invisible because body clips
               overflow). minmax(0,1fr) + min-width:0 pins the tracks to the viewport. */
            .pdp { grid-template-columns: minmax(0, 1fr); }
            .pdp-gallery, .pdp-info, .pdp-main, .pdp-track, .hl-row { min-width: 0; max-width: 100%; }

            /* 1. Gallery: main image full width, thumbs/dots underneath.
               The 56px thumb column was eating 16% of the viewport width. */
            .pdp-gallery { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
            .pdp-main  { order: 1; border-radius: 18px; }
            .pdp-dots  { order: 2; display: flex; }
            .pdp-thumbs {
                order: 3; flex-direction: row; gap: .45rem;
                overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
                scroll-snap-type: x proximity;
            }
            .pdp-thumbs::-webkit-scrollbar { display: none; }
            .pdp-thumb { flex: 0 0 auto; width: 56px; height: 56px; scroll-snap-align: start; }
            /* Single image: nothing to pick from, so the strip is noise. */
            .pdp-gallery:not(:has(.pdp-thumb + .pdp-thumb)) .pdp-thumbs { display: none; }
            .pdp-main:hover img { transform: none; }   /* no hover zoom on touch */

            /* 2. Trust badges: one scrollable row of pills instead of two grid rows. */
            .hl-row {
                display: flex; flex-wrap: nowrap; gap: .45rem; margin: .8rem 0;
                overflow-x: auto; scroll-snap-type: x proximity;
                scrollbar-width: none; -ms-overflow-style: none;
            }
            .hl-row::-webkit-scrollbar { display: none; }
            .hl-item {
                flex: 0 0 auto; scroll-snap-align: start;
                display: inline-flex; align-items: center; gap: .4rem;
                max-height: 56px; padding: .4rem .7rem;
                background: #fff7f2; border: 1px solid #f2ddcd; border-radius: 999px;
            }
            .hl-item i { width: 26px; height: 26px; font-size: 1rem; border-width: 1.5px; flex: 0 0 auto; }
            .hl-item div { margin-top: 0; white-space: nowrap; font-size: var(--fs-sm); }

            /* 3. Pincode "Check" reads as a button. The Tabler stub has no
               .btn-outline-primary, so it was falling back to a bare white .btn. */
            .deliv-box { padding: .75rem .85rem; margin: .8rem 0; }
            .deliv-inline .btn {
                background: var(--store-accent); border-color: var(--store-accent);
                color: #fff; font-weight: 800; border-radius: 12px; padding: 0 1.15rem;
                flex: 0 0 auto;
            }
            .deliv-inline input { border-radius: 12px; }
            .deliv-result { font-size: var(--fs-lg); margin-top: .4rem; }

            /* 5. Accordions: 74px headers -> 56px (still above the 48px floor). */
            .pdp-acc { margin-top: 1.1rem; gap: .5rem; }
            .acc-head { padding: .7rem .9rem; gap: .6rem; font-size: var(--fs-body); min-height: 56px; }
            .acc-ic { width: 34px; height: 34px; font-size: 1.05rem; }
            .acc-inner { padding: 0 .9rem 1rem 2.35rem; }
            .acc-item { border-radius: 14px; }

            /* 6. Trim. */
            .pdp-crumb { padding: .15rem 0 0; font-size: var(--fs-lg); gap: .3rem; }
            .pdp { gap: .85rem; }
            .pdp-info { padding: .9rem; border-radius: 18px; }
            .price-card { padding: .75rem .85rem; margin: .7rem 0; }
            .price-main { font-size: 1.75rem; }
            .pdp-cta { gap: .5rem; margin-top: .8rem; }
            /* Both CTAs share one row instead of wrapping to two. */
            .pdp-cta .btn { flex: 1 1 0; min-width: 0; padding: .7rem .5rem; font-size: var(--fs-lg); letter-spacing: 0; }
            .rv-section { margin-top: 1.1rem; }
            .rel-head { margin: 1.1rem 0 .7rem; }
            main { padding-bottom: .5rem; }
        }
