/*
Theme Name: Elanir & Co. Botanicals
Theme URI: https://dingdongdigital.com
Author: Ding Dong Digital
Author URI: https://dingdongdigital.com
Description: Custom theme with WooCommerce. Design from website builder — preserved as-is.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elanir--co-botanicals
Tags: custom-colors, custom-logo, custom-menu, featured-images, e-commerce, one-column, two-columns
*/

/* === Minimal reset (no overrides of generated design) === */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-height:100vh}
img,picture,video,canvas,svg{max-width:100%;height:auto;vertical-align:middle}
table{border-collapse:collapse;border-spacing:0}

/* ================================================================
   Generated Design — SOURCE OF TRUTH (from website builder)
   Header, footer, colors, typography, spacing, hover, responsiveness
   ================================================================ */
/* 
  Style Variation: Futuristic Neon Interface (Botanical Adaptation)
  Brand: Elanir & Co. Botanicals
*/

:root {
    /* Core Palette extracted from mockup */
    --bg-color: #0a120a; /* Deep dark green/black */
    --bg-surface: rgba(15, 25, 15, 0.7);
    --glow-color: #e6d598; /* Pale gold/yellow */
    --glow-color-dim: rgba(230, 213, 152, 0.3);
    --text-main: #f4f0e6; /* Off-white */
    --text-muted: #a0aab0;
    --border-color: rgba(230, 213, 152, 0.4);
    
    /* Brand DB Colors (integrated as accents) */
    --brand-primary: #2D4F1E;
    --brand-secondary: #B8860B;
    --brand-accent: #F8F4E3;

    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Figtree', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --nav-height: 80px;
    --bottom-nav-height: 65px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

/* Typography Rules */
h1, h2, h3, h4, h5, h6, nav, .hero-title, .section-title-center, .glowing-heading, .footer-brand-title {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 0.05em;
}

p, a, span, input, textarea, button, .tagline, .sub-label {
    font-family: var(--font-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* NO shadows on content images as per instructions */
}

/* Page Container - CRITICAL REQUIREMENT */
.page-container, #page {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Padding bottom for mobile nav */
    padding-bottom: var(--bottom-nav-height);
}

@media (min-width: 768px) {
    .page-container, #page {
        padding-bottom: 0; /* Remove bottom padding on desktop if nav is hidden */
    }
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

/* Utility Classes - Futuristic Neon Style */
.glowing-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--glow-color);
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(230, 213, 152, 0.4);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.glowing-heading {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-main);
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.sub-label {
    font-size: 0.85rem;
    color: var(--glow-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title-center {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-main);
    text-transform: uppercase;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.section-title-small {
    font-size: 1.2rem;
    color: var(--text-main);
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 1px;
}

.text-center { text-align: center; }
.w-100 { width: 100%; }

/* The "Cyber Box" - Core UI Component from Mockup */
.cyber-box {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 0 0 15px rgba(230, 213, 152, 0.05);
    overflow: hidden;
}

/* Corner accents for cyber box */
.cyber-box::before, .cyber-box::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--glow-color);
    opacity: 0.7;
    pointer-events: none;
}

.cyber-box::before {
    top: -1px; left: -1px;
    border-right: none; border-bottom: none;
    border-top-left-radius: 8px;
}

.cyber-box::after {
    bottom: -1px; right: -1px;
    border-left: none; border-top: none;
    border-bottom-right-radius: 8px;
}

/* Buttons */
.cyber-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 15px 30px;
    background: transparent;
    border: 1px solid var(--glow-color);
    color: var(--glow-color);
    font-family: var(--font-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-decoration: none;
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 213, 152, 0.2), transparent);
    transition: left 0.5s ease;
}

.cyber-btn:hover {
    background: rgba(230, 213, 152, 0.1);
    box-shadow: 0 0 15px rgba(230, 213, 152, 0.3);
}

