/* -------------------------------------------------------------
   LA SPIGA D'ORO - PANETTERIA ARTIGIANALE A FINALE LIGURE
   Design System & Responsive Styling
   ------------------------------------------------------------- */

/* Reset & Root Variables */
:root {
    /* Palette */
    --clr-gold-primary: #D5A036;
    --clr-gold-light: #E5B853;
    --clr-gold-dark: #B58223;
    --clr-gold-glow: rgba(213, 160, 54, 0.35);
    
    --clr-bg-cream: #FDFBF7;
    --clr-bg-surface: #FFFFFF;
    --clr-bg-warm: #F6F0E8;
    --clr-bg-alt: #EFE6D9;
    
    --clr-dark-obsidian: #181310;
    --clr-dark-card: #231C17;
    --clr-dark-surface: #2D251F;
    
    --clr-terracotta: #C66B4B;
    --clr-green-open: #2E7D32;
    --clr-red-closed: #C62828;
    
    --clr-text-main: #201915;
    --clr-text-muted: #64574E;
    --clr-text-light: #F6F0E8;
    
    /* Typography */
    --ff-serif: 'Cormorant Garamond', Georgia, serif;
    --ff-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-sm: 0 4px 12px rgba(24, 19, 16, 0.05);
    --shadow-md: 0 10px 30px rgba(24, 19, 16, 0.08);
    --shadow-lg: 0 20px 45px rgba(24, 19, 16, 0.12);
    --shadow-gold: 0 10px 30px rgba(213, 160, 54, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Floating Circular Phone Button */
.floating-phone-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.floating-phone-inner {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-gold-light) 0%, var(--clr-gold-dark) 100%);
    color: var(--clr-dark-obsidian);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 10px 30px rgba(213, 160, 54, 0.45);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    z-index: 2;
}

.floating-phone-btn:hover .floating-phone-inner {
    transform: scale(1.1);
    box-shadow: 0 14px 40px rgba(213, 160, 54, 0.6);
}

.floating-phone-ripple {
    position: absolute;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(213, 160, 54, 0.4);
    animation: phonePulse 2s infinite;
    z-index: 1;
}

@keyframes phonePulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.text-center { text-align: center; }
.text-terracotta { color: var(--clr-terracotta); }

.sub-heading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--ff-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-gold-dark);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--ff-serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--clr-dark-obsidian);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--clr-text-muted);
    max-width: 680px;
    margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--ff-sans);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
    min-height: 44px;
}

.btn-sm {
    padding: 0.5rem 1.15rem;
    font-size: 0.85rem;
    min-height: 38px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-gold-primary) 0%, var(--clr-gold-dark) 100%);
    color: var(--clr-dark-obsidian);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(213, 160, 54, 0.35);
    background: linear-gradient(135deg, var(--clr-gold-light) 0%, var(--clr-gold-primary) 100%);
}

.btn-outline {
    border-color: rgba(32, 25, 21, 0.2);
    color: var(--clr-dark-obsidian);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--clr-gold-primary);
    background: rgba(213, 160, 54, 0.08);
    color: var(--clr-gold-dark);
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: all var(--transition-smooth);
    background: rgba(253, 251, 247, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(213, 160, 54, 0.12);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
    background: rgba(253, 251, 247, 0.96);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wheat-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-gold-primary), var(--clr-gold-dark));
    color: var(--clr-dark-obsidian);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(213, 160, 54, 0.25);
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--ff-serif);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--clr-dark-obsidian);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--clr-gold-dark);
    font-weight: 600;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--clr-text-muted);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--clr-dark-obsidian);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--clr-gold-primary);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Language Switcher Styling */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(32, 25, 21, 0.05);
    padding: 3px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(213, 160, 54, 0.2);
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--ff-sans);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-text-muted);
    padding: 0.25rem 0.55rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 28px;
}

.lang-btn:hover {
    color: var(--clr-dark-obsidian);
}

.lang-btn.active {
    background: var(--clr-gold-primary);
    color: var(--clr-dark-obsidian);
    box-shadow: 0 2px 6px rgba(213, 160, 54, 0.3);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--clr-dark-obsidian);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
}

