/* ==========================================================================
   CAVALETTA — EDITORIAL DESIGN SYSTEM & LUXURY STYLESHEET
   Mediterranean Warmth • Quiet Luxury • Handcrafted for everyday living
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Colors */
  --c-ivory: #FAF6F0;
  --c-ivory-warm: #F5F0E7;
  --c-ivory-light: #FCFAF6;
  --c-sand: #EFE8DC;
  --c-sand-dark: #E2D7C5;
  --c-rope: #D9C3A5;
  --c-rope-deep: #BFA586;
  --c-terracotta: #C96F32;
  --c-terracotta-dark: #A64B2A;
  --c-terracotta-light: #D87935;
  --c-terracotta-soft: rgba(201, 111, 50, 0.08);
  --c-charcoal: #292824;
  --c-charcoal-muted: #57544C;
  --c-charcoal-light: #827E74;
  --c-olive: #6B705C;
  --c-olive-dark: #4F5441;
  
  /* Borders */
  --b-subtle: 1px solid rgba(41, 40, 36, 0.1);
  --b-subtle-dark: 1px solid rgba(250, 246, 240, 0.15);
  --b-terracotta: 1px solid rgba(201, 111, 50, 0.3);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout Spacing */
  --space-unit: 8px;
  --section-pad-y: clamp(5rem, 9vw, 9.5rem);
  --content-max-w: 1440px;
  --grid-gap: clamp(1.5rem, 3vw, 3rem);

  /* Transitions */
  --t-smooth: cubic-bezier(0.25, 1, 0.5, 1);
  --t-fast: 0.25s ease;
  --t-med: 0.45s var(--t-smooth);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--c-ivory);
  color: var(--c-charcoal);
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  color: var(--c-charcoal);
  background-color: var(--c-ivory);
  overflow-x: hidden;
  position: relative;
}

body.modal-locked {
  overflow: hidden;
}

img, picture, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* --- Typography Hierarchy --- */
.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background-color: currentColor;
  opacity: 0.6;
}

.lead-text {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--c-charcoal);
}

/* --- Global Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--content-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3.5rem);
  padding-right: clamp(1.25rem, 4vw, 3.5rem);
}

.container-narrow {
  width: 100%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.section-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(41, 40, 36, 0.08);
}

/* --- Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1.05rem 2.25rem;
  position: relative;
  transition: all var(--t-med);
  border-radius: 0;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--c-terracotta);
  color: var(--c-ivory-light);
  border: 1px solid var(--c-terracotta);
}

.btn-primary:hover {
  background-color: var(--c-terracotta-dark);
  border-color: var(--c-terracotta-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 111, 50, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--c-charcoal);
  border: 1px solid var(--c-charcoal);
}

.btn-secondary:hover {
  background-color: var(--c-charcoal);
  color: var(--c-ivory);
  transform: translateY(-2px);
}

.btn-ivory {
  background-color: var(--c-ivory);
  color: var(--c-charcoal);
  border: 1px solid var(--c-ivory);
}

.btn-ivory:hover {
  background-color: #FFFFFF;
  color: var(--c-terracotta);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-ghost-light {
  background-color: transparent;
  color: var(--c-ivory-light);
  border: 1px solid rgba(250, 246, 240, 0.4);
}

.btn-ghost-light:hover {
  background-color: var(--c-ivory-light);
  color: var(--c-charcoal);
  border-color: var(--c-ivory-light);
  transform: translateY(-2px);
}

.link-editorial {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-charcoal);
  position: relative;
  padding-bottom: 4px;
}

.link-editorial::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transition: transform var(--t-fast);
  transform-origin: right;
  transform: scaleX(0.7);
}

.link-editorial:hover::after {
  transform-origin: left;
  transform: scaleX(1);
}

/* --- Atmospheric Foliage Shadows Overlay --- */
.ambient-shadows {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  background-image: radial-gradient(circle at 10% 20%, rgba(107, 112, 92, 0.8) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(201, 111, 50, 0.6) 0%, transparent 45%);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background-color var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  background-color: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(41, 40, 36, 0.06);
}

