:root {
  --sun: #f7b928;
  --sun-dark: #d99600;
  --cream: #fff8e8;
  --peach: #fff0d8;
  --ink: #221b12;
  --muted: #756b5f;
  --line: #f0dfbf;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(106, 72, 12, 0.12);
  --radius: 28px;
  --container: min(1120px, calc(100% - 32px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdf8 0%, #fff8e8 46%, #ffffff 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: var(--container); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(240, 223, 191, 0.72);
}
.navbar { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 18px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .04em; }
.logo img { width: 54px; height: 54px; border-radius: 18px; object-fit: cover; box-shadow: 0 8px 22px rgba(247,185,40,.28); }
.logo span { color: var(--sun-dark); }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-weight: 700; }
.nav-links a:hover { color: var(--ink); }
.nav-toggle { display: none; border: 0; background: var(--cream); border-radius: 14px; padding: 10px 12px; font-size: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--sun); color: #2a1a00; box-shadow: 0 14px 26px rgba(247, 185, 40, .32); }
.btn-ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-small { min-height: 40px; padding: 9px 15px; font-size: 14px; }
.btn-wide { width: min(100%, 360px); }

.hero { padding: 68px 0 44px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--sun-dark); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.055em; margin-bottom: 20px; }
h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -0.035em; margin-bottom: 14px; }
h3 { font-size: 21px; margin-bottom: 9px; }
.lead { font-size: clamp(17px, 2vw, 21px); line-height: 1.75; color: var(--muted); margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trust-pill { background: rgba(255,255,255,.76); border: 1px solid var(--line); border-radius: 18px; padding: 14px; font-weight: 800; color: var(--muted); }

.hero-card { position: relative; border-radius: 38px; padding: 26px; background: radial-gradient(circle at 70% 8%, #ffe39a, transparent 34%), linear-gradient(145deg, #fff7df, #ffffff); box-shadow: var(--shadow); overflow: hidden; }
.hero-card::after { content: ''; position: absolute; inset: auto -60px -80px auto; width: 220px; height: 220px; background: var(--sun); border-radius: 50%; opacity: .22; }
.hero-logo { width: min(78%, 360px); margin: 16px auto 28px; border-radius: 34px; box-shadow: 0 18px 45px rgba(163, 101, 0, .15); }
.floating-note { position: relative; z-index: 1; background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 24px; padding: 18px; }
.floating-note strong { display: block; font-size: 22px; margin-bottom: 4px; }
.floating-note p { color: var(--muted); margin: 0; }

.section { padding: 60px 0; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-header p { max-width: 640px; color: var(--muted); line-height: 1.7; margin-bottom: 0; }
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.category-card, .info-card, .step-card, .contact-card, .admin-panel {
  background: rgba(255,255,255,.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 12px 34px rgba(111, 74, 4, .07);
}
.category-card { min-height: 210px; transition: transform .2s ease; }
.category-card:hover { transform: translateY(-5px); }
.category-card span { display: grid; place-items: center; width: 58px; height: 58px; background: var(--cream); border-radius: 20px; font-size: 28px; margin-bottom: 22px; }
.category-card p, .info-card p, .step-card p, .contact-card p { color: var(--muted); line-height: 1.65; margin-bottom: 0; }

.product-toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 24px; }
select, input, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 108px; resize: vertical; }
.products-grid { grid-template-columns: repeat(3, 1fr); }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 46px rgba(111, 74, 4, .08); }
.product-image { position: relative; min-height: 250px; background: linear-gradient(135deg, #fff3cd, #fffaf0); overflow: hidden; display: grid; place-items: center; }
.product-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.product-placeholder { width: 78%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #fff 0 38%, #ffe9a8 39% 100%); color: var(--sun-dark); font-weight: 900; text-align: center; padding: 22px; }
.badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 8px 13px; border-radius: 999px; background: #2c2112; color: #fff; font-size: 13px; font-weight: 900; }
.product-content { padding: 21px; }
.product-content p:not(.eyebrow) { color: var(--muted); line-height: 1.6; min-height: 52px; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.card-actions strong, .price { font-size: 22px; color: var(--sun-dark); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: center; }
.soft-box { background: linear-gradient(145deg, var(--cream), #fff); border: 1px solid var(--line); border-radius: 34px; padding: 34px; box-shadow: var(--shadow); }
.feature-list { display: grid; gap: 15px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item span { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: 15px; background: #ffe7a5; }

.page-hero { padding: 54px 0 24px; text-align: center; }
.page-hero p { max-width: 720px; margin-inline: auto; }
.detail-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 38px; align-items: start; padding-bottom: 70px; }
.detail-media { min-height: 560px; border-radius: 34px; box-shadow: var(--shadow); }
.detail-copy { background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 34px; padding: 32px; }
.detail-list { margin-top: 30px; display: grid; gap: 8px; }
.detail-list h2 { font-size: 22px; margin: 18px 0 0; }
.detail-list p { color: var(--muted); line-height: 1.75; }

.steps { counter-reset: step; }
.step-card { position: relative; padding-top: 54px; }
.step-card::before { counter-increment: step; content: counter(step); position: absolute; top: 20px; left: 22px; width: 32px; height: 32px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 900; }

.contact-grid { grid-template-columns: repeat(3, 1fr); }
.footer { padding: 34px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sticky-order { display: none; position: fixed; z-index: 30; left: 16px; right: 16px; bottom: 16px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 34px; color: var(--muted); }

[hidden] { display: none !important; }
.auth-layout { display: grid; place-items: center; }
.auth-card { width: min(100%, 520px); display: grid; gap: 16px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px; }
.admin-topbar h2 { margin-bottom: 0; }
.admin-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.checkbox-row { display: flex; gap: 18px; flex-wrap: wrap; }
.form-actions, .admin-item-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.admin-item span { display: block; color: var(--muted); margin-top: 3px; }
.notice { padding: 16px; border-radius: 18px; background: var(--cream); color: var(--muted); line-height: 1.7; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { position: absolute; top: 78px; left: 16px; right: 16px; display: none; flex-direction: column; align-items: stretch; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .hero-grid, .split, .detail-grid, .admin-layout { grid-template-columns: 1fr; }
  .grid-4, .grid-3, .products-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-media { min-height: 420px; }
}

@media (max-width: 620px) {
  :root { --container: min(100% - 24px, 1120px); }
  .hero { padding-top: 36px; }
  .trust-row, .grid-4, .grid-3, .products-grid, .contact-grid, .form-grid { grid-template-columns: 1fr; }
  .section-header, .product-toolbar, .admin-topbar, .footer .container { align-items: stretch; flex-direction: column; }
  .form-actions, .admin-item-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn, .sticky-order .btn { width: 100%; }
  .product-image { min-height: 220px; }
  .detail-copy { padding: 22px; }
  .sticky-order { display: block; }
  body { padding-bottom: 82px; }
}
