/* ==========================================================================
   NATURAL EARTH-TONE PALETTE & STYLES WITH SHOPPING CART & MODALS
   ========================================================================== */
:root {
    --bg-main: #FBF8F3;         /* Warm Soft Sandstone */
    --bg-card: #FFFFFF;         /* Crisp Warm White */
    --bg-subtle: #F0EAE1;       /* Light Linen Earth */
    
    --primary: #4A6B53;         /* Deep Sage Green */
    --primary-hover: #3A5541;   /* Forest Shadow */
    --accent-earth: #C86D51;    /* Warm Terracotta */
    --accent-gold: #D4A359;     /* Natural Brass Gold */
    --accent-clay: #8C533E;     /* Natural Clay / Wood */

    --text-dark: #2B2A27;       /* Dark Bark Gray */
    --text-muted: #6B685F;      /* Soft Slate Earth */
    --border-color: #E2DACD;    /* Natural Fiber Border */

    --font-heading: 'Marcellus', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-soft: 0 10px 30px rgba(74, 107, 83, 0.08);
    --shadow-card: 0 4px 15px rgba(43, 42, 39, 0.05);
}

/* Base Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary);
    color: #FFF;
    text-align: center;
    padding: 8px 15px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Header & Navigation */
.site-header {
    background-color: rgba(251, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-leaf {
    font-size: 1.8rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary);
    line-height: 1;
    display: flex;
    flex-direction: column;
}

.logo-text small {
    font-size: 0.65rem;
    font-family: var(--font-body);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-earth);
    margin-top: 2px;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-earth);
}

.arrow, .nav-arrow {
    font-size: 0.75rem;
    transition: var(--transition);
}

/* Dropdown Menus */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-card);
    min-width: 230px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    list-style: none;
}

.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover > .nav-link .arrow {
    transform: rotate(180deg);
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: var(--bg-subtle);
    color: var(--primary);
}

/* Submenu Flyout (Level 2 Dropdown) */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu {
    top: 0;
    left: 100%;
    margin-left: 2px;
    transform: translateX(10px);
}

.dropdown-submenu:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Header Actions & Shopping Cart Trigger */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-trigger-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-trigger-btn:hover {
    background: var(--primary);
    color: #FFF;
    border-color: var(--primary);
}

.cart-icon {
    font-size: 1.1rem;
}

.cart-badge {
    background-color: var(--accent-earth);
    color: #FFF;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slide-Over Shopping Cart Drawer */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background-color: var(--bg-card);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1600;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-main);
}

.cart-header h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.3rem;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 50px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--accent-earth);
    font-weight: 700;
    margin: 4px 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.cart-qty-btn {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #D32F2F;
    font-size: 0.8rem;
    cursor: pointer;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-main);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.shipping-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: normal;
}

/* Quick View Product Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 800px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 10;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-img-wrapper {
    height: 380px;
    background: var(--bg-subtle);
}

.modal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
}

.modal-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.modal-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.qty-control button {
    background: var(--bg-subtle);
    border: none;
    padding: 6px 14px;
    cursor: pointer;
    font-weight: bold;
}

.qty-control input {
    width: 45px;
    text-align: center;
    border: none;
    font-size: 0.95rem;
    outline: none;
}

/* Buttons */
.btn-primary, .btn-primary-sm, .btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-earth);
    color: #FFF;
}

.btn-primary:hover {
    background-color: var(--accent-clay);
    transform: translateY(-2px);
}

.btn-primary-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    background-color: var(--primary);
    color: #FFF;
}

.btn-primary-sm:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: #FFF;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(240, 234, 225, 0.8) 0%, rgba(251, 248, 243, 0.9) 100%), 
                url('/assets/img/hero-background.avif') center/cover no-repeat;
    padding: 20px 15px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-tag {
    color: var(--accent-earth);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Section Containers */
.section-padding {
    padding: 30px 25px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Feature Grid / Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.cat-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.cat-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.cat-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cat-card:hover .cat-img-wrapper img {
    transform: scale(1.08);
}

.cat-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(251, 248, 243, 0.9);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-clay);
}

.cat-content {
    padding: 20px;
}

.cat-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cat-content p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 15px;
}

/* Filter Controls */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 22px;
    border-radius: 25px;
    background-color: var(--bg-subtle);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary);
    color: #FFF;
    border-color: var(--primary);
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

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

.product-img-box {
    height: 260px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-subtle);
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img-box img {
    transform: scale(1.05);
}

.quick-view-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-info {
    padding: 20px;
}

.product-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-earth);
    letter-spacing: 1px;
    font-weight: 600;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin: 5px 0 10px;
    color: var(--text-dark);
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

/* Forms */
.form-container {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #FFF;
}

/* Footer */
.site-footer {
    background-color: #243328;
    color: #E3E9E4;
    padding: 70px 25px 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 0.9rem;
    color: #A3B5A7;
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #C2D1C5;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #A3B5A7;
}
.footer__social-link {
  font-size: 1.25rem;
  /* color: var(--first-color); */
  color: var(--accent-gold)
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-card);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        padding: 90px 25px 40px;
        flex-direction: column;
        align-items: flex-start;
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link {
        padding: 15px 0;
        justify-content: space-between;
        font-size: 1.05rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: var(--bg-subtle);
        display: none;
        padding: 5px 0 10px 15px;
        border-radius: 6px;
        margin-bottom: 10px;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-img-wrapper {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .header-actions .btn-primary-sm {
        display: none;
    }
}