/* =====================================================
   BEF Chocolatier & Pâtisserie — Dessert Shop Redesign
   Vanilla Cream (#FDFBF7), Rich Chocolate (#3E2723),
   Rose Gold / Pembe Karamel (#E8A598), Soft Outlines.
   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: #FDFBF7;
    --color-bg-alt: #F6F2EC;
    --color-surface: #FFFDFB;
    --color-surface-soft: #FFFBF7;
    --color-gold: #D4A373;
    --color-gold-light: #E8A598;
    --color-gold-dim: rgba(232, 165, 152, 0.15);
    --color-gold-ultra-dim: rgba(232, 165, 152, 0.06);
    --color-text-primary: #3E2723;
    --color-text-secondary: #5C4B47;
    --color-text-muted: #8D7A76;
    --color-border: rgba(232, 165, 152, 0.28);
    --color-border-soft: rgba(232, 165, 152, 0.14);
    
    /* 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-light);
    --ember-deep: var(--color-gold);
    --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: 6px;
    --radius: 12px;
    --radius-lg: 18px;

    --shadow-sm: 0 2px 8px rgba(62, 39, 35, 0.04);
    --shadow: 0 8px 24px rgba(62, 39, 35, 0.06);
    --shadow-pop: 0 16px 40px rgba(62, 39, 35, 0.1);

    --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-alt);
    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;
}

/* Float header spaces inner pages / detail page / auth */
body:has(.ap--inner),
body.auth-page,
body.product-page {
    padding-top: 100px;
}

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

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: 0;
    background: var(--color-bg);
    box-shadow: 0 0 40px rgba(62, 39, 35, 0.04);
}

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: 600;
}

/* =====================================================
   HEADER - Floating Glassmorphic Capsule
   ===================================================== */
.ap {
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 100;
    max-width: calc(var(--container) - 32px);
    margin: 0 auto;
    background: rgba(253, 251, 247, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(232, 165, 152, 0.32);
    border-radius: 40px;
    box-shadow: 0 8px 32px rgba(62, 39, 35, 0.06);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ap.is-scrolled {
    background: rgba(253, 251, 247, 0.96);
    border-color: rgba(232, 165, 152, 0.5);
    box-shadow: 0 12px 40px rgba(62, 39, 35, 0.12);
    transform: translateY(2px);
}

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

.ap-btn {
    width: 36px;
    height: 36px;
    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-light);
}

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

.ap-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    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;
}

.ap-brand-img {
    height: 32px;
    width: auto;
    display: block;
}

.ap-brand-est {
    font-size: 7px;
    letter-spacing: 0.25em;
    color: var(--color-gold-light);
    font-weight: 700;
    margin-top: 3px;
    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(232, 165, 152, 0.25);
    border-radius: 20px;
    background: rgba(232, 165, 152, 0.05);
}

.ap-lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    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-bg-alt);
    color: var(--color-gold-light);
}

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

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

.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.04);
    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;
}

/* Warm gradient overlays for dessert feel */
.hero-slider-fm-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(62, 39, 37, 0.7) 0%, rgba(62, 39, 37, 0.2) 60%, rgba(62, 39, 37, 0.5) 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: 10px;
    align-items: center;
}

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

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

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

/* =====================================================
   PICKS - Borderless Fine-Art Cards
   ===================================================== */
.picks {
    padding: 40px var(--pad) 32px;
    background: var(--color-bg);
}

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

.picks-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-gold-light);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

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

.picks-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 30%;
    width: 40%;
    height: 1.5px;
    background: linear-gradient(to right, transparent, var(--color-gold-light), transparent);
}

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

/* Borderless Fine-Art Card wrapper */
.pick-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    position: relative;
}

.pick-card::after {
    display: none; /* remove arch frames overlays */
}

/* Portrait aspect ratio image wrapper */
.pick-card-img {
    width: 100%;
    aspect-ratio: 3/4;
    padding-top: 0; /* remove fixed heights */
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-color: var(--color-bg-alt);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    box-shadow: 0 4px 16px rgba(62, 39, 35, 0.05);
}

.pick-card:hover .pick-card-img {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(232, 165, 152, 0.2);
}

