:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --text: #1f1a14;
  --muted: #6f675c;
  --line: #e6ddd0;
  --gold: #c3922e;
  --gold-2: #a6761b;
  --ink: #2b241c;
  --sale: #c62828;
  --hit: #e0a21a;
  --ok: #2d7a45;
  --shadow: 0 12px 30px rgba(80, 55, 20, 0.08);
}

* { box-sizing: border-box; }
html, body, #app { min-height: 100%; }
body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
s { color: #9a9186; }

.wrap { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.wide { width: 100%; }
.sm { padding: 9px 14px !important; font-size: 13px; }
.ico { display: inline-flex; width: 20px; height: 20px; }
.ico svg { width: 100%; height: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: #2b241c;
  color: #f3e6c8;
  font-size: 12px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 82px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { display: grid; line-height: 1.15; }
.logo-text b { font-size: 20px; color: #2b241c; }
.logo-text small { color: var(--gold-2); font-size: 11px; font-weight: 600; }
.brand-logo {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  box-shadow: 0 0 0 2px #e6ddd0, 0 4px 12px rgba(0,0,0,0.06);
}
.brand-logo.sm { width: 50px; height: 50px; }
.brand-logo.md { width: 76px; height: 76px; }
.footer-brand { display: flex; gap: 12px; align-items: center; }

.search {
  display: flex;
  border: 1px solid #d8cbb3;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.search input {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  outline: none;
  background: transparent;
}
.search button {
  border: 0;
  background: var(--gold);
  color: #2b241c;
  width: 50px;
  cursor: pointer;
}
.search button:hover { background: #d4a43a; }
.search button .ico { margin: 0 auto; }

.header-actions { display: flex; gap: 4px; }
.tool {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 68px;
  padding: 7px 8px;
  color: #3a332a;
  font-size: 11px;
  border-radius: 10px;
}
.tool:hover { background: #fff4dd; color: var(--gold-2); }
.badge {
  position: absolute;
  top: 0;
  right: 8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--sale);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.lang { display: flex; align-items: center; gap: 6px; }
.lang button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #b8a888;
}
.lang button.on { color: #ffe7b0; font-weight: 700; }

.nav { background: #ffffff; border-top: 1px solid var(--line); }
.nav-inner { display: flex; gap: 8px; min-height: 46px; align-items: center; font-size: 14px; font-weight: 600; }
.nav-inner a {
  padding: 7px 12px;
  border-radius: 8px;
}
.nav-inner a:hover { background: #fff; color: var(--gold-2); }

.hero { padding: 24px 0 8px; }
.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  align-items: stretch;
  background: linear-gradient(135deg, #ffffff 0%, #fff8ed 55%, #ffffff 100%);
  border: 1px solid #e6ddd0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-copy { padding: 34px 32px; }
.kicker {
  display: inline-block;
  background: #2b241c;
  color: #ffe7b0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  margin: 0 0 12px;
}
h1, h2, h3 { margin: 0; font-weight: 800; }
.hero h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; margin-bottom: 12px; }
.lead { color: var(--muted); line-height: 1.55; max-width: 46ch; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 10px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 700;
  border-radius: 10px;
}
.btn-primary { background: var(--gold); color: #2b241c; }
.btn-primary:hover { background: #d4a43a; }
.btn-ghost { background: #fff; border-color: #d8cbb3; }
.btn-ghost:hover { border-color: var(--gold); }
.note { color: var(--muted); font-size: 13px; }

.hero-photo { position: relative; background: #fff; display: block; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-price {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #ead9b4;
  padding: 10px 12px;
  border-radius: 12px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.feature {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.feature .ico { color: var(--gold-2); width: 22px; height: 22px; flex: none; }
.feature span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

.section { padding: 30px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 14px; }
.section-head h2 { font-size: 24px; }
.section-head h2::after {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 7px;
  background: var(--gold);
  border-radius: 2px;
}
.section-head a { color: var(--gold-2); font-size: 14px; font-weight: 700; }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 10px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(80, 55, 20, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(80, 55, 20, 0.12); }
.card-img { position: relative; background: #fff; display: block; }
.card-img img { width: 100%; height: 250px; object-fit: cover; }
.card-body { padding: 14px 16px 16px; }
.card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; color: var(--ink); }
.card .price { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: var(--gold-2); }
.card .old { font-size: 13px; color: #a09184; font-weight: 600; }
.card .badge { position: absolute; top: 10px; left: 10px; }
.card-actions { display: flex; gap: 8px; margin-top: 12px; }

.product { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 30px; align-items: start; }
.product-gallery { display: grid; gap: 12px; }
.product-main { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.product-main img { width: 100%; height: 520px; object-fit: cover; }
.product-thumbs { display: flex; gap: 10px; }
.product-thumb { width: 80px; height: 80px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; opacity: 0.7; transition: opacity 0.2s ease, border-color 0.2s ease; }
.product-thumb.on, .product-thumb:hover { opacity: 1; border-color: var(--gold); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 8px 0; }
.product-info h1 { font-size: 28px; margin-bottom: 8px; }
.product-info .price { font-size: 28px; font-weight: 800; color: var(--gold-2); margin: 0 0 10px; }
.product-info .old { font-size: 14px; color: #a09184; font-weight: 600; margin: 0 0 14px; }
.specs { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 0 0 16px; }
.specs h3 { margin: 0 0 10px; font-size: 14px; }
.specs dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 13px; }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 700; }
.add-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { background: #fff; border: 0; width: 44px; height: 44px; font-size: 18px; cursor: pointer; }
.qty button:hover { background: #fff4dd; }
.qty input { width: 56px; height: 44px; border: 0; text-align: center; font-size: 16px; font-weight: 800; }
.add-btn { display: flex; align-items: center; gap: 8px; background: var(--gold); color: #2b241c; border: 0; padding: 14px 22px; border-radius: 12px; font-weight: 800; cursor: pointer; transition: background 0.15s ease; }
.add-btn:hover { background: #d4a43a; }
.fav-btn { width: 48px; height: 48px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; transition: background 0.15s ease; }
.fav-btn.on { background: #ffe7d0; }
.fav-btn .ico { color: var(--sale); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.filter { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 13px; font-weight: 600; }
.filter.on { background: var(--gold); border-color: var(--gold); color: #2b241c; }
.sort { display: flex; gap: 6px; margin-left: auto; align-items: center; font-size: 13px; color: var(--muted); }
.sort button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; }
.sort button.on { background: #2b241c; border-color: #2b241c; color: #ffe7b0; }

.cart-layout { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 18px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.cart-item img { width: 88px; height: 88px; object-fit: cover; border-radius: 10px; }
.cart-item .info h3 { margin: 0 0 6px; font-size: 16px; }
.cart-item .info .price { margin: 0 0 8px; font-size: 18px; font-weight: 800; }
.cart-item .info .old { font-size: 13px; color: #a09184; }
.cart-item .actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.remove { background: none; border: 0; color: var(--sale); cursor: pointer; font-size: 13px; font-weight: 700; }
.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; position: sticky; top: 100px; }
.cart-summary h2 { font-size: 22px; margin: 0 0 14px; }
.cart-summary .line { display: flex; justify-content: space-between; margin: 6px 0; color: var(--muted); }
.cart-summary .line.total { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.checkout { display: grid; gap: 10px; margin-top: 18px; }
.form { display: grid; gap: 10px; }
.field { display: grid; gap: 5px; margin-bottom: 10px; }
.field span { color: var(--muted); font-size: 13px; }
.field input, .field textarea, .field select {
  background: #fff;
  border: 1px solid #d8cbb3;
  padding: 10px 11px;
  outline: none;
  border-radius: 10px;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }

.footer { border-top: 1px solid var(--line); background: #ffffff; padding: 26px 0 34px; color: var(--muted); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 20px; margin-bottom: 14px; }
.footer b { display: block; color: var(--text); margin-bottom: 8px; }
.footer a { display: block; margin: 5px 0; }
.footer a:hover { color: var(--gold-2); }

.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #2b241c;
  color: #ffe7b0;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  z-index: 80;
  animation: toast-in 0.28s ease;
}
.hidden { display: none !important; }
.page { animation: page-in 0.28s ease; }
.card { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.btn { transition: background 0.15s ease, border-color 0.15s ease; }
.btn:active, .btn-press { transform: translateY(1px); }
.heart-pop { animation: pop 0.35s ease; }
.fly-item {
  position: fixed;
  z-index: 90;
  object-fit: cover;
  pointer-events: none;
  box-shadow: var(--shadow);
  background: #fff;
  border-radius: 12px;
}
.cart-bump { animation: cart-bump 0.4s ease; }
.badge-pop { animation: pop 0.35s ease; }

.mini-cart {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  pointer-events: none;
  z-index: 70;
  transition: background 0.25s ease;
}
.mini-cart.open { pointer-events: auto; background: rgba(43, 36, 28, 0.35); }
.mini-panel {
  position: absolute;
  top: 0; right: 0; height: 100%;
  width: min(380px, 94vw);
  background: #fffdf8;
  border-left: 1px solid var(--line);
  padding: 18px;
  transform: translateX(104%);
  transition: transform 0.32s ease;
  overflow: auto;
}
.mini-cart.open .mini-panel { transform: translateX(0); }
.mini-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mini-x { background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; }
.mini-list { display: grid; gap: 8px; }
.mini-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  animation: row-in 0.28s ease;
}
.mini-row img { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; }
.mini-total { font-size: 18px; font-weight: 800; margin: 14px 0 10px; }
.mini-actions { display: grid; gap: 8px; }

.cart-enter { animation: row-in 0.3s ease; }
.cart-leave { animation: row-out 0.28s ease forwards; }
.checkout-go { animation: pulse 0.35s ease; }
.success-box { animation: page-in 0.35s ease; }
.success-ring {
  width: 72px; height: 72px; margin: 12px auto 12px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ok);
  color: #fff;
  font-size: 34px;
}

@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes pop {
  0% { transform: scale(0.7); }
  60% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
@keyframes cart-bump {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.08); }
}
@keyframes row-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes row-out { to { opacity: 0; transform: translateX(16px); } }
@keyframes pulse { 50% { opacity: 0.75; } }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .search, .nav-inner a:nth-child(n+3), .tool span { display: none; }
  .hero-grid, .product, .grid, .feature-row, .cart-layout, .footer-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 76px 1fr; }
}

:root {
  --bg: #f6f5f2;
  --paper: #fff;
  --text: #20201e;
  --muted: #77756f;
  --line: #e8e5de;
  --gold: #d4a84f;
  --gold-2: #9b7128;
  --ink: #24231f;
  --shadow: 0 16px 42px rgba(37, 32, 22, 0.07);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.01em;
}

::selection { background: #f1dfb8; color: var(--ink); }
:focus-visible { outline: 3px solid rgba(196, 148, 56, 0.48); outline-offset: 3px; }

.wrap { width: min(1200px, calc(100% - 40px)); }
.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(33, 31, 26, 0.08);
  box-shadow: 0 4px 20px rgba(33, 31, 26, 0.035);
  backdrop-filter: blur(16px);
}
.topbar { background: #22211e; color: #eee3ce; }
.topbar-inner { min-height: 32px; }
.header-inner { min-height: 76px; gap: 26px; }
.logo-text b { color: #22211e; letter-spacing: -0.04em; }
.brand-logo {
  box-shadow: 0 0 0 1px rgba(33, 31, 26, 0.08), 0 5px 16px rgba(33, 31, 26, 0.08);
}
.search { border-color: #e5e1d8; border-radius: 12px; background: #f8f7f4; }
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 168, 79, 0.13); }
.search input { padding: 12px 16px; }
.search button { background: #25241f; color: #fff; transition: background 0.2s ease; }
.search button:hover { background: var(--gold-2); }
.header-actions { gap: 6px; }
.tool { min-width: 62px; color: #45433e; transition: background 0.18s ease, color 0.18s ease; }
.tool:hover { background: #f4f0e7; color: var(--gold-2); }
.nav { background: #fff; border-top-color: #f0eee9; }
.nav-inner { min-height: 44px; gap: 6px; }
.nav-inner a { padding: 8px 14px; transition: background 0.18s ease, color 0.18s ease; }
.nav-inner a:hover { background: #f6f3ec; color: var(--gold-2); }

.hero { padding-top: 30px; }
.hero-grid {
  grid-template-columns: 0.9fr 1.1fr;
  background: linear-gradient(120deg, #fff 0%, #fbf8f1 58%, #f2ede2 100%);
  border: 1px solid #e9e3d7;
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(43, 37, 25, 0.09);
}
.hero-copy { padding: clamp(30px, 5vw, 58px); align-self: center; }
.kicker {
  background: #282722;
  color: #f4dfb5;
  padding: 7px 11px;
  border-radius: 999px;
  letter-spacing: 0.035em;
}
.hero h1 { max-width: 12ch; font-size: clamp(36px, 5vw, 58px); letter-spacing: -0.055em; }
.lead { color: #6c6961; line-height: 1.7; }
.hero-actions { gap: 10px; margin: 24px 0 14px; }
.btn {
  min-height: 44px;
  border-radius: 12px;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: #25241f;
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 36, 31, 0.14);
}
.btn-primary:hover { background: #454238; box-shadow: 0 9px 20px rgba(37, 36, 31, 0.18); }
.btn-ghost { background: rgba(255, 255, 255, 0.8); border-color: #ded9ce; }
.btn-ghost:hover { border-color: var(--gold); background: #fff; }
.hero-photo { min-height: 390px; background: #f4f0e8; overflow: hidden; }
.hero-photo img { transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.hero-photo:hover img { transform: scale(1.025); }
.hero-price {
  left: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(32, 29, 23, 0.14);
  backdrop-filter: blur(12px);
}
.feature-row { gap: 12px; margin-top: 16px; }
.feature {
  min-height: 82px;
  background: #fff;
  border-color: #eeece6;
  border-radius: 16px;
  padding: 17px;
  box-shadow: 0 5px 18px rgba(37, 32, 22, 0.035);
}
.feature .ico { color: var(--gold-2); }
.feature span { line-height: 1.5; }

.section { padding: 38px 0; }
.section-head { margin-bottom: 20px; }
.section-head h2 { font-size: clamp(22px, 3vw, 29px); letter-spacing: -0.04em; }
.section-head h2::after { width: 36px; height: 3px; margin-top: 9px; background: var(--gold); }
.section-head a { color: var(--gold-2); }
.crumbs { margin-bottom: 16px; }
.crumbs a:hover { color: var(--gold-2); }
.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
  border-color: #ece9e2;
  border-radius: 20px;
  box-shadow: 0 8px 26px rgba(37, 32, 22, 0.045);
}
.card:hover {
  transform: translateY(-5px);
  border-color: #dfcfad;
  box-shadow: 0 18px 38px rgba(37, 32, 22, 0.10);
}
.card > a:first-of-type { display: block; overflow: hidden; border-radius: 14px; background: #f4f2ed; }
.card .photo { height: 230px; background: #f4f2ed; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.card:hover .photo img { transform: scale(1.045); }
.card h3 { margin: 15px 4px 6px; font-size: 18px; letter-spacing: -0.035em; }
.card > a:nth-of-type(2) .muted { margin: 0 4px; line-height: 1.5; font-size: 13px; }
.card .price-box { margin: 15px 4px 10px; }
.price-box .old { color: #8c8981; font-size: 12px; }
.price-box .now { margin-top: 4px; font-size: 23px; font-weight: 800; color: #26251f; letter-spacing: -0.04em; }
.price-box .off {
  display: inline-block;
  vertical-align: 3px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f9e9e5;
  color: #b24a37;
  font-size: 11px;
  letter-spacing: 0;
}
.price-box .save { margin-top: 3px; color: #627d5d; font-size: 12px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: auto 4px 2px; padding-top: 12px; border-top: 1px solid #efede8; }
.card-foot .muted { font-size: 12px; }
.card-foot .btn { white-space: nowrap; }
.tags { position: absolute; z-index: 2; top: 22px; left: 22px; display: flex; gap: 6px; }
.tag { padding: 6px 9px; border-radius: 999px; background: #282722; color: #fff; font-size: 11px; font-weight: 700; }
.tag.sale { background: #f8e8e4; color: #ad4735; }
.tag.hit { background: #f5e9cb; color: #86621f; }
.tag.new { background: #e4ede7; color: #477254; }
.heart {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(36, 35, 31, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #53514b;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.heart:hover { transform: scale(1.06); color: #b74d43; }
.heart.on { color: #b74d43; background: #fff2ef; }
.heart .ico { width: 19px; height: 19px; }

.product { grid-template-columns: 1.05fr 0.95fr; gap: clamp(26px, 5vw, 64px); }
.panel {
  background: #fff;
  border: 1px solid #eae7e0;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 8px 26px rgba(37, 32, 22, 0.045);
}
.photo-lg {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
  overflow: hidden;
  background: #f2f0eb;
}
.photo-lg > img { width: 100%; height: 460px; object-fit: cover; }
.product > div:last-child > .kicker { margin: 0 0 14px; }
.product h1 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.05em; }
.product .price-box { margin: 22px 0 12px; padding: 16px 18px; border: 1px solid #ece8df; border-radius: 16px; background: #fff; }
.product .price-box .now { font-size: 30px; }
.product .note { line-height: 1.6; }
.block { margin: 22px 0; }
.block > .muted { margin-bottom: 10px; font-size: 13px; font-weight: 700; color: #57554f; }
.swatches, .storages { display: flex; flex-wrap: wrap; gap: 8px; margin: 9px 0; }
.swatch { width: 32px; height: 32px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #d9d6ce; cursor: pointer; }
.swatch.on { box-shadow: 0 0 0 2px var(--gold-2); }
.storages button {
  padding: 9px 13px;
  border: 1px solid #e2dfd7;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.storages button:hover { border-color: var(--gold); }
.storages button.on { border-color: #272620; background: #272620; color: #fff; }
.product .hero-actions { gap: 8px; }
.product .specs { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; text-align: left; }
.product .specs caption { padding-bottom: 12px; text-align: left; font-size: 16px; font-weight: 800; }
.product .specs td { padding: 11px 12px; border-top: 1px solid #efede8; font-size: 13px; }
.product .specs td:first-child { width: 35%; color: var(--muted); }
.product .specs td:last-child { font-weight: 600; }

.filters { gap: 9px; margin: 18px 0; }
.filter, .chip {
  padding: 9px 14px;
  border-color: #e7e4dc;
  background: #fff;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.filter:hover, .chip:hover { border-color: #d5c49f; }
.filter.on, .chip.on { background: #282722; border-color: #282722; color: #fff; }
.sort button { border-color: #e7e4dc; }
.sort button.on { background: #282722; border-color: #282722; color: #fff; }

.cart-layout { grid-template-columns: 1.2fr 0.8fr; gap: 24px; }
.cart-item { background: #fff; border-color: #eae7e0; border-radius: 16px; padding: 16px; }
.cart-item img { border-radius: 12px; background: #f4f2ed; }
.cart-item .qty { border-color: #e8e5de; }
.cart-item .qty button { width: 36px; height: 36px; background: #fff; }
.cart-item .qty button:hover { background: #f6f3ec; }
#checkout {
  background: #fff;
  border: 1px solid #eae7e0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(37, 32, 22, 0.055);
}
#checkout h2 { margin-bottom: 18px; font-size: 24px; letter-spacing: -0.04em; }
#checkout .now { font-size: 20px; font-weight: 800; color: #272620; }
.field { gap: 7px; margin-bottom: 12px; }
.field span { color: #5f5d56; font-size: 12px; font-weight: 700; }
.field input, .field textarea, .field select {
  width: 100%;
  border-color: #e5e1d8;
  border-radius: 11px;
  padding: 12px 13px;
  background: #fbfaf8;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(212, 168, 79, 0.13);
}

.footer {
  margin-top: 24px;
  border-top-color: #e9e6df;
  background: #eeece6;
  padding: 36px 0;
}
.footer b { color: #292822; }
.footer a { transition: color 0.18s ease; }
.mini-cart.open { background: rgba(28, 27, 24, 0.42); }
.mini-panel { background: #fbfaf7; border-left-color: #e8e5de; box-shadow: -12px 0 40px rgba(24, 23, 20, 0.10); }
.mini-row { border-color: #eae7e0; }
.mini-row img { background: #f4f2ed; }
.toast { background: #282722; color: #fff; box-shadow: 0 12px 30px rgba(30, 29, 26, 0.2); }

@media (max-width: 980px) {
  .wrap { width: min(100% - 32px, 760px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 12px; }
  .search { display: flex; grid-column: 1 / -1; grid-row: 2; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .header-actions .tool { min-width: 42px; }
  .nav-inner { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .nav-inner::-webkit-scrollbar { display: none; }
  .nav-inner a:nth-child(n+3) { display: block; }
  .tool span { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-photo { min-height: 340px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr 0.9fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .topbar-inner { min-height: 30px; }
  .header-inner { min-height: 68px; }
  .brand-logo.sm { width: 42px; height: 42px; }
  .logo { gap: 8px; }
  .logo-text b { font-size: 18px; }
  .header-actions { gap: 0; }
  .header-actions .tool { min-width: 38px; padding: 7px 5px; }
  .header-actions .ico { width: 19px; height: 19px; }
  .nav-inner { min-height: 42px; gap: 2px; font-size: 13px; }
  .nav-inner a { padding: 8px 10px; }
  .hero { padding-top: 18px; }
  .hero-grid { grid-template-columns: 1fr; border-radius: 20px; }
  .hero-copy { padding: 28px 23px; }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .hero-photo { min-height: 260px; max-height: 340px; }
  .hero-photo img { min-height: 260px; }
  .hero-price { left: 12px; bottom: 12px; padding: 9px 11px; }
  .feature-row { gap: 9px; }
  .feature { min-height: 0; padding: 12px; border-radius: 13px; }
  .feature strong { font-size: 13px; }
  .feature span { font-size: 11px; }
  .section { padding: 28px 0; }
  .section-head { align-items: center; gap: 10px; }
  .section-head a { font-size: 12px; text-align: right; }
  .grid { gap: 11px; }
  .card { padding: 8px; border-radius: 16px; }
  .card > a:first-of-type { border-radius: 11px; }
  .card .photo { height: clamp(130px, 40vw, 210px); }
  .card h3 { margin: 12px 3px 5px; font-size: 15px; }
  .card > a:nth-of-type(2) .muted { margin: 0 3px; font-size: 11px; }
  .card .price-box { margin: 11px 3px 8px; }
  .price-box .now { font-size: 19px; }
  .price-box .off { padding: 3px 5px; font-size: 10px; }
  .price-box .save { font-size: 10px; }
  .card-foot { align-items: flex-start; flex-direction: column; margin: auto 3px 2px; gap: 8px; }
  .card-foot .btn { width: 100%; padding: 9px 7px !important; font-size: 11px; }
  .tags { top: 16px; left: 16px; gap: 4px; }
  .tag { padding: 5px 7px; font-size: 10px; }
  .heart { top: 13px; right: 13px; width: 33px; height: 33px; }
  .product { grid-template-columns: 1fr; gap: 22px; }
  .photo-lg { min-height: 300px; }
  .photo-lg > img { height: min(82vw, 390px); }
  .product h1 { font-size: 32px; }
  .product .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .product .hero-actions .btn { padding: 10px 8px; font-size: 13px; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr; gap: 10px; padding: 12px; }
  .cart-item img { width: 64px; height: 64px; }
  .cart-item .right { grid-column: 2; display: flex; gap: 8px; align-items: center; }
  #checkout { padding: 19px; }
  .footer { padding: 28px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.brand-logo {
  object-fit: contain;
  padding: 2px;
  border: 1px solid rgba(180, 143, 76, 0.42);
  background: #25231f;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(180, 143, 76, 0.26), 0 7px 20px rgba(35, 31, 23, 0.17);
}
.brand-logo.md { padding: 3px; }

.hero-showcase {
  position: relative;
  min-width: 0;
  min-height: 390px;
  overflow: hidden;
  background: #f1eee7;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: none;
  overflow: hidden;
  background: #f1eee7;
}
.hero-slide.on {
  display: block;
  animation: hero-slide-in 0.42s ease both;
}
.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(.2,.7,.2,1);
}
.hero-slide:not(.is-brand):hover > img { transform: scale(1.025); }
.hero-slide.is-brand {
  display: none;
  background: radial-gradient(ellipse at 50% 45%, #55452c 0%, #302a20 44%, #211f1b 100%);
}
.hero-slide.is-brand.on { display: grid; place-items: center; }
.hero-slide.is-brand > img {
  width: min(100%, 430px);
  height: 100%;
  object-fit: contain;
  padding: 18px;
}
.hero-slide .tags { top: 20px; left: 20px; }
.hero-slide .hero-price { z-index: 1; }
.hero-carousel-controls {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  pointer-events: none;
}
.hero-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 4px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #272620;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 16px rgba(20, 19, 17, 0.14);
  transition: transform 0.18s ease, background 0.18s ease;
}
.hero-arrow:hover { transform: scale(1.07); background: #fff; }
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  display: flex;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(35, 33, 29, 0.42);
  transform: translateX(-50%);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}
.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.hero-dot.on { width: 22px; border-radius: 999px; background: #fff; }

@keyframes hero-slide-in {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

@media (max-width: 980px) {
  .hero-showcase { min-height: 340px; }
}

@media (max-width: 640px) {
  .brand-logo.sm { padding: 1px; }
  .hero-showcase { min-height: 280px; }
  .hero-slide.is-brand > img { padding: 14px; }
  .hero-arrow { width: 36px; height: 36px; font-size: 26px; }
  .hero-carousel-controls { padding: 0 10px; }
  .hero-dots { bottom: 12px; }
  .hero-slide .tags { top: 14px; left: 14px; }
  .hero-slide .hero-price { left: 12px; bottom: 12px; }
}