/* Banner */
/* ---------- Hero Slider ---------- */
.hero {
    background: var(--theme-bg);
}

.banner-img {
    width: 100%;
    height: 100%;
    /* responsive height */
    object-fit: cover;
    display: block;
    background: var(--theme-bg);
}

/* Caption layer */
.hero-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    color: var(--white);
    /* gentle dark overlay for legibility */
    background: linear-gradient(to bottom,
            color-mix(in srgb, var(--black) 35%, transparent),
            color-mix(in srgb, var(--black) 15%, transparent));
}

.hero-title {
    font-size: clamp(20px, 3vw, 40px);
    line-height: 1.2;
    margin: 0 0 .25rem 0;
    font-weight: 700;
}

.hero-sub {
    font-size: clamp(13px, 1.4vw, 18px);
    margin: 0 0 .75rem 0;
    color: color-mix(in srgb, var(--white) 90%, var(--black));
}

/* Indicators & controls themed */
.carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--white) 60%, var(--black));
    opacity: .6;
}

.carousel-indicators .active {
    background-color: var(--theme-accent);
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 2px 6px color-mix(in srgb, var(--black) 40%, transparent));
}

/* Mobile spacing tweak so caption text isn't too wide */
@media (max-width: 576px) {
    .hero-caption .container>[class*="col-"] {
        padding-right: .75rem;
        padding-left: .75rem;
    }
}


/* ---------- Prettier Carousel Arrows ---------- */
.carousel-control-prev,
.carousel-control-next {
    width: auto;
    /* don’t stretch full height */
    opacity: 1;
    /* always visible */
    padding: .5rem;
    /* click target padding */
    z-index: 5;
}

.carousel-control-prev {
    left: 1rem;
}

.carousel-control-next {
    right: 1rem;
}

/* Circle buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background-color: var(--theme-accent);
    /* filled with accent */
    box-shadow: 0 6px 18px color-mix(in srgb, var(--black) 20%, transparent);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 52% 52%;
    transition: transform .18s ease, background-color .2s ease, box-shadow .2s ease;
}

/* White chevrons inside (Bootstrap-style SVGs) */
.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M11.354 1.646a.5.5 0 010 .708L5.707 8l5.647 5.646a.5.5 0 01-.708.708l-6-6a.5.5 0 010-.708l6-6a.5.5 0 01.708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M4.646 1.646a.5.5 0 010 .708L10.293 8l-5.647 5.646a.5.5 0 10.708.708l6-6a.5.5 0 000-.708l-6-6a.5.5 0 00-.708 0z'/%3e%3c/svg%3e");
}

/* Hover/active feedback */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.06);
    background-color: color-mix(in srgb, var(--theme-accent) 92%, var(--black) 8%);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--black) 28%, transparent);
}

/* Tiny directional nudge for delight */
.carousel-control-prev:hover .carousel-control-prev-icon {
    transform: translateX(-2px) scale(1.06);
}

.carousel-control-next:hover .carousel-control-next-icon {
    transform: translateX(2px) scale(1.06);
}

/* Mobile spacing */
@media (max-width: 576px) {
    .carousel-control-prev {
        left: .5rem;
    }

    .carousel-control-next {
        right: .5rem;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 40px;
        height: 40px;
    }
}


/* ---------- Service Badges ---------- */
.service-badges {
    background: var(--theme-bg);
    border-top: 1px solid var(--theme-border);
    border-bottom: 1px solid var(--theme-border);
    padding: .75rem 0;
}

.sb-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: var(--theme-accent);
    font-weight: 700;
    white-space: nowrap;
    /* keep each label tidy in its column */
}

.sb-item i {
    font-size: 22px;
    line-height: 1;
    color: var(--theme-accent);
}

.sb-item span {
    font-size: 14px;
}

@media (max-width: 576px) {
    .sb-item span {
        font-size: 12px;
    }
}


