/* ==========================================================================
   Szydełkomania_amigurumi — styles
   ========================================================================== */

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--text);
  background: var(--bg);
  /* clip keeps horizontal overflow clipped without making body the scroll
     container — overflow-x: hidden breaks CSS scroll-behavior: smooth in Chromium */
  overflow-x: clip;
}

/* ---------- Scrollbar (brand teal) ---------- */

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(80, 147, 139, 1) var(--cream-deep);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--cream-deep);
}

*::-webkit-scrollbar-thumb {
  background: rgba(80, 147, 139, 1);
  border-radius: var(--radius-pill);
  border: 2px solid var(--cream-deep);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--rose-deep);
}

*::-webkit-scrollbar-corner {
  background: var(--cream-deep);
}

/* ---------- Utilities ---------- */

.container {
  width: var(--container);
  margin-inline: auto;
}

.container--narrow {
  width: min(720px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 2000;
  padding: var(--space-3) var(--space-5);
  background: var(--terracotta);
  color: var(--paper);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: var(--text-small);
}

.skip-link:focus {
  top: var(--space-4);
}

.section {
  padding: var(--section-pad) 0;
}

.section-header {
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: var(--ink);
  margin-bottom: var(--space-4);
}

.section-title--on-dark {
  color: var(--cream);
}

.section-intro {
  color: var(--text-muted);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  max-width: 36rem;
}

.eyebrow {
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-4);
}

.eyebrow--on-dark {
  color: var(--rose);
}

.signature {
  font-family: var(--font-signature);
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: var(--terracotta);
  margin-top: var(--space-6);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible,
.no-js .reveal,
.reduce-motion .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: background var(--dur-med) var(--ease-out),
    color var(--dur-med) var(--ease-out),
    border-color var(--dur-med) var(--ease-out),
    transform var(--dur-med) var(--ease-out);
  will-change: transform;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-align: center;
}

.btn:hover {
  transform: scale(1.03);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--rose);
  color: var(--cream);
  border-color: var(--rose);
}

.btn--primary:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  color: var(--cream);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 240, 229, 0.35);
}

.btn--ghost-dark:hover {
  border-color: var(--cream);
  background: rgba(247, 240, 229, 0.08);
}

.btn--full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-weight: 600;
  font-size: var(--text-small);
  color: var(--terracotta);
  min-height: 44px;
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out);
}

.text-link:hover {
  border-bottom-color: var(--terracotta);
  color: var(--terracotta-deep);
}

/* ---------- Media placeholders ---------- */

.media-slot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--placeholder);
}

.media-slot__placeholder {
  position: relative;
  width: 100%;
  background: var(--placeholder);
}

.media-slot__placeholder svg {
  width: 100%;
  height: auto;
  display: block;
}

.media-slot__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--taupe);
  pointer-events: none;
  line-height: 1.5;
}

.hero .media-slot__label {
  color: rgba(247, 240, 229, 0.45);
}

/* ---------- NAV ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-4) 0;
  transition: background var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out),
    padding var(--dur-med) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(247, 240, 229, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3) 0;
}

.site-header.is-scrolled .nav__logo-text,
.site-header.is-scrolled .nav__link {
  color: var(--ink);
}

.site-header.is-scrolled .nav__logo-accent {
  color: var(--rose);
}

.site-header.is-scrolled .nav__link--cta {
  background: var(--rose);
  color: var(--cream);
  border-color: var(--rose);
}

.site-header.is-scrolled .nav__toggle-bar {
  background: var(--ink);
}

.nav {
  width: var(--container-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  z-index: 2;
}

.nav__logo-img {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(40, 32, 28, 0.12);
}

.nav__logo-text {
  font-family: var(--font-logo);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--cream);
  letter-spacing: -0.02em;
  transition: color var(--dur-med) var(--ease-out);
  line-height: 1.15;
}

.nav__logo-accent {
  color: var(--cream);
  font-style: normal;
  font-weight: 500;
}

.site-header.is-scrolled .nav__logo-accent {
  color: var(--rose);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  z-index: 2;
}

.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast);
  margin-inline: auto;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.5rem);
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(247, 240, 229, 0.85);
  transition: color var(--dur-fast);
}

.nav__link:hover {
  color: var(--cream);
}

.nav__link--cta {
  margin-left: var(--space-2);
  padding: 0.65rem 1.25rem;
  background: var(--cream);
  color: var(--rose);
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--cream);
  font-weight: 600;
}

.nav__link--cta:hover {
  background: var(--paper);
  color: var(--rose-deep);
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--rose);
  color: var(--cream);
  padding: calc(5.25rem + var(--space-5)) 0 var(--space-8);
  min-height: 100dvh;
  display: flex;
  align-items: center;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: block;
  width: var(--container-wide);
  margin-inline: auto;
}

.hero__content {
  max-width: 38rem;
  width: min(100%, 42vw);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 450;
  letter-spacing: var(--tracking-tight);
  line-height: 1.05;
  margin-bottom: var(--space-5);
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  font-style: italic;
  color: var(--cream);
  font-weight: 400;
  opacity: 0.95;
}

.hero__lead {
  max-width: 36rem;
  color: rgba(247, 240, 229, 0.9);
  font-size: clamp(0.95rem, 0.9rem + 0.18vw, 1.08rem);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.hero .btn {
  min-height: 52px;
  padding: 0.95rem 1.8rem;
}

.hero .btn--primary {
  background: var(--cream);
  color: var(--rose);
  border-color: var(--cream);
}

.hero .btn--primary:hover {
  background: var(--paper);
  color: var(--rose-deep);
  border-color: var(--paper);
}

.hero .btn--ghost-dark {
  border-color: rgba(247, 240, 229, 0.78);
}

.hero .eyebrow--on-dark {
  color: rgba(247, 240, 229, 0.92);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--rose);
  z-index: 0;
}

.hero__media img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: min(58vw, 920px);
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 58% center;
  filter: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 14%,
    #000 36%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 14%,
    #000 36%
  );
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    90deg,
    var(--rose) 0%,
    var(--rose) 38%,
    rgba(80, 147, 139, 0.82) 50%,
    rgba(80, 147, 139, 0.35) 64%,
    rgba(80, 147, 139, 0.08) 76%,
    transparent 88%
  );
  pointer-events: none;
}

/* ---------- MARQUEE ---------- */

