:root {
    --retail-ink: #18352d;
    --retail-green: #214f40;
    --retail-green-deep: #16392f;
    --retail-gold: #b88a3a;
    --retail-cream: #f7f1e5;
    --retail-paper: #fffdf8;
    --retail-line: #ded5c4;
    --retail-muted: #6e685e;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: clip;
}

.retail-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 18%, rgba(184, 138, 58, 0.18), transparent 31rem),
        linear-gradient(135deg, #fbf8f0 0%, var(--retail-cream) 58%, #eee2cc 100%);
    border-bottom: 1px solid var(--retail-line);
}

.retail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.42;
    background-image: linear-gradient(rgba(33, 79, 64, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(33, 79, 64, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to right, black, transparent 72%);
}

.retail-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    width: min(100% - 2rem, 1280px);
    min-height: 550px;
    margin: 0 auto;
    padding: 2.25rem 0;
}

.retail-hero__copy {
    max-width: 590px;
    padding: 1rem 0;
}

.retail-eyebrow {
    margin: 0 0 0.9rem;
    color: #90651f;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1.45;
    text-transform: uppercase;
}

.retail-hero h1 {
    max-width: 13ch;
    margin: 0;
    color: var(--retail-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.5rem, 4.15vw, 4.55rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.99;
    text-wrap: balance;
}

.retail-hero__lede {
    max-width: 54ch;
    margin: 1.25rem 0 0;
    color: #5e5a51;
    font-size: clamp(1rem, 1.2vw, 1.13rem);
    line-height: 1.65;
}

.retail-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
    margin-top: 1.55rem;
}

.retail-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--retail-green);
    border-radius: 0.72rem;
    padding: 0.76rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.retail-button--primary {
    background: var(--retail-green);
    color: white;
    box-shadow: 0 10px 24px rgba(22, 57, 47, 0.16);
}

.retail-button--secondary {
    background: rgba(255, 253, 248, 0.74);
    color: var(--retail-green);
}

.retail-button:hover {
    transform: translateY(-1px);
}

.retail-button--primary:hover {
    background: var(--retail-green-deep);
    color: white;
}

.retail-button--secondary:hover {
    background: white;
    color: var(--retail-green-deep);
}

.retail-button:focus-visible,
.retail-carousel button:focus-visible,
.retail-carousel a:focus-visible {
    outline: 3px solid rgba(184, 138, 58, 0.58);
    outline-offset: 3px;
}

.retail-hero__micro {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 1rem 0 0;
    color: var(--retail-muted);
    font-size: 0.78rem;
}

.retail-hero__micro::before {
    content: "";
    width: 0.48rem;
    height: 0.48rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #3c865f;
    box-shadow: 0 0 0 4px rgba(60, 134, 95, 0.12);
}

.retail-carousel {
    position: relative;
    width: 100%;
    min-width: 0;
    border-radius: 1.35rem;
    background: rgba(255, 253, 248, 0.82);
    box-shadow: 0 24px 70px rgba(45, 53, 44, 0.13);
    isolation: isolate;
}

.retail-carousel__viewport {
    min-height: 455px;
    overflow: hidden;
    border: 1px solid rgba(184, 138, 58, 0.26);
    border-radius: inherit;
    touch-action: pan-y;
}

.retail-carousel__track {
    display: flex;
    height: 100%;
    transition: transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.retail-product-slide {
    display: grid;
    grid-template-columns: minmax(225px, 0.93fr) minmax(250px, 1.07fr);
    width: 100%;
    min-width: 100%;
    min-height: 455px;
    align-items: stretch;
}

.retail-product-slide[aria-hidden="true"] {
    visibility: hidden;
}

.retail-product-slide__visual {
    position: relative;
    display: grid;
    min-width: 0;
    place-items: center;
    overflow: hidden;
    padding: 1.6rem;
    background: linear-gradient(145deg, #e9e0cf, #f8f3e9);
}

.retail-product-slide__visual::after {
    content: "";
    position: absolute;
    right: 13%;
    bottom: 8%;
    left: 13%;
    height: 1.25rem;
    border-radius: 50%;
    background: rgba(25, 34, 29, 0.15);
    filter: blur(11px);
}

.retail-product-slide__visual img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: contain;
    object-position: center;
    transform: scale(1.1);
    transform-origin: center;
    filter: drop-shadow(0 18px 18px rgba(40, 35, 26, 0.2));
}

.retail-product-slide__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.55rem, 3.4vw, 2.8rem);
}

