/* ========================================
   A-ONE BAKERY - PREMIUM STYLES
   Canada's Finest Bakery Chain
======================================== */

:root {
    --primary: #C4956A;
    --primary-dark: #A67B5B;
    --primary-light: #E8D5C4;
    --secondary: #1A1A1A; /* Deep Charcoal to match Logo Black */
    --logo-red: #E1251B; /* Direct Logo Red */
    --accent: #D4A574;
    --gold: #D4AF37;
    --cream: #FDF8F3;
    --white: #FFFFFF;
    --dark: #1A1A1A;
    --gray: #666666;
    --light-gray: #F5F5F5;
    --border: #E8E8E8;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    cursor: url('../assets/cursor_icon5.png') 24 24, auto !important;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
    line-height: 1.6;
    user-select: none;
    -webkit-user-select: none;
}

a, button, .category-card, .product-card, .btn, input, select, textarea {
    cursor: url('../assets/cursor_icon5.png') 24 24, pointer !important;
}

img, video {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: auto; /* Keep links clickable */
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(196, 149, 106, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 149, 106, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--secondary);
}

.btn-white:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   SPLASH SCREEN
======================================== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease-in-out, visibility 1s;
    overflow: hidden;
}

.splash-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 2s ease-in-out;
}

.splash-logo {
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 2.5s cubic-bezier(0.4, 0, 0.2, 1), transform 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.splash-logo img {
    max-width: 300px;
    height: auto;
}

/* State Classes */
.splash-fade-video .splash-video {
    opacity: 0;
}

.splash-show-logo .splash-logo {
    opacity: 1;
    transform: scale(1);
}

.splash-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.announcement-bar {
    background: #00221C; /* Dark forest green/black */
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    z-index: 1001;
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #00221C;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.nav-links a i {
    font-size: 10px;
    opacity: 0.6;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.bulk-order-btn {
    background: #FFE5D9; /* Light peach background */
    color: #51281E; /* Dark brown/peach text */
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.bulk-order-btn:hover {
    background: #FFD6C2;
    transform: translateY(-2px);
}

.order-asap-btn {
    background: #F0DFF2; /* Light purple background */
    color: #4A1E51; /* Dark purple text */
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.order-asap-btn:hover {
    background: #E8CFEA;
    transform: translateY(-2px);
}

.search-btn,
.cart-btn,
.user-btn {
    background: none;
    border: none;
    color: #00221C;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.search-btn:hover,
.cart-btn:hover,
.user-btn:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #00221C;
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
    background: var(--dark);
}

/* ========================================
   SEARCH OVERLAY
======================================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-content {
    width: 100%;
    max-width: 700px;
    padding: 0 24px;
    position: relative;
}

.close-search {
    position: absolute;
    top: -60px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

.search-content input {
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    border-bottom: 2px solid var(--primary);
    color: var(--white);
    font-size: 32px;
    font-family: 'Playfair Display', serif;
    outline: none;
}

.search-content input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-results {
    margin-top: 24px;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

/* ========================================
   CART SIDEBAR
======================================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-size: 20px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--gray);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.empty-cart i {
    font-size: 48px;
    color: var(--light-gray);
    margin-bottom: 16px;
}

.empty-cart p {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: var(--light-gray);
    margin-bottom: 12px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.cart-item-info p {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.remove-item {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.remove-item:hover {
    color: #e74c3c;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 18px;
}

.cart-total span:last-child {
    font-weight: 700;
    font-size: 24px;
    color: var(--primary);
}

/* ========================================
   MOBILE MENU
======================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--secondary);
    z-index: 2000;
    padding: 80px 40px;
    transition: var(--transition-slow);
}

.mobile-menu.active {
    left: 0;
}

.close-mobile {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu a {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    transition: var(--transition);
}

.mobile-menu a:hover {
    color: var(--primary);
}

/* ========================================
   TOAST
======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--secondary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3000;
    opacity: 0;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-lg);
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast i {
    color: #27ae60;
    font-size: 20px;
}

/* ========================================
   PAGES
======================================== */
.page {
    display: block;
    min-height: 100vh;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--secondary);
    margin-bottom: 12px;
}

.section-desc {
    color: var(--gray);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   PRODUCTS
======================================== */
.featured-section {
    padding: 100px 0;
    background: var(--cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.product-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-actions {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-action-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--secondary);
}

.product-desc {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.add-to-cart {
    padding: 10px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ========================================
   PAGE HEADERS
======================================== */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(44, 24, 16, 0.8), rgba(44, 24, 16, 0.9)),
        url('https://images.unsplash.com/photo-1517433670267-08bbd4be890f?auto=format&fit=crop&q=80&w=1600') center/cover;
}

.about-header .page-header-bg {
    background: linear-gradient(rgba(44, 24, 16, 0.8), rgba(44, 24, 16, 0.9)),
        url('https://images.unsplash.com/photo-1555507036-ab1f4038024a?auto=format&fit=crop&q=80&w=1600') center/cover;
}

.contact-header .page-header-bg {
    background: linear-gradient(rgba(44, 24, 16, 0.8), rgba(44, 24, 16, 0.9)),
        url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&q=80&w=1600') center/cover;
}

.page-header-content {
    position: relative;
    z-index: 2;
    color: var(--white);
}

.page-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.page-header-content h1 {
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 12px;
}

.page-header-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

/* ========================================
   MODAL
======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-gray);
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-img {
    height: 100%;
    min-height: 400px;
}

.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px 0 0 24px;
}

.modal-info {
    padding: 40px;
}

.modal-info h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.modal-info .modal-price {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 16px;
}

.modal-info p {
    color: var(--gray);
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.modal-meta-item i {
    color: var(--primary);
    width: 20px;
}

.modal-qty {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.modal-qty label {
    font-weight: 600;
}

.modal-actions {
    display: flex;
    gap: 12px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--secondary);
    color: var(--white);
}

.footer-main {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
    color: var(--white);
}

.footer-brand>p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary);
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary) !important;
}

.footer-badge i {
    color: #e74c3c;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .about-story {
        grid-template-columns: 1fr;
    }

    .menu-container {
        grid-template-columns: 1fr;
    }

    .menu-sidebar {
        position: static;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-box {
        grid-template-columns: 1fr;
    }

    .newsletter-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-img {
        min-height: 250px;
    }

    .modal-img img {
        border-radius: 24px 24px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .cart-sidebar {
        width: 100%;
    }

    .success-details {
        flex-direction: column;
        gap: 16px;
    }
}

/* ========================================
   ANIMATIONS
======================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading shimmer */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Smooth scroll padding for fixed nav */
.page {
    scroll-margin-top: 80px;
}


/* ========================================
   MAXIMALIST FOOTER (BITESIZED STYLE)
 ======================================== */
.main-footer {
    background: #FDFBF4 !important;
    padding: 60px 0 40px !important;
    margin-top: 80px !important;
    border-top: none !important;
    width: 100% !important;
}

.footer-cta-container {
    width: 100%;
    margin: 0 0 50px;
    position: relative;
    overflow: hidden; /* For full-width wavy */
}

.footer-grid-bg {
    background-color: #FFB27D !important;
    background-image: 
        linear-gradient(rgba(0,0,0,0.1) 2px, transparent 2px),
        linear-gradient(90deg, rgba(0,0,0,0.1) 2px, transparent 2px) !important;
    background-size: 80px 80px !important;
    height: 250px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-top: 6px solid #1A1A1A !important;
    border-bottom: 6px solid #1A1A1A !important;
    
    /* Wavy mask to create the wavy top and bottom edge */
    -webkit-mask-image: radial-gradient(circle at 40px 0px, transparent 40px, black 41px), radial-gradient(circle at 40px 100%, transparent 40px, black 41px);
    -webkit-mask-size: 80px 100%;
    -webkit-mask-repeat: repeat-x;
    -webkit-mask-position: 0 0, 0 100%;
    mask-image: radial-gradient(circle at 40px -10px, transparent 40px, black 41px), radial-gradient(circle at 40px calc(100% + 10px), transparent 40px, black 41px);
    mask-size: 80px 100%;
    mask-repeat: repeat-x;
}

/* Interactive Floating Icons Wrapper */
.interactive-icon-wrapper {
    position: absolute;
    z-index: 1;
    opacity: 0;
    transform: scale(0) translate(0, 0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.6s ease-out;
}

.interactive-icon-wrapper.popped {
    opacity: 1;
    /* JS sets --tx and --ty for dodging */
    transform: scale(1) translate(var(--tx, 0px), var(--ty, 0px));
}

/* Inner Icon - Continuous Jumping */
.interactive-icon {
    width: 100%;
    height: auto;
    filter: drop-shadow(4px 4px 0 rgba(26, 26, 26, 0.5));
    animation: continuousJump 3s infinite ease-in-out;
}

@keyframes continuousJump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Initial positions and randomized jump timings */
.icon-1 { top: 15%; left: 10%; width: 90px; }
.icon-1 .interactive-icon { animation-delay: 0s; animation-duration: 3.2s; }

.icon-2 { bottom: 20%; left: 25%; width: 70px; }
.icon-2 .interactive-icon { animation-delay: 0.5s; animation-duration: 2.8s; }

.icon-3 { top: 10%; right: 25%; width: 100px; }
.icon-3 .interactive-icon { animation-delay: 1.2s; animation-duration: 3.5s; }

.icon-4 { bottom: 15%; right: 10%; width: 85px; }
.icon-4 .interactive-icon { animation-delay: 0.8s; animation-duration: 2.9s; }

.icon-5 { top: 40%; left: 50%; width: 60px; margin-left: -30px; } /* Centered */
.icon-5 .interactive-icon { animation-delay: 1.5s; animation-duration: 3.1s; }

.cta-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.cta-pill-btn {
    background: #FFE066 !important;
    color: #1A1A1A !important;
    padding: 20px 80px !important;
    border-radius: 100px !important;
    font-size: 52px !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    border: 6px solid #1A1A1A !important;
    box-shadow: 0 12px 0 #1A1A1A !important;
    transition: all 0.2s ease !important;
    z-index: 5;
}

.cta-pill-btn:hover {
    transform: translateY(4px) !important;
    box-shadow: 0 8px 0 #1A1A1A !important;
}


/* Bottom Section */
.footer-bottom-max {
    max-width: 1400px;
    margin: 50px auto 0;
    padding: 0 40px;
}

.footer-max-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Align bottom for the big text */
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 6px solid #1A1A1A !important;
}

.footer-max-left {
    flex: 1;
}

.logo-image-max {
    max-width: 350px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
}

.footer-max-right {
    flex: 2.5;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Push grid closer to logo */
    padding-left: 60px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    text-align: left;
    width: 100%;
}

.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    color: #1A1A1A;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col a, .footer-col li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #4A4A4A;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.footer-col a:hover {
    color: #FF4D00;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.footer-text {
    flex-grow: 1;
}

.footer-legal-max {
    display: flex;
    justify-content: space-between;
    font-weight: 900;
    font-size: 20px;
    text-transform: uppercase;
    color: #1A1A1A;
}

/* ========================================
   MOBILE OPTIMIZATIONS (GENERAL)
======================================== */
@media (max-width: 1024px) {
    .nav-container { padding: 0 20px; }
    .logo-image-max { max-width: 180px; }
    .cta-pill-btn { font-size: 32px !important; padding: 15px 40px !important; }
    .footer-links-grid { gap: 20px; }
    .footer-col h4 { font-size: 20px; }
    .footer-grid-bg { height: 280px; }
}

@media (max-width: 768px) {
    /* Navbar Mobile Fix */
    .navbar {
        padding: 15px 0;
    }
    
    .nav-links {
        display: none; /* Hidden on mobile, handled by mobile menu overlay */
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .nav-actions .bulk-order-btn,
    .nav-actions .order-asap-btn {
        display: none; /* Hide desktop buttons to save space */
    }
    
    .nav-actions {
        gap: 15px;
    }
    
    .nav-logo-img {
        height: 50px; /* Slightly smaller for mobile */
    }

    /* Footer Mobile Overhaul */
    .footer-max-content { 
        flex-direction: column; 
        align-items: flex-start; 
        text-align: left; 
        padding-bottom: 30px;
    }
    
    .footer-max-right { 
        align-items: flex-start; 
        margin-top: 40px; 
        width: 100%; 
        padding-left: 0;
    }
    
    .footer-links-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    
    .logo-image-max { 
        max-width: 200px; 
    }
    
    .footer-legal-max {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        font-size: 14px;
    }
    
    .footer-grid-bg {
        height: 200px;
    }
    
    .cta-pill-btn {
        font-size: 28px !important;
        padding: 12px 35px !important;
        border: 4px solid #1A1A1A !important;
        box-shadow: 0 8px 0 #1A1A1A !important;
    }

    /* Page Headers */
    .page-header {
        padding: 120px 20px 60px;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    /* Utility */
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .nav-logo-img {
        height: 40px;
    }
    
    .nav-actions {
        gap: 10px;
    }
    
    .cart-sidebar {
        width: 100%;
    }
}
