/* =====================================================
   BEF L'Atelier — Fine-Dining Redesign
   Obsidian Canvas (#0B0A09), Champagne Gold (#C5A059),
   Warm Sand (#E2D4C9), Alabaster (#F9F6F0).
   Cormorant Garamond + Outfit Typography.
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --color-bg: #0B0A09;
    --color-bg-alt: #121110;
    --color-surface: #171615;
    --color-surface-soft: #23211F;
    --color-gold: #C5A059;
    --color-gold-light: #E5C453;
    --color-gold-dim: rgba(197, 160, 89, 0.15);
    --color-gold-ultra-dim: rgba(197, 160, 89, 0.06);
    --color-text-primary: #F9F6F0;
    --color-text-secondary: #E2D4C9;
    --color-text-muted: #AEA79F;
    --color-border: rgba(197, 160, 89, 0.22);
    --color-border-soft: rgba(197, 160, 89, 0.1);
    
    /* Legacy aliases for code compatibility */
    --charcoal: var(--color-bg);
    --charcoal-2: var(--color-bg-alt);
    --smoke: var(--color-surface);
    --smoke-2: var(--color-surface-soft);
    --ember: var(--color-gold);
    --ember-deep: #8E6D3B;
    --bone: var(--color-text-primary);
    --bone-soft: var(--color-text-secondary);
    --brass: var(--color-gold);
    --muted: var(--color-text-muted);
    --line: var(--color-border-soft);
    --line-strong: var(--color-border);
    --gold: var(--color-gold);

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: var(--font-sans);
    --font-display: var(--font-serif);

    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    --shadow-pop: 0 16px 40px rgba(0, 0, 0, 0.9);

    --container: 480px;
    --pad: 24px;
}

/* =====================================================
   GLOBAL RESETS
   ===================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

[data-lucide], i[data-lucide] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
[data-lucide] svg, i[data-lucide] svg {
    display: block;
}

html {
    -webkit-text-size-adjust: 100%;
    background: var(--color-bg);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

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

main {
    max-width: var(--container);
    margin: 0 auto;
    padding-bottom: 24px;
}

body.has-floatbar main {
    padding-bottom: 96px;
}

/* Typography styles */
h1, h2, h3, h4, .serif-text {
    font-family: var(--font-serif);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.tnum {
    font-feature-settings: "tnum" 1;
    letter-spacing: 0.01em;
}

.prod-row-ed-price,
.product-price,
.hero-bg-price,
.fm-price,
.camp-price,
.pick-card-price,
.pd2-price-tag {
    font-feature-settings: "tnum" 1;
    letter-spacing: 0.01em;
    font-family: var(--font-sans);
    font-weight: 500;
}

/* =====================================================
   HEADER - Minimal & Glassmorphic
   ===================================================== */
.ap {
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: var(--container);
    margin: 0 auto;
    background: rgba(11, 10, 9, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--color-border-soft);
    color: var(--color-text-primary);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.ap.is-scrolled {
    background: rgba(11, 10, 9, 0.95);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.ap-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    min-height: 68px;
}

.ap-btn {
    width: 38px;
    height: 38px;
    background: transparent;
    border: none;
    color: var(--color-text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    padding: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ap-btn:active {
    transform: scale(0.92);
}

.ap-btn:hover {
    color: var(--color-gold);
}

.ap-burger {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 22px;
}

.ap-burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transition: width 0.25s ease;
}

.ap-burger span:nth-child(2) {
    width: 60%;
}

.ap-burger span:nth-child(3) {
    width: 80%;
}

.ap-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-primary);
    justify-self: center;
    line-height: 1;
}

/* Fallback/Text logo for Fine Dining */
.ap-brand-img {
    height: 38px;
    width: auto;
    display: block;
    filter: brightness(1.1);
}

.ap-brand-est {
    font-size: 8px;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    font-weight: 600;
    margin-top: 4px;
    font-family: var(--font-sans);
}

.ap-right {
    justify-self: end;
    display: inline-flex;
    align-items: center;
}

/* Lang switcher */
.ap-lang {
    position: relative;
}

.ap-lang-btn {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 2px;
    background: rgba(197, 160, 89, 0.05);
}

.ap-lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: var(--color-surface);
    border: var(--color-border);
    box-shadow: var(--shadow);
    list-style: none;
    min-width: 110px;
    z-index: 110;
}