.marquee {
  background: var(--cream-deep);
  border-block: 1px solid var(--border);
  overflow: hidden;
  padding: var(--space-5) 0;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: var(--space-5);
  will-change: transform;
}

.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 450;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.marquee__dot {
  color: var(--terracotta);
  font-size: 1.25rem;
}

/* ---------- ABOUT ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about__media {
  max-width: 520px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about__media img {
  display: block;
  width: 100%;
  height: auto;
}

.about__content p + p {
  margin-top: var(--space-4);
  color: var(--text-muted);
}

/* ---------- CATEGORIES ---------- */

.categories {
  background: var(--cream-deep);
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

.category-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

a.category-card:hover .category-card__title {
  color: var(--rose-deep);
}

a.category-card:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.category-card__media {
  border-radius: 0;
  margin: 0;
  overflow: hidden;
  background: var(--placeholder);
  flex-shrink: 0;
}

.category-card__media img,
.category-card__media .media-slot__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.category-card__media img {
  filter: grayscale(1);
  transition: filter var(--dur-slow) var(--ease-out);
}

a.category-card:hover .category-card__media img,
a.category-card:focus-visible .category-card__media img,
a.category-card:focus-within .category-card__media img {
  filter: grayscale(0);
}

.category-card__body {
  padding: var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
}

.category-card__eyebrow {
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--space-2);
}

.category-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  color: var(--rose);
  transition: color var(--dur-fast);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  line-height: 1.3;
}

.category-card__body p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.category-card .text-link {
  margin-top: var(--space-4);
}

/* Category subpages */
.page-category {
  padding-bottom: 0;
}

.page-category .category-bar {
  margin-top: 4.5rem;
}

.site-header--solid {
  background: rgba(247, 240, 229, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.site-header--solid .nav__logo-text,
.site-header--solid .nav__link {
  color: var(--ink);
}

.site-header--solid .nav__logo-accent {
  color: var(--rose);
}

.site-header--solid .nav__link--cta {
  background: var(--rose);
  color: var(--cream);
  border-color: var(--rose);
}

.site-header--solid .nav__toggle-bar {
  background: var(--ink);
}

.category-bar {
  position: sticky;
  top: 4.25rem;
  z-index: calc(var(--z-nav) - 1);
  background: rgba(247, 240, 229, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.category-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 2.75rem;
  padding-block: var(--space-2);
  flex-wrap: wrap;
}

.category-bar__back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--rose);
  min-height: 44px;
}

.category-bar__back:hover {
  color: var(--rose-deep);
}

.category-bar__current {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
}

.category-bar__home {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.category-bar__home:hover {
  color: var(--rose);
}

.page-hero {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(80, 147, 139, 0.12), transparent 55%),
    linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--border);
}

