/* =============================================================
   GagaTrend — Publiczny arkusz stylów
   -------------------------------------------------------------
   Edytuj ten plik, aby zmienić wygląd całego serwisu publicznego.
   Zmienne w sekcji :root sterują motywem (kolory, czcionki, odstępy).
   Bootstrap 5 dostarcza siatkę i reset; tutaj są nadpisania + unikalne
   komponenty.
   ============================================================= */


/* ── Zmienne motywu (edytuj tutaj) ─────────────────────────────── */
:root {

  /* Kolory */
  --c-bg:             #ffffff;
  --c-surface:        #f5f5f7;
  --c-text:           #1d1d1f;
  --c-text-muted:     #6e6e73;
  --c-border:         #d2d2d7;
  --c-accent:         #0066cc;
  --c-accent-hover:   #004499;
  --c-dark-bg:        #1d1d1f;
  --c-dark-text:      #f5f5f7;

  /* Nawigacja */
  --nav-h:            62px;
  --nav-bg:           rgba(255, 255, 255, 0.88);
  --nav-blur:         saturate(180%) blur(20px);
  --nav-link-color:   #1d1d1f;
  --nav-link-size:    0.75rem;

  /* Typografia */
  --font:             "Montserrat", sans-serif;
  --font-size:        17px;
  --line-h:           1.65;

  /* Odstępy */
  --sp-xs:   0.5rem;
  --sp-sm:   1rem;
  --sp-md:   2rem;
  --sp-lg:   4rem;
  --sp-xl:   8rem;

  /* Inne */
  --transition:   0.18s ease;
  --radius:       0;            /* 0 = ostre narożniki */
  --max-w:        980px;
}


/* ── Reset / Baza ──────────────────────────────────────────────── */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: var(--line-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Montserrat wszędzie — Bootstrap i przeglądarki mają własne defaults dla form */
button, input, select, textarea, optgroup {
  font-family: var(--font);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--c-accent);
  text-decoration: none;
}

a:hover {
  color: var(--c-accent-hover);
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
}

/* Pomiń do treści (dostępność) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--c-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  z-index: 9999;
}
.skip-link:focus { top: 0; }


/* ── Nawigacja ─────────────────────────────────────────────────── */

#site-nav {
  height: var(--nav-h);
  background: var(--nav-bg);
  backdrop-filter: var(--nav-blur);
  -webkit-backdrop-filter: var(--nav-blur);
  border-bottom: 1px solid var(--c-border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
  height: 100%;
  display: flex;
  align-items: center;
}

/* Logo */
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 1;
}
.nav-brand:hover { text-decoration: none; }
.nav-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

/* Desktop: poziome linki */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}
.nav-links .nav-item { display: block; }
.nav-links .nav-link {
  font-size: var(--nav-link-size);
  color: var(--nav-link-color);
  text-decoration: none;
  line-height: var(--nav-h);
  transition: color var(--transition);
}
.nav-links .nav-link:hover  { color: var(--c-accent); text-decoration: none; }
.nav-links .nav-link.active { font-weight: 700; color: var(--c-text); text-decoration: none; }
.nav-links .nav-link--no-click { cursor: default; user-select: none; }
.nav-links .nav-link--no-click:hover { color: var(--nav-link-color); }

/* Hamburger (ukryty na desktop) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}
/* Animacja X */
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Drawer (mobile) ───────────────────────────────────────────── */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 70%;
  min-width: 260px;
  max-width: 480px;
  background: var(--c-bg);
  border-left: 1px solid var(--c-border);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: calc(var(--nav-h) + var(--sp-sm)) 0 var(--sp-lg);
  display: flex;
  flex-direction: column;
}
.nav-drawer.is-open { transform: translateX(0); }

/* Unified list */
.nav-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.nav-drawer__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Every item row */
.nav-drawer__item {
  border-bottom: 1px solid var(--c-border);
}

/* Row wrapper for link + toggle button */
.nav-drawer__row {
  display: flex;
  align-items: stretch;
}
.nav-drawer__row .nav-drawer__link--l1 {
  flex: 1;
}

/* All links — same font */
.nav-drawer__link {
  display: block;
  padding: 0.9rem var(--sp-md);
  font-size: 1rem;
  font-family: var(--font);
  font-weight: 400;
  color: var(--c-text);
  text-decoration: none;
  transition: background var(--transition);
}
.nav-drawer__link:hover,
.nav-drawer__link.active {
  background: var(--c-surface);
  color: var(--c-text);
  text-decoration: none;
}