.navbar.is-scrolled {
  background-color: rgba(250, 246, 240, 0.98);
  border-bottom: 1px solid rgba(41, 40, 36, 0.12);
  box-shadow: 0 4px 20px rgba(41, 40, 36, 0.04);
}

.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 82px;
}

.nav-links-left {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-item {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-charcoal-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--c-terracotta);
  transition: width var(--t-fast);
}

.nav-item:hover {
  color: var(--c-charcoal);
}

.nav-item:hover::after {
  width: 100%;
}

.nav-brand-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-actions-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.catalog-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  background-color: var(--c-terracotta-soft);
  color: var(--c-terracotta-dark);
  border: 1px solid rgba(201, 111, 50, 0.25);
  transition: all var(--t-fast);
}

.catalog-pill-btn:hover {
  background-color: var(--c-terracotta);
  color: #FFFFFF;
  border-color: var(--c-terracotta);
}

.pdf-download-link {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-charcoal-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pdf-download-link:hover {
  color: var(--c-terracotta);
}

.nav-toggle-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--c-charcoal);
}

/* --- Mobile Navigation Drawer --- */
.nav-drawer {
  position: fixed;
  inset: 0;
  background-color: var(--c-ivory);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  transform: translateX(100%);
  transition: transform var(--t-med);
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: var(--b-subtle);
}

.drawer-logo {
  height: 38px;
  width: auto;
}

.drawer-close-btn {
  padding: 0.5rem;
  color: var(--c-charcoal);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.drawer-link {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 300;
  color: var(--c-charcoal);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.drawer-link-num {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--c-terracotta);
}

.drawer-footer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 6vw, 6rem);
  padding-top: clamp(2rem, 4vw, 4rem);
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1F1D1A;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: none !important;
  transition: none !important;
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 18, 14, 0.25) 0%,
    rgba(20, 18, 14, 0.1) 40%,
    rgba(20, 18, 14, 0.75) 85%,
    rgba(20, 18, 14, 0.9) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  width: 100%;
}

.hero-card {
  max-width: 860px;
}

.hero-pretitle {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #F5E8D8;
  margin-bottom: 1.25rem;
}

.hero-pretitle-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background-color: #E29B63;
}

.hero-title {
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  font-weight: 300;
  line-height: 1.08;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: #F8E2CF;
}

.hero-supporting {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.4vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.hero-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-categories-list {
  display: flex;
  gap: 2rem;
}

.hero-scroll-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-scroll-line {
  width: 30px;
  height: 1px;
  background-color: currentColor;
  animation: scrollPulse 2s infinite ease-in-out;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleX(0.5); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ==========================================================================
   BRAND PHILOSOPHY & STORY SPREAD
   ========================================================================== */
.brand-story-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background-color: var(--c-ivory);
  position: relative;
}

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

.story-visual-col {
  position: relative;
}

.story-image-frame {
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(41, 40, 36, 0.08);
}

.story-image-frame img {
  width: 100%;
  height: auto;
  max-height: 820px;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--t-smooth);
}

.story-image-frame:hover img {
  transform: scale(1.025);
}

.story-image-caption {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-charcoal-light);
}

.story-content-col {
  padding-right: clamp(0rem, 3vw, 2.5rem);
}

.story-brand-mark {
  width: 72px;
  height: auto;
  margin-bottom: 2rem;
}

.story-heading {
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--c-charcoal);
  margin-bottom: 1.75rem;
}

.story-divider {
  width: 60px;
  height: 1px;
  background-color: var(--c-terracotta);
  margin-bottom: 2rem;
}

.story-body-text {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--c-charcoal-muted);
  margin-bottom: 1.5rem;
}

.story-signoff {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--c-terracotta-dark);
  margin-top: 2rem;
  display: block;
}

/* ==========================================================================
   CRAFTSMANSHIP SECTION (CRAFTED BY HAND)
   ========================================================================== */
.craftsmanship-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background-color: var(--c-charcoal);
  color: var(--c-ivory);
  position: relative;
}

