:root {
  --primary: #8f7d6c;
  --accent: #c39a72;
  --dark: #2f2924;
  --light: #f5efe7;
  --cream: #fffaf3;
  --ink: #241f1b;
  --muted: #74685d;
  --line: rgba(47, 41, 36, .14);
  --shadow: 0 28px 80px rgba(47, 41, 36, .16);
  --radius: 30px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(195,154,114,.28), transparent 34%),
    linear-gradient(180deg, var(--cream), var(--light));
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(1160px, calc(100% - 34px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 243, .9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 52px; height: 52px; border-radius: 999px; object-fit: cover; border: 2px solid #fff; box-shadow: 0 8px 22px rgba(47,41,36,.2); }
.brand strong { display: block; font-size: 1.05rem; line-height: 1.05; letter-spacing: -.02em; }
.brand-copy { display: grid; gap: 5px; }
.brand-socials { display: flex; align-items: center; gap: 7px; }
.social-icon-link { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: #fff; box-shadow: 0 8px 18px rgba(47,41,36,.12); transition: transform .18s ease, box-shadow .18s ease; }
.social-icon-link:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(47,41,36,.18); }
.social-icon-link svg { width: 15px; height: 15px; fill: currentColor; }
.social-icon-link.facebook { background: #1877f2; }
.social-icon-link.instagram { background: radial-gradient(circle at 30% 100%, #fdf497 0 15%, #fd5949 45%, #d6249f 65%, #285aeb 100%); }
.social-icon-link.tiktok { background: #101010; }
.social-icon-link.youtube { background: #e62117; }
.social-icon-link.email { background: var(--primary); }
.menu-wrap { position: relative; display: flex; align-items: center; justify-content: flex-end; }
.menu-button {
  border: 1px solid rgba(47,41,36,.18);
  background: #8b765f;
  color: #fff;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(47,41,36,.18);
}
.menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(280px, calc(100vw - 34px));
  background: rgba(255,250,243,.98);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: .18s ease;
}
.menu-panel.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.menu-panel a { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: 16px; color: var(--dark); font-weight: 900; }
.menu-panel a:hover, .menu-panel .active { background: var(--light); }
.menu-panel .menu-cta { background: var(--dark); color: #fff; margin-top: 6px; }
.hero { padding: 48px 0 54px; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 28px rgba(47,41,36,.08); color: var(--muted); font-weight: 900; font-size: .86rem; }
.badge::before { content: "✦"; color: var(--accent); }
h1 { font-size: clamp(2.55rem, 7.2vw, 5.65rem); line-height: .9; letter-spacing: -.075em; margin: 22px 0; }
.lead { font-size: clamp(1.04rem, 2vw, 1.32rem); line-height: 1.62; color: var(--muted); max-width: 700px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 950; background: #fff; cursor: pointer; color: var(--dark); }
.btn.primary { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn.gold { background: var(--accent); color: var(--dark); border-color: transparent; }
.btn.small { min-height: 38px; padding: 9px 13px; font-size: .88rem; }
.hero-photo-card { position: relative; border-radius: 34px; padding: 12px; background: rgba(255,255,255,.72); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.hero-photo-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(195,154,114,.18), transparent 44%); pointer-events: none; }
.hero-photo { width: 100%; min-height: 540px; max-height: 690px; object-fit: cover; object-position: center top; border-radius: 25px; }
.hero-photo-caption { position: absolute; left: 28px; right: 28px; bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border-radius: 20px; background: rgba(255,250,243,.88); backdrop-filter: blur(14px); box-shadow: 0 14px 36px rgba(47,41,36,.18); }
.hero-photo-caption span { color: var(--muted); font-weight: 800; font-size: .9rem; }
.hero-photo-caption strong { color: var(--dark); font-weight: 950; }
.section { padding: 58px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-head h2, .page-title h1 { font-size: clamp(2rem, 5vw, 3.7rem); line-height: .95; letter-spacing: -.06em; margin: 0; }
.section-head p, .page-title p { color: var(--muted); line-height: 1.65; max-width: 670px; margin: 12px 0 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-card, .feature-card, .deal-card, .video-card, .qr-card, .form-card, .link-group { background: rgba(255,255,255,.78); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: 0 14px 36px rgba(47,41,36,.08); }
.stat-card h3, .feature-card h3, .deal-card h3, .video-card h3 { margin: 8px 0; font-size: 1.25rem; letter-spacing: -.025em; }
.stat-card p:not(.eyebrow), .feature-card p, .deal-card p, .video-card p { color: var(--muted); line-height: 1.55; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--primary); font-weight: 950; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.product-card { border-radius: 25px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 48px rgba(47,41,36,.1); display: flex; flex-direction: column; }
.product-image { aspect-ratio: 1.15/1; display: block; background: linear-gradient(135deg, rgba(195,154,114,.32), rgba(245,239,231,.85)); overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-art { width: 100%; height: 100%; display: grid; place-items: center; font-size: 4rem; background: radial-gradient(circle at 30% 22%, #fff, transparent 35%), linear-gradient(135deg, rgba(143,125,108,.18), rgba(195,154,114,.42)); }
.product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { margin: 6px 0 8px; font-size: 1.25rem; letter-spacing: -.025em; }
.product-body p:not(.eyebrow) { color: var(--muted); line-height: 1.52; margin-top: 0; }
.product-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 900; color: var(--muted); }
.product-actions a { color: var(--dark); background: var(--light); padding: 9px 12px; border-radius: 999px; }
.link-group { margin-bottom: 14px; }
.link-list { display: grid; gap: 10px; }
.link-pill { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border-radius: 17px; background: rgba(143,125,108,.14); font-weight: 900; }
.link-pill small { background: #fff; padding: 8px 10px; border-radius: 999px; }
.deal-card { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; }
.deal-card a, .code-copy { padding: 10px 13px; border-radius: 999px; background: var(--dark); color: #fff; border: 0; font-weight: 900; cursor: pointer; white-space: nowrap; }
.code-copy { background: var(--accent); color: var(--dark); }
.video-card { display: flex; align-items: center; gap: 16px; }
.video-art { flex: 0 0 118px; aspect-ratio: 16/10; border-radius: 18px; display: grid; place-items: center; background: #e62117; color: white; font-size: 2.3rem; box-shadow: inset 0 0 0 10px rgba(255,255,255,.18); }
.qr-card { display: flex; align-items: center; gap: 16px; }
.qr-card img { width: 116px; border-radius: 18px; background: #fff; padding: 8px; border: 1px solid var(--line); }
.page-hero { padding: 54px 0 24px; }
.page-title { max-width: 860px; }
.chocolate-hero { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; align-items: center; background: linear-gradient(135deg, #38221a, #7a503c 54%, #c39a72); color: #fff; border-radius: 34px; padding: 28px; box-shadow: var(--shadow); }
.chocolate-hero p { color: rgba(255,255,255,.82); line-height: 1.65; }
.chocolate-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.chocolate-showcase img { width: 100%; aspect-ratio: 1.05/1; object-fit: cover; border-radius: 22px; border: 1px solid rgba(255,255,255,.22); }
.site-footer { margin-top: 50px; border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.social-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.social { min-width: 44px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(47,41,36,.06); padding: 8px 12px; font-weight: 900; }
.social .social-icon { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social .facebook { color: #1877f2; } .social .instagram { color: #d6249f; } .social .tiktok { color: #111; } .social .email { color: var(--primary); }
/* Admin */
.admin-shell { display: grid; grid-template-columns: 290px 1fr; min-height: 100vh; background: linear-gradient(180deg, var(--cream), var(--light)); }
.admin-sidebar { background: var(--dark); color: #fff; padding: 22px; position: sticky; top: 0; height: 100vh; overflow: auto; }
.admin-sidebar .brand span { color: rgba(255,255,255,.7); font-size: .86rem; }
.admin-menu { display: grid; gap: 8px; margin-top: 28px; }
.admin-menu button { text-align: left; padding: 13px 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.07); color: rgba(255,255,255,.82); border-radius: 16px; cursor: pointer; font-weight: 900; }
.admin-menu button.active, .admin-menu button:hover { background: #fff; color: var(--dark); }
.admin-main { padding: 28px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 22px; }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-card { background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: 0 14px 36px rgba(47,41,36,.08); margin-bottom: 18px; }
.admin-card h2 { margin-top: 0; letter-spacing: -.035em; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: 7px; color: var(--muted); font-size: .9rem; font-weight: 900; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 15px; background: #fff; padding: 12px 13px; color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
.table-list { display: grid; gap: 10px; }
.row-item { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(245,239,231,.7); }
.row-item h3 { margin: 0 0 4px; font-size: 1rem; }
.row-item p { margin: 0; color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
.row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.row-actions button { border: 0; border-radius: 999px; padding: 8px 10px; background: #fff; color: var(--dark); font-weight: 900; cursor: pointer; }
.row-actions .danger { background: #ffe7e2; color: #8b2417; }
.notice { background: rgba(195,154,114,.13); border: 1px solid var(--line); padding: 13px; border-radius: 16px; color: var(--muted); line-height: 1.5; }
.search-results { display: grid; gap: 8px; margin-top: 12px; }
.search-results button { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 15px; padding: 12px; cursor: pointer; }
.qr-preview { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: center; }
.qr-preview img { width: 180px; border-radius: 22px; background: #fff; padding: 10px; border: 1px solid var(--line); }
.save-toast { position: fixed; right: 18px; bottom: 18px; z-index: 100; background: var(--dark); color: #fff; padding: 12px 16px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); transition: .2s ease; font-weight: 900; }
.save-toast.show { opacity: 1; transform: translateY(0); }
@media (max-width: 920px) {
  .hero-grid, .grid-3, .grid-2, .product-grid, .chocolate-hero, .footer-grid { grid-template-columns: 1fr; }
  .section-head, .admin-top { align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 34px; }
  .hero-photo { min-height: 420px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .qr-preview { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1160px); }
  .nav { min-height: 78px; }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: .98rem; }
  .social-icon-link { width: 26px; height: 26px; }
  .menu-button { padding: 10px 14px; min-height: 42px; }
  .hero-photo { min-height: 360px; max-height: none; }
  .hero-photo-caption { position: static; margin-top: 10px; flex-direction: column; align-items: flex-start; }
  .deal-card { grid-template-columns: 1fr; }
  .row-item { align-items: flex-start; flex-direction: column; }
}
