﻿
#home-carousel {
    height: 90vh;
    width: 100%;
}

    #home-carousel .carousel-inner, #home-carousel .carousel-item, #home-carousel .bq-slide, #home-carousel .bq-slide .carousel-slide-overlay > div, #home-carousel .bq-slide .carousel-slide-overlay {
        height: 90vh;
    }

#showroom-slide {
    background-image: url('https://cdn.bqwatches.com/cdn-cgi/image/width=1940,format=auto/images/8f8ffd0f-e62d-4ccb-b30e-1d5e25faeb8c.jpg');
    background-position: right;
}

#showroom-slide-content {
    background-color: rgba(0, 0, 0, 0.3); /* Black with 50% opacity */
    padding: 10px;
    border-radius: 5px; /* Optional: adds rounded corners */
    display: inline-block; /* Ensures the background only covers the text */
    max-width: 65%; /* Limit the width of the shaded box */
    text-align: center; /* Align the text inside the box to the right */
}


#showroom-h4 {
    margin-bottom: 48px;
    margin-right: 48px;
    text-align: end;
    transform-origin: center;
}

#showroom-h2 {
    margin-left: 48px;
    margin-top: 48px;
    margin-right: 48px;
    text-align: end;
}

#showroom-container {
    align-items: flex-end;
    padding: 0px;
}

#buy-slide {
    background-image: url('https://cdn.bqwatches.com/cdn-cgi/image/width=1940,format=auto/images/70dd83df-ad9d-48eb-8463-63538d3ce27e.jpg');
    background-position: right;
}

#sell-slide {
    background-image: url('https://cdn.bqwatches.com/cdn-cgi/image/width=1940,format=auto/images/d2ad5797-3d1d-4671-847a-c13f3c53873b.jpg');
    background-position: left;
}

#repair-slide {
    background-image: url('https://cdn.bqwatches.com/cdn-cgi/image/width=1940,format=auto/images/62359344-9356-4b5c-a14b-6a6188d225a5.jpg');
    background-position: center;
}

#consign-slide {
    background-image: url('https://cdn.bqwatches.com/cdn-cgi/image/width=1940,format=auto/images/e6cfbfae-b63a-4a47-ae8c-83008c3b4712.jpg');
    background-position: right;
}

.bq-slide {
    background-size: cover;
    color: #fff;
}

    .bq-slide h2 {
        font-size: 76px;
    }
    .bq-slide h4 {
        font-size: 35px;
    }

#buy-slide-row, #sell-slide-row, #repair-slide-row, #consign-slide-row {
    flex: 1;
}

#showroom-slide-row {
    display: flex;
    flex-direction: column; /* Stack child elements vertically */
    justify-content: flex-end; /* Push content to the bottom */
    align-items: flex-end; /* Align items to the right */
    height: 100%; /* Ensure it occupies the full height */
    width: 100%;
}

.new-arrival-slider {
    font-weight: bold;
}

.buy-slide-brand-grid {
    display: flex;
    flex-wrap: wrap;
    max-width: 440px;
}

.buy-slide-brand-icon {
    flex: 1 0 25%;
    height: 67px;
}
.buy-slide-brand-icon img {
    max-width: 100%;
    height: auto;
}

#NewArrivalsSection h2, #ComingSoonSection h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

#usp-section h1 {
    font-size: 20px;
    font-weight: 600;
}

#usp-section h3 {
    font-size: 18px;
    font-weight: 600;
}

#usp-section li {
    font-size: 12px;
}

#usp-section i {
    display: inline-block;
    width: 15px;
}

.cta-col {
    height: 400px;
    padding: 10px;
}

.cta-col a p {
    color: white;
}

.cta-bg-col {
    background-size: cover;
    text-align: center;
    height: 380px;
    padding: 30px 15px;
}

.cta-col h3 {
    font-size: 18px;
}

#hot-deals-col {
    background-image: url('https://cdn.bqwatches.com/images/c7962f0c-c37d-4c11-8c19-28f75219c849.jpg');
}

