/* ===================================
   ŽVAKIDĖ.LT — Global Styles
   High-End Editorial Design System
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===================================
   CSS Variables (Design Tokens)
   =================================== */
:root {
  --surface: #fcf9f6;
  --surface-lowest: #ffffff;
  --surface-low: #f6f3f0;
  --surface-container: #f0edea;
  --surface-high: #eae8e5;
  --surface-highest: #e5e2df;
  --surface-dim: #dcd9d7;

  --primary: #3e3534;
  --primary-container: #564c4a;
  --primary-fixed: #eedfdc;
  --primary-fixed-dim: #d2c3c1;
  --on-primary: #ffffff;
  --on-primary-fixed: #211a18;

  --secondary: #6c5e06;
  --secondary-container: #f7e382;
  --on-secondary: #ffffff;

  --on-surface: #1c1c1a;
  --on-surface-variant: #4e4543;
  --outline: #807572;
  --outline-variant: #d1c3c1;

  --font-headline: 'Noto Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --transition-fast: 0.3s ease;
  --transition-med: 0.4s ease;
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1600px;
}

/* ===================================
   Reset & Base
   =================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--surface);
  color: var(--on-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

::selection {
  background-color: var(--primary-fixed);
  color: var(--on-primary-fixed);
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4 {
  font-family: var(--font-headline);
  line-height: 1.1;
  color: var(--primary);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--outline);
}

/* ===================================
   Navigation
   =================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: rgba(252, 249, 246, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  transition: padding var(--transition-med), box-shadow var(--transition-med);
}

.nav--scrolled {
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 2px 20px rgba(62,53,52,0.08);
}

.nav__brand {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__brand-logo {
  height: 34px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav__link {
  font-family: var(--font-headline);
  font-size: 0.875rem;
  color: var(--outline);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding-bottom: 2px;
}

.nav__link:hover { color: var(--primary); }
.nav__link.active {
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
}

.nav__cta {
  background-color: var(--primary);
  color: var(--on-primary);
  padding: 0.7rem 1.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background-color var(--transition-med);
  text-decoration: none;
  display: inline-block;
}

.nav__cta:hover { background-color: var(--primary-container); }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--surface);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

.nav__mobile.open { display: flex; }

.nav__mobile .nav__link {
  font-size: 2.5rem;
  color: var(--primary);
}

.nav__mobile .nav__cta { margin-top: 1.5rem; padding: 1rem 3rem; }

/* ===================================
   Buttons
   =================================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  transition: all var(--transition-med);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn--primary { background-color: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background-color: var(--primary-container); }

.btn--outline {
  background-color: transparent;
  color: var(--on-primary);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  background-color: var(--on-primary);
  color: var(--primary);
}

.btn--lg { padding: 1.35rem 3.5rem; font-size: 0.75rem; }

.editorial-link {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  text-decoration: none;
  position: relative;
  display: inline-block;
}

.editorial-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 100%; height: 1px;
  background-color: var(--primary);
  opacity: 0.2;
  transition: opacity var(--transition-med);
}

.editorial-link:hover::after { opacity: 1; }

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(62, 53, 52, 0.38);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 900px;
}

.hero__eyebrow {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: white;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

/* ===================================
   Section Layouts
   =================================== */
.section {
  padding: 8rem 4rem;
}

.section--sm { padding: 5rem 4rem; }
.section--dark { background-color: var(--primary); }
.section--muted { background-color: var(--surface-low); }

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

/* ===================================
   Homepage: Signature Collection
   =================================== */
.signature-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 5rem;
}

@media (min-width: 768px) {
  .signature-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.signature-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.signature-header p {
  max-width: 380px;
  color: var(--on-surface-variant);
  line-height: 1.75;
  font-size: 1rem;
  font-style: italic;
}

/* ===================================
   Product Grid
   =================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 4rem 2.5rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.product-card__image-wrap {
  overflow: hidden;
  background-color: var(--surface-low);
  aspect-ratio: 3/4;
  margin-bottom: 1.5rem;
}

.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: transform var(--transition-slow), filter var(--transition-slow);
}

.product-card:hover .product-card__image-wrap img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.product-card__name {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.product-card__price {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 0.5rem;
}

.product-card__desc {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  line-height: 1.65;
}

.product-card__cta {
  margin-top: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}

.product-card:hover .product-card__cta {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Stagger effect on even cards */
.product-grid .product-card:nth-child(even) { margin-top: 3rem; }

/* ===================================
   Value Proposition Section
   =================================== */
.value-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .value-section {
    grid-template-columns: 5fr 7fr;
    gap: 6rem;
  }
}