.ap-lang.open .ap-lang-menu {
    display: block;
    animation: fadeInUp 0.2s ease forwards;
}

.ap-lang-menu button {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    font-size: 12px;
    text-align: left;
    transition: background 0.2s ease;
}

.ap-lang-menu button:hover {
    background: var(--color-surface-soft);
    color: var(--color-gold);
}

.ap-lang-menu button.is-active {
    color: var(--color-gold);
    font-weight: 600;
}

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider-fm {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 380px;
    max-height: 520px;
    overflow: hidden;
    background: var(--color-bg);
}

.hero-slider-fm-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slider-fm-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 4.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

/* Dark elegant gradient overlays */
.hero-slider-fm-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg) 5%, rgba(11, 10, 9, 0.4) 50%, rgba(11, 10, 9, 0.7) 100%);
}

.hero-slider-fm-slide.is-active {
    opacity: 1;
    transform: scale(1.001);
    z-index: 2;
}

.hero-slider-fm-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero-slider-fm-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transition: width 0.35s ease, background 0.35s ease;
    border: none;
    padding: 0;
}

.hero-slider-fm-dot.is-active {
    width: 24px;
    border-radius: 3px;
    background: var(--color-gold);
}

.hero-banner-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-surface), var(--color-bg-alt));
    border-bottom: var(--color-border-soft);
}

/* =====================================================
   PICKS - Today's Culinary Selections
   ===================================================== */
.picks {
    padding: 32px 18px;
    background: var(--color-bg);
}

.picks-head {
    text-align: center;
    margin-bottom: 28px;
}

.picks-eyebrow {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.picks-title {
    font-size: 26px;
    color: var(--color-text-primary);
    font-style: italic;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

/* Elegant gold leaf divider */
.picks-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.picks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.pick-card {
    background: var(--color-surface);
    border: 1px solid rgba(197, 160, 89, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.pick-card::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(197, 160, 89, 0.04);
    pointer-events: none;
}

.pick-card:hover {
    border-color: rgba(197, 160, 89, 0.4);
    transform: translateY(-4px);
}

.pick-card-img {
    width: 100%;
    padding-top: 110%; /* Tall premium ratio */
    background-size: cover;
    background-position: center;
    background-color: var(--color-surface-soft);
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.pick-card:hover .pick-card-img {
    transform: scale(1.05);
}

.pick-card-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--color-surface);
    border-top: 1px solid rgba(197, 160, 89, 0.08);
}

.pick-card-name {
    font-size: 16px;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.pick-card-price {
    font-size: 13px;
    color: var(--color-gold);
    font-weight: 600;
}

/* =====================================================
   CATEGORIES - Sleek Tiles
   ===================================================== */
.cats {
    padding: 24px 18px 36px;
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(197, 160, 89, 0.06);
}

.cats-title {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-primary);
}

.cats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.cat-tile-fm {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border: 1px solid rgba(197, 160, 89, 0.15);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.cat-tile-fm::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 10, 9, 0.65);
    transition: background 0.3s ease;
}

.cat-tile-fm::after {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(197, 160, 89, 0.15);
    transition: border-color 0.3s ease;
}

.cat-tile-fm:hover {
    border-color: var(--color-gold);
}

.cat-tile-fm:hover::before {
    background: rgba(11, 10, 9, 0.5);
}

.cat-tile-fm:hover::after {
    border-color: var(--color-gold);
}

.cat-tile-fm-name {
    position: relative;
    z-index: 2;
    font-family: var(--font-serif);
    font-size: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    font-weight: 500;
}

.cats--page {
    background: var(--color-bg);
    border: none;
    padding-top: 0;
}

/* =====================================================
   CATEGORY DETAIL - Elegant Dotted-Line List
   ===================================================== */
.cat-hero-fm {
    padding: 40px 18px 24px;
    text-align: center;
    background: var(--color-bg);
}

.cat-hero-fm-eyebrow {
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--color-gold);
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.cat-hero-fm-title {
    font-size: 32px;
    color: var(--color-text-primary);
    font-weight: 400;
    margin-bottom: 8px;
}

.cat-hero-fm-tagline {
    font-size: 14px;
    color: var(--color-text-muted);
    font-style: italic;
    max-width: 280px;
    margin: 0 auto;
}

.cat-hero-fm-rule {
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    margin: 20px auto 0;
    opacity: 0.6;
}

.section {
    padding: 0 18px;
}

.section-tight {
    padding-bottom: 40px;
}

.empty-state {
    text-align: center;
    padding: 40px 0;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* The Dotted Price Line List */
.prod-list-ed {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.prod-row-ed {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.08);
}

.prod-row-ed-img {
    width: 72px;
    height: 72px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(197, 160, 89, 0.15);
    background-color: var(--color-surface);
    flex-shrink: 0;
}

.prod-row-ed-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.prod-row-ed-name {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--color-text-primary);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
}

/* Elegant Dotted Line Spacer */
.prod-row-ed-name::after {
    content: "";
    flex-grow: 1;
    border-bottom: 1px dotted rgba(197, 160, 89, 0.35);
    margin-bottom: 4px;
    order: 2;
}

.prod-row-ed-name span:first-child {
    order: 1;
}

.prod-row-ed-price {
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--color-gold);
    font-weight: 600;
    order: 3;
}

