/* ─────────────────────────────────────────────
   LOCCAKE — Boutique Russian Patisserie Theme
   Mobile-first · Ivory · Espresso · Gold
───────────────────────────────────────────── */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
	font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	color: hsl(var(--foreground));
	background: hsl(var(--background));
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overscroll-behavior-y: contain;
	line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, .font-serif, .lc-display {
	font-family: 'Cormorant Garamond', 'Times New Roman', serif;
	letter-spacing: -0.01em;
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 0.4em;
}
.lc-display { font-size: clamp(2rem, 6vw, 2.8rem); }
.lc-lead { color: hsl(var(--muted-foreground)); font-size: 1.02rem; max-width: 56ch; }

.container-app { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 20px; }

.safe-top { padding-top: env(safe-area-inset-top); }
.safe-area { padding-bottom: env(safe-area-inset-bottom); }

.gold-divider { height: 1px; background: var(--gradient-gold); margin: 16px 0; }

/* Chips & badges */
.chip {
	display: inline-flex; align-items: center; gap: 4px;
	border: 1px solid hsl(var(--border));
	background: hsl(var(--secondary) / 0.6);
	color: hsl(var(--muted-foreground));
	border-radius: 999px; padding: 4px 12px;
	font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
}
.chip-gold {
	display: inline-flex; align-items: center; gap: 4px;
	color: hsl(var(--primary));
	background: hsl(var(--gold) / 0.15);
	border: 1px solid hsl(var(--gold) / 0.4);
	border-radius: 999px; padding: 4px 12px;
	font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
}
.eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: 0.32em; color: hsl(var(--muted-foreground)); }

/* Buttons */
.btn-espresso, .btn-ghost-line {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border-radius: 999px; padding: 12px 22px; font-size: 14px; font-weight: 500;
	transition: all 200ms ease; cursor: pointer; border: 1px solid transparent;
}
.btn-espresso {
	background: var(--gradient-espresso);
	color: hsl(var(--primary-foreground));
	box-shadow: var(--shadow-soft);
}
.btn-espresso:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.btn-ghost-line {
	border-color: hsl(var(--foreground) / 0.2);
	background: transparent;
	color: hsl(var(--foreground));
}
.btn-ghost-line:hover { background: hsl(var(--foreground)); color: hsl(var(--background)); }

/* Top bar */
.lc-topbar {
	position: sticky; top: 0; z-index: 50;
	background: hsl(var(--background) / 0.92);
	backdrop-filter: blur(12px);
}
.lc-topbar__row {
	display: flex; align-items: center; justify-content: space-between;
	padding: 14px 20px;
}
.lc-brand { display: flex; align-items: center; gap: 10px; }
.lc-brand__mark {
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--gradient-espresso); color: hsl(var(--primary-foreground));
	display: grid; place-items: center;
	font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 700;
	box-shadow: var(--shadow-gold);
}
.lc-brand__name {
	font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; letter-spacing: 0.08em; font-weight: 600;
}
.lc-lang { display: flex; gap: 4px; }
.lc-lang__pill {
	padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 600;
	color: hsl(var(--muted-foreground)); letter-spacing: 0.08em;
}
.lc-lang__pill.is-active {
	background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
}

/* Hero */
.lc-hero {
	position: relative; overflow: hidden;
	min-height: 70vh; display: flex; align-items: flex-end;
	margin-bottom: 24px;
}
.lc-hero__bg {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	transform: scale(1.05);
}
.lc-hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, hsl(36 38% 96% / 0.2) 0%, hsl(24 35% 12% / 0.7) 100%);
}
.lc-hero__inner {
	position: relative; padding: 60px 20px 40px; color: hsl(var(--primary-foreground));
}
.lc-hero__inner .eyebrow { color: hsl(var(--gold-soft)); }
.lc-hero__title { color: hsl(36 42% 97%); margin-top: 12px; }
.lc-hero__sub { color: hsl(36 38% 90% / 0.9); margin: 12px 0 24px; max-width: 38ch; }
.lc-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.lc-hero__cta .btn-ghost-line { color: hsl(36 42% 97%); border-color: hsl(36 42% 97% / 0.3); }
.lc-hero__cta .btn-ghost-line:hover { background: hsl(36 42% 97%); color: hsl(var(--foreground)); }

/* Section */
.lc-section { padding: 32px 0; }
.lc-section__head { text-align: center; margin-bottom: 18px; }
.lc-section__divider { max-width: 120px; margin: 10px auto; }
.lc-section__title { font-size: 1.8rem; }
.lc-section__cta { text-align: center; margin-top: 18px; }

