
:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f6f4;
  color: #17191f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #f5f6f4; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, .button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #c8d0c6;
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: #17191f;
  cursor: pointer;
}
button:hover, .button:hover { border-color: #17191f; }
button.primary, .button.primary { border-color: #17191f; background: #17191f; color: #fff; }
input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #c8d0c6;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 42px);
  border-bottom: 1px solid rgba(23, 25, 31, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #17191f;
  color: #fff;
  font-weight: 800;
}
.brand span:last-child { display: grid; line-height: 1.1; }
.brand small, .eyebrow, .status, .hero-card small { color: #68705f; }
.nav { display: flex; align-items: center; gap: 20px; color: #3e453a; }
.nav a:hover { color: #17191f; }
.cart-shortcut span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #17191f;
  color: #fff;
  font-size: 12px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  width: min(1280px, calc(100vw - 32px));
  margin: 28px auto 20px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(23,25,31,0.78), rgba(23,25,31,0.1)), url("https://prestashop.styxx.ovh/20-large_default/carnet-de-notes-colibri.jpg") right center / contain no-repeat, #dfe7dd;
  color: #fff;
}
.hero-copy { max-width: 680px; }
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}
.hero p { max-width: 620px; font-size: 17px; line-height: 1.6; }
.hero .eyebrow { color: rgba(255,255,255,0.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.manifest-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: rgba(255,255,255,0.86);
  font-size: 14px;
}
.manifest-strip span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255,255,255,0.12);
}
.hero-card {
  align-self: end;
  display: grid;
  gap: 8px;
  max-width: 340px;
  justify-self: end;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 10px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}
.hero-card strong { font-size: 22px; }
.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 24px;
  width: min(1280px, calc(100vw - 32px));
  margin: 24px auto 48px;
  align-items: start;
}
.catalog, .panel {
  min-width: 0;
  border: 1px solid #dce2d8;
  border-radius: 10px;
  background: #fff;
}
.catalog { padding: clamp(18px, 3vw, 28px); }
.panel { position: sticky; top: 86px; overflow: hidden; }
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
h1, h2 { margin: 0; letter-spacing: 0; }
h2 { font-size: 24px; }
.eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.toolbar { display: flex; align-items: center; gap: 12px; }
.search { width: min(260px, 100%); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.product-detail {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  margin-bottom: 22px;
  border: 1px solid #dce2d8;
  border-radius: 10px;
  padding: 16px;
  background: #fbfcfa;
}
.product-detail[hidden] { display: none; }
.product-detail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 8px;
  background: #f3f5f0;
}
.product-detail__copy { display: grid; align-content: start; gap: 12px; }
.product-detail__price { font-size: 26px; font-weight: 800; }
.product-detail__meta { display: flex; flex-wrap: wrap; gap: 8px; color: #68705f; }
.product-detail__meta span {
  border: 1px solid #dce2d8;
  border-radius: 999px;
  padding: 5px 9px;
  background: #fff;
}
.product-detail__desc { color: #3e453a; line-height: 1.55; }
.product {
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  gap: 12px;
  min-height: 100%;
  border: 1px solid #e2e7df;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
  cursor: pointer;
}
.product:hover,
.product:focus-within {
  border-color: #17191f;
  box-shadow: 0 12px 30px rgba(42, 50, 39, 0.1);
}
.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f7f8f5;
  border-radius: 8px;
}
.product strong { min-height: 44px; line-height: 1.25; }
.product strong a { color: inherit; }
.product strong a:hover { text-decoration: underline; }
.product small { color: #68705f; }
.product-view {
  display: inline-flex;
  width: fit-content;
  color: #17191f;
  font-weight: 800;
  text-decoration: underline;
}
.meta { display: flex; justify-content: space-between; gap: 8px; color: #3e453a; font-weight: 700; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #dce2d8; }
.tab { border: 0; border-right: 1px solid #dce2d8; border-radius: 0; }
.tab:last-child { border-right: 0; }
.tab.active { background: #17191f; color: #fff; }
.tab-panel { display: none; padding: 18px; }
.tab-panel.active { display: block; }
.stack { display: grid; gap: 10px; margin-bottom: 20px; }
.two-cols { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 10px; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 0; border-bottom: 1px solid #edf1ea; }
.cart-total { display: flex; justify-content: space-between; margin: 14px 0; font-weight: 700; }
#checkout { width: 100%; }
pre { max-height: 520px; overflow: auto; padding: 12px; border-radius: 8px; background: #101318; color: #dce3ee; font-size: 12px; }
@media (max-width: 900px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .nav { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; padding: 28px; background-size: 420px auto; }
  .hero-card { justify-self: start; }
  .shell { grid-template-columns: 1fr; }
  .panel { position: static; }
  .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .section-title, .toolbar { align-items: flex-start; flex-direction: column; }
  .hero h1 { font-size: 38px; }
  .two-cols { grid-template-columns: 1fr; }
}