.craft-header-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(3rem, 6vw, 5.5rem);
}

.craft-eyebrow {
  color: var(--c-rope);
}

.craft-main-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  color: var(--c-ivory);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.craft-lead-desc {
  font-size: 1.125rem;
  color: rgba(250, 246, 240, 0.75);
}

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

.craft-hero-visual {
  position: relative;
}

.craft-hero-img-wrap {
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.craft-hero-img-wrap img {
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: cover;
  display: block;
}

.craft-badge-floating {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background-color: rgba(41, 40, 36, 0.88);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.75rem;
  border-left: 2px solid var(--c-terracotta);
}

.craft-badge-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--c-ivory);
}

.craft-badge-sub {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-rope);
}

/* 4 Core Qualities */
.craft-qualities-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.quality-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.75rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(250, 246, 240, 0.12);
  transition: transform var(--t-fast);
}

.quality-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.quality-item:hover {
  transform: translateX(6px);
}

.quality-thumb-wrap {
  width: 100px;
  height: 100px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(250, 246, 240, 0.2);
}

.quality-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-med);
}

.quality-item:hover .quality-thumb {
  transform: scale(1.08);
}

.quality-num {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--c-terracotta);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.quality-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--c-ivory);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.quality-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(250, 246, 240, 0.7);
}

.craft-editorial-note {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 246, 240, 0.15);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: rgba(250, 246, 240, 0.8);
}

.craft-editorial-note svg {
  color: var(--c-terracotta);
  flex-shrink: 0;
}

/* ==========================================================================
   COLLECTION / PRODUCTS SECTION
   ========================================================================== */
.collection-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background-color: var(--c-ivory-warm);
}

.collection-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.collection-title-wrap {
  max-width: 620px;
}

.collection-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  color: var(--c-charcoal);
  margin-bottom: 0.75rem;
}

.collection-subtitle {
  font-size: 1.0625rem;
  color: var(--c-charcoal-muted);
}

/* Filter Navigation */
.collection-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 1.25rem;
  border-bottom: var(--b-subtle);
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  background-color: transparent;
  color: var(--c-charcoal-muted);
  border: 1px solid rgba(41, 40, 36, 0.14);
  transition: all var(--t-fast);
}

.filter-btn:hover {
  color: var(--c-charcoal);
  border-color: var(--c-charcoal);
}

.filter-btn.is-active {
  background-color: var(--c-charcoal);
  color: var(--c-ivory);
  border-color: var(--c-charcoal);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  transition: opacity 0.3s ease;
}

.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--c-ivory-light);
  border: 1px solid rgba(41, 40, 36, 0.08);
  transition: transform var(--t-med), box-shadow var(--t-med);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(41, 40, 36, 0.07);
}

.product-media-wrap {
  position: relative;
  aspect-ratio: 4 / 3.8;
  overflow: hidden;
  background-color: #EFE8DC;
  cursor: pointer;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--t-smooth);
}

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

.product-media-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(41, 40, 36, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-fast);
}

.product-card:hover .product-media-overlay {
  opacity: 1;
}

.product-inspect-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  color: var(--c-charcoal);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(6px);
  transition: transform var(--t-fast);
}

.product-card:hover .product-inspect-pill {
  transform: translateY(0);
}

.product-collection-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(250, 246, 240, 0.9);
  backdrop-filter: blur(4px);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-terracotta-dark);
  padding: 0.35rem 0.75rem;
}

.product-info {
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-header-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--c-charcoal);
}

.product-page-hint {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-charcoal-light);
}

.product-tagline {
  font-size: 0.875rem;
  color: var(--c-charcoal-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: var(--b-subtle);
}

.product-dimension {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-charcoal-light);
}

.product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  transition: transform var(--t-fast);
}

.product-card-cta:hover {
  transform: translateX(3px);
}

/* ==========================================================================
   MATERIAL & TEXTURE SECTION
   ========================================================================== */
.texture-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background-color: var(--c-ivory);
  position: relative;
}

.texture-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.texture-visual-side {
  position: relative;
}

