:root {
  --bg: #1a1109;
  --bg-2: #241812;
  --panel: #2b1d12;
  --panel-2: #35251699;
  --gold: #e0a94a;
  --gold-2: #f4c96b;
  --gold-dark: #8a5a1e;
  --text: #f3e6cf;
  --text-dim: #b79c78;
  --line: #5a3d20;
  --red: #c0392b;
  --shadow: 0 8px 26px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Podkova', Arial, Helvetica, sans-serif;
  background:
    radial-gradient(1200px 600px at 70% -10%, #3a2413 0%, transparent 60%),
    linear-gradient(180deg, #1c130b 0%, #150d07 100%);
  color: var(--text);
  min-height: 100vh;
  letter-spacing: .3px;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .8px;
  transition: transform .15s, filter .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-gold {
  background: linear-gradient(180deg, #ffe985 0%, #fdc824 45%, #f0a800 100%);
  border: 2px solid #7a4a10;
  border-radius: 8px;
  color: #3a2408;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .35);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6), inset 0 -3px 6px rgba(160,90,0,.45), 0 3px 6px rgba(0,0,0,.4);
}
.btn-ghost {
  border: none;
  border-radius: 0;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
  background:
    url("ui-brand/btn-header-left.png") left center / 18px 100% no-repeat,
    url("ui-brand/btn-header-right.png") right center / 18px 100% no-repeat,
    url("ui-brand/btn-header-center.png") 16px center / calc(100% - 32px) 100% no-repeat;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4));
}
.btn-ghost:hover { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)) brightness(1.12); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: linear-gradient(180deg, #2a1c10, #20140b);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.burger { display: none; flex-direction: column; gap: 4px; padding: 6px; }
.burger span { width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }

.logo { display: flex; align-items: center; }
.logo-img { height: 42px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.side-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(0,0,0,.25); border: 1px solid var(--line);
  transition: background .15s;
}
.side-toggle:hover { background: rgba(0,0,0,.5); }
.side-toggle img { width: 18px; height: 18px; object-fit: contain; }

.search {
  flex: 1;
  max-width: 520px;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #17100a;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 14px;
}
.search input { flex: 1; background: none; border: none; color: var(--text); outline: none; font-size: 14px; }
.search input::placeholder { color: var(--text-dim); }
.search-ico { width: 18px; height: 18px; object-fit: contain; opacity: .85; }

.auth { display: flex; gap: 10px; }

.layout { display: flex; }

.layout.collapsed .sidebar { width: 66px; }
.layout.collapsed .cup span,
.layout.collapsed .side-foot { display: none; }
.layout.collapsed .menu-item { justify-content: center; padding: 11px 0; font-size: 0; }
.layout.collapsed .menu-item .mi-ico { font-size: 15px; }
.layout.collapsed .tag-new { display: none; }
.layout.collapsed .cup { justify-content: center; }

.sidebar {
  width: 210px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #241610, #1a1009);
  border-right: 1px solid var(--line);
  padding: 14px 10px;
  min-height: calc(100vh - 61px);
  position: sticky;
  top: 61px;
  align-self: flex-start;
}

.cup {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: linear-gradient(180deg, #d9b98a, #b28c5a);
  border: 2px solid #6a4a28;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700; font-size: 13px;
  color: #4a2c10;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 3px 6px rgba(0,0,0,.4);
}
.cup-text { line-height: 1.25; letter-spacing: .5px; }
.cup-ico { font-size: 26px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.35)); }

.menu-divider {
  height: 1px;
  margin: 7px 6px;
  background: linear-gradient(90deg, rgba(224,169,74,.35), rgba(224,169,74,.08));
}

.menu { display: flex; flex-direction: column; gap: 2px; }
.menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dim);
  transition: background .15s, color .15s;
  position: relative;
}
.menu-item .mi-ico { width: 20px; text-align: center; font-size: 15px; }
.menu-item:hover { background: #2e1e11; color: var(--text); }
.menu-item.active { background: linear-gradient(90deg, #3a2613, #2a1a0e); color: var(--gold-2); }
.menu-item.active::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px;
  width: 3px; background: var(--gold-2); border-radius: 3px;
}
.tag-new {
  margin-left: auto;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
}

.side-foot { display: flex; gap: 8px; margin-top: 16px; }
.pill {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(180deg, #352414, #241609);
  border: 2px solid #b99a6b;
  outline: 1px solid #4a2f14;
  border-radius: 8px;
  padding: 10px 6px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .5px;
  color: var(--text);
  box-shadow: 0 3px 6px rgba(0,0,0,.45), inset 0 0 8px rgba(0,0,0,.5);
}
.pill:hover { color: var(--gold-2); border-color: #d9b98a; }
.pill .flag { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }

.main { flex: 1; min-width: 0; padding: 16px 22px 40px; }

.hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 260px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.4, 0, .2, 1); }
.hero-slide {
  min-width: 100%; height: 100%;
  display: flex; align-items: center;
  padding: 0 60px;
  position: relative;
}
.slide-1 {
  background: url("productb/hero.jpg");
  background-size: cover;
  background-position: center;
}
.slide-2 {
  background: url("productb/prd.png");
  background-size: cover;
  background-position: center;
}

.hero-plate {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, #6a4523, #3f2812);
  border: 3px solid #caa25f;
  border-radius: 16px;
  padding: 26px 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.5), inset 0 0 20px rgba(0,0,0,.4);
  animation: plateIn .6s ease;
}
@keyframes plateIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-kicker { color: var(--gold-2); font-size: 13px; letter-spacing: 2px; margin-bottom: 6px; }
.hero-title { font-family: 'Podkova', serif; font-size: 30px; color: #fff; line-height: 1.15; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.hero-cta { margin-top: 16px; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,.4); border: 1px solid var(--gold-dark);
  color: var(--gold-2); font-size: 26px; line-height: 1;
}
.hero-arrow.left { left: 12px; }
.hero-arrow.right { right: 12px; }
.hero-arrow:hover { background: rgba(0,0,0,.65); }

.hero-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.4); }
.hero-dots button.active { background: var(--gold-2); }