/* L1 — slight indent, same size */
.nav-drawer__link--l1 {
  padding-left: calc(var(--sp-md) * 1.6);
  font-weight: 500;
}

/* L2 — more indent, same font */
.nav-drawer__link--l2 {
  padding-left: calc(var(--sp-md) * 2.4);
}

/* + / − toggle button */
.nav-drawer__toggle {
  flex-shrink: 0;
  width: 48px;
  background: none;
  border: none;
  border-left: 1px solid var(--c-border);
  cursor: pointer;
  font-size: 1.2rem;
  font-family: var(--font);
  color: var(--c-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.nav-drawer__toggle:hover { background: var(--c-surface); }
.nav-drawer__toggle[aria-expanded="true"] { font-size: 1.4rem; }

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Zablokuj scroll body gdy drawer otwarty */
body.drawer-open { overflow: hidden; }

/* ── Responsywność nawigacji ──────────────────────────────────── */
@media (max-width: 767.98px) {
  .nav-links    { display: none; }
  .nav-hamburger { display: flex; }
}
@media (min-width: 768px) {
  .nav-drawer   { display: none; }
  .nav-overlay  { display: none; }
}

/* ── Desktop submenu (poziomy dropdown dla dzieci) ──────────────── */
.nav-links .has-children { position: relative; }
/* Chevron indicator for parent items */
.nav-links .has-children > .nav-link::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  vertical-align: middle;
  opacity: 0.6;
}
.nav-submenu {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  min-width: 160px;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 200;
}
.nav-links .has-children:hover .nav-submenu,
.nav-links .has-children:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.nav-submenu .nav-link {
  display: block;
  padding: 0.45rem 1rem;
  line-height: 1.5;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* ── Right slot (lang + hamburger) ─────────────────────────────── */
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-sm);
}

/* ── Lang switcher (desktop) ────────────────────────────────────── */
.nav-lang {
  position: relative;
  flex-shrink: 0;
}
.nav-lang__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--nav-link-size);
  color: var(--nav-link-color);
  padding: 0;
  line-height: var(--nav-h);
  height: var(--nav-h);
  transition: color var(--transition);
}
.nav-lang__toggle:hover { color: var(--c-accent); }
.nav-lang__icon { flex-shrink: 0; font-style: normal; }
.nav-lang__code { font-weight: 600; letter-spacing: 0.04em; }
.nav-lang__menu {
  position: absolute;
  top: calc(var(--nav-h) - 2px);
  right: 0;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  min-width: 80px;
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  z-index: 300;
}
.nav-lang__option {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
  transition: background var(--transition);
}
.nav-lang__option:hover {
  background: var(--c-surface);
  text-decoration: none;
}
.nav-lang__option.is-active {
  font-weight: 700;
  pointer-events: none;
}
@media (max-width: 767.98px) {
  .nav-lang { display: none; }
}

/* ── Lang switcher (mobile drawer) ─────────────────────────────── */
.nav-drawer__lang {
  display: flex;
  gap: var(--sp-xs);
  padding: var(--sp-sm) var(--sp-md);
  border-top: 1px solid var(--c-border);
  margin-top: auto;
}
.drawer-lang-btn {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--c-border);
  color: var(--c-text);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}
.drawer-lang-btn:hover {
  background: var(--c-surface);
  text-decoration: none;
}
.drawer-lang-btn.is-active {
  border-color: var(--c-text);
  background: var(--c-text);
  color: var(--c-bg);
}


/* ── Hero (sekcja z filmem) ────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

@media (max-width: 767.98px) {
  .hero {
    aspect-ratio: 9 / 16;
    max-height: 100svh;
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  padding: var(--sp-lg) var(--sp-md);
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 55%);
  color: #fff;
  text-align: center;
}

.hero-copy    { max-width: 620px; }

.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: var(--sp-xs);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-md);
}

.hero-actions {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
}


/* ── Przyciski ─────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition);
}

.btn--primary {
  background: var(--c-text);
  color: var(--c-bg);
  border: 1px solid #fff;
}
.btn--primary:hover { background: #333; color: #fff; border-color: #fff; text-decoration: none; }

.btn--secondary {
  background: var(--c-bg);
  color: var(--c-text);
  border: 1px solid var(--c-text);
}
.btn--secondary:hover { background: var(--c-text); color: var(--c-bg); text-decoration: none; }

.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover { background: rgba(255,255,255,0.25); color: #fff; text-decoration: none; }

.btn--outline {
  background: var(--c-bg);
  color: var(--c-text);
  border: 1px solid var(--c-text);
}
.btn--outline:hover { background: var(--c-text); color: var(--c-bg); text-decoration: none; }


/* ── Sekcje split (obraz + tekst obok siebie) ───────────────────── */