.texture-image-wrap {
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(41, 40, 36, 0.08);
}

.texture-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 780px;
  object-fit: cover;
  display: block;
}

.texture-content-side {
  padding-right: clamp(0rem, 2vw, 2rem);
}

.texture-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  color: var(--c-charcoal);
  margin-bottom: 1.5rem;
}

.texture-intro-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--c-charcoal-muted);
  margin-bottom: 2.5rem;
}

/* Texture detail tabs */
.texture-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: var(--b-subtle);
  padding-bottom: 1rem;
}

.texture-tab-btn {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  color: var(--c-charcoal-muted);
  position: relative;
  transition: all var(--t-fast);
}

.texture-tab-btn.is-active {
  color: var(--c-terracotta);
}

.texture-tab-btn.is-active::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--c-terracotta);
}

.texture-detail-card {
  display: none;
  background-color: var(--c-ivory-light);
  border: var(--b-subtle);
  padding: 1.75rem;
  border-left: 3px solid var(--c-terracotta);
}

.texture-detail-card.is-active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.texture-detail-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--c-charcoal);
  margin-bottom: 0.5rem;
}

.texture-detail-desc {
  font-size: 0.9375rem;
  color: var(--c-charcoal-muted);
  line-height: 1.65;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   SUSTAINABILITY (DÖNÜŞÜMÜN SESSİZ DİLİ)
   ========================================================================== */
.sustainability-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background-color: var(--c-sand);
  position: relative;
}

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

.sustainability-left {
  max-width: 520px;
}

.sustainability-title {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  color: var(--c-charcoal);
  margin-bottom: 1.5rem;
}

.sustainability-philosophy {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--c-terracotta-dark);
  margin-bottom: 1.5rem;
}

.sustainability-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-charcoal-muted);
}

.transformation-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.trans-step-card {
  background-color: var(--c-ivory);
  border: var(--b-subtle);
  padding: 1.75rem;
  transition: transform var(--t-fast);
}

.trans-step-card:hover {
  transform: translateY(-3px);
}

.trans-step-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-terracotta);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.trans-step-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--c-charcoal);
  margin-bottom: 0.5rem;
}

.trans-step-desc {
  font-size: 0.875rem;
  color: var(--c-charcoal-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CATALOG SHOWCASE SECTION
   ========================================================================== */
.catalog-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background-color: var(--c-terracotta);
  color: var(--c-ivory);
  position: relative;
  overflow: hidden;
}

.catalog-section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.catalog-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

/* 3D Book Presentation */
.catalog-book-presentation {
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.catalog-book-3d {
  position: relative;
  width: 100%;
  max-width: 380px;
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s var(--t-smooth);
  box-shadow: 
    -15px 25px 40px rgba(0, 0, 0, 0.35),
    -5px 10px 15px rgba(0, 0, 0, 0.25);
}

.catalog-book-3d:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.catalog-cover-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

.book-spine-effect {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 16px;
  background: linear-gradient(90deg, rgba(0,0,0,0.3) 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  pointer-events: none;
}

.catalog-meta-side {
  padding-right: clamp(0rem, 2vw, 2rem);
}

.catalog-section-eyebrow {
  color: #F8D5B8;
}

.catalog-section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--c-ivory);
  margin-bottom: 0.5rem;
  line-height: 1.05;
}

.catalog-section-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: #F8D5B8;
  margin-bottom: 1.75rem;
}

.catalog-section-desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(250, 246, 240, 0.9);
  margin-bottom: 2.25rem;
}

.catalog-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}

.catalog-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(250, 246, 240, 0.95);
}

.catalog-feature-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--c-ivory);
}

.catalog-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   CARE & USAGE GUIDE ("MADE TO LIVE WITH YOU")
   ========================================================================== */
.care-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background-color: var(--c-ivory);
}

.care-header-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(3rem, 5vw, 4.5rem);
}

.care-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  color: var(--c-charcoal);
  margin-bottom: 0.75rem;
}

.care-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--c-terracotta);
}

