@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:       #F5F0E4;
  --cream-dark:  #EFE4D3;
  --beige:       #DDD2C2;
  --terracotta:  #138A7E;
  --terra-light: #1AA090;
  --terra-dark:  #0F6F66;
  --caramel:     #C8A46A;
  --brown:       #2B160F;
  --brown-mid:   #5E5147;
  --brown-light: #8B7055;
  --text:        #2B160F;
  --text-muted:  #5E5147;
  --white:       #FFFDF8;
  --shadow-sm:   0 2px 8px rgba(43,22,15,.08);
  --shadow-md:   0 6px 24px rgba(43,22,15,.12);
  --shadow-lg:   0 16px 48px rgba(43,22,15,.16);
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   32px;
  --radius-xl:   48px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { line-height: 1.2; font-family: 'Georgia', serif; }

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--brown);
  margin-bottom: .4rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 56px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(19,138,126,.35);
}
.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19,138,126,.45);
}
.btn-outline {
  border: 2px solid var(--terracotta);
  color: var(--terracotta);
  background: transparent;
}
.btn-outline:hover {
  background: var(--terracotta);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-tg {
  background: #229ed9;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(43,22,15,.2);
}
.btn-tg:hover {
  background: #1a8abf;
  transform: translateY(-2px);
}
.btn-sm {
  padding: 9px 20px;
  font-size: .9rem;
}
.btn-cart {
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: .9rem;
  font-weight: 600;
  transition: all .2s;
  width: 100%;
  justify-content: center;
}
.btn-cart:hover {
  background: var(--terra-dark);
  transform: translateY(-1px);
}
.btn-cart.added {
  background: #0F6F66;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,240,228,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.logo-house {
  flex-shrink: 0;
  display: block;
}
.logo-text-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}
.logo-name {
  font-family: 'Dancing Script', Georgia, cursive;
  font-size: 1.75rem;
  font-weight: 700;
  color: #138A7E;
  line-height: 1;
  letter-spacing: -.01em;
}
.logo-sub {
  font-size: .57rem;
  color: #138A7E;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .75;
  margin-top: 3px;
}
.logo-heart {
  align-self: flex-start;
  margin-top: 2px;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  gap: 4px;
}
.main-nav a {
  padding: 7px 14px;
  border-radius: 50px;
  font-size: .93rem;
  color: var(--brown-mid);
  transition: all .2s;
  white-space: nowrap;
}
.main-nav a:hover {
  background: var(--cream-dark);
  color: var(--terracotta);
}
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50px;
  font-size: .92rem;
  font-weight: 600;
  transition: all .25s;
  box-shadow: 0 3px 12px rgba(19,138,126,.3);
}
.cart-btn:hover {
  background: var(--terra-dark);
  transform: translateY(-1px);
}
.cart-count {
  background: var(--caramel);
  color: var(--brown);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}
.cart-icon { font-size: 1.1rem; }
.account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50px;
  font-size: .92rem;
  font-weight: 600;
  transition: all .25s;
  box-shadow: 0 3px 12px rgba(19,138,126,.3);
  text-decoration: none;
}
.account-btn:hover {
  background: var(--terra-dark);
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 60%, #E8D5C0 100%);
  padding: 56px 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(19,138,126,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  max-width: 1600px;
  padding: 0 32px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 56px;
  align-items: flex-start;
}
.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: nowrap;
  margin-bottom: 12px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--beige);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: .85rem;
  color: var(--brown-mid);
  box-shadow: var(--shadow-sm);
}
.hero-badge span { color: var(--terracotta); font-weight: 600; }
.hero-spb-badge-image { width: 280px; }
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  color: var(--brown);
  margin-bottom: 24px;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.hero h1 em {
  font-style: normal;
  color: var(--terracotta);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-icon {
  width: 32px; height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.trust-text { display: flex; flex-direction: column; gap: 1px; }
.trust-title { font-size: .88rem; font-weight: 600; color: var(--brown); line-height: 1.25; }
.trust-sub   { font-size: .72rem; color: var(--text-muted); line-height: 1.2; }

/* Hero food visual */
.hero-visual {
  position: relative;
  height: clamp(420px, calc(100vh - 140px), 720px);
  overflow: hidden;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.hero-food-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 22%, black 46%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.55) 22%, black 46%);
}

/* ===== HERO FOOD COMPOSITION ===== */
.hfc-grid {
  height: 100%;
  display: grid;
  grid-template-columns: 1.28fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.hfc-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,.38);
}
.hfc-card:hover {
  transform: scale(1.025);
  box-shadow: 0 18px 52px rgba(0,0,0,.55);
}
.hfc-sausages-card { grid-row: 1 / 3; }

.hfc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.08) 45%, transparent 100%);
  pointer-events: none;
}

.hfc-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 18px;
  z-index: 2;
}
.hfc-label-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
  margin-bottom: 2px;
}
.hfc-label-price {
  font-size: .78rem;
  color: #f5c842;
  font-weight: 600;
}