/* Scroll row */
.lc-scroll-row {
	display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
	gap: 14px; overflow-x: auto; padding: 4px 4px 16px;
	scroll-snap-type: x mandatory; scrollbar-width: none;
}
.lc-scroll-row::-webkit-scrollbar { display: none; }
.lc-scroll-row > * { scroll-snap-align: start; }

/* Grid */
.lc-grid {
	display: grid; gap: 16px;
	grid-template-columns: repeat(2, 1fr);
	padding: 4px 0;
}
@media (min-width: 720px) {
	.lc-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Product card */
.lc-card {
	background: hsl(var(--card));
	border-radius: 18px; overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: transform var(--transition-silk), box-shadow var(--transition-silk);
}
.lc-card:hover { transform: translateY(-3px); }
.lc-card__link { display: block; }
.lc-card__img {
	aspect-ratio: 4 / 5;
	background-size: cover; background-position: center;
	position: relative;
}
.lc-card__badge { position: absolute; top: 10px; left: 10px; backdrop-filter: blur(6px); }
.lc-card__body { padding: 12px 14px 16px; }
.lc-card__title { font-size: 1.15rem; margin: 0 0 6px; }
.lc-card__meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0; font-size: 13px; }
.lc-card__price { font-weight: 600; color: hsl(var(--primary)); }

/* Campaign card */
.lc-scroll-row--campaigns { grid-auto-columns: 82%; }
.lc-campaign-card {
	background: hsl(var(--card));
	border-radius: 18px; overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: transform var(--transition-silk), box-shadow var(--transition-silk);
}
.lc-campaign-card:hover { transform: translateY(-3px); }
.lc-campaign-card__link, .lc-campaign-card__inner { display: block; color: inherit; }
.lc-campaign-card__img {
	aspect-ratio: 16 / 10;
	background-size: cover; background-position: center;
}
.lc-campaign-card__body { padding: 14px 16px 18px; }
.lc-campaign-card__date {
	display: block; font-size: 11px; text-transform: uppercase;
	letter-spacing: 0.12em; color: hsl(var(--muted-foreground));
	margin-bottom: 6px;
}
.lc-campaign-card__title { font-size: 1.2rem; margin: 0 0 8px; }
.lc-campaign-card__desc {
	margin: 0 0 12px; font-size: 14px; line-height: 1.5;
	color: hsl(var(--muted-foreground));
}
.lc-campaign-card__cta { margin-top: 4px; }

/* Category card */
.lc-cat-card {
	display: block; border-radius: 18px; overflow: hidden;
	background: hsl(var(--card)); box-shadow: var(--shadow-soft);
	transition: transform var(--transition-silk);
}
.lc-cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.lc-cat-card__img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.lc-cat-card__body { padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lc-cat-card__title { font-size: 1.1rem; margin: 0; }

/* Cafe grid */
.lc-cafe-grid {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; border-radius: 18px; overflow: hidden;
}
.lc-cafe-grid__tile { aspect-ratio: 1 / 1; background-size: cover; background-position: center; }
.lc-cafe-grid--lg .lc-cafe-grid__tile { aspect-ratio: 4 / 3; }

.lc-cafe-hero {
	aspect-ratio: 16 / 10; border-radius: 18px; background-size: cover; background-position: center;
	box-shadow: var(--shadow-card); margin-bottom: 20px;
}
.lc-cafe-info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }

/* Page */
.lc-page { padding: 28px 20px 40px; }
.lc-page .lc-display { margin-top: 6px; }
.lc-back { font-size: 13px; color: hsl(var(--muted-foreground)); display: inline-block; margin-bottom: 14px; }
.lc-empty { text-align: center; color: hsl(var(--muted-foreground)); padding: 30px 0; }

.lc-page--daily .lc-section--daily:first-of-type { padding-top: 8px; }
.lc-page--daily .lc-section--daily:last-of-type { padding-bottom: 8px; }

/* Product detail */
.lc-product__img { aspect-ratio: 4 / 5; background-size: cover; background-position: center; border-radius: 18px; box-shadow: var(--shadow-card); margin-bottom: 18px; }
.lc-product__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.lc-product__price { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: hsl(var(--primary)); }
.lc-product__desc { color: hsl(var(--muted-foreground)); margin: 14px 0 22px; }
.lc-product__cta { display: flex; gap: 10px; }

