/* =========================================================
   PRODUCTS & BRANDS SHOWCASE SECTION (MATCHING USER SPEC)
   ========================================================= */

.products-brands-showcase {
    --bg: #fbf6ec;
    --green: #0f4a3c;
    --gold: #c08a2e;
    --ink: #6b665d;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 0, #fffaf0, #fbf6ec 60%);
    color: var(--ink);
    padding: 60px 0 70px;
    font-family: 'Inter', 'DM Sans', system-ui, sans-serif;
}

.products-brands-showcase * {
    box-sizing: border-box;
}

/* Background Decorative Elements */
.products-brands-showcase .deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.products-brands-showcase .deco svg {
    position: absolute;
}

.products-brands-showcase .deco .ribbon {
    left: 0;
    top: 470px;
    width: 100%;
    height: 330px;
    opacity: .5;
}

/* Main Container Wrap */
.products-brands-showcase .wrap {
    position: relative;
    z-index: 1;
    max-width: 1940px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3.5vw, 60px);
}

.products-brands-showcase h1,
.products-brands-showcase h2,
.products-brands-showcase h3,
.products-brands-showcase .brand b {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--green);
}

.products-brands-showcase .eyebrow {
    font-size: 14px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.products-brands-showcase svg.i {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   PRODUCTS HEADER
   ========================================================= */
.products-brands-showcase .head {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 0 30px;
}

.products-brands-showcase .head h2 {
    font-size: clamp(34px, 3.8vw, 56px);
    line-height: 1.1;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 6px 0 0;
}

.products-brands-showcase .head h2 svg {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.products-brands-showcase .head p {
    font-size: 17px;
    margin-top: 8px;
    color: var(--ink);
    line-height: 1.5;
}

.products-brands-showcase .trust {
    display: flex;
    align-items: center;
}

.products-brands-showcase .trust > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-left: 1px solid #e3d8bf;
    font-size: 14.5px;
    line-height: 1.35;
    color: var(--green);
    font-weight: 500;
}

.products-brands-showcase .trust > div:first-child {
    border: 0;
    padding-left: 0;
}

.products-brands-showcase .trust small {
    display: block;
    color: #8a8478;
    font-weight: 400;
    font-size: 13.5px;
}

.products-brands-showcase .ico {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: radial-gradient(#fbf0d6, #f1e2bd);
    display: grid;
    place-items: center;
    color: var(--green);
    flex: none;
    box-shadow: inset 0 0 0 1px #ecdcb6;
}

/* Common Buttons */
.products-brands-showcase .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    background: var(--green);
    color: #fff;
    box-shadow: 0 4px 10px rgba(15, 74, 60, .25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.products-brands-showcase .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(15, 74, 60, .35);
}

.products-brands-showcase .btn.gold {
    background: var(--gold);
    box-shadow: 0 4px 10px rgba(192, 138, 46, .3);
}

.products-brands-showcase .btn.gold:hover {
    box-shadow: 0 7px 16px rgba(192, 138, 46, .45);
}

.products-brands-showcase .head .btn {
    padding: 16px 26px;
    font-size: 16.5px;
}

.products-brands-showcase .btn:focus-visible,
.products-brands-showcase .arrow:focus-visible {
    outline: 3px solid #e2b04a;
    outline-offset: 2px;
}

/* =========================================================
   PRODUCT CARDS GRID
   ========================================================= */
.products-brands-showcase .cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 32px;
}

.products-brands-showcase .card {
    position: relative;
    border-radius: 12px;
    padding: 24px 22px 22px;
    min-height: 282px;
    background: linear-gradient(105deg, #fff8ea 35%, #f8e6c2);
    border: 1px solid #f1e3c6;
    box-shadow: 0 8px 22px rgba(140, 100, 30, .13);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products-brands-showcase .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(140, 100, 30, .18);
}

.products-brands-showcase .card::before {
    content: "";
    position: absolute;
    right: -40px;
    top: -30px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(#fff4dc, transparent 68%);
    pointer-events: none;
}

.products-brands-showcase .card > * {
    position: relative;
}

.products-brands-showcase .card .eyebrow {
    font-size: 13.5px;
}

.products-brands-showcase .card h3 {
    font-size: 34px;
    margin: 4px 0 6px;
    font-weight: 600;
}

.products-brands-showcase .card .sub {
    font-size: 16.5px;
    line-height: 1.3;
    max-width: 155px;
    color: #6b665d;
}

.products-brands-showcase .feats {
    display: flex;
    gap: 14px;
    margin: 14px 0 0;
}

.products-brands-showcase .feats span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    text-align: center;
    line-height: 1.15;
    color: #6b665d;
    width: 58px;
    font-weight: 500;
}

.products-brands-showcase .feats svg {
    width: 26px;
    height: 26px;
    color: var(--green);
    stroke-width: 1.5;
}

.products-brands-showcase .card .btn {
    position: absolute;
    left: 22px;
    bottom: 20px;
    font-size: 15px;
    padding: 11px 18px;
    z-index: 2;
}

.products-brands-showcase .art {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 56%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* =========================================================
   BRANDS SECTION
   ========================================================= */
.products-brands-showcase .brands {
    margin-top: 55px;
    padding-top: 20px;
}

.products-brands-showcase .bhead {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.products-brands-showcase .bhead h2 {
    font-size: clamp(32px, 3.2vw, 46px);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.15;
    margin: 6px 0 0;
}

.products-brands-showcase .bhead h2 svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.products-brands-showcase .bhead p {
    font-size: 17px;
    color: var(--ink);
    margin-top: 6px;
}

.products-brands-showcase .outline {
    background: #fff;
    color: var(--green);
    border: 1px solid var(--green);
    box-shadow: none;
    padding: 12px 20px;
    font-size: 15.5px;
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.25s ease;
}

.products-brands-showcase .outline:hover {
    background: var(--green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(15, 74, 60, .25);
}

/* =========================================================
   BRAND SLIDER / CAROUSEL
   ========================================================= */
.products-brands-showcase .slider {
    position: relative;
    margin-top: 22px;
    padding: 0 4px;
}

.products-brands-showcase .track {
    display: flex;
    gap: 11px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 2px 10px;
}

.products-brands-showcase .track::-webkit-scrollbar {
    display: none;
}

.products-brands-showcase .brand {
    position: relative;
    flex: 0 0 calc((100% - 66px) / 7);
    min-width: 145px;
    border-radius: 10px;
    padding: 18px 8px 28px;
    text-align: center;
    border: 1px solid rgba(120, 90, 40, .1);
    text-decoration: none;
    min-height: 142px;
    box-shadow: 0 3px 8px rgba(120, 90, 40, .08);
    scroll-snap-align: start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.products-brands-showcase .brand:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(120, 90, 40, .16);
}

.products-brands-showcase .brand svg.i {
    width: 34px;
    height: 34px;
    display: block;
    margin: 0 auto 6px;
    fill: currentColor;
    stroke: none;
    flex-shrink: 0;
}

.products-brands-showcase .brand b {
    display: block;
    font-size: clamp(19px, 1.8vw, 26px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 2px;
}

.products-brands-showcase .brand span {
    font-size: 13.5px;
    line-height: 1.2;
    display: block;
}

.products-brands-showcase .go {
    position: absolute;
    right: 12px;
    bottom: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    transition: transform 0.2s ease;
}

.products-brands-showcase .brand:hover .go {
    transform: scale(1.1);
}

.products-brands-showcase .go svg.i {
    width: 15px;
    height: 15px;
    margin: 0;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

/* Arrows */
.products-brands-showcase .arrow {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    border-radius: 50%;
    border: 1px solid #d9d0bc;
    background: #fff;
    color: var(--green);
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .12);
    z-index: 5;
    transition: all 0.2s ease;
}

.products-brands-showcase .arrow:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
    transform: scale(1.08);
}

.products-brands-showcase .arrow svg.i {
    width: 18px;
    height: 18px;
}

.products-brands-showcase .arrow.l {
    left: -22px;
}

.products-brands-showcase .arrow.r {
    right: -22px;
}

/* Pagination Dots */
.products-brands-showcase .dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.products-brands-showcase .dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d8d1c2;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-brands-showcase .dots i.active {
    background: var(--green);
    width: 22px;
    border-radius: 5px;
}

/* Brand Palette Themes */
.products-brands-showcase .b1 { background: #f9e7e5; color: #b8271b; }
.products-brands-showcase .b1 b { color: #b02a1e; }
.products-brands-showcase .b1 span { color: #a3342a; }
.products-brands-showcase .b1 .go { background: #c0605a; }

.products-brands-showcase .b2 { background: #e8f1f9; color: #1f8a4a; }
.products-brands-showcase .b2 b { color: #1d3f6b; }
.products-brands-showcase .b2 span { color: #25497a; }
.products-brands-showcase .b2 .go { background: #5b93c4; }

.products-brands-showcase .b3 { background: #fdf1e0; color: #c0272d; }
.products-brands-showcase .b3 b { color: #7c1a1a; }
.products-brands-showcase .b3 span { color: #b0533a; }
.products-brands-showcase .b3 .go { background: #c98572; }

.products-brands-showcase .b4 { background: #e6f4e6; color: #1f8a3a; }
.products-brands-showcase .b4 b { color: #175a34; }
.products-brands-showcase .b4 span { color: #2d7a4a; }
.products-brands-showcase .b4 .go { background: #5aa872; }

.products-brands-showcase .b5 { background: #fdf0d8; color: #d19a2a; }
.products-brands-showcase .b5 b { color: #6a4a10; }
.products-brands-showcase .b5 span { color: #a2701a; }
.products-brands-showcase .b5 .go { background: #d4a94c; }

.products-brands-showcase .b6 { background: #efe6f7; color: #8a2fa8; }
.products-brands-showcase .b6 b { color: #4a1a72; }
.products-brands-showcase .b6 span { color: #6a3a90; }
.products-brands-showcase .b6 .go { background: #9a6bbb; }

.products-brands-showcase .b7 { background: #e4e9f5; color: #1a2f6a; }
.products-brands-showcase .b7 b { color: #14245a; }
.products-brands-showcase .b7 span { color: #2d4079; }
.products-brands-showcase .b7 .go { background: #5670b0; }

/* Responsive Overrides */
@media (max-width: 1400px) {
    .products-brands-showcase .brand {
        flex: 0 0 calc((100% - 55px) / 6);
    }
}

@media (max-width: 1200px) {
    .products-brands-showcase .head {
        grid-template-columns: 1fr auto;
    }
    .products-brands-showcase .trust {
        display: none;
    }
    .products-brands-showcase .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-brands-showcase .brand {
        flex: 0 0 calc((100% - 33px) / 4);
    }
    .products-brands-showcase .arrow.l {
        left: -12px;
    }
    .products-brands-showcase .arrow.r {
        right: -12px;
    }
}

@media (max-width: 860px) {
    .products-brands-showcase .brand {
        flex: 0 0 calc((100% - 22px) / 3);
    }
}

@media (max-width: 680px) {
    .products-brands-showcase .head {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .products-brands-showcase .cards {
        grid-template-columns: 1fr;
    }
    .products-brands-showcase .card {
        min-height: 290px;
    }
    .products-brands-showcase .brand {
        flex: 0 0 calc((100% - 11px) / 2);
    }
    .products-brands-showcase .arrow {
        display: none;
    }
}

@media (max-width: 440px) {
    .products-brands-showcase .brand {
        flex: 0 0 calc(100% - 40px);
    }
}
