/* ================ BASE STYLES ================ */
:root {
    /* Color Palette */
    --primary-color: #5d4037; /* Deep brown */
    --secondary-color: #d7ccc8; /* Light beige */
    --accent-color: #8d6e63; /* Warm taupe */
    --light-color: #f5f5f5; /* Off-white */
    --dark-color: #3e2723; /* Dark brown */
    --text-color: #212121;
    --text-light: #757575;
    
    /* Fragrance-inspired colors */
    --fragrance-gold: #c8a97e;
    --fragrance-deep: #5d4037;
    --fragrance-light: #efebe9;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-unit: 8px;
    --container-width: 1200px;
    
    /* Effects */
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 2);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 2px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.subtitle {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.overline {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--fragrance-gold);
    margin-bottom: 8px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-header h3 {
    font-size: 32px;
    margin-bottom: 16px;
}

.section-header .view-all {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    position: relative;
}

.section-header .view-all::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-light);
    transition: var(--transition);
}

.section-header .view-all:hover {
    color: var(--primary-color);
}

.section-header .view-all:hover::after {
    background-color: var(--primary-color);
}

/* ================ COMPONENT STYLES ================ */

/* Announcement Bar */
.announcement-bar {
    background-color: var(--dark-color);
    color: var(--secondary-color);
    padding: 8px 0;
    font-size: 14px;
    text-align: center;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

/* Logo */
.logo {
    max-width: 100px;
}

.logo-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation */
.main-navigation ul {
    display: flex;
    gap: 30px;
}

.main-navigation a {
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    box-shadow: var(--box-shadow-hover);
    padding: 20px;
    width: 600px;
    display: none;
    opacity: 0;
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: flex;
    opacity: 1;
}

.dropdown-column {
    flex: 1;
    padding: 0 15px;
}

.dropdown-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--secondary-color);
    font-family: var(--font-body);
}

.dropdown-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dropdown-column a {
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.dropdown-column a:hover {
    color: var(--primary-color);
}

/* Header Icons */
.header-icons {
    display: flex;
    gap: 20px;
    font-size: 16px;
    align-items: center;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* cart side bar functionality */
/* Cart Sidebar Styles */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1100;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f5f5f5;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin-right: 15px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.remove-item {
    color: #ff5252;
    font-size: 12px;
    cursor: pointer;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    border-top: 1px solid #eee;
}

.btn-checkout {
    margin: 0 20px 20px;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Add animation for cart icon */
@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.animate {
    animation: bounce 0.5s;
}

/* Search Functionality */
/* .search-container {
    position: relative;
}

.search-bar {
     overflow: hidden;
    position: absolute;
    right: 150%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
    background: white;
    padding: 5px;
    border-radius: 30px;
    box-shadow: var(--box-shadow); 
}

.search-bar.active {
    opacity: 1;
    visibility: visible;
}

.search-form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.search-form button {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--primary-color);
} */


/* updated serch bar styling */

.search-container {
    position: relative;
}

.search-toggle {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    padding: 8px;
}

.search-bar {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; /* Collapsed state */
    height: 40px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    border-radius: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1;
}

.search-bar.active {
    width: 190px; /* Expanded state */
}

.search-form {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    position: relative;
}

.search-form input {
    flex: 1;
    padding: 0 40px 0 15px; /* Right padding for icon */
    border: none;
    background: transparent;
    height: 100%;
    outline: none;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s ease 0.1s;
}

.search-bar.active .search-form input {
    opacity: 1;
}


/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        padding: 80px 90px 20px;
        transition: var(--transition);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .main-navigation.active {
        left:0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }

     .dropdown-menu {
        display: flex;
        flex-direction: column;
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        padding: 15px 0 0 15px;
        display: none;
    }
    
  /*
    .dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .dropdown-menu.active {
        display: flex;
        flex-direction: column;
    } */
    

    
    /* .search-bar {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        transform: none;
    } */

    /* updated srch bar */
    .search-bar.active {
        /* width: calc(100vw - 10px); */
        /* left: 15px; */
        right: 5px;
        /* right: auto; */
    }
}

/* Hero Section */
.hero {
    display: flex;
    height: 80vh;
    min-height: 600px;
    position: relative;
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: var(--fragrance-light);
    padding: 0 40px;
}

.hero-text {
    max-width: 500px;
}

.hero-text h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
}


.hero-image {
    flex: 1;
    overflow: hidden;
}

.hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fragrance Families */
.fragrance-families {
    padding: 80px 0;
}

.families-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.family-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.family-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.family-image {
    height: 300px;
    overflow: hidden;
}

.family-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.family-card:hover .family-image img {
    transform: scale(1.05);
}

.family-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.family-content h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: white;
}

