/* ==========================================================================
   1. GLOBAL TOKENS, ATOMIC VARIABLES & CINEMATIC THEMES
   ========================================================================== */
:root, [data-theme="light"] {
    --bg-color: #FCFBF8;       /* Core Green Events Cream */
    --text-color: #333333;     /* Off-Black Charcoal Typography */
    --primary: #61734b;        /* Velvet Moss Green */
    --accent: #c76f7c;         /* Elegant Rose Pink */
    --bg-soft: #e6ebd9;        /* Light Sage Alternate Fill */
    --card-bg: #ffffff;        /* Pure White Container Elements */
    --border-color: #eeeeee;   /* Subtle Rule Separators */
    --shadow: rgba(0, 0, 0, 0.04);
    --shadow-heavy: rgba(0, 0, 0, 0.12);
    --overlay-bg: rgba(44, 76, 56, 0.5);
    --footer-bg: #61734b;
    
    /* Frosted Glassmorphism Configs */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] {
    --bg-color: #121510;       /* Midnight Forest Slate */
    --text-color: #f4f6f2;     /* Matte Alabaster Typography */
    --primary: #a4c1ae;        /* High-Contrast Sage Highlights */
    --accent: #e092a0;         /* Vibrant Soft Rose Tones */
    --bg-soft: #1c2217;        /* Dark Moss Fill Layer Tones */
    --card-bg: #191e14;        /* Dark Matte Container Cards */
    --border-color: #272e20;   /* Muted Structural Dark Borders */
    --shadow: rgba(0, 0, 0, 0.25);
    --shadow-heavy: rgba(0, 0, 0, 0.4);
    --overlay-bg: rgba(0, 0, 0, 0.65);
    --footer-bg: #0d100b;
    
    /* Frosted Glassmorphism Configs */
    --glass-bg: rgba(25, 30, 22, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   2. UNIVERSAL RESET & GLOBAL TYPOGRAPHY BOUNDS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    /* Fixed top padding ensures content never clips beneath the 120px header */
    padding-top: 120px; 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Cinematic Variable Interpolation handles fluid mode switching */
    transition: background-color 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                color 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

h1, h2, h3, h4 {
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-weight: 600;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Reusable Interactive Micro-Movement Call To Actions */
.btn {
    display: inline-block;
    background-color: var(--accent);
    color: #ffffff;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-heavy);
}

/* ==========================================================================
   3. NAVBAR CONTAINER WITH ULTRALUXE FEATHERED OVERHANG LOGO
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    border-bottom: 2px solid var(--primary);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    height: 120px; /* Locked frame dimension constraints */
    transition: background-color 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Floating Circular Badge Anchor Wrapper Engine */
.logo-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px; 
    left: 0;
    
    /* 50% Size Increase Over Baseline (Generous 240px Diameter footprint) */
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: #FFFFFF; /* Pure white shield layer isolates logo alpha track in dark mode */
    padding: 24px;
    
    /* High-End Multi-Stage Feathered Shadow Grid blends badge softly over video bursts */
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.07),                  
        0 0 30px 10px rgba(255, 255, 255, 0.85),          
        0 0 60px 25px rgba(255, 255, 255, 0.6),           
        0 0 90px 45px rgba(255, 255, 255, 0.35);          
        
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease;
    z-index: 1100; /* Floats cleanly past navigation boundaries onto hero assets */
}

.logo-container a img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Guarantees graphic aspect ratio remains perfectly locked */
    display: block;
}

.logo-container a:hover {
    transform: scale(1.03) translateY(6px);
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.09),
        0 0 35px 15px rgba(255, 255, 255, 0.9),
        0 0 75px 35px rgba(255, 255, 255, 0.7),
        0 0 110px 60px rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   4. TOP-RIGHT GLASSMORPHIC DROPDOWN NAVIGATION LINK MATRIX
   ========================================================================== */
.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.dropdown-navigation-wrapper {
    position: relative;
}

/* Frosted Glass Theme Toggle & Menu Buttons */
.dropdown-trigger-btn, .theme-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--glass-shadow);
    transition: background-color 0.3s, border-color 0.3s, transform 0.2s;
}

.dropdown-trigger-btn:hover,
.dropdown-trigger-btn.active-state {
    background-color: var(--accent);
    color: #ffffff;
}

.dropdown-trigger-btn .arrow-indicator {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.dropdown-trigger-btn.active-state .arrow-indicator {
    transform: rotate(180deg);
}

/* Floating Overlay Card Layout Panel */
.dropdown-content-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 290px;
    border-radius: 6px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease;
    z-index: 2000;
    
    /* Hardware-Accelerated Glass Layer */
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.dropdown-content-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-content-menu ul {
    list-style: none;
}

.dropdown-content-menu ul li a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s, padding-left 0.2s, color 0.2s;
}

.dropdown-content-menu ul li:last-child a {
    border-bottom: none;
}