#find-buy-col {
    background-image: url('https://cdn.bqwatches.com/images/2a487d5c-d270-40fd-bd72-1a7812725eaf.jpg');
}

#sell-watch-col {
    background-image: url('https://cdn.bqwatches.com/images/cd070211-f54a-49ea-ba1f-dbd194a06ad9.jpg');
}

#part-ex-col {
    background-image: url('https://cdn.bqwatches.com/images/0d73fa26-c67e-486c-b660-4335349c5f2a.jpg');
}

#repairs-col {
    background-image: url('https://cdn.bqwatches.com/images/e33ef2ca-c784-4408-baba-be2b75574612.jpg');
}

#valuation-col {
    background-image: url('https://cdn.bqwatches.com/images/0f247d90-b7d2-4e03-8e17-c14211accbef.jpg');
}

.carousel-slide-overlay {
    background-color: transparent;
    z-index: 200;
}

@media (max-width: 768px) {
    .bq-slide h2 {
        font-size: 42px;
    }

    .buy-slide-brand-grid {
        max-width: 350px;
    }

    .buy-slide-brand-icon {
        flex: 1 0 50%;
    }

    #usp-section li {
        font-size: 10px;
    }

    .cta-col {
        height: 200px;
    }

    .cta-bg-col {
        height: 180px;
    }

    .carousel-slide-overlay {
        background-color: rgba(0,0,0,0.5)
    }

    #repair-slide-content {
        padding-top: 100px;
    }

    #buy-slide {
        background-image: url('https://cdn.bqwatches.com/cdn-cgi/image/width=768,format=auto/images/37f60284-df1e-483c-864b-a828ab927a6d.jpg');
    }

    #sell-slide {
        background-image: url('https://cdn.bqwatches.com/cdn-cgi/image/width=768,format=auto/images/bfcd3def-9c71-462e-b7c4-1fed7f58b2ae.jpg');
    }

    #repair-slide {
        background-image: url('https://cdn.bqwatches.com/cdn-cgi/image/width=768,format=auto/images/728cd5e3-0b75-4800-9175-d6b75bfd6171.jpg');
    }

    #consign-slide {
        background-image: url('https://cdn.bqwatches.com/cdn-cgi/image/width=768,format=auto/images/236e6525-ed24-4997-8a0f-33818122f15a.jpg');
    }

    #showroom-slide {
        background-image: url('https://cdn.bqwatches.com/cdn-cgi/image/width=768,format=auto/images/b01f761d-9184-42e8-979d-b8e0b088befd.png');
        background-position: center;
    }

    #showroom-slide-content {
        background-color: rgba(0, 0, 0, 0); /* Black with 50% opacity */
        padding: 10px;
        border-radius: 5px; /* Optional: adds rounded corners */
        display: inline-block; /* Ensures the background only covers the text */
        max-width: 75%; /* Limit the width of the shaded box */
        max-height: 40%;
        text-align: center; /* Align the text inside the box to the right */
    }

    #showroom-h4 {
        margin-left: 10px;
        margin-bottom: 48px;
        margin-right: 0px;
        text-align: left;
    }

    #showroom-h2 {
        margin-left: 10px;
        margin-top: 48px;
        margin-right: 0px;
        text-align: left;
        padding-bottom: 10px;
    }

    #showroom-container {
        align-items: flex-start;
        padding: 0px;
    }

    #showroom-slide-row {
        display: flex;
        flex-direction: column; /* Stack child elements vertically */
        justify-content: flex-end; /* Push content to the bottom */
        align-items: start; /* Align items to the right */
        height: 100%; /* Ensure it occupies the full height */
        width: 100%;
    }
    .bq-slide h4 {
        font-size: 20px;
    }
}

/* 1) Ensure the slide is a stacking context and the video is the bottom layer */
#showroom-slide {
    position: relative;
}
/* keep your background image */
.bq-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0; /* <— video under everything in the slide */
    pointer-events: none; /* clicks go through to links */
    opacity: 0; /* fade in only when playing */
    transition: opacity .3s ease;
}

    .bq-video-bg.is-playing {
        opacity: 1;
    }

