﻿
:root {
    --green: #12442f;
    --gold: #c5a15b;
    --cream: #faf7f0;
    --dark: #242820;
    --muted: #77776e;
    --line: #e7e0d3;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--dark);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.announcement {
    padding: 10px;
    background: var(--green);
    color: white;
    text-align: center;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.header {
    min-height: 90px;
    padding: 18px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.brand {
    color: var(--green);
    text-decoration: none;
    font: 30px Georgia, serif;
    letter-spacing: 5px;
}

    .brand small {
        display: block;
        margin-top: 5px;
        text-align: center;
        font: 9px Arial, sans-serif;
        letter-spacing: 2px;
        color: #947743;
    }

.nav, .icons {
    display: flex;
    align-items: center;
    gap: 22px;
}

    .nav a, .icons a {
        color: var(--dark);
        text-decoration: none;
    }

    .nav a {
        font-size: 13px;
    }

    .icons a {
        font-size: 22px;
    }

.hero {
    min-height: 490px;
    padding: 65px 8%;
    display: flex;
    align-items: center;
    background-color: var(--green);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.hero-content {
    max-width: 570px;
}

.eyebrow {
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2.5px;
}

.hero h1 {
    margin: 15px 0;
    font: normal clamp(38px, 5vw, 64px)/1.12 Georgia, serif;
}

.hero p {
    line-height: 1.8;
    font-size: 14px;
}

.button {
    display: inline-block;
    margin-top: 18px;
    padding: 15px 23px;
    background: var(--gold);
    color: #172b1f;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1px;
}

.section {
    padding: 65px 5%;
}

.section-title {
    margin-bottom: 35px;
    text-align: center;
}

    .section-title h2, .collection-band h2, .story h2 {
        color: var(--green);
        font: normal clamp(30px, 3vw, 42px) Georgia, serif;
    }

    .section-title p, .collection-band p {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.8;
    }

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.category {
    position: relative;
    display: block;
    height: 280px;
    overflow: hidden;
    background: var(--cream);
    color: white;
    text-decoration: none;
}

    .category img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .category span {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 35px 18px 18px;
        background: linear-gradient(transparent, rgba(0,0,0,.75));
        font: 25px Georgia, serif;
    }

.collection-band {
    padding: 50px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    background: var(--cream);
}

.button-outline {
    border: 1px solid var(--green);
    background: transparent;
    color: var(--green);
    white-space: nowrap;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    min-width: 0;
}

.product-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--cream);
}

    .product-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.product-label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 7px 9px;
    background: white;
    font-size: 10px;
}

.product-info {
    padding: 13px 0;
}

.product-category {
    color: #947743;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info h3 {
    font: 18px Georgia, serif;
}

    .product-info h3 a {
        color: var(--dark);
        text-decoration: none;
    }

.price {
    font-weight: bold;
}

