:root {
  --red: #990015;
  --red-dark: #62000e;
  --wine: #7b0012;
  --gold: #c7a45a;
  --pink: #fbf1ec;
  --paper: rgba(255, 252, 248, 0.9);
  --ink: #2d1916;
  --muted: #7d665f;
  --line: #ead8cd;
  --shadow: 0 22px 60px rgba(80, 10, 18, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Quicksand", system-ui, sans-serif;
  background:
    radial-gradient(circle at 16% 0%, rgba(255,255,255,.96), transparent 26%),
    radial-gradient(circle at 90% 12%, rgba(199,164,90,.18), transparent 24%),
    linear-gradient(135deg, #fffaf6 0%, #f6e6dc 48%, #fff6f0 100%);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
main { width: min(1480px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(1480px, calc(100% - 48px));
  min-height: 64px;
  margin: 14px auto 18px;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  background: rgba(255, 252, 248, .92);
  border: 1px solid rgba(199, 164, 90, .24);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; width: 168px; }
.brand img { width: 100%; height: auto; object-fit: contain; }
.site-footer .brand { width: 190px; margin-bottom: 10px; }
.main-nav { display: flex; justify-content: center; gap: 26px; font-size: 14px; font-weight: 700; }
.main-nav a { position: relative; padding: 22px 0; color: #4c302c; }
.main-nav a.active, .main-nav a:hover { color: var(--red); }
.main-nav a.active::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: 14px; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); border-radius: 99px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions button, .header-actions a { position: relative; display: grid; width: 38px; height: 38px; place-items: center; color: var(--red); background: #fffdf9; border: 1px solid rgba(199, 164, 90, .28); border-radius: 50%; cursor: pointer; }
.header-actions b { position: absolute; top: -4px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; display: grid; place-items: center; color: #fff; background: var(--red); border-radius: 50%; font-size: 11px; }

.hero-card { position: relative; display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 30px; min-height: 430px; overflow: hidden; padding: 48px; background: linear-gradient(135deg, rgba(255,253,250,.96), rgba(255,248,242,.78)); border: 1px solid rgba(199,164,90,.26); border-radius: 24px; box-shadow: var(--shadow); }
.hero-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(180deg, var(--red), var(--gold)); }
.hero-copy { align-self: center; max-width: 560px; }
.eyebrow { margin: 0 0 12px; color: var(--red); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
h1, h2 { font-family: "Lora", Georgia, serif; letter-spacing: 0; overflow-wrap: normal; word-break: normal; }
h1 { margin: 0 0 16px; font-size: clamp(42px, 5vw, 76px); line-height: 1.02; color: var(--wine); }
h2 { margin: 0; font-size: clamp(28px, 3vw, 42px); line-height: 1.1; }
h3, p { margin-top: 0; }
p { color: var(--muted); line-height: 1.7; }
.hero-card img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; border-radius: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border: 0; border-radius: 8px; cursor: pointer; font-weight: 800; }
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: 0 12px 26px rgba(153,0,21,.22); }
.btn.ghost { color: var(--red); background: #fff4ed; }
.btn.full { width: 100%; }

.section-block { margin: 34px 0; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.section-title a { color: var(--red); font-weight: 800; }

.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.category-card, .product-card, .blog-card, .panel, .filter-panel, .cart-box, .contact-card, .tabs-panel { background: var(--paper); border: 1px solid rgba(199,164,90,.2); border-radius: 16px; box-shadow: var(--shadow); }
.category-card { padding: 10px; }
.category-card .thumb { height: 118px; margin-bottom: 10px; border-radius: 12px; background: var(--preview); }
.category-card h3 { margin: 0 0 4px; font-size: 15px; }
.category-card p { margin: 0; font-size: 12px; }

.product-row, .product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { position: relative; overflow: hidden; padding: 10px; }
.product-card .fav { position: absolute; right: 16px; top: 16px; width: 28px; height: 28px; display: grid; place-items: center; color: var(--red); background: rgba(255,253,248,.94); border: 1px solid rgba(199,164,90,.22); border-radius: 50%; z-index: 2; cursor: pointer; }
.product-card .fav.active { color: #fff; background: var(--red); }
.product-thumb { display: grid; height: 210px; place-items: center; margin-bottom: 12px; overflow: hidden; border-radius: 12px; background: var(--preview); }
.product-thumb img, .main-preview img, .thumb-strip img, .cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-thumb img {
  border-radius: 12px;
}
.product-paper { display: grid; width: 58%; aspect-ratio: .72 / 1; place-items: center; color: #7f2630; background: rgba(255,255,255,.78); border: 1px solid rgba(185,92,90,.2); box-shadow: 0 12px 32px rgba(78,48,42,.12); text-align: center; }
.product-paper strong { font-family: "Lora", Georgia, serif; font-size: 20px; }
.product-body h3 { margin: 0 0 5px; overflow: hidden; font-size: 15px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.product-body .price { color: var(--red); font-weight: 900; }
.cart-btn { position: absolute; right: 14px; bottom: 14px; display: grid; width: 30px; height: 30px; place-items: center; color: #fff; background: linear-gradient(135deg, var(--red), var(--red-dark)); border: 0; border-radius: 50%; cursor: pointer; }



