﻿/* ── Reset & Base ── */
.malati-root *, .malati-root *::before, .malati-root *::after {
    box-sizing: border-box;
    margin: 0;
}

.malati-root {
    --cream: #faf7f2;
    --warm-dark: #1a1410;
    --gold: #b8924a;
    --mid: #6b5c4e;
    --light-border: rgba(184, 146, 74, 0.2);
    font-family: 'Jost', sans-serif;
    color: var(--warm-dark);
    background: var(--cream);
    overflow-x: hidden;
}

/* ── Promo Bar ── */
.m-promo-bar {
    background: var(--warm-dark);
    color: var(--cream);
    text-align: center;
    padding: 10px 16px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ── Nav ── */
.m-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    border-bottom: 1px solid var(--light-border);
    position: sticky;
    top: 0;
    background: rgba(250, 247, 242, 0.96);
    backdrop-filter: blur(8px);
    z-index: 100;
}

.m-nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--warm-dark);
    text-decoration: none;
}

    .m-nav-logo span {
        color: var(--gold);
    }

.m-nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

    .m-nav-links a {
        font-size: 10px;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        color: var(--warm-dark);
        text-decoration: none;
        opacity: 0.75;
        transition: opacity 0.2s, color 0.2s;
    }

        .m-nav-links a:hover {
            opacity: 1;
            color: var(--gold);
        }

.m-nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

    .m-nav-icons svg {
        width: 18px;
        height: 18px;
        stroke: var(--warm-dark);
        fill: none;
        stroke-width: 1.5;
        cursor: pointer;
        opacity: 0.75;
        transition: opacity 0.2s;
    }

        .m-nav-icons svg:hover {
            opacity: 1;
        }

/* ── Hero ── */
.m-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 82vh;
    overflow: hidden;
}

.m-hero-left {
    background: #e8e0d5;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 48px;
}

    .m-hero-left img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .m-hero-left:hover img {
        transform: scale(1.03);
    }

.m-hero-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,20,16,0.55) 0%, rgba(26,20,16,0.1) 55%, transparent 100%);
}

.m-hero-left-content {
    position: relative;
    z-index: 2;
}

.m-hero-tag {
    display: block;
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(250,247,242,0.75);
    margin-bottom: 12px;
}

.m-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 54px;
    font-weight: 300;
    line-height: 1.1;
    color: #faf7f2;
    margin-bottom: 28px;
}

    .m-hero-title em {
        font-style: italic;
        color: #e8c98a;
    }

.m-hero-right {
    background: #f2ece4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 56px;
}

.m-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
}

    .m-hero-badge::before {
        content: '';
        display: inline-block;
        width: 28px;
        height: 1px;
        background: var(--gold);
    }

.m-hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-style: italic;
    color: var(--mid);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.m-hero-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 300;
    line-height: 1.25;
    color: var(--warm-dark);
    margin-bottom: 20px;
}

.m-hero-desc {
    font-size: 13px;
    line-height: 1.9;
    color: var(--mid);
    margin-bottom: 36px;
    max-width: 380px;
}

.m-stats {
    display: flex;
    gap: 40px;
}

.m-stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--warm-dark);
}

.m-stat-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid);
}

/* ── Buttons ── */
.m-btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--warm-dark);
    color: var(--cream);
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.25s;
}

    .m-btn-primary:hover {
        background: var(--gold);
        color: var(--cream);
    }

.m-btn-outline {
    display: inline-block;
    padding: 13px 32px;
    background: transparent;
    color: #faf7f2;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(250,247,242,0.6);
    cursor: pointer;
    transition: all 0.25s;
    margin-left: 16px;
}

    .m-btn-outline:hover {
        background: rgba(250,247,242,0.15);
    }

/* ── Marquee ── */
.m-marquee-bar {
    background: var(--warm-dark);
    padding: 12px 0;
    overflow: hidden;
}