.empty-note {
    padding: 20px;
    background: var(--cream);
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

.story {
    padding: 65px 8%;
    background: var(--green);
    color: white;
    text-align: center;
}

    .story h2 {
        color: white;
    }

    .story p {
        max-width: 650px;
        margin: auto;
        line-height: 1.9;
    }

.footer {
    padding: 25px;
    background: var(--cream);
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 800px) {
    .header {
        flex-wrap: wrap;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .collection-band {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .brand {
        font-size: 24px;
    }

    .nav {
        gap: 12px;
    }

        .nav a {
            font-size: 11px;
        }

    .hero {
        min-height: 390px;
        padding: 35px 6%;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .category {
        height: 240px;
    }

    .section {
        padding: 45px 5%;
    }
}

/* =========================================
   RANGILEE PREMIUM HOMEPAGE SLIDER
   ========================================= */

.rangilee-slider {
    position: relative;
    width: calc(100% - 60px);
    max-width: 1600px;
    height: clamp(350px, 38vw, 600px);
    margin: 28px auto 40px;
    overflow: hidden;
    background: #10241b;
    isolation: isolate;
}

    .rangilee-slider .rangilee-slide {
        position: absolute;
        inset: 0;
        display: block;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity .65s ease, visibility .65s ease;
        z-index: 0;
        overflow: hidden;
    }

        .rangilee-slider .rangilee-slide.active {
            visibility: visible;
            opacity: 1;
            pointer-events: auto;
            z-index: 1;
        }

.rangilee-slide-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.rangilee-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(8, 27, 19, .76) 0%, rgba(8, 27, 19, .38) 48%, rgba(8, 27, 19, .05) 100% );
}

.rangilee-slide-content {
    position: absolute;
    top: 50%;
    left: clamp(25px, 7%, 110px);
    width: min(540px, 75%);
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
}

.rangilee-slide-eyebrow {
    margin-bottom: 16px;
    color: #e8c990;
    font-size: 12px;
    letter-spacing: 3px;
    font-weight: 700;
}

.rangilee-slide-content h1 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4.5vw, 68px);
    font-weight: 400;
    line-height: 1.08;
    color: #fff;
}

.rangilee-slide-content p {
    margin: 0 0 25px;
    max-width: 460px;
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.8;
    color: #f5f0e9;
}

.rangilee-slide-button {
    display: inline-block;
    padding: 14px 29px;
    background: #fff;
    color: #171717 !important;
    border: 1px solid #fff;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: background .25s ease, color .25s ease;
}

    .rangilee-slide-button:hover {
        background: #a52b26;
        color: #fff !important;
        border-color: #a52b26;
    }

.rangilee-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 48px;
    height: 58px;
    padding: 0;
    transform: translateY(-50%);
    border: none;
    background: rgba(255,255,255,.92);
    color: #202820;
    cursor: pointer;
    font-size: 20px;
    transition: background .2s ease;
}

    .rangilee-arrow:hover {
        background: #fff;
    }

.rangilee-prev {
    left: 0;
}

.rangilee-next {
    right: 0;
}

.rangilee-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    z-index: 6;
    display: flex;
    gap: 9px;
    transform: translateX(-50%);
}

.rangilee-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

    .rangilee-dot.active {
        background: #fff;
        transform: scale(1.15);
    }

.rangilee-no-banner {
    padding: 70px 20px;
    color: #fff;
    text-align: center;
}

/* One banner: hide navigation controls */
.rangilee-slider.single-slide .rangilee-arrow,
.rangilee-slider.single-slide .rangilee-slider-dots {
    display: none;
}

/* Tablet */
@media (max-width: 768px) {
    .rangilee-slider {
        width: calc(100% - 24px);
        height: 440px;
        margin: 15px auto 28px;
    }

    .rangilee-slide-image {
        object-position: center;
    }

    .rangilee-slide-overlay {
        background: linear-gradient( 0deg, rgba(8, 27, 19, .88) 0%, rgba(8, 27, 19, .42) 65%, rgba(8, 27, 19, .08) 100% );
    }

    .rangilee-slide-content {
        left: 25px;
        right: 25px;
        bottom: 48px;
        top: auto;
        width: auto;
        transform: none;
    }

        .rangilee-slide-content h1 {
            font-size: clamp(30px, 7vw, 48px);
        }

        .rangilee-slide-content p {
            font-size: 14px;
            line-height: 1.6;
        }

    .rangilee-arrow {
        width: 36px;
        height: 45px;
        font-size: 16px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .rangilee-slider {
        height: 400px;
    }

    .rangilee-slide-content {
        left: 20px;
        right: 20px;
        bottom: 43px;
    }

    .rangilee-slide-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .rangilee-slide-content h1 {
        font-size: 32px;
    }

    .rangilee-slide-button {
        padding: 12px 20px;
        font-size: 11px;
    }

    .rangilee-slider-dots {
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rangilee-slider .rangilee-slide {
        transition: none;
    }
}
