
/* HERO */

.hero {
    max-width: 1200px;
    min-height: 480px;
    margin: 0 auto;
    padding: 70px 30px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
}

.hero-content .eyebrow {
    letter-spacing: 3px;
    color: var(--color-primary);
    font-size: 11px;
}

.hero-content h1 {
    font-size: 55px;
    line-height: 1.12;
    margin: 22px 0;
}

.hero-content h1 span {
    display: block;
    color: var(--color-primary);
}

.hero-content p {
    max-width: 440px;
    color: var(--color-muted);
    margin-bottom: 28px;
}

.hero-art {
    min-height: 340px;
    background: #EDE1D4;
    border-radius: 48% 48% 20px 20px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-decoration {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 65px;
}

.hero-decoration span:nth-child(2) {
    font-size: 100px;
}

.hero-note {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: var(--color-surface);
    padding: 15px 22px;
    border-radius: 12px;
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.5;
}


/* SECTION HEADINGS */

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading .eyebrow {
    color: var(--color-primary);
    letter-spacing: 2px;
    font-size: 11px;
}

.section-heading h2 {
    margin-top: 12px;
}


/* CATEGORIES */

.categories {
    padding: 65px 20px;
    background: var(--color-surface);
}

.category-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    min-height: 210px;
    padding: 25px 15px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    transition: 0.25s;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.category-card > span {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 19px;
    margin-bottom: 7px;
}

.category-card small {
    color: var(--color-muted);
}


/* FAVORITES */

.favorites {
    padding: 75px 20px;
}

.empty-products {
    max-width: 600px;
    margin: 0 auto;
    padding: 45px 20px;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.empty-products > span {
    display: block;
    font-size: 45px;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.empty-products h3 {
    margin-bottom: 10px;
}

.empty-products p {
    color: var(--color-muted);
    margin-bottom: 22px;
}


/* ABOUT */

.about {
    padding: 75px 20px;
    background: #EDE1D4;
    text-align: center;
}

.about .eyebrow {
    color: var(--color-primary);
    letter-spacing: 2px;
    font-size: 11px;
}

.about h2 {
    margin: 18px auto;
}

.about p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--color-muted);
}


/* MOBILE */

@media (max-width: 768px) {

    .hero {
        grid-template-columns: 1fr;
        padding: 45px 20px;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-art {
        min-height: 250px;
    }

    .hero-decoration {
        font-size: 45px;
    }

    .hero-decoration span:nth-child(2) {
        font-size: 75px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        min-height: 175px;
        padding: 15px 8px;
    }

    .category-card h3 {
        font-size: 16px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .about h2 {
        font-size: 30px;
    }
}

/* HERO BANNER SLIDER */

.hero-slider {
    position: relative;
    max-width: 1400px;
    min-height: 500px;
    margin: 0 auto;
    overflow: hidden;
    background: #EDE1D4;
}

.hero-slides {
    position: relative;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    min-height: 500px;
    padding: 70px 9%;
    background-color: #EDE1D4;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, visibility .7s ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(25, 18, 18, .72) 0%,
        rgba(25, 18, 18, .38) 48%,
        rgba(25, 18, 18, .05) 100%
    );
}

.hero-slide-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    color: #fff;
}

.hero-slide-content .eyebrow {
    color: #F4D9C8;
    letter-spacing: 3px;
    font-size: 11px;
}

.hero-slide-content h1 {
    margin: 22px 0;
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.1;
    color: #fff;
}

.hero-slide-content p {
    max-width: 480px;
    margin-bottom: 28px;
    color: rgba(255,255,255,.9);
    font-size: 17px;
    line-height: 1.6;
}

.hero-slide-content .btn {
    display: inline-block;
}

.hero-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: #38252A;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    transition: .2s;
}

.hero-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

.hero-dots {
    position: absolute;
    z-index: 3;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: .2s;
}

.hero-dot.is-active {
    width: 25px;
    border-radius: 10px;
    background: #fff;
}

@media (max-width: 768px) {
    .hero-slider,
    .hero-slides,
    .hero-slide {
        min-height: 430px;
    }

    .hero-slide {
        padding: 55px 25px 75px;
        background-position: center;
    }

    .hero-slide-overlay {
        background: linear-gradient(
            90deg,
            rgba(25,18,18,.72),
            rgba(25,18,18,.35)
        );
    }

    .hero-slide-content h1 {
        font-size: 38px;
    }

    .hero-slide-content p {
        font-size: 15px;
    }

    .hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 25px;
    }

    .hero-prev {
        left: 10px;
    }

    .hero-next {
        right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }
}

/* =========================================
   HERO SLIDER — FULL WIDTH
========================================= */

.hero-slider {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    min-height: 0;
    background: transparent;
}

.hero-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 6;
    min-height: 0;
}

.hero-slide,
.hero-slide.is-active {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 60px 9%;
}

@media (max-width: 768px) {
    .hero-slides {
        aspect-ratio: 4 / 5;
        min-height: 420px;
    }

    .hero-slide,
    .hero-slide.is-active {
        min-height: 0;
        padding: 45px 40px 65px;
    }
}


/* =========================================
   HOME PAGE — CATEGORIES
========================================= */

.home-categories {
    padding: 65px 25px 75px;
    background: var(--color-surface);
}