.family-content p {
    font-size: 14px;
    opacity: 0.8;
}

/* Best Sellers Section */
.best-sellers {
    padding: 80px 0;
    background-color: #f9f5f0;
}

.bestsellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #5d4037;
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.product-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.quick-view,
.add-to-wishlist {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5d4037;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.quick-view:hover,
.add-to-wishlist:hover {
    background-color: #5d4037;
    color: white;
}

.product-details {
    padding: 20px;
}

.product-category {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8d6e63;
    margin-bottom: 5px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #3e2723;
    font-family: 'Playfair Display', serif;
}

.product-price {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #5d4037;
}

.original-price {
    font-size: 14px;
    text-decoration: line-through;
    color: #bdbdbd;
}

.product-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-add-to-cart {
    background-color: #5d4037;
    color: white;
    border: none;
    padding: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-add-to-cart:hover {
    background-color: #3e2723;
}

.btn-buy-now {
    background-color: #5d4037;
    color: white;
    border: none;
    padding: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-buy-now:hover {
    background-color: #3e2723;
}

/* Featured Products (Summer Deals) */
.featured-products {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.products-grid .btn-add-to-cart{
    background-color: #3e2723;
    
}
.products-grid .button{
    display: flex;
    text-align: center;
  
}
.products-grid .btn-add-to-cart {
    background-color: #5d4037;
    color: white;
    border: none;
    padding: 5px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 4px;
    box-shadow: var(--box-shadow);
}

.testimonial-rating {
    color: var(--fragrance-gold);
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    font-size: 16px;
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-light);
}

/* Journal Preview */
.journal-preview {
    padding: 80px 0;
    background-color: var(--fragrance-light);
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.journal-card {
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.journal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.journal-image {
    height: 200px;
    overflow: hidden;
}

.journal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.journal-card:hover .journal-image img {
    transform: scale(1.05);
}

.journal-content {
    padding: 20px;
}

.journal-date {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.journal-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.journal-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.read-more:hover::after {
    width: 100%;
}

/* Newsletter */
.newsletter {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.newsletter h3 {
    font-size: 32px;
    margin-bottom: 15px;
    color: white;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 25px;
    opacity: 0.8;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    outline: none;
}

.newsletter-form button {
    border-radius: 0 4px 4px 0;
}

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h5 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--fragrance-gold);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 1;
    color: var(--fragrance-gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--fragrance-gold);
    color: var(--dark-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content:center;
    align-items: center;
}

/* .payment-methods {
    display: flex;
    gap: 15px;
    font-size: 24px;
} */

.copyright {
    font-size: 14px;
    opacity: 0.8;
}

.legal-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.legal-links a {
    font-size: 12px;
    opacity: 0.8;
}

.legal-links a:hover {
    opacity: 1;
}

/* ================ RESPONSIVE STYLES ================ */
@media (max-width: 1200px) {
    .families-grid,
    .products-grid,
    .testimonials-grid,
    .journal-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-column:last-child {
        grid-column: span 4;
        margin-top: 30px;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        height: auto;
    }
    
    .hero-content,
    .hero-image {
        flex: none;
        width: 100%;
    }
    
    .hero-content {
        padding: 60px 20px;
        order: 2;
    }
    
    .hero-image {
        height: 400px;
        order: 1;
    }
    
    .families-grid,
    .products-grid,
    .testimonials-grid,
    .journal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-column:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .families-grid,
    .products-grid,
    .testimonials-grid,
    .journal-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-column:last-child {
        grid-column: span 1;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 4px;
    }
    
    .newsletter-form button {
        margin-top: 10px;
    }
}