/* 2) Ensure the overlay (your text and CTA) sits above the video */
.carousel-slide-overlay {
    position: relative;
    z-index: 2;
}
/* you already had z-index:200; either is fine */

/* 3) Make sure the global navbar beats the carousel entirely */
.navbar, .navbar.fixed-top, .navbar.sticky-top {
    z-index: 1050;
}

/* Optional: if any ancestor has transform/filter/backdrop-filter, it creates a stacking context.
   If you discover one, give #showroom-slide a higher z-index than its siblings as a local fix. */

/* =========================
   USP SECTION – SAME WIDTH + SAME HEIGHT
   - 3 columns on desktop (4/4/4)
   - Cards equal height via flex + stretch
   - Chips stay on one line on desktop
   - Cards less tall (tight spacing)
   ========================= */

#usp-section {
    padding: 18px 0;
}

    #usp-section .usp-row-equal {
        align-items: stretch;
    }

    /* Left intro */
    #usp-section .usp-lead {
        height: 100%;
        padding-right: 6px;
    }

    #usp-section .usp-title {
        margin: 0 0 10px;
        font-weight: 800;
        letter-spacing: .04em;
        text-transform: uppercase;
        font-size: clamp(18px, 1.55vw, 24px);
        line-height: 1.12;
        color: #111;
    }

    #usp-section .usp-sub {
        margin: 0 0 10px;
        color: rgba(0,0,0,.65);
        max-width: 40ch;
        font-size: 13px;
        line-height: 1.55;
    }

    #usp-section .usp-mini-proof {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;
    }

    #usp-section .usp-proof-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 7px 11px;
        border-radius: 999px;
        border: 1px solid rgba(0,0,0,.10);
        background: rgba(0,0,0,.03);
        color: rgba(0,0,0,.78);
        font-weight: 800;
        font-size: 12px;
    }

        #usp-section .usp-proof-pill i {
            color: #028565;
        }

    #usp-section .usp-proof-link {
        color: rgba(0,0,0,.75);
        text-decoration: none;
        border-bottom: 1px solid rgba(0,0,0,.25);
        font-weight: 800;
        font-size: 12px;
    }

        #usp-section .usp-proof-link:hover {
            color: #000;
            border-bottom-color: rgba(0,0,0,.55);
        }

    /* Cards (equal height) */
    #usp-section .usp-card {
        height: 100%;
        border-radius: 18px;
        padding: 12px 14px;
        border: 1px solid rgba(0,0,0,.10);
        background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,0));
        box-shadow: 0 14px 34px rgba(0,0,0,.08);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    #usp-section .usp-card--alt {
        background: linear-gradient(180deg, rgba(2,133,101,.08), rgba(0,0,0,0));
        border-color: rgba(2,133,101,.20);
    }

    #usp-section .usp-card__top {
        margin-bottom: 6px;
    }

    #usp-section .usp-kicker {
        display: inline-block;
        font-size: 11px;
        font-weight: 900;
        letter-spacing: .16em;
        text-transform: uppercase;
        color: #028565;
        margin-bottom: 6px;
    }

    #usp-section .usp-card__title {
        margin: 0 0 4px;
        color: #111;
        font-weight: 900;
        font-size: 16px;
    }

    #usp-section .usp-card__sub {
        margin: 0;
        color: rgba(0,0,0,.65);
        font-size: 12.6px;
        line-height: 1.35;
    }

    /* Chips */
    #usp-section .usp-chips {
        list-style: none;
        padding: 0;
        margin: 8px 0 8px;
        display: flex;
        gap: 8px;
        flex-wrap: wrap; /* mobile default */
    }

    #usp-section .usp-chip {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 8px;
        border-radius: 999px;
        border: 1px solid rgba(0,0,0,.10);
        background: #fff;
        color: rgba(0,0,0,.82);
        font-size: 11.5px; /* smaller so 3 fit */
        font-weight: 800;
        white-space: nowrap;
    }

        #usp-section .usp-chip i {
            color: rgba(0,0,0,.55);
            font-size: 12.5px;
        }

        #usp-section .usp-chip span {
            display: inline-block;
        }