.home-section-heading {
    max-width: 1240px;
    margin: 0 auto 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.home-section-heading .eyebrow {
    color: var(--color-primary);
    font-size: 10px;
    letter-spacing: 2.5px;
    font-weight: 600;
}

.home-section-heading h2 {
    margin-top: 10px;
    font-family: var(--font-heading);
    font-size: 32px;
    line-height: 1.2;
}

.home-section-link {
    color: var(--color-primary);
    font-size: 13px;
    white-space: nowrap;
}

.home-category-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.home-category-card {
    display: block;
    min-width: 0;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    transition: transform .25s, box-shadow .25s;
}

.home-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.home-category-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee3d7;
}

.home-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.home-category-card:hover .home-category-image img {
    transform: scale(1.04);
}

.category-placeholder {
    color: #b58c78;
    font-size: 54px;
}

.home-category-info {
    padding: 16px 15px;
}

.home-category-info h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    line-height: 1.35;
    margin-bottom: 10px;
}

.home-category-info > span {
    color: var(--color-primary);
    font-size: 12px;
}

/* =========================================
   FEATURED PRODUCTS
========================================= */

.home-favorites {
    padding: 75px 25px 85px;
}

.heading-bow {
    color: var(--color-primary);
    font-size: 25px;
}

.home-product-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.home-product-card {
    min-width: 0;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: transform .25s, box-shadow .25s;
}

.home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.home-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #eee3d7;
    color: var(--color-primary);
    font-size: 60px;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
}

.home-product-card:hover .home-product-image img {
    transform: scale(1.04);
}

.home-product-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 7px 11px;
    background: var(--color-surface);
    color: var(--color-primary);
    font-size: 10px;
}

.home-product-info {
    padding: 17px;
}

.home-product-category {
    color: var(--color-muted);
    font-size: 11px;
}

.home-product-info h3 {
    min-height: 44px;
    margin: 8px 0 15px;
    font-family: var(--font-heading);
    font-size: 17px;
    line-height: 1.35;
}

.home-product-info h3 a {
    color: var(--color-text);
}

.home-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-product-price {
    color: var(--color-primary);
    font-size: 19px;
    font-weight: 700;
}

.home-add-cart {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    background: transparent;
    color: var(--color-primary);
    font-size: 25px;
    cursor: pointer;
    transition: .2s;
}

.home-add-cart:hover {
    background: var(--color-primary);
    color: white;
}

.home-out-of-stock {
    color: var(--color-muted);
    font-size: 11px;
}

.home-products-empty {
    max-width: 600px;
    margin: 0 auto;
    padding: 45px 20px;
    text-align: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.home-products-empty > span {
    display: block;
    margin-bottom: 15px;
    color: var(--color-accent);
    font-size: 42px;
}

.home-products-empty h3 {
    margin-bottom: 10px;
}

.home-products-empty p {
    margin-bottom: 22px;
    color: var(--color-muted);
}

/* =========================================
   BENEFITS
========================================= */

.home-benefits {
    max-width: 1240px;
    margin: 0 auto;
    padding: 35px 25px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.home-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
}

.home-benefit-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eee3d7;
    color: var(--color-primary);
    font-size: 21px;
}

.home-benefit h3 {
    margin-bottom: 5px;
    font-family: var(--font-heading);
    font-size: 14px;
}

.home-benefit p {
    color: var(--color-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* =========================================
   HOME PAGE — RESPONSIVE
========================================= */

@media (max-width: 1000px) {
    .home-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-categories,
    .home-favorites {
        padding: 45px 16px 55px;
    }

    .home-section-heading {
        align-items: flex-end;
        margin-bottom: 22px;
    }

    .home-section-heading h2 {
        font-size: 25px;
    }

    .home-section-link {
        font-size: 11px;
    }

    .home-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .home-category-info {
        padding: 12px;
    }

    .home-category-info h3 {
        font-size: 14px;
    }

    .home-product-grid {
        gap: 12px;
    }

    .home-product-info {
        padding: 12px;
    }

    .home-product-info h3 {
        font-size: 14px;
        min-height: 38px;
    }

    .home-product-price {
        font-size: 16px;
    }

    .home-product-badge {
        top: 8px;
        left: 8px;
        font-size: 9px;
    }

    .home-benefits {
        padding: 25px 18px;
        gap: 22px 12px;
    }

    .home-benefit {
        align-items: flex-start;
        gap: 10px;
    }

    .home-benefit-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 17px;
    }

    .home-benefit h3 {
        font-size: 12px;
    }

    .home-benefit p {
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    .home-section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-product-grid {
        grid-template-columns: 1fr;
    }
}


/* HERO SLIDER — DOTS OVER IMAGE, NO ARROWS */

.hero-arrow {
    display: none !important;
}

.hero-dots {
    bottom: 25px;
    z-index: 5;
}

.hero-dot {
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .8);
}

.hero-dot.is-active {
    background: #fff;
}


.hero-dots {
    bottom: 25px;
}

.hero-slider {
    overflow: hidden;
}


/* HERO — REMOVE BEIGE SPACING */

.page-home .main-content {
    padding-top: 0 !important;
}

.hero-slider {
    width: 100vw;
    max-width: none;
    aspect-ratio: 16 / 6;
    min-height: 0 !important;
    height: auto;
    padding: 0 !important;
    margin: 0 0 0 calc(50% - 50vw) !important;
    background: transparent !important;
    overflow: hidden;
}

.hero-slides {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    aspect-ratio: auto;
    margin: 0;
    padding: 0;
}

.hero-slide,
.hero-slide.is-active {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    padding: 60px 9%;
    background-size: cover;
    background-position: center;
}

.hero-dots {
    bottom: 22px;
}

@media (max-width: 768px) {
    .hero-slider {
        aspect-ratio: 4 / 5;
        min-height: 420px !important;
    }
}

