@import url('/cases/_shared/shop-base.css');

:root {
  --bg: #F4F1EC;
  --surface: #EAE5DD;
  --ink: #23211E;
  --muted: #7C766C;
  --line: #DCD5C9;
  --accent: #23211E;
  --accent-ink: #F4F1EC;
  --terra: #B5643C;
  --radius: 2px;
  --radius-sm: 2px;
  --head: 'Cormorant Garamond', Georgia, serif;
  --body: 'Jost', system-ui, sans-serif;
}

h1, h2 { font-weight: 500; letter-spacing: -.01em; }
.logo { font-family: var(--head); font-size: 1.7rem; font-weight: 600; letter-spacing: .32em; }

/* hero */
.hero { padding: 28px 0 40px; }
.hero-in { display: grid; gap: 28px; }
.eyebrow { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--terra); }
.hero h1 { margin-top: 14px; font-size: clamp(2.8rem, 12vw, 5.6rem); line-height: .98; }
.hero h1 em { color: var(--terra); }
.lead { margin: 18px 0 26px; color: var(--muted); max-width: 42ch; }
.hero-collage { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; align-items: end; }
.collage-a, .collage-b { overflow: hidden; }
.collage-a { aspect-ratio: 4 / 5; }
.collage-b { aspect-ratio: 4 / 5; margin-bottom: 40px; }
.collage-a img, .collage-b img { width: 100%; height: 100%; object-fit: cover; }
.collage-note { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); padding: 8px 16px; background: var(--bg); font-family: var(--head); font-style: italic; font-size: 1.1rem; white-space: nowrap; }

/* perks */
.perks { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perks li { padding: 16px 18px; display: grid; gap: 2px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .85rem; }
.perks li:nth-child(2n) { border-right: 0; }
.perks li:nth-child(n+3) { border-bottom: 0; }
.perks b { font-weight: 500; }
.perks span { color: var(--muted); font-size: .8rem; }

/* catalog */
.catalog { padding: 48px 0 56px; }
.catalog-head h2 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
.p-name { font-family: var(--head); font-size: 1.15rem; font-weight: 600; }
.p-badge { background: var(--terra); color: #fff; border-radius: 0; }
.p-add { border-radius: 0; }

/* about */
.about { padding: 56px 0 64px; background: var(--ink); color: var(--bg); }
.about-in { display: grid; gap: 22px; }
.about h2 { font-size: clamp(2.2rem, 9vw, 3.6rem); }
.about h2 em { color: #D9A27F; }
.about p { color: rgba(244, 241, 236, .72); margin-bottom: 12px; max-width: 54ch; }

@media (min-width: 768px) {
  .hero { padding: 56px 0 64px; }
  .hero-in { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px; }
  .perks { grid-template-columns: repeat(4, 1fr); }
  .perks li { border-bottom: 0; }
  .perks li:nth-child(2n) { border-right: 1px solid var(--line); }
  .perks li:last-child { border-right: 0; }
  .about-in { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
}

/* ===== Лукбук ===== */
.look { position: relative; overflow: hidden; }
.look-pair { display: grid; grid-template-columns: 1fr 1fr; }
.look-pair img { width: 100%; height: 72svh; min-height: 420px; max-height: 860px; object-fit: cover; }
.look-title { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -60%; text-align: center; font-family: var(--head); font-weight: 600; font-size: clamp(5rem, 26vw, 22rem); letter-spacing: .12em; line-height: .8; color: #fff; mix-blend-mode: difference; pointer-events: none; }
.look-vert { position: absolute; top: 24px; left: 14px; writing-mode: vertical-rl; rotate: 180deg; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: #fff; mix-blend-mode: difference; }
.look-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.look-bar a { font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--ink); }

.line-ticker { overflow: hidden; padding: 12px 0; background: var(--ink); color: var(--bg); }
.lt-track { display: flex; width: max-content; animation: lt 34s linear infinite; }
.lt-track span { padding: 0 26px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.lt-track span::after { content: '◦'; margin-left: 52px; opacity: .5; }
@keyframes lt { to { transform: translateX(-50%); } }

.catalog { padding: 56px 0 64px; }
.catalog-head h2 { font-size: clamp(2.6rem, 11vw, 4.6rem); font-weight: 500; font-style: italic; }
.filters button { border-radius: 0; background: transparent; border: 0; border-bottom: 1px solid transparent; padding: 8px 4px; margin-right: 14px; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--muted); }
.filters button.is-active { background: transparent; color: var(--ink); border-bottom-color: var(--ink); }

/* картка лукбуку: інформація поверх фото */
.p-card { position: relative; }
.p-media { border-radius: 0; aspect-ratio: 3 / 4; }
.p-badge { top: auto; bottom: 10px; left: 10px; border-radius: 0; background: var(--bg); color: var(--ink); text-transform: uppercase; letter-spacing: .1em; font-size: .66rem; }
.p-body { padding-top: 12px; }
.p-cat { font-size: .66rem; letter-spacing: .2em; }
.p-name { font-family: var(--head); font-size: 1.2rem; font-weight: 600; margin: 2px 0 4px; }
.p-price { font-weight: 500; font-size: .95rem; }
.p-add { width: 34px; height: 34px; border-radius: 0; border: 1px solid var(--ink); background: transparent; font-size: 1.1rem; }
.p-add:hover, .p-add.is-added { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* маніфест */
.manifesto { padding: 70px 0; background: var(--surface); }
.m-label { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--terra); }
.m-text { margin-top: 16px; font-family: var(--head); font-size: clamp(1.8rem, 7vw, 3.6rem); line-height: 1.15; font-weight: 500; }
.m-text em { color: var(--terra); }
.m-split { display: grid; gap: 22px; margin-top: 40px; align-items: end; }
.m-split img { width: 100%; max-width: 360px; aspect-ratio: 3 / 4; object-fit: cover; }
.m-split p { color: var(--muted); max-width: 42ch; }

@media (min-width: 768px) {
  .look-bar { padding: 18px 32px; }
  .look-vert { left: 24px; top: 40px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
  .p-card:nth-child(3n + 2) { margin-top: 70px; }
  .p-body { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px; background: var(--bg); opacity: 0; translate: 0 10px; transition: opacity .3s, translate .3s; }
  .p-card:hover .p-body, .p-card:focus-within .p-body { opacity: 1; translate: none; }
  .p-badge { bottom: auto; top: 12px; left: 12px; }
  .m-split { grid-template-columns: auto 1fr; gap: 48px; }
}
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (hover: none) { .p-body { position: static; opacity: 1; translate: none; padding: 12px 2px 0; background: none; } }