.value-image {
  position: relative;
}

.value-image__main {
  width: 83%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

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

.value-image__quote {
  position: absolute;
  bottom: -3rem;
  right: -1rem;
  width: 58%;
  background-color: var(--surface);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(28,28,26,0.07);
  display: none;
}

@media (min-width: 768px) { .value-image__quote { display: block; } }

.value-image__quote p {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-style: italic;
  color: var(--primary);
  line-height: 1.65;
}

.value-eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(62,53,52,0.55);
  display: block;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.value-title {
  font-family: var(--font-headline);
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 3.5rem;
}

.value-items { display: flex; flex-direction: column; gap: 2.5rem; }

.value-item { display: flex; gap: 2rem; align-items: flex-start; }

.value-item__number {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  color: var(--outline-variant);
  flex-shrink: 0;
  min-width: 2.5rem;
  line-height: 1.3;
}

.value-item__title {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
  display: block;
  font-family: var(--font-body);
}

.value-item__text {
  font-size: 0.9rem;
  color: var(--on-surface-variant);
  line-height: 1.75;
}

/* ===================================
   Testimonial
   =================================== */
.testimonial {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.testimonial__quote-mark {
  font-family: var(--font-headline);
  font-size: 5rem;
  line-height: 1;
  color: var(--outline-variant);
  margin-bottom: 2.5rem;
  display: block;
}

.testimonial__text {
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: var(--primary);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 3rem;
}

.testimonial__author {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.testimonial__role {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
  background-color: var(--primary);
  padding: 8rem 4rem;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 2.5rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background-color: var(--surface-low);
  border-top: 1px solid rgba(209,195,193,0.12);
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 4rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer__main {
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 2rem;
    padding: 5rem 3rem;
  }
}

.footer__brand {
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: block;
}

.footer__brand-text {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  line-height: 1.9;
  max-width: 260px;
}

.footer__phone {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.footer__phone:hover { opacity: 0.6; }

.footer__heading {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
  font-family: var(--font-body);
}

.footer__links { display: flex; flex-direction: column; gap: 0.85rem; }

.footer__link {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__link:hover, .footer__link.active { color: var(--primary); }

.footer__newsletter-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(128,117,114,0.3);
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.footer__newsletter-input::placeholder { color: rgba(128,117,114,0.5); }
.footer__newsletter-input:focus { border-bottom-color: var(--primary); }

.footer__newsletter-btn {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: 0.75rem;
  cursor: pointer;
  transition: opacity var(--transition-fast);
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
}

.footer__newsletter-btn:hover { opacity: 0.55; }

.footer__bottom {
  border-top: 1px solid rgba(209,195,193,0.12);
  text-align: center;
  padding: 1.5rem 3rem;
}

.footer__bottom p {
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--outline);
}

/* ===================================
   Page Header
   =================================== */
.page-header {
  padding: 11rem 4rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-header__eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--outline);
  display: block;
  margin-bottom: 1rem;
  font-weight: 500;
}

.page-header__title {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--primary);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 1.75rem;
}

.page-header__desc {
  font-size: 1.1rem;
  color: var(--on-surface-variant);
  line-height: 1.75;
  font-weight: 300;
  max-width: 600px;
}

/* ===================================
   Catalogue Layout
   =================================== */
.catalogue-layout {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 0 4rem 8rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .catalogue-layout {
    flex-direction: row;
    gap: 5rem;
    align-items: flex-start;
  }
}

.catalogue-sidebar {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .catalogue-sidebar {
    width: 210px;
    position: sticky;
    top: 7rem;
  }
}

.filter-group { margin-bottom: 2.5rem; }

.filter-group__title {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.25rem;
  display: block;
  font-family: var(--font-body);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  width: 14px; height: 14px;
  border: 1px solid rgba(209,195,193,0.7);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  border-radius: 0;
}

.filter-option input[type="checkbox"]:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.filter-option input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px; top: 1px;
  width: 5px; height: 8px;
  border: 1.5px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

.filter-option span {
  font-size: 0.8rem;
  color: var(--on-surface-variant);
  transition: color var(--transition-fast);
}

.filter-option:hover span { color: var(--primary); }

.filter-clear {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: var(--outline-variant);
  padding: 0;
  font-family: var(--font-body);
  margin-top: 1rem;
  display: block;
}

.catalogue-grid { flex: 1; }

/* ===================================
   Breadcrumb
   =================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  font-weight: 500;
  margin-bottom: 3.5rem;
}

.breadcrumb a { color: var(--on-surface-variant); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb__sep { color: var(--outline-variant); font-size: 0.75rem; }
.breadcrumb__current { color: var(--primary); font-weight: 700; }

/* ===================================
   Product Detail
   =================================== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .product-detail {
    grid-template-columns: 7fr 5fr;
    gap: 5rem;
  }
}

.product-gallery__main {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: var(--surface-low);
  cursor: zoom-in;
}

.product-gallery__main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-gallery__main:hover img { transform: scale(1.06); }

.gallery-dots {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  display: flex; gap: 0.5rem;
}

.gallery-dot {
  width: 8px; height: 8px;
  background-color: rgba(255,255,255,0.45);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background-color var(--transition-fast);
}

.gallery-dot.active { background-color: white; }

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.product-gallery__thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background-color: var(--surface-low);
  cursor: pointer;
}

.product-gallery__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-med);
}

.product-gallery__thumb:hover img { transform: scale(1.06); }
.product-gallery__thumb.active { outline: 1.5px solid var(--primary); }

.product-info { position: sticky; top: 7rem; }

.product-info__collection {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.product-info__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.product-info__price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(209,195,193,0.2);
}

.product-info__price-main {
  font-size: 1.85rem;
  font-weight: 300;
  color: var(--primary);
}

.product-info__price-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.product-info__section { margin-bottom: 2rem; }

.product-info__section-title {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-surface);
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(209,195,193,0.2);
  margin-bottom: 1rem;
  display: block;
  font-family: var(--font-body);
}

.product-info__text {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--on-surface-variant);
  line-height: 1.75;
}

.product-info__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.spec-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  display: block;
  margin-bottom: 0.25rem;
}

.spec-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
}

.product-info__cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn--product {
  width: 100%;
  text-align: center;
  padding: 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  background-color: var(--primary);
  color: var(--on-primary);
  display: block;
  transition: background-color var(--transition-med);
}

.btn--product:hover { background-color: var(--primary-container); }

/* ===================================
   Related Products
   =================================== */
.related-products { margin-top: 7rem; }

.related-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.related-header__sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 600;
}

.related-header h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 2rem;
}

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