.care-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.care-card {
  background-color: var(--c-ivory-light);
  border: var(--b-subtle);
  padding: 2.25rem 2rem;
  position: relative;
  transition: transform var(--t-fast);
}

.care-card:hover {
  transform: translateY(-3px);
}

.care-card-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-terracotta);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
}

.care-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--c-charcoal);
  margin-bottom: 0.75rem;
}

.care-card-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--c-charcoal-muted);
}

/* ==========================================================================
   CONTACT & B2B SECTION
   ========================================================================== */
.contact-section {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background-color: var(--c-sand);
  border-top: var(--b-subtle);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.contact-info-col {
  max-width: 580px;
}

.contact-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  color: var(--c-charcoal);
  margin-bottom: 1rem;
}

.contact-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--c-terracotta-dark);
  margin-bottom: 2rem;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.channel-icon-wrap {
  width: 44px;
  height: 44px;
  background-color: var(--c-ivory);
  border: var(--b-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-terracotta);
  flex-shrink: 0;
}

.channel-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-charcoal-light);
  display: block;
  margin-bottom: 0.2rem;
}

.channel-value {
  font-size: 1.0625rem;
  color: var(--c-charcoal);
}

.contact-email-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

.contact-email-link:hover {
  color: var(--c-terracotta);
  text-decoration: underline;
}

.contact-qr-card {
  background-color: var(--c-ivory);
  border: var(--b-subtle);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 12px 35px rgba(41, 40, 36, 0.05);
}

.contact-qr-img {
  width: 170px;
  height: 170px;
  margin: 0 auto 1.5rem;
  display: block;
}

.contact-qr-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--c-charcoal);
  margin-bottom: 0.5rem;
}

.contact-qr-sub {
  font-size: 0.8125rem;
  color: var(--c-charcoal-muted);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--c-charcoal);
  color: var(--c-ivory);
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: 3rem;
  position: relative;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(250, 246, 240, 0.12);
}

.footer-brand-side {
  max-width: 440px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 1.75rem;
}

.footer-philosophy {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--c-ivory);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.footer-supporting {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--c-rope);
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin-bottom: 1.5rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-link {
  font-size: 0.875rem;
  color: rgba(250, 246, 240, 0.75);
  transition: color var(--t-fast);
}

.footer-nav-link:hover {
  color: var(--c-ivory);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2.5rem;
  font-size: 0.75rem;
  color: rgba(250, 246, 240, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

/* ==========================================================================
   MODALS: PRODUCT DETAIL MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(20, 19, 17, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.product-modal-dialog {
  background-color: var(--c-ivory);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(15px);
  transition: transform var(--t-med);
}

.modal-backdrop.is-open .product-modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  background-color: var(--c-ivory);
  border: var(--b-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-charcoal);
  z-index: 10;
  transition: all var(--t-fast);
}

.modal-close-btn:hover {
  background-color: var(--c-charcoal);
  color: var(--c-ivory);
}

.product-modal-media {
  background-color: #EFE8DC;
  position: relative;
}

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

.product-modal-body {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
}

.product-modal-collection {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin-bottom: 0.75rem;
}

.product-modal-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--c-charcoal);
  margin-bottom: 0.5rem;
}

.product-modal-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--c-charcoal-muted);
  margin-bottom: 1.5rem;
}

.product-modal-desc {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--c-charcoal-muted);
  margin-bottom: 2rem;
}

.product-modal-specs-wrap {
  margin-bottom: 2.25rem;
  padding-top: 1.5rem;
  border-top: var(--b-subtle);
}

.spec-dim-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.spec-dim-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-charcoal-light);
}

.spec-dim-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--c-charcoal);
}

.product-modal-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.product-modal-specs-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--c-charcoal-muted);
}

.spec-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--c-terracotta);
}

.product-modal-actions {
  margin-top: auto;
  display: flex;
  gap: 1rem;
}

/* ==========================================================================
   MODALS: CATALOG VIEWER (DUAL MODE: DIGITAL FLIP + EMBEDDED PDF)
   ========================================================================== */
.catalog-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(18, 17, 15, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1600;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
}

.catalog-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Catalog Modal Header */
.catalog-viewer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.75rem;
  background-color: #1F1E1B;
  border-bottom: 1px solid rgba(250, 246, 240, 0.12);
  color: var(--c-ivory);
  flex-shrink: 0;
  gap: 1rem;
}

.viewer-brand-side {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.viewer-logo-mark {
  height: 28px;
  width: auto;
}

.viewer-doc-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--c-ivory);
}