.pick-card-body {
    padding: 0;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.pick-card-name {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 500;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.pick-card:hover .pick-card-name {
    color: var(--color-gold-light);
}

.pick-card-price {
    font-size: 14px;
    color: var(--color-gold-light);
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* =====================================================
   CATEGORIES - Concentric Circle Layout (3-Column Grid)
   ===================================================== */
.cats {
    padding: 36px 18px 24px;
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(232, 165, 152, 0.12);
}

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

/* Redesigned Grid to 3 Columns */
.cats-circle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 12px;
    padding: 8px 0;
}

.cat-circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.cat-circle-img-wrap {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 1px solid rgba(232, 165, 152, 0.35);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.35s ease, transform 0.35s ease;
}

/* Inner concentric border */
.cat-circle-img-wrap::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    border: 1px dotted rgba(232, 165, 152, 0.22);
}

.cat-circle-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: var(--color-bg);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cat-circle-card:hover .cat-circle-img-wrap {
    border-color: var(--color-gold-light);
    transform: translateY(-4px);
}

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

.cat-circle-name {
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--color-text-primary);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.cat-circle-card:hover .cat-circle-name {
    color: var(--color-gold-light);
}

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

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

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

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

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

.cat-hero-fm-rule {
    display: block;
    width: 50px;
    height: 2px;
    border-radius: 1px;
    background: var(--color-gold-light);
    margin: 18px 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 Dessert 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(232, 165, 152, 0.15);
}

.prod-row-ed-img {
    width: 76px;
    height: 76px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(232, 165, 152, 0.22);
    border-radius: var(--radius);
    background-color: var(--color-bg-alt);
    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: 19px;
    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: 1.5px dotted rgba(232, 165, 152, 0.45);
    margin-bottom: 5px;
    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-light);
    font-weight: 700;
    order: 3;
}

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

.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;
}

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

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

.pd2-hero {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 300px;
    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(253, 251, 247, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(232, 165, 152, 0.3);
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.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: -24px auto 0;
    position: relative;
    z-index: 5;
    background: var(--color-bg);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 28px 18px 40px;
    box-shadow: 0 -10px 30px rgba(62, 39, 35, 0.05);
}

.pd2-headline {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(232, 165, 152, 0.15);
    padding-bottom: 20px;
}

.pd2-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-gold-light);
    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.25;
}

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

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

.pd2-chip {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-surface);
    border: 1px solid rgba(232, 165, 152, 0.2);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

.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: 700;
    border-left: 3px solid var(--color-gold-light);
    padding-left: 10px;
    font-family: var(--font-sans);
}

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

/* Ingredients Grid */
.pd2-info-grid {
    background: var(--color-surface);
    border: 1px solid rgba(232, 165, 152, 0.15);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

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

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

.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(232, 165, 152, 0.12);
    border-radius: var(--radius);
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: var(--shadow-sm);
}

.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(232, 165, 152, 0.12);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 12px;
}

.pd2-allerg-head {
    font-size: 11px;
    font-weight: 700;
    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(232, 165, 152, 0.15);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.4);
}

.pd2-allerg-chip.is-var {
    color: #EF4444;
    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(62, 39, 35, 0.5);
    backdrop-filter: blur(6px);
    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: 1px solid var(--color-border);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    box-shadow: 0 -10px 40px rgba(62, 39, 35, 0.1);
    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(232, 165, 152, 0.15);
}

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

.takeover-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(232, 165, 152, 0.25);
    border-radius: 50%;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

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

.takeover-search {
    padding: 12px 24px;
    position: relative;
    border-bottom: 1px solid rgba(232, 165, 152, 0.08);
}

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

.takeover-search input {
    width: 100%;
    height: 42px;
    border: 1px solid rgba(232, 165, 152, 0.2);
    border-radius: var(--radius-sm);
    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-light);
}

.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(232, 165, 152, 0.08);
    position: relative;
}

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

.takeover-cat-count {
    font-size: 11px;
    color: var(--color-gold-light);
    border: 1px solid rgba(232, 165, 152, 0.35);
    border-radius: var(--radius-sm);
    padding: 2px 6px;
}

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

.takeover-divider {
    height: 1px;
    background: rgba(232, 165, 152, 0.12);
    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.15em;
    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 - Double-Framed Menu Booklet
   ===================================================== */
.bef-foot {
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(232, 165, 152, 0.25);
    padding: 48px 24px 32px;
    text-align: center;
    color: var(--color-text-secondary);
    position: relative;
}

/* Double margin frames */
.bef-foot::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 1px solid rgba(232, 165, 152, 0.18);
    pointer-events: none;
}

.bef-foot::after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px double rgba(232, 165, 152, 0.14);
    pointer-events: none;
}

.bef-foot-hero {
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

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

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

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

.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: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--color-gold-light);
    border-radius: var(--radius);
    position: relative;
    z-index: 5;
}

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

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

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

.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-light);
}