.related-card__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: var(--surface-container);
  margin-bottom: 1rem;
}

.related-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.related-card:hover .related-card__image img { transform: scale(1.05); }

.related-card__info { display: flex; justify-content: space-between; align-items: flex-start; }

.related-card__name {
  font-family: var(--font-headline);
  font-size: 1rem;
  color: var(--primary);
}

.related-card__meta {
  font-size: 0.7rem;
  color: var(--on-surface-variant);
  font-weight: 300;
  margin-top: 0.25rem;
}

.related-card__price {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
}

/* ===================================
   About Page
   =================================== */
.about-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 2.5rem;
  padding: 11rem 4rem 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about-hero__grid {
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
  }
}

.about-hero__eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 2rem;
  display: block;
  font-weight: 500;
}

.about-hero__title {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--primary);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.about-hero__text {
  font-size: 1.1rem;
  color: var(--on-surface-variant);
  line-height: 1.75;
  font-weight: 300;
  max-width: 380px;
  align-self: flex-end;
  padding-bottom: 0.5rem;
}

.about-hero__image {
  max-width: var(--max-width);
  margin: 3.5rem auto 0;
  padding: 0 4rem;
  height: 520px;
  overflow: hidden;
}

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

.story-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .story-section {
    grid-template-columns: 5fr 6fr;
    gap: 6rem;
  }
}

.story-section--reverse { direction: rtl; }
.story-section--reverse > * { direction: ltr; }

.story-section__image {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.story-section__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(10%) brightness(1.04);
}

.story-section__content { display: flex; flex-direction: column; gap: 1.5rem; }

.story-section__content h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.15;
}

.story-section__content p {
  font-size: 0.95rem;
  color: var(--on-surface-variant);
  line-height: 1.8;
  font-weight: 300;
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .craft-grid { grid-template-columns: repeat(3, 1fr); }
  .craft-item:nth-child(2) { margin-top: 4rem; }
}

.craft-item { display: flex; flex-direction: column; gap: 1.5rem; }

.craft-item__image {
  height: 380px;
  overflow: hidden;
  background-color: var(--surface);
}

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