.viewer-page-status {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.viewer-page-counter {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-ivory);
  background-color: rgba(250, 246, 240, 0.08);
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(250, 246, 240, 0.15);
}

.viewer-subtitle {
  font-size: 0.75rem;
  color: var(--c-rope);
  letter-spacing: 0.1em;
}

.viewer-controls-side {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.viewer-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.8);
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(250, 246, 240, 0.18);
  transition: all var(--t-fast);
}

.viewer-tool-btn:hover {
  background-color: rgba(250, 246, 240, 0.12);
  color: var(--c-ivory);
}

.viewer-close-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(250, 246, 240, 0.1);
  color: var(--c-ivory);
  border: 1px solid rgba(250, 246, 240, 0.2);
  transition: all var(--t-fast);
}

.viewer-close-btn:hover {
  background-color: var(--c-terracotta);
  border-color: var(--c-terracotta);
}

/* Bookmarks Quick Bar */
.catalog-bookmarks-bar {
  background-color: #161513;
  padding: 0.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  border-bottom: 1px solid rgba(250, 246, 240, 0.08);
  flex-shrink: 0;
  scrollbar-width: none;
}

.catalog-bookmarks-bar::-webkit-scrollbar {
  display: none;
}

.catalog-bm-pill {
  white-space: nowrap;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 246, 240, 0.6);
  padding: 0.35rem 0.85rem;
  border: 1px solid transparent;
  transition: all var(--t-fast);
}

.catalog-bm-pill:hover {
  color: var(--c-ivory);
  background-color: rgba(250, 246, 240, 0.06);
}

.catalog-bm-pill.is-active {
  color: var(--c-terracotta);
  border-color: rgba(201, 111, 50, 0.4);
  background-color: rgba(201, 111, 50, 0.1);
}

.bm-sub {
  opacity: 0.6;
  font-size: 0.625rem;
  margin-left: 0.35rem;
}

/* Viewer Main Stage */
.catalog-stage {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
}

.catalog-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background-color: rgba(31, 30, 27, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(250, 246, 240, 0.15);
  color: var(--c-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all var(--t-fast);
}

.catalog-nav-arrow:hover:not(:disabled) {
  background-color: var(--c-terracotta);
  border-color: var(--c-terracotta);
  transform: translateY(-50%) scale(1.06);
}

.catalog-nav-arrow:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.catalog-nav-prev {
  left: 2rem;
}

.catalog-nav-next {
  right: 2rem;
}

.catalog-page-container {
  max-width: 100%;
  max-height: calc(100vh - 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  transition: transform var(--t-fast);
}

.catalog-page-img {
  max-width: 100%;
  max-height: calc(100vh - 240px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
  user-select: none;
}

/* Native PDF View Container */
.catalog-pdf-embed-wrap {
  width: 100%;
  height: 100%;
  display: none;
  background-color: #2D2C28;
}

.catalog-pdf-embed-wrap iframe,
.catalog-pdf-embed-wrap object {
  width: 100%;
  height: 100%;
  border: none;
}

/* Bottom Thumbnails Drawer */
.catalog-thumbnails-drawer {
  background-color: #1A1916;
  border-top: 1px solid rgba(250, 246, 240, 0.1);
  padding: 0.75rem 1.5rem;
  overflow-x: auto;
  flex-shrink: 0;
}

.catalog-thumbnails-track {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin: 0 auto;
  width: max-content;
}

.catalog-thumb-item {
  width: 58px;
  height: 82px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250, 246, 240, 0.15);
  background-color: #262420;
  transition: all var(--t-fast);
  flex-shrink: 0;
}

.catalog-thumb-item:hover {
  border-color: var(--c-ivory);
  transform: translateY(-2px);
}

.catalog-thumb-item.is-active {
  border-color: var(--c-terracotta);
  box-shadow: 0 0 0 2px var(--c-terracotta);
}

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

.thumb-num {
  position: absolute;
  bottom: 2px;
  right: 4px;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #FFFFFF;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 1px 3px;
}

/* ==========================================================================
   MODALS: B2B INQUIRY
   ========================================================================== */
.b2b-modal-dialog {
  background-color: var(--c-ivory);
  width: 100%;
  max-width: 620px;
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.b2b-form-wrap {
  margin-top: 2rem;
}

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

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-charcoal-muted);
}

.form-input, .form-textarea {
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 0.85rem 1rem;
  background-color: var(--c-ivory-light);
  border: 1px solid rgba(41, 40, 36, 0.18);
  color: var(--c-charcoal);
  transition: border-color var(--t-fast);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--c-terracotta);
}

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

