@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --ink: #121212;
  --ink-soft: #55524c;
  --red: #960000;
  --red-dark: #6b0000;
  --line: #e7e4dd;
  --soft: #f7f6f2;
  --radius: 2px;
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.display {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.92;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo { height: 40px; }
.header-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius);
  background: transparent;
  transition: all .15s ease;
}
.header-cart:hover { background: var(--ink); color: #fff; }
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0a0a0a;
}
.hero img.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0.88;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px 24px 56px;
  width: 100%;
  color: #fff;
}
.hero-content .wrap { padding: 0; }
.hero-tag {
  color: #e7c9c9;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(52px, 11vw, 128px);
  margin: 0 0 14px;
  color: #fff;
}
.hero p {
  max-width: 480px;
  font-size: 16px;
  color: #f1efe9;
  margin: 0 0 26px;
  line-height: 1.5;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: all .15s ease;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Seal / stamp signature element ---------- */
.stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px; height: 84px;
  border: 2px dashed var(--red);
  border-radius: 50%;
  transform: rotate(-8deg);
  color: var(--red);
  font-family: 'Anton', sans-serif;
  font-size: 10px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.15;
  padding: 6px;
  flex-shrink: 0;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}
.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 18px 24px;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.trust-item .dot { color: var(--red); font-size: 18px; line-height: 0; }

/* ---------- Section headings ---------- */
.section { padding: 84px 0; }
.section-head { margin-bottom: 44px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(34px, 5vw, 54px); margin: 8px 0 0; }
.section-head p { color: var(--ink-soft); max-width: 420px; margin: 0; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card .thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f1f0eb;
}
.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .thumb img { transform: scale(1.045); }
.product-card .thumb .thumb-alt {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
}
.product-card:hover .thumb .thumb-alt { opacity: 1; }
.product-card .info { padding: 18px 20px 24px; }
.product-card .info .name { font-weight: 800; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 4px; }
.product-card .info .cut { font-size: 12.5px; color: var(--ink-soft); margin-bottom: 10px; }
.product-card .info .price { font-weight: 700; font-size: 15px; color: var(--red); }
.product-card .sold-out-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  padding: 5px 10px; text-transform: uppercase;
}
.product-card .discount-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  padding: 5px 10px; text-transform: uppercase;
}
.price-row { display: flex; align-items: baseline; gap: 8px; }
.price-old { font-size: 12.5px; color: var(--ink-soft); text-decoration: line-through; }
.stock-msg {
  font-size: 11.5px; font-weight: 700; color: var(--red);
  margin-top: 4px; text-transform: uppercase; letter-spacing: 0.02em;
}
.discount-banner {
  display: none;
  background: var(--red); color: #fff;
  text-align: center; font-size: 13px; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 10px 18px;
}

