/* ===== OMBRAVEL — matte shadow theme ===== */
:root {
  --bg: #0e0d0b;
  --surface: #16140f;
  --surface-2: #1d1a14;
  --ink: #ece7dd;
  --muted: #948d7f;
  --line: #2a261e;
  --sand: #d8c9ae;
  --radius: 16px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 13, 11, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.34em;
  font-size: 0.95rem;
  color: var(--sand);
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin-left: auto;
  font-size: 0.88rem;
  color: var(--muted);
}

.nav-links a:hover { color: var(--ink); }

.ig-link {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
}

.ig-link:hover { color: var(--sand); border-color: var(--sand); }

/* ===== Hero ===== */
.hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 84px 24px 64px;
  text-align: center;
}

.hero-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.hero-sub {
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 34px;
}

/* Finder */
.finder {
  display: flex;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}

.finder input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  color: var(--ink);
  font-size: 0.95rem;
  outline: none;
}

.finder input:focus { border-color: var(--sand); }

.finder input::placeholder { color: #6b6558; }

.finder button {
  background: var(--sand);
  color: #14120d;
  border: none;
  border-radius: 12px;
  padding: 0 26px;
  font-weight: 650;
  font-size: 0.92rem;
  transition: opacity 0.15s ease;
}

.finder button:hover { opacity: 0.88; }

.finder-hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
}

/* Result */
.result { margin-top: 40px; text-align: left; }

.result-head { margin-bottom: 14px; }

.result-video {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
}

.result-items { display: grid; gap: 14px; }