.section-split { text-align: left; }

.section-split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* Odwrócony układ: obraz po lewej, tekst po prawej */
.section-split--rev .section-split__image { order: -1; }

.section-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--c-surface);
}
.section--dark .section-img { background: #2a2a2c; }

/* Typografia bloków CMS na stronie głównej */
.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-xs);
}
.section--dark .section-label { color: rgba(245,245,247,0.4); }

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: var(--sp-sm);
  color: inherit;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-sm);
  line-height: var(--line-h);
  max-width: 480px;
}
.section--dark .section-desc { color: rgba(245,245,247,0.65); }

.section-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-md);
}
.section-list li {
  position: relative;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}
.section--dark .section-list li { color: rgba(245,245,247,0.65); }
.section--dark .section-list li::before { color: rgba(245,245,247,0.35); }

.section-actions { margin-top: var(--sp-sm); }

@media (max-width: 767.98px) {
  .section-split__inner {
    grid-template-columns: 1fr;
  }
  .section-split--rev .section-split__image { order: 0; }
}


/* ── Strona kontaktu ────────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--sp-xl);
  align-items: start;
}

.contact-form__group { margin-bottom: var(--sp-sm); }

.contact-form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--c-text);
}
.contact-form__label span { color: #c00; margin-left: 2px; }
.contact-form__optional { font-weight: 400; color: var(--c-text-muted); }

.contact-form__input {
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--c-border);
  font-family: inherit;
  font-size: 1rem;
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color var(--transition);
  border-radius: var(--radius);
}
.contact-form__input:focus {
  outline: none;
  border-color: var(--c-text);
}
.contact-form__textarea {
  resize: vertical;
  min-height: 150px;
  line-height: var(--line-h);
}
.contact-form__submit { margin-top: var(--sp-xs); }

.contact-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.contact-channel {
  border: 1px solid var(--c-border);
  padding: var(--sp-md);
}
.contact-channel--muted { background: var(--c-surface); }

.contact-channel__icon {
  margin-bottom: 0.75rem;
  color: var(--c-text-muted);
}
.contact-channel__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.contact-channel__desc {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: var(--line-h);
  margin-bottom: var(--sp-sm);
}
.contact-channel--muted .contact-channel__desc { margin-bottom: 0; }

.contact-channel__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-text);
  padding-bottom: 1px;
  transition: color var(--transition), border-color var(--transition);
}
.contact-channel__link:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
  text-decoration: none;
}

.contact-success,
.contact-error {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-md);
  border: 1px solid var(--c-text);
  margin-bottom: var(--sp-md);
  font-weight: 500;
  font-size: 0.95rem;
}
.contact-error { border-color: var(--c-border); color: var(--c-text-muted); }

@media (max-width: 767.98px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    position: static;
  }
}


/* ── Sekcje treści (Apple-style tiles) ─────────────────────────── */

.section {
  padding: var(--sp-xl) var(--sp-md);
  text-align: center;
}

.section--alt   { background: var(--c-surface); }
.section--dark  { background: var(--c-dark-bg); color: var(--c-dark-text); }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section__eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-xs);
}
.section--dark .section__eyebrow { color: #6bbbff; }

.section__title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: var(--sp-sm);
  color: inherit;
}

.section__body {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 560px;
  margin: 0 auto var(--sp-md);
  line-height: var(--line-h);
}
.section--dark .section__body { color: rgba(245,245,247,0.7); }


/* ── Nagłówek podstron (strefa stylistów, świat mody, osobisty stylista) ── */

.subpage-intro {
  padding: var(--sp-lg) var(--sp-md) var(--sp-md);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
}

.subpage-intro__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.subpage-intro__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-xs);
}

.subpage-intro__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--sp-sm);
  color: var(--c-text);
}

