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

:root {
  --wine: oklch(20% 0.06 15);
  --ink: oklch(18% 0.02 20);
  --muted: oklch(48% 0.02 20);
  --line: oklch(85% 0.015 30);
  --cream: oklch(98% 0.008 60);
  --mk: oklch(55% 0.18 350);
}

html { background: var(--cream); }

body {
  font-family: 'Lato', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.serif { font-family: 'Noto Serif', Georgia, serif; }

/* header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 64px;
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: baseline; gap: 9px; }
.logo .mark { font-family: 'Noto Serif', Georgia, serif; font-style: italic; font-weight: 600; font-size: 24px; }
.logo .sub { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }

nav.main-nav { display: flex; align-items: center; gap: 36px; }
nav.main-nav a { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; font-weight: 500; }
nav.main-nav a.active { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.btn-whatsapp {
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  font-size: 12.5px; letter-spacing: 0.5px; font-weight: 500;
}

/* hero */
.hero-photo {
  width: 100%;
  aspect-ratio: 1.7 / 1;
  min-height: 380px;
  max-height: 680px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.hero-photo-name { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.hero-photo-name .mark { font-family: 'Noto Serif', Georgia, serif; font-style: italic; font-weight: 600; font-size: 56px; line-height: 1; color: oklch(98% 0.008 60); }
.hero-photo-name .sub { font-size: 12px; letter-spacing: 5px; text-transform: uppercase; color: oklch(98% 0.008 60 / 0.85); }

.mini-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 480px;
  margin: 32px auto;
  padding: 0 24px;
}
.mini-slot { aspect-ratio: 3 / 4; overflow: hidden; display: block; border: 1px solid var(--line); }
.mini-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.experience {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 64px 64px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.experience .eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.exp-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px auto 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
}
.exp-toggle h2 { font-size: 34px; margin: 0; font-style: italic; font-weight: 600; }
.exp-toggle svg { flex-shrink: 0; transition: transform 0.25s ease; }
.exp-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.exp-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.35s ease, opacity 0.3s ease;
}
.exp-content.open { grid-template-rows: 1fr; opacity: 1; }
.exp-inner { overflow: hidden; min-height: 0; }
.exp-content p { font-size: 15px; line-height: 1.7; color: var(--muted); margin-top: 20px; }

.exp-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.exp-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 1px solid var(--line); }

.milestones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.milestones span { font-size: 11.5px; letter-spacing: 0.3px; color: var(--ink); font-weight: 500; }

.catalog-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1100px;
}

.img-slot {
  aspect-ratio: 3 / 4;
  border: 1.5px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  background: oklch(99% 0.005 60);
  background-size: cover;
  background-position: center;
}
.img-slot span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }

/* top sellers */
.top-sellers {
  padding: 40px 64px 96px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.top-sellers .heading { text-align: center; }
.top-sellers .eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.top-sellers h2 { font-size: 32px; margin: 10px 0 0; }

.top-sellers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1100px;
}
.top-sellers-grid .catalog-card { font-size: 12px; }
.top-sellers-grid .catalog-card .img-slot,
.top-sellers-grid .catalog-card .product-img {
  aspect-ratio: 3 / 4;
  border-bottom: 1px solid var(--line);
  background: oklch(99% 0.005 60);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.top-sellers-grid .catalog-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.top-sellers-grid .catalog-card .info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 0;
}
.top-sellers-grid .catalog-card .name { color: var(--muted); line-height: 1.3; }
.top-sellers-grid .catalog-card .name em { font-style: normal; color: var(--mk); }
.top-sellers-grid .catalog-card .price { font-weight: 600; color: var(--ink); }
.top-sellers-grid .catalog-card .order-btn { margin: 10px 12px 12px; padding: 7px; font-size: 11.5px; }

/* footer / contact */
.contact-band {
  margin: 64px;
  background: var(--wine);
  padding: 40px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-band a {
  display: flex; align-items: center; gap: 10px;
  background: var(--cream); color: var(--wine);
  padding: 16px 28px; font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
}

.site-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 32px 64px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}
.site-footer .logo .mark { font-size: 17px; }

/* catalog page */
.catalog-head { padding: 56px 64px 32px; }
.catalog-head .eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.catalog-head h1 { font-size: 42px; margin: 10px 0 0; font-style: italic; font-weight: 600; }

.flipbook {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px 24px;
}
.flip-page {
  flex-shrink: 1;
  min-width: 0;
  max-width: 520px;
  border: 1px solid var(--line);
  background: oklch(95% 0.01 60);
  box-shadow: 0 24px 48px -24px oklch(20% 0.02 20 / 0.25);
}
.flip-page img { width: 100%; display: block; aspect-ratio: 953 / 1333; object-fit: cover; }
.flip-arrow {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
}
.flip-arrow:disabled { opacity: 0.3; cursor: default; }
.flip-arrow:not(:disabled):hover { background: var(--ink); color: var(--cream); }

.flip-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 24px 64px;
}
.flip-controls span { font-size: 12.5px; color: var(--muted); letter-spacing: 0.5px; }
.flip-controls input[type="range"] { width: min(400px, 80vw); accent-color: var(--ink); }

.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); padding: 0 64px; }
.tab {
  padding: 14px 22px; font-size: 13px; letter-spacing: 0.5px; font-weight: 500;
  color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
  cursor: pointer; background: none; border-top: none; border-left: none; border-right: none;
  font-family: inherit;
}
.tab.active { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 32px 64px 96px;
}
.catalog-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: oklch(99% 0.005 60); }
.catalog-card .img-slot { aspect-ratio: 3 / 4; border: none; border-bottom: 1px solid var(--line); }
.catalog-card .brand-tag {
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
  padding: 12px 14px 0;
}
.catalog-card .brand-tag.mk { color: var(--mk); }
.catalog-card .order-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 14px; padding: 10px;
  border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 500;
}

@media (max-width: 900px) {
  .site-header, .hero, .contact-band, .site-footer, .catalog-head, .tabs, .catalog-grid, .top-sellers { padding-left: 24px; padding-right: 24px; }
  .site-header { flex-wrap: wrap; row-gap: 14px; }
  nav.main-nav { gap: 20px; order: 3; width: 100%; }
  .catalog-preview, .catalog-grid, .top-sellers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-band { margin: 24px; }
}

@media (max-width: 520px) {
  .catalog-preview, .catalog-grid, .top-sellers-grid { grid-template-columns: 1fr; }
  .flipbook { gap: 8px; }
  .flip-arrow { width: 36px; height: 36px; }
  .hero-photo-name .mark { font-size: 40px; }
  .hero-photo { min-height: 300px; }
  .contact-band { flex-direction: column; padding: 32px 24px; }
}