.form-actions {
  margin-top: 1.75rem;
}

.b2b-success-box {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.b2b-success-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--c-charcoal);
  margin-bottom: 0.75rem;
}

.b2b-success-text {
  font-size: 1rem;
  color: var(--c-charcoal-muted);
  line-height: 1.7;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .care-cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top-row {
    grid-template-columns: 1.5fr 1fr;
  }
}

/* Navbar Switch to Mobile Drawer at 1040px (Prevents Any Navbar Overflow) */
@media (max-width: 1040px) {
  .nav-links-left,
  .pdf-download-link {
    display: none !important;
  }

  .nav-toggle-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .story-spread-grid,
  .craft-layout-grid,
  .texture-split-grid,
  .sustainability-grid,
  .catalog-showcase-grid,
  .contact-layout-grid,
  .product-modal-dialog {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .hero-categories-list {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .transformation-steps {
    grid-template-columns: 1fr;
  }

  .catalog-book-presentation {
    order: -1;
  }

  .catalog-nav-arrow {
    width: 44px;
    height: 44px;
  }

  .catalog-nav-prev { left: 0.5rem; }
  .catalog-nav-next { right: 0.5rem; }

  .b2b-form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
}

/* Tablet & Mobile Filter Bar Swipe */
@media (max-width: 768px) {
  .collection-controls-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .collection-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    width: 100%;
  }

  .collection-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .collection-search-box {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .navbar {
    height: 68px;
  }

  .nav-container {
    height: 68px;
  }

  .brand-logo-img {
    height: 38px;
  }

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

  .care-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .catalog-features-list {
    grid-template-columns: 1fr;
  }

  .catalog-action-row {
    flex-direction: column;
  }

  .viewer-doc-title, .viewer-subtitle {
    display: none;
  }

  .product-modal-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .product-modal-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .floating-actions-container {
    bottom: 1.25rem;
    right: 1.25rem;
    gap: 0.6rem;
  }

  .floating-whatsapp-btn {
    padding: 0.5rem 0.9rem 0.5rem 0.6rem;
  }

  .whatsapp-label-sub {
    display: none;
  }
}

/* Compact Mobile Screens (<480px) */
@media (max-width: 480px) {
  .catalog-pill-btn {
    display: none !important;
  }

  .brand-logo-img {
    height: 34px;
  }

  .nav-actions-right {
    gap: 0.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }
}

/* ==========================================================================
   PROGRESS BAR & MISSING BASE STYLES
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-terracotta), var(--c-rope));
  z-index: 1200;
  pointer-events: none;
  transition: width 0.1s linear;
}

.quality-info {
  display: flex;
  flex-direction: column;
}

.bm-title {
  font-weight: 600;
  letter-spacing: 0.12em;
}

.jump-page-number {
  font-weight: 700;
}

.success-name {
  font-weight: 600;
  color: var(--c-terracotta);
}

/* Featured product card accent */
.product-card--featured {
  border-color: rgba(201, 111, 50, 0.3);
  background: linear-gradient(180deg, var(--c-ivory-light) 0%, rgba(245, 240, 231, 0.6) 100%);
  position: relative;
}

.product-card--featured::before {
  content: 'ÖNE ÇIKAN';
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #FAF6F0;
  background-color: var(--c-terracotta);
  padding: 0.25rem 0.6rem;
  box-shadow: 0 4px 10px rgba(201, 111, 50, 0.3);
}

/* Empty Search State */
.product-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4.5rem 2rem;
  background-color: var(--c-ivory-light);
  border: 1px dashed rgba(41, 40, 36, 0.15);
}

.product-empty-icon {
  margin: 0 auto 1.25rem;
  color: var(--c-terracotta);
  opacity: 0.8;
}

.product-empty-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--c-charcoal);
  margin-bottom: 0.5rem;
}