/* ─── SAUSAGES CARD ─── */
.hfc-sausages-bg {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(0deg,
      transparent 0px, transparent 14px,
      rgba(0,0,0,.7) 14px, rgba(0,0,0,.7) 16px),
    radial-gradient(ellipse at 38% 47%, rgba(215,80,12,.44) 0%, rgba(162,38,5,.18) 38%, transparent 65%),
    radial-gradient(ellipse at 74% 22%, rgba(185,52,8,.22) 0%, transparent 40%),
    linear-gradient(152deg, #1b0d05 0%, #2f1509 55%, #1b0d05 100%);
}
/* warm heat glow between grill bars */
.hfc-sausages-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg,
    rgba(230,90,15,.08) 0px, rgba(230,90,15,.08) 14px,
    transparent 14px, transparent 16px);
  pointer-events: none;
}

.hfc-sausage {
  position: absolute;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 4px 18px rgba(0,0,0,.65), inset 0 2px 6px rgba(255,155,50,.12);
}
/* grill char marks on each sausage */
.hfc-sausage::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: repeating-linear-gradient(90deg,
    transparent 0%, transparent 15%,
    rgba(8,2,0,.74) 15%, rgba(8,2,0,.74) 19%,
    transparent 19%);
}

.hfc-s1 {
  width: 88%; left: 6%; top: 12%;
  background: linear-gradient(180deg,
    #5c1800 0%, #9e3412 16%, #d85c22 36%, #ec7232 50%, #d85c22 66%, #9e3412 84%, #5c1800 100%);
  transform: rotate(-3.5deg);
}
.hfc-s2 {
  width: 82%; left: 9%; top: 33%;
  background: linear-gradient(180deg,
    #501400 0%, #8c2c0e 16%, #c44818 36%, #d86028 50%, #c44818 66%, #8c2c0e 84%, #501400 100%);
  transform: rotate(2deg);
}
.hfc-s3 {
  width: 86%; left: 7%; top: 54%;
  background: linear-gradient(180deg,
    #5a1600 0%, #963010 16%, #d05420 36%, #e46a30 50%, #d05420 66%, #963010 84%, #5a1600 100%);
  transform: rotate(-2deg);
}
.hfc-s4 {
  width: 79%; left: 10%; top: 74%;
  background: linear-gradient(180deg,
    #521200 0%, #8a2a0c 16%, #be4216 36%, #d25826 50%, #be4216 66%, #8a2a0c 84%, #521200 100%);
  transform: rotate(1.5deg);
}

.hfc-tomato {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 33% 28%, #ff7070, #cc1818, #880808);
  box-shadow: 0 2px 6px rgba(0,0,0,.55);
}
.hfc-tm1 { width: 26px; height: 26px; top: 10%; right: 10%; }
.hfc-tm2 { width: 20px; height: 20px; top: 22%; right: 6%; }
.hfc-tm3 { width: 22px; height: 22px; top: 34%; right: 13%; }

.hfc-chili-pepper {
  position: absolute;
  top: 10%; left: 8%;
  width: 42px; height: 9px;
  background: linear-gradient(90deg, #a81010, #cc2020, #dd3030, #cc2020, #a81010);
  border-radius: 50%;
  transform: rotate(-32deg);
  box-shadow: 0 2px 6px rgba(0,0,0,.45);
}
.hfc-chili-pepper::before {
  content: '';
  position: absolute; top: -6px; right: 4px;
  width: 4px; height: 8px;
  background: #2a6a10; border-radius: 50%;
  transform: rotate(22deg);
}

.hfc-herb { position: absolute; }
.hfc-h1 {
  bottom: 11%; left: 7%;
  width: 3px; height: 34px;
  background: #2e6a1a; border-radius: 50%;
  box-shadow:
    7px  -5px 0 2px #3a841e,
    13px  1px 0 2px #2e6a1a,
    5px -12px 0 1px #3a841e,
   -4px  -8px 0 2px #3a841e;
}

.hfc-steam {
  position: absolute;
  width: 3px;
  background: linear-gradient(to top, transparent, rgba(255,255,255,.22), transparent);
  border-radius: 50%;
  animation: hfcSteam 2.8s ease-in-out infinite;
}
.hfc-st1 { height: 28px; top: 5%; left: 20%; animation-delay: 0s; }
.hfc-st2 { height: 20px; top: 8%; left: 43%; animation-delay: .9s; }
.hfc-st3 { height: 24px; top: 6%; left: 63%; animation-delay: 1.7s; }
@keyframes hfcSteam {
  0%   { opacity: 0; transform: translateY(0) scaleX(1); }
  45%  { opacity: .45; transform: translateY(-14px) scaleX(1.6) skewX(4deg); }
  100% { opacity: 0; transform: translateY(-36px) scaleX(2.5) skewX(8deg); }
}

/* ─── PELMENI CARD ─── */
.hfc-pelmeni-bg {
  width: 100%; height: 100%;
  background: linear-gradient(158deg, #1e1e1e 0%, #282828 50%, #1e1e1e 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
/* wooden board underlay */
.hfc-board-shadow {
  position: absolute;
  bottom: 0; left: 5%; right: 5%; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(55,30,8,.5));
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.hfc-bowl {
  width: 152px; height: 152px;
  border-radius: 50%;
  background: radial-gradient(circle at 46% 40%, #2e2e2e 0%, #1c1c1c 65%, #101010 100%);
  border: 3px solid #3a3a3a;
  box-shadow:
    0 10px 36px rgba(0,0,0,.75),
    inset 0 -6px 16px rgba(0,0,0,.55),
    0 0 0 1px rgba(100,70,20,.15);
  position: relative;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 5px; padding: 18px;
  overflow: hidden;
}

.hfc-p {
  width: 34px; height: 22px;
  border-radius: 50% 50% 44% 44% / 62% 62% 38% 38%;
  background: linear-gradient(148deg, #f4e2bc 0%, #e4cc98 55%, #c8a870 100%);
  border-bottom: 1.5px solid rgba(150,100,40,.35);
  box-shadow: 0 2px 5px rgba(0,0,0,.45), inset 0 1px 2px rgba(255,240,175,.25);
}
.hfc-p1 { transform: rotate(-14deg) translate(2px,-2px); }
.hfc-p2 { transform: rotate(8deg); width: 30px; }
.hfc-p3 { transform: rotate(-6deg) translate(-2px,1px); }
.hfc-p4 { transform: rotate(15deg) translate(3px,0); }
.hfc-p5 { transform: rotate(-5deg); width: 28px; }
.hfc-p6 { transform: rotate(11deg); width: 26px; height: 18px; }

.hfc-dill {
  position: absolute; top: 12%; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 24px;
  background: #3d8c22; border-radius: 50%;
}
.hfc-dill::before, .hfc-dill::after {
  content: '';
  position: absolute;
  width: 12px; height: 3px;
  background: #4ea030; border-radius: 50%;
}
.hfc-dill::before { top: 4px; left: -10px; transform: rotate(-35deg); }
.hfc-dill::after  { top: 10px; left: 2px;  transform: rotate(38deg); }

.hfc-butter {
  position: absolute; bottom: 22%; right: 20%;
  width: 16px; height: 11px;
  background: linear-gradient(148deg, #f7e060, #d4aa1a);
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,.45);
}

/* ─── KHINKALI CARD ─── */
.hfc-khinkali-bg {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(88deg,
      transparent 0px, transparent 22px,
      rgba(0,0,0,.05) 22px, rgba(0,0,0,.05) 23px),
    repeating-linear-gradient(175deg,
      transparent 0px, transparent 44px,
      rgba(255,255,255,.02) 44px, rgba(255,255,255,.02) 45px),
    linear-gradient(152deg, #3d2510 0%, #2a1808 45%, #3c2408 100%);
  position: relative; overflow: hidden;
}
/* flour dust effect */
.hfc-khinkali-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 22% 78%, rgba(255,250,230,.07) 0%, transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255,250,230,.05) 0%, transparent 20%);
  pointer-events: none;
}

.hfc-kh-group {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 4px; flex-wrap: wrap; padding: 10px;
}

.hfc-kh {
  width: 50px; height: 64px;
  background: linear-gradient(180deg,
    #cbbf8c 0%, #e0d4a8 14%, #f0e6c4 38%,
    #ead8ac 62%, #cdbf8a 84%, #b8a870 100%);
  border-radius: 50% 50% 45% 45% / 5% 5% 50% 50%;
  position: relative;
  box-shadow: 0 4px 14px rgba(0,0,0,.5), inset 0 1px 3px rgba(255,240,175,.18);
}
/* twisted knot at top */
.hfc-kh::before {
  content: '';
  position: absolute; top: -7px; left: 50%;
  transform: translateX(-50%);
  width: 13px; height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle, #c8b87a 0%, #a89448 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,.45);
}
/* pleating lines */
.hfc-kh::after {
  content: '';
  position: absolute; top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 78%; height: 55%;
  border-radius: 50%;
  background: repeating-linear-gradient(180deg,
    transparent 0px, transparent 7px,
    rgba(130,100,40,.14) 7px, rgba(130,100,40,.14) 8px);
}

.hfc-kh1 { transform: rotate(-9deg) translate(-4px,-8px) scale(1.06); z-index: 2; }
.hfc-kh2 { transform: rotate(4deg) translateY(6px);                   z-index: 3; }
.hfc-kh3 { transform: rotate(-4deg) translate(5px,-5px);              z-index: 1; }
.hfc-kh4 { transform: rotate(11deg) translate(-9px,10px);             z-index: 2; width: 44px; height: 57px; }
.hfc-kh5 { transform: rotate(-7deg) translate(7px,8px);               z-index: 1; width: 42px; height: 55px; }

.hfc-st4 { height: 28px; position: absolute; top: 7%;  left: 30%; animation-delay: 0s; }
.hfc-st5 { height: 20px; position: absolute; top: 5%;  left: 53%; animation-delay: .7s; }

.hfc-h2 {
  position: absolute; bottom: 8%; right: 9%;
  width: 3px; height: 28px;
  background: #2e6a1a; border-radius: 50%;
  box-shadow: 6px -4px 0 2px #3a841e, 11px 2px 0 2px #2e6a1a;
}

/* chilli/spice scatter around khinkali */
.hfc-spice-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(200,50,10,.55);
  box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.hfc-sd1 { width: 5px; height: 5px; top: 12%; left: 14%; }
.hfc-sd2 { width: 4px; height: 4px; top: 20%; right: 12%; }
.hfc-sd3 { width: 6px; height: 6px; bottom: 14%; left: 18%; }
.hfc-sd4 { width: 4px; height: 4px; bottom: 20%; right: 16%; }

/* ─── FLOATING MANTY BADGE ─── */
.hfc-manty-badge {
  position: absolute;
  top: -18px; right: -14px;
  background: var(--white);
  border-radius: 20px;
  padding: 12px 18px 12px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  border: 2px solid var(--beige);
  animation: mantyFloat 3.2s ease-in-out infinite;
}
@keyframes mantyFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-5px) rotate(.5deg); }
}
.hfc-manty-icon { font-size: 1.9rem; }
.hfc-manty-info {}
.hfc-manty-name  { font-size: .88rem; font-weight: 700; color: var(--brown); margin-bottom: 2px; }
.hfc-manty-price { font-size: .74rem; color: var(--terracotta); font-weight: 600; }

/* ===== CATEGORIES ===== */
.categories { background: var(--white); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--terracotta);
}
.category-card.active {
  border-color: var(--terracotta);
  background: linear-gradient(135deg, #EAF5F4, #D9EFEC);
}
.cat-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(145deg, var(--cream-dark), var(--beige));
}
.cat-body { padding: 14px 16px; }
.cat-name {
  font-size: .97rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 2px;
}
.cat-count {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ===== MENU SECTION ===== */
.menu-section { background: var(--white); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.menu-cat-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}
.menu-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19,138,126,.25);
}

.menu-cat-header {
  padding: 20px 20px 14px;
}
.menu-cat-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 4px;
  line-height: 1.3;
}
.menu-cat-desc {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.menu-cat-img {
  flex: 1;
  min-height: 180px;
  overflow: hidden;
}
.menu-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.menu-cat-card:hover .menu-cat-img img {
  transform: scale(1.05);
}
.menu-cat-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: linear-gradient(145deg, var(--cream-dark), var(--beige));
}

/* ===== CATEGORY SHOW PAGE ===== */
.cat-show-hero {
  background: var(--cream-dark);
  padding: 36px 0 28px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--terracotta);
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 20px;
  transition: color .2s;
}
.back-link:hover { color: var(--terra-dark); }

/* ===== PRODUCTS GRID ===== */
.products-section { background: var(--cream); }
.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 16px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.product-img {
  height: 200px;
  background: linear-gradient(145deg, var(--cream-dark), var(--beige));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.badge-new   { background: var(--terracotta); color: var(--white); }
.badge-hit   { background: #D0521A; color: var(--white); }
.badge-sale  { background: #e74c3c; color: var(--white); }
.product-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
}
.product-desc {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex: 1;
  line-height: 1.5;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}
.product-price-block {}
.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--terracotta);
}
.product-unit {
  font-size: .75rem;
  color: var(--text-muted);
}
.kg-select {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.kg-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--beige);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown-mid);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  cursor: pointer;
  line-height: 1;
}
.kg-btn:hover {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: var(--white);
}
.kg-val {
  font-size: .88rem;
  font-weight: 700;
  color: var(--brown);
  min-width: 40px;
  text-align: center;
}

