/* ============================================================
   BeniSense / Astra Child — custom.css  v1.4.0
   ------------------------------------------------------------
   Index
     T. Brand tokens (logo colours)
     H. Homepage / footer / contact          (unchanged)
     0. Global safety rules
     1. Single product: tabs, summary, description, CTA, disclaimer, meta
     2. Single product: image gallery (WooCommerce/FlexSlider-safe)
     3. Single product: related products (list layout)
     4. Category archive pages (.sd-archive-page)
     5. Shop page category directory (.sd-shop-page)
   ============================================================ */


/* ============================================================
   Brand tokens — sampled from the BeniSense logo
     navy  #0B3A6B  "BENI"      sky   #2A9DF4  "SENSE"
     blue  #0C54B4  logo mark   teal  #0CB4A4  logo arrow
   Blue/navy = structure, links, primary buttons.
   Deep teal (from the logo arrow) = ONLY the "Check price" call-to-action.
   ============================================================ */
:root {
    --bs-navy:       #0b3a6b;
    --bs-navy-deep:  #0a2342;  /* footer, text on amber */
    --bs-blue:       #0c54b4;  /* links, primary button */
    --bs-blue-dark:  #0a4496;  /* hover */
    --bs-sky:        #2a9df4;  /* highlights, hover borders */
    --bs-teal:       #077a72;  /* accent arrows, prices (text-safe teal) */
    /* "Check price" call-to-action — the ONE place to change its colour.
       Default: deep teal with white text. Alternatives are listed in the
       comment block at the end of this file (section 7). */
    --bs-cta-from:       #088279;
    --bs-cta-to:         #077a72;
    --bs-cta-hover-from: #066d66;
    --bs-cta-hover-to:   #055e58;
    --bs-cta-text:       #ffffff;
    --bs-cta-glow:       7, 122, 114;   /* rgb triplet for shadows */
    --bs-ink:        #0f2a47;  /* headings */
    --bs-text:       #4a5b70;  /* body copy */
    --bs-muted:      #5b6b80;  /* secondary text */
    --bs-line:       #dce6f2;  /* borders */
    --bs-tint:       #eef5fd;  /* light blue surfaces */
    --bs-tint-2:     #f6faff;
    --bs-shadow:     0 1px 2px rgba(11,58,107,.05), 0 6px 18px rgba(11,58,107,.06);
}