.chips-wrap { display: flex; align-items: center; gap: 6px; margin: 16px 0; }
.chips { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 0; flex: 1; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: flex; align-items: center; gap: 8px;
  flex: 0 0 auto;
  white-space: nowrap;
  border: none;
  border-radius: 0;
  height: 44px;
  padding: 0 38px 0 20px;
  background:
    url("ui-brand/category-menu-left.png") left center / 24px 100% no-repeat,
    url("ui-brand/category-menu-right.png") right center / 34px 100% no-repeat,
    url("ui-brand/category-menu-center.png") 22px center / calc(100% - 54px) 100% no-repeat;
  font-size: 12px; font-weight: 700; letter-spacing: .8px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .45));
  transition: filter .15s, transform .15s;
}
.chip img {
  width: 38px; height: 38px;
  flex-shrink: 0;
  object-fit: contain;
  margin-left: -8px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4));
}
.chip:hover, .chip.active {
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, .55)) brightness(1.15);
  transform: translateY(-1px);
}
.chip-search {
  padding: 0 16px;
  background:
    url("ui-brand/btn-header-left.png") left center / 20px 100% no-repeat,
    url("ui-brand/btn-header-right.png") right center / 20px 100% no-repeat,
    url("ui-brand/btn-header-center.png") 18px center / calc(100% - 36px) 100% no-repeat;
}
.chip-search img { width: 30px; height: 30px; margin-left: 0; }

.row { margin-top: 22px; }
.row-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.row-title {
  font-family: 'Podkova', serif;
  font-size: 18px; font-weight: 700; color: var(--gold-2);
  text-shadow: 0 2px 0 #000;
  white-space: nowrap;
}
.row-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-dark), rgba(90,61,32,.15)); }
.see-all { color: var(--text-dim); font-size: 12px; font-weight: 600; white-space: nowrap; }
.see-all:hover { color: var(--gold-2); }

.grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 6px;
}
.grid::-webkit-scrollbar { height: 6px; }
.grid::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 6px; }
.grid::-webkit-scrollbar-track { background: transparent; }

.card {
  position: relative;
  display: block;
  flex: 0 0 128px;
  width: 128px;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid #5a3d20;
  background: linear-gradient(160deg, #3a2614, #1c120a);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,.55);
  z-index: 5;
}

.card-art {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.card-art .art-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.card-art .art-name {
  font-family: 'Podkova', serif;
  font-size: 15px; line-height: 1.1;
  color: #fff; padding: 0 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,.7), 0 0 10px rgba(0,0,0,.6);
}

.card.glow { box-shadow: var(--shadow), 0 0 16px rgba(224,169,74,.35); }
.card.glow::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px rgba(244,201,107,.6);
  z-index: 2; pointer-events: none;
}

.badge-new {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  z-index: 4;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.5);
}

.card-amount {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 4;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
  color: var(--gold-2);
  font-weight: 700; font-size: 13px;
  text-align: center;
  padding: 18px 4px 8px;
}

.play-overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,12,6,.55);
  opacity: 0; transition: opacity .2s;
}
.card:hover .play-overlay { opacity: 1; }
.play-btn {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-2), var(--gold-dark));
  color: #2a1a08; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
}