/* ===== NOVELTIES (light, green, sparkles) ===== */
.novelties-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.sparkle {
  position: absolute;
  color: var(--caramel);
  pointer-events: none;
  font-style: normal;
  animation: sparklePulse 3s ease-in-out infinite;
}
.sp1 { top: 10%;    left: 6%;   font-size: 1.3rem; animation-delay: 0s;   }
.sp2 { top: 18%;    right: 8%;  font-size: 1.6rem; animation-delay: .6s;  }
.sp3 { bottom: 18%; left: 10%;  font-size: .95rem; animation-delay: 1.1s; }
.sp4 { bottom: 12%; right: 12%; font-size: 1.1rem; animation-delay: 1.7s; }
@keyframes sparklePulse {
  0%, 100% { opacity: .2;  transform: scale(1)    rotate(0deg);  }
  50%       { opacity: .85; transform: scale(1.35) rotate(18deg); }
}

/* ===== HIT PRODUCTS (dark, fire, embers) ===== */
.hits-section {
  background:
    radial-gradient(ellipse at 20% 85%, rgba(180,55,8,.22) 0%, transparent 48%),
    radial-gradient(ellipse at 80% 15%, rgba(200,75,12,.16) 0%, transparent 42%),
    radial-gradient(ellipse at 50% 100%, rgba(230,100,20,.14) 0%, transparent 38%),
    linear-gradient(160deg, #1e0b02 0%, #2e1205 55%, #1e0b02 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hits-section .section-title    { color: var(--white); }
.hits-section .section-subtitle { color: rgba(255,255,255,.65); }
.hits-embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 92%, rgba(245,100,20,.09) 0%, transparent 22%),
    radial-gradient(circle at 88% 88%, rgba(220,80,15,.07) 0%, transparent 18%),
    radial-gradient(circle at 52% 96%, rgba(255,115,30,.06) 0%, transparent 14%);
}

