/* MinniShop — Zenis-inspired e-commerce theme
   Gold #FFB800 · Navy #0A1D37 · Clean marketplace layout */
:root {
  --gold: #FFB800;
  --gold-dark: #E5A400;
  --gold-soft: #FFF6D9;
  --navy: #0A1D37;
  --navy-2: #071526;
  --ink: #1b1b1b;
  --text: #333;
  --muted: #777;
  --border: #ececec;
  --line: #e8e8e8;
  --bg: #fff;
  --bg-soft: #f7f7f7;
  --red: #e74c3c;
  --blue: #2f80ed;
  --green: #27ae60;
  --buy: #2ecc71;
  --peach: #ffe8d4;
  --sky: #dcefff;
  --mint: #d8f6ea;
  --teal: #d4f3f4;
  --taupe: #8d8a82;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(10, 29, 55, 0.08);
  --container: 1320px;
  --font: "Jost", "Segoe UI", sans-serif;
  --logo: "Outfit", "Jost", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--logo); color: var(--ink); margin: 0 0 12px; line-height: 1.25; }
p { margin: 0 0 14px; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  border-radius: 6px;
  padding: 12px 22px;
  transition: .2s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #111; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #13284a; }
.btn-green { background: var(--buy); color: #fff; }
.btn-green:hover { filter: brightness(.95); }
.btn-outline {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }

/* Top header */
.topbar {
  background: #f4f4f4;
  font-size: 13px;
  color: #666;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}
.topbar span { color: var(--muted); }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar select {
  border: 0;
  background: transparent;
  color: #555;
  font-size: 13px;
}

.header-main {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.header-main .container {
  display: grid;
  grid-template-columns: 220px 1fr 230px;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--logo);
  font-weight: 800;
  font-size: 28px;
  color: #111;
  letter-spacing: -0.4px;
}
.brand img, .brand svg { width: 44px; height: 44px; }
.brand span { color: #111; }

.search-wrap {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 40px;
  overflow: hidden;
  height: 50px;
  background: #fff;
}
.search-wrap select {
  border: 0;
  border-right: 1px solid #eee;
  padding: 0 14px;
  min-width: 150px;
  background: #fff;
  color: #555;
}
.search-wrap input {
  flex: 1;
  border: 0;
  padding: 0 16px;
  outline: none;
  min-width: 0;
}
.search-wrap button {
  width: 50px;
  border: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}
.search-wrap button:hover { background: var(--navy); }

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  align-items: center;
}
.ha {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #444;
  position: relative;
}
.ha i { font-size: 20px; color: #222; }
.ha .badge {
  position: absolute;
  top: -6px;
  right: 2px;
  background: var(--gold);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.ha small { color: #888; font-size: 11px; }

/* Nav */
.nav-bar {
  background: #f3f3f3;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 2px 10px rgba(10,29,55,.04);
}
.nav-bar .container {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 62px;
}
.cat-btn {
  background: var(--gold);
  color: #111;
  border: 0;
  height: 62px;
  padding: 0 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: -16px;
}
.nav-links {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 0;
  flex: 1;
  flex-wrap: nowrap;
}
.nav-links a,
.nav-links .drop > a {
  display: inline-flex;
  align-items: center;
  height: 62px;
  padding: 0 16px;
  font-weight: 600;
  color: #222;
  font-size: 15px;
  line-height: 1;
  white-space: nowrap;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-dark); }
.nav-links .drop {
  position: relative;
  display: flex;
  align-items: center;
  height: 62px;
}
.nav-links .drop > a i {
  font-size: 10px;
  margin-left: 6px;
  line-height: 1;
}
.nav-links .drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 10px 0;
  z-index: 20;
}
.nav-links .drop:hover .drop-menu { display: block; }
.nav-links .drop-menu a {
  display: flex;
  height: auto;
  padding: 8px 16px;
  font-weight: 500;
  white-space: normal;
}

.nav-right { display: flex; gap: 16px; align-items: center; }
.nav-right .ha { flex-direction: row; gap: 6px; font-size: 13px; font-weight: 600; }
.mobile-toggle {
  display: none;
  background: var(--navy);
  color: #fff;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
}

/* Page banner */
.page-banner {
  background:
    linear-gradient(90deg, rgba(90,86,78,.72), rgba(90,86,78,.55)),
    url("../img/banners/rack.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 58px 16px 50px;
  position: relative;
}
.page-banner h1 { color: #fff; font-size: 48px; font-weight: 800; margin-bottom: 8px; }
.breadcrumb { color: #f3f3f3; font-size: 14px; }
.breadcrumb a:hover { color: var(--gold); }

/* Hero */
.home-hero { padding: 24px 0 10px; }
.hero-grid {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 18px;
}
.cat-side {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.cat-side h4 {
  background: var(--navy);
  color: #fff;
  margin: 0;
  padding: 14px 16px;
  font-size: 15px;
}
.cat-side a {
  display: flex;
  justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid #f2f2f2;
  font-size: 14px;
  color: #333;
}
.cat-side a:hover { color: var(--gold-dark); background: #fffaf0; }
.cat-side i { color: var(--gold); width: 18px; }

.hero-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 390px;
  background: #f6f1ea url("../img/banners/hero-1.jpg") 78% center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 36px;
}
.hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.97) 34%, rgba(255,255,255,.78) 52%, rgba(255,255,255,.15) 70%, rgba(255,255,255,0) 82%);
}
.hero-main .copy {
  max-width: 400px;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.92);
  padding: 22px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(10, 29, 55, .08);
}
.hero-main .kicker { color: var(--gold-dark); font-weight: 700; letter-spacing: .4px; }
.hero-main h2 { font-size: 38px; margin: 8px 0 12px; color: #111; line-height: 1.2; }
.hero-main .copy p { color: #555; }
.hero-side { display: grid; gap: 18px; }
.mini-banner {
  border-radius: 12px;
  overflow: hidden;
  min-height: 186px;
  background-size: cover;
  background-position: center;
  padding: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.mini-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,29,55,.55), transparent 55%);
}
.mini-banner * { position: relative; z-index: 1; }
.mini-banner h3 { color: #fff; font-size: 20px; }

/* Features */
.features { padding: 18px 0 8px; }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.feat {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 16px;
  border-radius: 12px;
}
.feat i {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  color: var(--gold-dark);
  font-size: 20px;
  flex-shrink: 0;
}
.feat h5 { margin: 0 0 2px; font-size: 16px; }
.feat p { margin: 0; font-size: 13px; color: #666; }
.feat.peach { background: var(--peach); }
.feat.sky { background: var(--sky); }
.feat.mint { background: var(--mint); }
.feat.teal { background: var(--teal); }

/* Sections */
.section { padding: 42px 0; }
.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.sec-head h2 { font-size: 30px; }
.sec-head h2 span {
  display: block;
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin-top: 8px;
  border-radius: 2px;
}
.tabs { display: flex; gap: 8px; }
.tabs button {
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
}
.tabs button.active, .tabs button:hover { background: var(--gold); border-color: var(--gold); }

.timer { display: flex; gap: 8px; align-items: center; color: var(--gold-dark); font-weight: 700; }
.timer b {
  background: var(--gold);
  color: #111;
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 16px;
}
.timer span { font-size: 12px; color: #888; font-weight: 500; display: block; text-align: center; }

/* Product cards */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.prod-grid.g4 { grid-template-columns: repeat(4, 1fr); }
.prod-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  transition: .2s ease;
}
.prod-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.prod-card .img {
  height: 230px;
  background: #f6f6f6;
  position: relative;
  overflow: hidden;
}
.prod-card .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s ease;
}
.prod-card:hover .img img { transform: scale(1.05); }
.badge-sale, .badge-new, .badge-hot, .badge-oos {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  color: #fff;
  z-index: 2;
}
.badge-sale { background: var(--red); }
.badge-new { background: var(--blue); left: auto; right: 10px; }
.badge-hot { background: var(--navy); left: auto; right: 10px; top: 36px; }
.badge-oos {
  inset: 0; left: 0; top: 0; border-radius: 0;
  background: rgba(20,20,20,.55);
  display: grid; place-items: center; font-size: 14px;
}
.prod-actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: .2s ease;
}
.prod-card:hover .prod-actions { opacity: 1; transform: none; }
.prod-actions button {
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
  cursor: pointer;
}
.prod-actions button:hover { background: var(--gold); }
.prod-card .body { padding: 12px 12px 14px; }
.prod-card h3 { font-size: 15px; margin: 0 0 6px; min-height: 40px; }
.prod-card h3 a:hover { color: var(--gold-dark); }
.stars { color: var(--gold); font-size: 12px; margin-bottom: 6px; }
.stars span { color: #999; margin-left: 4px; }
.price { font-weight: 700; color: var(--gold-dark); font-size: 16px; }
.price s { color: #aaa; font-weight: 500; font-size: 13px; margin-left: 6px; }
.swatches { display: flex; gap: 6px; margin-top: 8px; }
.swatches i {
  width: 12px; height: 12px; border-radius: 50%;
  display: block; border: 1px solid #ddd;
}

/* Circular categories */
.circ-cats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-items: center;
  align-items: start;
  gap: 24px 18px;
  text-align: center;
  width: 100%;
}
.circ-cats a {
  width: 100%;
  max-width: 160px;
}
.circ-cats a:hover img { transform: scale(1.06); }
.circ-cats img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 10px;
  border: 4px solid #f2f2f2;
  transition: .25s ease;
}
.circ-cats h4 { font-size: 15px; margin: 0; }

/* Split trend */
.trend-split {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
}
.trend-banner {
  border-radius: 14px;
  min-height: 420px;
  background: #f8d7c4 url("../img/banners/promo.jpg") center/cover no-repeat;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.trend-banner h3 { color: #fff; font-size: 28px; }
.list-prods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.list-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
}
.list-item img { width: 90px; height: 90px; object-fit: cover; border-radius: 8px; }
.list-item h4 { font-size: 14px; margin: 0 0 4px; }

/* Promo boxes */
.best-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.promo-box {
  background: var(--gold);
  border-radius: 12px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}
.promo-box h3 { font-size: 28px; }
.promo-box p { color: #333; }

.style-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 18px;
}
.style-banner {
  border-radius: 12px;
  background: #111 url("../img/banners/hero-2.jpg") center/cover no-repeat;
  min-height: 360px;
  padding: 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.style-banner h3 { color: #fff; font-size: 30px; }
.style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Brands */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
.brand-tile {
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 90px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: .4px;
  color: #555;
  background: #fafafa;
}
.brand-tile:hover { border-color: var(--gold); color: #111; }

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: .2s;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card img { height: 190px; width: 100%; object-fit: cover; }
.blog-card .body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}
.meta { font-size: 13px; color: #888; }
.blog-card h3 { font-size: 17px; margin: 0; line-height: 1.35; }
.blog-card .card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.read { color: var(--gold-dark); font-weight: 700; font-size: 14px; }

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 30px;
  padding: 40px 0 60px;
  align-items: start;
}
.blog-layout .blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-layout > aside { min-width: 0; }
.side-box .cat-link {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.side-box .cat-link:last-child { border-bottom: 0; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

/* Newsletter */
.newsletter {
  background: #f4eadb;
  padding: 0;
  margin-top: 20px;
}
.newsletter .container {
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  align-items: center;
  gap: 20px;
  min-height: 220px;
}
.newsletter img { height: 220px; width: 100%; object-fit: cover; object-position: top; }
.news-copy { text-align: center; }
.news-copy h2 { font-size: 32px; }
.news-form { display: flex; max-width: 460px; margin: 16px auto 0; gap: 0; flex-wrap: wrap; }
.news-form .form-success { width: 100%; margin-bottom: 8px; }
.news-form input {
  flex: 1;
  border: 1px solid #e6d7c2;
  border-radius: 6px 0 0 6px;
  padding: 14px 16px;
  outline: none;
}
.news-form button { border-radius: 0 6px 6px 0; }

/* Footer */
.footer { background: var(--navy); color: #c9d2de; padding: 56px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(140px, 1fr));
  gap: 28px 24px;
  align-items: start;
}
.footer-grid > * { min-width: 0; }
.footer .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 14px;
}
.footer .brand span { color: #fff; }
.footer h4 { color: #fff; margin-bottom: 16px; font-size: 18px; }
.footer p { color: #b7c1ce; font-size: 14px; }
.footer a { color: #c9d2de; font-size: 14px; display: block; padding: 5px 0; }
.footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.footer .socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #13284a;
  display: grid;
  place-items: center;
  color: #fff;
  padding: 0;
}
.socials a:hover { background: var(--gold); color: #111; }
.footer-bottom {
  border-top: 1px solid #1c3358;
  margin-top: 36px;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  gap: 12px;
  flex-wrap: wrap;
}
.pay { display: flex; gap: 8px; align-items: center; color: #9aa8ba; }
.pay i { font-size: 26px; }

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--gold-dark);
  border: 0;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 30;
  display: none;
}
.back-top.show { display: grid; place-items: center; }

/* Shop */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  padding: 40px 0 60px;
}
.side-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 16px;
}
.side-box h4 { font-size: 16px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.side-box label { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.side-box .count { margin-left: auto; color: #999; font-size: 12px; }
.range { width: 100%; accent-color: var(--gold); }
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.toolbar select { border: 1px solid var(--border); padding: 8px 10px; border-radius: 6px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  border-radius: 6px;
  font-weight: 700;
}
.pagination .active, .pagination a:hover { background: var(--gold); border-color: var(--gold); color: #111; }

.mini-prod {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.mini-prod img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.mini-prod h5 { font-size: 13px; margin: 0 0 4px; }

/* Product details */
.pd-grid {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 18px;
  padding: 40px 0 20px;
}
.thumbs { display: flex; flex-direction: column; gap: 10px; }
.thumbs img {
  width: 80px; height: 80px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--border); cursor: pointer;
}
.thumbs img.active, .thumbs img:hover { border-color: var(--gold); }
.main-photo {
  background: #f6f6f6;
  border-radius: 12px;
  overflow: hidden;
  min-height: 460px;
}
.main-photo img { width: 100%; height: 520px; object-fit: cover; }
.pd-info .stock { color: var(--green); font-weight: 700; }
.pd-info .price { font-size: 28px; margin: 10px 0; }
.size-btns { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0 16px; }
.size-btns button {
  min-width: 42px; height: 38px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
}
.size-btns button.active { background: var(--gold); border-color: var(--gold); }
.qty-row { display: flex; gap: 10px; align-items: center; margin: 18px 0; flex-wrap: wrap; }
.qty {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.qty button { width: 36px; height: 42px; border: 0; background: #f6f6f6; cursor: pointer; }
.qty input { width: 50px; border: 0; text-align: center; }
.pd-meta { font-size: 14px; color: #666; margin-top: 16px; }
.pd-meta b { color: #222; }
.extra-links { display: flex; gap: 16px; margin-top: 12px; font-size: 14px; }
.extra-links a:hover { color: var(--gold-dark); }

.pd-lower {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  padding-bottom: 40px;
}
.tabs-bar { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 16px; flex-wrap: wrap; }
.tabs-bar button {
  background: none; border: 0; padding: 10px 16px;
  font-weight: 700; cursor: pointer; border-bottom: 2px solid transparent;
}
.tabs-bar button.active { color: var(--gold-dark); border-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.rich h3 { margin-top: 18px; }
.rich ul { list-style: disc; padding-left: 20px; }
.rich li { margin: 6px 0; }
.help-card, .vendor-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 14px;
}
.help-card p { display: flex; gap: 10px; align-items: center; margin: 8px 0; font-size: 14px; }
.help-card i { color: var(--gold-dark); }

/* Vendor */
.vendor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 40px 0 20px;
}
.vendor-card-lg {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.vendor-card-lg .cover { height: 180px; position: relative; }
.vendor-card-lg .cover img { width: 100%; height: 100%; object-fit: cover; }
.v-logo {
  width: 72px; height: 72px;
  border-radius: 10px;
  background: #fff;
  position: absolute;
  left: 18px; bottom: -28px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}
.vendor-card-lg .body { padding: 40px 18px 18px; }
.vendor-hero {
  display: grid;
  grid-template-columns: 280px 1fr 340px;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin: 32px 0;
}
.vendor-hero .cover { height: 220px; border-radius: 10px; overflow: hidden; }
.vendor-hero .cover img { width: 100%; height: 100%; object-fit: cover; }

/* Become vendor */
.two-col {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 32px;
  padding: 40px 0 60px;
}
.policy-block { margin-bottom: 26px; }
.policy-block h3 { font-size: 20px; }
.card-form {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
  position: sticky;
  top: 80px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 11px 12px;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field .err { color: var(--red); font-size: 12px; min-height: 16px; margin-top: 4px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin: 8px 0 14px; }
.form-success {
  background: #eafaf1;
  color: #1e8449;
  padding: 12px 14px;
  border-radius: 8px;
  display: none;
  margin-bottom: 12px;
}
.form-success.show { display: block; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 50px 0;
}
.about-photo { position: relative; }
.about-photo img { width: 100%; border-radius: 0 80px 0 80px; height: 480px; object-fit: cover; }
.exp-badge {
  position: absolute;
  left: -10px; bottom: 40px;
  background: var(--gold);
  width: 120px; height: 120px;
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  font-weight: 800;
  color: #111;
}
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.check-list article i { color: var(--gold-dark); margin-right: 6px; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.why-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.why-box .num {
  width: 42px; height: 42px;
  background: var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 800;
  margin-bottom: 8px;
}
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.collage img { height: 180px; width: 100%; object-fit: cover; border-radius: 12px; }
.collage img:first-child { grid-column: 1 / -1; height: 220px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 10px 0 30px;
}
.stat {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 10px;
}
.stat b { display: block; font-size: 32px; color: var(--navy); }
.video-block {
  min-height: 320px;
  border-radius: 16px;
  background: linear-gradient(rgba(10,29,55,.45), rgba(10,29,55,.45)), url("../img/banners/team.jpg") center/cover;
  display: grid; place-items: center;
  color: #fff;
}
.play {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #fff;
  color: var(--gold-dark);
  display: grid; place-items: center;
  font-size: 28px;
  border: 0;
  cursor: pointer;
}

/* Contact */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.info-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
}
.info-card i { font-size: 28px; color: var(--gold-dark); margin-bottom: 8px; }
.contact-split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  padding: 48px 0;
  align-items: center;
}
.contact-split img { width: 100%; height: 460px; object-fit: cover; border-radius: 16px; }
.map-fake {
  height: 280px;
  background:
    linear-gradient(rgba(10,29,55,.15), rgba(10,29,55,.15)),
    url("../img/banners/shop.jpg") center/cover;
  border-radius: 0;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
}

/* Cart */
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr .7fr;
  gap: 24px;
  padding: 40px 0 60px;
}
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  text-align: left;
  background: #f7f7f7;
  padding: 12px;
  font-size: 13px;
}
.cart-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-prod { display: flex; gap: 12px; align-items: center; }
.cart-prod img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.bill {
  background: #f6f6f6;
  border-radius: 12px;
  padding: 20px;
}
.bill h3 { margin-bottom: 14px; }
.bill-row { display: flex; justify-content: space-between; padding: 8px 0; }
.bill-row.total { font-size: 20px; font-weight: 800; border-top: 1px solid #ddd; margin-top: 8px; padding-top: 12px; }
.coupon { display: flex; gap: 8px; margin: 12px 0; }
.coupon input { flex: 1; border: 1px solid #ddd; border-radius: 6px; padding: 10px; }
.remove { color: var(--red); cursor: pointer; background: none; border: 0; font-weight: 600; }
.empty-cart { text-align: center; padding: 40px 10px; }

/* Legal */
.legal { padding: 40px 0 70px; max-width: 980px; }
.legal h2 { margin-top: 28px; font-size: 22px; }
.legal p, .legal li { color: #555; }
.legal ul, .legal ol { padding-left: 20px; margin: 0 0 16px; }
.legal li { margin: 6px 0; }

/* Auth modal */
.modal {
  position: fixed; inset: 0;
  background: rgba(10,29,55,.55);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 16px;
}
.modal.show { display: grid; }
.modal-card {
  background: #fff;
  width: min(440px, 100%);
  border-radius: 14px;
  padding: 24px;
  position: relative;
}
.modal-card .close {
  position: absolute; right: 12px; top: 10px;
  border: 0; background: none; font-size: 22px; cursor: pointer;
}

/* Toast / order */
.toast {
  position: fixed;
  right: 20px;
  bottom: 80px;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  display: none;
  z-index: 90;
}
.toast.show { display: block; }
.order-msg {
  display: none;
  background: #eafaf1;
  border: 1px solid #abebc6;
  color: #145a32;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-weight: 600;
}
.order-msg.show { display: block; }

/* Flash groups */
.deal-block { margin-bottom: 40px; }

/* Subscribe pages */
.simple-hero-form {
  max-width: 560px;
  margin: 40px auto 70px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow);
}

/* Mobile */
@media (max-width: 1200px) {
  .hero-grid, .pd-grid, .vendor-hero { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .header-main .container { grid-template-columns: 180px 1fr auto; }
  .trend-split, .style-row, .about-grid, .why-grid, .contact-split, .two-col, .cart-layout, .pd-lower, .shop-layout, .blog-layout {
    grid-template-columns: 1fr;
  }
  .cat-side { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .newsletter .container { grid-template-columns: 1fr; }
  .newsletter img { display: none; }
  .circ-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blog-grid,
  .blog-layout .blog-grid { grid-template-columns: 1fr 1fr; }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  .card-form { position: static; }
}
@media (max-width: 768px) {
  .header-main .container { grid-template-columns: 1fr auto; }
  .search-wrap { display: none; }
  .feat-grid, .prod-grid, .prod-grid.g4, .best-row, .stats, .contact-cards, .vendor-grid, .form-grid, .check-list, .why-boxes {
    grid-template-columns: 1fr 1fr;
  }
  .nav-links, .cat-btn { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; top: 62px;
    background: #fff;
    padding: 12px;
    box-shadow: var(--shadow);
    flex-wrap: nowrap;
  }
  .nav-links.open a,
  .nav-links.open .drop,
  .nav-links.open .drop > a {
    height: auto;
    width: 100%;
  }
  .mobile-toggle { display: grid; place-items: center; }
  .page-banner h1 { font-size: 32px; }
  .hero-main h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .circ-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .list-prods, .style-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .feat-grid, .prod-grid, .prod-grid.g4, .best-row, .stats, .contact-cards, .blog-grid, .blog-layout .blog-grid, .vendor-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .header-actions .ha:nth-child(2) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .circ-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .circ-cats img { width: 110px; height: 110px; }
}