.subpage-intro__desc {
  font-size: 1.15rem;
  color: var(--c-text-muted);
  max-width: 640px;
  line-height: var(--line-h);
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .subpage-intro { padding: var(--sp-md) var(--sp-md) var(--sp-sm); }
  .subpage-intro__title { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .subpage-intro__desc { font-size: 1rem; }
}


/* ── Strony wewnętrzne (info, katalog, produkt) ─────────────────── */

.page-header {
  padding: var(--sp-lg) var(--sp-md) var(--sp-md);
  border-bottom: 1px solid var(--c-border);
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-header__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-xs);
}

.page-header__title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.page-header__desc {
  color: var(--c-text-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.page-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-lg) var(--sp-md);
}

.page-content h2 { font-size: 1.5rem;  font-weight: 700; margin-top: var(--sp-md); letter-spacing: -0.02em; }
.page-content h3 { font-size: 1.15rem; font-weight: 600; margin-top: var(--sp-sm); }
.page-content p  { margin-bottom: var(--sp-sm); }
.page-content ul,
.page-content ol { padding-left: 1.5rem; margin-bottom: var(--sp-sm); }
.page-content li { margin-bottom: 0.35rem; }


/* ── Strona pobierania aplikacji ────────────────────────────────── */

.app-download-section {
  padding: var(--sp-xl) var(--sp-md);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
}

.app-download {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

/* Phone mockup column */
.app-download__phone {
  display: block;
  text-decoration: none;
  max-width: 280px;
  margin: 0 auto;
  position: relative;
}

.app-download__phone-img {
  width: 100%;
  height: auto;
  display: block;
}

.app-download__phone-hint {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

/* Actions column */
.app-download__actions {
  display: flex;
  flex-direction: column;
}

.app-download__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: var(--sp-sm);
  color: var(--c-text);
}

.app-download__desc {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  line-height: var(--line-h);
  margin-bottom: var(--sp-lg);
  max-width: 420px;
}

/* Store button group */
.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 300px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  background: var(--c-text);
  color: var(--c-bg);
  border: 2px solid var(--c-text);
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  cursor: pointer;
}

.store-btn:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
  text-decoration: none;
}

.store-btn--outline {
  background: transparent;
  color: var(--c-text);
}

.store-btn--outline:hover {
  background: var(--c-text);
  color: var(--c-bg);
  border-color: var(--c-text);
}

.store-btn__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.store-btn__sub {
  font-size: 0.68rem;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.01em;
}

.store-btn__name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