.dropdown-content-menu ul li a:hover,
.dropdown-content-menu ul li a.selected {
    background-color: var(--bg-soft);
    color: var(--primary);
    padding-left: 26px; /* Interactive micro-tracking shift highlights focus selection */
}

.theme-toggle-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   5. CONTRAST-INSULATED BANNER FRAME LAYOUTS & OVERLAYS
   ========================================================================== */
.hero-image-banner, 
.hero-video-banner, 
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 65vh; /* Gives the 240px floating badge generous room to breathe */
    min-height: 500px;
    overflow: hidden;
    border-bottom: 4px solid var(--accent);
}

.hero-video-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Smooth Multilayer Fading Image Slideshow Layout rules */
.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Contrast Protection Overlay Shield protects tracking bounds from high-exposure bursts */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    background: linear-gradient(
        to bottom right,
        rgba(15, 20, 12, 0.8) 0%,      /* Shrouds top-left quadrant to give overhanging badge pop depth */
        rgba(44, 76, 56, 0.45) 40%,    /* Blends corporate identity downward into system assets */
        var(--overlay-bg) 100%         
    );
    mix-blend-mode: multiply; /* Softens high-exposure light flares from music venue visuals */
    opacity: 0.95;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding: 0 40px;
    max-width: 900px;
    /* Boosted top margin pushes text clear of the larger overhanging medallion footprint */
    margin: 80px auto 0; 
}

.hero-content h1 {
    color: #ffffff !important;
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    letter-spacing: 0.5px;
    line-height: 1.3;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.65); /* Keeps titles crisp and readable */
}

/* ==========================================================================
   6. RESPONSIVE SCAFOLDING, GRID PATTERNS & TRANSITIONS
   ========================================================================== */
section {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Split Section Layout (Auto stacks into single arrays on mobile devices) */
.split-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.split-image {
    width: 100%;
}

.split-image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 18px var(--shadow);
}

.split-text {
    text-align: center;
}

/* Fluid Auto-Scalable Portfolio Presentation Galleries */
.photo-gallery, .dynamic-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    background: #000000; /* Dark shadow well foundation underneath images */
    border-radius: 8px;
    box-shadow: 0 4px 10px var(--shadow);
}

.gallery-card img, .gallery-card video {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    opacity: 0.9;
    /* High-End Asynchronous Hover Zoom curve triggers on client discovery focus */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.gallery-card:hover img, .gallery-card:hover video {
    transform: scale(1.06); /* Ultra-smooth magnification captures production details */
    opacity: 1;
}

.gallery-card .blurb {
    padding: 15px;
    font-style: italic;
    text-align: center;
    color: var(--text-color);
    background-color: var(--card-bg);
}

/* Social Proof Testimonials Component */
.testimonial {
    background-color: var(--bg-soft);
    padding: 60px 20px;
    text-align: center;
    font-style: italic;
    transition: background-color 0.5s ease;
}

.testimonial h3 {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* ==========================================================================
   7. SERVICE SELECTION TIERS & CARD MATRICES
   ========================================================================== */
.package-category {
    margin-bottom: 60px;
}

.package-category h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--bg-soft);
    padding-bottom: 10px;
}

.package-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.package-card {
    background: var(--card-bg);
    border: 2px solid var(--bg-soft);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow);
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.5s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

/* Luxury Card Variation Custom Accent Styling Rules */
.package-card.luxury {
    border-color: var(--accent);
    background-color: var(--bg-color);
}

.package-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.package-card.luxury .package-title {
    color: var(--accent);
}

.package-features {
    list-style: none;
    margin: 20px 0 30px 0;
    text-align: left;
}

.package-features li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-size: 0.95rem;
}

.package-features li::before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 5px;
    font-weight: bold;
}

.package-card.luxury .package-features li::before {
    content: '✨';
    color: var(--accent);
}

/* ==========================================================================
   8. BESPOKE STOREFRONT & E-COMMERCE SIDEBAR CART PANEL DRAWERS
   ========================================================================== */
.quote-builder-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.5s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.price {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: block;
}

/* Cart Slide-Out Overlay Drawer Framework (Mobile Baseline) */
.quote-sidebar {
    position: fixed;
    top: 0;
    right: -100%; /* Parked completely out of viewport bounds by default rules */
    width: 380px;
    max-width: 85%;
    height: 100vh;
    padding: 30px;
    z-index: 2000;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s, border-color 0.5s;
    overflow-y: auto;
    
    /* Hardware-Accelerated Glassmorphic Tint */
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-left: 1px solid var(--glass-border);
}

.quote-sidebar.open {
    right: 0; /* Shifts sliding overlay container directly into view */
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary);
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.quote-list {
    list-style: none;
    margin: 20px 0;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.quote-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.remove-btn {
    color: #d9534f;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    border: none;
    background: var(--bg-soft);
    padding: 4px 8px;
    border-radius: 4px;
}

.quote-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--primary);
    border-top: 2px solid var(--bg-soft);
    padding-top: 15px;
    margin-bottom: 20px;
}