.cyber-btn:hover::before {
    left: 100%;
}

.cyber-btn-small {
    display: inline-block;
    padding: 10px 20px;
    background: var(--text-main);
    color: var(--bg-color);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cyber-btn-small:hover {
    background: var(--glow-color);
    box-shadow: 0 0 10px var(--glow-color-dim);
}

.cyber-btn-micro {
    display: inline-block;
    padding: 6px 12px;
    background: var(--text-main);
    color: var(--bg-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: rgba(10, 18, 10, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

.header-glow-line {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glow-color-dim), transparent);
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo {
    background: transparent !important;
    object-fit: contain;
    max-height: 40px; /* Strict constraint for nav */
    width: auto;
    height: auto;
    display: block;
    z-index: 10;
}

@media (min-width: 768px) {
    .logo { max-height: 48px; }
}

.desktop-nav {
    display: none;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
        gap: 2rem;
    }
    .desktop-nav a {
        color: var(--text-main);
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
    }
    .desktop-nav a:hover, .desktop-nav a.active {
        color: var(--glow-color);
    }
    .desktop-nav a::after {
        content: '';
        position: absolute;
        bottom: -5px; left: 0;
        width: 0; height: 1px;
        background: var(--glow-color);
        transition: width 0.3s ease;
    }
    .desktop-nav a:hover::after, .desktop-nav a.active::after {
        width: 100%;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    position: relative;
    color: var(--text-main);
    font-size: 1.2rem;
}

.cart-icon:hover { color: var(--glow-color); }

.cart-badge {
    position: absolute;
    top: -8px; right: -10px;
    background: var(--glow-color);
    color: var(--bg-color);
    font-size: 0.65rem;
    font-weight: bold;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-secondary);
}

/* Floating Bottom Nav (Mobile Ecommerce Pattern) */
.floating-bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--bottom-nav-height);
    background: rgba(15, 25, 15, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom); /* iOS safe area */
}

@media (min-width: 768px) {
    .floating-bottom-nav {
        display: none; /* Hide on desktop */
    }
}

.floating-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.7rem;
    gap: 4px;
    width: 25%;
    height: 100%;
    position: relative;
}

.floating-bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.floating-bottom-nav .nav-item.active {
    color: var(--glow-color);
}

.floating-bottom-nav .cart-link .cart-badge {
    top: 5px; right: 20px;
}

/* Sections General */
section {
    padding: 80px 0;
    position: relative;
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-content {
    max-width: 800px;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

/* Leaf Art Decorations (CSS approximations of mockup) */
.leaf-art {
    position: absolute;
    width: 300px; height: 300px;
    background-image: radial-gradient(circle, var(--glow-color-dim) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}
.leaf-art.top-left { top: -100px; left: -100px; }
.leaf-art.top-right { top: -100px; right: -100px; }
.leaf-art.bottom-left { bottom: -100px; left: -100px; }

/* Slow Beauty Section */
.feature-box {
    padding: 3rem 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-item .icon-wrapper {
    font-size: 2rem;
    color: var(--glow-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .philosophy-grid { grid-template-columns: 1fr 1fr; }
}

.philosophy-text-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.philosophy-image-box {
    padding: 0;
    position: relative;
    min-height: 400px;
}

.phil-img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    opacity: 0.6;
}

.phil-overlay-text {
    position: relative;
    z-index: 2;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right, rgba(10,18,10,0.9), transparent);
}

/* Product Cards */
.product-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .product-grid-2 { grid-template-columns: 1fr 1fr; }
}

.product-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .product-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.cyber-product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.cyber-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5), 0 0 15px var(--glow-color-dim);
}

.card-image-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image-wrapper img {
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.image-glow-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 150px; height: 150px;
    border: 1px solid var(--glow-color);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
    box-shadow: inset 0 0 20px var(--glow-color-dim);
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.price {
    color: var(--glow-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
}

/* Bestseller Carousel (CSS Grid fallback for simplicity) */
.carousel-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--glow-color) var(--bg-surface);
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
}