/* Status Pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.status-open {
    background: rgba(46, 125, 50, 0.1);
    color: var(--clr-green-open);
    border: 1px solid rgba(46, 125, 50, 0.25);
}

.status-open .status-dot {
    background: var(--clr-green-open);
    box-shadow: 0 0 8px var(--clr-green-open);
    animation: pulse 2s infinite;
}

.status-closed {
    background: rgba(198, 40, 40, 0.1);
    color: var(--clr-red-closed);
    border: 1px solid rgba(198, 40, 40, 0.25);
}

.status-closed .status-dot {
    background: var(--clr-red-closed);
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 8.5rem;
    padding-bottom: 5rem;
    background: linear-gradient(180deg, var(--clr-bg-cream) 0%, var(--clr-bg-warm) 100%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--clr-gold-glow) 0%, rgba(253,251,247,0) 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: flex-start; /* Image aligned to top of text */
}

.hero-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(213, 160, 54, 0.15);
    color: var(--clr-gold-dark);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.hero-title {
    font-family: var(--ff-serif);
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--clr-dark-obsidian);
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--clr-text-muted);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* Extended White Info Banner */
.hero-quick-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 1.25rem;
    padding: 1.35rem 1.75rem;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(213, 160, 54, 0.2);
    width: 100%;
    margin-top: auto;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.quick-phone-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-gold-primary), var(--clr-gold-dark));
    color: var(--clr-dark-obsidian);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(213, 160, 54, 0.3);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.quick-phone-circle:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--clr-gold-light), var(--clr-gold-primary));
}

.quick-info-item > i {
    font-size: 1.75rem;
    color: var(--clr-gold-primary);
    flex-shrink: 0;
}

.quick-info-item div {
    display: flex;
    flex-direction: column;
}

.quick-info-item strong {
    font-size: 0.95rem;
    color: var(--clr-dark-obsidian);
    line-height: 1.2;
}

.quick-info-item span {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    margin-top: 2px;
}

.quick-info-divider {
    display: none; /* Replaced by Grid Layout for perfect extension */
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
}

.hero-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid #FFFFFF;
    background: #FFFFFF;
}

.hero-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform var(--transition-smooth);
    display: block;
}

.hero-image-card:hover .hero-img {
    transform: scale(1.03);
}

.hero-img-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(24, 19, 16, 0.88);
    backdrop-filter: blur(12px);
    color: #FFFFFF;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(213, 160, 54, 0.35);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
    max-width: calc(100% - 2.5rem);
}

.badge-number {
    font-family: var(--ff-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--clr-gold-primary);
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 500;
    max-width: 130px;
    line-height: 1.3;
}

/* Craftsmanship Section with Dedicated Image Headers */
.section-craftsmanship {
    background: var(--clr-bg-cream);
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.craft-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid rgba(213, 160, 54, 0.15);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.craft-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-gold-primary);
}

.craft-card-img-wrapper {
    height: 190px;
    overflow: hidden;
    position: relative;
}

.craft-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.craft-card:hover .craft-card-img {
    transform: scale(1.06);
}

.craft-card-content {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.craft-card.highlighted {
    background: linear-gradient(135deg, var(--clr-dark-card) 0%, var(--clr-dark-obsidian) 100%);
    color: #FFFFFF;
    border-color: var(--clr-gold-primary);
}

.craft-card.highlighted p {
    color: rgba(255, 255, 255, 0.8);
}

.craft-card.highlighted h3 {
    color: #FFFFFF;
}

.craft-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: rgba(213, 160, 54, 0.12);
    color: var(--clr-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.craft-card.highlighted .craft-icon {
    background: rgba(213, 160, 54, 0.2);
    color: var(--clr-gold-primary);
}

.craft-card h3 {
    font-family: var(--ff-serif);
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: var(--clr-dark-obsidian);
}

.craft-card p {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

/* CATALOG SECTION & TABS */
.section-catalog {
    background: var(--clr-bg-warm);
}

.catalog-tabs {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    background: #FFFFFF;
    border: 1px solid rgba(213, 160, 54, 0.2);
    color: var(--clr-text-main);
    font-family: var(--ff-sans);
    font-weight: 600;
    font-size: 0.925rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 44px;
}

.tab-btn i {
    font-size: 1.1rem;
    color: var(--clr-gold-dark);
}

.tab-btn:hover {
    border-color: var(--clr-gold-primary);
    background: rgba(213, 160, 54, 0.08);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--clr-dark-obsidian), var(--clr-dark-card));
    color: #FFFFFF;
    border-color: var(--clr-dark-obsidian);
    box-shadow: var(--shadow-sm);
}

.tab-btn.active i {
    color: var(--clr-gold-primary);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(213, 160, 54, 0.15);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-gold-primary);
}