.item-card {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.item-thumb {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px dashed #3a352a;
  background: repeating-linear-gradient(45deg, #1d1a14, #1d1a14 10px, #211d16 10px, #211d16 20px);
  display: grid;
  place-items: center;
  color: #6b6558;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.item-info { flex: 1; min-width: 0; }

.item-name { font-weight: 650; font-size: 1rem; }

.item-meta { color: var(--muted); font-size: 0.84rem; margin-top: 2px; }

.item-specs {
  color: #7d766a;
  font-size: 0.78rem;
  margin-top: 4px;
}

.item-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.item-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--sand);
  color: var(--sand);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.item-link:hover { background: var(--sand); color: #14120d; }

.region-badge {
  display: inline-grid;
  place-items: center;
  background: var(--sand);
  color: #14120d;
  border-radius: 6px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 6px;
}

.item-link:hover .region-badge { background: #14120d; color: var(--sand); }

.drop-links { display: flex; gap: 10px; flex-shrink: 0; }

/* Finder result: rich product cards */
.result-img {
  display: block;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f2ee;
}

.result-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.item-name a:hover { color: var(--sand); }

.result-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.result-details { font-size: 0.82rem; color: var(--sand); }

.result-details:hover { text-decoration: underline; }

.drop-getlink {
  background: none;
  border: none;
  color: var(--sand);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 0;
  white-space: nowrap;
}

.drop-getlink:hover { text-decoration: underline; }

/* Not found */
.notfound {
  margin-top: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  text-align: left;
}

.notfound-sub { color: var(--muted); font-size: 0.88rem; margin-top: 6px; }

/* ===== Drops ===== */
.drops {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.drops h2, .how h2 {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.drops-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 8px 0 36px;
}

.drops-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.drop-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.drop-date {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.drop-title { font-weight: 650; margin: 6px 0 14px; }

.drop-items { display: grid; gap: 8px; }

.drop-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 8px;
  font-size: 0.86rem;
}

.drop-item span { color: var(--muted); }

.drop-item a {
  color: var(--sand);
  font-weight: 600;
  white-space: nowrap;
}

.drop-item a:hover { text-decoration: underline; }

/* ===== How ===== */
.how {
  border-top: 1px solid var(--line);
  padding: 64px 24px 72px;
}

.how-grid {
  max-width: 900px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.how-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.how-card strong { color: var(--ink); }

.how-num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--sand);
  color: var(--sand);
  font-weight: 700;
  margin-bottom: 14px;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 24px 32px;
  text-align: center;
}

.footer-brand { display: block; margin-bottom: 16px; }

.disclosure {
  max-width: 60ch;
  margin: 0 auto 18px;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-note { font-size: 0.75rem; color: #5f594d; }

/* ===== Shop section ===== */
.shop {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 64px;
}

.shop h2 {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.cat-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.cat-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.cat-chip:hover { color: var(--ink); border-color: var(--sand); }

.cat-chip.is-active {
  background: var(--sand);
  border-color: var(--sand);
  color: #14120d;
}

.cat-chip.is-empty { opacity: 0.5; }

.cat-count {
  font-size: 0.7rem;
  opacity: 0.75;
  margin-left: 2px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shop-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-card:hover { border-color: var(--sand); transform: translateY(-2px); }

.product-card-img {
  display: block;
  aspect-ratio: 1 / 1.05;
  background: #f4f2ee;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-card-brand {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card-name {
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.35;
}

.product-card-name:hover { color: var(--sand); }

.product-card-price {
  color: var(--sand);
  font-weight: 650;
  margin: 4px 0 10px;
}

/* Get-the-link button */
.get-link-btn {
  background: var(--sand);
  color: #14120d;
  border: none;
  border-radius: 12px;
  padding: 15px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: opacity 0.15s ease;
}

.get-link-btn:hover { opacity: 0.88; }

.get-link-sm {
  padding: 11px 18px;
  font-size: 0.85rem;
  margin-top: auto;
}

.get-link-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 10px;
}

/* ===== Country modal ===== */
.modal-backdrop[hidden] { display: none; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 7, 5, 0.72);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
}

.modal h3 { font-size: 1.15rem; }

.modal-sub {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 6px 0 20px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}

.modal-close:hover { color: var(--ink); border-color: var(--sand); }

.country-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.country-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.country-btn:hover { border-color: var(--sand); }

.country-btn.is-disabled { opacity: 0.45; cursor: not-allowed; }

.country-flag { font-size: 1.2rem; }

.country-name { flex: 1; }

.country-soon {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.modal-note {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 18px;
}

/* Similar-item warning */
.country-sub {
  display: block;
  font-size: 0.64rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #d9a441;
}

.country-warn {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #d9a441;
  color: #14120d;
  font-size: 0.72rem;
  font-weight: 800;
}

.country-btn.has-note { border-color: #6b5527; }

.country-btn.has-note:hover { border-color: #d9a441; }

.country-note {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid #6b5527;
  border-radius: 12px;
  padding: 14px 16px;
  text-align: left;
}

.country-note[hidden] { display: none; }

.country-note-text {
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.5;
}

.country-note-text .country-warn { margin-right: 6px; vertical-align: -3px; }

.country-note-go {
  display: inline-block;
  margin-top: 10px;
  background: #d9a441;
  color: #14120d;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 0.82rem;
  font-weight: 700;
}

.country-note-go:hover { opacity: 0.88; }

/* ===== Product page ===== */
.product-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 36px 24px 72px;
  min-height: 50vh;
}

.product-loading {
  text-align: center;
  color: var(--muted);
  padding: 80px 0;
}

.crumbs {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 26px;
}

.crumbs a:hover { color: var(--sand); }

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: start;
}

/* Gallery */
.gallery-main-wrap {
  background: #f4f2ee;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1.08;
}

.gallery-main-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #f4f2ee;
  padding: 0;
  flex-shrink: 0;
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-thumb.is-active { border-color: var(--sand); }

/* Info column */
.product-badge {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--sand);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 14px;
}

.product-brand {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-title {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 650;
  line-height: 1.3;
  margin: 6px 0 10px;
}

.product-rating {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.stars { color: var(--sand); letter-spacing: 0.1em; }

.product-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 18px;
}

.price-note {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

.product-attr {
  font-size: 0.88rem;
  color: var(--ink);
  padding: 7px 0;
  border-top: 1px solid var(--line);
}

.product-attr span {
  display: inline-block;
  width: 80px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sizes */
.sizes { margin: 20px 0 24px; }

.sizes-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.size-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.size-pill {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  min-width: 46px;
  padding: 9px 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.size-pill:hover { border-color: var(--sand); }

.size-pill.is-active {
  background: var(--sand);
  border-color: var(--sand);
  color: #14120d;
}

.size-note {
  font-size: 0.78rem;
  color: var(--sand);
  margin-top: 10px;
}

/* About */
.about { margin-top: 30px; }

.about h2 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.about ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.about li {
  color: var(--muted);
  font-size: 0.88rem;
  padding-left: 18px;
  position: relative;
}

.about li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--sand);
}

/* Size chart */
.size-chart { margin-top: 52px; }

.size-chart h2 { font-size: 1.15rem; margin-bottom: 16px; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.size-chart table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 560px;
}

.size-chart th, .size-chart td {
  padding: 11px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.size-chart thead th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.size-chart tbody th { color: var(--sand); font-weight: 700; }

.size-chart td { color: var(--muted); }

.size-chart tbody tr:last-child th,
.size-chart tbody tr:last-child td { border-bottom: none; }

/* ===== Responsive ===== */
@media (max-width: 820px) {
  .drops-grid, .how-grid { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 540px) {
  .drops-grid, .how-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .finder { flex-direction: column; }
  .finder button { padding: 14px; }
  .item-card { flex-wrap: wrap; }
  .country-grid { grid-template-columns: 1fr; }
}