/* ===== PROMO SHARED (novelties + hits) ===== */
.promo-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.promo-header .section-title    { margin-bottom: .4rem; }
.promo-header .section-subtitle { margin-bottom: 0; }
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.badge-section-new {
  background: rgba(19,138,126,.1);
  color: var(--terracotta);
  border: 1.5px solid rgba(19,138,126,.22);
}
.badge-section-hit {
  background: rgba(255,120,30,.18);
  color: #FF9040;
  border: 1.5px solid rgba(255,120,30,.35);
}
.promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.promo-grid .product-card {
  flex: 0 1 320px;
  min-width: 260px;
  max-width: 380px;
}

/* ===== HOW TO ORDER ===== */
.how-section { background: var(--cream-dark); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%;
  width: 80%; height: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--caramel));
  z-index: 0;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: all .3s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 48px; height: 48px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(19,138,126,.4);
}
.step-icon { font-size: 1.8rem; margin-bottom: 12px; }
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 8px;
}
.step-desc { font-size: .85rem; color: var(--text-muted); line-height: 1.5; }

/* ===== WHY US — PREMIUM REDESIGN ===== */
.why-section {
  background:
    radial-gradient(ellipse at 12% 60%, rgba(200,164,106,.09) 0%, transparent 48%),
    radial-gradient(ellipse at 88% 25%, rgba(19,138,126,.06) 0%, transparent 44%),
    linear-gradient(180deg, var(--white) 0%, #F9F4EC 50%, var(--cream) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.why-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--beige), transparent);
  pointer-events: none;
}
.why-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse, rgba(200,164,106,.06) 0%, transparent 68%);
  pointer-events: none;
}
.why-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
  position: relative;
}
.why-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta);
  background: rgba(19,138,126,.07);
  border: 1px solid rgba(19,138,126,.18);
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.why-center .section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -.025em;
  margin-bottom: 14px;
}
.why-center .section-subtitle {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 28px 36px;
  text-align: center;
  position: relative;
  box-shadow:
    0 1px 3px rgba(43,22,15,.05),
    0 6px 24px rgba(43,22,15,.08),
    inset 0 1px 0 rgba(255,255,255,.95);
  border: 1px solid rgba(221,210,194,.55);
  transition: all .38s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,164,106,.14) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .38s ease;
  pointer-events: none;
}
.why-card::after {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--caramel), transparent);
  border-radius: 0 0 50% 50%;
  opacity: 0;
  transition: opacity .38s ease;
  pointer-events: none;
}
.why-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 2px 8px rgba(43,22,15,.06),
    0 24px 64px rgba(43,22,15,.14),
    0 0 0 1px rgba(200,164,106,.22);
  border-color: rgba(200,164,106,.38);
}
.why-card:hover::before { opacity: 1; }
.why-card:hover::after  { opacity: 1; }
.why-card-icon-wrap {
  width: 150px; height: 150px;
  padding: 4px;
  border-radius: 30px;
  background: linear-gradient(145deg, var(--cream) 0%, var(--cream-dark) 100%);
  border: 1.5px solid rgba(221,210,194,.9);
  box-shadow:
    0 4px 18px rgba(43,22,15,.1),
    inset 0 1px 0 rgba(255,255,255,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  position: relative;
  transition: all .38s cubic-bezier(.22,1,.36,1);
  flex-shrink: 0;
}
.why-card:hover .why-card-icon-wrap {
  transform: scale(1.09) translateY(-3px);
  box-shadow:
    0 10px 32px rgba(43,22,15,.14),
    0 0 0 5px rgba(200,164,106,.14),
    inset 0 1px 0 rgba(255,255,255,.95);
  border-color: rgba(200,164,106,.45);
}
.why-card-icon-wrap img {
  width: 234px;
  height: 234px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(43,22,15,.13));
  transition: filter .38s ease, transform .38s ease;
}
.why-card:hover .why-card-icon-wrap img {
  filter: drop-shadow(0 4px 14px rgba(43,22,15,.2));
  transform: scale(1.04);
}
.why-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.why-card-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--caramel);
  margin: 14px auto;
  opacity: .65;
  transition: opacity .38s, transform .38s;
}
.why-card:hover .why-card-dot {
  opacity: 1;
  transform: scale(1.5);
}
.why-card-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== EXTRA STORE ===== */
.extra-section { background: var(--cream); }
.extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.extra-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.extra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.extra-img {
  height: 150px;
  background: linear-gradient(145deg, var(--cream-dark), var(--beige));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
}
.extra-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.extra-name { font-size: .95rem; font-weight: 700; color: var(--brown); margin-bottom: 4px; }
.extra-desc { font-size: .78rem; color: var(--text-muted); flex: 1; margin-bottom: 10px; }
.extra-price { font-size: 1rem; font-weight: 700; color: var(--terracotta); margin-bottom: 10px; }

