.op-header-band {
            position: relative;
        }

        .op-header-band > *:not(img) {
            position: relative;
            z-index: 1;
        }

        /* Full-page backdrop — spans the header band AND the products section
           below it, instead of being confined to the band's own
           (title-driven) height. */
        .op-page-bg {
            position: relative;
            isolation: isolate;
        }

        /* Scrolls away with the page (absolute, not fixed). Sized `100% auto`
           rather than `cover` so a long listing doesn't zoom the artwork to
           absurd scale; the yellow underneath continues the image's own bottom
           edge, so a page taller than the artwork shows no seam. Extending it
           230px above the section shifts the artwork up. */
        .op-page-bg::before {
            content: '';
            position: absolute;
            top: -230px;
            left: 0;
            right: 0;
            bottom: 0;
            background:
                url("../assets/our-products/products-page-bg.webp") center top / 100% auto no-repeat,
                url("../assets/our-products/bg-bottom-strip.png") center top / 100% 6px repeat-y;
            background-color: #E7E520;
            z-index: 0;
            pointer-events: none;
        }

        /* Backpack + globe artwork in the bottom-left corner. Sits behind the
           listing panels so it reads as part of the scenery. */
        /* Sits in the sidebar column, directly beneath the category panel,
           rather than being pinned to the bottom of the (now page-tall)
           listing section where it drifted far away from the categories. */
        .op-left-art {
            display: block;
            width: 175px;
            max-width: 100%;
            height: auto;
            margin: -10px 0 0 4px;
            pointer-events: none;
            user-select: none;
        }
        @media (max-width: 991px) {
            .op-left-art { display: none; }
        }

        /* Books artwork parked over the header band. Hidden on narrow screens,
           where it would land on top of the search + sort controls. */
        .op-books-art {
            position: absolute;
            /* Sits just above the listing panel, clipping its top edge only —
               any lower and it covers the "Showing N of N results" line. */
            top: 12px;
            right: 60px;
            width: 205px;
            height: auto;
            z-index: 999;
            pointer-events: none;
            user-select: none;
        }
        @media (max-width: 991px) {
            .op-books-art { display: none; }
        }

        .op-page-bg > *:not(img) {
            position: relative;
            z-index: 1;
        }

        .op-page-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 800;
            /* Deliberately a step down from the hero scale — this is a listing
               page header, not a hero. */
            font-size: clamp(19px, 2.7vw, 26px);
            line-height: 1.2;
            letter-spacing: -0.015em;
            color: var(--dark-blue, #102A6A);
            margin-bottom: 5px;
        }

        .op-page-title .op-word {
            display: inline-block;
        }

        .op-l-blue   { color: var(--royal-blue, #2962FF); }
        .op-l-red    { color: var(--brush-red-2, #F44336); }
        .op-l-orange { color: var(--orange, #FF6B35); }
        .op-l-green  { color: #34A853; }
        .op-l-navy   { color: var(--dark-blue, #102A6A); }


        /* The sparkle rides above the "t", so that letter is its positioning
           context rather than the whole word. */
        .op-l-spark {
            position: relative;
        }

        .op-sparkle {
            position: absolute;
            top: -0.12em;
            left: 0.30em;
            width: 0.54em;
            height: 0.54em;
            color: var(--yellow, #FFC640);
            pointer-events: none;
        }

        .op-sparkle svg {
            width: 100%;
            height: 100%;
            display: block;
        }

        .op-page-subtitle {
            font-family: 'Poppins', sans-serif;
            font-size: 12px;
            line-height: 1.55;
            color: #6b7280;
        }

        @media (min-width: 768px) {
            .op-page-subtitle {
                font-size: 13px;
            }
        }

        /* ── Full-height products section (page scrolls, panels don't) ── */
        .op-products-section {
            /* Grows with its content: the sidebar and the listing are shown in
               full and the page's own scrollbar handles the overflow, instead
               of each panel scrolling inside a viewport-tall box. */
            height: auto;
            display: flex;
            flex-direction: column;
            overflow: visible;
            padding: 8px 12px 36px;
            margin: 0 20px;
            box-sizing: border-box;
            background: transparent;
            border-radius: 16px 16px 0 0;
        }

        /* Min-height only: short categories (or a short listing) still fill the
           first screen so the fixed backdrop never runs out, but a long listing
           is free to push the page taller and scroll normally. */
        @media (min-width: 992px) {
            .op-page-bg {
                display: flex;
                flex-direction: column;
                min-height: calc(100vh - 96px);
            }
            .op-products-section {
                height: auto;
                flex: 1 0 auto;
            }
        }

        /* Search + sort row stays fixed at the top */
        .op-search-row {
            flex-shrink: 0;
            margin-bottom: 5px;
        }

        /* The search field used to stretch across the whole row; capped so it
           reads as a control, not a banner. The sort button follows it directly
           instead of being pushed out to the right edge. */
        .op-search-row > div:first-child {
            max-width: 460px;
        }

        .op-search-row > div:last-child {
            width: auto;
        }

        /* Flex row containing sidebar + product grid. `flex-start` keeps the
           sidebar its natural height instead of stretching it to match a long
           listing. */
        .op-content-row {
            position: relative;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            overflow: visible;
        }
        /* Sidebar shows every category at full height — no inner scrollbar */
        .op-sidebar {
            width: 172px;
            flex-shrink: 0;
            overflow: visible;
            border-radius: 8px;
        }

        /* Category header smaller */
        .op-sidebar .cat-header {
            padding: 10px 14px;
            font-size: 14px !important;
        }
        .op-sidebar li a {
            padding: 6px 11px !important;
            font-size: 12px !important;
        }

        /* Product grid renders in full and scrolls with the page */
        .op-grid-wrap {
            flex: 1;
            min-width: 0;
            overflow: visible;
        }

        /* Cream container card that groups the "NURSERY" heading + grid,
           mirroring the sidebar's boxed treatment. */
        .op-grid-box {
            background: var(--cream, #FFF7ED);
            border: 1px solid rgba(193, 154, 60, 0.18);
            border-radius: 20px;
            padding: 18px 18px 22px;
        }

        .op-sidebar > div {
            box-shadow: 0 1px 3px rgba(16, 42, 106, 0.06);
        }

        /* Reduce product card sizes — targets real card markup */
        /* Fixed now that the listing isn't squeezed into the viewport: the
           cover keeps one size at every window height instead of shrinking to
           make two rows fit above the fold. */
        .op-grid-wrap .relative.h-\[170px\] {
            height: 200px !important;
        }
        .op-grid-wrap h4 {
            font-size: 15px !important;
            min-height: unset !important;
        }
        .op-grid-wrap p.font-bold {
            font-size: 13px !important;
            margin-top: 4px !important;
        }
        .op-grid-wrap span.rounded-\[6px\] {
            font-size: 10px !important;
            padding: 2px 6px !important;
        }
        .op-grid-wrap .p-3 {
            padding: 7px 9px 8px !important;
        }
        .op-grid-wrap .mt-2 {
            margin-top: 4px !important;
        }

        /* Section heading row (NURSERY + result count) */
        .op-section-heading {
            margin-bottom: 10px;
        }
        .op-section-heading h2 {
            font-size: 24px !important;
        }
        .op-section-heading span {
            font-size: 12px !important;
        }

        /* Tighten grid gaps */
        .op-product-grid {
            gap: 12px !important;
        }
        @media (min-width: 992px) {
            .op-product-grid { grid-template-columns: repeat(3, 1fr) !important; }
        }


        /* ──────────────────────────────────────────────
           Reference match: playful pink + cream listing
        ────────────────────────────────────────────── */
        .op-products-section {
            --op-pink: #F0356E;
            --op-pink-lt: #FF6B9D;
        }

        /* ── Sidebar: soft translucent panel floating on the sky ── */
        .op-sidebar {
            width: 182px;
        }
        .op-sidebar > div {
            background: rgba(255, 255, 255, 0.88);
            border: 1px solid rgba(255, 255, 255, 0.9);
            border-radius: 19px;
            box-shadow: 0 10px 26px -16px rgba(16, 42, 106, 0.45);
            overflow: visible;
            padding: 8px 7px 8px;
        }

                /* "Categories" header. Was a blue pill, but users found it confusing alongside the selected pill. */
        .op-cat-header {
            display: flex !important;
            align-items: center;
            justify-content: flex-start !important;
            gap: 7px;
            width: 100%;
            background: transparent !important;
            border-radius: 999px !important;
            padding: 6px 12px 12px !important;
            margin-bottom: 6px;
            box-shadow: none;
            border-bottom: 1px solid rgba(0,0,0,0.06);
            border-bottom-left-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }
        .op-cat-header h3 {
            color: #0F2745 !important;
            font-size: 18px !important;
            font-weight: 600 !important;
        }
        /* Only the chevron follows currentColor; the flower is hidden. */
        .op-cat-chevron { color: #888 !important; }
        .op-cat-flower { display: none; }

        .op-cat-list {
            gap: 2px;
        }
        .op-cat-link {
            display: flex;
            align-items: center;
            gap: 9px;
            padding: 6px 12px !important;
            border-radius: 999px;
            font-family: 'Poppins', sans-serif;
            font-size: 14px !important;
            font-weight: 600;
            color: #3A4256;
            transition: background-color .2s ease, color .2s ease;
        }
        .op-cat-link:hover {
            background: rgba(255, 255, 255, 0.95);
        }
        .op-cat-link.is-active {
            background: linear-gradient(135deg, #FF6B9D 0%, #F0356E 100%);
            color: #fff;
            box-shadow: 0 10px 18px -10px rgba(240, 53, 110, 0.85);
        }
        /* Hide all category icons */
        .op-cat-ico {
            display: none !important;
        }
        .op-cat-ico svg { display: none; }
        .op-cat-ico.is-chip { display: none !important; }
        .op-cat-link.is-active .op-cat-ico svg { fill: #fff; }

        /* ── Cream product panel ── */
        .op-grid-box {
            background: linear-gradient(180deg, #FEFAE8 0%, #FCF4D6 100%);
            border: 1px solid rgba(230, 190, 90, 0.28);
            border-radius: 24px;
            padding: 14px 16px 14px;
            box-shadow: 0 12px 32px -20px rgba(16, 42, 106, 0.35);
        }

        /* ── "NURSERY" heading: pink ── */
        .op-section-heading { margin-bottom: 6px; }
        .op-section-heading h2 {
            position: relative;
            display: inline-block;
            color: var(--op-pink, #F0356E) !important;
            font-size: 24px !important;
            letter-spacing: 0.01em;
        }
        .op-section-heading span { color: #6b7280 !important; }

        /* ── Product cards ── */
        .op-grid-box .op-card {
            border: 1px solid rgba(230, 190, 90, 0.22) !important;
            border-radius: 14px !important;
            box-shadow: 0 6px 16px -10px rgba(16, 42, 106, 0.3);
        }
        .op-grid-box .op-card:hover {
            box-shadow: 0 14px 28px -14px rgba(240, 53, 110, 0.35) !important;
        }
        /* Price + category tag pick up the pink accent */
        .op-grid-box p.font-bold { color: var(--op-pink, #F0356E) !important; }
        .op-grid-box .op-tag {
            background: linear-gradient(135deg, #FF6B9D 0%, #F0356E 100%) !important;
            border-radius: 999px !important;
        }
        /* Floating action bubbles — one accent per action, so each is
           distinguishable at a glance rather than three identical pink glyphs.
           Shadow is neutral so it doesn't fight the three hues. */
        .op-grid-box .op-act {
            box-shadow: 0 3px 8px rgba(16, 42, 106, 0.16) !important;
        }
        .op-grid-box .op-act[aria-label="wishlist"] { color: #F0356E !important; }
        .op-grid-box .op-act[aria-label="cart"]     { color: #2962FF !important; }
        .op-grid-box .op-act[aria-label="view"]     { color: #7C5CFC !important; }
        .op-grid-box .op-act[aria-label="view"]     { display: none !important; }
        /* ── Stacked layout ──
           Held at 991px so it meets the desktop split exactly. It used to stop
           at 768px, which left 768–991px stuck with the desktop viewport-height
           listing and a 3-up grid crammed beside the sidebar. */
        @media (max-width: 991px) {
            /* Heading ramp, scaled for a phone. Desktop runs 26 / 20 / 18px,
               which flattens at this width — the sidebar's 18px "Categories"
               label becomes a full-width bar as large as the page title. Same
               order, smaller step. */
            .op-page-title { font-size: 22px; }
            .op-page-subtitle { font-size: 11.5px; }
            .op-cat-header h3 { font-size: 17px !important; }

            /* The -230px lift is sized for desktop: at phone widths the 3:2
               artwork is only ~260px tall, so lifting it 230px left just its
               bottom edge on screen. Anchor it to the top of the page instead
               so the illustration itself is what shows. */
            .op-page-bg::before {
                top: -50px;
            }
            .op-products-section {
                height: auto;
                overflow: visible;
                padding: 10px 0 18px;
                margin: 0 12px;
            }
            .op-content-row {
                flex-direction: column;
                overflow: visible;
                gap: 10px;
            }
            .op-sidebar,
            .op-grid-wrap {
                overflow: visible;
                width: 100%;
                margin-bottom: 0;
            }
            .op-search-row { margin-bottom: 10px; }

            /* Search + sort share one row instead of stacking */
            .op-search-row {
                flex-direction: row !important;
                align-items: center;
                gap: 8px;
            }
            .op-search-row > div:first-child {
                flex: 1 1 auto;
                width: auto;
                min-width: 0;
            }
            .op-search-row > div:last-child {
                flex: 0 0 auto;
                width: auto;
            }
            .op-search-row > div:last-child > div,
            .op-search-row #sort-toggle-nursery {
                width: auto !important;
            }
            .op-search-row input {
                font-size: 13px !important;
                padding-top: 10px;
                padding-bottom: 10px;
            }
            .op-search-row #sort-toggle-nursery {
                padding: 10px 12px;
                white-space: nowrap;
            }

            /* Categories reads as one full-width accordion bar, sized to match
               the search field's 40px height: a thin 4px frame on the box, and
               only enough padding on the header to clear the 17px label. The
               12px header inset stays so "Categories" lines up with the list
               items underneath it. */
            .op-sidebar > div {
                padding: 4px;
                border-radius: 12px;
            }
            .op-cat-header {
                width: 100%;
                margin-bottom: 0;
                padding: 4px 12px !important;
            }
            .op-cat-header > svg:last-of-type { margin-left: auto; }
            .op-cat-list { margin-top: 8px; }
            /* Expanded state: flex so the list's row gap actually applies
               (removing `hidden` alone would leave it display:block). */
            #sidebar-list-nursery.op-cat-list:not(.hidden) {
                display: flex;
                flex-direction: column;
            }

            /* Tighter listing panel */
            .op-grid-box {
                padding: 14px 12px 16px;
                border-radius: 18px;
            }
            .op-section-heading { margin-bottom: 12px; }
            .op-section-heading h2 { font-size: 19px !important; }
            .op-section-heading span { font-size: 11.5px !important; }
            .op-product-grid {
                gap: 10px !important;
                grid-template-columns: repeat(2, 1fr) !important;
            }
            .op-grid-wrap .relative.h-\[170px\] { height: 170px !important; }
            /* Two lines fits a 12px title, not a 15px one — the phone grid is

               half the width of the desktop one, so the title gets a third line

               rather than losing the class number to an ellipsis. */

            .op-grid-wrap h4 { -webkit-line-clamp: 3 !important; }
        }

        /* ── Accordion wiring ──
           Driven from here rather than Tailwind variants: the prebuilt
           tailwind.min.css only ships the min-[768px] set, so min-[992px]:flex
           / :hidden / :block / :pointer-events-none silently do nothing. */
        .op-header-band {
            padding-top: 14px;
            padding-bottom: 0px;
        }
        /* The bar is a category *picker*, so it keeps the "Categories" label at
           every width rather than swapping in the active category name. */
        .op-h-desktop { display: block; }
        .op-h-mobile { display: none; }

        @media (min-width: 992px) {
            .op-header-band {
                padding-top: 20px;
                padding-bottom: 0px;
            }
            /* Always expanded on desktop; the toggle is inert there. */
            #sidebar-list-nursery.op-cat-list {
                display: flex !important;
                flex-direction: column;
            }
            #sidebar-toggle-nursery { pointer-events: none; }
            .op-cat-chevron { display: none; }
        }


        /* Title + subtitle share the listing's left edge. They used to sit in a
           centred max-w-[1200px] box, so past ~1250px they drifted right while
           the search bar and listing stayed pinned at the 24px margin. */
        .op-header-title-wrap {
            /* Stacked layout drops the listing's side padding, so the title
               matches with margin alone here. */
            margin: 0 12px;
            padding: 0;
            text-align: left;
        }
        @media (min-width: 992px) {
            .op-header-title-wrap {
                margin: 0 24px;
                padding: 0 15px;
            }
        }


        /* Search + sort outlines.
           Set here rather than with Tailwind `border-[#hex]` utilities: the
           prebuilt tailwind.min.css ships no arbitrary colour classes, so those
           resolved to nothing and the controls kept the default grey #E5E7EB. */
        .op-field {
            border-color: #A8D7F0;
        }
        .op-search-row .op-field:focus-within {
            border-color: #5CB4E6;
            box-shadow: 0 0 0 3px rgba(92, 180, 230, 0.18);
        }
        .op-search-row input {
            padding-top: 8px !important;
            padding-bottom: 8px !important;
        }
        .op-search-row button.op-field {
            padding-top: 6px !important;
            padding-bottom: 6px !important;
        }

        /* Search field and sort button share one height so they line up.
           The dropdown menu also carries .op-field, hence the narrow selectors
           rather than a blanket `.op-search-row .op-field`. */
        .op-search-row > div:first-child > .op-field,
        .op-search-row button.op-field {
            box-sizing: border-box;
            height: 40px;
        }
        .op-search-row input {
            height: 100%;
            padding-top: 0 !important;
            padding-bottom: 0 !important;
        }



.op-header-band{position:relative;padding:14px 0 0}.op-header-band>*:not(img),.op-page-bg>*:not(img){position:relative;z-index:1}.op-page-bg{position:relative;isolation:isolate}.op-page-bg:before{content:"";position:absolute;top:-230px;inset-inline:0;bottom:0;background:var(--op-page-art) center top/100% auto no-repeat,var(--op-bottom-strip) center top/100% 6px repeat-y;background-color:#e7e520;z-index:0;pointer-events:none}.op-header-title-wrap{margin:0 12px;text-align:left}.op-page-title{font:800 clamp(19px,2.7vw,26px)/1.2 Poppins,sans-serif;letter-spacing:-.015em;color:#102a6a;margin-bottom:5px}.op-word{display:inline-block}.op-l-blue{color:#2962ff}.op-l-red{color:#f44336}.op-l-orange{color:#ff6b35}.op-l-green{color:#34a853}.op-l-navy{color:#102a6a}.op-l-spark{position:relative}.op-sparkle{position:absolute;top:-.12em;left:.3em;width:.54em;height:.54em;color:#ffc640}.op-sparkle svg{width:100%;height:100%}.op-page-subtitle{font:12px/1.55 'Poppins',sans-serif;color:#6b7280}.op-books-art{position:absolute;top:12px;right:60px;width:205px;z-index:999;pointer-events:none}.op-products-section{--op-pink:#f0356e;display:flex;flex-direction:column;padding:8px 12px 36px;margin:0 20px}.op-search-row{margin-bottom:5px}.op-search-row>div:first-child{max-width:460px}.op-search-row>div:last-child{width:auto}.op-field{border-color:#a8d7f0}.op-search-row .op-field:focus-within{border-color:#5cb4e6;box-shadow:0 0 0 3px rgba(92,180,230,.18)}.op-search-row>div:first-child>.op-field,.op-search-row button.op-field{height:40px}.op-search-row input{height:100%}.op-content-row{display:flex;align-items:flex-start;gap:12px}.op-sidebar{width:182px;flex-shrink:0}.op-sidebar>div{background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.9);border-radius:19px;box-shadow:0 10px 26px -16px rgba(16,42,106,.45);padding:8px 7px}.op-cat-header{display:flex;align-items:center;gap:7px;width:100%;padding:6px 12px 12px;margin-bottom:6px;border-bottom:1px solid rgba(0,0,0,.06)}.op-cat-header h2{color:#0f2745;font:600 18px Poppins,sans-serif}.op-cat-chevron{color:#888}.op-cat-list{gap:2px}.op-cat-link{display:flex;padding:6px 12px;border-radius:999px;font:600 14px 'Poppins',sans-serif;color:#3a4256}.op-cat-link:hover{background:rgba(255,255,255,.95)}.op-cat-link.is-active{background:linear-gradient(135deg,#ff6b9d,#f0356e);color:#fff;box-shadow:0 10px 18px -10px rgba(240,53,110,.85)}.op-left-art{display:block;width:175px;margin:-10px 0 0 4px}.op-grid-wrap{flex:1;min-width:0}.op-grid-box{background:linear-gradient(180deg,#fefae8,#fcf4d6);border:1px solid rgba(230,190,90,.28);border-radius:24px;padding:14px 16px;box-shadow:0 12px 32px -20px rgba(16,42,106,.35)}.op-section-heading{margin-bottom:6px}.op-section-heading h2{color:#f0356e;font-size:24px}.op-section-heading span{font:12px 'Poppins';color:#6b7280}.op-product-grid{gap:12px}.op-card-stack{min-width:0}.op-card{height:100%;border:1px solid rgba(230,190,90,.22);border-radius:14px;box-shadow:0 6px 16px -10px rgba(16,42,106,.3)}.op-card:hover{box-shadow:0 14px 28px -14px rgba(240,53,110,.35)}.op-grid-wrap .relative.h-\[170px\]{height:200px!important}.op-grid-wrap h3{font-size:15px!important}.op-grid-wrap p.font-bold{font-size:13px!important;margin-top:4px!important;color:#f0356e}.op-grid-wrap .p-3{padding:7px 9px 8px!important}.op-tag{font:600 11px 'Poppins';background:linear-gradient(135deg,#ff6b9d,#f0356e);border-radius:999px}.op-tag-outline{background:#fff;color:#f0356e;border:1px solid rgba(240,53,110,.35)}.op-act{box-shadow:0 3px 8px rgba(16,42,106,.16);cursor:pointer}.op-act[aria-label=wishlist]{color:#f0356e}.op-act[aria-label=cart]{color:#2962ff}.op-act.is-active svg{fill:currentColor}.op-cart-form{position:absolute;right:.5rem;z-index:10}.op-empty-state{grid-column:1/-1;background:#fff;border:1px dashed #c0c7d1;border-radius:8px;padding:3rem 1.5rem;text-align:center;color:#6b7280}.op-h-mobile{display:none}.op-page-btn.is-active{background:#f0356e;color:#fff}.op-pagination svg{width:16px}
.op-cart-modal{position:fixed;inset:0;z-index:1100;display:none;align-items:center;justify-content:center;padding:16px}.op-cart-modal.is-open{display:flex}.op-cart-modal__backdrop{position:absolute;inset:0;background:rgba(11,30,60,.52)}.op-cart-modal__dialog{position:relative;z-index:1;display:flex;width:min(100%,560px);gap:20px;border-radius:18px;background:#fff;padding:28px;box-shadow:0 20px 50px rgba(0,0,0,.28)}.op-cart-modal__image{width:180px;height:180px;object-fit:contain;flex:none}.op-cart-modal__content{flex:1;min-width:0;padding-right:18px}.op-cart-modal__content h2{font:700 20px/1.35 Poppins,sans-serif;color:#102a6a}.op-cart-modal__content p{margin:8px 0 18px;font:700 16px Poppins,sans-serif;color:#f0356e}.op-cart-modal__content label{display:block;margin-bottom:7px;font:600 14px Poppins,sans-serif;color:#334155}.op-cart-modal__quantity{display:flex;width:max-content;align-items:center;border:1px solid #d7dee7;border-radius:8px;overflow:hidden}.op-cart-modal__quantity button{width:36px;height:36px;color:#102a6a;font-size:20px;background:#f6f8fb}.op-cart-modal__quantity input{width:48px;height:36px;border:0;text-align:center;font-weight:700;outline:0}.op-cart-modal__submit{width:100%;margin-top:18px;border-radius:8px;padding:11px 16px;background:#2962ff;color:#fff;font:700 14px Poppins,sans-serif}.op-cart-modal__close{position:absolute;top:8px;right:14px;color:#64748b;font-size:30px;line-height:1}.op-cart-modal__close:hover{color:#102a6a}@media(max-width:575px){.op-cart-modal__dialog{align-items:center;gap:12px;padding:22px 16px}.op-cart-modal__image{width:105px;height:130px}.op-cart-modal__content h2{font-size:16px}.op-cart-modal__content{padding-right:10px}}
@media(min-width:768px){.op-page-subtitle{font-size:13px}}
@media(min-width:992px){.op-header-band{padding-top:20px}.op-header-title-wrap{margin:0 24px;padding:0 15px}.op-page-bg{display:flex;flex-direction:column;min-height:calc(100vh - 96px)}.op-products-section{flex:1}.op-product-grid{grid-template-columns:repeat(3,1fr)!important}#sidebar-list-nursery{display:flex!important;flex-direction:column}#sidebar-toggle-nursery{pointer-events:none}.op-cat-chevron{display:none}}
@media(max-width:991px){.op-books-art,.op-left-art{display:none}.op-page-bg:before{top:-50px}.op-products-section{padding:10px 0 18px;margin:0 12px}.op-content-row{flex-direction:column;gap:10px}.op-sidebar,.op-grid-wrap{width:100%}.op-search-row{margin-bottom:10px;flex-direction:row!important;align-items:center;gap:8px}.op-search-row>div:first-child{flex:1;min-width:0}.op-sidebar>div{padding:4px;border-radius:12px}.op-cat-header{margin:0;padding:4px 12px}.op-cat-header>svg{margin-left:auto}.op-cat-list{margin-top:8px}#sidebar-list-nursery:not(.hidden){display:flex}.op-grid-box{padding:14px 12px 16px;border-radius:18px}.op-product-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px}.op-grid-wrap .relative.h-\[170px\]{height:170px!important}.op-grid-wrap h3{-webkit-line-clamp:3!important}}
@media(max-width:430px){.op-page-title{font-size:20px}.op-products-section{margin:0 8px}.op-search-row #sort-label-nursery{display:none}.op-search-row #sort-toggle-nursery{width:40px;padding:0}.op-grid-wrap .relative.h-\[170px\]{height:150px!important}}

/* Pin mobile controls to the viewport, including while the footer is visible. */
.op-mobile-filters[hidden] { display: none; }
@media (max-width: 991px) {
    body.op-products-page { overflow-x: clip; }
    .op-products-page .op-page-bg {
        padding-top: var(--op-filters-height, 0px);
    }
    .op-mobile-filters {
        position: fixed;
        top: var(--op-header-height, 76px);
        inset-inline: 0;
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
        z-index: 45;
        padding: 8px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
        background: transparent;
        box-shadow: none;
        pointer-events: none;
    }
    .op-mobile-filters .op-search-row {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
        min-width: 0;
        z-index: 2;
        margin: 0 0 8px;
        pointer-events: auto;
    }
    .op-mobile-filters .op-search-row > div:first-child {
        width: 100%;
        min-width: 0;
        max-width: none;
    }
    .op-mobile-filters .op-search-row input {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .op-mobile-filters #sort-menu-nursery {
        max-width: calc(100vw - 24px);
    }
    .op-products-page .op-header-title-wrap {
        width: auto;
    }
    .op-mobile-filters .op-sidebar {
        position: relative;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        z-index: 1;
        pointer-events: auto;
    }
    .op-mobile-filters .op-cat-link {
        overflow-wrap: anywhere;
    }
    .op-mobile-filters .op-cat-list {
        max-height: min(40dvh, max(80px, calc(100dvh - var(--op-header-height, 76px) - var(--op-search-height, 40px) - 80px)));
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .op-mobile-filters .op-search-suggestions {
        max-height: min(360px, 45dvh);
    }
}


.op-search-suggestions{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:1200;max-height:360px;overflow:auto;border:1px solid #d9e1ea;border-radius:12px;background:#fff;box-shadow:0 18px 45px rgba(14,34,89,.16)}
.op-search-suggestions[hidden]{display:none}.op-suggestion-item{display:flex;width:100%;align-items:center;gap:12px;padding:10px 12px;text-align:left;transition:background-color .15s ease}.op-suggestion-item:hover,.op-suggestion-item:focus{background:#f4f8fb;outline:none}.op-suggestion-thumb{height:52px;width:42px;flex:0 0 42px;border-radius:6px;background:#f7f9fb;object-fit:contain}.op-suggestion-title{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#17233c;font-family:'Poppins',sans-serif;font-size:13px;font-weight:700;line-height:1.25}.op-suggestion-meta{margin-top:3px;color:#667085;font-family:'Poppins',sans-serif;font-size:12px}.op-suggestion-empty{padding:13px 14px;color:#667085;font-family:'Poppins',sans-serif;font-size:13px}

        /* A stack stands in for one book in the grid. It is the grid item
           now, so it takes over the stretch the card used to get on its own —
           otherwise a stacked card would come up short next to a plain one in
           the same row. */
        .op-card-stack {
            display: flex;
            flex-direction: column;
        }
        .op-card-stack > .op-card {
            flex: 1 1 auto;
        }

        /* Term / semester chips double as the card's edition switcher: the
           edition on show keeps the filled chip, its siblings sit muted next
           to it and swap the card in when clicked. */
        .op-grid-box button.op-tag {
            cursor: pointer;
            transition: background .2s ease, color .2s ease, border-color .2s ease;
        }
        .op-grid-box .op-tag.is-off {
            background: #f1f4f6 !important;
            color: #5a6478 !important;
            border: 1px solid #e0e4ec !important;
        }
        .op-grid-box .op-tag.is-off:hover {
            background: #e6ebf3 !important;
            color: #26304a !important;
        }