.quote-form input {
    width: 100%;
    padding: 11px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-color);
    border-radius: 4px;
}

/* Click containment background shield handles click events behind mobile cart panels */
.cart-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
}
.cart-overlay.active {
    display: block;
}

/* Header Action Summary Badges */
.cart-btn-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.cart-btn {
    background: none;
    border: none;
    color: var(--primary);
    position: relative;
    cursor: pointer;
}
.cart-btn svg { width: 28px; height: 28px; fill: currentColor; }
.cart-badge {
    position: absolute;
    top: -8px; right: -10px;
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* ==========================================================================
   9. CONDENSED, CENTRALIZED FOOTER PLATFORM MATRIX
   ========================================================================== */
.site-footer {
    background-color: var(--footer-bg);
    color: #FCFBF8;
    padding: 60px 20px 30px;
    width: 100%;
    margin-top: auto; /* Force drops container boundary down to screen viewport bottom */
    clear: both;
    transition: background-color 0.5s ease;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Column Stacking Mobile Layout setup */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center; /* Centers alignment axes on smartphone viewports */
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-column p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 8px;
    opacity: 0.85;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #FCFBF8;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.85;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--accent);
    opacity: 1;
}

/* Legal separation divider rule footer floor */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ==========================================================================
   10. INSULATED ADMIN PORTAL DASHBOARD OVERRIDES
   ========================================================================== */
/* Ensures the overhanging badge container behaves safely inside a 300px dashboard sidebar track */
.admin-sidebar .logo-container {
    text-align: center; 
    margin-bottom: 50px; 
    padding: 0 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 150px;
}

/* Decouples floating header rules so the emblem sits beautifully in static menu tracks */
.admin-sidebar .logo-container a {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 140px !important;
    height: 140px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
    display: flex !important;
    padding: 15px !important;
}

/* ==========================================================================
   11. COMPLIANCE BANNERS & ACCESSIBLE ALERTS
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: -200px; /* Hidden off-canvas until token state checks trigger classes */
    left: 0;
    width: 100%;
    background-color: var(--primary);
    color: #FCFBF8;
    padding: 20px 30px;
    z-index: 3000;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
    transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show { bottom: 0; }
.cookie-banner a { color: white; text-decoration: underline; font-weight: 600; }
.cookie-actions { display: flex; gap: 15px; }

/* Dynamic Toast Notification Alerts */
.toast-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-150px);
    background: var(--card-bg);
    color: var(--text-color);
    padding: 14px 28px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 4000;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    border-left: 4px solid var(--accent);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast-notification.active { transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   12. WIDESCREEN DESKTOP DESIGN OPTIMIZATIONS (MEDIA QUERY BREAKPOINTS)
   ========================================================================== */
@media (min-width: 768px) {
    header { padding: 10px 60px; }

    /* Split Component Transformations */
    .split-section { flex-direction: row; }
    .split-image, .split-text { flex: 1; }
    .split-text { text-align: left; padding-left: 40px; }

    /* Layout Grid Upgrades */
    .package-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid, .dynamic-gallery { grid-template-columns: repeat(2, 1fr); }

    /* Conversions shift floating mobile drawers into integrated static sidebar modules */
    .quote-sidebar {
        position: sticky; 
        top: 150px;
        right: auto;
        height: auto;
        width: 100%;
        max-width: none;
        box-shadow: none;
        z-index: auto;
        padding: 0;
        background: transparent;
        border: none;
        overflow-y: visible;
        align-self: flex-start;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .quote-builder-layout { flex-direction: row; gap: 40px; }
    .store-section { flex: 2; }
    
    .quote-sidebar { 
        flex: 1; 
        background: var(--card-bg); 
        padding: 25px; 
        border-radius: 8px; 
        border: 2px solid var(--primary); 
        box-shadow: var(--shadow);
    }
    .cart-close-btn { display: none; } /* Redundant trigger control on large viewports */

    /* Centralized Footer Horizontal Distribution Realignments */
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        text-align: left; /* Shift alignment cleanly for spacious viewports */
        gap: 50px;
    }
    .footer-column h4 { margin-bottom: 25px; }
    .footer-column ul li a:hover { padding-left: 4px; } 

    .cookie-banner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
    /* Large Desktop presentation layouts */
    .product-grid, .dynamic-gallery { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   13. ULTRA-COMPACT SMARTPHONE SAFEGUARDS (PREVENTS LOGO CLIPPING)
   ========================================================================== */
@media (max-width: 767px) {
    /* Downscales medallion parameters to fit smartphone screens safely */
    .logo-container a {
        width: 130px;
        height: 130px;
        top: 15px;
        padding: 12px;
        box-shadow: 
            0 8px 20px rgba(0, 0, 0, 0.06),
            0 0 15px 5px rgba(255, 255, 255, 0.9),
            0 0 35px 15px rgba(255, 255, 255, 0.6);
    }
    .hero-content {
        margin-top: 20px;
        padding: 0 20px;
    }
    .hero-content h1 {
        font-size: 2.1rem;
    }
}