.card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.product-card:hover .product-img {
    transform: scale(1.06);
}

.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(24, 19, 16, 0.85);
    backdrop-filter: blur(8px);
    color: var(--clr-gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(213, 160, 54, 0.3);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-family: var(--ff-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-dark-obsidian);
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(32, 25, 21, 0.08);
}

.price-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--clr-gold-dark);
}

.btn-allergens {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.95rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(213, 160, 54, 0.1);
    color: var(--clr-dark-obsidian);
    border: 1px solid rgba(213, 160, 54, 0.25);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 40px;
}

.btn-allergens:hover {
    background: var(--clr-gold-primary);
    color: var(--clr-dark-obsidian);
    border-color: var(--clr-gold-primary);
}

/* ALLERGEN MODAL STYLING */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(24, 19, 16, 0.7);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #FFFFFF;
    width: 100%;
    max-width: 540px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(213, 160, 54, 0.3);
    padding: 2rem;
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-smooth);
}

.modal-backdrop.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--clr-bg-warm);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--clr-dark-obsidian);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.modal-close:hover {
    background: var(--clr-gold-primary);
}

.modal-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--clr-gold-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.modal-header h3 {
    font-family: var(--ff-serif);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--clr-dark-obsidian);
    margin-bottom: 1.5rem;
}

.modal-section {
    margin-bottom: 1.25rem;
}

.modal-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-dark-obsidian);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section p {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    line-height: 1.55;
}

.allergen-box {
    background: rgba(198, 40, 40, 0.05);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(198, 40, 40, 0.15);
}

.allergens-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.allergen-pill {
    background: rgba(198, 40, 40, 0.15);
    color: var(--clr-red-closed);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

/* Hours & Live Status Section */
.section-hours {
    background: var(--clr-bg-cream);
}

.hours-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.hours-card-main {
    background: #FFFFFF;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(213, 160, 54, 0.15);
}

.hours-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.hours-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(213, 160, 54, 0.15);
    color: var(--clr-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.hours-sub {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--clr-gold-dark);
}

.hours-header h2 {
    font-family: var(--ff-serif);
    font-size: 2.2rem;
    font-weight: 700;
}

.hours-live-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    transition: all var(--transition-fast);
}

.hours-live-banner i {
    font-size: 1.75rem;
}

.banner-text {
    display: flex;
    flex-direction: column;
}

.banner-text strong {
    font-size: 1.05rem;
}

.banner-text span {
    font-size: 0.85rem;
    opacity: 0.85;
}

.schedule-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    background: var(--clr-bg-cream);
    transition: background var(--transition-fast);
}

.schedule-row.active-day {
    background: rgba(213, 160, 54, 0.12);
    border-left: 4px solid var(--clr-gold-primary);
    font-weight: 700;
}

.day-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-dark-obsidian);
}

.day-hours {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
}

.closed-day .day-hours {
    color: var(--clr-red-closed);
    font-weight: 600;
}

.badge-closed {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.asporto-info-box {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--clr-bg-warm);
    border-radius: var(--radius-md);
    border: 1px dashed var(--clr-gold-primary);
}

.asporto-info-box i {
    font-size: 1.75rem;
    color: var(--clr-gold-dark);
}

.asporto-info-box p {
    font-size: 0.9rem;
    color: var(--clr-text-main);
}

.hours-side-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.side-info-card {
    background: #FFFFFF;
    padding: 2.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(213, 160, 54, 0.15);
}

.side-info-card h3 {
    font-family: var(--ff-serif);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-dark-obsidian);
}

.side-info-card p {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    margin-bottom: 1.5rem;
}

.store-address {
    font-style: normal;
    background: var(--clr-bg-cream);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    border-left: 3px solid var(--clr-gold-primary);
}