/* Order wizard */
.lc-order { background: hsl(var(--card)); padding: 22px; border-radius: 18px; box-shadow: var(--shadow-card); margin-top: 20px; }
.lc-order__step h3 { font-size: 1.4rem; margin-bottom: 14px; }
.lc-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-chip-pick { cursor: pointer; }
.lc-chip-pick input { display: none; }
.lc-chip-pick span {
	display: inline-block; padding: 8px 14px;
	border: 1px solid hsl(var(--border)); border-radius: 999px;
	font-size: 13px; transition: all 200ms ease;
}
.lc-chip-pick input:checked + span {
	background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); border-color: hsl(var(--primary));
}
.lc-input {
	width: 100%; padding: 12px 14px; border-radius: 12px;
	border: 1px solid hsl(var(--border)); background: hsl(var(--background));
	font-size: 14px;
}
.lc-input:focus { outline: 2px solid hsl(var(--gold) / 0.5); outline-offset: 2px; }
.lc-order__nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.lc-order__summary { background: hsl(var(--muted)); border-radius: 12px; padding: 14px; font-size: 14px; white-space: pre-wrap; }

/* Bottom nav */
.lc-bottomnav {
	position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
	display: grid; grid-template-columns: repeat(5, 1fr);
	background: hsl(var(--background) / 0.95);
	backdrop-filter: blur(14px);
	border-top: 1px solid hsl(var(--border));
	padding-bottom: env(safe-area-inset-bottom);
}
.lc-bottomnav__item {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 10px 4px 8px; font-size: 10px; color: hsl(var(--muted-foreground));
	text-transform: uppercase; letter-spacing: 0.1em;
	transition: color 200ms ease;
}
.lc-bottomnav__item.is-active { color: hsl(var(--primary)); }
.lc-bottomnav__icon {
	width: 22px; height: 22px;
	background-color: currentColor;
	-webkit-mask-position: center; mask-position: center;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-size: contain; mask-size: contain;
}
.lc-bottomnav__icon[data-icon="home"] { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><path d='M3 11l9-8 9 8'/><path d='M5 9v12h14V9'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><path d='M3 11l9-8 9 8'/><path d='M5 9v12h14V9'/></svg>"); }
.lc-bottomnav__icon[data-icon="sun"] { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><circle cx='12' cy='12' r='4'/><path d='M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M5 19l2-2M17 7l2-2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><circle cx='12' cy='12' r='4'/><path d='M12 2v3M12 19v3M2 12h3M19 12h3M5 5l2 2M17 17l2 2M5 19l2-2M17 7l2-2'/></svg>"); }
.lc-bottomnav__icon[data-icon="grid"] { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><rect x='3' y='3' width='8' height='8'/><rect x='13' y='3' width='8' height='8'/><rect x='3' y='13' width='8' height='8'/><rect x='13' y='13' width='8' height='8'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><rect x='3' y='3' width='8' height='8'/><rect x='13' y='3' width='8' height='8'/><rect x='3' y='13' width='8' height='8'/><rect x='13' y='13' width='8' height='8'/></svg>"); }
.lc-bottomnav__icon[data-icon="plus"] { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><circle cx='12' cy='12' r='9'/><path d='M12 8v8M8 12h8'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><circle cx='12' cy='12' r='9'/><path d='M12 8v8M8 12h8'/></svg>"); }
.lc-bottomnav__icon[data-icon="cup"] { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><path d='M5 8h12v6a5 5 0 0 1-5 5H10a5 5 0 0 1-5-5V8z'/><path d='M17 10h2a2 2 0 0 1 0 4h-2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><path d='M5 8h12v6a5 5 0 0 1-5 5H10a5 5 0 0 1-5-5V8z'/><path d='M17 10h2a2 2 0 0 1 0 4h-2'/></svg>"); }

/* Footer */
.lc-footer { padding: 30px 0 110px; text-align: center; color: hsl(var(--muted-foreground)); font-size: 12px; }
.lc-footer__brand { font-family: 'Cormorant Garamond', serif; letter-spacing: 0.18em; font-size: 14px; color: hsl(var(--primary)); }
.lc-footer__meta { margin: 6px 0; }
.lc-footer__copy { margin: 4px 0; opacity: 0.6; }

.lc-main { min-height: 60vh; padding-bottom: 90px; }

/* Animations */
@keyframes drift-up { 0% { opacity: 0; transform: translateY(20px);} 100%{ opacity: 1; transform: translateY(0);} }
.animate-drift-up { animation: drift-up 0.7s cubic-bezier(0.22,1,0.36,1) both; }
.animate-drift-up:nth-child(2) { animation-delay: 0.12s; }
.animate-drift-up:nth-child(3) { animation-delay: 0.24s; }