/* ===== ORDER FORMATS ===== */
.formats-section { background: var(--cream-dark); }
.formats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.format-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all .3s;
  border-top: 4px solid var(--terracotta);
  position: relative;
  overflow: hidden;
}
.format-card::before {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(19,138,126,.06) 0%, transparent 70%);
}
.format-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.format-icon { font-size: 2.5rem; margin-bottom: 16px; }
.format-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 12px;
}
.format-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--brown);
  color: rgba(255,255,255,.8);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-house { flex-shrink: 0; }
.footer-logo-text  { display: flex; flex-direction: column; gap: 2px; }
.footer-logo-name {
  font-family: 'Dancing Script', Georgia, cursive;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--caramel);
  line-height: 1;
}
.footer-logo-sub {
  font-size: .58rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.footer-desc {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  max-width: 260px;
}
.footer-col-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--caramel);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--caramel); }
.footer-contacts a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-contacts a:hover { color: var(--caramel); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,22,15,.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 460px;
  background: var(--cream);
  z-index: 201;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(43,22,15,.2);
}
.cart-drawer.open { transform: translateX(0); }
.cart-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--beige);
  background: var(--white);
}
.cart-title { font-size: 1.3rem; font-weight: 700; color: var(--brown); }
.cart-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brown-mid);
  transition: all .2s;
  cursor: pointer;
}
.cart-close:hover { background: var(--beige); }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: var(--text-muted);
  font-size: .95rem;
}
.cart-empty-icon { font-size: 3.5rem; }
.cart-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}
.cart-item-img {
  width: 64px; height: 64px;
  border-radius: 10px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: .92rem; font-weight: 700; color: var(--brown); margin-bottom: 2px; }