/* Contact & Map Section */
.section-contact {
    background: var(--clr-bg-warm);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: #FFFFFF;
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(213, 160, 54, 0.15);
}

.c-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(213, 160, 54, 0.15);
    color: var(--clr-gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem auto;
}

.contact-card h4 {
    font-family: var(--ff-serif);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-card p {
    font-size: 0.925rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

.map-embed-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 6px solid #FFFFFF;
}

/* Footer */
.footer {
    background: var(--clr-dark-obsidian);
    color: #FFFFFF;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name {
    color: #FFFFFF;
}

.footer-desc {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 360px;
}

.footer-links h5, .footer-hours h5 {
    font-family: var(--ff-serif);
    font-size: 1.25rem;
    color: var(--clr-gold-light);
    margin-bottom: 1.25rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--clr-gold-primary);
}

.footer-hours p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.4rem;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES (MOBILE & TABLET OPTIMIZATIONS)
   ------------------------------------------------------------- */

@media (max-width: 992px) {
    .hero-container, .hours-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .craft-grid, .contact-grid, .footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        height: calc(100vh - 65px);
        background: rgba(253, 251, 247, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2.5rem 1.5rem;
        gap: 1.75rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-smooth);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.25rem;
        font-weight: 600;
    }

    .hero-image-wrapper {
        order: -1;
        width: 100%;
    }

    .hero-img {
        height: 340px;
    }

    .hero-quick-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nav-actions .btn-maps-nav {
        display: none;
    }
}

/* Mobile Devices (< 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 1.15rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .brand-tagline {
        font-size: 0.58rem;
    }

    .wheat-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .nav-actions {
        gap: 0.4rem;
    }

    .lang-switcher {
        padding: 2px;
    }

    .lang-btn {
        padding: 0.2rem 0.45rem;
        font-size: 0.7rem;
        min-height: 28px;
    }

    .status-pill {
        padding: 0.25rem 0.6rem;
        font-size: 0.75rem;
    }

    /* Hero Banner Mobile Clipping Fix */
    .hero-image-card {
        border-width: 4px;
        border-radius: var(--radius-md);
    }

    .hero-img {
        height: 280px;
        border-radius: var(--radius-sm);
    }

    .hero-img-badge {
        bottom: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
        max-width: calc(100% - 1.5rem);
        padding: 0.6rem 0.85rem;
        border-radius: var(--radius-sm);
        gap: 0.6rem;
    }

    .badge-number {
        font-size: 1.35rem;
    }

    .badge-text {
        font-size: 0.75rem;
        line-height: 1.2;
        max-width: none;
    }

    /* Swipeable Horizontal Filter Tabs on Mobile */
    .catalog-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0.25rem 0.25rem 0.85rem 0.25rem;
        gap: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .catalog-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex: 0 0 auto;
        padding: 0.6rem 1.1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Product Cards Mobile Optimization */
    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .card-img-wrapper {
        height: 210px;
    }

    .product-info {
        padding: 1.25rem;
    }

    .product-info h3 {
        font-size: 1.35rem;
    }

    .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .btn-allergens {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }

    .price-tag {
        text-align: center;
    }

    /* Modal Responsive Touch sheet */
    .modal-backdrop {
        padding: 1rem;
    }

    .modal-container {
        padding: 1.5rem 1.25rem;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: var(--radius-md);
    }

    .modal-header h3 {
        font-size: 1.45rem;
        padding-right: 2rem;
    }

    .floating-phone-btn {
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .floating-phone-inner {
        width: 54px;
        height: 54px;
        font-size: 1.5rem;
    }
}

/* Small Smartphone Screen (< 576px) */
@media (max-width: 576px) {
    .section {
        padding: 3.5rem 0;
    }

    .hero {
        padding-top: 6.25rem;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 0.975rem;
        margin-bottom: 1.5rem;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .hours-card-main {
        padding: 1.25rem;
    }

    .schedule-row {
        padding: 0.75rem 0.85rem;
        flex-direction: row;
        justify-content: space-between;
    }

    .day-name {
        font-size: 0.9rem;
    }

    .day-hours {
        font-size: 0.85rem;
    }

    .map-embed-wrapper iframe {
        height: 300px;
    }
}