.seo { margin-top: 40px; max-width: 900px; color: var(--text-dim); line-height: 1.7; font-size: 14px; }
.seo h1 { font-family: 'Podkova', serif; color: var(--gold-2); font-size: 26px; margin: 16px 0 14px; line-height: 1.3; }
.seo h2 { font-family: 'Podkova', serif; color: var(--gold-2); font-size: 22px; margin: 32px 0 12px; }
.seo h3 { color: var(--gold); font-size: 17px; margin: 22px 0 8px; }
.seo h4 { color: var(--text); font-size: 14px; margin-bottom: 6px; }
.seo p { margin-bottom: 10px; }
.seo section { margin-bottom: 8px; }
.seo ul, .seo ol { margin: 10px 0 14px 20px; }
.seo ul { list-style: none; margin-left: 0; }
.seo ul li { padding: 3px 0; position: relative; padding-left: 16px; }
.seo ul li::before { content: "•"; color: var(--gold); position: absolute; left: 0; }
.seo ol li { padding: 3px 0; }
.seo .table-wrap { overflow-x: auto; margin: 16px 0 20px; border-radius: 10px; border: 1px solid var(--line); }
.seo table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
.seo th, .seo td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.seo th { background: rgba(224, 169, 74, .12); color: var(--gold-2); font-weight: 700; white-space: nowrap; }
.seo tr:last-child td { border-bottom: none; }
.seo tr:nth-child(even) td { background: rgba(0, 0, 0, .12); }
.seo-cols { display: flex; gap: 50px; margin-top: 16px; flex-wrap: wrap; }
.seo-cols ul { list-style: none; }
.seo-cols li { padding: 3px 0; position: relative; padding-left: 16px; }
.seo-cols li::before { content: "•"; color: var(--gold); position: absolute; left: 0; }

.footer { margin-top: 46px; border-top: 1px solid var(--line); padding-top: 26px; }
.foot-top { display: flex; justify-content: center; gap: 12px; margin-bottom: 26px; }
.foot-top .pill { flex: 0 0 auto; min-width: 130px; }
.foot-cols { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-bottom: 26px; }
.fcol h5 { color: var(--gold-2); font-size: 13px; letter-spacing: 1px; margin-bottom: 12px; }
.fcol a { display: block; color: var(--text-dim); font-size: 13px; padding: 4px 0; }
.fcol a:hover { color: var(--gold); }
.foot-pay { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; }
.pay {
  background: #2a1b10; border: 1px solid #7a6449; border-radius: 10px;
  padding: 9px 20px; font-size: 12px; font-weight: 700; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 38px;
}
.visa-mark {
  color: #fff; font-weight: 800; font-style: italic;
  font-size: 16px; letter-spacing: .5px;
}
.mc-circles { display: inline-flex; align-items: center; }
.mc-circles i { width: 17px; height: 17px; border-radius: 50%; display: inline-block; }
.mc-red { background: #eb001b; }
.mc-orange { background: #f79e1b; margin-left: -7px; mix-blend-mode: screen; }
.mc-text { color: #fff; font-size: 12px; font-weight: 500; text-transform: lowercase; }
.pay-more { color: var(--gold); }
.pay-more:hover { color: var(--gold-2); }
.foot-legal { text-align: center; color: #7a6449; font-size: 12px; max-width: 720px; margin: 0 auto; line-height: 1.6; }

.overlay {
  display: none;
  position: fixed; inset: 0; z-index: 40;
  background: rgba(0,0,0,.6);
}
.overlay.show { display: block; }

@media (max-width: 1100px) {
  .foot-cols { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  body { padding-top: 62px; }
  .topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    min-height: 62px;
    padding: 10px 14px;
  }
  .burger { display: flex; }
  .side-toggle { display: none; }
  .search { display: none; }
  .auth { margin-left: auto; }

  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 70;
    width: 240px;
    transform: translateX(-100%); transition: transform .3s;
    min-height: 100vh; height: 100vh; overflow-y: auto;
    box-shadow: 8px 0 24px rgba(0,0,0,.5);
  }
  .sidebar.open { transform: none; }
  .overlay { z-index: 65; }

  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .hero { height: 200px; }
  .hero-title { font-size: 20px; }
  .hero-plate { padding: 18px 22px; }
  .hero-slide { padding: 0 18px; }
  .hero-arrow { width: 32px; height: 32px; font-size: 20px; }
  .card { flex: 0 0 116px; width: 116px; }
}
@media (max-width: 560px) {
  .topbar { gap: 8px; }
  .auth { gap: 6px; }
  .auth .btn { padding: 0 12px; font-size: 11.5px; letter-spacing: .5px; }
  .logo-img { height: 36px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .main { padding: 12px; }
  .hero { height: 175px; }
  .hero-title { font-size: 16px; }
  .hero-kicker { font-size: 11px; }
  .hero-cta { margin-top: 10px; padding: 8px 14px; font-size: 12px; }
  .card { flex: 0 0 104px; width: 104px; }
  .row-title { font-size: 15px; }
  .see-all { font-size: 11px; }
  .seo { font-size: 13px; }
  .foot-pay { flex-wrap: wrap; }
}