/* ---------- Product modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(10,10,10,0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 24px 16px;
}
.modal-overlay.open { display: flex; }
.product-modal {
  background: #fff;
  max-width: 1040px;
  width: 100%;
  margin: 24px auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  position: relative;
}
@media (max-width: 800px) { .product-modal { grid-template-columns: 1fr; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 36px; height: 36px;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  border-radius: 50%;
}
.modal-gallery-main { aspect-ratio: 4/5; background: #f1f0eb; overflow: hidden; }
.modal-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumbs { display: flex; gap: 6px; padding: 8px; flex-wrap: wrap; }
.modal-thumbs img {
  width: 56px; height: 56px; object-fit: cover; cursor: pointer;
  border: 1.5px solid transparent; opacity: .65;
}
.modal-thumbs img.active { border-color: var(--red); opacity: 1; }
.model-info-caption {
  padding: 10px 8px 0;
  font-size: 12px;
  color: var(--ink-soft);
  font-style: italic;
}
.modal-details { padding: 40px 36px; }
.modal-details h3 { font-size: 30px; margin: 0 0 6px; }
.modal-details .price { color: var(--red); font-weight: 700; font-size: 20px; margin-bottom: 20px; }
.modal-details .desc { white-space: pre-line; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin-bottom: 24px; }
.modal-details .cut-tag {
  display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; border: 1px solid var(--ink); padding: 5px 10px; margin-bottom: 22px;
}

.field-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; display: block; }
.variant-row, .size-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.variant-pill, .size-pill {
  border: 1.5px solid var(--ink);
  padding: 9px 16px;
  font-size: 13px; font-weight: 700;
  background: #fff;
}
.variant-pill.active, .size-pill.active { background: var(--ink); color: #fff; }
.size-pill.unavailable { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.size-guide-link { font-size: 12px; text-decoration: underline; color: var(--ink-soft); margin-bottom: 22px; display: inline-block; background:none; border:none; padding:0; }
.size-chart-table { width: 100%; border-collapse: collapse; margin: 10px 0 22px; font-size: 13px; }
.size-chart-table th, .size-chart-table td { border: 1px solid var(--line); padding: 7px 10px; text-align: center; }
.size-chart-table th { background: var(--soft); font-weight: 700; }

.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.qty-btn { width: 32px; height: 32px; border: 1px solid var(--ink); background: #fff; font-size: 16px; }
.qty-val { font-weight: 700; min-width: 20px; text-align: center; }

/* ---------- Cart drawer ---------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(10,10,10,0.45); z-index: 90; display: none; }
.cart-overlay.open { display: block; }
.cart-drawer {
  position: fixed; top: 0; right: -420px; width: 400px; max-width: 92vw; height: 100%;
  background: #fff; z-index: 95; transition: right .28s ease;
  display: flex; flex-direction: column;
}
.cart-drawer.open { right: 0; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.cart-head h3 { margin: 0; font-size: 18px; text-transform: uppercase; letter-spacing: 0.04em; }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 24px; }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 66px; height: 82px; object-fit: cover; background: #f1f0eb; }
.cart-item .meta { flex: 1; }
.cart-item .meta .name { font-weight: 700; font-size: 13.5px; text-transform: uppercase; }
.cart-item .meta .variant { font-size: 12px; color: var(--ink-soft); margin: 3px 0 8px; }
.cart-item .meta .row { display: flex; align-items: center; justify-content: space-between; }
.cart-item .remove { font-size: 11.5px; text-decoration: underline; color: var(--ink-soft); background: none; border: none; }
.cart-empty { padding: 60px 24px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.cart-footer { border-top: 1px solid var(--line); padding: 20px 24px 26px; }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 800; font-size: 16px; margin-bottom: 16px; }
.cart-footer .btn { width: 100%; justify-content: center; }

/* ---------- Checkout ---------- */
.checkout-form { padding: 0 24px; max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 18px; }
.form-group label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); font-family: inherit; font-size: 14px; border-radius: var(--radius);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--ink); }
.ship-toggle { display: flex; gap: 10px; margin-bottom: 18px; }
.ship-toggle button {
  flex: 1; padding: 11px 10px; border: 1.5px solid var(--ink); background: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; line-height: 1.5;
}
.ship-toggle button small { font-size: 11px; text-transform: none; letter-spacing: 0; }
.ship-toggle button.active { background: var(--ink); color: #fff; }
.payment-box { background: var(--soft); border: 1px solid var(--line); padding: 18px 20px; margin: 22px 0; font-size: 13.5px; line-height: 1.7; }
.payment-box strong { color: var(--red); }
.payment-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }
.order-summary-mini { background: var(--soft); border: 1px solid var(--line); padding: 16px 20px; margin-bottom: 22px; font-size: 13.5px; }
.order-summary-mini .line { display: flex; justify-content: space-between; padding: 4px 0; }
.order-summary-mini .total { font-weight: 800; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }

/* ---------- Info sections ---------- */
.info-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 760px) { .info-block { grid-template-columns: 1fr; } }
.info-block img { width: 100%; border: 1px solid var(--line); }
.info-block .copy h3 { font-size: 30px; margin: 6px 0 16px; }
.info-block .copy p { color: var(--ink-soft); line-height: 1.7; font-size: 14.5px; }
.info-block .copy ul { padding-left: 18px; color: var(--ink-soft); line-height: 1.8; font-size: 14px; }

.payment-grid { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; align-items: center; }
.payment-grid img { max-height: 60px; width: auto; filter: grayscale(1); opacity: .8; }

/* ---------- Footer ---------- */
footer { background: #0e0e0e; color: #fff; padding: 56px 0 30px; margin-top: 40px; }
footer .brand-logo { height: 34px; margin-bottom: 18px; filter: brightness(0) invert(1); }
footer p { color: #b8b6b1; font-size: 13px; line-height: 1.7; max-width: 340px; }
footer .foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
footer .foot-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #d8d6cf; margin-bottom: 14px; }
footer .foot-col a { display: block; color: #b8b6b1; font-size: 13.5px; margin-bottom: 9px; }
footer .foot-bottom { border-top: 1px solid #262626; margin-top: 40px; padding-top: 20px; font-size: 12px; color: #706e68; }

/* ---------- WhatsApp float button ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 14px 24px; border-radius: var(--radius);
  font-size: 13.5px; z-index: 200; opacity: 0; pointer-events: none; transition: all .25s ease;
  max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.confirm-screen { text-align: center; padding: 90px 24px; max-width: 520px; margin: 0 auto; }
.confirm-screen .stamp { margin: 0 auto 24px; }
.confirm-screen h2 { font-size: 30px; margin-bottom: 14px; }
.confirm-screen p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 10px; }

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .modal-details { padding: 28px 22px; }
}