/* Desktop: keep 3 chips on one line */
@media (min-width: 992px) {
    #usp-section .usp-chips--singleline {
        flex-wrap: nowrap;
    }
}

/* Actions pinned to bottom => equal height cards */
#usp-section .usp-actions {
    margin-top: auto; /* pushes actions + footnote to bottom */
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 6px;
}

/* Buttons/links */
#usp-section .usp-link {
    color: rgba(0,0,0,.75);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,.25);
    font-weight: 900;
    font-size: 12px;
}

    #usp-section .usp-link:hover {
        color: #000;
        border-bottom-color: rgba(0,0,0,.55);
    }

#usp-section .usp-btn-primary {
    background: #028565;
    border-color: #02624d;
    color: #fff;
    border-radius: 14px;
    padding: 8px 12px; /* slightly shorter */
    font-weight: 900;
}

    #usp-section .usp-btn-primary:hover {
        background: #02624d;
        border-color: #02473a;
    }

#usp-section .usp-btn-secondary {
    background: #111;
    border-color: #111;
    color: #fff;
    border-radius: 14px;
    padding: 8px 12px; /* slightly shorter */
    font-weight: 900;
}

    #usp-section .usp-btn-secondary:hover {
        background: #000;
        border-color: #000;
    }

/* Footnote (kept small; spacer ensures identical structure) */
#usp-section .usp-footnote {
    margin: 6px 0 0;
    color: rgba(0,0,0,.50);
    font-size: 11.5px;
    line-height: 1.2;
}

#usp-section .usp-footnote--spacer {
    margin: 6px 0 0;
    font-size: 11.5px;
    line-height: 1.2;
    visibility: hidden; /* takes space but not visible */
}

/* Mobile polish */
@media (max-width: 991.98px) {
    #usp-section {
        padding: 16px 0;
    }

        #usp-section .usp-lead {
            padding-right: 0;
        }

        #usp-section .usp-chips {
            flex-wrap: wrap;
        }
}


/* =========================
   USP – remove button spacing + make selling card fully clickable
   ========================= */

#usp-section .usp-card {
    padding: 12px 14px; /* keeps premium padding but tighter */
}

#usp-section .usp-card__top {
    margin-bottom: 6px; /* less vertical air */
}

#usp-section .usp-chips {
    margin: 10px 0 0; /* remove extra space that used to sit above buttons */
}

/* Footnote sits tighter */
#usp-section .usp-footnote {
    margin-top: 10px;
}

/* Clickable card styling */
#usp-section .usp-card--link {
    display: flex; /* keeps equal-height behavior */
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

    #usp-section .usp-card--link:hover {
        transform: translateY(-2px);
        box-shadow: 0 22px 60px rgba(0,0,0,.10);
        border-color: rgba(2,133,101,.25);
    }


/* =========================
   CTA SECTION – PREMIUM + COMPACT
   ========================= */

/* =========================
   CTA SECTION – PREMIUM + SIMPLIFIED
   - clearer hierarchy
   - fewer competing elements
   - stronger primary card
   ========================= */





/* =========================
   BRAND TILES (above USP)
   - image-backed, premium overlay
   - clean type, modern hover
   ========================= */

#brand-tiles {
    padding: 18px 0 10px;
}

.brand-tile {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    min-height: 170px;
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: 0 18px 45px rgba(0,0,0,.06);
    background: #fff;
    transform: translateZ(0);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.brand-tile__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform .35s ease;
}

.brand-tile__overlay {
    position: absolute;
    inset: 0;
    /* premium gradient for readability */
    background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 45%, rgba(255,255,255,0) 75%);
}

.brand-tile--accent .brand-tile__overlay {
    background: linear-gradient(90deg, rgba(2,133,101,.18) 0%, rgba(255,255,255,.80) 42%, rgba(255,255,255,0) 78%);
}

.brand-tile__content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 70%;
}

