:root {
    --ink: #222222;
    --muted: #777777;
    --line: #e6e6e6;
    --blue: #1f5fbf;
    --teal: #008c83;
    --gold: #f6b33d;
    --bg: #f4f5f7;
    --surface: #ffffff;
    --shadow: 0 8px 26px rgba(17, 24, 39, .10);
    --font-shop: "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-shop);
    letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.store-topline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px min(5vw, 64px);
    background: #1f2937;
    color: rgba(255,255,255,.86);
    font-size: 12px;
    font-weight: 500;
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px min(5vw, 64px);
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(17,24,39,.05);
}
.store-brand {
    display: grid;
    grid-template-columns: 42px auto;
    column-gap: 10px;
    align-items: center;
    font-size: 22px;
    line-height: 1;
}
.store-brand span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 3px;
    color: #fff;
    background: #1f5fbf;
    font-weight: 800;
    grid-row: span 2;
}
.store-brand small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.store-header nav { display: flex; gap: 22px; color: #333; font-size: 14px; font-weight: 700; }
.store-header nav a:hover { color: var(--blue); }

.header-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: min(520px, 42vw);
    border: 1px solid var(--line);
    border-radius: 3px;
    overflow: hidden;
    background: #fff;
}
.header-search input {
    min-height: 42px;
    border: 0;
    padding: 0 12px;
    outline: none;
}
.header-search button {
    min-width: 108px;
    border: 0;
    background: #1f5fbf;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.store-category-nav {
    display: flex;
    justify-content: center;
    gap: 34px;
    padding: 13px min(5vw, 64px);
    background: #fff;
    border-bottom: 1px solid var(--line);
    color: #444;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-store {
    min-height: 70vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 44px;
    align-items: center;
    padding: 46px min(5vw, 72px) 34px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.96), rgba(255,255,255,.72)),
        linear-gradient(135deg, #e9f1ff, #f7fafc 58%, #eef7f5);
}
.hero-copy h1 {
    margin: 0;
    max-width: 720px;
    font-size: clamp(42px, 5.4vw, 76px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: 0;
}
.hero-copy p {
    max-width: 620px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.62;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}
.store-btn.primary { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 800; }
.store-btn.small { min-height: 34px; padding: 6px 11px; }

.book-stage {
    position: relative;
    min-height: 460px;
    border-radius: 4px;
    background: radial-gradient(circle at 20% 20%, rgba(31,95,191,.12), transparent 34%), #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.book-cover {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 185px;
    height: 260px;
    padding: 22px;
    border-radius: 4px;
    color: #fff;
    box-shadow: 0 18px 36px rgba(23,32,51,.22);
}
.book-cover strong { font-size: 28px; }
.book-cover span { opacity: .9; }
.cover-blue { left: 58px; top: 72px; background: linear-gradient(150deg, #1457d9, #43a2ff); transform: rotate(-8deg); }
.cover-teal { right: 70px; top: 118px; background: linear-gradient(150deg, #0f8a83, #2fd3b6); transform: rotate(7deg); }
.cover-gold { left: 150px; bottom: 54px; background: linear-gradient(150deg, #f3b23f, #de6f2b); transform: rotate(3deg); }

.store-section { padding: 42px min(5vw, 72px); }
.section-title, .catalogue-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 20px;
}
.section-title h2, .catalogue-head h1 { margin: 0; font-size: 30px; font-weight: 800; }
.catalogue-head p { color: var(--muted); margin: 6px 0 0; }
.catalogue-tools { display: flex; align-items: center; gap: 10px; }
.catalogue-tools .store-search { width: min(360px, 38vw); }
.view-switcher {
    display: inline-grid;
    grid-template-columns: repeat(2, 36px);
    flex: 0 0 auto;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f4efec;
}
.view-switcher button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
}
.view-switcher button:hover { color: var(--blue); }
.view-switcher button.is-active { background: #fff; color: var(--blue); box-shadow: 0 1px 5px rgba(55,29,38,.13); }
.view-switcher svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.view-switcher rect { fill: currentColor; stroke: none; }
.store-search, .checkout-panel input, .checkout-panel textarea, .cart-line input {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 9px 12px;
    background: #fff;
}
.product-rail, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}
.product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}
.store-product {
    position: relative;
    display: grid;
    grid-template-rows: 300px minmax(316px, 1fr);
    gap: 0;
    height: 100%;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 2px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(20, 43, 86, .07);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-list .store-product {
    grid-template-rows: none;
    grid-template-columns: 52px minmax(0, 1fr);
    height: auto;
    min-height: 60px;
    align-items: center;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(20, 43, 86, .05);
}
.product-list .store-product:hover { transform: none; box-shadow: 0 4px 12px rgba(20,43,86,.09); }
.product-list .product-badge { display: none; }
.store-product:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(20, 43, 86, .14);
}
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 5px 8px;
    border-radius: 2px;
    background: var(--gold);
    color: #172033;
    font-size: 12px;
    font-weight: 800;
}
.mini-cover {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    padding: 20px;
    border-radius: 0;
    color: #fff;
    background:
        linear-gradient(150deg, rgba(31,95,191,.96), rgba(0,140,131,.95)),
        repeating-linear-gradient(90deg, rgba(255,255,255,.13) 0 1px, transparent 1px 13px);
    box-shadow: inset 10px 0 0 rgba(0,0,0,.12), inset 0 -70px 90px rgba(0,0,0,.14);
}
.product-list .mini-cover {
    min-height: 60px;
    height: 100%;
    padding: 0;
    box-shadow: inset 5px 0 0 rgba(0,0,0,.12);
}
.product-list .mini-cover > * { display: none; }
.product-list .mini-cover::after { content: "SB"; margin: auto; font-size: 15px; font-style: normal; font-weight: 900; letter-spacing: -.04em; }

.product-photo {
    width: 100%;
    height: 300px;
    padding: 12px;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    background: #f6f7f9;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06);
}
.product-list .product-photo { width: 52px; height: 60px; padding: 4px; }
.mini-cover small {
    position: absolute;
    top: 48px;
    left: 20px;
    font-size: 11px;
    font-weight: 800;
    opacity: .86;
}
.mini-cover strong { font-size: 25px; line-height: 1.05; }
.mini-cover span { margin-top: 8px; opacity: .9; }
.mini-cover i { margin-top: 14px; font-style: normal; font-size: 11px; opacity: .75; }
.product-info {
    display: grid;
    grid-template-rows: 22px 50px 42px 38px minmax(102px, auto);
    align-content: end;
    gap: 8px;
    min-width: 0;
    padding: 18px 20px;
}
.product-list .product-info {
    grid-template-columns: 90px minmax(190px, 1.4fr) minmax(150px, 1fr) 120px minmax(220px, auto);
    grid-template-rows: 1fr;
    align-items: center;
    align-content: center;
    gap: 12px;
    padding: 5px 10px;
    border-top: 0;
}
.product-list .product-info h3 { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.product-list .product-categories { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }
.product-list .kapee-price strong { font-size: 13px; white-space: nowrap; }
.product-list .product-actions { display: flex; justify-content: flex-end; gap: 6px; }
.product-list .cart-controls { gap: 5px; }
.product-list .quantity-stepper { grid-template-columns: 24px 30px 24px; height: 30px; border-radius: 6px; }
.product-list .quantity-stepper button,
.product-list .quantity-stepper input { min-height: 28px; font-size: 11px; }
.product-list .product-actions .cart-icon-btn { width: 32px; min-height: 30px; border-radius: 6px; }
.product-list .product-action-icon svg { width: 17px; height: 17px; }
.product-list .product-actions .whatsapp-order { width: 32px; min-height: 30px; padding: 0; border-radius: 6px; }
.product-list .whatsapp-order span { display: none; }
.product-list .whatsapp-order svg { width: 16px; height: 16px; }
.product-info span, .product-info p { color: var(--muted); margin: 0; font-size: 13px; }
.product-code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-info h3, .product-name {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 750;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.product-categories {
    display: -webkit-box;
    overflow: hidden;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; }
.kapee-price strong { color: var(--blue); font-size: 18px; }
.product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 0;
}
.cart-icon-btn {
    width: 46px;
    min-height: 42px;
    border-radius: 6px;
}
.cart-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.quantity-stepper {
    display: grid;
    grid-template-columns: 34px 42px 34px;
    height: 42px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}
.quantity-stepper button,
.quantity-stepper input {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    text-align: center;
    font-weight: 800;
}
.quantity-stepper button { cursor: pointer; font-size: 18px; }
.quantity-stepper button:hover { background: rgba(136,19,55,.07); color: var(--blue); }
.quantity-stepper input { border-inline: 1px solid var(--line); appearance: textfield; }
.quantity-stepper input::-webkit-inner-spin-button,
.quantity-stepper input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.product-action-icon {
    display: inline-grid;
    place-items: center;
    padding: 0;
}
.product-action-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.product-action-icon:hover {
    transform: translateY(-1px);
    filter: brightness(.94);
}
.product-action-icon:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .3);
    outline-offset: 2px;
}
.buy-now, .cart-icon-btn {
    background: #172033;
    color: #fff;
    border-color: #172033;
}
.whatsapp-order {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    gap: 9px;
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
    font-weight: 750;
}
.whatsapp-order svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-info .whatsapp-order span { color: #fff; font-size: 12px; }

@media (max-width: 640px) {
    .product-rail, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .store-product { grid-template-rows: 220px minmax(306px, 1fr); }
    .product-photo { height: 220px; padding: 8px; }
    .mini-cover { min-height: 220px; }
    .product-info { padding: 14px; }
}

@media (max-width: 390px) {
    .product-rail, .product-grid { grid-template-columns: 1fr; }
    .store-product { grid-template-rows: 290px minmax(306px, 1fr); }
    .product-photo { height: 290px; }
}
.category-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.category-strip button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.category-strip button:hover { border-color: var(--blue); color: var(--blue); }
.smart-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}
.smart-filters select {
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 8px 10px;
    background: #fff;
    color: var(--ink);
}

.store-band, .cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
    margin: 28px min(5vw, 72px);
    padding: 28px;
    border-radius: 4px;
    background: #172033;
    color: #fff;
}
.store-band p { color: rgba(255,255,255,.72); }
.checkout-panel, .cart-list {
    display: grid;
    gap: 12px;
}
.checkout-panel {
    padding: 18px;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
}
.checkout-panel label { display: grid; gap: 6px; margin-top: 12px; color: var(--muted); }
.cart-line {
    display: grid;
    grid-template-columns: 1fr 90px 130px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
}
.cart-line span { display: block; color: rgba(255,255,255,.7); }
.store-alert { margin: 14px min(5vw,72px); padding: 12px; border-radius: 8px; background: #fff; }
.store-alert.success { color: #027a48; }
.store-alert.error { color: #b42318; }
.store-footer { display: flex; justify-content: space-between; gap: 16px; padding: 28px min(5vw,72px); color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 860px) {
    .hero-store, .store-band, .cart-layout { grid-template-columns: 1fr; }
    .book-stage { min-height: 340px; }
    .store-topline, .store-header, .section-title, .catalogue-head, .store-footer { align-items: flex-start; flex-direction: column; }
    .header-search { min-width: 100%; grid-template-columns: 1fr 86px; }
    .store-category-nav { justify-content: flex-start; overflow-x: auto; }
    .smart-filters { grid-template-columns: 1fr; }
    .cart-line { grid-template-columns: 1fr; }
}

/* Bloomy-inspired editorial storefront */
:root {
    --ink: #211f23;
    --muted: #706b70;
    --line: rgba(65, 40, 48, .12);
    --blue: #881337;
    --teal: #315b57;
    --gold: #d4af37;
    --bg: #f7f2ee;
    --surface: #ffffff;
    --shadow: 0 18px 46px rgba(60, 32, 41, .12);
}

.store-topline { background: #18171a; color: rgba(255,255,255,.74); letter-spacing: .035em; }
.store-header {
    padding-block: 15px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 28px rgba(45,27,33,.07);
}
.store-brand span { border-radius: 11px; background: linear-gradient(145deg, #d9b74e, #a97e18); color: #251d0c; }
.store-brand strong { font-weight: 800; letter-spacing: -.025em; }
.store-header nav a { position: relative; }
.store-header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue); transition: right .18s ease; }
.store-header nav a:hover::after { right: 0; }
.header-search { border-radius: 10px; }
.header-search button { background: linear-gradient(135deg, #881337, #6b0f2b); }
.store-category-nav { background: #fbf8f5; border-color: rgba(136,19,55,.08); color: #5c4650; font-size: 11px; letter-spacing: .08em; }

.hero-store {
    position: relative;
    isolation: isolate;
    min-height: 76vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 12%, rgba(212,175,55,.2), transparent 24rem),
        radial-gradient(circle at 5% 90%, rgba(136,19,55,.25), transparent 28rem),
        linear-gradient(125deg, #17161a 0%, #292027 58%, #4e1528 120%);
    color: #fff;
}
.hero-store::after { content: "SB"; position: absolute; z-index: -1; left: -35px; bottom: -95px; color: rgba(255,255,255,.025); font-size: 280px; font-weight: 900; letter-spacing: -.12em; }
.hero-kicker, .section-eyebrow, .category-intro > span {
    display: block;
    color: #dabb60;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.hero-copy h1 { margin-top: 13px; letter-spacing: -.055em; }
.hero-copy h1 em { display: block; color: #e1c46e; font-family: Georgia, serif; font-weight: 500; }
.hero-copy p { color: rgba(255,255,255,.62); }
.hero-actions .store-btn { min-height: 49px; padding-inline: 20px; border-radius: 10px; border-color: rgba(255,255,255,.17); background: rgba(255,255,255,.07); color: #fff; font-weight: 700; }
.hero-actions .store-btn.primary { background: linear-gradient(135deg, #d9b74e, #b18420); border-color: transparent; color: #211a0e; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-proof span { color: rgba(255,255,255,.48); font-size: 11px; }
.hero-proof strong { display: block; color: #fff; font-size: 13px; }
.book-stage {
    min-height: 500px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
    box-shadow: 0 30px 70px rgba(0,0,0,.26);
    backdrop-filter: blur(18px);
}
.book-cover { border-radius: 7px 14px 14px 7px; box-shadow: -8px 18px 42px rgba(0,0,0,.32); }
.cover-blue { background: linear-gradient(150deg, #345c7c, #192e42); }
.cover-teal { background: linear-gradient(150deg, #46857c, #214c47); }
.cover-gold { background: linear-gradient(150deg, #d5ad46, #8b5e16); }

.category-showcase {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 46px;
    padding: 70px min(5vw,72px);
    background: #f0e7e1;
}
.category-intro h2 { max-width: 480px; margin: 12px 0 0; font-size: clamp(30px,4vw,48px); line-height: 1.08; letter-spacing: -.045em; }
.category-intro > span { color: var(--blue); }
.category-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.category-cards a {
    position: relative;
    display: grid;
    grid-template-columns: 86px minmax(0,1fr);
    grid-template-rows: auto 1fr auto auto;
    column-gap: 20px;
    min-height: 185px;
    padding: 21px;
    border: 1px solid rgba(136,19,55,.09);
    border-radius: 16px;
    background: rgba(255,255,255,.68);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.category-cards a:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--shadow); }
.category-cards b { grid-column: 1 / -1; color: var(--blue); font-size: 10px; letter-spacing: .12em; }
.category-cards .category-icon {
    grid-column: 1;
    grid-row: 2 / span 3;
    align-self: end;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border: 1px solid rgba(139,30,63,.1);
    border-radius: 20px;
    background: linear-gradient(145deg,#f6e9ec,#fff);
    color: var(--blue);
    box-shadow: 0 8px 20px rgba(86,42,56,.07);
}
.category-icon svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.category-cards strong { grid-column: 2; grid-row: 3; align-self: end; font-size: 17px; }
.category-cards > a > span:not(.category-icon) { grid-column: 2; grid-row: 4; color: var(--muted); font-size: 12px; }
.category-cards i { position: absolute; right: 18px; top: 16px; color: var(--gold); font-size: 21px; font-style: normal; }

.store-section { padding-block: 66px; }
.section-title { margin-bottom: 27px; }
.section-title h2 { margin-top: 3px; font-size: 36px; letter-spacing: -.045em; }
.section-title .section-eyebrow { color: var(--blue); }
.store-product { border-radius: 16px; border-color: rgba(136,19,55,.09); box-shadow: 0 12px 34px rgba(54,31,38,.08); }
.store-product:hover { box-shadow: 0 22px 50px rgba(136,19,55,.14); border-color: rgba(212,175,55,.7); }
.product-badge { border-radius: 7px; background: linear-gradient(135deg,#d8b84f,#b98d23); font-size: 10px; }
.product-photo { background: linear-gradient(145deg,#f8f6f3,#eee8e4); }
.product-info { border-top: 1px solid rgba(136,19,55,.07); }
.product-code { color: #8a7f83 !important; font-size: 11px !important; letter-spacing: .025em; }
.product-name { color: #211f23; }
.product-categories { color: #756b70 !important; }
.kapee-price strong { color: var(--blue); }
.buy-now { background: #1e1c22; border-color: #1e1c22; }
.product-actions .store-btn { border-radius: 11px; }

.store-band {
    align-items: center;
    margin-block: 42px 70px;
    padding: 44px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 20%, rgba(212,175,55,.18), transparent 18rem),
        linear-gradient(120deg,#1b191d,#4f1529);
    box-shadow: 0 24px 55px rgba(44,24,30,.18);
}
.store-band h2 { max-width: 720px; margin: 9px 0 8px; font-size: 32px; letter-spacing: -.035em; }
.store-band .store-btn { border-radius: 10px; }
.store-footer { background: #18171a; color: rgba(255,255,255,.54); border: 0; }

@media (max-width: 860px) {
    .hero-store { padding-block: 56px; }
    .category-showcase { grid-template-columns: 1fr; gap: 28px; padding-block: 48px; }
}
@media (max-width: 560px) {
    .hero-copy h1 { font-size: 43px; }
    .hero-proof { gap: 12px; }
    .hero-proof span { flex: 1 1 28%; }
    .book-stage { min-height: 330px; }
    .book-cover { width: 135px; height: 200px; padding: 15px; }
    .book-cover strong { font-size: 20px; }
    .cover-blue { left: 24px; top: 48px; }
    .cover-teal { right: 25px; top: 70px; }
    .cover-gold { left: 100px; bottom: 28px; }
    .category-cards { grid-template-columns: 1fr; }
    .category-cards a { min-height: 160px; }
    .store-section { padding-block: 46px; }
}

/* Complete request-cart experience */
.cart-page { min-height: 72vh; padding-top: 54px; padding-bottom: 78px; }
.cart-page-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    max-width: 1500px;
    margin: 0 auto 28px;
}
.cart-page-head .section-eyebrow,
.checkout-card .section-eyebrow,
.empty-cart-state .section-eyebrow,
.cart-help-panel .section-eyebrow { color: var(--blue); }
.cart-page-head h1 { margin: 7px 0 5px; font-size: clamp(38px,5vw,62px); line-height: 1; letter-spacing: -.055em; }
.cart-page-head p { margin: 0; color: var(--muted); font-size: 14px; }
.cart-count-pill { padding: 9px 13px; border: 1px solid rgba(136,19,55,.13); border-radius: 999px; background: #fff; color: var(--blue); font-size: 12px; font-weight: 800; }

.empty-cart-layout {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(330px,.55fr);
    max-width: 1500px;
    min-height: 520px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 24px 65px rgba(55,29,38,.13);
}
.empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(38px,7vw,92px);
    background:
        radial-gradient(circle at 85% 12%, rgba(212,175,55,.19), transparent 19rem),
        linear-gradient(145deg,#fff,#f4ebe5);
}
.empty-cart-icon { display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 28px; border-radius: 20px; background: linear-gradient(145deg,#d9b84f,#a97814); color: #241b09; box-shadow: 0 13px 30px rgba(173,128,22,.25); }
.empty-cart-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.empty-cart-state h2 { max-width: 650px; margin: 10px 0 13px; font-size: clamp(34px,4.5vw,58px); line-height: 1.02; letter-spacing: -.052em; }
.empty-cart-state p { max-width: 650px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.empty-cart-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.empty-cart-actions .store-btn { min-height: 48px; border-radius: 10px; }
.cart-help-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 46px;
    background:
        radial-gradient(circle at 90% 10%, rgba(212,175,55,.16), transparent 16rem),
        linear-gradient(150deg,#1b191d,#421525);
    color: #fff;
}
.cart-help-panel .section-eyebrow { color: #daba60; }
.cart-help-panel ol { display: grid; gap: 0; margin: 22px 0; padding: 0; list-style: none; }
.cart-help-panel li { display: grid; grid-template-columns: 37px 1fr; gap: 13px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.cart-help-panel li b { color: #daba60; font-size: 11px; }
.cart-help-panel li span, .cart-help-panel li strong { display: block; }
.cart-help-panel li span { color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.55; }
.cart-help-panel li strong { margin-bottom: 4px; color: #fff; font-size: 14px; }
.cart-help-panel > p { margin: 0; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.65; }

.cart-workspace {
    display: grid;
    grid-template-columns: minmax(0,1fr) 410px;
    gap: 24px;
    align-items: start;
    max-width: 1500px;
    margin: 0 auto;
}
.cart-items-panel { overflow: hidden; border: 1px solid rgba(136,19,55,.09); border-radius: 19px; background: #fff; box-shadow: 0 14px 40px rgba(55,29,38,.08); }
.cart-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--line); background: #fbf8f6; }
.cart-panel-head span, .cart-panel-head strong { display: block; }
.cart-panel-head span { color: var(--muted); font-size: 11px; }
.cart-panel-head strong { font-size: 14px; }
.cart-panel-head a { color: var(--blue); font-size: 12px; font-weight: 800; }
.cart-product-list { display: grid; }
.cart-product-row {
    display: grid;
    grid-template-columns: 92px minmax(190px,1fr) 130px 145px;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border-bottom: 1px solid var(--line);
}
.cart-product-image { display: grid; place-items: center; width: 92px; height: 112px; overflow: hidden; border-radius: 11px; background: linear-gradient(145deg,#f7f3ef,#e9e2dd); }
.cart-product-image img { width: 100%; height: 100%; padding: 5px; object-fit: contain; }
.cart-product-image span { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 12px; background: var(--gold); color: #241b09; font-weight: 900; }
.cart-product-copy span, .cart-product-quantity > span, .cart-product-total > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.cart-product-copy h2 { margin: 0 0 8px; font-size: 17px; line-height: 1.3; }
.cart-product-copy small { color: var(--blue); font-weight: 700; }
.cart-product-total { text-align: right; }
.cart-product-total strong { display: block; white-space: nowrap; font-size: 15px; }
.cart-product-total button { margin-top: 10px; padding: 0; border: 0; background: transparent; color: #a33838; font-size: 11px; cursor: pointer; text-decoration: underline; }
.cart-update-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: #fbf8f6; }
.cart-update-bar a { color: var(--muted); font-size: 12px; font-weight: 700; }
.cart-update-bar .store-btn { min-height: 40px; border-radius: 9px; }

.checkout-card { position: sticky; top: 105px; padding: 28px; border: 1px solid rgba(136,19,55,.1); border-radius: 19px; box-shadow: 0 18px 48px rgba(55,29,38,.11); }
.checkout-card h2 { margin: 7px 0 19px; font-size: 27px; letter-spacing: -.035em; }
.checkout-totals { display: grid; gap: 12px; margin-bottom: 22px; padding: 16px; border-radius: 12px; background: #f7f2ee; }
.checkout-totals > div { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); font-size: 12px; }
.checkout-totals strong { color: var(--ink); font-size: 12px; text-align: right; }
.checkout-totals .checkout-grand-total { align-items: end; margin-top: 4px; padding-top: 13px; border-top: 1px solid var(--line); }
.checkout-totals .checkout-grand-total strong { color: var(--blue); font-size: 19px; }
.checkout-card form { display: grid; gap: 12px; }
.checkout-card label { display: grid; gap: 5px; margin: 0; color: #5e565a; font-size: 11px; font-weight: 700; }
.checkout-card input, .checkout-card select, .checkout-card textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); outline: none; }
.checkout-card input:focus, .checkout-card select:focus, .checkout-card textarea:focus { border-color: rgba(136,19,55,.5); box-shadow: 0 0 0 3px rgba(136,19,55,.07); }
.checkout-card textarea { min-height: 75px; resize: vertical; }
.checkout-card .checkout-consent { display: flex; grid-template-columns: none; align-items: center; gap: 8px; font-weight: 500; }
.checkout-consent input { flex: 0 0 auto; width: 16px; min-height: 16px; margin: 0; }
.checkout-submit, .checkout-whatsapp { width: 100%; min-height: 47px; border-radius: 10px; font-weight: 800; }
.checkout-submit { justify-content: space-between; padding-inline: 16px; }
.checkout-whatsapp { border-color: #169b4b; background: #169b4b; color: #fff; }
.checkout-note { margin: 14px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; text-align: center; }

@media (max-width: 1080px) {
    .cart-workspace { grid-template-columns: 1fr; }
    .checkout-card { position: static; }
    .empty-cart-layout { grid-template-columns: 1fr; }
    .cart-help-panel { padding-block: 38px; }
}
@media (max-width: 760px) {
    .cart-page { padding-top: 36px; }
    .cart-page-head { align-items: flex-start; flex-direction: column; }
    .cart-product-row { grid-template-columns: 72px 1fr; align-items: start; }
    .cart-product-image { width: 72px; height: 92px; grid-row: span 2; }
    .cart-product-quantity { grid-column: 2; }
    .cart-product-total { grid-column: 2; text-align: left; }
    .cart-update-bar { align-items: stretch; flex-direction: column; }
    .cart-update-bar .store-btn { width: 100%; }
}
@media (max-width: 480px) {
    .empty-cart-state, .cart-help-panel { padding: 30px 24px; }
    .empty-cart-layout { border-radius: 18px; }
    .empty-cart-actions { flex-direction: column; width: 100%; }
    .empty-cart-actions .store-btn { width: 100%; }
    .checkout-card { padding: 22px 18px; }
}

/* Light premium balance */
.store-topline { background: #8b1e3f; color: rgba(255,255,255,.9); }
.hero-store {
    background:
        radial-gradient(circle at 78% 12%, rgba(212,175,55,.2), transparent 24rem),
        radial-gradient(circle at 5% 90%, rgba(139,30,63,.1), transparent 28rem),
        linear-gradient(125deg,#fffdfb 0%,#f8eeee 58%,#eed9df 120%);
    color: #272126;
}
.hero-store::after { color: rgba(139,30,63,.035); }
.hero-kicker { color: #8b1e3f; }
.hero-copy h1 em { color: #8b1e3f; }
.hero-copy p { color: #70646a; }
.hero-actions .store-btn { border-color: rgba(139,30,63,.14); background: rgba(255,255,255,.72); color: #6f1733; }
.hero-actions .store-btn.primary { background: linear-gradient(135deg,#8b1e3f,#68142f); color: #fff; }
.hero-proof { border-top-color: rgba(139,30,63,.1); }
.hero-proof span { color: #817279; }
.hero-proof strong { color: #34292e; }
.book-stage { border-color: rgba(139,30,63,.1); background: rgba(255,255,255,.58); box-shadow: 0 24px 55px rgba(74,41,51,.12); }
.cover-blue { background: linear-gradient(150deg,#668ba5,#315a78); }
.cover-teal { background: linear-gradient(150deg,#6da49b,#397168); }
.cover-gold { background: linear-gradient(150deg,#e1c164,#b68827); }
.store-band {
    background:
        radial-gradient(circle at 90% 20%, rgba(212,175,55,.22), transparent 18rem),
        linear-gradient(120deg,#f5e7e8,#ead2d9);
    color: #33272c;
    box-shadow: 0 20px 45px rgba(74,41,51,.1);
}
.store-band p { color: #76666d; }
.store-footer { background: #eee3de; color: #75686d; }
.cart-help-panel {
    border-left: 1px solid rgba(139,30,63,.09);
    background:
        radial-gradient(circle at 90% 10%, rgba(212,175,55,.18), transparent 16rem),
        linear-gradient(150deg,#f5e9e9,#ead5db);
    color: #30272b;
}
.cart-help-panel .section-eyebrow { color: #8b1e3f; }
.cart-help-panel li { border-bottom-color: rgba(139,30,63,.1); }
.cart-help-panel li b { color: #8b1e3f; }
.cart-help-panel li span { color: #786970; }
.cart-help-panel li strong { color: #30272b; }
.cart-help-panel > p { color: #776970; }
.empty-cart-layout { border: 1px solid rgba(139,30,63,.08); box-shadow: 0 22px 52px rgba(74,41,51,.09); }
.buy-now, .cart-icon-btn { background: #8b1e3f; border-color: #8b1e3f; }

/* Cross-storefront fluidity and responsive behavior */
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; }
.store-menu-toggle { display: none; }
.store-mobile-nav-head,.store-nav-backdrop{display:none}
.store-btn, .store-header a, .category-strip button, .quantity-stepper button, .product-action-icon {
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease;
}
.store-btn:active, .category-cards a:active, .store-product:active { transform: translateY(0) scale(.99); }
.header-search input, .store-search, .smart-filters select, .checkout-card input, .checkout-card select, .checkout-card textarea { min-width: 0; }
.store-category-nav { overscroll-behavior-inline: contain; scrollbar-width: none; }
.store-category-nav::-webkit-scrollbar { display: none; }
.product-rail, .product-grid { grid-auto-rows: 1fr; }
.store-product { min-width: 0; }
.cart-page, .store-section { width: 100%; }

@media (max-width: 1120px) {
    .product-list .product-info { grid-template-columns: 80px minmax(180px, 1fr) 110px minmax(190px, auto); }
    .product-list .product-categories { display: none; }
}

@media (max-width: 780px) {
    .catalogue-tools { width: 100%; }
    .catalogue-tools .store-search { width: 100%; }
    .product-list .product-info { grid-template-columns: minmax(150px, 1fr) 105px minmax(125px, auto); }
    .product-list .product-code { display: none; }
}

@media (max-width: 560px) {
    .catalogue-head { gap: 14px; }
    .view-switcher { grid-template-columns: repeat(2, 34px); }
    .view-switcher button { width: 34px; }
    .product-list .store-product { grid-template-columns: 48px minmax(0, 1fr); min-height: 56px; }
    .product-list .product-photo { width: 48px; height: 56px; padding: 3px; }
    .product-list .mini-cover { min-height: 56px; }
    .product-list .product-info { grid-template-columns: minmax(100px, 1fr) 92px 78px; gap: 7px; padding: 6px 8px; }
    .product-list .quantity-stepper { display: none; }
    .product-list .kapee-price strong { font-size: 11px; }
}

@media (max-width: 1100px) {
    .store-header { gap: 15px; }
    .header-search { min-width: min(400px,37vw); }
    .store-header nav { gap: 14px; }
    .hero-store { grid-template-columns: minmax(0,1fr) minmax(320px,.72fr); gap: 28px; }
}

@media (max-width: 860px) {
    .store-topline { align-items: center; flex-direction: row; white-space: nowrap; overflow: hidden; }
    .store-topline span:first-child { overflow: hidden; text-overflow: ellipsis; }
    .store-topline span:last-child { flex: 0 0 auto; }
    .store-header {
        display: grid;
        grid-template-columns: minmax(0,1fr) 44px;
        align-items: center;
        gap: 12px;
        padding-block: 12px;
    }
    .store-brand { grid-column: 1; }
    .store-menu-toggle {
        grid-column: 2;
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid var(--line);
        border-radius: 10px;
        background: #fff;
        color: var(--blue);
        cursor: pointer;
    }
    .store-menu-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
    .header-search { grid-column: 1 / -1; grid-row: 2; width: 100%; min-width: 0; }
    .store-header nav {
        grid-column: 1 / -1;
        grid-row: 3;
        display: grid;
        grid-template-columns: repeat(4,1fr);
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-7px);
        pointer-events: none;
        transition: max-height .26s ease, opacity .2s ease, transform .2s ease, padding .2s ease;
    }
    .store-header.is-menu-open nav { max-height: 90px; padding: 8px 0 3px; opacity: 1; transform: translateY(0); pointer-events: auto; }
    .store-header nav a { min-height: 40px; display: grid; place-items: center; border-radius: 8px; background: #f8f1ee; font-size: 12px; text-align: center; }
    .hero-store { grid-template-columns: 1fr; }
    .section-title, .catalogue-head, .store-footer { width: 100%; }
}

@media (max-width: 640px) {
    .store-topline span:first-child { display: none; }
    .store-topline { justify-content: center; }
    .store-header nav { grid-template-columns: repeat(2,1fr); }
    .store-header.is-menu-open nav { max-height: 150px; }
    .store-brand { font-size: 19px; }
    .store-brand span { width: 39px; height: 39px; }
    .hero-store { padding-inline: 22px; }
    .store-section, .category-showcase { padding-inline: 18px; }
    .section-title { align-items: flex-start; gap: 8px; }
    .section-title h2 { font-size: 31px; }
    .smart-filters { gap: 8px; }
    .cart-product-row { gap: 12px; padding: 16px; }
}

@media (max-width: 520px) {
    .product-rail, .product-grid { grid-template-columns: 1fr; }
    .store-product { grid-template-rows: 290px minmax(306px,1fr); }
    .product-photo { height: 290px; }
    .category-cards { grid-template-columns: 1fr; }
    .cart-page-head h1 { font-size: 43px; }
    .cart-panel-head { align-items: flex-start; flex-direction: column; }
}

@media (hover: none) {
    .store-product:hover, .category-cards a:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Public information, discovery, enquiry, and tracking pages */
.public-page-hero { padding: clamp(64px,9vw,120px) min(8vw,130px); background: radial-gradient(circle at 85% 10%,rgba(212,175,55,.2),transparent 24rem),linear-gradient(125deg,#fffdfb,#f2dfe4); }
.public-page-hero h1 { max-width: 900px; margin: 13px 0 18px; font-size: clamp(42px,6.5vw,82px); line-height: 1; letter-spacing: -.06em; }
.public-page-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.story-grid > article > span { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.story-grid h2 { margin: 10px 0; font-size: 38px; letter-spacing: -.045em; }
.story-grid p { color: var(--muted); line-height: 1.7; }
.story-values { display: grid; gap: 10px; }
.story-values article { display: grid; grid-template-columns: 42px 1fr; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.story-values b { grid-row: span 2; color: var(--blue); font-size: 11px; }
.story-values strong { font-size: 17px; }
.story-values p { margin: 5px 0 0; font-size: 13px; }
.public-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin: 20px min(5vw,72px) 70px; padding: 42px; border-radius: 20px; background: #efe0e4; }
.public-cta h2 { margin: 7px 0; font-size: 32px; }
.public-cta p { margin: 0; color: var(--muted); }
.public-cta .store-btn { flex: 0 0 auto; border-radius: 10px; }

.public-form-page { display: grid; grid-template-columns: .75fr 1.05fr; gap: clamp(30px,6vw,90px); max-width: 1320px; margin: 0 auto; padding-top: 70px; }
.contact-intro h1 { margin: 12px 0; font-size: clamp(42px,5.5vw,68px); line-height: 1; letter-spacing: -.055em; }
.contact-intro > p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.contact-options { display: grid; gap: 10px; margin-top: 28px; }
.contact-options div { padding: 15px 17px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.55); }
.contact-options strong, .contact-options span { display: block; }
.contact-options span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.public-form-card { padding: clamp(24px,4vw,42px); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.public-form-card form { display: grid; gap: 15px; }
.public-form-card label, .tracking-card label { display: grid; gap: 6px; color: #62565c; font-size: 12px; font-weight: 700; }
.public-form-card input, .public-form-card select, .public-form-card textarea, .tracking-card input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); }
.public-form-card textarea { resize: vertical; }
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.public-form-card .store-btn { justify-content: space-between; width: 100%; min-height: 48px; border-radius: 10px; }
.public-form-card > p { margin: 14px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.books-page { max-width: 1540px; margin: 0 auto; }
.book-facets { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 28px; }
.book-facets > div { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.book-facets strong { display: block; margin-bottom: 10px; color: var(--blue); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.book-facets nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; }
.book-facets a { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: #f6efec; color: #66585e; font-size: 11px; }
.book-facets a.is-active { background: var(--blue); color: #fff; }
.catalogue-empty { padding: 70px 20px; border: 1px dashed rgba(139,30,63,.2); border-radius: 18px; text-align: center; }
.catalogue-empty p { color: var(--muted); }

.tracking-page { max-width: 1120px; margin: 0 auto; }
.tracking-card { display: grid; grid-template-columns: 1fr .75fr; gap: 50px; padding: clamp(30px,6vw,70px); border-radius: 22px; background: linear-gradient(135deg,#f5e8eb,#fff); box-shadow: var(--shadow); }
.tracking-card h1 { margin: 10px 0; font-size: clamp(38px,5vw,62px); line-height: 1; letter-spacing: -.055em; }
.tracking-card p { color: var(--muted); line-height: 1.65; }
.tracking-card form { display: grid; align-content: center; gap: 13px; }
.tracking-card .store-btn { width: 100%; border-radius: 10px; }
.tracking-result, .tracking-not-found { margin-top: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.tracking-result h2 { margin: 10px 0 20px; }
.tracking-result > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.tracking-result > div span { padding: 14px; border-radius: 10px; background: #f8f3f0; color: var(--muted); font-size: 11px; }
.tracking-result strong { display: block; margin-top: 6px; color: var(--ink); font-size: 13px; }
.chip-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: #e8f5ee; color: #187554; font-size: 11px; font-weight: 800; }

.sitemap-page { max-width: 1200px; margin: 0 auto; }
.sitemap-page header h1 { margin: 10px 0 35px; font-size: clamp(40px,5vw,64px); letter-spacing: -.055em; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.sitemap-grid section { display: grid; align-content: start; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.sitemap-grid h2 { margin: 0 0 8px; font-size: 17px; }
.sitemap-grid a { color: var(--muted); font-size: 13px; }
.sitemap-grid a:hover { color: var(--blue); }
.store-footer > div { display: grid; gap: 4px; }
.store-footer nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 12px; }
.store-footer a:hover { color: var(--blue); }

@media (max-width: 860px) {
    .story-grid, .public-form-page, .tracking-card { grid-template-columns: 1fr; }
    .book-facets { grid-template-columns: 1fr; }
    .public-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
    .form-split, .tracking-result > div, .sitemap-grid { grid-template-columns: 1fr; }
    .public-page-hero { padding-inline: 22px; }
    .public-page-hero h1 { font-size: 46px; }
    .public-cta { margin-inline: 18px; padding: 28px 22px; }
}

.connectivity-banner{position:fixed;z-index:100;left:50%;bottom:18px;display:flex;align-items:center;gap:12px;max-width:calc(100vw - 28px);padding:10px 12px 10px 15px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 16px 42px rgba(40,25,30,.18);font-size:12px;transform:translateX(-50%)}.connectivity-banner[hidden]{display:none}.connectivity-banner.is-offline{border-color:rgba(180,35,24,.25);background:#fff4f2}.connectivity-banner button{min-height:32px;padding:5px 10px;border:0;border-radius:8px;background:var(--blue);color:#fff;font-weight:700;cursor:pointer}

/* Product detail */
.product-detail-page{max-width:1450px;margin:0 auto}.product-breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:24px;color:var(--muted);font-size:11px}.product-breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-detail-grid{display:grid;grid-template-columns:minmax(320px,.8fr) minmax(0,1fr);gap:clamp(30px,6vw,85px);align-items:start}.product-detail-media{display:grid;place-items:center;min-height:580px;padding:28px;border-radius:22px;background:linear-gradient(145deg,#f4ebe6,#fff);box-shadow:var(--shadow)}.product-detail-media img{width:100%;height:540px;object-fit:contain}.product-detail-copy{padding-top:20px}.product-detail-copy h1{margin:10px 0;font-size:clamp(38px,4.8vw,66px);line-height:1;letter-spacing:-.055em}.product-subtitle{color:var(--muted);font-size:17px}.product-meta-chips{display:flex;flex-wrap:wrap;gap:7px;margin:18px 0}.product-meta-chips span{padding:6px 10px;border-radius:999px;background:#f2e6e9;color:var(--blue);font-size:11px;font-weight:700}.product-detail-price{display:block;margin:20px 0;color:var(--blue);font-size:30px}.product-detail-description{max-width:720px;color:var(--muted);line-height:1.75}.product-detail-cart{display:flex;gap:10px;margin-top:24px}.product-detail-cart .store-btn{min-width:170px;border-radius:10px}.product-detail-whatsapp{width:max-content;margin-top:9px;border-radius:10px}.product-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin-top:28px;border-top:1px solid var(--line)}.product-specs div{display:grid;grid-template-columns:90px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid var(--line)}.product-specs dt{color:var(--muted);font-size:11px}.product-specs dd{margin:0;font-size:12px;font-weight:700}.related-products{margin-top:70px}
@media(max-width:850px){.product-detail-grid{grid-template-columns:1fr}.product-detail-media{min-height:420px}.product-detail-media img{height:390px}.product-detail-copy{padding-top:0}}@media(max-width:520px){.product-detail-media{min-height:330px;padding:15px}.product-detail-media img{height:300px}.product-detail-copy h1{font-size:40px}.product-detail-cart{align-items:stretch;flex-direction:column}.product-detail-cart .quantity-stepper{width:118px}.product-detail-cart .store-btn,.product-detail-whatsapp{width:100%}.product-specs{grid-template-columns:1fr}}

/* Laptop-first header and no-wrap navigation */
.store-header{display:grid;grid-template-columns:auto minmax(260px,310px) minmax(0,1fr);align-items:center;gap:clamp(14px,2vw,28px);padding-inline:clamp(24px,4vw,64px)}
.store-brand,.header-search,.store-header nav{min-width:0}.header-search{width:100%;min-width:0;max-width:310px;justify-self:center}.store-header nav{display:flex;align-items:center;justify-content:flex-end;gap:4px;padding:4px;border:1px solid rgba(52,120,185,.12);border-radius:12px;background:#f3f8fc;white-space:nowrap}.store-header nav a{display:inline-flex;align-items:center;min-height:36px;padding:0 11px;border-radius:8px;color:#42566b;white-space:nowrap;transition:color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease}.store-header nav a::after{display:none}.store-header nav a:hover{color:var(--blue);background:#fff;box-shadow:0 4px 12px rgba(35,83,128,.09);transform:translateY(-1px)}.store-header nav a[aria-current="page"]{color:#fff;background:var(--blue);box-shadow:0 5px 14px rgba(35,83,128,.2)}.store-category-nav{justify-content:center;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}.store-category-nav a{flex:0 0 auto;white-space:nowrap}
@media(max-width:1360px){.store-header{grid-template-columns:auto minmax(240px,310px) minmax(0,1fr);gap:16px;padding-inline:3vw}.store-header nav{font-size:12px}.store-header nav a{padding-inline:9px}.store-brand{font-size:20px}}
@media(max-width:1180px) and (min-width:901px){.store-header{grid-template-columns:auto minmax(190px,300px) auto;gap:10px;padding-inline:2vw}.header-search{max-width:300px}.header-search input{font-size:14px}.header-search button{min-width:88px;padding-inline:10px}.store-brand{font-size:18px}.store-brand span{width:38px;height:38px}.store-brand small{font-size:9px}.store-header nav{gap:8px;font-size:11px}}
@media(max-width:900px){.store-header{position:sticky;display:grid;grid-template-columns:auto minmax(190px,330px) 44px;justify-content:space-between;align-items:center;gap:14px;padding-block:12px}.store-brand{grid-column:1;grid-row:1;font-size:18px}.store-brand small{font-size:9px}.header-search{grid-column:2;grid-row:1;width:100%;max-width:330px}.store-menu-toggle{grid-column:3;grid-row:1;display:grid;place-items:center;width:42px;height:42px;padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--blue);cursor:pointer}.store-menu-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.store-header nav{position:absolute;z-index:30;top:calc(100% + 7px);right:3vw;display:grid;grid-template-columns:1fr;width:min(290px,calc(100vw - 28px));max-height:0;padding:0;overflow:hidden;border:0;border-radius:13px;background:#fff;box-shadow:0 18px 48px rgba(52,31,38,.18);opacity:0;transform:translateY(-8px);pointer-events:none;transition:max-height .24s ease,opacity .18s ease,transform .18s ease,padding .18s ease}.store-header.is-menu-open nav{max-height:420px;padding:10px;opacity:1;transform:translateY(0);pointer-events:auto}.store-header nav a{display:flex;align-items:center;min-height:42px;padding:0 12px;border-radius:8px;background:#f8f2ef;font-size:12px}.store-header nav a::after{display:none}}
@media(max-width:680px){body.store-menu-open{overflow:hidden}.store-header{grid-template-columns:minmax(0,1fr) 44px}.store-brand{grid-column:1}.store-menu-toggle{grid-column:2}.header-search{grid-column:1/-1;grid-row:2}.store-category-nav{justify-content:flex-start;padding-inline:18px}.store-topline{min-height:31px}.store-topline span:first-child{display:none}.store-header nav{position:fixed;inset:0 0 0 auto;z-index:80;display:flex;flex-direction:column;justify-content:flex-start;gap:6px;width:min(320px,86vw);max-height:none;height:100dvh;padding:20px;overflow-y:auto;border-radius:0;background:#fff;box-shadow:-18px 0 55px rgba(45,27,34,.2);opacity:1;transform:translateX(105%);pointer-events:none;transition:transform .24s cubic-bezier(.2,.7,.2,1)}.store-header.is-menu-open nav{max-height:none;padding:20px;transform:translateX(0);pointer-events:auto}.store-header nav a{flex:0 0 auto;width:100%;min-height:47px;padding:0 14px;background:#f8f2ef;font-size:13px}.store-mobile-nav-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;padding-bottom:14px;border-bottom:1px solid var(--line)}.store-mobile-nav-head strong{font-size:20px}.store-mobile-nav-head button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--blue);font-size:25px;cursor:pointer}.store-nav-backdrop{position:fixed;inset:0;z-index:70;display:block;border:0;background:rgba(40,27,32,.38);opacity:0;pointer-events:none;backdrop-filter:blur(2px);transition:opacity .2s ease}body.store-menu-open .store-nav-backdrop{opacity:1;pointer-events:auto}}
@media(max-width:430px){.header-search button{min-width:76px;padding-inline:8px}.store-brand small{font-size:9px}}

/* Laptop navigation: keep a conventional, single-line menu bar. The drawer is phone-only. */
@media (min-width:681px) and (max-width:1100px) {
    .store-header {
        position:relative;
        display:grid;
        grid-template-columns:auto minmax(260px,1fr);
        gap:12px 24px;
        padding:14px 3vw 10px;
    }
    .store-brand {
        grid-column:1;
        grid-row:1;
        font-size:18px;
    }
    .store-brand span { width:40px; height:40px; }
    .store-brand small { font-size:9px; }
    .header-search {
        grid-column:2;
        grid-row:1;
        width:min(100%,310px);
        max-width:310px;
        min-width:0;
        justify-self:end;
    }
    .header-search input { font-size:14px; }
    .header-search button { min-width:88px; padding-inline:12px; }
    .store-menu-toggle { display:none !important; }
    .store-header nav,
    .store-header.is-menu-open nav {
        position:static;
        grid-column:1 / -1;
        grid-row:2;
        display:flex;
        align-items:center;
        justify-content:center;
        gap:4px;
        width:100%;
        max-height:none;
        padding:5px;
        overflow:visible;
        border:1px solid rgba(52,120,185,.12);
        border-radius:12px;
        background:#f3f8fc;
        box-shadow:none;
        opacity:1;
        transform:none;
        pointer-events:auto;
        white-space:nowrap;
    }
    .store-header nav a {
        display:inline-flex;
        min-height:36px;
        padding:0 13px;
        border-radius:8px;
        background:transparent;
        font-size:12px;
        white-space:nowrap;
    }
    .store-header nav a::after { display:none; }
    .store-mobile-nav-head { display:none; }
}

/* Smartbrains logo palette */
:root{--ink:#172536;--muted:#647487;--line:rgba(52,120,185,.14);--blue:#3478b9;--teal:#70c42f;--gold:#f5b11d;--bg:#f5f9fc;--surface:#fff;--shadow:0 18px 46px rgba(35,83,128,.12)}
.store-topline{background:#245f98}
.store-brand{grid-template-columns:52px auto;column-gap:11px}
.store-brand img{grid-row:span 2;width:52px;height:52px;padding:2px;border:1px solid rgba(52,120,185,.16);border-radius:50%;background:#fff;object-fit:contain;box-shadow:0 7px 18px rgba(35,83,128,.12)}
.store-brand strong{color:#173b61}
.header-search button,.hero-actions .store-btn.primary{background:linear-gradient(135deg,var(--blue),#245f98)}
.store-category-nav{background:#f1f7fc;border-color:rgba(52,120,185,.12);color:#355a7b}
.hero-store{background:radial-gradient(circle at 78% 12%,rgba(245,177,29,.22),transparent 24rem),radial-gradient(circle at 5% 90%,rgba(112,196,47,.13),transparent 28rem),linear-gradient(125deg,#fff 0%,#edf6fc 58%,#dcecf8 120%);color:#172536}
.hero-store::after{color:rgba(52,120,185,.045)}
.hero-kicker,.hero-copy h1 em{color:#2c6faa}
.hero-copy p{color:#607387}
.hero-actions .store-btn{border-color:rgba(52,120,185,.18);color:#245f98}
.hero-proof{border-top-color:rgba(52,120,185,.12)}
.hero-proof span{color:#6a7d8f}.hero-proof strong{color:#173b61}
.book-stage{border-color:rgba(52,120,185,.14);box-shadow:0 24px 55px rgba(35,83,128,.14)}
.store-band{background:radial-gradient(circle at 90% 20%,rgba(245,177,29,.25),transparent 18rem),linear-gradient(120deg,#edf7fd,#d9edfa);color:#173b61;box-shadow:0 20px 45px rgba(35,83,128,.1)}
.store-band p{color:#5d7488}.category-showcase{background:#eef6fb}
.store-product{border-color:rgba(52,120,185,.1);box-shadow:0 12px 34px rgba(35,83,128,.08)}
.store-product:hover{border-color:rgba(112,196,47,.7);box-shadow:0 22px 50px rgba(35,83,128,.14)}
.product-badge{background:linear-gradient(135deg,#f8c13f,#e89c08)}
.product-info{border-top-color:rgba(52,120,185,.08)}.product-name{color:#172536}
.store-footer{background:#e8f2f9;color:#5d7183}
.cart-help-panel{border-left-color:rgba(52,120,185,.12);background:radial-gradient(circle at 90% 10%,rgba(245,177,29,.2),transparent 16rem),linear-gradient(150deg,#eff8fd,#dceef9)}
.cart-help-panel .section-eyebrow,.cart-help-panel li b{color:#2c6faa}
.buy-now,.cart-icon-btn{background:var(--blue);border-color:var(--blue)}
.checkout-totals{background:#f0f7fc}
.checkout-card input:focus,.checkout-card select:focus,.checkout-card textarea:focus{border-color:rgba(52,120,185,.55);box-shadow:0 0 0 3px rgba(52,120,185,.1)}
@media(max-width:1180px){.store-brand img{width:46px;height:46px}}
@media(max-width:680px){.store-brand{grid-template-columns:44px auto}.store-brand img{width:44px;height:44px}}
@media(max-width:520px){.category-cards a{grid-template-columns:74px minmax(0,1fr)}.category-cards .category-icon{width:72px;height:72px;border-radius:18px}.category-icon svg{width:39px;height:39px}}

/* Bloomy Elite-inspired catalogue layout, adapted to Smartbrains */
.catalogue-hero{padding:clamp(54px,7vw,92px) min(5vw,72px);text-align:center;background:radial-gradient(circle at 82% 16%,rgba(245,177,29,.24),transparent 22rem),linear-gradient(135deg,#eaf5fc,#f8fbfd)}
.catalogue-hero h1{max-width:850px;margin:10px auto 14px;color:#173b61;font-size:clamp(40px,5vw,66px);line-height:1.02;letter-spacing:-.055em}.catalogue-hero p{max-width:760px;margin:0 auto;color:#5d7488;font-size:16px;line-height:1.65}
.catalogue-shell{max-width:1450px;margin:0 auto;padding:42px min(5vw,72px) 70px}.catalogue-sidebar{display:grid;grid-template-columns:minmax(300px,1.5fr) repeat(3,minmax(160px,.75fr));align-items:end;margin-bottom:24px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 12px 34px rgba(35,83,128,.07)}
.catalogue-sidebar-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid var(--line);background:#f7fbfe}.catalogue-sidebar-head h2{margin:0;color:#173b61;font-size:17px}
.catalogue-filter-group{min-width:0;padding:16px 18px;border-left:1px solid var(--line)}.catalogue-category-filter{border-left:0}.catalogue-filter-group h3{margin:0 0 9px;color:#173b61;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.catalogue-filter-group select{width:100%;min-height:42px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}
.catalogue-category-options{display:flex;flex-wrap:wrap;gap:6px}.catalogue-category-options button{display:inline-flex;width:auto;min-height:36px;align-items:center;padding:7px 11px;border:0;border-radius:18px;background:#f2f7fb;color:var(--muted);cursor:pointer}.catalogue-category-options button:hover{background:#e8f2f9;color:var(--blue)}.catalogue-category-options button.is-active{background:var(--blue);color:#fff;font-weight:800}
.catalogue-results{min-width:0}.catalogue-search{position:relative;display:block;margin-bottom:22px}.catalogue-search svg{position:absolute;left:18px;top:50%;width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:1.8;transform:translateY(-50%)}.catalogue-search input{width:100%;min-height:52px;padding:13px 18px 13px 50px;border:2px solid rgba(52,120,185,.18);border-radius:28px;background:#fff;color:var(--ink);font-size:15px;outline:0}.catalogue-search input:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(52,120,185,.08)}
.catalogue-results-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--line)}.catalogue-results-head>div{display:flex;align-items:center;gap:14px}.catalogue-count{color:var(--muted);font-size:14px}.catalogue-count strong{color:var(--ink)}.catalogue-filter-open{display:none;align-items:center;gap:7px;min-height:40px;padding:8px 14px;border:0;border-radius:20px;background:var(--blue);color:#fff;font-weight:750;cursor:pointer}.catalogue-filter-open svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.catalogue-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.catalogue-products .store-product{grid-template-rows:300px minmax(316px,1fr);border-radius:20px}.catalogue-products .product-photo{background:#f3f7fa}.catalogue-products .store-product:hover{transform:translateY(-7px)}.catalogue-products.product-list{grid-template-columns:1fr;gap:8px}.catalogue-products.product-list .store-product{grid-template-columns:52px minmax(0,1fr);grid-template-rows:none;min-height:60px;border-radius:10px;transform:none}
.catalogue-pagination{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:34px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;background:#fff}.catalogue-pagination form,.catalogue-pagination nav{display:flex;align-items:center;gap:10px}.catalogue-pagination label,.catalogue-pagination span{color:var(--muted);font-size:12px}.catalogue-pagination select{min-height:36px;padding:6px 9px;border:1px solid var(--line);border-radius:8px;background:#fff}.catalogue-pagination a{padding:8px 11px;border-radius:8px;background:#edf5fa;color:var(--blue);font-size:12px;font-weight:750}
.catalogue-filter-backdrop{position:fixed;inset:0;z-index:89;border:0;background:rgba(23,37,54,.42);backdrop-filter:blur(2px)}

/* Bloomy Elite-inspired product detail layout */
.product-breadcrumb{max-width:1400px;margin:0 auto;padding:24px min(5vw,72px);font-size:12px}.bloom-product-container{display:grid;grid-template-columns:minmax(360px,1fr) minmax(420px,1fr);gap:clamp(42px,6vw,90px);max-width:1400px;margin:0 auto;padding:0 min(5vw,72px) 76px}.bloom-product-gallery{position:sticky;top:110px;align-self:start}.bloom-product-image{position:relative;display:grid;place-items:center;min-height:610px;overflow:hidden;border-radius:22px;background:linear-gradient(145deg,#edf5fa,#fff);box-shadow:var(--shadow)}.bloom-product-image img{width:100%;height:580px;padding:28px;object-fit:contain}.bloom-product-image .mini-cover{width:100%;min-height:610px}.bloom-media-note{display:grid;gap:4px;margin-top:14px;padding:16px 18px;border:1px solid var(--line);border-radius:13px;background:#fff}.bloom-media-note strong{font-size:13px}.bloom-media-note span{color:var(--muted);font-size:12px;line-height:1.5}
.bloom-product-details{padding-top:12px}.product-category-link{display:inline-flex;margin-bottom:15px;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.bloom-product-details h1{margin:0 0 12px;color:#172536;font-size:clamp(38px,4.2vw,60px);line-height:1.05;letter-spacing:-.05em}.bloom-product-subtitle{margin:0 0 20px;color:var(--muted);font-size:17px;line-height:1.55}.bloom-product-meta{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.bloom-product-meta span{padding:7px 11px;border-radius:999px;background:#e9f3fa;color:#28689f;font-size:11px;font-weight:750}.bloom-price-block{display:grid;gap:4px;margin:24px 0;padding:20px 0;border-block:1px solid var(--line)}.bloom-price-block strong{color:var(--blue);font-size:31px}.bloom-price-block span{color:var(--muted);font-size:12px}.bloom-product-description{color:var(--muted);font-size:15px;line-height:1.75}
.bloom-cart-section{display:flex;gap:10px;margin-top:26px}.bloom-add-cart{display:inline-flex;gap:9px;min-width:210px;border-radius:10px;background:linear-gradient(135deg,var(--blue),#245f98);color:#fff}.bloom-add-cart svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.bloom-whatsapp{width:100%;margin-top:10px;border-radius:10px}.bloom-order-benefits{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.bloom-order-benefits article{display:grid;gap:5px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff}.bloom-order-benefits strong{color:#173b61;font-size:13px}.bloom-order-benefits span{color:var(--muted);font-size:11px;line-height:1.5}.bloom-product-specs{display:grid;grid-template-columns:1fr 1fr;margin-top:28px;border-top:1px solid var(--line)}.bloom-product-specs div{display:grid;grid-template-columns:80px 1fr;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}.bloom-product-specs dt{color:var(--muted);font-size:11px}.bloom-product-specs dd{margin:0;font-size:12px;font-weight:750}.bloom-related-products{max-width:1400px;margin:0 auto;padding-top:0}
@media(max-width:1000px){.catalogue-products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.catalogue-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px){.catalogue-sidebar{grid-template-columns:repeat(3,minmax(0,1fr))}.catalogue-category-filter{grid-column:1/-1;border-bottom:1px solid var(--line)}.catalogue-filter-group:nth-of-type(2){border-left:0}.bloom-product-container{grid-template-columns:1fr}.bloom-product-gallery{position:static}.bloom-product-image{min-height:480px}.bloom-product-image img{height:450px}}
@media(max-width:620px){.catalogue-hero{padding-inline:22px}.catalogue-shell{padding:28px 18px 55px}.catalogue-sidebar{grid-template-columns:1fr}.catalogue-category-filter,.catalogue-filter-group{grid-column:auto;border-left:0;border-bottom:1px solid var(--line)}.catalogue-filter-group:last-child{border-bottom:0}.catalogue-results-head{align-items:flex-start}.catalogue-products{grid-template-columns:1fr}.catalogue-pagination{align-items:flex-start;flex-direction:column}.catalogue-pagination nav{width:100%;justify-content:space-between}.bloom-product-container{padding-inline:18px;gap:30px}.product-breadcrumb{padding-inline:18px}.bloom-product-image{min-height:360px}.bloom-product-image img{height:340px;padding:16px}.bloom-cart-section{align-items:stretch;flex-direction:column}.bloom-add-cart{width:100%}.bloom-order-benefits,.bloom-product-specs{grid-template-columns:1fr}.bloom-product-details h1{font-size:40px}}

/* Book depth: turn flat cover artwork into a physical-looking book */
.store-product .product-photo {
    width: calc(100% - 46px);
    height: calc(100% - 34px);
    margin: 17px 23px;
    padding: 0;
    border: 1px solid rgba(22, 43, 64, .16);
    border-left: 5px solid rgba(20, 47, 72, .34);
    border-radius: 2px 5px 5px 2px;
    background: #fff;
    box-shadow:
        -3px 1px 0 rgba(255, 255, 255, .96),
        -7px 3px 0 rgba(29, 61, 88, .16),
        11px 13px 17px rgba(23, 52, 78, .25),
        3px 5px 6px rgba(23, 52, 78, .18);
    filter: saturate(1.02);
    transform: perspective(900px) rotateY(-2deg);
    transform-origin: left center;
    transition: transform .3s ease, box-shadow .3s ease;
}
.store-product:hover .product-photo {
    box-shadow:
        -3px 1px 0 rgba(255, 255, 255, .98),
        -8px 3px 0 rgba(29, 61, 88, .18),
        15px 18px 22px rgba(23, 52, 78, .3),
        4px 6px 8px rgba(23, 52, 78, .2);
    transform: perspective(900px) rotateY(-1deg) translateY(-3px);
}
.store-product .mini-cover {
    width: calc(100% - 46px);
    min-height: calc(100% - 34px);
    margin: 17px 23px;
    border-left: 7px solid rgba(10, 40, 66, .34);
    border-radius: 2px 5px 5px 2px;
    box-shadow: -7px 3px 0 rgba(29,61,88,.16), 11px 13px 17px rgba(23,52,78,.25);
    transform: perspective(900px) rotateY(-2deg);
}
.product-list .product-photo {
    width: 42px;
    height: 50px;
    margin: 5px;
    border-left-width: 2px;
    box-shadow: -2px 1px 0 rgba(29,61,88,.18), 4px 5px 7px rgba(23,52,78,.2);
    transform: none;
}
.product-list .mini-cover {
    width: 42px;
    min-height: 50px;
    margin: 5px;
    border-left-width: 2px;
    box-shadow: -2px 1px 0 rgba(29,61,88,.18), 4px 5px 7px rgba(23,52,78,.2);
    transform: none;
}
.bloom-product-image img {
    width: auto;
    max-width: calc(100% - 84px);
    height: 535px;
    padding: 0;
    border: 1px solid rgba(22,43,64,.16);
    border-left: 8px solid rgba(20,47,72,.34);
    border-radius: 2px 7px 7px 2px;
    background: #fff;
    box-shadow:
        -5px 2px 0 rgba(255,255,255,.96),
        -11px 5px 0 rgba(29,61,88,.16),
        22px 26px 32px rgba(23,52,78,.28),
        6px 9px 12px rgba(23,52,78,.2);
    transform: perspective(1100px) rotateY(-2deg);
    transform-origin: left center;
}
@media(max-width:900px){.bloom-product-image img{height:410px;max-width:calc(100% - 70px)}}
@media(max-width:620px){.bloom-product-image img{height:300px;max-width:calc(100% - 56px);padding:0}.store-product .product-photo{width:calc(100% - 38px);height:calc(100% - 30px);margin:15px 19px}.store-product .mini-cover{width:calc(100% - 38px);min-height:calc(100% - 30px);margin:15px 19px}}

/* The desktop tab card should wrap its links, without moving the links themselves. */
@media (min-width:1101px) {
    .store-header {
        grid-template-columns: auto minmax(260px,310px) max-content 46px;
    }
    .store-header nav {
        width: max-content;
        justify-self: end;
    }
}

.header-cart {
    position: relative;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(52,120,185,.16);
    border-radius: 12px;
    background: #f3f8fc;
    color: #315f86;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.header-cart:hover,.header-cart[aria-current="page"] {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 7px 18px rgba(35,83,128,.22);
    transform: translateY(-1px);
}
.header-cart svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.header-cart span {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--gold);
    color: #172536;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}
@media (min-width:681px) and (max-width:1100px) {
    .store-header { grid-template-columns: auto minmax(260px,1fr) 46px; }
    .header-cart { grid-column:3;grid-row:1; }
    .store-header nav,.store-header.is-menu-open nav { grid-column:1/-1; }
}
@media (max-width:680px) {
    .store-header { grid-template-columns:minmax(0,1fr) 44px 44px; }
    .header-cart { grid-column:2;grid-row:1;width:42px;height:42px; }
    .store-menu-toggle { grid-column:3; }
    .header-search { grid-column:1/-1; }
}

/* Accessible storefront popups */
.store-popup{width:min(560px,calc(100vw - 32px));max-height:min(82vh,720px);padding:30px;border:1px solid rgba(52,120,185,.18);border-radius:20px;background:#fff;color:var(--ink);box-shadow:0 30px 90px rgba(18,48,73,.28);overflow:auto}.store-popup::backdrop{background:rgba(12,30,45,.55);backdrop-filter:blur(5px)}.store-popup h2{margin:9px 0 12px;color:#173b61;font-size:28px}.store-popup p{color:var(--muted);line-height:1.65}.store-popup-close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#edf5fa;color:var(--blue);font-size:25px;cursor:pointer}.popup-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.tracking-popup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.tracking-popup-grid span{padding:14px;border-radius:11px;background:#f2f7fb;color:var(--muted);font-size:11px}.tracking-popup-grid strong{display:block;margin-top:6px;color:var(--ink);font-size:13px}.tracking-popup>.store-btn{width:100%;margin-top:8px}@media(max-width:560px){.store-popup{padding:25px 20px}.tracking-popup-grid{grid-template-columns:1fr}.popup-actions{align-items:stretch;flex-direction:column-reverse}.popup-actions .store-btn{width:100%}}
html[data-button-style="rounded"] button,html[data-button-style="rounded"] .store-cta{border-radius:999px}
html[data-button-style="square"] button,html[data-button-style="square"] .store-cta{border-radius:0}
.store-brand .brand-logo-dark{display:none}
[data-theme="dark"] .store-brand .brand-logo-light.has-dark-counterpart{display:none}
[data-theme="dark"] .store-brand .brand-logo-dark{display:block}

/* 2026 UI consolidation */
:root{--radius-sm:8px;--radius-md:12px;--radius-lg:20px;--focus-ring:0 0 0 3px color-mix(in srgb,var(--blue) 28%,transparent)}
html{scroll-behavior:smooth}body{line-height:1.5;text-rendering:optimizeLegibility}button,input,select,textarea{font-size:16px}button,[type="button"],[type="submit"],a{touch-action:manipulation}button:disabled,[aria-disabled="true"]{cursor:not-allowed;opacity:.55}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--blue);outline-offset:2px;box-shadow:var(--focus-ring)}
:where(input,select,textarea){min-height:44px;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;color:var(--ink)}textarea{min-height:120px;resize:vertical}:where(input,select,textarea)::placeholder{color:#707985;opacity:1}
.store-alert{max-width:1450px;margin:14px auto;padding:14px 18px;border:1px solid var(--line);border-left-width:4px;border-radius:var(--radius-md);background:#fff}.store-alert.success{border-left-color:#16815f}.store-alert.error{border-left-color:#b42318}
.store-header{min-height:82px}.store-header nav{max-width:100%}.store-header nav a{min-height:40px}.header-search{border-radius:var(--radius-md)}.header-search input,.header-search button{min-height:48px}.header-cart{flex:0 0 auto}
.store-category-nav{gap:clamp(16px,2.4vw,34px);scrollbar-width:thin}.store-category-nav a{min-height:32px;display:inline-flex;align-items:center}
.catalogue-hero{padding-block:clamp(52px,7vw,92px)}.catalogue-shell{padding-top:32px}.catalogue-sidebar{margin-bottom:20px}.catalogue-results-head{margin-bottom:18px}
.catalogue-products .store-product{grid-template-rows:280px minmax(290px,1fr);height:100%}.catalogue-products .product-info{display:flex;flex-direction:column;min-width:0}.catalogue-products .product-info h3{display:-webkit-box;min-height:2.8em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.catalogue-products .product-info>p{min-height:3em}.catalogue-products .product-price{margin-top:auto}.catalogue-products .product-actions{margin-top:14px}
.store-product :where(button,a){min-height:44px}.quantity-stepper button{min-width:36px;min-height:36px}.quantity-stepper input{min-height:36px}.public-form-page label,.checkout-card label{font-size:13px;font-weight:700}.public-form-page :where(input,select,textarea),.checkout-card :where(input,select,textarea){width:100%}
.store-popup{position:relative}.store-popup-close{width:44px;height:44px}.store-footer a{min-height:36px;display:inline-flex;align-items:center}
@media(max-width:1100px) and (min-width:901px){.store-header{grid-template-columns:minmax(250px,.8fr) minmax(220px,.7fr) minmax(0,1.15fr) 46px}.store-brand strong{font-size:18px}.store-header nav{gap:2px}.store-header nav a{padding-inline:7px;font-size:11px}}
@media(max-width:900px){.store-header nav{max-height:0}.store-header.is-menu-open nav{max-height:min(520px,calc(100vh - 100px));overflow-y:auto}.store-category-nav{justify-content:flex-start;padding-inline:18px}.catalogue-hero{padding-block:48px}.catalogue-products .store-product{grid-template-rows:250px minmax(280px,1fr)}}
@media(max-width:680px){.store-topline{justify-content:center;text-align:center}.store-header{gap:10px;padding-inline:16px}.store-brand strong{font-size:17px}.header-search input{min-width:0}.hero-store{min-height:auto;padding-top:38px}.hero-copy h1{font-size:clamp(40px,13vw,56px)}.catalogue-hero h1{font-size:clamp(38px,12vw,54px)}.catalogue-products .store-product{grid-template-rows:280px auto}.form-split{grid-template-columns:1fr}.store-popup{padding:26px 18px}}
@media(max-width:430px){.store-brand small{display:none}.header-search button{min-width:82px}.hero-actions,.product-actions,.popup-actions{align-items:stretch;flex-direction:column}.hero-actions>*{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