@media (max-width: 767.98px) {
  .app-download-section {
    padding: var(--sp-lg) var(--sp-md);
    min-height: auto;
  }

  .app-download {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  /* Mobile: actions (store links) on TOP, phone graphic BELOW */
  .app-download__actions { order: 1; }
  .app-download__phone   { order: 2; max-width: 220px; }

  .store-buttons { max-width: 100%; }

  .app-download__desc { font-size: 1rem; margin-bottom: var(--sp-md); }
}


/* ── Stopka ────────────────────────────────────────────────────── */

.site-footer {
  background: var(--c-dark-bg);
  color: var(--c-dark-text);
  padding: var(--sp-md) var(--sp-md);
  font-size: 0.8rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.footer-copy p { margin: 0; color: rgba(245,245,247,0.45); }

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(245,245,247,0.55);
  font-size: 0.8rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: #fff; text-decoration: none; }


/* =============================================================
   Marketing subpages — shared reusable components
   (Inspiration zone, Stylist zone, and any future landing pages)
   All subpages use THESE classes. No per-page <style> blocks.
   ============================================================= */

/* ── Page Hero (dark full-width hero, text centred) ─────────────── */
.page-hero {
  background: #000;
  color: #fff;
  padding: clamp(64px, 12vw, 140px) var(--sp-md);
  text-align: center;
}
.page-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.page-hero__title {
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.03;
  margin: 0 auto 28px;
  max-width: 900px;
}
.page-hero__title em { font-style: italic; color: rgba(255,255,255,.55); }
.page-hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.6);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.page-hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Manifesto strip ────────────────────────────────────────────── */
.page-manifesto {
  background: #f5f5f5;
  padding: 56px var(--sp-md);
  text-align: center;
}
.page-manifesto__inner { max-width: 760px; margin: 0 auto; }
.page-manifesto__quote {
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.5;
  color: #000;
  letter-spacing: -.01em;
}
.page-manifesto__quote strong { font-weight: 700; }

/* ── Content sections ────────────────────────────────────────────── */
.content-section          { padding: clamp(56px, 8vw, 100px) var(--sp-md); }
.content-section--alt     { background: #f8f8f8; }
.content-section--dark    { background: #000; color: #fff; }
.content-section--flush   { padding-top: 0; padding-bottom: 0; }
.content-section__inner   { max-width: 1200px; margin: 0 auto; }

/* ── Split layout (text + media) ────────────────────────────────── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split-layout__text,
.split-layout__media {
  min-width: 0;  /* fix: grid children overflow bez tego */
}
.split-layout__media {
  background: #e8e8e8;
  overflow: hidden;
}
.split-layout__media img {
  width: 100%;
  height: auto;
  display: block;
}
.split-layout__media a {
  display: block;
}
.split-layout__media a img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.content-section--dark .split-layout__media { background: #1a1a1a; }

/* SVG icon placeholder when no photo is available */
.media-icon-box {
  width: 100%;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(80px, 15vw, 160px);
  color: #ccc;
  user-select: none;
}
.content-section--dark .media-icon-box { color: #333; }

@media (max-width: 767.98px) {
  .split-layout { grid-template-columns: 1fr; }
}

/* ── Block typography (eyebrow / title / body / list) ───────────── */
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 14px;
}
.content-section--dark .eyebrow { color: rgba(255,255,255,.38); }

.block-title {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0 0 20px;
  color: inherit;
}
.block-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin: 0 0 20px;
  max-width: 540px;
}
.content-section--dark .block-body { color: rgba(255,255,255,.62); }

.block-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.block-list li {
  font-size: .95rem;
  line-height: 1.6;
  color: #555;
  padding: 9px 0;
  border-bottom: 1px solid #ebebeb;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.block-list li:last-child { border-bottom: none; }
.content-section--dark .block-list li {
  color: rgba(255,255,255,.62);
  border-bottom-color: rgba(255,255,255,.08);
}
.block-list__marker {
  width: 20px;
  height: 20px;
  background: #000;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.content-section--dark .block-list__marker { background: #fff; color: #000; }

/* ── Stats grid ─────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  max-width: 1200px;
  margin: 0 auto;
}
.stat-item {
  padding: 36px 28px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}
.stat-item__num {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.04em;
  color: #000;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item__label { font-size: .82rem; color: #666; line-height: 1.5; }

@media (max-width: 767.98px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

/* ── Steps grid ──────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 1200px;
  margin: 48px auto 0;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}
.step-item {
  padding: 36px 28px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
}
.step-item__num {
  font-size: 40px;
  font-weight: 700;
  color: #e0e0e0;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 14px;
}
.step-item__title { font-size: .95rem; font-weight: 700; color: #000; margin-bottom: 8px; }
.step-item__desc  { font-size: .875rem; color: #666; line-height: 1.65; }

@media (max-width: 767.98px) { .steps-grid { grid-template-columns: 1fr; } }

/* ── CTA band ────────────────────────────────────────────────────── */
.cta-band {
  background: #000;
  color: #fff;
  padding: clamp(56px, 8vw, 96px) var(--sp-md);
  text-align: center;
}
.cta-band__title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  margin: 0 auto 24px;
  max-width: 700px;
  line-height: 1.1;
}
.cta-band__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.58);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

/* ── Two-column strip (problem / solution side-by-side) ─────────── */
.two-col-strip {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 0 var(--sp-md);
}
.two-col-strip__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: stretch;
}
.two-col-strip__divider { background: #000; }
.two-col-strip__col     { padding: 48px 40px; }
.two-col-strip__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 16px;
  display: block;
}
.two-col-strip__heading { font-size: 1.1rem; font-weight: 700; color: #000; margin-bottom: 12px; }
.two-col-strip__text    { font-size: .92rem; color: #666; line-height: 1.7; }

@media (max-width: 767.98px) {
  .two-col-strip__inner   { grid-template-columns: 1fr; }
  .two-col-strip__divider { display: none; }
}

/* ── Compare table ───────────────────────────────────────────────── */
.compare-table {
  max-width: 960px;
  margin: 0 auto;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.compare-table__head {
  padding: 18px 24px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: #000;
  color: #fff;
}
.compare-table__head:first-child { background: #fff; color: #999; }
.compare-table__cell {
  padding: 16px 24px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  font-size: .88rem;
  color: #444;
  line-height: 1.55;
}
.compare-table__cell--label { font-weight: 600; color: #000; background: #fafafa; }
.compare-table__cell--bad   { color: #999; }
.compare-table__cell--good  { color: #000; font-weight: 500; }

@media (max-width: 767.98px) {
  .compare-table {
    grid-template-columns: 1fr 1fr;
  }
  /* "Feature" header — ukryj, bo labele przejmują jego rolę */
  .compare-table__head:first-child {
    display: none;
  }
  /* Old methods | GagaTrend — zostają jako 2 kolumny */
  .compare-table__head:nth-child(2),
  .compare-table__head:nth-child(3) {
    padding: 12px 14px;
    font-size: 9px;
  }
  /* Label = pełna szerokość, czarny pasek jak nagłówek wiersza */
  .compare-table__cell--label {
    grid-column: 1 / -1;
    background: #000;
    color: #fff;
    font-size: .82rem;
    padding: 10px 14px;
    border-right: none;
  }
  .compare-table__cell--bad,
  .compare-table__cell--good {
    padding: 12px 14px;
    font-size: .82rem;
  }
}


/* ── Catalog mega-menu ─────────────────────────────────────────── */

/* .has-catalog inherits position: relative from .has-children — same as other dropdowns */

.nav-catalog-panel {
  position: absolute;
  top: var(--nav-h);
  left: 0;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  min-width: 360px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 200;
  padding: var(--sp-md);
}

.nav-item.has-catalog:hover .nav-catalog-panel,
.nav-item.has-catalog:focus-within .nav-catalog-panel {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav-catalog-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.nav-catalog-col {
  display: flex;
  flex-direction: column;
  min-width: 140px;
}

.nav-catalog-l1 {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text);
  text-decoration: none;
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--c-border);
}
.nav-catalog-l1:hover { color: var(--c-accent); text-decoration: none; }

.nav-catalog-l2-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-catalog-l2 {
  display: block;
  font-size: 0.75rem;
  color: var(--c-text-muted);
  text-decoration: none;
  padding: 0.18rem 0;
  line-height: 1.4;
  transition: color var(--transition);
}
.nav-catalog-l2:hover { color: var(--c-text); text-decoration: none; }

/* Drawer catalog section (mobile) */
.nav-drawer__catalog {
  border-top: 1px solid var(--c-border);
}
.nav-drawer__catalog-title {
  display: block;
  padding: 0.6rem var(--sp-md);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
.nav-drawer__catalog-l1 {
  display: block;
  padding: 0.7rem var(--sp-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
  border-bottom: 1px solid var(--c-border);
}
.nav-drawer__catalog-l1:hover { background: var(--c-surface); text-decoration: none; }
.nav-drawer__catalog-l2 {
  display: block;
  padding: 0.55rem var(--sp-md) 0.55rem calc(var(--sp-md) * 1.5);
  font-size: 0.85rem;
  color: var(--c-text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--c-border);
}
.nav-drawer__catalog-l2:hover { background: var(--c-surface); color: var(--c-text); text-decoration: none; }


/* ── Catalog index — category cards ────────────────────────────── */

.catalog-header {
  padding: var(--sp-lg) var(--sp-md) var(--sp-md);
  border-bottom: 1px solid var(--c-border);
  max-width: var(--max-w);
  margin: 0 auto;
}

.catalog-header__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-xs);
}

.catalog-header__title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.catalog-header__desc {
  color: var(--c-text-muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.catalog-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-lg) var(--sp-md);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

@media (max-width: 767.98px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

.category-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.category-card:hover { text-decoration: none; }

.category-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--c-surface);
  display: block;
}

.category-card__body {
  padding: var(--sp-xs) 0;
}

.category-card__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-text);
}

.category-card__count {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin-top: 0.15rem;
}

.category-card:hover .category-card__name {
  text-decoration: underline;
}


/* ── Product grid ───────────────────────────────────────────────── */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

@media (max-width: 767.98px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

.product-tile {
  display: block;
}

.product-tile__link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-tile__link:hover { text-decoration: none; }

.product-tile__img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--c-surface);
  aspect-ratio: 3 / 4;
}

.product-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s ease;
}

/* Hover image swap: --main visible by default, --hover visible on hover */
.product-tile__img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product-tile__link:hover .has-hover .product-tile__img--main  { opacity: 0; }
.product-tile__link:hover .product-tile__img--hover { opacity: 1; }

/* Fallback: single image dims slightly on hover */
.product-tile__link:hover .product-tile__img:not(.product-tile__img--main):not(.product-tile__img--hover) { opacity: 0.88; }

.product-tile__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-border);
}

.product-tile__body {
  padding: 0.5rem 0 0;
}

.product-tile__name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.35;
  margin: 0;
}