.brand-tile__title {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: .01em;
    color: #111;
    line-height: 1.1;
    margin-bottom: 6px;
}

.brand-tile__subtitle {
    font-size: 13px;
    color: rgba(0,0,0,.62);
    line-height: 1.35;
    margin-bottom: 14px;
}

.brand-tile__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: rgba(0,0,0,.75);
}

    .brand-tile__cta i {
        color: rgba(0,0,0,.55);
        transition: transform .18s ease;
    }

/* Hover */
.brand-tile:hover {
    transform: translateY(-2px);

}

    .brand-tile:hover .brand-tile__bg {
        transform: scale(1.06);
    }

    .brand-tile:hover .brand-tile__cta i {
        transform: translateX(1px);
    }

/* Mobile tweaks */
@media (max-width: 575.98px) {
    .brand-tile {
        min-height: 150px;
        border-radius: 16px;
    }

    .brand-tile__content {
        max-width: 78%;
        padding: 16px;
    }

    .brand-tile__title {
        font-size: 17px;
    }
}



/* =========================
   BRAND TILE – BLACK ACCENT (New Arrivals)
   ========================= */

.brand-tile--accent {
    background: #000 !important;
    border-color: #000;
}

    /* Kill light gradient */
    .brand-tile--accent .brand-tile__overlay {
        background: linear-gradient( 90deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.85) 55%, rgba(0,0,0,.65) 75% );
    }

    /* White text */
    .brand-tile--accent .brand-tile__title,
    .brand-tile--accent .brand-tile__subtitle,
    .brand-tile--accent .brand-tile__cta {
        color: #fff;
    }

    /* Softer sub text */
    .brand-tile--accent .brand-tile__subtitle {
        color: rgba(255,255,255,.75);
    }

    /* Arrow + hover */
    .brand-tile--accent .brand-tile__cta i {
        color: rgba(255,255,255,.8);
    }

    .brand-tile--accent:hover {
        box-shadow: 0 28px 70px rgba(0,0,0,.45);
        border-color: #000;
    }

        .brand-tile--accent:hover .brand-tile__bg {
            transform: scale(1.08);
        }


/* =========================
   BRAND TILES – MATCH NEW ARRIVALS LIGHT GREY BACKGROUND
   ========================= */

#brand-tiles {
    position: relative;
    background: #fff; /* base stays clean */
    padding: 28px 0 18px;
}

/* Soft grey premium wash behind tiles */
#brand-tiles::before {
    content: "";
    position: absolute;
    inset: 12px 0 12px 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.018),
        rgba(0,0,0,0)
    );
    pointer-events: none;
    z-index: 0;
}

/* Ensure tiles sit above the background wash */
#brand-tiles .container {
    position: relative;
    z-index: 1;
}


/* =========================
   NEW ARRIVALS — HEADER + BUTTON + SECTION WRAP ONLY
   (Leaves product grid + product tiles exactly as-is)
   ========================= */

#NewArrivalsSection {
    padding: 34px 0 40px;
    position: relative;
    background: #fff;
}

    /* Subtle premium "frame" behind the grid */
    #NewArrivalsSection::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 14px;
        bottom: 14px;
        background: linear-gradient(180deg, rgba(0,0,0,.018), rgba(0,0,0,0));
        pointer-events: none;
    }

    /* Header area spacing */
    #NewArrivalsSection > .container > .row:first-child {
        margin-bottom: 10px;
    }

    /* Heading: modern, premium */
    #NewArrivalsSection h2 {
        margin: 0 0 14px;
        text-align: center;
        font-weight: 900;
        letter-spacing: .14em;
        text-transform: uppercase;
        font-size: clamp(18px, 1.6vw, 22px);
        color: #111;
        position: relative;
    }

        /* Small centered divider under the heading */
        #NewArrivalsSection h2::after {
            content: "";
            display: block;
            width: 84px;
            height: 2px;
            margin: 12px auto 0;
            background: linear-gradient(90deg, rgba(0,0,0,0), rgba(0,0,0,.28), rgba(0,0,0,0));
            border-radius: 999px;
        }

    /* Add breathing room around the product grid (without changing tiles) */
    #NewArrivalsSection > .container > .row:nth-child(2) {
        padding: 6px 0 6px;
        border-top: 1px solid rgba(0,0,0,.06);
        border-bottom: 1px solid rgba(0,0,0,.06);
    }

    /* Bottom CTA row spacing */
    #NewArrivalsSection > .container > .row:last-child {
        margin-top: 18px;
    }

    /* Button: premium, modern (keeps Bootstrap .btn-primary class) */
    #NewArrivalsSection .btn.btn-primary {
        border-radius: 14px;
        padding: 10px 18px;
        font-weight: 900;
        letter-spacing: .10em;
        text-transform: uppercase;
        box-shadow: 0 16px 45px rgba(0,0,0,.08);
        border: 1px solid rgba(0,0,0,.12);
        transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
    }

        /* Hover: small lift, richer shadow */
        #NewArrivalsSection .btn.btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 22px 60px rgba(0,0,0,.12);
            filter: brightness(0.98);
        }