.prod-row-ed-desc {
    font-size: 13px;
    color: var(--color-text-muted);
    font-style: italic;
    line-height: 1.4;
}

.prod-row-ed-foot {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 4px;
}

.prod-row-ed-foot .prod-row-ed-price {
    display: none; /* Already inline with title */
}

.prod-row-ed-cta {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

/* =====================================================
   PRODUCT DETAIL - Luxury Parallax Layout
   ===================================================== */
.product-page main {
    padding-bottom: 0;
}

.pd2-hero {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 320px;
    overflow: hidden;
}

.pd2-hero-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--color-bg-alt);
}

.pd2-hero-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg) 5%, transparent 60%);
}

.pd2-hero-back,
.pd2-hero-fav {
    position: absolute;
    top: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(11, 10, 9, 0.7);
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-smooth);
}

.pd2-hero-back {
    left: 18px;
}

.pd2-hero-fav {
    right: 18px;
}

.pd2-hero-back:active,
.pd2-hero-fav:active {
    transform: scale(0.9);
}

.pd2-main {
    max-width: var(--container);
    margin: -36px auto 0;
    position: relative;
    z-index: 5;
    background: var(--color-bg);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 28px 18px 40px;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.6);
}

.pd2-headline {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
    padding-bottom: 20px;
}