.cyber-product-card.mini {
    width: 220px;
    padding: 1.5rem;
}

.cyber-product-card.mini img {
    height: 120px;
    margin: 0 auto 1rem;
}

.cyber-product-card.mini h4 {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    height: 40px; /* Fixed height for alignment */
}

/* Video Section */
.cyber-video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--glow-color);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-thumb {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
}

.play-btn-cyber {
    width: 60px; height: 60px;
    border: 2px solid var(--glow-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--glow-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.play-btn-cyber:hover {
    background: var(--glow-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--glow-color);
}

.video-progress-bar {
    position: absolute;
    bottom: 0; left: 0;
    height: 4px; width: 30%;
    background: var(--glow-color);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.testimonial-card .avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 2px solid var(--glow-color-dim);
    object-fit: cover;
}

.testimonial-card .quote {
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.testimonial-card .stars {
    color: var(--glow-color);
    font-size: 0.8rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
}

.dot.active {
    background: var(--glow-color);
    box-shadow: 0 0 10px var(--glow-color);
}

/* Instagram Gallery */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .insta-grid { grid-template-columns: repeat(5, 1fr); }
}

.cyber-img-box {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.cyber-img-box:hover {
    transform: scale(1.05);
    border-color: var(--glow-color);
}

/* Footer */
.site-footer {
    margin-top: 4rem;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: 0;
    padding: 4rem 0 2rem;
}

.footer-top {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-col h4 {
    color: var(--glow-color);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.footer-col a:hover {
    color: var(--text-main);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer .logo {
    max-height: 44px;
}

/* Subpage Specific Styles */
.page-hero {
    padding: 150px 0 60px;
    background: linear-gradient(to bottom, rgba(10,18,10,0.9), var(--bg-color));
    border-bottom: 1px solid var(--border-color);
}

.cyber-pill-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 2rem;
}

.cyber-pill {
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cyber-pill.active, .cyber-pill:hover {
    border-color: var(--glow-color);
    color: var(--glow-color);
    box-shadow: inset 0 0 10px rgba(230,213,152,0.1);
}

.split-box {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .split-box { grid-template-columns: 1fr 1fr; }
}

.split-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    min-height: 300px;
}

.purity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .purity-grid { grid-template-columns: repeat(4, 1fr); }
}

.purity-item i {
    font-size: 2rem;
    color: var(--glow-color);
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .contact-grid { grid-template-columns: 1.5fr 1fr; }
}

/* Form inputs focus state */
input:focus, textarea:focus {
    outline: none;
    border-color: var(--glow-color) !important;
    box-shadow: 0 0 10px rgba(230,213,152,0.2);
}

/* ================================================================
   Theme integration — layout only. NO global :root here so the generated
   design above stays the single source of truth for header/footer/home.
   WC design tokens are scoped below so they only apply on shop/cart/checkout.
   ================================================================ */
.site{display:flex;flex-direction:column;min-height:100vh}
.site-main{flex:1}
/* WooCommerce pages: single container with margins on all sides (shop, product, cart, checkout, account) */
.woocommerce-container,.dingdong-woo-inner,.page-container{width:100%;max-width:var(--container,1200px);margin-left:auto;margin-right:auto;padding:2rem 1.5rem;padding-bottom:2rem;box-sizing:border-box}
.site-main:has(.woocommerce-container){padding:0}
@media(max-width:768px){.woocommerce-container,.dingdong-woo-inner,.page-container{padding:1.5rem 1.25rem;padding-bottom:1.5rem}}

/* WC-only design tokens — inherit bg/text from generated design (supports dark/light themes) */
body.woocommerce,body.woocommerce-page,.woocommerce-container,.woocommerce,.dingdong-woo-inner,.dingdong-woo-section{
  --color-primary:#0a120a;
  --color-secondary:#e6d598;
  --color-accent:#f4f0e6;
  --color-text:inherit;
  --color-text-light:inherit;
  --color-bg:inherit;
  --color-bg-alt:inherit;
  --color-border:rgba(128,128,128,0.35);
  --font-primary:var(--font-secondary);
  --font-heading:var(--font-secondary);
  --container:1200px;
  --gap:1.5rem;
  --radius:8px;
  --shadow:0 1px 3px rgba(0,0,0,.06),0 2px 8px rgba(0,0,0,.06);
  --shadow-lg:0 8px 30px rgba(0,0,0,.1);
  --transition:.25s cubic-bezier(.4,0,.2,1);
}

/* Accessibility (does not affect generated layout) */
.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden;word-wrap:normal!important}
.screen-reader-text:focus{background:var(--color-bg,#f1f1f1);border-radius:3px;box-shadow:0 0 0 2px currentColor;clip:auto!important;color:var(--color-primary,inherit);display:block;font-size:.875rem;font-weight:700;height:auto;left:5px;line-height:normal;padding:15px 23px;text-decoration:none;top:5px;width:auto;z-index:100000}

/* Cart state element: never visible (used only for fragment/badge state) */
#dingdong-cart-product-ids{display:none!important;visibility:hidden;position:absolute;left:-9999px;pointer-events:none;height:0;overflow:hidden}

/* Sticky header: do not set background so generated design (e.g. black theme) is preserved */
.site-header,#masthead.site-header{position:sticky;top:0;z-index:1000}

/* Fixed bottom navigation: do not set background so generated design (e.g. black theme) is preserved */
.floating-bottom-nav,.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:999}
.floating-bottom-nav-list,.floating-bottom-nav ul{display:flex;justify-content:space-around;align-items:center;list-style:none;margin:0;padding:.75rem 1rem;gap:.5rem;flex-wrap:wrap}
.floating-bottom-nav-list li,.floating-bottom-nav ul li{margin:0}
.floating-bottom-nav-list a,.floating-bottom-nav ul a{display:flex;flex-direction:column;align-items:center;gap:.25rem;text-decoration:none;font-size:.75rem;color:inherit;padding:.5rem;min-height:44px;justify-content:center}
.floating-bottom-nav .nav-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0}
.floating-bottom-nav .nav-icon svg{width:100%;height:100%;color:inherit}
.floating-bottom-nav .nav-label{display:block}

/* Prevent content from being hidden under fixed bottom nav */
#page:has(.floating-bottom-nav),#page:has(.bottom-nav){padding-bottom:72px}
@media(min-width:769px){#page:has(.floating-bottom-nav),#page:has(.bottom-nav){padding-bottom:64px}}

/* Utility (optional; generated design takes precedence) */
@media(max-width:768px){.hide-mobile{display:none!important}}
@media(min-width:769px){.hide-desktop{display:none!important}}
.site-footer-fallback{padding:1.5rem 1rem;text-align:center;border-top:1px solid var(--color-border, rgba(0,0,0,.08));background:var(--color-bg-secondary, rgba(0,0,0,.02))}
.footer-fallback-inner{max-width:1200px;margin:0 auto}
.footer-fallback-links{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem 1.5rem;margin-bottom:1rem}
.footer-fallback-link{display:inline-flex;align-items:center;gap:.4rem;text-decoration:none;font-size:.9rem;color:inherit;padding:.35rem 0}
.footer-fallback-link:hover{text-decoration:underline;opacity:.9}
.footer-fallback-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0}
.footer-fallback-icon svg{width:100%;height:100%;color:inherit}
.footer-fallback-copy{margin:0;font-size:.8rem;opacity:.85}
@media print{.site-header,.site-footer,.floating-bottom-nav,.sidebar{display:none!important}body{color:#000;background:#fff}a{color:#000;text-decoration:underline}}