.retail-product-slide__category {
    margin: 0 0 0.52rem;
    color: #9b742f;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.retail-product-slide__title {
    margin: 0;
    color: var(--retail-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.55rem, 2.3vw, 2.2rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.retail-product-slide__variant {
    margin: 0.72rem 0 0;
    color: var(--retail-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

.retail-product-slide__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.68rem;
    margin-top: 1rem;
}

.retail-product-slide__price {
    color: var(--retail-green);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.retail-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.3rem 0.58rem;
    background: #e7f2e9;
    color: #2d6b48;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.retail-stock::before {
    content: "";
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 50%;
    background: currentColor;
}

.retail-stock--out {
    background: #eee9df;
    color: #726a5d;
}

.retail-product-slide__benefit {
    margin: 0.85rem 0 1.1rem;
    color: #5b5b54;
    font-size: 0.83rem;
    line-height: 1.55;
}

.retail-product-slide .retail-button {
    align-self: flex-start;
    min-width: 132px;
}

.retail-carousel__arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(24, 53, 45, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--retail-green);
    box-shadow: 0 8px 20px rgba(24, 53, 45, 0.14);
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    transform: translateY(-50%);
}

.retail-carousel__arrow:hover {
    background: var(--retail-green);
    color: white;
}

.retail-carousel__arrow--prev {
    left: -1.15rem;
}

.retail-carousel__arrow--next {
    right: -1.15rem;
}

.retail-carousel__footer {
    position: absolute;
    z-index: 4;
    right: 1rem;
    bottom: 0.9rem;
    left: calc(46.5% + 1.4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.retail-carousel__dots {
    display: flex;
    align-items: center;
    gap: 0.42rem;
    pointer-events: auto;
}

.retail-carousel__dot {
    width: 0.48rem;
    height: 0.48rem;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(24, 53, 45, 0.25);
    cursor: pointer;
    transition: width 180ms ease, background-color 180ms ease;
}

.retail-carousel__dot[aria-current="true"] {
    width: 1.45rem;
    background: var(--retail-gold);
}

.retail-carousel__count {
    color: #7c7568;
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.retail-trust-strip {
    border-bottom: 1px solid var(--retail-line);
    background: var(--retail-paper);
}

.retail-trust-strip__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(100% - 2rem, 1180px);
    margin: 0 auto;
}

.retail-trust-item {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1rem 0.75rem;
    color: var(--retail-ink);
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.28;
    text-align: left;
}

.retail-trust-item + .retail-trust-item {
    border-left: 1px solid var(--retail-line);
}

.retail-trust-item__mark {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(184, 138, 58, 0.45);
    border-radius: 50%;
    background: #fbf5e8;
    color: #8a6425;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.03em;
}

.retail-b2b-banner {
    width: min(100% - 2rem, 1120px);
    margin: 3.5rem auto;
    padding: clamp(1.5rem, 3vw, 2.3rem);
    border: 1px solid rgba(184, 138, 58, 0.28);
    border-radius: 1.2rem;
    background: linear-gradient(120deg, #f8f2e6, #fffdf9);
}

.retail-b2b-banner__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
}

.retail-b2b-banner h2 {
    margin: 0.24rem 0 0.32rem;
    color: var(--retail-ink);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.15;
}

.retail-b2b-banner p {
    max-width: 65ch;
    margin: 0;
    color: var(--retail-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

/* Retail-first header hierarchy */
.wholesale-cta,
.wholesale-cta-mobile {
    border: 0 !important;
    border-radius: 0.5rem !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #6f6a61 !important;
    animation: none !important;
    transform: none !important;
}

.wholesale-cta:hover,
.wholesale-cta-mobile:hover {
    background: #f4f0e8 !important;
    color: var(--retail-green) !important;
    filter: none !important;
}

.wholesale-badge,
.wholesale-badge-mobile {
    background: #eee9df !important;
    color: #716a5e !important;
}

.retail-nav-primary {
    border-radius: 0.58rem;
    background: #edf3ef;
    color: var(--retail-green) !important;
    font-weight: 800 !important;
}

@media (max-width: 1100px) {
    .retail-hero__inner {
        grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
        gap: 2rem;
    }

    .retail-product-slide {
        grid-template-columns: minmax(205px, 0.88fr) minmax(240px, 1.12fr);
    }
}

@media (max-width: 900px) {
    .retail-hero__inner {
        grid-template-columns: 1fr;
        gap: 1.6rem;
        min-height: 0;
        padding: 2.15rem 0 2.5rem;
    }

    .retail-hero__copy {
        max-width: 730px;
        padding: 0;
    }

    .retail-hero h1 {
        max-width: 17ch;
        font-size: clamp(2.45rem, 7vw, 4.25rem);
    }

    .retail-carousel {
        width: calc(100% - 1rem);
        margin: 0 auto;
    }

    .retail-carousel__viewport,
    .retail-product-slide {
        min-height: 430px;
    }
}

@media (max-width: 700px) {
    .retail-hero__inner {
        width: min(100% - 1.25rem, 1280px);
        gap: 1.35rem;
        padding: 1.65rem 0 2rem;
    }

    .retail-eyebrow {
        margin-bottom: 0.65rem;
        font-size: 0.66rem;
    }

    .retail-hero h1 {
        max-width: 15ch;
        font-size: clamp(2.22rem, 10.5vw, 3.25rem);
        line-height: 1.01;
    }

    .retail-hero__lede {
        margin-top: 0.9rem;
        font-size: 0.93rem;
        line-height: 1.55;
    }

    .retail-hero__actions {
        margin-top: 1.15rem;
    }

    .retail-button {
        min-height: 46px;
    }

    .retail-carousel {
        width: calc(100% - 0.4rem);
        border-radius: 1rem;
    }

    .retail-carousel__viewport,
    .retail-product-slide {
        min-height: 0;
    }

    .retail-product-slide {
        grid-template-columns: 42% 58%;
        min-height: 350px;
    }

    .retail-product-slide__visual {
        padding: 1rem 0.45rem;
    }

    .retail-product-slide__visual img {
        max-height: 285px;
    }

    .retail-product-slide__content {
        padding: 1.3rem 1.1rem 2.45rem;
    }

    .retail-product-slide__title {
        font-size: clamp(1.35rem, 5.7vw, 1.8rem);
    }

    .retail-product-slide__variant {
        margin-top: 0.55rem;
        font-size: 0.72rem;
    }

    .retail-product-slide__price-row {
        margin-top: 0.75rem;
    }

    .retail-product-slide__price {
        font-size: 1.3rem;
    }

    .retail-product-slide__benefit {
        display: -webkit-box;
        margin: 0.7rem 0 0.9rem;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 0.75rem;
    }

    .retail-product-slide .retail-button {
        min-width: 0;
        width: 100%;
        padding-inline: 0.65rem;
        font-size: 0.79rem;
    }

    .retail-carousel__arrow {
        top: auto;
        bottom: -1.15rem;
        width: 38px;
        height: 38px;
        transform: none;
    }

    .retail-carousel__arrow--prev {
        left: 0.75rem;
    }

    .retail-carousel__arrow--next {
        right: 0.75rem;
    }

    .retail-carousel__footer {
        right: 3.35rem;
        bottom: 0.65rem;
        left: calc(42% + 1.05rem);
    }

    .retail-trust-strip__inner {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }

    .retail-trust-item {
        justify-content: flex-start;
        padding: 0.88rem 0.75rem;
        font-size: 0.7rem;
    }

    .retail-trust-item:nth-child(3) {
        border-left: 0;
    }

    .retail-trust-item:nth-child(n+3) {
        border-top: 1px solid var(--retail-line);
    }

    .retail-b2b-banner__inner {
        grid-template-columns: 1fr;
    }

    .retail-b2b-banner .retail-button {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .retail-hero__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
    }

    .retail-hero__micro {
        font-size: 0.72rem;
    }

    .retail-product-slide {
        grid-template-columns: 41% 59%;
        min-height: 338px;
    }

    .retail-product-slide__content {
        padding: 1.05rem 0.9rem 2.35rem;
    }

    .retail-product-slide__category {
        font-size: 0.59rem;
    }

    .retail-stock {
        padding: 0.24rem 0.4rem;
        font-size: 0.56rem;
    }

    .retail-carousel__footer {
        left: calc(41% + 0.9rem);
    }
}

@media (max-width: 350px) {
    .retail-hero__inner {
        width: calc(100% - 1rem);
    }

    .retail-hero h1 {
        font-size: 2rem;
    }

    .retail-hero__actions {
        grid-template-columns: 1fr;
    }

    .retail-product-slide {
        grid-template-columns: 39% 61%;
    }

    .retail-product-slide__visual {
        padding-inline: 0.2rem;
    }

    .retail-product-slide__content {
        padding-inline: 0.72rem;
    }

    .retail-product-slide__title {
        font-size: 1.2rem;
    }

    .retail-product-slide__benefit {
        font-size: 0.7rem;
    }

    .retail-carousel__footer {
        left: calc(39% + 0.75rem);
    }

    .retail-trust-item {
        gap: 0.5rem;
        padding-inline: 0.58rem;
        font-size: 0.64rem;
    }

    .retail-trust-item__mark {
        width: 1.7rem;
        height: 1.7rem;
        font-size: 0.53rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .retail-carousel__track,
    .retail-button,
    .retail-carousel__dot {
        transition: none !important;
    }
}