.page-hero__inner {
  max-width: 40rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: var(--space-4);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.breadcrumbs a {
  color: var(--rose-deep);
  font-weight: 500;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
}

/* ---------- Product detail (category PDP) ---------- */

.pdp {
  padding: var(--space-6) 0 var(--space-8);
  background: var(--cream);
}

.pdp__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.pdp__gallery {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: var(--space-3);
}

.pdp__gallery:not(:has(.pdp__thumbs)) {
  grid-template-columns: 1fr;
}

.pdp__thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: min(640px, 80vh);
  overflow-y: auto;
}

.pdp__thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--placeholder);
  cursor: pointer;
}

.pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp__thumb.is-active {
  border-color: var(--rose);
}

.pdp__stage {
  position: relative;
  margin: 0;
  background: #f3ece3;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.pdp__main,
.pdp__stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.pdp__main--contain {
  object-fit: contain;
}

.pdp__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(247, 240, 229, 0.92);
  border-radius: var(--radius-pill);
  z-index: 2;
}

.pdp__nav--prev {
  left: 0.75rem;
}

.pdp__nav--next {
  right: 0.75rem;
}

.pdp__info .breadcrumbs {
  margin-bottom: var(--space-3);
}

.pdp__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 var(--space-3);
}

.pdp__price {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--rose);
  margin: 0 0 var(--space-4);
}

.pdp__colors {
  margin: 0 0 var(--space-4);
}

.pdp__colors-label {
  font-size: var(--text-small);
  font-weight: 600;
  margin: 0 0 var(--space-2);
  color: var(--ink);
}

.pdp__colors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pdp__color-swatch {
  width: 56px;
  height: 56px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  cursor: zoom-in;
}

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

.pdp__color-swatch:hover,
.pdp__color-swatch:focus-visible {
  border-color: var(--rose);
  outline: none;
}

.pdp__desc {
  color: var(--espresso-soft);
  line-height: 1.6;
  margin: 0;
  max-width: 36rem;
}

.pdp__accordion .pdp__desc {
  max-width: none;
}

.pdp__variants {
  margin: 0 0 var(--space-5);
}

.pdp__variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pdp__variant {
  min-height: 44px;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.pdp__variant:hover {
  border-color: var(--rose);
  color: var(--rose-deep);
}

.pdp__variant.is-selected {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--cream);
}

.pdp__accordions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.pdp__accordion.faq__item {
  box-shadow: none;
  border: 1px solid var(--border);
}

.pdp__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin: 0 0 var(--space-5);
}

.pdp__option-group + .pdp__option-group {
  margin-top: var(--space-4);
}

.pdp__option-label {
  font-size: var(--text-small);
  font-weight: 600;
  margin: 0 0 var(--space-2);
  color: var(--ink);
}

.pdp__desc--rich {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pdp__desc--rich p,
.pdp__desc--rich ul {
  margin: 0;
}

.pdp__desc--rich ul {
  padding-left: 1.15rem;
  list-style: disc;
}

.pdp__desc--rich li,
.pdp__safety li {
  margin: 0.22rem 0;
  line-height: 1.55;
}

.pdp__desc--rich li p {
  margin: 0;
}

.pdp__safety h3 {
  font-size: 0.95rem;
  margin: 1rem 0 0.4rem;
}

.pdp__safety h3:first-child {
  margin-top: 0;
}

.pdp__safety ul {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  list-style: disc;
}

.pdp__safety p {
  margin: 0 0 0.75rem;
}

.pdp__actions .btn {
  min-height: 48px;
}

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

  .pdp__gallery {
    grid-template-columns: 1fr;
  }

  .pdp__thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }
}

.page-hero .section-title {
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.page-hero .section-intro {
  margin-bottom: var(--space-4);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.55;
  color: var(--espresso-soft);
  max-width: 34rem;
}

.page-hero__note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 var(--space-5);
  max-width: 34rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--espresso-soft);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.page-hero__actions .btn {
  min-height: 48px;
}

.btn--social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--border);
}

.btn--social:hover {
  border-color: var(--rose);
  color: var(--rose-deep);
  background: var(--paper);
}

.btn--social img {
  width: 18px;
  height: 18px;
}

.order-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
}