.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(232, 165, 152, 0.15);
    padding-top: 24px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.bef-foot-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-gold-light);
    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(232, 165, 152, 0.15);
    padding-top: 24px;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.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-light);
}

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

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

.bef-foot-bottom {
    border-top: 1px solid rgba(232, 165, 152, 0.08);
    padding-top: 18px;
    font-size: 11px;
    color: var(--color-text-muted);
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* =====================================================
   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: 38px;
    letter-spacing: 0.1em;
    color: var(--color-gold-light);
}

.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(232, 165, 152, 0.06);
    border: 1px solid rgba(232, 165, 152, 0.2);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 12px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.tab-bar--auth {
    display: flex;
    border-bottom: 1px solid rgba(232, 165, 152, 0.2);
    margin-bottom: 24px;
}

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

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

.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-bg-alt);
    border: 1px solid rgba(232, 165, 152, 0.2);
    border-right: none;
    border-top-left-radius: var(--radius-sm);
    border-bottom-left-radius: var(--radius-sm);
    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(232, 165, 152, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-text-primary);
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}

.form-input-wrap .form-prefix + .form-input {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

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

.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(232, 165, 152, 0.2);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

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

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

.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(232, 165, 152, 0.15);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    margin-top: 14px;
}

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

.map-line {
    position: absolute;
    background: rgba(232, 165, 152, 0.08);
}

.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-light);
    border-radius: 50%;
    animation: pulseGold 2s infinite;
}

.map-pin-label {
    font-size: 9px;
    color: var(--color-gold-light);
    font-weight: 700;
    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(232, 165, 152, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(232, 165, 152, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(232, 165, 152, 0);
    }
}

@keyframes breathingGift {
    0% {
        transform: scale(0.95);
        filter: drop-shadow(0 0 2px rgba(232, 165, 152, 0.3));
    }
    50% {
        transform: scale(1.08);
        filter: drop-shadow(0 0 8px rgba(232, 165, 152, 0.6));
    }
    100% {
        transform: scale(0.95);
        filter: drop-shadow(0 0 2px rgba(232, 165, 152, 0.3));
    }
}

@keyframes scaleInSuccess {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =====================================================
   SVG MONOGRAM LOGO
   ===================================================== */
.ap-brand-svg {
    color: var(--color-gold-light);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.ap-brand:hover .ap-brand-svg {
    transform: rotate(8deg) scale(1.06);
}

/* =====================================================
   COFFEE LOYALTY CARD (Sadakat Programı)
   ===================================================== */
.loyalty-sec {
    padding: 24px var(--pad) 36px;
    background: var(--color-bg);
}

.loyalty-card {
    background: linear-gradient(135deg, #3E2723 0%, #2A1A17 100%);
    border: 1.5px solid rgba(232, 165, 152, 0.32);
    border-radius: var(--radius-lg);
    padding: 24px;
    color: #FFFDFB;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(62, 39, 35, 0.14);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.loyalty-card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(232, 165, 152, 0.14) 0%, transparent 70%);
    pointer-events: none;
}

.loyalty-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid rgba(232, 165, 152, 0.18);
    padding-bottom: 14px;
    z-index: 2;
}

.loyalty-card-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-serif);
    font-size: 16px;
    color: var(--color-gold-light);
    letter-spacing: 0.05em;
    font-weight: 500;
}

.loyalty-logo-svg {
    color: var(--color-gold-light);
}

.loyalty-card-tier {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: rgba(232, 165, 152, 0.15);
    border: 1px solid rgba(232, 165, 152, 0.3);
    color: var(--color-gold-light);
    padding: 3px 10px;
    border-radius: 20px;
}

.loyalty-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.loyalty-card-title {
    font-family: var(--font-serif);
    font-size: 23px;
    font-style: italic;
    color: #FFFDFB;
    font-weight: 500;
}

.loyalty-card-desc {
    font-size: 13px;
    color: #D6C5C1;
    line-height: 1.5;
}

.loyalty-stamps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.loyalty-stamp {
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1.5px dashed rgba(232, 165, 152, 0.32);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.loyalty-stamp-inner {
    width: 82%;
    height: 82%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(232, 165, 152, 0.25);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.loyalty-stamp.is-active {
    border-style: solid;
    border-color: var(--color-gold-light);
    background: rgba(232, 165, 152, 0.06);
    box-shadow: 0 0 12px rgba(232, 165, 152, 0.15);
}

.loyalty-stamp.is-active .loyalty-stamp-inner {
    background: var(--color-gold-light);
    color: #3E2723;
}

.loyalty-stamp.is-gift {
    border-style: solid;
    border-color: var(--color-gold);
    background: rgba(212, 163, 115, 0.04);
}

.loyalty-stamp.is-gift .loyalty-stamp-inner {
    color: var(--color-gold);
    animation: breathingGift 2.4s infinite ease-in-out;
}

.loyalty-card-foot {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #A3908C;
    border-top: 1.5px solid rgba(232, 165, 152, 0.12);
    padding-top: 12px;
    font-family: var(--font-sans);
    z-index: 2;
}

/* =====================================================
   INTERACTIVE RESERVATION MODAL
   ===================================================== */
.reserv-modal-panel {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -12px 40px rgba(62, 39, 35, 0.15);
}

@media (min-width: 480px) {
    .sheet-panel.reserv-modal-panel {
        bottom: 50%;
        left: 50%;
        transform: translate(-50%, 50%) scale(0.95);
        border-radius: 24px;
        border: 1px solid var(--color-border);
        max-width: 420px;
        max-height: 90vh;
        transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.25), opacity 0.4s ease;
    }
    .sheet[aria-hidden="false"] .sheet-panel.reserv-modal-panel {
        transform: translate(-50%, 50%) scale(1);
    }
}

.success-icon-wrap {
    animation: scaleInSuccess 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.form-range {
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--color-bg-alt);
    outline: none;
}
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-gold-light);
    cursor: pointer;
    border: 2px solid var(--color-surface);
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease;
}
.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* =====================================================
   CURVED BOTTOM EDITORIAL HERO (75vh Full-Width)
   ===================================================== */
