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

:root {
  --espresso: #1a0f0d;
  --espresso-2: #271714;
  --ivory: #faf5ef;
  --surface: #ffffff;
  --surface-warm: #f5ece2;
  --ink: #1f1310;
  --muted: #6e5c55;
  --gold: #d9a959;
  --gold-light: #f4d69c;
  --rose: #c44263;
  --rose-dark: #9e2f4c;
  --border: #e9dcd0;
  --success: #1f8a5b;
  --danger: #cc3b3b;
  --shadow-sm: 0 8px 24px rgba(26, 15, 13, 0.06);
  --shadow-lg: 0 24px 60px rgba(26, 15, 13, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Dark Luxury Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(26, 15, 13, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 169, 89, 0.18);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #a6742b 100%);
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--espresso);
  box-shadow: 0 6px 20px rgba(217, 169, 89, 0.35);
}

.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--gold-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--espresso);
  box-shadow: 0 10px 28px rgba(217, 169, 89, 0.32);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(217, 169, 89, 0.45);
}

.btn-primary {
  background: linear-gradient(135deg, var(--rose) 0%, #d95677 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(196, 66, 99, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--rose-dark) 0%, var(--rose) 100%);
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(244, 214, 156, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(244, 214, 156, 0.16);
  border-color: var(--gold-light);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-danger {
  background: #fdecec;
  color: var(--danger);
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}

/* Full-Bleed Editorial Hero */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-color: var(--espresso);
  background-image:
    linear-gradient(90deg, rgba(26, 15, 13, 0.96) 0%, rgba(26, 15, 13, 0.84) 44%, rgba(26, 15, 13, 0.18) 100%),
    url('/static/hero-cake.jpg');
  background-size: cover;
  background-position: right center;
  color: #fff;
  padding: 72px 0 80px;
  overflow: hidden;
}

.hero-content {
  max-width: 610px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(244, 214, 156, 0.35);
  background: rgba(244, 214, 156, 0.09);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.hero-lead {
  color: rgba(255, 245, 238, 0.8);
  font-size: 1.06rem;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 214, 156, 0.2);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
}

.hero-meta-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}

.hero-meta-lbl {
  font-size: 0.8rem;
  color: rgba(255, 245, 238, 0.65);
}

/* Animated Marquee Ribbon */
.marquee-bar {
  background: linear-gradient(90deg, #b8873c, #e6be77, #b8873c);
  color: var(--espresso);
  overflow: hidden;
  padding: 13px 0;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.marquee-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Catalog Section */
.section {
  padding: 76px 0;
}

.section-header-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 38px;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--espresso);
  line-height: 1.12;
  margin-bottom: 10px;
}

.section-sub {
  color: var(--muted);
  font-size: 0.98rem;
}

.filter-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 36px;
}

.search-input {
  flex: 1;
  min-width: 230px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--ivory);
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: all 0.2s;
}

.search-input:focus {
  border-color: var(--gold);
  background: #fff;
}

.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.pill.active,
.pill:hover {
  background: var(--espresso);
  color: var(--gold-light);
  border-color: var(--espresso);
}

/* Luxury Cake Cards */
.cakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.cake-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cake-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.cake-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #2b1915, #472b24);
  overflow: hidden;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.cake-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.cake-card:hover .cake-img-wrap img {
  transform: scale(1.08);
}

.cake-overlay-cta {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 15, 13, 0.78) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.cake-card:hover .cake-overlay-cta {
  opacity: 1;
}

.cake-cat-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(26, 15, 13, 0.76);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cake-weight-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--espresso);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.cake-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cake-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--espresso);
  margin-bottom: 8px;
  line-height: 1.15;
  cursor: pointer;
}

.cake-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cake-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.cake-price {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--rose);
}

/* Custom Order Dark Velvet Banner */
.bespoke-banner {
  background: radial-gradient(circle at 85% 20%, #3d211c 0%, var(--espresso) 68%);
  border-radius: 30px;
  padding: 54px 48px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(217, 169, 89, 0.3);
  box-shadow: var(--shadow-lg);
}

.bespoke-banner h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 10px;
}

.bespoke-banner p {
  color: rgba(255, 245, 238, 0.78);
  max-width: 560px;
}

/* Reviews & FAQ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.94rem;
  color: var(--ink);
  margin-bottom: 16px;
}

.review-author {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--muted);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-body {
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.empty-state {
  text-align: center;
  padding: 64px 24px;
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: 24px;
  color: var(--muted);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 15, 13, 0.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  background: var(--surface);
  border-radius: 26px;
  max-width: 600px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  position: relative;
}

.modal-hero-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 16px;
  display: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  cursor: pointer;
  font-size: 1.05rem;
  z-index: 5;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.94rem;
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
}

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

.payment-box {
  background: linear-gradient(135deg, #fff9f2 0%, #fff4f7 100%);
  border: 1px solid #ecd5bc;
  border-radius: 16px;
  padding: 18px;
  margin: 16px 0;
}

.card-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 10px 0;
  font-family: monospace;
  font-size: 1.06rem;
  font-weight: 700;
}

/* Footer */
footer {
  background: var(--espresso);
  color: #e2d3ca;
  padding: 54px 0 34px;
  border-top: 1px solid rgba(217, 169, 89, 0.25);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(244, 214, 156, 0.22);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.footer-chip:hover {
  background: var(--gold);
  color: var(--espresso);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.84rem;
  color: #a9948b;
}

.footer-bottom a {
  color: #cfb7ab;
  text-decoration: none;
}

/* Floating Telegram Button */
.tg-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  background: linear-gradient(135deg, #27a7e7, #1c88c7);
  color: #fff;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(28, 136, 199, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s;
}

.tg-float:hover {
  transform: translateY(-3px) scale(1.03);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(26, 15, 13, 0.88) 0%, rgba(26, 15, 13, 0.72) 100%),
      url('/static/hero-cake.jpg');
    background-position: center;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .bespoke-banner {
    padding: 36px 24px;
  }
}

@media (max-width: 600px) {
  .nav-links a:not(.btn) {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 20px;
  }
}