.order-cta__social {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.page-crumb {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-gallery {
  padding-top: clamp(1.5rem, 4vw, 3rem);
}

.product-gallery .section-header {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.product-gallery .section-header .breadcrumbs {
  margin-bottom: var(--space-3);
}

.product-gallery .section-intro {
  margin-top: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.2vw, 1.6rem);
}

.product-gallery__count {
  margin-top: var(--space-2);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper, #faf6ef);
  min-width: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: border-color var(--dur-med) var(--ease-out),
    box-shadow var(--dur-med) var(--ease-out),
    transform var(--dur-med) var(--ease-out);
}

.product-card:hover {
  border-color: rgba(80, 147, 139, 0.45);
  box-shadow: 0 10px 28px rgba(40, 32, 28, 0.08);
  transform: translateY(-3px);
}

.product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

button.product-card__link {
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.product-card__link:hover .product-card__title {
  color: var(--rose);
}

.product-card__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #e4d9cb;
}

.product-card__media .media-slot__placeholder {
  border: none;
}

.product-card__media .media-slot__label {
  font-size: 0.62rem;
  letter-spacing: 0.03em;
}

.product-card__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .product-card:hover .product-card__media img {
    transform: none;
  }
}

.product-card__price-badge {
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  bottom: auto;
  z-index: 2;
  padding: 0.35rem 0.6rem;
  background: rgba(247, 240, 229, 0.96);
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(80, 147, 139, 0.25);
  line-height: 1.2;
  max-width: calc(100% - 1.1rem);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: var(--space-3) var(--space-3) var(--space-2);
  flex: 1;
}

.product-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
}

.product-card__price {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--rose);
  letter-spacing: 0.01em;
}

.product-card__cta {
  margin-top: auto;
  padding-top: var(--space-2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.product-card__link:hover .product-card__cta {
  color: var(--rose);
}

.product-card__footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: 0 var(--space-3) var(--space-3);
}

.product-card__inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.5rem 0.9rem;
  border: 1.5px solid rgba(80, 147, 139, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rose);
  text-decoration: none;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}

.product-card__inquire:hover {
  background: rgba(80, 147, 139, 0.08);
  border-color: var(--rose);
}

.product-card__safety {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.order-cta {
  background: var(--rose);
  color: var(--cream);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  text-align: center;
}

.order-cta__inner {
  max-width: 36rem;
  margin-inline: auto;
}

.order-cta .eyebrow {
  color: rgba(247, 240, 229, 0.85);
}

.order-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--space-3);
  color: var(--cream);
}

.order-cta__text {
  color: rgba(247, 240, 229, 0.88);
  margin-bottom: var(--space-5);
  font-size: 1.02rem;
}

.order-cta .btn--primary {
  background: var(--cream);
  color: var(--rose);
  border-color: var(--cream);
}

.order-cta .btn--primary:hover {
  background: var(--paper);
  color: var(--rose-deep);
  border-color: var(--paper);
}

.order-cta .btn--social {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 240, 229, 0.35);
}

.order-cta .btn--social:hover {
  background: rgba(247, 240, 229, 0.1);
  border-color: var(--cream);
  color: var(--cream);
}

.order-cta .btn--social img {
  filter: brightness(0) invert(0.92) sepia(0.15);
}

.order-cta .btn--ghost-dark {
  margin-left: 0.75rem;
}

.order-cta .text-link {
  color: rgba(247, 240, 229, 0.85);
}

.order-cta .text-link:hover {
  color: var(--cream);
}

.order-cta__actions {
  margin-top: var(--space-2);
}

@media (max-width: 768px) {
  .order-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .order-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.order-cta .hero__actions {
  flex-wrap: wrap;
  gap: var(--space-3);
}

@media (max-width: 768px) {
  .order-cta .btn--ghost-dark {
    margin-left: 0;
  }

  .order-cta .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .order-cta .hero__actions .btn {
    width: 100%;
  }
}

.category-page--compact {
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
}

.category-page__intro {
  max-width: 40rem;
}

.category-page__intro p + p {
  margin-top: var(--space-4);
  color: var(--text-muted);
}

.category-page__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.category-page__content p + p {
  margin-top: var(--space-4);
  color: var(--text-muted);
}

.category-page__list {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-3);
}

.category-page__list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink);
  font-weight: 500;
}

.category-page__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--rose);
}

.btn--ghost-light {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn--ghost-light:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.category-mobile-cta {
  display: none;
}

.footer--category {
  padding-top: var(--space-5);
  padding-bottom: var(--space-6);
}

.footer--category .footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  align-items: center;
}

.footer--category a {
  color: var(--rose);
  font-weight: 500;
}

/* ---------- GALLERY ---------- */

.gallery__grid {
  columns: 3;
  column-gap: var(--space-4);
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: var(--space-4);
  break-inside: avoid;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
}

.gallery__item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery__placeholder {
  border-radius: var(--radius-md);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
  background: linear-gradient(to top, rgba(42, 31, 23, 0.7), transparent 55%);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
}

.gallery__item:hover .gallery__overlay,
.gallery__item:focus-visible .gallery__overlay {
  opacity: 1;
}

.gallery__caption {
  color: var(--cream);
  font-size: var(--text-small);
  font-weight: 500;
  text-align: left;
}