/* ---------- H. BeniSense homepage / footer / contact ---------- */
/* BeniSense homepage */
.bs-site-footer { margin-top: 54px; padding: 38px 24px 18px; background: var(--bs-navy-deep); color: #d7e3f1; }
.bs-site-footer__inner, .bs-site-footer__legal { display: flex; max-width: 1120px; margin: 0 auto; align-items: center; justify-content: space-between; gap: 24px; }
.bs-site-footer__name { color: #fff !important; font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; text-decoration: none !important; }
.bs-site-footer__brand p { margin: 5px 0 0; color: #a9bcd3; font-size: .88rem; }
.bs-site-footer__links { display: flex; flex-wrap: wrap; gap: 22px; }
.bs-site-footer__links a { color: #9fd4ff !important; font-size: .9rem; text-decoration: none !important; }
.bs-site-footer__links a:hover { color: #fff !important; text-decoration: underline !important; }
.bs-site-footer__legal { margin-top: 26px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); color: #93a8c2; font-size: .78rem; }
.bs-site-footer__legal p { margin: 0; }
.bs-contact { display: flex; width: 100%; max-width: none; min-height: 48vh; justify-content: center; margin: 0 auto; padding: 48px 20px 72px; box-sizing: border-box; }
.bs-contact__card { width: min(760px, 100%); max-width: 760px; margin: 0 auto; padding: clamp(28px,6vw,58px); border: 1px solid var(--bs-line); border-radius: 14px; background: linear-gradient(135deg,var(--bs-tint-2),#fff 68%); box-sizing: border-box; }
.bs-contact__card h1 { margin: 0 0 14px; color: var(--bs-ink); font-size: clamp(2rem,5vw,3rem); }
.bs-contact__card > p:not(.bs-home-eyebrow) { color: var(--bs-text); line-height: 1.75; }
.bs-contact__email { display: inline-block; margin: 8px 0 20px; color: var(--bs-blue) !important; font-size: clamp(1.1rem,3vw,1.4rem); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.bs-contact__note { padding: 14px 16px; border-left: 3px solid var(--bs-sky); background: var(--bs-tint); font-size: .9rem; }
@media (max-width: 600px) { .bs-site-footer__inner, .bs-site-footer__legal { align-items: flex-start; flex-direction: column; gap: 14px; } .bs-site-footer__legal { gap: 6px; } .bs-site-footer { padding: 30px 20px 16px; } }
.bs-home { width: min(1160px, calc(100% - 40px)); max-width: none; margin: 0 auto; padding: 24px 0 64px; }
.bs-home-intro { display: grid; grid-template-columns: 90px 1fr; gap: 24px; align-items: start; max-width: 850px; margin: 58px auto 0; padding: 0 20px; }
.bs-home-intro__number { color: var(--bs-sky); font-family: Georgia,serif; font-size: 3.4rem; line-height: 1; }
.bs-home-intro h2 { margin: 0 0 12px; color: var(--bs-ink); font-size: clamp(1.65rem,3.5vw,2.35rem); line-height: 1.2; }
.bs-home-intro div > p:last-child { max-width: 680px; margin: 0; color: var(--bs-text); font-size: 1rem; line-height: 1.8; }
.bs-home-values { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; margin-top: 58px; padding: 30px 0; border-top: 1px solid var(--bs-line); border-bottom: 1px solid var(--bs-line); }
.bs-home-values > div { padding: 0 10px; }
.bs-home-values span { color: var(--bs-blue); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.bs-home-values h3 { margin: 8px 0; color: var(--bs-ink); font-size: 1.05rem; }
.bs-home-values p { margin: 0; color: var(--bs-muted); font-size: .9rem; line-height: 1.65; }
.bs-home-hero { position: relative; display: flex; align-items: center; min-height: 340px; overflow: hidden; padding: 56px clamp(24px, 6vw, 76px); border: 1px solid var(--bs-line); border-radius: 18px; background: linear-gradient(120deg, var(--bs-tint) 0%, #fff 72%); }
.bs-home-hero__content { position: relative; z-index: 1; max-width: 620px; }
.bs-home-eyebrow { margin: 0 0 10px; color: var(--bs-blue); font-size: .76rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.bs-home-hero h1 { margin: 0 0 14px; color: var(--bs-ink); font-size: clamp(2.25rem, 5vw, 3.6rem); line-height: 1.1; letter-spacing: -.025em; }
.bs-home-hero__content > p:not(.bs-home-eyebrow) { max-width: 540px; margin: 0 0 24px; color: var(--bs-text); font-size: 1.04rem; line-height: 1.75; }
.bs-home-button { display: inline-block; padding: 13px 22px; border-radius: 6px; background: var(--bs-blue); color: #fff !important; font-weight: 700; text-decoration: none !important; transition: background .18s ease, transform .18s ease; }
.bs-home-button:hover { background: var(--bs-blue-dark); color: #fff; transform: translateY(-1px); }
.bs-home-hero__mark { position: absolute; right: 7%; display: grid; width: clamp(150px, 24vw, 290px); aspect-ratio: 1; place-items: center; border: 1px solid rgba(12,84,180,.18); border-radius: 50%; color: rgba(12,84,180,.17); font-family: Georgia,serif; font-size: clamp(4rem, 10vw, 8rem); }
.bs-home-section { margin-top: 58px; }
.bs-home-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.bs-home-section__heading h2 { margin: 0; color: var(--bs-ink); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; }
.bs-home-section__heading > a { color: var(--bs-blue); font-size: .9rem; font-weight: 600; text-decoration: none; }
.bs-home-categories { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.bs-home-category { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border: 1px solid var(--bs-line); border-radius: 9px; background: #fff; color: var(--bs-ink); font-weight: 600; text-decoration: none !important; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.bs-home-category:hover { transform: translateY(-2px); border-color: var(--bs-sky); background: var(--bs-tint-2); color: var(--bs-ink); }
.bs-home-category__arrow { color: var(--bs-blue); font-size: 1.2rem; }
.bs-home-featured ul.products { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin: 0; padding: 0; }
.bs-home-featured ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; }
.bs-home-featured ul.products li.product { display: flex !important; flex-direction: column; min-width: 0; padding: 12px !important; border: 1px solid var(--bs-line); border-radius: 10px; background: #fff; box-sizing: border-box; }
.bs-home-featured ul.products li.product .astra-shop-thumbnail-wrap { width: 100%; }
.bs-home-featured ul.products li.product img { width: 100% !important; aspect-ratio: 1 / 1; object-fit: contain !important; background: #f4f8fc; }
.bs-home-featured ul.products li.product .woocommerce-loop-product__title { min-height: 2.8em; margin: 12px 0 6px !important; color: var(--bs-ink); font-size: .9rem !important; font-weight: 600; line-height: 1.4; }
.bs-home-featured ul.products li.product .price { margin: 0 0 10px; color: var(--bs-teal) !important; font-size: .9rem !important; }
.bs-home-featured ul.products li.product .button { width: 100%; margin-top: auto !important; padding: 10px 8px !important; border-radius: 5px; text-align: center; font-size: .78rem !important; }
.bs-home-note { margin-top: 48px; padding: 18px 22px; border-left: 3px solid var(--bs-sky); border-radius: 0 8px 8px 0; background: var(--bs-tint); color: var(--bs-text); font-size: .88rem; line-height: 1.7; }
.bs-home-note p { margin: 0; }
.bs-home-note strong { color: var(--bs-ink); }

/* ---------- H2. Homepage — overflow guards + responsive ----------
   (v1.1.0 accidentally dropped the two homepage @media rules; restored here,
   with roomier mobile spacing.) */

/* Let grid/flex children shrink and wrap instead of pushing past the card */
.bs-home-category > span:first-child { min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
.bs-home-category__arrow { flex-shrink: 0; }
.bs-home-featured ul.products li.product { overflow: hidden; }
.bs-home-featured ul.products li.product * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.bs-home-featured ul.products li.product .ast-woo-product-category {
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
    margin-bottom: 4px; font-size: .72rem;
}
.bs-home-featured ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 768px) {
    .bs-home { width: calc(100% - 32px); padding: 16px 0 44px; }
    .bs-home-hero { min-height: 300px; padding: 38px 26px; }
    .bs-home-hero__mark { right: -40px; opacity: .6; }
    .bs-home-categories { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
    .bs-home-featured ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .bs-home-values { gap: 18px; }
}
@media (max-width: 480px) {
    .bs-home-hero { min-height: 0; padding: 34px 22px; }
    .bs-home-hero__mark { right: -80px; }
    .bs-home-section { margin-top: 40px; }
    .bs-home-section__heading { align-items: start; flex-direction: column; gap: 10px; }
    /* keep 2 columns on phones, just tighter and smaller type */
    .bs-home-category { min-height: 64px; padding: 12px 14px; gap: 8px; font-size: .92rem; border-radius: 8px; }
    .bs-home-category__arrow { font-size: 1rem; }
    .bs-home-featured ul.products { gap: 10px; }
    .bs-home-featured ul.products li.product { padding: 10px !important; }
    .bs-home-featured ul.products li.product .woocommerce-loop-product__title { font-size: .84rem !important; margin: 8px 0 4px !important; }
    .bs-home-featured ul.products li.product .price { font-size: .84rem !important; }
    .bs-home-featured ul.products li.product .button { padding: 9px 6px !important; font-size: .76rem !important; }
    .bs-home-intro { grid-template-columns: 1fr; gap: 8px; margin-top: 40px; }
    .bs-home-intro__number { font-size: 2rem; }
    .bs-home-values { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; padding: 24px 0; }
}
@media (max-width: 340px) {
    .bs-home-categories { grid-template-columns: 1fr; }
}

/* ============================================================
   0. Global safety rules
   ============================================================ */
/* overflow-x: clip does not create a scroll container (keeps position:sticky
   working); the first declaration is the fallback for old browsers. */
body {
    overflow-x: hidden;
    overflow-x: clip;
}
img:not(.zoomImg),
video {
    max-width: 100% !important;
    height: auto;
}
iframe, embed { max-width: 100%; }
/* WooCommerce's hover-zoom <img> must keep its natural (large) size */
img.zoomImg {
    max-width: none !important;
    max-height: none !important;
}

/* ============================================================
   1. Single product — summary column
   ============================================================ */

/* 1.1 Tabs are removed in functions.php; this is only a safety net */
.woocommerce-tabs.wc-tabs-wrapper { display: none !important; }

/* 1.2 Summary: flex column so we can reorder blocks */
.summary.entry-summary {
    display: flex;
    flex-direction: column;
}
.summary.entry-summary > * { order: 0; }
.summary.entry-summary p.amazone-price-note    { order: 1; }
.summary.entry-summary .amz-inline-description { order: 2; }
.summary.entry-summary .cart                   { order: 3; }
.summary.entry-summary .astra-child-disclaimer { order: 4; }
.summary.entry-summary .product_meta           { order: 5; }

/* 1.3 Title */
.summary.entry-summary .product_title.entry-title {
    margin-bottom: 4px;
    font-size: 1.65em;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--bs-ink);
}

/* 1.4 Price note — amber bar */
p.amazone-price-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 14px 0 0;
    padding: 8px 14px;
    background: var(--bs-tint);
    border: 1px solid var(--bs-line);
    border-left: 4px solid var(--bs-sky);
    border-radius: 0 4px 4px 0;
    color: var(--bs-ink);
    font-size: 0.82em;
    font-weight: 400;
    line-height: 1.4;
    box-sizing: border-box;
}
a.amz-price-note-link {
    flex-shrink: 0;
    padding-bottom: 1px;
    border-bottom: 1px dashed var(--bs-sky);
    color: var(--bs-blue);
    font-size: 0.88em;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s;
}
a.amz-price-note-link:hover { color: var(--bs-blue-dark); }

/* 1.5 Inline description */
.summary.entry-summary .amz-inline-description {
    margin-bottom: 12px;
    color: var(--bs-text);
    font-size: 0.91em;
    line-height: 1.78;
}
.summary.entry-summary .amz-inline-description p { margin-bottom: 10px; }
.summary.entry-summary .amz-inline-description p:last-child { margin-bottom: 0; }

/* 1.6 CTA button ("Check price") */
.summary.entry-summary .cart {
    margin: 20px 0 0;
}
.summary.entry-summary .cart .single_add_to_cart_button {
    position: relative;
    display: block;
    width: 100%;
    padding: 15px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--bs-cta-from) 0%, var(--bs-cta-to) 100%);
    box-shadow: 0 4px 14px rgba(var(--bs-cta-glow), 0.40);
    color: var(--bs-cta-text) !important;
    font-size: 1em;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    animation: gs-pulse-once 1.6s ease 0.8s 1;
}
.summary.entry-summary .cart .single_add_to_cart_button::after {
    content: " →";
    font-weight: 400;
    opacity: 0.85;
}
.summary.entry-summary .cart .single_add_to_cart_button:hover {
    background: linear-gradient(135deg, var(--bs-cta-hover-from) 0%, var(--bs-cta-hover-to) 100%);
    box-shadow: 0 6px 20px rgba(var(--bs-cta-glow), 0.55);
    transform: translateY(-2px);
}
.summary.entry-summary .cart .single_add_to_cart_button:active {
    box-shadow: 0 2px 8px rgba(var(--bs-cta-glow), 0.35);
    transform: translateY(0);
}
@keyframes gs-pulse-once {
    0%   { box-shadow: 0 4px 14px rgba(var(--bs-cta-glow), 0.40); }
    50%  { box-shadow: 0 4px 28px rgba(var(--bs-cta-glow), 0.70); }
    100% { box-shadow: 0 4px 14px rgba(var(--bs-cta-glow), 0.40); }
}
@media (prefers-reduced-motion: reduce) {
    .summary.entry-summary .cart .single_add_to_cart_button { animation: none; transition: none; }
}

/* 1.7 Affiliate disclaimer — small but legible.
   (Was #d0d0d0 @ 0.65em @ 70% opacity: practically unreadable, which is a
   problem for an Amazon Associates disclosure. var(--bs-muted) = 4.5:1 on white.) */
.astra-child-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin: 6px 0 12px;
    color: var(--bs-muted);
    font-size: 0.75em;
    line-height: 1.5;
}
.astra-child-disclaimer-icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--bs-muted);
    font-style: normal;
}

/* 1.8 Product meta */
.summary.entry-summary .product_meta {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--bs-line);
    color: var(--bs-muted);
    font-size: 0.79em;
    line-height: 1.9;
}
.summary.entry-summary .product_meta a {
    color: var(--bs-muted);
    text-decoration: none;
}
.summary.entry-summary .product_meta a:hover {
    color: var(--bs-text);
    text-decoration: underline;
}

/* 1.9 Mobile */
@media (max-width: 767px) {
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        width: 100% !important;
        float: none !important;
    }
    p.amazone-price-note {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .summary.entry-summary .cart .single_add_to_cart_button {
        padding: 16px 20px;
        font-size: 1.05em;
        border-radius: 10px;
    }
}

/* ============================================================
   2. Single product — image gallery
   ------------------------------------------------------------
   RULE OF THUMB: do NOT set width / height / float / display /
   aspect-ratio / overflow on .woocommerce-product-gallery__wrapper,
   .flex-viewport or .woocommerce-product-gallery__image.
   FlexSlider sizes and moves those itself (wrapper = N × 100% wide,
   slides translated on thumbnail click). Overriding them with
   "width:100% !important" makes every slide as wide as the whole
   wrapper, so the image ends up far outside the visible area.
   Only style the <img> inside the slide and the thumbnails.
   ============================================================ */
body.single-product .woocommerce-product-gallery__image {
    background: #f4f8fc;
}
body.single-product .woocommerce-product-gallery__image img:not(.zoomImg) {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(680px, 85vh);
    margin: 0 auto;
    object-fit: contain;
}
/* Phones: give every product photo the same square frame. Very tall source
   images (e.g. 1:3 infographics) used to render up to 680px high, which is
   nearly two screens of scrolling on a 390px-wide phone. object-fit:contain
   letterboxes them instead of cropping. */
@media (max-width: 767px) {
    body.single-product .woocommerce-product-gallery__image img:not(.zoomImg) {
        aspect-ratio: 1 / 1;
        max-height: none;
    }
}

/* Thumbnail strip (ol.flex-control-thumbs) */
.woocommerce-product-gallery ol.flex-control-thumbs,
.woocommerce-product-gallery ul.flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.woocommerce-product-gallery ol.flex-control-thumbs li,
.woocommerce-product-gallery ul.flex-control-thumbs li {
    width: 68px !important;
    height: 68px !important;
    margin: 0 !important;
    overflow: hidden;
    border: 2px solid var(--bs-line);
    border-radius: 5px;
    background: #f4f8fc;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.woocommerce-product-gallery ol.flex-control-thumbs li:hover,
.woocommerce-product-gallery ul.flex-control-thumbs li:hover,
.woocommerce-product-gallery ol.flex-control-thumbs li:has(img.flex-active),
.woocommerce-product-gallery ul.flex-control-thumbs li:has(img.flex-active) {
    border-color: var(--bs-blue);
    box-shadow: 0 0 0 1px var(--bs-blue);
}
.woocommerce-product-gallery ol.flex-control-thumbs li img,
.woocommerce-product-gallery ul.flex-control-thumbs li img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.15s;
}
.woocommerce-product-gallery ol.flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery ul.flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery ol.flex-control-thumbs li:hover img {
    opacity: 1;
}

/* ============================================================
   3. Single product — related products (list layout)
   ============================================================ */
.related.products > h2 {
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--bs-line);
    color: var(--bs-muted);
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Container: vertical stack */
.related.products ul.products,
.related.products ul.products[class*="columns-"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Row: CSS grid so thumb / title / highlight / button can be placed freely */
.related.products ul.products li.product {
    display: grid !important;
    grid-template-columns: 96px 1fr auto;
    grid-template-areas:
        "thumb category  action"
        "thumb title     action"
        "thumb highlight action";
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 3px;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 14px !important;
    background: #fff;
    border: 1px solid var(--bs-line);
    border-radius: 8px;
    box-shadow: none;
    overflow: visible !important;
    box-sizing: border-box !important;
}
.related.products ul.products li.product:hover {
    border-color: var(--bs-sky);
    box-shadow: 0 3px 14px rgba(12,84,180, 0.10);
}

/* Flatten wrappers so their children become direct grid items */
.related.products ul.products li.product .astra-shop-thumbnail-wrap,
.related.products ul.products li.product .astra-shop-summary-wrap,
.related.products ul.products li.product .woocommerce-LoopProduct-link,
.related.products ul.products li.product .ast-loop-product__link {
    display: contents !important;
}

.related.products ul.products li.product .astra-shop-thumbnail-wrap img {
    grid-area: thumb;
    align-self: center;
    width: 96px !important;
    height: 96px !important;
    margin: 0 !important;
    border-radius: 6px;
    object-fit: cover;
}

/* Not needed in a list; price hidden on purpose — the button is enough */
.related.products ul.products li.product .ast-on-card-button,
.related.products ul.products li.product span.price {
    display: none !important;
}

.related.products ul.products li.product .ast-woo-product-category {
    grid-area: category;
    align-self: end;
    display: block;
    margin: 0 !important;
    color: var(--bs-muted);
    font-size: 0.65em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.related.products ul.products li.product .woocommerce-loop-product__title {
    grid-area: title;
    margin: 0 !important;
    color: var(--bs-ink);
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.35;
}

/* Highlight badge (secondary info under the title) */
.related.products ul.products li.product .amz-related-highlight {
    grid-area: highlight;
    position: static !important;
    display: inline-flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px;
    justify-self: start !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin-top: 2px;
    padding: 3px 9px;
    background: var(--bs-tint);
    border-left: 3px solid var(--bs-sky);
    border-radius: 0 4px 4px 0;
    box-sizing: border-box;
}
.related.products ul.products li.product .amz-related-highlight__label,
.related.products ul.products li.product .amz-related-highlight__value {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    line-height: 1.45;
    word-break: break-word;
}
.related.products ul.products li.product .amz-related-highlight__label {
    flex-shrink: 0;
    color: var(--bs-blue);
    font-size: 11.5px;
    font-weight: 700;
}
.related.products ul.products li.product .amz-related-highlight__value {
    color: var(--bs-text);
    font-size: 12px;
    font-weight: 400;
}

/* CTA button at the end of the row */
.related.products ul.products li.product .astra-shop-summary-wrap .button {
    grid-area: action;
    justify-self: end;
    align-self: center;
    min-width: max-content;
    margin: 0 !important;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--bs-cta-from) 0%, var(--bs-cta-to) 100%) !important;
    box-shadow: 0 2px 8px rgba(var(--bs-cta-glow), 0.35);
    color: var(--bs-cta-text) !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: center;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.related.products ul.products li.product .astra-shop-summary-wrap .button:hover {
    box-shadow: 0 4px 14px rgba(var(--bs-cta-glow), 0.5);
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .related.products ul.products li.product {
        grid-template-columns: 64px 1fr;
        grid-template-areas:
            "thumb category"
            "thumb title"
            "thumb highlight"
            "action action";
        row-gap: 4px;
        column-gap: 10px;
        padding: 10px !important;
    }
    .related.products ul.products li.product .astra-shop-thumbnail-wrap img {
        width: 64px !important;
        height: 64px !important;
    }
    .related.products ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.86em;
    }
    .related.products ul.products li.product .astra-shop-summary-wrap .button {
        justify-self: stretch;
        margin-top: 4px !important;
    }
}

/* ============================================================
   4. Category archive pages
   ============================================================ */

/* Generic WooCommerce loops (fallback for pages outside .sd-archive-page) */
.woocommerce .woocommerce-products-header__title.page-title {
    margin-bottom: 16px !important;
    font-size: 1.6em !important;
    line-height: 1.3 !important;
}
.woocommerce .woocommerce-products-header {
    max-width: 320px;
    margin-bottom: 0;
}
.woocommerce-page .content-area { width: 100% !important; }

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.woocommerce ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}
.woocommerce ul.products li.product .astra-shop-summary-wrap {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.woocommerce ul.products li.product .button { margin-top: auto !important; }
.woocommerce ul.products li.product .price {
    color: var(--bs-muted);
    font-size: 0.8em;
}

/* Astra's ::before / ::after clearfix on ul.products becomes a phantom
   grid cell and shifts every product by one position. */
ul.products::before,
ul.products::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 768px) {
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
    .woocommerce .woocommerce-products-header { max-width: 100%; }
    .woocommerce .woocommerce-products-header__title.page-title { font-size: 1.3em !important; }
}

/* ---- .sd-archive-page wraps woocommerce_content() ----
   Desktop: 6 col x 2 rows = 12/page | Mobile: 3 col x 4 rows = 12/page */
.sd-archive-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 60px;
    box-sizing: border-box;
}
.sd-archive-page h1.page-title,
.sd-archive-page .woocommerce-products-header__title {
    margin: 24px 0 6px !important;
    color: var(--bs-ink) !important;
    font-size: 1.4em !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
}
.sd-archive-page .woocommerce-result-count {
    margin-bottom: 12px;
    color: var(--bs-muted);
    font-size: 0.8em;
}
.sd-archive-page .woocommerce-ordering { margin-bottom: 12px; }
.sd-archive-page .woocommerce-ordering select {
    border-color: var(--bs-line);
    color: var(--bs-muted);
    font-size: 0.8em;
}

.sd-archive-page ul.products,
.sd-archive-page ul.products[class*="columns-"] {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 14px !important;
    float: none !important;
    clear: both;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.sd-archive-page ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 8px 8px 10px;
    background: #fff;
    border: 1px solid var(--bs-line);
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box !important;
    transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}
.sd-archive-page ul.products li.product:hover {
    border-color: var(--bs-sky);
    box-shadow: 0 3px 14px rgba(12,84,180, 0.1);
    transform: translateY(-2px);
}
.sd-archive-page ul.products li.product .astra-shop-thumbnail-wrap {
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
    background: #f4f8fc;
}
.sd-archive-page ul.products li.product .astra-shop-thumbnail-wrap img,
.sd-archive-page ul.products li.product img {
    display: block;
    width: 100% !important;
    height: 150px !important;
    border-radius: 5px;
    object-fit: cover !important;
    transition: transform 0.28s ease !important;
}
.sd-archive-page ul.products li.product:hover .astra-shop-thumbnail-wrap img,
.sd-archive-page ul.products li.product:hover img {
    transform: scale(1.05);
}
.sd-archive-page ul.products li.product .astra-shop-summary-wrap {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    padding: 0 !important;
}
.sd-archive-page ul.products li.product .ast-woo-product-category,
.sd-archive-page ul.products li.product .price {
    display: none !important;
}
.sd-archive-page ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.8em;
    margin: 6px 0 8px !important;
    overflow: hidden;
    color: var(--bs-ink);
    font-size: 0.77em !important;
    font-weight: 600;
    line-height: 1.4;
}
.sd-archive-page ul.products li.product .button {
    display: block !important;
    width: 100% !important;
    margin-top: auto !important;
    padding: 5px 8px !important;
    border-radius: 4px !important;
    font-size: 0.68em !important;
    letter-spacing: 0.05em !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Pagination */
.sd-archive-page .woocommerce-pagination {
    clear: both;
    margin-top: 40px;
    text-align: center;
}
.sd-archive-page .woocommerce-pagination ul {
    display: inline-flex;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sd-archive-page .woocommerce-pagination ul li a,
.sd-archive-page .woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--bs-line);
    border-radius: 6px;
    color: var(--bs-text);
    font-size: 0.82em;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.sd-archive-page .woocommerce-pagination ul li span.current {
    background: var(--bs-blue);
    border-color: var(--bs-blue);
    color: #fff;
    font-weight: 600;
}
.sd-archive-page .woocommerce-pagination ul li a:hover {
    border-color: var(--bs-blue);
    color: var(--bs-blue);
}

@media (max-width: 900px) {
    .sd-archive-page ul.products,
    .sd-archive-page ul.products[class*="columns-"] {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px !important;
    }
}
@media (max-width: 600px) {
    .sd-archive-page { padding: 0 12px 40px; }
    .sd-archive-page ul.products,
    .sd-archive-page ul.products[class*="columns-"] {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    .sd-archive-page ul.products li.product { padding: 6px 6px 8px; }
    .sd-archive-page ul.products li.product .astra-shop-thumbnail-wrap img,
    .sd-archive-page ul.products li.product img {
        height: 100px !important;
    }
}

/* ============================================================
   5. Shop page — category directory (.sd-shop-page)
   ============================================================ */
.sd-shop-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 60px;
}
.sd-shop-hero {
    margin-bottom: 32px;
    padding: 36px 32px 32px;
    background: linear-gradient(135deg, var(--bs-tint-2) 0%, #fff 60%);
    border: 1px solid var(--bs-line);
    border-radius: 10px;
}
.sd-shop-title {
    margin: 0 0 8px;
    color: var(--bs-ink);
    font-size: 2em;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.sd-shop-subtitle {
    margin: 0;
    color: var(--bs-muted);
    font-size: 0.95em;
    line-height: 1.6;
}

.sd-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.sd-cat-card {
    display: block;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--bs-line);
    border-left: 4px solid var(--bs-line);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.sd-cat-card:hover {
    border-color: var(--bs-blue);
    border-left-color: var(--bs-blue);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.sd-cat-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 150px;
    padding: 20px 22px 18px;
    box-sizing: border-box;
}
.sd-cat-card-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}
.sd-cat-name {
    flex: 1;
    color: inherit;
    font-size: 1.05em;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}
.sd-cat-name:hover { color: var(--bs-blue); }

/* The template already prints "N items" — do not add it again via ::after */
.sd-cat-count {
    flex-shrink: 0;
    padding: 2px 7px;
    background: var(--bs-tint);
    border-radius: 20px;
    color: var(--bs-muted);
    font-size: 0.72em;
    white-space: nowrap;
}

/* Subcategory pills: the <a> is the pill (the <li> is only a wrapper) */
.sd-cat-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 auto;
    padding: 0;
    list-style: none;
}
.sd-cat-subcats li {
    margin: 0;
    font-size: 0.8em;
    line-height: 1.5;
}
.sd-subcat-link {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bs-tint);
    border-radius: 20px;
    color: var(--bs-text);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.sd-subcat-link:hover {
    background: var(--bs-blue);
    color: #fff;
}

.sd-cat-cta {
    display: block;
    margin-top: 16px;
    color: var(--bs-blue);
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .sd-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .sd-shop-title { font-size: 1.8em; }
}
@media (max-width: 600px) {
    .sd-shop-page { padding: 0 12px 40px; }
    .sd-shop-hero { padding: 20px 18px 18px; }
}
@media (max-width: 480px) {
    .sd-cat-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .sd-cat-card-inner {
        min-height: auto;
        padding: 16px 18px;
    }
}


/* ============================================================
   6. Brand polish (v1.2.0)
   ============================================================ */

/* 6.1 Homepage: one left edge for hero / intro / values, no duplicate "01" */
.bs-home-intro {
    grid-template-columns: 1fr;
    max-width: none;
    margin: 58px 0 0;
    padding: 4px 0 4px clamp(24px, 6vw, 76px);
    border-left: 0;
}
.bs-home-intro__number { display: none; }
.bs-home-intro > div {
    padding-left: 22px;
    border-left: 3px solid var(--bs-sky);
}
.bs-home-values { padding-left: clamp(0px, 3vw, 40px); padding-right: clamp(0px, 3vw, 40px); }
.bs-home-hero {
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(12,180,164,.10), transparent 60%),
        linear-gradient(120deg, var(--bs-tint) 0%, #fff 72%);
}
.bs-home-hero__mark {
    background: radial-gradient(circle at 30% 30%, rgba(42,157,244,.14), rgba(12,180,164,.05) 70%);
}

/* 6.2 Depth: soft shadow on cards so they lift off the tinted page */
.bs-home-category,
.bs-home-featured ul.products li.product,
.sd-cat-card,
.sd-archive-page ul.products li.product {
    box-shadow: var(--bs-shadow);
}
.bs-home-category:hover,
.sd-archive-page ul.products li.product:hover {
    box-shadow: 0 8px 24px rgba(12,84,180,.12);
}

/* 6.3 One "Check price" button everywhere (colour set by --bs-cta-* tokens) */
.woocommerce ul.products li.product .button,
.bs-home-featured ul.products li.product .button {
    background: linear-gradient(135deg, var(--bs-cta-from) 0%, var(--bs-cta-to) 100%) !important;
    color: var(--bs-cta-text) !important;
    border: 0 !important;
    font-weight: 700;
    text-align: center;
    transition: background .15s ease, transform .15s ease;
}
.woocommerce ul.products li.product .button:hover,
.bs-home-featured ul.products li.product .button:hover {
    background: linear-gradient(135deg, var(--bs-cta-hover-from) 0%, var(--bs-cta-hover-to) 100%) !important;
    transform: translateY(-1px);
}

/* 6.4 Keyboard focus that matches the brand */
.bs-home a:focus-visible,
.sd-cat-card a:focus-visible,
.woocommerce ul.products li.product a:focus-visible,
.summary.entry-summary .cart .single_add_to_cart_button:focus-visible {
    outline: 2px solid var(--bs-sky);
    outline-offset: 2px;
}

/* 6.5 Respect "reduce motion" */
@media (prefers-reduced-motion: reduce) {
    .bs-home-category, .bs-home-button, .sd-cat-card,
    .woocommerce ul.products li.product,
    .woocommerce ul.products li.product .button { transition: none; }
    .bs-home-category:hover, .bs-home-button:hover, .sd-cat-card:hover,
    .woocommerce ul.products li.product:hover,
    .woocommerce ul.products li.product .button:hover { transform: none !important; }
}
@media (max-width: 480px) {
    .bs-home-intro { padding-left: 0; }
}

/* 6.6 Typography: only weights 400 / 600 / 700 are used site-wide, so the
   Customizer needs to load just those three. */

/* ============================================================
   7. CTA colour alternatives — replace the --bs-cta-* values in :root
   ------------------------------------------------------------
   B) Solid brand blue (calmest, white text):
      --bs-cta-from:#0c54b4; --bs-cta-to:#0c54b4;
      --bs-cta-hover-from:#0a4496; --bs-cta-hover-to:#0a4496;
      --bs-cta-text:#ffffff; --bs-cta-glow:12, 84, 180;

   C) Logo gradient blue -> deeper blue (white text):
      --bs-cta-from:#1670cf; --bs-cta-to:#0c54b4;
      --bs-cta-hover-from:#1b7fe6; --bs-cta-hover-to:#0f62c9;
      --bs-cta-text:#ffffff; --bs-cta-glow:12, 84, 180;

   A) Bright logo teal (navy text):
      --bs-cta-from:#1fc8b6; --bs-cta-to:#0fb5a6;
      --bs-cta-hover-from:#3ad9c7; --bs-cta-hover-to:#19c3b2;
      --bs-cta-text:#0a2342; --bs-cta-glow:15, 181, 166;
   ============================================================ */


/* ============================================================
   8. Homepage hero + stats strip (v1.4.0)
   Replaces the old .bs-home-hero / .bs-home-intro blocks (now unused).
   ============================================================ */
.bs-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 32px;
    padding: clamp(32px, 5vw, 64px) clamp(24px, 6vw, 76px);
    overflow: hidden;
    border: 1px solid var(--bs-line);
    border-radius: 18px;
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(12, 180, 164, .12), transparent 60%),
        linear-gradient(120deg, var(--bs-tint) 0%, #fff 72%);
}
.bs-hero__copy { position: relative; z-index: 1; min-width: 0; }
.bs-hero h1 {
    margin: 0 0 14px;
    color: var(--bs-ink);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
}
.bs-hero h1 .bs-hl {
    color: var(--bs-blue);
    background: linear-gradient(90deg, var(--bs-blue), var(--bs-teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.bs-hero__lead {
    max-width: 540px;
    margin: 0 0 24px;
    color: var(--bs-text);
    font-size: 1.04rem;
    line-height: 1.75;
}

/* Search */
.bs-hero-search {
    display: flex;
    gap: 6px;
    max-width: 540px;
    padding: 6px;
    background: #fff;
    border: 1px solid var(--bs-line);
    border-radius: 12px;
    box-shadow: var(--bs-shadow);
    transition: border-color .15s, box-shadow .15s;
}
.bs-hero-search:focus-within {
    border-color: var(--bs-sky);
    box-shadow: 0 0 0 3px rgba(42, 157, 244, .2);
}
.bs-hero-search input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--bs-ink);
    font-size: 1rem;
    outline: none;
}
.bs-hero-search button {
    flex-shrink: 0;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: var(--bs-blue);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s;
}
.bs-hero-search button:hover { background: var(--bs-blue-dark); }

/* Popular categories */
.bs-hero-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--bs-muted);
    font-size: .85rem;
}
.bs-hero-chips a {
    padding: 5px 12px;
    background: #fff;
    border: 1px solid var(--bs-line);
    border-radius: 999px;
    color: var(--bs-ink);
    font-weight: 600;
    text-decoration: none !important;
    transition: border-color .15s, color .15s;
}
.bs-hero-chips a:hover { border-color: var(--bs-sky); color: var(--bs-blue); }
.bs-hero-chips a.bs-hero-chips__all { padding: 5px 4px; background: none; border: 0; color: var(--bs-blue); }

/* Product collage (real products from the shop) */
.bs-hero__visual { position: relative; min-height: 340px; }
.bs-hero__visual::before {
    content: "";
    position: absolute;
    inset: 4% 4%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(42, 157, 244, .18), rgba(12, 180, 164, .08) 70%);
}
.bs-hero-card {
    position: absolute;
    width: min(190px, 46%);
    padding: 10px;
    background: #fff;
    border: 1px solid var(--bs-line);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(11, 58, 107, .14);
    color: var(--bs-ink);
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}
.bs-hero-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #f4f8fc;
    border-radius: 8px;
}
.bs-hero-card span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 8px;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.35;
}
.bs-hero-card:nth-child(1) { top: 0;    left: 6%;  transform: rotate(-3deg); }
.bs-hero-card:nth-child(2) { top: 56px; right: 0;  transform: rotate(2.5deg); z-index: 2; }
.bs-hero-card:nth-child(3) { bottom: 0; left: 0;   transform: rotate(-1.5deg); z-index: 3; }
.bs-hero-card:nth-child(n):hover {
    transform: rotate(0) translateY(-4px);
    box-shadow: 0 16px 36px rgba(12, 84, 180, .2);
}

/* Fallback when the shop has too few products with images */
.bs-hero__mark {
    display: grid;
    width: clamp(150px, 24vw, 290px);
    aspect-ratio: 1;
    justify-self: center;
    place-items: center;
    border: 1px solid rgba(12, 84, 180, .14);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(42, 157, 244, .14), rgba(12, 180, 164, .05) 70%);
    color: rgba(12, 84, 180, .16);
    font-family: Georgia, serif;
    font-size: clamp(4rem, 10vw, 8rem);
}

/* Stats strip */
.bs-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 20px;
}
.bs-stats > div {
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--bs-line);
    border-radius: 12px;
    box-shadow: var(--bs-shadow);
}
.bs-stats strong {
    display: block;
    color: var(--bs-ink);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
}
.bs-stats span { color: var(--bs-muted); font-size: .85rem; }

@media (max-width: 860px) {
    .bs-hero { grid-template-columns: 1fr; padding: 32px 22px; }
    .bs-hero__visual, .bs-hero__mark { display: none; }
}
@media (max-width: 480px) {
    .bs-hero-search button { padding: 0 16px; }
    .bs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .bs-stats > div { padding: 12px 14px; }
    .bs-stats strong { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
    .bs-hero-card, .bs-hero-search, .bs-hero-search button { transition: none; }
    .bs-hero-card:nth-child(n):hover { transform: none; }
}