.cart-item-weight { font-size: .78rem; color: var(--text-muted); margin-bottom: 6px; }
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  color: var(--brown);
  transition: all .15s;
  cursor: pointer;
  background: var(--white);
}
.qty-btn:hover { border-color: var(--terracotta); background: var(--terracotta); color: var(--white); }
.qty-val { font-size: .9rem; font-weight: 700; color: var(--brown); min-width: 20px; text-align: center; }
.cart-item-price { font-size: 1rem; font-weight: 700; color: var(--terracotta); }
.cart-item-delete {
  color: var(--text-muted);
  font-size: .85rem;
  cursor: pointer;
  transition: color .2s;
  align-self: flex-start;
}
.cart-item-delete:hover { color: #e74c3c; }
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--beige);
  background: var(--white);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cart-total-label { font-size: 1rem; color: var(--text-muted); }
.cart-total-val { font-size: 1.4rem; font-weight: 700; color: var(--brown); }
.btn-checkout {
  width: 100%;
  padding: 14px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(19,138,126,.35);
  display: block;
}
.btn-checkout:hover {
  background: var(--terra-dark);
  transform: translateY(-1px);
}

/* ===== CHECKOUT MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43,22,15,.6);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--cream);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(.95) translateY(20px);
  transition: all .3s;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header {
  padding: 28px 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-title { font-size: 1.4rem; font-weight: 700; color: var(--brown); }
.modal-body { padding: 24px 32px 32px; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--brown-mid);
  margin-bottom: 6px;
}
.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--beige);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  font-family: inherit;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.form-textarea { resize: vertical; min-height: 80px; }
.order-summary {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}
.order-summary-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--brown-mid);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 14px;
}
.order-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.order-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown);
  border-top: 1px solid var(--beige);
  padding-top: 10px;
  margin-top: 4px;
}
.order-note {
  background: rgba(19,138,126,.08);
  border: 1px solid rgba(19,138,126,.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .83rem;
  color: #0F6F66;
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
}

/* ===== TOAST ===== */
.toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--brown);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: .88rem;
  box-shadow: var(--shadow-lg);
  animation: toastIn .3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 280px;
}
.toast.success { background: #0F6F66; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero             { min-height: 0; display: block; padding: 60px 0; }
  .hero-inner       { grid-template-columns: 1fr; }
  .hero-visual      { display: none; }
  .why-grid         { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 720px; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 32px; }
  .formats-grid     { grid-template-columns: 1fr; max-width: 480px; }
  .steps-grid       { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .main-nav         { display: none; }
  .hero .container  { padding: 0 24px; max-width: 100%; }
  .categories-grid  { grid-template-columns: repeat(3, 1fr); }
  .products-grid    { grid-template-columns: 1fr 1fr; }
  .extra-grid       { grid-template-columns: repeat(3, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid      { grid-template-columns: 1fr; gap: 24px; }
  .cart-drawer      { width: 100%; }
  .modal-grid       { grid-template-columns: 1fr; }
  section           { padding: 40px 0; }
}
@media (max-width: 480px) {
  .categories-grid  { grid-template-columns: repeat(2, 1fr); }
  .products-grid    { grid-template-columns: 1fr; }
  .promo-grid .product-card { flex: 1 1 100%; min-width: 0; max-width: 100%; }
  .extra-grid       { grid-template-columns: repeat(2, 1fr); }

  .steps-grid       { grid-template-columns: 1fr; }
  .why-grid         { grid-template-columns: 1fr; max-width: 400px; }
  .why-section      { padding: 64px 0; }
  .why-center       { margin-bottom: 40px; }
  .hero-actions     { flex-direction: column; }
  .hero-badges-row  { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-spb-badge-image { width: 230px; }

  .account-login-card { padding: 32px 20px; }
  .order-card         { padding: 16px; }
  .order-card__header { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ===== CUSTOMER ACCOUNT ===== */
.account-page {
  min-height: 60vh;
  padding: 48px 0 80px;
}

.account-login-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 48px 40px;
}
.account-login-card__title {
  font-size: 1.8rem;
  color: var(--brown);
  margin-bottom: 8px;
}
.account-login-card__hint {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: .95rem;
}
.account-login-card__note {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: .85rem;
  text-align: center;
}

.login-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.flash--alert {
  background: #fff0f0;
  border: 1px solid #f5c6cb;
  color: #842029;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: .92rem;
}

.account-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}
.account-header__name {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--brown);
}
.account-header__logout {
  font-size: .9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--beige);
  transition: color .2s;
}
.account-header__logout:hover { color: var(--terracotta); }

.cashback-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--terracotta), var(--terra-dark));
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.cashback-card__label {
  font-size: .85rem;
  opacity: .85;
  margin-bottom: 4px;
}
.cashback-card__balance {
  font-size: 2rem;
  font-weight: 700;
  font-family: 'Georgia', serif;
}
.cashback-card__expires {
  font-size: .85rem;
  opacity: .75;
}

