:root {
  color-scheme: light;
  --ink: #2b190c;
  --gold: #9a681d;
  --cream: #f5e7c2;
  --paper: #fff9eb;
  --green: #2f7347;
  --line: #d2b77c;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at top, #fff8df 0, var(--cream) 65%, #ead4a3 100%);
  font-family: Georgia, "Times New Roman", serif;
}
.shop-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 26px 18px 20px;
  text-align: center;
}
.shop-header img { width: 145px; height: 145px; object-fit: contain; }
.shop-header h1 { margin: 3px 0 7px; font-size: clamp(2rem, 5vw, 3.7rem); }
.shop-header p { margin: 3px 0; font-style: italic; }
.shop-header .eyebrow { color: var(--gold); font-style: normal; letter-spacing: .18em; font-weight: 700; }
main { width: min(1180px, calc(100% - 28px)); min-height: 360px; margin: 0 auto 32px; }
.shop-tools {
  display: grid;
  grid-template-columns: minmax(340px, 1.35fr) repeat(4, minmax(150px, .7fr)) auto;
  gap: 14px;
  align-items: end;
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 249, 235, .92);
  box-shadow: 0 8px 24px rgba(78, 50, 15, .09);
}
.shop-tools label { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; }
.shop-tools select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: #fffaf0;
  font: inherit;
}
.audience-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.audience-tabs button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fffaf0;
  font: 700 .92rem Georgia, "Times New Roman", serif;
  cursor: pointer;
}
.audience-tabs button.active {
  color: #fff;
  border-color: #6e4710;
  background: linear-gradient(135deg, #402814, #b77a18);
}
.catalogue-count { margin: 0 4px 11px; white-space: nowrap; color: #725126; font-weight: 700; }
.loading, .empty, .error {
  padding: 50px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 249, 235, .86);
}
.error { color: #8a241e; }
.catalogue { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.watch-card, .watch-detail {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 249, 235, .94);
  box-shadow: 0 12px 30px rgba(78, 50, 15, .13);
}
.watch-card.vedette { outline: 3px solid #c38b2c; }
.watch-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: #eee1c4;
}
.watch-photo img { width: 100%; height: 100%; object-fit: cover; }
.watch-photo .placeholder { font-size: 4rem; opacity: .45; }
.featured-label {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 10px; border-radius: 999px;
  color: #fff; background: rgba(94, 57, 8, .9);
  font-size: .78rem; font-weight: 700; letter-spacing: .05em;
}
.watch-body { padding: 18px; }
.watch-body h2 { margin: 0 0 8px; font-size: 1.45rem; }
.watch-body p { line-height: 1.45; }
.watch-body .watch-audience {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #6a4514;
  background: #f0dfb8;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.empty.compact { margin-top: 20px; padding: 34px 20px; }
.watch-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 15px; }
.price { font-size: 1.45rem; font-weight: 700; color: #6b4008; }
.availability { color: var(--green); font-weight: 700; }
.button {
  display: inline-block;
  padding: 11px 16px;
  border: 1px solid #805516;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, #402814, #b77a18);
  text-decoration: none;
  font-weight: 700;
}
.watch-detail { padding: 24px; }
.back { display: inline-block; margin-bottom: 18px; color: #6f470e; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 30px; }
.detail-main-photo { width: 100%; max-height: 600px; object-fit: contain; border-radius: 12px; background: #eadfc8; }
.detail-copy h2 { margin-top: 0; font-size: clamp(2rem, 4vw, 3rem); }
.detail-list { margin: 20px 0; border-top: 1px solid var(--line); }
.detail-line { display: grid; grid-template-columns: 145px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e7d5ae; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.boutique-footer-legacy {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  padding: 20px; color: #f7eacb; background: #21170f;
}
.boutique-footer-legacy a { color: #f2c76e; }

@media (max-width: 1150px) {
  .shop-tools { grid-template-columns: repeat(3, 1fr); }
  .audience-tabs { grid-column: 1 / -1; }
}
@media (max-width: 850px) {
  .shop-tools { grid-template-columns: 1fr 1fr; }
  .audience-tabs { grid-column: 1 / -1; }
  .catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .shop-header { flex-direction: column; gap: 6px; }
  .shop-header img { width: 110px; height: 110px; }
  .shop-tools { grid-template-columns: 1fr; }
  .audience-tabs { grid-column: auto; }
  .catalogue { grid-template-columns: 1fr; }
  .detail-line { grid-template-columns: 110px 1fr; }
}