.product-empty-desc {
  font-size: 0.9375rem;
  color: var(--c-charcoal-muted);
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* Collection Controls Wrap */
.collection-controls-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
  padding-bottom: 1.25rem;
  border-bottom: var(--b-subtle);
}

.collection-controls-wrap .collection-filter-bar {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.collection-search-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-grow: 1;
  max-width: 420px;
  min-width: 260px;
}

.search-input-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 1rem;
  color: var(--c-charcoal-light);
  pointer-events: none;
}

.product-search-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--c-charcoal);
  background-color: var(--c-ivory-light);
  border: 1px solid rgba(41, 40, 36, 0.14);
  padding: 0.65rem 2.25rem 0.65rem 2.6rem;
  border-radius: 0;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.product-search-input:focus {
  border-color: var(--c-terracotta);
  box-shadow: 0 0 0 3px rgba(201, 111, 50, 0.12);
}

.product-search-input::placeholder {
  color: var(--c-charcoal-light);
  opacity: 0.75;
}

.product-search-clear {
  position: absolute;
  right: 0.75rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-charcoal-muted);
  border-radius: 50%;
  transition: all var(--t-fast);
}

.product-search-clear:hover {
  background-color: rgba(41, 40, 36, 0.08);
  color: var(--c-charcoal);
}

.search-count-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-charcoal-muted);
  white-space: nowrap;
  background-color: var(--c-ivory-light);
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(41, 40, 36, 0.1);
}

/* WhatsApp Button */
.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border: 1px solid #20BA5A;
}

.btn-whatsapp:hover {
  background-color: #1EBE5D;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.floating-actions-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
}

body.modal-locked .floating-actions-container {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(14px);
}

.floating-actions-container > * {
  pointer-events: auto;
}

.back-to-top-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--c-charcoal);
  color: var(--c-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t-fast);
  border: 1px solid rgba(250, 246, 240, 0.15);
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background-color: var(--c-terracotta);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(201, 111, 50, 0.35);
}

/* Luxury WhatsApp Concierge Floating Pill */
.floating-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(41, 40, 36, 0.95);
  backdrop-filter: blur(12px);
  color: var(--c-ivory);
  padding: 0.65rem 1.25rem 0.65rem 0.75rem;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(250, 246, 240, 0.12);
  position: relative;
  transition: all var(--t-med);
}

.floating-whatsapp-btn:hover {
  background: var(--c-charcoal);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
  border-color: rgba(37, 211, 102, 0.4);
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 44px;
  border: 2px solid rgba(37, 211, 102, 0.6);
  opacity: 0;
  animation: waPulse 2.8s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(0.96); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0; }
  100% { transform: scale(1.05); opacity: 0; }
}

.whatsapp-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-label-box {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.whatsapp-label-top {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-ivory);
}

.whatsapp-label-sub {
  font-size: 0.6875rem;
  color: rgba(250, 246, 240, 0.65);
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background-color: rgba(41, 40, 36, 0.95);
  backdrop-filter: blur(12px);
  color: var(--c-ivory);
  padding: 0.85rem 1.6rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(201, 111, 50, 0.4);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-fast);
  pointer-events: none;
}

.toast-notification.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.toast-icon {
  color: var(--c-terracotta);
}

.toast-message {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-ivory);
}

/* Accessibility: Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