.account-orders__title {
  font-size: 1.4rem;
  color: var(--brown);
  margin-bottom: 20px;
}
.account-orders__empty {
  color: var(--text-muted);
  font-size: .95rem;
}

.order-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.order-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.order-card__number { font-weight: 600; color: var(--brown); }
.order-card__date   { margin-left: auto; color: var(--text-muted); font-size: .88rem; }

.order-card__status {
  font-size: .8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
}
.order-card__status--new         { background: #e8f4fd; color: #1a6fa8; }
.order-card__status--in_progress { background: #fff3cd; color: #856404; }
.order-card__status--completed   { background: #d1e7dd; color: #0a5231; }
.order-card__status--canceled    { background: #f8d7da; color: #842029; }

.order-card__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: .92rem;
  color: var(--text-muted);
}
.order-card__item:last-child { border-bottom: none; }

.order-card__footer {
  margin-top: 14px;
  text-align: right;
  font-size: .95rem;
  color: var(--brown-mid);
}
.order-card__footer strong { color: var(--brown); }

.account-summary {
  margin-top: 24px;
  text-align: right;
  color: var(--text-muted);
  font-size: .95rem;
}
.account-summary strong { color: var(--brown); }

/* =======================================================================
   VISUAL REFINEMENTS — DETAIL POLISH
   ======================================================================= */

/* ---- Header & Hero: reverted to original ---- */

/* ---- Section heading: small ornament under title ---- */
.menu-section .section-title,
.products-section .section-title {
  position: relative;
}
.menu-section .section-title::after,
.products-section .section-title::after {
  content: '';
  display: block;
  width: 56px; height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--caramel) 0%, var(--terracotta) 60%, transparent 100%);
  border-radius: 3px;
}
.how-section .section-title {
  position: relative;
}
.how-section .section-title::after {
  content: '';
  display: block;
  width: 64px; height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--caramel), var(--terracotta), var(--caramel), transparent);
  border-radius: 3px;
}

/* ---- Menu cards: hover arrow reveal + corner shine ---- */
.menu-cat-header {
  position: relative;
}
.menu-cat-header::after {
  content: '→';
  position: absolute;
  top: 18px; right: 18px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-6px) scale(.8);
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 4px 12px rgba(19,138,126,.35);
  pointer-events: none;
}
.menu-cat-card:hover .menu-cat-header::after {
  opacity: 1;
  transform: translateX(0) scale(1);
}
.menu-cat-img {
  position: relative;
}
.menu-cat-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(43,22,15,.18) 100%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.menu-cat-card:hover .menu-cat-img::after { opacity: 1; }
.menu-cat-name {
  padding-right: 40px;
}

/* ---- Product cards: shine sweep + better badge ---- */
.product-card {
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255,255,255,.22) 50%,
    transparent 70%);
  transform: skewX(-18deg);
  transition: left .8s ease;
  pointer-events: none;
  z-index: 2;
}
.product-card:hover::before { left: 130%; }
.product-badge {
  top: auto;
  left: auto;
  bottom: 12px;
  right: 12px;
  box-shadow: 0 2px 8px rgba(43,22,15,.18);
  backdrop-filter: blur(2px);
  overflow: hidden;
}
.product-badge::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,.28), transparent);
  border-radius: 50px 50px 0 0;
  pointer-events: none;
}
.product-price {
  letter-spacing: -.01em;
}
.product-price-block {
  position: relative;
  padding-left: 12px;
}
.product-price-block::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--caramel), var(--terracotta));
}
.btn-cart {
  position: relative;
  overflow: hidden;
}
.btn-cart::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%),
    rgba(255,255,255,.25) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.btn-cart:hover::after { opacity: 1; }