/* ---------- LIGHTBOX ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: grid;
  place-items: center;
  padding: var(--space-5);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 31, 23, 0.85);
  cursor: pointer;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1600px);
  max-height: 96dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
}

.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 90dvh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: var(--placeholder);
  object-fit: contain;
}

.lightbox__caption {
  color: var(--cream);
  font-size: var(--text-small);
  text-align: center;
}

.lightbox__counter {
  color: rgba(247, 240, 229, 0.72);
  font-size: 0.8rem;
  text-align: center;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: rgba(42, 31, 23, 0.45);
  border-radius: var(--radius-pill);
  transition: background var(--dur-fast);
  z-index: 2;
}

.lightbox__nav:hover {
  background: rgba(42, 31, 23, 0.7);
}

.lightbox__nav[hidden] {
  display: none;
}

.lightbox__nav--prev {
  left: 0.5rem;
}

.lightbox__nav--next {
  right: 0.5rem;
}

.lightbox__close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--cream);
  border-radius: var(--radius-pill);
  transition: background var(--dur-fast);
}

.lightbox__close:hover {
  background: rgba(247, 240, 229, 0.12);
}

.lightbox--product .lightbox__dialog--product {
  max-width: min(1080px, 100%);
  width: 100%;
  max-height: 90dvh;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  align-items: stretch;
  overflow: hidden;
}

.lightbox--product .lightbox__close {
  top: 0.75rem;
  right: 0.75rem;
  color: var(--ink);
  background: rgba(247, 240, 229, 0.9);
  z-index: 4;
}

.lightbox--product .lightbox__close:hover {
  background: var(--cream-deep);
}

.lightbox__layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-6);
  min-height: 0;
  max-height: calc(90dvh - 2.5rem);
}

.lightbox__layout:not(:has(.lightbox__info:not([hidden]))) {
  grid-template-columns: minmax(0, 1fr);
}

.lightbox__gallery {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: var(--space-3);
  min-height: 0;
  align-items: start;
}

.lightbox__gallery:not(:has(.lightbox__thumbs:not([hidden]))) {
  grid-template-columns: minmax(0, 1fr);
}

.lightbox__thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
  max-height: 70dvh;
  padding-right: 2px;
}

.lightbox__thumbs[hidden] {
  display: none;
}

.lightbox__thumb {
  width: 64px;
  height: 64px;
  min-height: 44px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--placeholder);
  cursor: pointer;
  flex-shrink: 0;
}

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

.lightbox__thumb.is-active {
  border-color: var(--rose);
}

.lightbox--product .lightbox__stage {
  background: #f3ece3;
  border-radius: var(--radius-md);
  min-height: min(70dvh, 640px);
  height: min(78dvh, 860px);
  max-height: 78dvh;
  overflow: hidden;
}

.lightbox--product .lightbox__img {
  max-height: 78dvh;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.lightbox--product .lightbox__nav {
  color: var(--ink);
  background: rgba(247, 240, 229, 0.92);
}

.lightbox--product .lightbox__counter {
  color: var(--text-muted);
  margin: var(--space-2) 0 0;
}

.lightbox__info {
  overflow-y: auto;
  min-height: 0;
  padding-right: 0.25rem;
}

.lightbox__info[hidden] {
  display: none;
}

.lightbox__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 var(--space-2);
  padding-right: 2.5rem;
}

.lightbox__price {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--rose);
  margin: 0 0 var(--space-4);
}

.lightbox__desc {
  color: var(--espresso-soft);
  margin: 0;
  line-height: 1.55;
}

.lightbox__accordions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.lightbox__accordion.faq__item {
  box-shadow: none;
  border: 1px solid var(--border);
}

.lightbox__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.lightbox__actions .btn {
  min-height: 48px;
}

@media (max-width: 900px) {
  .lightbox__layout {
    grid-template-columns: 1fr;
    max-height: calc(90dvh - 2rem);
    overflow-y: auto;
  }

  .lightbox__gallery {
    grid-template-columns: 1fr;
  }

  .lightbox__thumbs {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.25rem;
  }

  .lightbox--product .lightbox__stage {
    height: min(70dvh, 720px);
    max-height: 70dvh;
    min-height: 240px;
  }
}

/* ---------- MATERIALS ---------- */

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.swatch-grid > li {
  min-width: 0;
}

.swatch {
  position: relative;
  display: block;
  width: 100%;
  min-height: 44px;
  aspect-ratio: 1;
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  background: var(--swatch);
  box-shadow: inset 0 0 0 1px rgba(42, 31, 23, 0.08);
  cursor: default;
  transition: transform var(--dur-med) var(--ease-out);
}

.swatch:hover,
.swatch:focus-visible {
  transform: scale(1.08);
  z-index: 2;
}

.swatch:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.swatch__name {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.35rem 0.6rem;
  background: var(--espresso);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast);
}