.m-marquee-inner {
    display: flex;
    gap: 48px;
    animation: mMarquee 20s linear infinite;
    white-space: nowrap;
}

    .m-marquee-inner span {
        font-size: 10px;
        letter-spacing: 3px;
        text-transform: uppercase;
        color: var(--gold);
        flex-shrink: 0;
    }

    .m-marquee-inner .m-dot {
        color: rgba(184, 146, 74, 0.4);
    }

@keyframes mMarquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ── Sections ── */
.m-section {
    padding: 80px 48px;
}

.m-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    border-bottom: 1px solid var(--light-border);
    padding-bottom: 24px;
}

.m-section-label {
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.m-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: var(--warm-dark);
}

.m-section-link {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid);
    text-decoration: none;
    border-bottom: 1px solid var(--mid);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

    .m-section-link:hover {
        color: var(--gold);
        border-color: var(--gold);
    }

/* ── Categories Grid ── */
.m-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 4px;
}

.m-cat-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    background: #d9cfc2;
    text-decoration: none;
    display: block;
}

    .m-cat-card img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .m-cat-card:hover img {
        transform: scale(1.04);
    }

.m-cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,20,16,0.7) 0%, rgba(26,20,16,0.08) 50%, transparent 100%);
}

.m-cat-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px;
}

.m-cat-card-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 300;
    color: #faf7f2;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.m-cat-card-count {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(250, 247, 242, 0.6);
}

/* ── Products Grid ── */
.m-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.m-prd-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.m-prd-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: #e8e0d5;
    margin-bottom: 14px;
}

    .m-prd-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.m-prd-card:hover .m-prd-img-wrap img {
    transform: scale(1.04);
}

.m-prd-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--warm-dark);
    color: var(--cream);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 10px;
    z-index: 2;
}

    .m-prd-badge.sale {
        background: var(--gold);
    }

.m-prd-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: rgba(250, 247, 242, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
    cursor: pointer;
    border: none;
}

.m-prd-card:hover .m-prd-wishlist {
    opacity: 1;
}

.m-prd-wishlist svg {
    width: 16px;
    height: 16px;
    stroke: var(--warm-dark);
    fill: none;
    stroke-width: 1.5;
}

.m-prd-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--warm-dark);
    margin-bottom: 5px;
}

.m-prd-sub {
    font-size: 11px;
    color: var(--mid);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.m-prd-price {
    font-size: 13px;
    font-weight: 500;
    color: var(--warm-dark);
}

/* ── Testimonials ── */
.m-testimonials {
    background: #f2ece4;
    padding: 80px 48px;
    text-align: center;
}

.m-testi-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 300;
    color: var(--warm-dark);
    margin-bottom: 48px;
}

.m-testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    text-align: left;
}

.m-testi-card {
    background: var(--cream);
    padding: 28px;
    border: 1px solid var(--light-border);
}

.m-testi-stars {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.m-testi-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-style: italic;
    color: var(--warm-dark);
    line-height: 1.8;
    margin-bottom: 16px;
}

.m-testi-author {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mid);
}

/* ── Newsletter ── */
.m-newsletter {
    background: var(--warm-dark);
    padding: 80px 48px;
    text-align: center;
}

.m-newsletter-tag {
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    display: block;
}

.m-newsletter h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 300;
    color: var(--cream);
    margin-bottom: 12px;
}

.m-newsletter p {
    font-size: 13px;
    color: rgba(250, 247, 242, 0.6);
    margin-bottom: 36px;
    letter-spacing: 1px;
}

