
:root {
  --ink: #111827;
  --muted: #667085;
  --line: #e7e2d8;
  --canvas: #fbf8f2;
  --panel: #ffffff;
  --brand: #111827;
  --brand-2: #7c5c3e;
  --accent: #d9b98f;
  --soft: #f1eadf;
  --success: #28684a;
  --warning: #9a5a12;
  --danger: #a53d35;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(17, 24, 39, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }

.announcement {
  background: #111827;
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231, 226, 216, .85);
}
.navbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.logo img { width: 148px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #30343b;
  font-size: 15px;
}
.nav-links a { border-bottom: 2px solid transparent; padding: 6px 0; }
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.currency {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  font-size: 13px;
}
.cart-link {
  background: var(--brand);
  color: white;
  border-radius: 999px;
  padding: 10px 15px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
}
.cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 76px 0; }
.section-tight { padding: 44px 0; }
.eyebrow {
  color: var(--brand-2);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 0 10px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-heading h2, .page-title h1 {
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: -.05em;
  line-height: 1.05;
  margin: 0;
}
.section-heading p, .page-title p { color: var(--muted); margin: 10px 0 0; max-width: 620px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 68px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(217,185,143,.36), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(124,92,62,.18), transparent 26%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(46px, 8vw, 88px);
  line-height: .94;
  letter-spacing: -.07em;
  margin: 0 0 22px;
}
.hero p { color: #49505a; font-size: 18px; max-width: 620px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn-primary, .btn-secondary, .btn-ghost {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--brand); color: white; box-shadow: 0 14px 28px rgba(17, 24, 39, .18); }
.btn-primary:hover, .btn-secondary:hover, .btn-ghost:hover { transform: translateY(-2px); }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-block { width: 100%; }
.hero-card {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.hero-card img { border-radius: 24px; width: 100%; }
.hero-product-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px 4px 4px;
  align-items: center;
}
.hero-product-row h3 { margin: 0; font-size: 20px; }
.hero-product-row p { margin: 4px 0 0; font-size: 14px; }
.price { font-weight: 900; font-size: 19px; }
.price del { color: var(--muted); font-size: 14px; margin-left: 6px; font-weight: 600; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.stat {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.74);
  border-radius: 16px;
  padding: 16px;
}
.stat strong { display: block; font-size: 20px; }
.stat span { color: var(--muted); font-size: 13px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(17, 24, 39, .05);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.product-media { position: relative; background: #f4efe6; }
.product-media img { width: 100%; aspect-ratio: 4/4.8; object-fit: cover; }
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
}
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-kicker { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.product-card h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.product-card p { color: var(--muted); margin: 0; font-size: 14px; }
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
}
.add-btn {
  border: 0;
  cursor: pointer;
  background: var(--brand);
  color: white;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  white-space: nowrap;
}
.add-btn:hover { background: #2b3342; }

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.category-card {
  min-height: 210px;
  border-radius: 24px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  background: linear-gradient(145deg, #fff, #efe5d7);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(17,24,39,.05);
}
.category-card:nth-child(2) { background: linear-gradient(145deg, #f7f2ea, #d9e1dd); }
.category-card:nth-child(3) { background: linear-gradient(145deg, #fff7ec, #e8d2b9); }
.category-card:nth-child(4) { background: linear-gradient(145deg, #f6f6f6, #d6dde5); }
.category-card h3 { margin: 0 0 6px; font-size: 22px; }
.category-card p { margin: 0; color: var(--muted); }

.feature-band {
  background: #111827;
  color: #fff;
  border-radius: 32px;
  padding: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature-band h3 { margin: 0 0 8px; }
.feature-band p { margin: 0; color: rgba(255,255,255,.72); }

.newsletter {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}
.newsletter h2 { margin: 0 0 8px; font-size: clamp(26px, 4vw, 42px); letter-spacing: -.04em; }
.newsletter p { margin: 0; color: var(--muted); }
.newsletter-form { display: flex; gap: 10px; }
.input, .select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }

.page-title { padding: 58px 0 26px; }
.toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}
.filter-btn.active { background: var(--brand); color: #fff; }
.empty-state {
  grid-column: 1/-1;
  border: 1px dashed var(--line);
  background: rgba(255,255,255,.7);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  color: var(--muted);
}

.cart-layout, .checkout-layout, .content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(17,24,39,.04);
}
.cart-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row:last-child { border-bottom: 0; }
.cart-row img { border-radius: 14px; background: var(--soft); }
.cart-row h3 { margin: 0 0 4px; }
.cart-row p { margin: 0; color: var(--muted); font-size: 14px; }
.qty-control { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; }
.qty-control button, .remove-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  min-width: 34px;
  height: 34px;
  cursor: pointer;
  font-weight: 800;
}
.remove-btn { color: var(--danger); padding: 0 12px; }
.summary-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary-line.total { border-bottom: 0; font-size: 21px; font-weight: 900; }
.note { color: var(--muted); font-size: 13px; margin: 12px 0 0; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.label { display: block; font-size: 13px; color: #475467; font-weight: 800; margin: 0 0 6px; }
.shipping-options, .payment-options { display: grid; gap: 12px; }
.option-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  background: #fff;
}
.option-card strong { display: block; }
.option-card span { color: var(--muted); font-size: 13px; }
.payment-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 7px 12px;
  background: #ffc439;
  color: #003087;
  font-weight: 900;
  letter-spacing: -.02em;
}
.paypal-placeholder {
  border: 1px solid #d8e3f6;
  background: #f7faff;
  border-radius: 18px;
  padding: 16px;
  margin-top: 12px;
}
.paypal-button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #ffc439;
  color: #003087;
  padding: 13px 18px;
  font-weight: 900;
  cursor: pointer;
}
.fake-card-form {
  display: grid;
  gap: 12px;
}
.card-logos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.card-logo { border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; background: #fff; font-size: 12px; font-weight: 800; color: var(--muted); }

.contact-card h2, .policy h2 { margin-top: 0; }
.policy h3 { margin-top: 28px; }
.policy p, .policy li { color: #475467; }
.policy ul { padding-left: 20px; }

.footer {
  margin-top: 70px;
  background: #111827;
  color: #fff;
  padding: 52px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .95fr;
  gap: 34px;
}
.footer h3 { margin: 0 0 14px; font-size: 18px; }
.footer p, .footer li { color: rgba(255,255,255,.72); margin: 0 0 8px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer a:hover { color: #fff; text-decoration: underline; }
.company-details p { margin-bottom: 10px; }
.company-details strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 34px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}
.payment-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-badges span { border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 5px 9px; }

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #111827;
  color: white;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero-grid, .cart-layout, .checkout-layout, .content-layout, .newsletter { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-strip, .feature-band, .footer-grid { grid-template-columns: 1fr 1fr; }
  .toolbar { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .announcement { font-size: 11px; }
  .navbar { flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .currency { display: none; }
  .hero { padding-top: 48px; }
  .hero-stats, .product-grid, .category-strip, .feature-band, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  .cart-row { grid-template-columns: 78px 1fr; }
  .cart-row > .price { grid-column: 2; }
}