.swatch:hover .swatch__name,
.swatch:focus-visible .swatch__name {
  opacity: 1;
}

/* ---------- PROCESS ---------- */

.process__layout {
  position: relative;
  max-width: 40rem;
  margin-inline: auto;
  padding-left: clamp(3rem, 6vw, 4.5rem);
}

.process__line {
  position: absolute;
  left: 0.85rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 4px;
  height: calc(100% - 1rem);
  color: var(--rose);
  overflow: visible;
}

.process__steps {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.process__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  align-items: start;
}

.process__num {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--terracotta);
  line-height: 1;
  min-width: 2.5rem;
}

.process__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 500;
  margin-bottom: var(--space-2);
  color: var(--ink);
}

.process__step p {
  color: var(--text-muted);
}

/* ---------- STATS ---------- */

.stats {
  background: var(--espresso);
  color: var(--cream);
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.stats__value {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
  color: var(--rose);
  margin-bottom: var(--space-3);
  font-variant-numeric: tabular-nums;
}

.stats__suffix {
  font-style: italic;
}

.stats__label {
  font-size: var(--text-small);
  letter-spacing: 0.04em;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  font-weight: 500;
}

.stats__item + .stats__item {
  border-left: 1px solid var(--border-dark);
  padding-left: var(--space-4);
}

/* ---------- TESTIMONIALS ---------- */

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.testimonial {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  border-top: 3px solid var(--rose);
}

.testimonial__stars {
  display: flex;
  gap: 0.2rem;
  color: var(--rose);
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  flex: 1;
}

.testimonial__meta {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.testimonial__author {
  font-style: normal;
  font-weight: 600;
  font-size: var(--text-small);
  color: var(--ink);
}

.testimonial__source {
  font-size: 0.75rem;
  color: var(--taupe);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- FAQ ---------- */

.faq {
  background: var(--cream-deep);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq__item {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 56px;
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--terracotta);
  border-bottom: 2px solid var(--terracotta);
  transform: rotate(45deg);
  transition: transform var(--dur-med) var(--ease-out);
  margin-top: -4px;
}

.faq__item[open] .faq__question::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq__answer {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--text-muted);
}

.faq__answer a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq__answer strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- CONTACT ---------- */

.contact {
  background: var(--espresso);
  color: var(--cream);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact__lead {
  color: var(--text-on-dark-muted);
  margin-bottom: var(--space-6);
  max-width: 28rem;
}

.contact__channels {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.contact__channel {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-pill);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--cream);
  transition: border-color var(--dur-med), background var(--dur-med);
}

.contact__channel:hover {
  border-color: var(--rose);
  background: rgba(217, 168, 168, 0.1);
}

.contact__channel img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: brightness(0) invert(0.92) sepia(0.15);
}

.contact__channel--mail {
  max-width: 100%;
}

.contact__channel--mail span {
  overflow-wrap: anywhere;
}

/* Form */

.contact-form {
  background: var(--espresso-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border-dark);
}

.form-field {
  margin-bottom: var(--space-5);
}

.form-check {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(247, 240, 229, 0.88);
  cursor: pointer;
}

.form-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--cream);
}

.form-check a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-check a:hover {
  opacity: 0.85;
}

.form-hint--center {
  text-align: center;
  margin-top: var(--space-3);
}

.form-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--cream);
}

.required {
  color: var(--rose);
}

.form-optional {
  font-weight: 400;
  color: var(--text-on-dark-muted);
}

.form-input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: rgba(247, 240, 229, 0.06);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--cream);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}

.form-input::placeholder {
  color: rgba(247, 240, 229, 0.4);
}

.form-input:hover {
  border-color: rgba(247, 240, 229, 0.3);
}

.form-input:focus {
  outline: none;
  border-color: var(--rose);
  background: rgba(247, 240, 229, 0.1);
}

.form-input.is-invalid {
  border-color: #e07a5f;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-hint {
  margin-top: var(--space-2);
  font-size: 0.75rem;
  color: var(--text-on-dark-muted);
}

.form-error {
  margin-top: var(--space-2);
  font-size: 0.8rem;
  color: #f0a090;
}

.form-status {
  margin-top: var(--space-4);
  font-size: var(--text-small);
  text-align: center;
  min-height: 1.5em;
}

.form-status.is-success {
  color: var(--sage);
}

.form-status.is-error {
  color: #f0a090;
}

/* ---------- FOOTER ---------- */

.footer {
  background: var(--cream);
  padding: var(--space-9) 0 var(--space-6);
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}

.footer__logo {
  font-family: var(--font-logo);
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-4);
}

.footer__logo-img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.footer__logo span {
  color: inherit;
}