.kg-btn {
  transition: all .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
}
.kg-btn:active { transform: scale(.88); }

/* ---- How-to-order: dashed connector + bobbing icons + ring on number ---- */
.steps-grid::before {
  background: none;
  border-top: 2px dashed rgba(19,138,126,.35);
  height: 0;
}
.step-card {
  overflow: hidden;
}
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--caramel));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.step-card:hover::before { transform: scaleX(1); }
.step-num {
  position: relative;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.step-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(19,138,126,.35);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .35s ease, transform .35s ease;
}
.step-card:hover .step-num {
  transform: scale(1.06);
}
.step-card:hover .step-num::after {
  opacity: 1;
  transform: scale(1);
  animation: stepRingSpin 8s linear infinite;
}
@keyframes stepRingSpin {
  to { transform: rotate(360deg); }
}
.step-icon {
  display: inline-block;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.step-card:hover .step-icon {
  transform: translateY(-4px) rotate(-6deg);
}

/* ---- Hits: floating warm spark above title ---- */
.hits-section .promo-header {
  position: relative;
}
.hits-section .promo-header::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,140,40,.6), transparent);
  border-radius: 2px;
}
.hits-section .product-card {
  background: #fff8ef;
}
.hits-section .product-card::before {
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255,200,120,.35) 50%,
    transparent 70%);
}

/* ---- Novelties: extra sparkle accents on title ---- */
.novelties-section .promo-header {
  position: relative;
}
.novelties-section .promo-header::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  width: 80px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(19,138,126,.5), transparent);
  border-radius: 2px;
}

/* ---- Why section: connecting hair-line accent between cards ---- */
.why-card-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg,
    rgba(200,164,106,.0) 0%,
    rgba(200,164,106,.45) 50%,
    rgba(19,138,126,.0) 100%);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: -1;
  filter: blur(8px);
}
.why-card:hover .why-card-icon-wrap::before { opacity: 1; }

/* ---- Footer: decorative scalloped top edge ---- */
.site-footer {
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background:
    radial-gradient(circle at 14px 0, var(--cream) 0 10px, transparent 10.5px) 0 0 / 28px 14px repeat-x;
  pointer-events: none;
}
.footer-col a,
.footer-contacts a {
  position: relative;
  display: inline-block;
  transition: color .2s, transform .2s, padding-left .25s ease;
}
.footer-col a:hover,
.footer-contacts a:hover {
  transform: translateX(2px);
}
.footer-col a::before {
  content: '';
  position: absolute;
  left: -10px; top: 50%;
  width: 0; height: 1px;
  background: var(--caramel);
  transform: translateY(-50%);
  transition: width .25s ease;
}
.footer-col a:hover::before { width: 6px; }

.footer-logo-name {
  position: relative;
}
.footer-logo-name::after {
  content: '';
  display: block;
  width: 38px; height: 2px;
  margin-top: 4px;
  background: linear-gradient(90deg, var(--caramel), transparent);
  border-radius: 2px;
}

/* ---- Section dividers: soft layered transition (hero already has dots) ---- */
.menu-section,
.products-section,
.how-section {
  position: relative;
}
.menu-section + .products-section::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--beige), transparent);
}

/* ---- Mobile fallbacks ---- */
@media (max-width: 1024px) {
  /* hero refinements removed; no overrides needed */
}
@media (max-width: 768px) {
  .menu-cat-header::after { opacity: 1; transform: none; }
  .step-card:hover .step-num::after { animation: none; }
}

/* ===== THANK-YOU PAGE ===== */
.thanks-section {
  padding: 72px 0;
  background:
    radial-gradient(ellipse at top, rgba(19,138,126,.06), transparent 60%),
    var(--cream);
}

.thanks-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.thanks-emoji {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 16px;
}

.thanks-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--brown);
  margin-bottom: 12px;
}

.thanks-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

.thanks-order {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 50px;
  background: var(--cream-dark);
  margin-bottom: 28px;
}

.thanks-order__label {
  font-size: .85rem;
  color: var(--text-muted);
}

.thanks-order__num {
  font-weight: 700;
  color: var(--brown);
  font-size: 1.05rem;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
  max-width: 980px;
  margin: 56px auto 0;
  text-align: center;
}

.partners-title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--brown);
  margin-bottom: 8px;
}

.partners-sub {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 22px 18px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43,22,15,.05);
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--terra-light);
}

.partner-card__logo {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background: var(--cream);
}

.partner-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card__body { display: flex; flex-direction: column; gap: 4px; }

.partner-card__name {
  font-weight: 700;
  color: var(--brown);
  font-size: 1.02rem;
}

.partner-card__desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 600px) {
  .thanks-card { padding: 36px 22px; }
  .partners-section { margin-top: 40px; }
}