/* Mobile layout: icon above text, centered (3 cols remain) */
@media (max-width: 576px) {
    .service-badges {
        padding: .9rem 0;
    }

    /* make each col a flex box so items center perfectly */
    .service-badges .row>[class^="col-"] {
        display: flex;
        justify-content: center;
    }

    .sb-item {
        flex-direction: column;
        /* stack icon over text */
        gap: .4rem;
        text-align: center;
        white-space: normal;
        /* allow 2-line labels */
        max-width: 110px;
        /* neat wrap like your screenshot */
    }

    .sb-item i {
        font-size: 28px;
        /* bigger icon on mobile */
        color: var(--theme-accent);
    }

    .sb-item span {
        font-size: 12px;
        /* compact label */
        line-height: 1.25;
        color: var(--theme-accent);
        font-weight: 700;
    }
}


/*  */
/* ===== Maestros section (increment only) ===== */
.maestros-section {
    position: relative;
    background: url("https://media.craftmaestros.com/media/cm-athlete2/bg2.jpg") center/cover no-repeat;
    padding: clamp(28px, 6vw, 72px) 0;
    overflow: hidden;
}

.maestros-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* soft tint on left -> transparent right for readability */
    background: linear-gradient(90deg,
            color-mix(in srgb, var(--white) 85%, var(--theme-accent) 15%) 0%,
            color-mix(in srgb, var(--white) 65%, var(--theme-accent) 10%) 45%,
            transparent 80%);
    pointer-events: none;
}

.maestros-section>.container {
    position: relative;
    z-index: 1;
}

/* Left column */
.maestros-title {
    color: var(--theme-text);
    font-weight: 600;
    font-size: clamp(18px, 2vw, 30px);
    line-height: 1.22;
    margin: 0 0 clamp(18px, 2.8vw, 30px) 0;
}

/* 2×2 features */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border: 1px solid var(--theme-border);
    border-radius: 2px;
    overflow: hidden;
}

.fg-item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .75rem;
    padding: 20px clamp(12px, 2.2vw, 24px);
    color: var(--theme-text);
}

.feature-grid .fg-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--theme-border);
}

.feature-grid .fg-item:nth-child(odd) {
    border-right: 1px solid var(--theme-border);
}

.fg-ico {
    font-size: clamp(24px, 2.6vw, 32px);
    color: var(--theme-accent);
    line-height: 1;
}

.fg-text {
    font-size: 14px;
}

.fg-text strong {
    font-weight: 700;
}

/* (NEW utility) outline button to match ref */
.btn-outline-accent {
    background: transparent;
    color: var(--theme-accent);
    border: 2px solid var(--theme-accent);
}

.btn-outline-accent:hover {
    color: var(--white);
    background: var(--theme-accent);
}

/* Right column: cards */
.maestros-right {
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
}

.maestro-cards {
    display: flex;
    gap: 18px;
    margin-top: 12px;
}

.maestro-card {
    position: relative;
    width: clamp(180px, 16vw, 260px);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 16px 36px color-mix(in srgb, var(--black) 22%, transparent);
    transition: transform .2s ease, box-shadow .2s ease;
}

.maestro-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px color-mix(in srgb, var(--black) 28%, transparent);
}

.maestro-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.maestro-name {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: var(--white);
    color: var(--theme-text);
    font-weight: 700;
    font-size: 13px;
    padding: .45rem .6rem;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--black) 18%, transparent);
}


.maestros-section .btn {
    font-size: .9rem;
    padding: .5rem 1rem;
}

/* Right-align the heading on the image side */
.maestros-right h3 {
    text-align: right;
    width: 100%;
    margin-left: auto;
    margin-right: 6px;
    /* subtle nudge from edge */
}

/* Responsive (match your mobile mock) */
@media (max-width: 991.98px) {
    .maestros-right {
        display: none !important;
    }

    .maestros-left {
        text-align: center;
    }

    .maestros-title {
        margin-bottom: 20px;

    }

    .fg-item {
        padding: 16px 14px;
    }

    .feature-grid .fg-item:nth-child(-n+2) {
        border-bottom: 1px solid color-mix(in srgb, var(--theme-border) 80%, transparent);
    }

    .feature-grid .fg-item:nth-child(odd) {
        border-right: 1px solid color-mix(in srgb, var(--theme-border) 80%, transparent);
    }

    /* stronger overlay on small to ensure contrast */
    .maestros-section::before {
        background: linear-gradient(90deg,
                color-mix(in srgb, var(--white) 90%, var(--theme-accent) 10%) 0%,
                color-mix(in srgb, var(--white) 75%, var(--theme-accent) 10%) 55%,
                transparent 90%);
    }
}

