/* =========================================
   1. GLOBAL & RESET
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #FFFBFC;
    overflow-x: hidden;
    padding-top: 0px; /* Compensate for fixed header */
}

body.menu-is-open {
    overflow: hidden;
}


/* Ensure images don't overflow */
img {
    max-width: 100%;
    display: block;
}

/* =========================================
   2. HEADER / NAVBAR STYLES (Desktop)
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 64px;
    background-color: #FFFBFC;
    z-index: 1000;
    box-sizing: border-box;
}

.branding-row { 
    position: static; 
    width: 100%;
    display: flex;
    align-items: center;
}

.logo-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo-container img {
    height: 145px;
    width: auto;
    display: block;
}

.nav-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: clamp(300px, 25vw, 450px);
}

.nav-links {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-left { justify-content: space-evenly; }
.nav-right { justify-content: space-between; }

.nav-links a {
    text-decoration: none;
    color: #C24072;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
}

.icon-btn img { 
    height: 24px; 
    width: auto; 
}

.header-actions-mobile,
.mobile-menu-overlay,
.menu-backdrop { 
    display: none; 
}

/* =========================================
   3. CART POPUP / DRAWER STYLES
   ========================================= */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 481px;
    
    /* FIX 1: Use dvh (dynamic height) to avoid address bar issues, fallback to vh */
    height: 100vh;
    height: 100dvh; 
    
    background: #FFFBFC;
    z-index: 1002;
    transition: right 0.4s ease;
    
    /* FIX 2: Add padding-bottom that respects the device safe area (the bottom bar) */
    padding: 44px 25px;
    padding-bottom: calc(44px + env(safe-area-inset-bottom)); 
    
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.cart-drawer.is-open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.cart-title {
    color: #762043;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 32px;
    color: #762043;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

/* Cart Items Area */
.cart-items-container {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px;
    padding-right: 5px; 
}

.cart-empty-msg {
    text-align: center;
    color: #666;
    margin-top: 50px;
    font-size: 16px;
}

.cart-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cart-item-img {
    width: 100px;
    height: 133px;
    border-radius: 5px;
    object-fit: cover;
    background-color: #eee;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.cart-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 180px;
}

.cart-item-name {
    color: black;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.cart-item-meta {
    color: black;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

.cart-color-circle {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #ddd;
    margin-left: 6px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.cart-price-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    min-height: 133px;
}

.cart-item-price {
    color: #762043;
    font-size: 16px;
    font-weight: 500;
}

.cart-item-view {
    color: black;
    font-size: 16px;
    text-decoration: underline;
    cursor: pointer;
}

/* =========================================
   CART FOOTER & BUTTONS
   ========================================= */
.cart-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
    flex-shrink: 0;
    /* Ensure the footer sits above the bottom padding of the drawer */
    margin-bottom: env(safe-area-inset-bottom);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.total-label, .total-amount {
    color: black;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px; 
    width: 100%;
}

.btn-cart {
    flex: 1; 
    height: 46px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-size: 16px; 
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap; 
    padding: 0 10px; 
}

.btn-outline {
    outline: 2px solid #C43670;
    outline-offset: -2px;
    color: #C43670;
    background: transparent;
    border: none;
    font-weight: 600;
}

.btn-solid {
    background: #C43670;
    color: #FFFBFC;
    border: none;
    font-weight: 500;
}

/* =========================================
   MOBILE ADJUSTMENT
   ========================================= */
@media (max-width: 900px) {
    .cart-actions {
        flex-direction: column; 
        gap: 15px;
    }

    .btn-cart {
        width: 100%;
        flex: none; 
    }
}

/* =========================================
   4. MOBILE RESPONSIVENESS (900px and below)
   ========================================= */
@media (max-width: 900px) {
    .site-header {
        height: 60px;
        padding: 0 20px; 
        display: flex;
        align-items: center;
    }

    body { padding-top: 80px; } 

    .nav-container { display: none; }

    .branding-row {
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .logo-container {
        position: absolute; 
        top: 0;
        left: 20px;
        transform: none;
    }

    .logo-container img { 
        height: 80px; 
        margin-left: -15px;
        display: block;
    }

    .header-actions-mobile {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-left: auto;
    }

    .hamburger-menu {
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hamburger-menu img { 
        height: 24px; 
        width: auto;
    }

    .mobile-menu-overlay {
        display: flex;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        background-color: #FBD9E5;
        padding: 0 16px;
        flex-direction: column;
        box-sizing: border-box;
    }

    .menu-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
    }

    .mobile-menu-overlay.is-open {
        max-height: 100vh;
        padding-top: 27px;
        padding-bottom: 27px;
    }

    .menu-backdrop.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav-links .menu-link {
        text-decoration: none;
        color: #3B1022;
        font-size: 1.4rem;
        font-weight: 600;
        padding: 15px 0;
        display: block;
    }

    /* FIX 3: MORE PADDING FOR MOBILE CART */
    .cart-drawer {
        width: 100%;
        right: -100%;
        /* Add significant bottom padding for mobile browsers */
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
        /* Base 40px padding + Safe Area Inset */
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }
}

/* =========================================
   CART BADGE STYLES (New)
   ========================================= */
/* Ensure the button can hold the absolute positioned badge */
.icon-btn {
    position: relative; 
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #C43670; /* Brand Pink */
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #FFFBFC; /* White border to separate from icon */
    pointer-events: none; /* Let clicks pass through to the button */
    padding: 0 4px; /* Handling double digits */
    box-sizing: border-box;
}

/* =======================
   3. HERO SECTION
   ======================= */
main {
    padding-top: 100px; /* Offset for fixed header */
    padding-bottom: 80px;
}

@media (max-width: 900px) {
    main {
        padding-top: 0px; /* Larger offset for mobile header */
    }
}

.hero-section {
    position: relative;
    width: 100%;
    margin-bottom: 70px;
}

.hero-image-container {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 129px;
    transform: translateY(-50%);
    max-width: 663px;
    z-index: 10;
}

.hero-content h1 {
    color: #3B1022;
    font-size: 43.45px;
    font-family: 'Oxygen', sans-serif;
    font-weight: 700;
    line-height: 50.40px;
    margin-bottom: 30px;
}

.hire-now-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 277px;
    height: 36px;
    background-color: #C43670;
    color: #FFFBFC;
    font-size: 16.29px;
    font-family: 'Oxygen', sans-serif;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6.79px;
    transition: background-color 0.3s ease;
}

.hire-now-btn:hover {
    background-color: #a02c5b;
}

@media (max-width: 900px) {
    .hero-content {
        left: 30px;
        right: 30px;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 32px;
        line-height: 40px;
    }
}

/* =======================
   4. FUNCTION TYPE SECTION (Cards)
   ======================= */
.function-type-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 80px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    text-align: center;
    color: #C43670;
    font-size: 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 48px;
    margin-bottom: 30px;
    width: 100%;
}

.function-cards-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 20px;
}

/* Unified Card Style */
.function-card, .product-card {
    width: 422px;
    height: 300px;
    border-radius: 7.53px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card {
    width: 100%; /* Adapt to grid */
    height: 366px;
}

.function-card:hover, .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.function-card-overlay, .product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(118, 32, 67, 0.60) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 20px;
}

.function-card-content, .product-card-content {
    width: 90%;
    height: 62.54px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    gap: 10px;
}

.function-card-content h3, .product-title {
    color: #FFFBFC;
    font-size: 20.11px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 36.17px;
    margin-bottom: 0;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    flex: 1;
}

.product-title {
    font-size: 20px;
    line-height: 1.2;
}

.product-price {
    color: #FFFBFC;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    text-align: left;
    margin-top: 4px;
}

.product-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.card-icon {
    position: relative;
    width: 25px;
    height: 25px;
    background-color: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 1300px) {
    .function-card {
        width: calc(33.33% - 20px);
        min-width: 300px;
    }
}

@media (max-width: 900px) {
    .function-card {
        width: 100%;
        max-width: 422px;
    }
}

/* =======================
   5. CATALOGUE SIDEBAR & GRID
   ======================= */
.catalogue-section {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 64px 80px 64px;
}

.catalogue-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* --- Sidebar Styling (Matching Design Snippet) --- */
.catalogue-sidebar {
    width: 306px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 28.81px;
}

.filter-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-header-row h3 {
    color: #000;
    font-size: 20px;
    font-family: 'Oxygen', sans-serif;
    font-weight: 700;
    line-height: 28px;
}

.clear-filters {
    color: #000;
    font-size: 19.21px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    line-height: 28.81px;
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 9.6px;
}

.filter-status {
    color: #000;
    font-size: 16.81px;
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    line-height: 25.21px;
}

.filter-category-list {
    display: flex;
    flex-direction: column;
    gap: 12.01px;
}

.filter-category-item {
    padding: 9.60px 0;
    color: #000;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.2s;
}

/* Active Category Style (The "All" style in design) */
.filter-category-item.active {
    padding: 9.60px 17px;
    background: #FFFBFC;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    outline: 1px solid rgba(236, 131, 158, 0.40);
}

.filter-section-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14.41px;
}