/* Mobile tidy */
@media (max-width: 575.98px) {
    #NewArrivalsSection {
        padding: 26px 0 32px;
    }

        #NewArrivalsSection h2 {
            letter-spacing: .12em;
        }

        #NewArrivalsSection > .container > .row:nth-child(2) {
            border-top-color: rgba(0,0,0,.05);
            border-bottom-color: rgba(0,0,0,.05);
        }
}

/* =========================
   CTA SERVICE RAIL – PREMIUM
   ========================= */

#cta-section {
    padding: 26px 0 20px;
    border-top: 1px solid rgba(0,0,0,.06);
}

.cta-rail-title {
    font-weight: 900;
    letter-spacing: .02em;
    color: #111;
    margin-bottom: 4px;
    font-size: clamp(18px, 1.6vw, 22px);
}

.cta-rail-sub {
    color: rgba(0,0,0,.6);
    font-size: 13px;
}

/* Horizontal service rail */
.cta-rail {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.cta-rail__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    text-decoration: none;
    color: rgba(0,0,0,.78);
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: .02em;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    white-space: nowrap;
}

    .cta-rail__item i {
        color: #028565;
        font-size: 13px;
    }

    /* Hover */
    .cta-rail__item:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 35px rgba(0,0,0,.08);
        border-color: rgba(2,133,101,.35);
        color: #111;
    }

/* Primary action */
.cta-rail__item--strong {
    background: #000;
    color: #fff;
    border-color: #000;
}

    .cta-rail__item--strong i {
        color: #fff;
    }

    .cta-rail__item--strong:hover {
        box-shadow: 0 20px 50px rgba(0,0,0,.35);
        transform: translateY(-2px);
    }

/* Responsive */
@media (max-width: 992px) {
    .cta-rail {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575px) {
    .cta-rail {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* =========================
   CATEGORY CARDS (like screenshot)
   - image tile
   - link underneath
   ========================= */

#category-cards {
    padding: 18px 0 10px;
}

.category-card {
    display: block;
    border-radius: 0; /* screenshot look */
    overflow: hidden;
    background: #f6f6f6;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 12px 30px rgba(0,0,0,.05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.category-card__img {
    width: 100%;
    aspect-ratio: 4 / 3; /* matches screenshot proportions */
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform .35s ease;
}

/* hover */
.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(0,0,0,.10);
    border-color: rgba(0,0,0,.18);
}

    .category-card:hover .category-card__img {
        transform: scale(1.06);
    }

/* label underneath */
.category-card__label {
    text-align: center;
    padding-top: 10px;
}

.category-card__link {
    display: inline-block;
    color: rgba(0,0,0,.78);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 13px;
    font-weight: 600;
    transition: color .15s ease;
}

    .category-card__link:hover {
        color: #000;
    }

/* tighter on mobile */
@media (max-width: 575.98px) {
    .category-card__img {
        aspect-ratio: 1 / 1; /* squares read better on phones */
    }

    .category-card__link {
        font-size: 12.5px;
    }
}