.craft-item__title {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  color: var(--primary);
}

.craft-item__text {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.8;
  font-weight: 300;
}

.experience-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .experience-section { grid-template-columns: 1fr 1fr; gap: 6rem; }
}

.experience-image {
  position: relative;
}

.experience-image__photo { aspect-ratio: 3/4; overflow: hidden; }
.experience-image__photo img { width: 100%; height: 100%; object-fit: cover; }

.experience-image__quote {
  position: absolute;
  bottom: -3rem;
  left: -2.5rem;
  background-color: var(--surface-lowest);
  padding: 2.5rem;
  max-width: 300px;
  display: none;
}

@media (min-width: 768px) { .experience-image__quote { display: block; } }

.experience-image__quote p {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-style: italic;
  color: var(--on-surface-variant);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.experience-image__quote span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary);
}

.experience-steps { display: flex; flex-direction: column; gap: 3rem; }

.experience-step { display: flex; gap: 1.5rem; align-items: flex-start; }

.experience-step__number {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  color: rgba(209,195,193,0.45);
  flex-shrink: 0;
  min-width: 2.5rem;
  line-height: 1.2;
}

.experience-step__title {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.6rem;
  display: block;
  font-family: var(--font-body);
}

.experience-step__text {
  font-size: 0.9rem;
  color: var(--on-surface-variant);
  line-height: 1.75;
  font-weight: 300;
}

/* ===================================
   Contact / Inquiry Page
   =================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  padding: 0 4rem 8rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 7fr 4fr; gap: 6rem; }
}

.contact-form-wrap {
  background-color: var(--surface-low);
  padding: 4rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
}

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group--full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--outline);
  font-weight: 500;
}

.form-input, .form-select, .form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(209,195,193,0.35);
  padding: 0.75rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--primary);
  outline: none;
  transition: border-color var(--transition-fast);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-input::placeholder, .form-textarea::placeholder { color: rgba(128,117,114,0.5); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-bottom-color: var(--secondary); }
.form-textarea { resize: none; min-height: 120px; }

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M5 6L0 0h10z' fill='%23807572'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 1.5rem;
}

.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.form-chip { position: relative; }

.form-chip input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.form-chip label {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  border: 1px solid rgba(209,195,193,0.55);
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  user-select: none;
  -webkit-user-select: none;
}

.form-chip label:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.form-chip input[type="checkbox"]:checked + label {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}

.form-chip input[type="checkbox"]:focus-visible + label {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.form-note {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-sidebar { display: flex; flex-direction: column; gap: 3.5rem; }

.contact-block__title {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--outline);
  margin-bottom: 1.5rem;
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-item__icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--outline-variant);
}

.contact-item__text {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}

.contact-sidebar__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

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

.contact-sidebar__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(62,53,52,0.08);
}

/* ===================================
   Lazy loading
   Only hide images that use the data-src pattern (JS-controlled).
   Native loading="lazy" images load via the browser and need no opacity trick.
   =================================== */
img[data-src] {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img[data-src].loaded { opacity: 1; }

/* ===================================
   Responsive — Mobile
   =================================== */
@media (max-width: 767px) {
  .nav { padding: 1.25rem 1.5rem; }
  .nav--scrolled { padding: 1rem 1.5rem; }
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .section { padding: 5rem 1.5rem; }
  .section--sm { padding: 3.5rem 1.5rem; }
  .cta-section { padding: 5rem 1.5rem; }
  .page-header { padding: 9rem 1.5rem 3rem; }
  .catalogue-layout { padding: 0 1.5rem 5rem; }
  .contact-layout { padding: 0 1.5rem 5rem; }
  .footer__main { padding: 3rem 1.5rem; }
  .about-hero__grid { padding: 9rem 1.5rem 0; }
  .about-hero__image { padding: 0 1.5rem; height: 280px; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
  .product-grid .product-card:nth-child(even) { margin-top: 0; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .product-card__name { font-size: 1rem; }
}

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

@media (min-width: 768px) and (max-width: 1023px) {
  .section { padding: 6rem 2.5rem; }
  .cta-section { padding: 6rem 2.5rem; }
  .page-header { padding: 10rem 2.5rem 4rem; }
  .catalogue-layout { padding: 0 2.5rem 6rem; }
  .contact-layout { padding: 0 2.5rem 6rem; }
  .about-hero__grid { padding: 10rem 2.5rem 0; }
  .about-hero__image { padding: 0 2.5rem; height: 400px; }
}