.m-newsletter-form {
    display: flex;
    max-width: 440px;
    margin: 0 auto;
    border: 1px solid rgba(184, 146, 74, 0.4);
}

    .m-newsletter-form input {
        flex: 1;
        background: transparent;
        border: none;
        padding: 15px 20px;
        color: var(--cream);
        font-family: 'Jost', sans-serif;
        font-size: 12px;
        letter-spacing: 1px;
        outline: none;
    }

        .m-newsletter-form input::placeholder {
            color: rgba(250, 247, 242, 0.4);
        }

    .m-newsletter-form button {
        background: var(--gold);
        border: none;
        padding: 15px 24px;
        color: var(--cream);
        font-family: 'Jost', sans-serif;
        font-size: 10px;
        letter-spacing: 2px;
        text-transform: uppercase;
        cursor: pointer;
        white-space: nowrap;
        transition: background 0.2s;
    }

        .m-newsletter-form button:hover {
            background: #a07c3a;
        }

/* ── Footer ── */
.m-footer {
    background: #100e0b;
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.m-footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    letter-spacing: 4px;
    color: var(--cream);
    margin-bottom: 14px;
}

.m-footer-desc {
    font-size: 12px;
    line-height: 1.9;
    color: rgba(250, 247, 242, 0.45);
}

.m-footer-col h4 {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.m-footer-col a {
    display: block;
    font-size: 12px;
    color: rgba(250, 247, 242, 0.5);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

    .m-footer-col a:hover {
        color: var(--cream);
    }

.m-footer-bottom {
    background: #100e0b;
    padding: 16px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .m-footer-bottom span {
        font-size: 11px;
        color: rgba(250, 247, 242, 0.28);
        letter-spacing: 1px;
    }

/* ── Loading spinner ── */
.m-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 480px;
    gap: 16px;
}

.m-loading-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--light-border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: mSpin 0.8s linear infinite;
}

.m-loading-text {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mid);
}

@keyframes mSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .m-hero {
        grid-template-columns: 1fr;
    }

    .m-hero-left {
        min-height: 60vh;
    }

    .m-hero-right {
        padding: 40px 28px;
    }

    .m-nav {
        padding: 14px 20px;
    }

    .m-nav-links {
        display: none;
    }

    .m-section {
        padding: 56px 20px;
    }

    .m-footer {
        grid-template-columns: 1fr 1fr;
        padding: 40px 20px;
    }

    .m-footer-bottom {
        flex-direction: column;
        gap: 8px;
        padding: 16px 20px;
    }

    .m-testimonials {
        padding: 56px 20px;
    }

    .m-newsletter {
        padding: 56px 20px;
    }
}
/* Hero layout (left image, right content) */
/*.m-hero {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 56vh;
    margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
    .m-hero {
        flex-direction: column;
        min-height: 50vh;
    }
}*/

/* Left image pane */
/*.m-hero-left {
    position: relative;
    flex: 1 1 60%;
    overflow: hidden;
    min-height: 56vh;
}

@media (max-width: 991.98px) {
    .m-hero-left {
        min-height: 40vh;
    }
}*/

/* Image crossfade technique */
/*.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 900ms ease-in-out;
    will-change: opacity;
}

    .hero-img.active {
        opacity: 1;
        z-index: 2;
    }

    .hero-img.prev {
        opacity: 0;
        z-index: 1;
    }*/

/* overlay + content on top of image */
/*.m-hero-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.25));
    pointer-events: none;
    transition: background 600ms ease;
}

.m-hero-left-content {
    position: absolute;
    left: 6%;
    top: 18%;
    z-index: 3;
    color: #fff;
    max-width: 52%;
}*/

/* Smooth content entrance */
/*.content-fade {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 600ms ease, transform 600ms ease;
}

    .content-fade.show {
        opacity: 1;
        transform: translateY(0);
    }*/

/* Right content pane */
/*.m-hero-right {
    flex: 1 1 40%;
    padding: 2.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

@media (max-width: 991.98px) {
    .m-hero-right {
        padding: 1rem;
    }
}*/

/* CTA layout tweaks */
/*.m-hero-cta .m-btn-primary, .m-hero-cta .m-btn-outline {
    margin-right: .5rem;
    margin-bottom: .375rem;
}*/