.curved-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 420px;
    max-height: 640px;
    overflow: hidden;
    background: var(--color-bg-alt);
    border-bottom: 1.5px solid rgba(232, 165, 152, 0.35);
    border-radius: 0 0 50px 50px;
    box-shadow: 0 12px 30px rgba(62, 39, 35, 0.08);

    /* Fix Webkit/iOS border-radius breakout transition bug */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    transform: translate3d(0, 0, 0);
    isolation: isolate;
}

.curved-hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
}

.curved-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    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);

    /* Round children directly to prevent visual jumps during transitions */
    border-radius: 0 0 50px 50px;
}

.curved-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(62, 39, 37, 0.65) 0%, rgba(62, 39, 37, 0.15) 60%, rgba(62, 39, 37, 0.4) 100%);
}

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

/* Frosted glassmorphic banner overlay positioned lower center */
.curved-hero-overlay {
    position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    z-index: 10;
    max-width: calc(var(--container) - 40px);
    margin: 0 auto;
    background: rgba(62, 39, 35, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(232, 165, 152, 0.35);
    border-radius: 24px;
    padding: 20px 24px;
    text-align: center;
    box-shadow: var(--shadow-pop);
}

.curved-hero-eyebrow {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-gold-light);
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.curved-hero-title {
    font-family: var(--font-serif);
    font-size: 26px;
    color: #FFFDFB;
    font-style: italic;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 4px;
}

.curved-hero-subtitle {
    font-size: 12px;
    color: #E6DAD7;
    line-height: 1.5;
}

.curved-hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    gap: 8px;
}

.curved-hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.curved-hero-dot.is-active {
    width: 16px;
    border-radius: 4px;
    background: var(--color-gold-light);
}

/* =====================================================
   INSTAGRAM STORIES SECTION
   ===================================================== */
.stories-sec {
    padding: 24px 0 12px;
    background: var(--color-bg);
    overflow: hidden;
}

.stories-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 var(--pad) 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbars */
}

.stories-row::-webkit-scrollbar {
    display: none;
}

.story-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    flex-shrink: 0;
    scroll-snap-align: start;
}

.story-ring {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(135deg, #E8A598 0%, #D4A373 50%, #EF4444 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.story-bubble:active .story-ring {
    transform: scale(0.92);
}

.story-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-bg);
    background-size: cover;
    background-position: center;
}

.story-bubble.is-viewed .story-ring {
    background: rgba(232, 165, 152, 0.25);
}

.story-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-secondary);
    max-width: 72px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =====================================================
   FULLSCREEN INSTAGRAM STORY VIEWER MODAL
   ===================================================== */
.story-viewer {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    pointer-events: none;
    max-width: var(--container);
    margin: 0 auto;
}

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

.story-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: #000000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-viewer[aria-hidden="false"] .story-viewer-backdrop {
    opacity: 0.95;
}

.story-viewer-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0D0B0A;
    transform: scale(0.98);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.35s ease;
}