.product-tile__sub {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin-top: 0.15rem;
}


/* ── Catalog category page breadcrumb + toolbar ─────────────────── */

.catalog-toolbar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-sm) var(--sp-md);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  border-bottom: 1px solid var(--c-border);
  font-size: 0.8rem;
  color: var(--c-text-muted);
  overflow: hidden;        /* prevent breadcrumb from pushing height */
  min-height: 0;
}

.catalog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  flex-wrap: nowrap;       /* always one line */
  overflow: hidden;
  min-width: 0;
  flex: 1;
}

/* All items: no wrap, don't shrink (separators + parent crumbs) */
.catalog-breadcrumb li {
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Last item (current page / product title): can shrink + truncate */
.catalog-breadcrumb li:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
  display: block;          /* text-overflow needs block/inline-block */
}

/* Separator spacing */
.catalog-breadcrumb__sep {
  padding: 0 0.3rem;
}

.catalog-breadcrumb a {
  color: var(--c-text-muted);
  text-decoration: none;
}
.catalog-breadcrumb a:hover { color: var(--c-text); text-decoration: underline; }
.catalog-breadcrumb__sep { color: var(--c-border); }

.catalog-count {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--c-text-muted);
  font-size: 0.8rem;
}


/* ── Pagination ─────────────────────────────────────────────────── */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  padding: var(--sp-lg) var(--sp-md);
  list-style: none;
  margin: 0;
}

.pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  font-size: 0.85rem;
  color: var(--c-text);
  text-decoration: none;
  border: 1px solid var(--c-border);
  transition: background var(--transition), border-color var(--transition);
}
.pagination__link:hover { background: var(--c-surface); text-decoration: none; }
.pagination__link.is-active {
  background: var(--c-text);
  color: var(--c-bg);
  border-color: var(--c-text);
  font-weight: 700;
  pointer-events: none;
}
.pagination__link.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}


/* ── Media queries ─────────────────────────────────────────────── */

@media (max-width: 767.98px) {
  :root {
    --sp-xl: 4rem;
    --sp-lg: 2.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links ul {
    flex-direction: column;
    gap: var(--sp-xs);
  }
}

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */

@media (prefers-reduced-motion: no-preference) {
  .will-reveal {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 0.65s cubic-bezier(.25,.46,.45,.94),
                transform 0.65s cubic-bezier(.25,.46,.45,.94);
  }
  .will-reveal-left  { transform: translateX(-52px); }
  .will-reveal-right { transform: translateX(52px); }
  .will-reveal-up    { transform: translateY(36px); }
  .will-reveal.revealed {
    opacity: 1;
    transform: none;
  }

  /* Block siblings: fade-in triggered alongside typewriter */
  .block-sib-fade {
    opacity: 0;
    transition: opacity 1s ease;
  }
  .block-sib-fade.block-sib-fade--in {
    opacity: 1;
  }
}

/* ================================================================
   VERIFY EMAIL PAGE
   ================================================================ */

.verify-email-icon {
  padding: clamp(48px, 8vw, 96px) 0 0;
  text-align: center;
  color: #000;
}

.verify-email-block {
  padding: clamp(24px, 5vw, 56px) 0 clamp(48px, 10vw, 120px);
}

.verify-email-block .block-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 24px;
}

.verify-email-block .block-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin: 0 0 16px;
}

.verify-email-block .verify-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.verify-email-block--success .verify-email-icon { color: #000; }
.verify-email-block--expired .verify-email-icon,
.verify-email-block--invalid .verify-email-icon { color: #888; }

/* ================================================================
   RESET PASSWORD PAGE
   ================================================================ */

.reset-password-error {
  padding: 0.75rem 1rem;
  border: 1px solid #c00;
  color: #c00;
  font-size: 0.9rem;
  margin-bottom: var(--sp-sm);
}

.reset-password-form { max-width: 440px; margin-top: var(--sp-md); }

.reset-password-form__actions { margin-top: var(--sp-sm); }

.reset-password-form__submit { width: 100%; }

/* Typewriter cursor blink during typing */
.block-title.typing::after {
  content: '|';
  animation: tw-blink 0.5s step-end infinite;
  font-weight: 300;
  opacity: 0.6;
  margin-left: 1px;
}
@keyframes tw-blink {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 0; }
}


/* ================================================================
   PRODUCT DETAIL PAGE  (PDP)
   ================================================================ */

.pdp-layout {
  display: grid;
  grid-template-columns: 70% 1fr;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - var(--nav-h) - 48px);
  align-items: start;
}