.filter-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1.20px solid #000;
    padding-top: 24.01px;
    padding-bottom: 9.60px; /* Adjusting gap to match items below */
    color: #000;
    font-size: 20px;
    font-family: 'Oxygen', sans-serif;
    font-weight: 700;
    line-height: 30px;
}

.filter-section-arrow {
    width: 12.43px;
    height: 7.03px;
    background: #000;
    /* Simplistic representation of an arrow using div, or use an img/svg if available */
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.filter-option-row {
    display: flex;
    align-items: center;
    gap: 9.60px;
    padding: 9.60px 0;
    cursor: pointer;
}

.filter-checkbox-visual {
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 2.50px;
    outline: 1.20px solid #000;
    flex-shrink: 0;
}

/* Active State for Filter Option (Simulating Checkbox/Radio selection) */
.filter-option-row.active .filter-checkbox-visual {
    background: #C43670;
    outline-color: #C43670;
}

.filter-option-text {
    color: #000;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 24px;
}

.filter-divider {
    height: 0px;
    outline: 1.20px solid #000;
    outline-offset: -0.60px;
    margin-top: 24.01px;
}

/* --- Product Grid --- */
.product-grid-wrapper {
    flex-grow: 1;
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.loading-products, .error-msg, .no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #762043;
}

@media (max-width: 900px) {
    /* =======================
       HERO & LAYOUT FIXES
       ======================= */
    .hero-bg-image {
        height: 500px;
        object-fit: cover;
        object-position: center;
    }

    .hero-content {
        left: 20px;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
        width: auto;
    }

    .hero-content h1 { font-size: 32px; line-height: 1.2; }
    .hire-now-btn { width: 100%; max-width: 100%; }

    .catalogue-section { padding: 0 20px 60px 20px; }
    .catalogue-layout { flex-direction: column; }
    .catalogue-sidebar { width: 100%; margin-bottom: 20px; gap: 0; }

    /* =======================
       MOBILE FILTER TOGGLE LOGIC
       ======================= */
    
    /* 1. By default, hide the filter details on mobile */
    .filter-category-list,
    .filter-section-wrapper,
    .filter-status,
    .filter-divider {
        display: none;
    }

    /* 2. Visual clue that "Filters" is clickable */
    .filter-header-row h3 {
        cursor: pointer;
        position: relative;
        padding-right: 20px;
        display: inline-block;
    }

    /* Add a small arrow/plus sign next to the word "Filters" */
    .filter-header-row h3::after {
        content: '+';
        position: absolute;
        right: 0;
        font-weight: 400;
    }

    /* 3. WHEN ACTIVE: Show the elements again (Flex is the original display style) */
    .catalogue-sidebar.mobile-filters-active .filter-category-list,
    .catalogue-sidebar.mobile-filters-active .filter-section-wrapper {
        display: flex; 
        margin-top: 20px; /* Add spacing when opened */
    }

    .catalogue-sidebar.mobile-filters-active .filter-status,
    .catalogue-sidebar.mobile-filters-active .filter-divider {
        display: block;
        margin-top: 15px;
    }

    /* Change plus to minus when open */
    .catalogue-sidebar.mobile-filters-active .filter-header-row h3::after {
        content: '-';
    }

    /* =======================
       PRODUCT GRID FIXES
       ======================= */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product-card { height: 260px; width: 100%; }
    .product-card-content { padding: 0 10px; height: 55px; }
    .product-title { font-size: 15px; line-height: 1.2; }
    .product-price { font-size: 13px; }
    .function-card { width: 100%; height: 250px; margin-bottom: 15px; }
}

/* --- Catalogue Search Bar --- */
.catalogue-search-bar {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem; /* Space between search and grid */
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.catalogue-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
    padding: 0.5rem;
    background: transparent;
}

.catalogue-search-bar input::placeholder {
    color: #999;
}

.catalogue-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.catalogue-search-btn:hover {
    opacity: 1;
}

.catalogue-search-btn img {
    width: 20px;
    height: 20px;
}
/* =========================================
   SEARCH BAR ENHANCEMENTS (Mobile)
   ========================================= */
@media (max-width: 768px) {
    
    /* 1. Top Header Search Bar (mobile-search-bar) 
       STYLING REMOVED AS REQUESTED 
    */

    /* 2. Catalogue Grid Search Bar (catalogue-search-bar) */
    .catalogue-search-bar {
        display: flex;             /* Keeps input and icon on the same line */
        align-items: center;      /* Vertically centers the icon and text */
        justify-content: space-between;
        height: 48px; 
        border: 1px solid #C43670;
        border-radius: 12px;
        margin-bottom: 25px; 
        padding: 0 8px 0 15px;    /* Reduced right padding to fit the button better */
        background: #FFFFFF;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        box-sizing: border-box;    /* Ensures padding doesn't break the width */
    }

    .catalogue-search-bar input {
        flex: 1;                  /* Allows input to take up all available space */
        font-size: 16px;
        border: none;             /* Removes default input border */
        outline: none;            /* Removes focus outline */
        background: transparent;
        padding-left: 5px;
        min-width: 0;             /* Prevents input from pushing the icon out */
    }

    /* Style the magnifying glass button in the grid */
    .catalogue-search-btn {
        display: flex;            /* Centers the image inside the button */
        align-items: center;
        justify-content: center;
        background: transparent;  /* Keeps it looking integrated */
        border: none;             /* Removes button border */
        border-radius: 8px;
        width: 36px;
        height: 36px;
        padding: 0;
        cursor: pointer;
        flex-shrink: 0;           /* Prevents the icon from squishing */
    }

    .catalogue-search-btn img {
        width: 18px;
        height: 18px;
        display: block;
    }

    /* Fix for the placeholder content property (content only works on ::before/::after) */
    .catalogue-search-bar input::placeholder {
        color: rgba(118, 32, 67, 0.4);
        font-weight: 400;
    }
}

/* Mobile responsive adjustment */
@media (max-width: 768px) {
    .catalogue-search-bar {
        margin-bottom: 1.5rem;
    }
}

/* -----------------------
   Footer Styles
   ----------------------- */
.site-footer {
    background-color: #FBD9E5; /* Light Pink Background */
    padding: 25px 0px 30px 0px;
    color: #762043; /* Dark Pink Text */
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 60px;
    margin-left: 70px;
    margin-right: 70px;
}

/* --- Left Column (Newsletter) --- */
.footer-left {
    flex: 1;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    height: 80px; /* Adjust based on your actual logo file */
    width: auto;
    margin-bottom: 10px;
    /* If logo is SVG/black and needs to be pink, use filter or edit SVG directly. 
       Assuming SVG is colored correctly based on image. */
}

.newsletter-text {
    font-size: 16px;
    line-height: 1.5;
    max-width: 450px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.newsletter-input {
    flex: 1;
    height: 46px;
    min-width: 250px;
    background: rgba(236, 131, 158, 0.29); /* Semi-transparent pink */
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: #762043;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(58, 16, 33, 0.5);
    font-weight: 500;
}

.subscribe-btn {
    height: 46px;
    padding: 0 35px;
    background-color: #C43670; /* Brand Pink */
    color: #FFFBFC;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subscribe-btn:hover {
    background-color: #a02c5b;
}

.privacy-text {
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.8;
    max-width: 500px;
    margin-top: 10px;
}

/* --- Right Column (Links) --- */
.footer-right {
    display: flex;
    gap: 80px;
    margin-top: 40px;
}

.footer-column h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #1C1B1F; /* Black/Dark Grey headings as per image */
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-column a {
    text-decoration: none;
    color: #1C1B1F;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #C43670;
}

/* --- Bottom Bar --- */
.footer-bottom {
    border-top: 1px solid #C43670;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-left: 40px;
    margin-right: 40px;
}

.copyright, .footer-legal a {
    font-size: 14px;
    color: #C43670;
    
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a:hover {
    text-decoration: underline;
}

/* Footer Media Query */
@media (max-width: 900px) {
    .site-footer {
        padding: 25px 20px 40px 20px;
    }

    .footer-content {
        margin: 0;
        flex-direction: column;
        gap: 40px;
    }

    /* --- Left Side (Newsletter) --- */
    .footer-left {
        max-width: 100%;
        gap: 10px;
    }

    .footer-logo img {
        height: 60px;
        margin-bottom: 10px;
    }

    .newsletter-text {
        font-size: 16px;
        line-height: 1.5;
        max-width: 100%;
        margin-bottom: 15px;
        color: #762043;
    }

    /* --- Form Styling --- */
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .newsletter-input {
        width: 100%;
        height: 55px; /* Matches button height */
        
        /* Soft semi-transparent background to match image */
        background-color: rgba(236, 131, 158, 0.25); 
        border: 1px solid transparent; /* Invisible border unless focused */
        border-radius: 8px;
        
        padding: 10px 20px;
        font-family: 'Poppins', sans-serif;
        font-size: 16px; /* Prevents auto-zoom on iPhone */
        color: #762043;
        outline: none;
        transition: border 0.3s ease, background 0.3s ease;
    }

    .newsletter-input::placeholder {
        color: #9E5A75; /* Softer version of the text color */
        opacity: 0.8;
    }

    .newsletter-input:focus {
        background-color: rgba(255, 255, 255, 0.4);
        border: 1px solid #C43670;
    }

    .subscribe-btn {
        width: 100%;
        height: 45px;
        border-radius: 8px;
        font-size: 18px;
        font-weight: 500;
        margin-top: 5px; /* Slight optical spacing */
    }

    .privacy-text {
        font-size: 13px;
        color: #762043;
        margin-top: 5px;
        opacity: 0.9;
    }

    /* --- Right Side (Links) --- */
    .footer-right {
        margin-top: 20px;
        display: flex;
        justify-content: space-between; /* Keeps columns side-by-side */
        gap: 20px;
        width: 100%;
    }

    .footer-column h4 {
        font-size: 20px;
        color: #762043; /* Matches Brand Color */
        margin-bottom: 20px;
    }

    .footer-column a {
        color: #762043;
        font-size: 16px;
    }

    /* --- Bottom Bar --- */
    .footer-bottom {
        margin: 40px 0 0 0;
        padding-top: 20px;
        border-top: 1px solid rgba(196, 54, 112, 0.2); /* Softer line */
        
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .copyright {
        font-size: 13px;
        color: #C43670;
    }

    .footer-legal {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .footer-legal a {
        font-size: 13px;
        text-decoration: underline;
        color: #C43670;
    }
}

/* Import the fonts used in your design */
@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@700&family=Poppins:wght@500&display=swap');

.promo-banner {
    /* --- 1. The Gold Border Requirements --- */
    border: 1px solid #E1AB47;
    border-radius: 10px;

    /* --- CENTERING UPDATE --- */
    /* This creates 20px space top/bottom, and 'auto' centers it left/right */
    margin: 20px auto; 
    
    /* This ensures that on small screens, there is still a 20px gap on left/right 
       (100% width minus 40px total for margins) */
    width: calc(100% - 40px); 

    /* --- 2. Your Background Design --- */
    /* Linear gradient overlaid on the image, exactly as you had it */
    background: url('../assets/catalogue/flowers_bg.jpg');
    background-size: cover;
    background-position: center;
    
    /* --- 3. Layout Settings --- */
  height: 185px;
   
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the content */
    padding-left: 48px;      /* Matches your 'left: 48px' */
    padding-right: 20px;
    box-sizing: border-box;
    overflow: hidden;        /* Clips content to the rounded corners */
    max-width: 1300px;
}

.promo-text {
    /* Your text styles */
    color: #762043;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    max-width: 452px; /* Keeps the text width you defined */
    margin-top: 0;
    margin-bottom: 25px; /* Spacing between text and button */
}

.promo-button {
    /* Your button container styles */
    background-color: #C43670;
    border-radius: 6.79px;
    padding: 6px 32px; /* Approximated from your padding settings */
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.2s;
    width: fit-content;
    
    /* Your button text styles */
    color: #FFFBFC;
    font-family: 'Oxygen', sans-serif;
    font-size: 16.29px;
    font-weight: 700;
    line-height: 24.44px;
}

.promo-button:hover {
    background-color: #a32b5d; /* Optional: Darkens slightly when hovered */
}