.story-viewer[aria-hidden="false"] .story-viewer-panel {
    transform: scale(1);
    opacity: 1;
}

.story-viewer-progress-bar {
    position: absolute;
    top: 16px;
    left: 12px;
    right: 12px;
    z-index: 220;
    height: 3px;
    display: flex;
    gap: 4px;
}

.story-progress-indicator {
    flex-grow: 1;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 2px;
    overflow: hidden;
}

.story-progress-fill {
    height: 100%;
    background: var(--color-gold-light);
    width: 0%;
}

.story-viewer-head {
    position: absolute;
    top: 28px;
    left: 12px;
    right: 12px;
    z-index: 220;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
}

.story-viewer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-gold-light);
    background-size: cover;
    background-position: center;
}

.story-viewer-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    flex-grow: 1;
}

.story-viewer-close {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: none;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

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

.story-viewer-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.story-viewer-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.story-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 230;
    transition: background 0.2s ease;
}

.story-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.story-nav-btn--prev {
    left: 16px;
}

.story-nav-btn--next {
    right: 16px;
}

@media (min-width: 480px) {
    .story-nav-btn {
        display: flex;
    }
}


/* =====================================================
   INTERACTIVE MOOD QUIZ (Moduna Göre Lezzet)
   ===================================================== */
.mood-quiz {
    padding: 44px var(--pad);
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(232, 165, 152, 0.12);
    border-bottom: 1px solid rgba(232, 165, 152, 0.12);
}

.mood-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
}

.mood-tab-btn {
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    border: 1px solid rgba(232, 165, 152, 0.22);
    border-radius: 30px;
    background: var(--color-surface);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mood-tab-btn.active {
    background: var(--color-gold-light);
    color: #FFFFFF;
    border-color: var(--color-gold-light);
    box-shadow: 0 4px 12px rgba(232, 165, 152, 0.25);
}

.mood-results {
    position: relative;
    min-height: 200px;
}

.mood-result-card {
    display: none;
    background: var(--color-surface);
    border: 1px solid rgba(232, 165, 152, 0.18);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
    align-items: center;
    gap: 16px;
}

.mood-result-card.active {
    display: flex;
    animation: fadeInUp 0.45s ease forwards;
}

.mood-res-img {
    width: 90px;
    height: 120px;
    border-radius: 60px 60px 8px 8px;
    border: 1px solid rgba(232, 165, 152, 0.22);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.mood-res-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mood-res-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-gold-light);
    text-transform: uppercase;
}

.mood-res-title {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--color-text-primary);
    font-style: italic;
    font-weight: 500;
}

.mood-res-desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.mood-res-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(232, 165, 152, 0.1);
    padding-top: 10px;
}

.mood-res-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-gold-light);
}

.mood-res-link {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-gold-light);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* =====================================================
   SIGNATURE INGREDIENTS
   ===================================================== */
.ingredients-sec {
    padding: 44px var(--pad) 36px;
    background: var(--color-bg);
}

.ingredients-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ing-card {
    background: var(--color-surface-soft);
    border: 1px solid rgba(232, 165, 152, 0.15);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.ing-card:hover {
    border-color: var(--color-gold-light);
    transform: translateY(-2px);
}

.ing-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(232, 165, 152, 0.22);
    color: var(--color-gold-light);
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.ing-title {
    font-family: var(--font-serif);
    font-size: 19px;
    color: var(--color-text-primary);
    font-weight: 500;
}

.ing-desc {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.55;
}

/* =====================================================
   CHEF'S ATELIER STORY
   ===================================================== */
.chef-story {
    padding: 44px var(--pad);
    background: var(--color-bg-alt);
    border-top: 1px solid rgba(232, 165, 152, 0.12);
    border-bottom: 1px solid rgba(232, 165, 152, 0.12);
}

.chef-story-card {
    background: var(--color-surface);
    border: 1px solid rgba(232, 165, 152, 0.22);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chef-portrait-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.chef-portrait {
    width: 160px;
    height: 160px;
    border-radius: 80px 80px 10px 10px;
    border: 1px solid rgba(232, 165, 152, 0.32);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-sm);
}

.chef-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: var(--color-text-primary);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.chef-quote-body {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.chef-quote-icon {
    color: rgba(232, 165, 152, 0.35);
}

.chef-quote-text {
    font-family: var(--font-serif);
    font-size: 17px;
    font-style: italic;
    color: var(--color-text-primary);
    line-height: 1.55;
    max-width: 320px;
}

.chef-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.chef-signature {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 15px;
    color: var(--color-gold-light);
    margin-top: -4px;
    opacity: 0.8;
}