@media (max-width: 576px) {
    .maestros-section {
        padding: 24px 0;
    }

    .fg-ico {
        font-size: 26px;
    }

    .maestros-title {
        font-size: clamp(18px, 5.2vw, 24px);
    }

    .fg-text {
        font-size: 12px;
    }

    .maestros-section .btn {
        font-size: .85rem;
    }
}







/*  */
/* =========================
   STATS STRIP — FULL CSS
   ========================= */
.stats-strip {
    background: var(--white, #fff);
    padding: clamp(.5rem, 1.5vw, 1rem) 0;
    border: 0;
    /* no outer border */
}

/* draw only top & bottom hairlines for the row */
.stats-strip .row {

    /* fallback */
    border-top: 1px solid #c3c6cc;
    border-bottom: 1px solid #c3c6cc;
    /* modern */
    border-color: color-mix(in srgb, var(--theme-border, #e9ecef) 70%, var(--black, #000) 30%);
}

/* columns: add slim vertical separators between them */
.stats-col {
    position: relative;
}

.stats-col:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14%;
    bottom: 14%;
    width: 1px;
    /* fallback */
    background: #c3c6cc;
    /* modern */
    background: color-mix(in srgb, var(--theme-border, #e9ecef) 70%, var(--black, #000) 30%);
}

/* content wrapper */
.stat {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.5rem, 1.2vw, 1rem);
    padding: clamp(.6rem, 2vw, 1.1rem);
}

/* number bubble */
.stat-badge {
    display: grid;
    place-items: center;
    width: clamp(44px, 6vw, 72px);
    height: clamp(44px, 6vw, 72px);
    border-radius: 50%;
    /* fallback then modern mix */
    background: rgba(117, 45, 66, .12);
    background: color-mix(in srgb, var(--theme-accent, #752D42) 12%, var(--white, #fff));
    color: var(--theme-accent, #752D42);
    font-weight: 800;
    font-size: clamp(14px, 2vw, 20px);
    line-height: 1;
}

/* label */
.stat-label {
    color: var(--theme-accent, #752D42);
    font-weight: 600;
    font-size: clamp(12px, 1.6vw, 18px);
}

/* ---------- Mobile (<=576px): stack circle above text; keep 3 cols ---------- */
@media (max-width: 576.98px) {
    .stat {
        flex-direction: column;
        gap: .4rem;
        padding: .75rem .25rem;
    }

    .stats-strip .row {
        border-top: 1px solid #c3c6cc;
        border-bottom: 1px solid #c3c6cc;
        border-color: color-mix(in srgb, var(--theme-border, #e9ecef) 70%, var(--black, #000) 30%);
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-badge {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }

    /* shorter separators on small screens */
    .stats-col:not(:first-child)::before {
        top: 18%;
        bottom: 18%;
    }
}

/* ---------- Tablet (577–991px): moderate sizing ---------- */
@media (min-width: 577px) and (max-width: 991.98px) {
    .stat-badge {
        width: 56px;
        height: 56px;
        font-size: 16px;
    }

    .stat-label {
        font-size: 14px;
    }
}




/* Product Section */

/* ==============================
   NEW ARRIVALS — FULL SECTION CSS
   ============================== */

.new-arrivals {
    padding: clamp(16px, 3.5vw, 36px) 0;
}

/* Heading */
.na-title {
    font-weight: 700;
    margin: 0 0 .25rem;
}

.na-lead {
    margin: 0;
    color: color-mix(in srgb, var(--theme-text, #000) 65%, var(--white, #fff));
}

/* Card shell (same for left & right) */
.na-card {
    border: 0;
    background: transparent;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 26px color-mix(in srgb, var(--black, #000) 10%, transparent);
    transition: transform .2s ease, box-shadow .2s ease;
}

.na-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px color-mix(in srgb, var(--black, #000) 16%, transparent);
}

/* Media area */
.na-media {
    position: relative;
    display: block;
    overflow: hidden;
}

.na-media--tall {
    aspect-ratio: 3 / 4;
}

/* use this for all cards */
.na-media--square {
    aspect-ratio: 1 / 1;
}

/* optional, if you ever need square */

.na-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.na-card:hover .na-img {
    transform: scale(1.06);
}

/* Accent badge */
.na-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--theme-accent, #752D42);
    color: var(--white, #fff);
    font-weight: 700;
    font-size: 12px;
    padding: .25rem .5rem;
    border-radius: 4px;
}

/* Hover overlay + CTA (desktop/hover devices) */
.na-hover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--black, #000) 26%, transparent);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.na-card:hover .na-hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* CTA button (works even if .btn-theme is not present) */
.na-cta {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .3px;
    background: var(--theme-btn, #20385c);
    color: var(--white, #fff);
    border: none;
}

/* Text box under image */
.na-body {
    background: var(--white, #fff);
    margin: .6rem .6rem 1rem;
    padding: .75rem .85rem 1rem;
    border-radius: 10px;
    text-align: center;
    /* box-shadow: 0 8px 18px color-mix(in srgb, var(--black, #000) 10%, transparent); */
}

.na-name {
    color: var(--theme-text, #000);
    font-size: 16px;
    line-height: 1.25;
    margin: 0 0 .35rem;
}

.na-price {
    color: var(--theme-text, #000);
    font-size: 14px;
    font-weight: 700;
}

/* Mobile inline CTA (hidden by default; shows on touch-only devices) */
.na-cta-inline {
    display: none;
}

/* ====== Responsiveness & interaction ====== */

/* Touch devices: show inline button, hide overlay */
@media (hover: none) {
    .na-hover {
        display: none !important;
    }

    .na-cta-inline {
        display: inline-block;
    }
}

/* Small phones: tighter type */
@media (max-width: 576.98px) {
    .na-name {
        font-size: 14px;
    }

    .na-price {
        font-size: 13px;
    }
}

/* Large screens: add vertical gutter to the grid */
@media (min-width: 1200px) {
    .new-arrivals .row.g-4 {
        --bs-gutter-y: 2rem;
    }
}










/* Category Section */
/* ===== Circle Categories ===== */
.circle-cats {
    padding: clamp(16px, 4vw, 40px) 0;
}

.cc-title {
    margin: 0 0 .25rem;
    font-weight: 700;
}

.cc-lead {
    margin: 0 0 1rem;
    color: color-mix(in srgb, var(--theme-text, #000) 60%, var(--white, #fff));
}

/* item wrapper */
.cc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-align: center;
    text-decoration: none;
}

/* circular thumb */
.cc-thumb {
    width: 100%;
    max-width: clamp(90px, 11vw, 160px);
    /* keeps circles nicely sized */
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 18px color-mix(in srgb, var(--black, #000) 12%, transparent);
    border: 2px solid var(--white, #fff);
    /* white rim */
}

.cc-thumb::after {
    /* subtle gray ring like the ref */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px var(--theme-border, #e9ecef);
    pointer-events: none;
}

.cc-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

/* label */
.cc-label {
    color: var(--theme-text, #000);
    font-weight: 700;
    font-size: clamp(12px, 1.1vw, 16px);
}

/* hover / focus */
@media (hover:hover) {
    .cc-item:hover img {
        transform: scale(1.06);
    }

    .cc-item:hover .cc-thumb::after {
        box-shadow: inset 0 0 0 2px var(--theme-accent, #752D42);
    }
}

.cc-item:focus-visible .cc-thumb::after {
    box-shadow: inset 0 0 0 3px var(--theme-accent, #752D42);
    outline: none;
}

/* grid responsiveness:
   mobile = 3 columns (col-4).
   md = 4 columns (col-md-3).
   lg = 6 columns (col-lg-2). */





/*  */
/* ==============================
   MAESTROS GRID SECTION (IMAGES ONLY)
   ============================== */

/* Section background */
.mrec {
    --mrec-h: clamp(300px, 32vw, 540px);
    /* desktop column height */
    --mrec-gap: 12px;
    /* inner grid gap on the right */
    position: relative;
    padding: clamp(16px, 4vw, 40px) 0;

    background: url("https://media.craftmaestros.com/media/cm-athlete2/bg3.jpg") center/cover no-repeat;
}

@media (min-width: 992px) {
    .mrec {
        padding: 80px 0;
    }
}

/* Tiles (shared) */
.mrec-tile {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
    transition: transform .25s ease, box-shadow .25s ease;
}

.mrec-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
}

.mrec-tile>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.mrec-tile:hover>img {
    transform: scale(1.05);
}

/* Left column: match right column height */
.mrec-left {
    height: var(--mrec-h);
}

/* Right column grid */
.mrec-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr;
    /* two equal rows */
    gap: var(--mrec-gap);
    height: var(--mrec-h);
}

.mrec-right .mrec-wide {
    grid-column: 1 / span 2;
}

/* bottom image spans full width */

/* Buttons style (outline variant) */
.btn-outline-accent {
    background: transparent;
    color: var(--theme-accent);
    border: 2px solid var(--theme-accent);
}

.btn-outline-accent:hover {
    background: var(--theme-accent);
    color: var(--white);
}

.mrec-ctas {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 4vw, 56px);
}

:root {
    --btn-brown: #8a6a3f;
}

/* tweak if you need a different brown */


.btn-pill-brown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .6rem 1.6rem;
    min-width: 190px;
    border: 0;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-weight: 800;
    font-size: .82rem;
    color: #fff;
    background: var(--btn-brown);
    /* subtle vertical sheen like the reference */
    background-image:
        linear-gradient(180deg, color-mix(in srgb, var(--btn-brown) 110%, #ffffff 0%) 0%,
            color-mix(in srgb, var(--btn-brown) 100%, #000000 0%) 100%);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    text-decoration: none;
}

.btn-pill-brown:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
    filter: brightness(1.03);
}

.btn-pill-brown:active {
    transform: translateY(1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
    filter: brightness(.96);
}

.btn-pill-brown:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--btn-brown) 35%, #ffffff),
        0 12px 26px rgba(0, 0, 0, .2);
}


/* ---------------------------
   Responsive (mobile-first)
   --------------------------- */
@media (max-width: 991.98px) {

    /* Stack layout:
     1) left image full width
     2) two images in 2 cols
     3) one image full width */
    .mrec-left {
        height: auto;
        aspect-ratio: 16 / 10;
        /* pleasant ratio on phones */
    }

    .mrec-right {
        height: auto;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 12px;
    }

    .mrec-right .mrec-sm {
        aspect-ratio: 1 / 1;
        /* square thumbs on the top row */
    }

    .mrec-right .mrec-wide {
        grid-column: 1 / span 2;
        /* full width bottom */
        aspect-ratio: 16 / 9;
    }
}


/* Mobile spacing */
@media (max-width: 576.98px) {
    .mrec-ctas {
        gap: 18px;
    }

    .btn-pill-brown {
        min-width: 0;
        padding: .55rem 1.25rem;
        font-size: .8rem;
    }
}

/* Constrain inner content only */
.mrec {
    --mrec-max: 1200px;
    /* change this number to your preferred max width */
}

.mrec>.container {
    max-width: var(--mrec-max);
    margin-inline: auto;
}




/* ==============================
   LOVED CATEGORIES — FULL CSS
   ============================== */

/* Section background + 60px vertical padding */
.loved-cats {
    padding: 60px 0;
    background: url("https://media.craftmaestros.com/media/cm-athlete2/bg1.jpg") center/cover no-repeat;
}

/* Heading */
.lc-title {
    margin: 0;
    font-weight: 700;
    color: var(--theme-text, #000);
}

/* Card */
.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
}

/* Image box */
.cat-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* consistent tile shape */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 22px color-mix(in srgb, var(--black, #000) 10%, transparent);
    background: var(--white, #fff);
}

.cat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* crop like your reference */
    transition: transform .35s ease;
}

@media (hover:hover) {
    .cat-card:hover .cat-media img {
        transform: scale(1.05);
    }
}

/* Label */
.cat-title {
    font-weight: 700;
    font-size: clamp(12px, 1.05vw, 16px);
    color: var(--theme-text, #000);
}

/* View all pill button */
.btn-viewall {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .6rem 1.6rem;
    min-width: 150px;
    border-radius: 999px;
    background: var(--btn-brown, #8a6a3f);
    color: #fff;
    font-weight: 800;
    letter-spacing: .4px;
    font-size: .82rem;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.btn-viewall:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .18);
    filter: brightness(1.03);
}

.btn-viewall:active {
    transform: translateY(1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
    filter: brightness(.96);
}

.btn-viewall:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-brown, #8a6a3f) 35%, #ffffff), 0 12px 26px rgba(0, 0, 0, .2);
}

/* Responsive notes:
   - grid uses col-6 on mobile (2 columns), col-md-3 on md+ (4 columns)
   - text sizes clamp for smooth scaling */





/*  */
/* =========================
   TESTIMONIAL SLIDER — FULL CSS
   ========================= */

.testi {
    padding: clamp(24px, 5vw, 64px) 0;
    overflow: hidden;
    /* prevent horizontal scroll */
}

.testi-title {
    margin-bottom: clamp(16px, 2vw, 28px);
    font-weight: 700;
}

/* Carousel container shouldn’t overflow either */
.testi .carousel {
    overflow: hidden;
}

/* ---- Left media (image) ---- */





.testi-media {
    position: relative;
    width: 500px;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 14px 34px color-mix(in srgb, var(--black, #000) 14%, transparent); */
    background: var(--white, #fff);
    display: flex;
    align-items: center;
    justify-content: center;


}

.testi-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Shows full image without cropping */
    display: block;
    transition: transform .45s ease;
}

@media (hover:hover) {
    .carousel-item:hover .testi-media img {
        transform: scale(1.04);
    }
}


/* ---- Right quote ---- */
.testi-quote {
    margin: 0;
    max-width: 680px;
    padding: 10px;
}

.quote-mark {
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1;
    margin-bottom: .25rem;
    color: color-mix(in srgb, var(--theme-text, #000) 60%, var(--white, #fff));
}

.testi-quote blockquote {
    margin: 0 0 .75rem 0;
    color: color-mix(in srgb, var(--theme-text, #000) 78%, var(--white, #fff));
    font-size: clamp(14px, 1.2vw, 16px);
}

.testi-quote figcaption {
    font-weight: 800;
    color: var(--theme-text, #000);
}

/* ---- Controls (transparent round buttons) ---- */
.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    /* keep click area neat */
    opacity: 1;
    padding: .25rem;
}

@media (min-width: 992px) {
    .testi .carousel-control-prev {
        left: 0;
    }

    /* no negative offsets -> no overflow */
    .testi .carousel-control-next {
        right: 0;
    }
}

/* transparent button visual with only chevrons showing */
.testi-arrow {
    display: inline-block;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background-color: var(--theme-accent);
    border: none !important;
    box-shadow: none !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 46%;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .18));
    /* subtle glyph shadow */
    transition: transform .15s ease;
}

.carousel-control-prev:hover .testi-arrow,
.carousel-control-next:hover .testi-arrow {
    transform: scale(1.06);
}

/* SVG chevrons (inherit dark tone) */
.testi-arrow-prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M11.354 1.646a.5.5 0 010 .708L5.707 8l5.647 5.646a.5.5 0 01-.708.708l-6-6a.5.5 0 010-.708l6-6a.5.5 0 01.708 0z'/%3E%3C/svg%3E");
    filter: invert(18%) drop-shadow(0 2px 6px rgba(0, 0, 0, .18));
}

.testi-arrow-next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M4.646 1.646a.5.5 0 010 .708L10.293 8l-5.647 5.646a.5.5 0 10.708.708l6-6a.5.5 0 000-.708l-6-6a.5.5 0 00-.708 0z'/%3E%3C/svg%3E");
    filter: invert(18%) drop-shadow(0 2px 6px rgba(0, 0, 0, .18));
}

/* ---- Responsive tweaks ---- */
@media (max-width: 991.98px) {
    @media (max-width: 991.98px) {
        .testi-media {
            width: 100%;
            max-width: 100%;
            /* optional: limit size */
            height: 100%;
            /* remove fixed height */
            /* aspect-ratio: 1/1; */
            /* keeps it square */
        }

        .testi-media img {
            width: 100%;
            height: auto;
            /* maintain aspect ratio */
        }
    }



    /* wider crop on phones */
    .testi-quote blockquote {
        font-size: 14px;
    }
}





/* If you prefer images fully visible (no crop), replace the img rule with:
.testi-media img{ object-fit: contain; background: var(--white); }
*/



/* ==============================
   ART BEHIND THE CRAFT — SECTION
   ============================== */

.artcraft {
    padding: 12px 0 0;
}

/* Title */
.ac-title {
    margin: 0 0 .75rem;
    font-weight: 700;
    color: var(--theme-text, #000);
}

/* Stage: background lady image */
.ac-stage {
    --ac-h: clamp(360px, 58vw, 560px);
    /* section height on desktop */
    position: relative;
    background: url("https://media.craftmaestros.com/pub/media/cm-athlete2/Insta.webp") center/cover no-repeat;
    min-height: var(--ac-h);
    overflow: hidden;
}

/* soft maroon veil over bg to match reference */
.ac-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--theme-accent, #752D42) 28%, transparent);
    pointer-events: none;
}

/* Container acts as positioning context for the card */
.ac-stage>.container {
    position: relative;
    height: var(--ac-h);
}

/* ---------- Overlay card ---------- */
.ac-overlay {
    position: absolute;
    left: clamp(12px, 4vw, 48px);
    /* sits from the left like your screenshot */
    top: 50%;
    transform: translateY(-50%);
    /* vertically centered */
    width: min(640px, 56%);
    aspect-ratio: 16 / 10;
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 16px 44px color-mix(in srgb, var(--black, #000) 18%, transparent);
}

/* overlay image */
.ac-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: translateZ(0);
    transition: transform .45s ease;
}

@media (hover:hover) {
    .ac-overlay:hover .ac-photo {
        transform: scale(1.04);
    }
}

/* dark gradient inside card for caption legibility (top-right focus) */
.ac-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(80% 70% at 70% 20%,
            color-mix(in srgb, var(--black, #000) 45%, transparent) 0%,
            color-mix(in srgb, var(--black, #000) 30%, transparent) 35%,
            transparent 70%);
    pointer-events: none;
}

/* Caption block positioned like the mock (right area of the card) */
.ac-caption {
    position: absolute;
    top: 14%;
    right: 8%;
    left: 48%;
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.ac-h {
    margin: 0 0 .4rem;
    font-weight: 800;
    font-size: clamp(18px, 2.2vw, 28px);
}

.ac-sub {
    margin: 0 0 .9rem;
    font-size: clamp(12px, 1.1vw, 15px);
    line-height: 1.35;
}

/* Pill button like ref (black fill, white text) */
.ac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem 1.2rem;
    border-radius: 999px;
    background: var(--black, #000);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .3px;
    font-size: .82rem;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .25);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.ac-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.ac-btn:active {
    transform: translateY(1px);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .ac-stage {
        --ac-h: clamp(320px, 62vw, 480px);
    }

    /* Card becomes wider and the caption area adjusts */
    .ac-overlay {
        left: clamp(12px, 5vw, 28px);
        width: min(760px, 86%);
        aspect-ratio: 16 / 10;
    }

    .ac-caption {
        top: 12%;
        left: 40%;
        right: 6%;
    }
}

@media (max-width: 576.98px) {
    .ac-stage {
        --ac-h: auto;
        padding: 16px 0 24px;
    }

    .ac-stage>.container {
        height: auto;
    }

    /* Stack: card is just a normal block, full width */
    .ac-overlay {
        position: static;
        transform: none;
        width: 100%;
        aspect-ratio: 16 / 11;
        margin-inline: auto;
    }

    .ac-caption {
        left: 10%;
        right: 10%;
        top: 16%;
    }
}