.footer__logo span span {
  color: var(--terracotta);
}

.footer__tagline,
.footer__address {
  font-size: var(--text-small);
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__address {
  margin-top: var(--space-4);
}

.footer__heading {
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-4);
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__nav a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 36px;
  font-size: var(--text-small);
  color: var(--text-muted);
  transition: color var(--dur-fast);
}

.footer__nav a:hover {
  color: var(--ink);
}

.footer__social img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
}

.footer__email {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

.footer__copy,
.footer__made {
  font-size: 0.8rem;
  color: var(--taupe);
}

.footer__made {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer__yarn {
  color: var(--terracotta);
}

/* ---------- Legal pages (Regulamin / RODO) ---------- */

.page-legal .legal {
  padding-top: calc(5rem + var(--space-7));
}

.legal__inner {
  padding-bottom: var(--space-8);
}

.legal__content {
  color: var(--text);
  font-size: var(--text-body);
  line-height: var(--leading-body);
}

.legal__content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 500;
  color: var(--ink);
  margin: var(--space-8) 0 var(--space-4);
}

.legal__content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 500;
  color: var(--ink);
  margin: var(--space-6) 0 var(--space-3);
}

.legal__toc {
  margin-top: var(--space-4);
}

.legal__content p,
.legal__content li {
  color: var(--espresso-soft);
}