/* ── Gallery (left column) ── */
.pdp-gallery {
  position: sticky;
  top: var(--nav-h);
  padding: var(--sp-md);
  border-right: 1px solid var(--c-border);
}

/* ── Slider viewport ── */
.pdp-slider {
  position: relative;
  width: 100%;
  overflow: hidden;        /* clip the sliding track */
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.pdp-slider:active { cursor: grabbing; }

/* The strip that holds all slides side-by-side */
.pdp-slider__track {
  display: flex;
  will-change: transform;
}

/* Each slide = exactly the viewport width */
.pdp-slider__slide {
  flex: 0 0 100%;
  width: 100%;
}

.pdp-slider__img {
  width: 100%;
  height: auto;            /* natural height, no crop */
  display: block;
  pointer-events: none;    /* prevent ghost drag of img */
}

.pdp-slider__slide--empty {
  min-height: 300px;
  background: var(--c-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Prev / Next arrow buttons */
.pdp-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.15s, opacity 0.15s;
  padding: 0;
}
.pdp-gallery__arrow:hover { background: var(--c-surface); }
.pdp-gallery__arrow--prev { left: 8px; }
.pdp-gallery__arrow--next { right: 8px; }
.pdp-gallery__arrow[disabled] { opacity: 0; pointer-events: none; }

.pdp-gallery__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-border);
}

/* Thumbnails strip */
.pdp-gallery__thumbs {
  display: flex;
  gap: var(--sp-xs);
  margin-top: var(--sp-xs);
  flex-wrap: wrap;
}

.pdp-gallery__thumb {
  width: 72px;
  height: 96px;
  border: 2px solid transparent;
  padding: 0;
  background: var(--c-surface);
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.18s;
}

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

.pdp-gallery__thumb.is-active {
  border-color: var(--c-text);
}

.pdp-gallery__thumb:hover {
  border-color: var(--c-text-muted);
}

/* ── Info panel (right column) ── */
.pdp-info {
  padding: var(--sp-lg) var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.pdp-info__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
  color: var(--c-text);
}

.pdp-info__sku {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  margin: 0;
  letter-spacing: 0.02em;
}

.pdp-info__sku-label {
  text-transform: uppercase;
  font-weight: 600;
  margin-right: 0.35rem;
}

/* Attributes */
.pdp-attrs {
  margin: 0;
  border-top: 1px solid var(--c-border);
}

.pdp-attrs__row {
  display: flex;
  gap: var(--sp-sm);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.875rem;
}

.pdp-attrs__name {
  flex: 0 0 40%;
  font-weight: 600;
  color: var(--c-text);
}

.pdp-attrs__value {
  flex: 1;
  color: var(--c-text-muted);
  margin: 0;
}

/* "Go to store" button */
.pdp-info__shop {
  padding-top: var(--sp-xs);
}

.pdp-info__shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
}

/* Description */
.pdp-info__desc-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-xs);
}

.pdp-info__desc-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--c-text);
}

.pdp-info__desc-body p { margin-bottom: 0.6rem; }
.pdp-info__desc-body p:last-child { margin-bottom: 0; }

/* Back link */
.pdp-info__back {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--c-border);
}

.pdp-info__back-link {
  color: var(--c-text-muted);
  text-decoration: none;
}
.pdp-info__back-link:hover {
  color: var(--c-text);
  text-decoration: underline;
}

/* ── Mobile layout ── */
@media (max-width: 767.98px) {
  .pdp-layout {
    grid-template-columns: 1fr;
  }

  .pdp-gallery {
    position: static;
    border-right: none;
    padding: 0;
  }

  .pdp-gallery__thumbs {
    padding: var(--sp-xs) var(--sp-sm);
    gap: 6px;
  }

  .pdp-gallery__thumb {
    width: 60px;
    height: 80px;
  }

  .pdp-info {
    padding: var(--sp-md);
    gap: var(--sp-sm);
  }

  .pdp-attrs__row {
    flex-direction: column;
    gap: 0.15rem;
  }

  .pdp-attrs__name {
    flex: none;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
}