.pd2-cat {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.pd2-headline-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.pd2-name {
    font-size: 28px;
    color: var(--color-text-primary);
    line-height: 1.2;
}

.pd2-price-tag {
    font-size: 20px;
    color: var(--color-gold);
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 1px solid var(--color-gold);
    padding-bottom: 2px;
}

.pd2-meta-chips {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.pd2-chip {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-secondary);
    background: var(--color-surface);
    border: 1px solid rgba(197, 160, 89, 0.15);
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pd2-chip svg {
    color: var(--color-gold);
}

.pd2-short {
    font-size: 14px;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 14px;
    line-height: 1.5;
}

.pd2-block {
    margin-bottom: 24px;
}

.pd2-block-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    font-weight: 600;
    border-left: 2px solid var(--color-gold);
    padding-left: 10px;
    font-family: var(--font-sans);
}

.pd2-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Ingredients Grid */
.pd2-info-grid {
    background: var(--color-surface);
    border: 1px solid rgba(197, 160, 89, 0.1);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pd2-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.pd2-info-label {
    color: var(--color-gold);
    font-weight: 500;
}

.pd2-info-body {
    color: var(--color-text-secondary);
    text-align: right;
    max-width: 70%;
}

/* Nutrition Cards */
.pd2-nut-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pd2-nut-card {
    background: var(--color-surface);
    border: 1px solid rgba(197, 160, 89, 0.08);
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pd2-nut-label {
    font-size: 10px;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.pd2-nut-value {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 600;
}

/* Allergens Group */
.pd2-allerg-group {
    background: var(--color-bg-alt);
    border: 1px solid rgba(197, 160, 89, 0.08);
    padding: 14px;
    margin-bottom: 12px;
}

.pd2-allerg-head {
    font-size: 11px;
    font-weight: 600;
    color: #EF4444;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd2-allerg-head--soft {
    color: var(--color-text-muted);
}

.pd2-allerg-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pd2-allerg-chip {
    font-size: 11px;
    padding: 3px 8px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.02);
}

.pd2-allerg-chip.is-var {
    color: var(--color-text-primary);
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.pd2-allerg-empty {
    font-size: 12px;
    color: var(--color-text-muted);
}

.pd2-allerg-note {
    font-size: 11px;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 8px;
}

/* =====================================================
   TAKEOVER DRAWERS (Bottom Menu)
   ===================================================== */
.sheet {
    position: fixed;
    inset: 0;
    z-index: 150;
    visibility: hidden;
    pointer-events: none;
    max-width: var(--container);
    margin: 0 auto;
}

.sheet[aria-hidden="false"] {
    visibility: visible;
    pointer-events: auto;
}

.sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 10, 9, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sheet[aria-hidden="false"] .sheet-backdrop {
    opacity: 1;
}

.sheet-panel {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    max-width: var(--container);
    transform: translate(-50%, 100%);
    background: var(--color-bg);
    border-top: var(--color-border);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sheet[aria-hidden="false"] .sheet-panel {
    transform: translate(-50%, 0);
}

.takeover-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.takeover-brand-wm {
    font-family: var(--font-serif);
    font-size: 24px;
    letter-spacing: 0.15em;
    color: var(--color-gold);
}

.takeover-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(197, 160, 89, 0.2);
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

.takeover-close:active {
    transform: scale(0.9);
}

.takeover-search {
    padding: 12px 24px;
    position: relative;
    border-bottom: 1px solid rgba(197, 160, 89, 0.05);
}

.takeover-search svg {
    position: absolute;
    left: 36px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
}

.takeover-search input {
    width: 100%;
    height: 42px;
    border: 1px solid rgba(197, 160, 89, 0.15);
    background: var(--color-surface);
    color: var(--color-text-primary);
    padding: 0 16px 0 44px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.takeover-search input:focus {
    border-color: var(--color-gold);
}

.sheet-scroll {
    overflow-y: auto;
    padding: 16px 24px 40px;
    flex-grow: 1;
}

.takeover-cats {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.takeover-cat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.06);
    position: relative;
}

.takeover-cat-name {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--color-text-primary);
    transition: color 0.2s ease;
}

.takeover-cat-count {
    font-size: 11px;
    color: var(--color-gold);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 2px 6px;
}

.takeover-cat:active .takeover-cat-name {
    color: var(--color-gold);
}

.takeover-divider {
    height: 1px;
    background: rgba(197, 160, 89, 0.1);
    margin: 20px 0;
}

.takeover-quick {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.takeover-quick-link {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
}

.takeover-sign {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.takeover-sign-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-muted);
}

/* =====================================================
   FOOTER REDESIGN - Elegant Text
   ===================================================== */
.bef-foot {
    background: var(--color-bg-alt);
    border-top: var(--color-border);
    padding: 48px 18px 24px;
    text-align: center;
    color: var(--color-text-secondary);
}

.bef-foot-hero {
    margin-bottom: 36px;
}

.bef-foot-ornament {
    color: var(--color-gold);
    display: block;
    font-size: 16px;
    margin-bottom: 12px;
}

.bef-foot-mark {
    font-size: 32px;
    font-style: italic;
    color: var(--color-text-primary);
}

.bef-foot-sub {
    font-size: 9px;
    letter-spacing: 0.25em;
    color: var(--color-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.bef-foot-tag {
    font-size: 14px;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 20px;
}

.bef-foot-ctas {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.bef-foot-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--color-gold);
}

.bef-foot-cta--primary {
    background: var(--color-gold);
    color: var(--color-bg);
}

.bef-foot-cta--ghost {
    background: transparent;
    color: var(--color-gold);
}

.bef-foot-info {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.bef-foot-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 280px;
    text-align: left;
}

.bef-foot-info-icon {
    color: var(--color-gold);
}

.bef-foot-info-text small {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.bef-foot-info-text strong {
    font-size: 13px;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.bef-foot-info-link {
    font-size: 13px;
    color: var(--color-text-secondary);
}

/* Footer columns */
.bef-foot-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
    border-top: 1px solid rgba(197, 160, 89, 0.08);
    padding-top: 24px;
    text-align: left;
}

.bef-foot-col-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.bef-foot-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bef-foot-col li {
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Social rows */
.bef-foot-social {
    border-top: 1px solid rgba(197, 160, 89, 0.08);
    padding-top: 24px;
    margin-bottom: 28px;
}

.bef-foot-social-label {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.bef-foot-social-list {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.bef-foot-social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-secondary);
    transition: color 0.2s ease;
}

.bef-foot-social-link:hover {
    color: var(--color-gold);
}

.bef-foot-social-link svg {
    color: var(--color-gold);
    transition: transform 0.2s ease;
}

.bef-foot-social-link:hover svg {
    transform: scale(1.15);
}

.bef-foot-bottom {
    border-top: 1px solid rgba(197, 160, 89, 0.05);
    padding-top: 18px;
    font-size: 11px;
    color: var(--color-text-muted);
    display: flex;
    justify-content: space-between;
}

/* =====================================================
   AUTH & CONTACT PAGES styling
   ===================================================== */
.auth-page main,
.auth-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 40px 18px;
    background: var(--color-bg);
}

.auth-logo-wrap {
    text-align: center;
    margin-bottom: 32px;
}

.auth-wordmark {
    font-family: var(--font-serif);
    font-size: 36px;
    letter-spacing: 0.2em;
    color: var(--color-gold);
}

.auth-tagline {
    font-size: 13px;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 6px;
}

.demo-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.06);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 10px 14px;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.tab-bar--auth {
    display: flex;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    margin-bottom: 24px;
}

.tab-btn {
    flex-grow: 1;
    padding: 12px 0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-align: center;
    border-bottom: 2px solid transparent;
    transition: var(--transition-smooth);
}

.tab-btn.active {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

.auth-panel {
    display: none;
}

.auth-panel.active {
    display: block;
    animation: fadeInUp 0.35s ease;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.form-input-wrap {
    display: flex;
    position: relative;
}

.form-prefix {
    background: var(--color-surface);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-right: none;
    color: var(--color-text-secondary);
    padding: 0 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.form-input {
    flex-grow: 1;
    background: var(--color-surface);
    border: 1px solid rgba(197, 160, 89, 0.15);
    color: var(--color-text-primary);
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.form-input:focus {
    border-color: var(--color-gold);
}

.form-eye-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
}

/* Contact card & Map styling */
.page-hero {
    padding: 40px 18px 24px;
    text-align: center;
}

.page-hero-title {
    font-size: 32px;
}

.page-hero-sub {
    font-size: 14px;
    color: var(--color-text-muted);
}

.contact-card {
    background: var(--color-surface);
    border: 1px solid rgba(197, 160, 89, 0.15);
    padding: 20px;
    margin-bottom: 24px;
}

.contact-card-head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.contact-icon-wrap {
    color: var(--color-gold);
}

.contact-card-title {
    font-family: var(--font-serif);
    font-size: 18px;
}

.contact-address {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.map-placeholder {
    height: 160px;
    background: var(--color-bg-alt);
    border: 1px solid rgba(197, 160, 89, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 14px;
}

.map-grid {
    position: absolute;
    inset: 0;
}

.map-line {
    position: absolute;
    background: rgba(197, 160, 89, 0.05);
}

.map-line--h {
    width: 100%;
    height: 1px;
}

.map-line--v {
    width: 1px;
    height: 100%;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-pin-dot {
    width: 10px;
    height: 10px;
    background: var(--color-gold);
    border-radius: 50%;
    animation: pulseGold 2s infinite;
}

.map-pin-label {
    font-size: 9px;
    color: var(--color-gold);
    font-weight: 600;
    margin-top: 4px;
}

/* =====================================================
   KEYFRAMES & ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGold {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(197, 160, 89, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}