.legal__content ul,
.legal__content ol {
  padding-left: 1.25rem;
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.legal__content a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__meta {
  margin-top: var(--space-6);
  font-size: var(--text-small);
  color: var(--text-muted);
}

.legal__back {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero__grid {
    width: var(--container);
  }

  .hero__content {
    max-width: 36rem;
    width: 100%;
  }

  .hero__media {
    inset: 0;
  }

  .hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero__media::after {
    background: linear-gradient(
      180deg,
      var(--rose) 0%,
      rgba(80, 147, 139, 0.94) 38%,
      rgba(80, 147, 139, 0.72) 58%,
      rgba(80, 147, 139, 0.42) 78%,
      rgba(80, 147, 139, 0.62) 100%
    );
  }

  .hero {
    min-height: 100dvh;
    padding-top: calc(5.5rem + var(--space-6));
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .about__media {
    max-width: 520px;
  }

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-page__grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__grid {
    columns: 2;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    height: 100vh;
    background: #3b2a20;
    background: var(--espresso);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1000;
    transition: opacity var(--dur-med) var(--ease-out), visibility var(--dur-med);
  }

  .nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* backdrop-filter on header creates a containing block for fixed children —
     remove it while the menu is open so the overlay covers the viewport */
  body.nav-open .site-header,
  body.nav-open .site-header.is-scrolled,
  body.nav-open .site-header--solid {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    box-shadow: none;
  }

  body.nav-open .nav__logo,
  body.nav-open .nav__toggle {
    position: relative;
    z-index: 1001;
  }

  body.nav-open .nav__logo-text,
  body.nav-open .nav__logo-accent {
    color: var(--cream);
  }

  body.nav-open .nav__toggle-bar {
    background: var(--cream);
  }

  .nav__list {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .nav__link {
    font-size: 1.25rem;
    color: var(--cream) !important;
    min-height: 48px;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: var(--space-4);
    background: var(--rose) !important;
    color: var(--cream) !important;
    border-color: var(--rose) !important;
  }

  .site-header.is-scrolled .nav__menu,
  .site-header--solid .nav__menu {
    background: #3b2a20;
    background: var(--espresso);
  }

  .site-header.is-scrolled .nav__menu .nav__link,
  .site-header--solid .nav__menu .nav__link {
    color: var(--cream);
  }

  .site-header.is-scrolled .nav__menu .nav__link--cta,
  .site-header--solid .nav__menu .nav__link--cta {
    background: var(--rose);
    color: var(--cream);
  }

  .categories__grid {
    grid-template-columns: 1fr;
  }

  .category-page__grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .page-category {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  .category-bar {
    top: 3.75rem;
  }

  .category-bar__current,
  .category-bar__home {
    display: none;
  }

  .category-bar__back {
    font-size: 0.95rem;
  }

  .page-hero {
    padding-top: var(--space-4);
    padding-bottom: var(--space-5);
  }

  .page-hero .section-intro {
    font-size: 1rem;
    margin-bottom: var(--space-3);
  }

  .page-hero__note {
    display: flex;
    font-size: 0.85rem;
    margin-bottom: var(--space-4);
  }

  .page-hero .section-title {
    font-size: clamp(1.65rem, 7vw, 2.1rem);
    margin-bottom: 0.5rem;
  }

  .page-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-hero__actions .btn {
    justify-content: center;
    width: 100%;
  }

  .breadcrumbs {
    margin-bottom: var(--space-3);
    font-size: 0.75rem;
  }

  .product-gallery {
    padding-top: var(--space-4);
  }

  .product-gallery .section-header {
    margin-bottom: var(--space-4);
  }

  .product-gallery .section-title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .product-card__price {
    display: none;
  }

  .product-card__price-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.45rem;
  }

  .category-mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-nav);
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
    background: rgba(247, 240, 229, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(40, 32, 28, 0.08);
  }

  .category-mobile-cta .btn {
    flex: 1;
    min-height: 48px;
  }

  .site-header--solid .nav__menu {
    background: var(--espresso);
  }

  .site-header--solid .nav__menu .nav__link {
    color: var(--cream);
  }

  .site-header--solid .nav__menu .nav__link--cta {
    background: var(--rose);
    color: var(--cream);
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .stats__item + .stats__item {
    border-left: none;
    border-top: 1px solid var(--border-dark);
    padding-left: 0;
    padding-top: var(--space-5);
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero__actions .btn {
    width: auto;
  }
}

@media (max-width: 640px) {
  .gallery__grid {
    columns: 1;
  }

  .swatch-grid {
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  }

  .process__step {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .lightbox__close {
    top: -2.5rem;
  }
}

@media (max-width: 480px) {
  .nav__logo-text {
    font-size: 0.92rem;
    max-width: 11.5rem;
  }

  .nav__logo-img {
    width: 38px;
    height: 38px;
  }
}

/* ---------- Cookie consent ---------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-cookie);
  padding: var(--space-4);
  padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
  background: rgba(247, 240, 229, 0.97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(42, 31, 23, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: var(--space-5);
}

.cookie-banner__copy {
  flex: 1 1 18rem;
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-2);
}

.cookie-banner__text {
  font-size: var(--text-small);
  line-height: var(--leading-body);
  color: var(--espresso-soft);
  max-width: 42rem;
}

.cookie-banner__text a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.cookie-banner__actions .btn {
  min-height: 48px;
}

body.has-cookie-banner {
  padding-bottom: 10rem;
}

.cookie-settings-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-settings-link:hover {
  color: var(--rose);
}

.cookie-prefs {
  position: fixed;
  inset: 0;
  z-index: var(--z-toast);
  display: grid;
  place-items: end center;
  padding: var(--space-4);
  padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
}

.cookie-prefs[hidden] {
  display: none;
}

.cookie-prefs__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 31, 23, 0.42);
}

.cookie-prefs__dialog {
  position: relative;
  width: min(36rem, 100%);
  max-height: min(90dvh, 40rem);
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  outline: none;
}

.cookie-prefs__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.cookie-prefs__lead {
  font-size: var(--text-small);
  line-height: var(--leading-body);
  color: var(--espresso-soft);
  margin-bottom: var(--space-5);
}

.cookie-prefs__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0 0 var(--space-6);
  padding: 0;
  list-style: none;
}

.cookie-prefs__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--cream);
}

.cookie-prefs__name {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.cookie-prefs__desc {
  font-size: var(--text-small);
  color: var(--espresso-soft);
  line-height: 1.45;
}

.cookie-prefs__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-end;
}

.cookie-prefs__actions .btn {
  min-height: 48px;
}

.cookie-switch {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.cookie-switch__ui {
  width: 44px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: #cfc3b4;
  position: relative;
  transition: background var(--dur-fast) var(--ease-out);
}

.cookie-switch__ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out);
}

.cookie-switch input:checked + .cookie-switch__ui {
  background: var(--rose);
}

.cookie-switch input:checked + .cookie-switch__ui::after {
  transform: translateX(18px);
}

.cookie-switch input:focus-visible + .cookie-switch__ui {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
}

.cookie-switch--locked {
  cursor: not-allowed;
}

.cookie-switch--locked .cookie-switch__ui {
  background: var(--rose);
  opacity: 0.7;
}

body.has-cookie-prefs {
  overflow: hidden;
}

@media (min-width: 721px) {
  .cookie-prefs {
    place-items: center;
  }
}

@media (max-width: 720px) {
  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1 1 calc(50% - var(--space-2));
  }

  .cookie-banner__actions .btn--primary {
    flex: 1 1 100%;
    order: -1;
  }

  body.page-category.has-cookie-banner .cookie-banner {
    bottom: 4.75rem;
  }

  body.page-category.has-cookie-banner {
    padding-bottom: 16rem;
  }

  .cookie-prefs__actions {
    justify-content: stretch;
  }

  .cookie-prefs__actions .btn {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .category-card:hover,
  .swatch:hover {
    transform: none;
  }

  .marquee__track {
    animation: none;
  }
}
