/* ============================================================
   LIORA — Premium Jewelry Brand
   styles.css
   ============================================================ */


/* ============================================================
   1. CSS RESET & BASE
   ============================================================ */

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

input,
button,
textarea,
select {
  font: inherit;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ============================================================
   2. CSS VARIABLES
   ============================================================ */

:root {
  /* Colors */
  --color-bg:           #FEFDF9;
  --color-bg-warm:      #F5F0EE;
  --color-bg-blush:     #EDE4E8;
  --color-bg-olive:     #7E7A74;
  --color-border:       #DDD4CC;
  --color-border-soft:  #E8E2DC;
  --color-text:         #1E1A16;
  --color-text-muted:   #6D625A;
  --color-text-light:   #9E9189;
  --color-accent:       #B08765;
  --color-accent-soft:  #D4C0C8;

  /* Fonts */
  --font-script:  'Great Vibes', cursive;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   40px;
  --space-2xl:  64px;
  --space-3xl:  clamp(80px, 10vw, 140px);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(30, 26, 22, 0.06);
  --shadow-md:  0 8px 24px rgba(30, 26, 22, 0.10);
  --shadow-lg:  0 20px 60px rgba(30, 26, 22, 0.12);
  --shadow-xl:  0 32px 80px rgba(30, 26, 22, 0.15);

  /* Border radius */
  --radius-sm:  2px;
  --radius-md:  4px;
  --radius-lg:  8px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   220ms ease;
  --transition-slow:   350ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

.logo-script {
  font-family: var(--font-script);
  font-size: 32px;
  line-height: 1;
  color: var(--color-text);
  font-weight: 400;
}

.logo-script--footer {
  font-size: 48px;
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  line-height: 1;
}

h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.2;
}

h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
}

.section-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.section-number {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
}

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
}

.section-gap {
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}


/* ============================================================
   5. BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  border: 1px solid var(--color-text);
  background: transparent;
  color: var(--color-text);
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
  cursor: pointer;
  line-height: 1;
}

.btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}

.btn-outline-accent {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-outline-accent:hover {
  background: var(--color-accent);
  color: #ffffff;
}

.link-arrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-base), text-decoration var(--transition-base);
}

.link-arrow::after {
  content: "——→";
  letter-spacing: 0;
}

.link-arrow:hover {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* ============================================================
   6. HEADER
   ============================================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 253, 249, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
}

.header-nav {
  display: flex;
  gap: 40px;
  list-style: none;
}

.header-nav a {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  transition: color 200ms ease;
}

.header-nav a:hover {
  color: var(--color-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.inquiry-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.inquiry-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--color-accent);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 200ms ease;
  line-height: 1;
}

.inquiry-count.visible {
  opacity: 1;
}

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

.burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-text);
  transition: transform 300ms ease, opacity 300ms ease;
}


/* ============================================================
   7. HERO SECTION
   ============================================================ */

#hero {
  position: relative;
  height: min(100vh, 900px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

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

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 26, 22, 0.55) 0%,
    rgba(30, 26, 22, 0.15) 50%,
    transparent 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 60px);
  color: #ffffff;
  max-width: 700px;
}

.hero-content h1 {
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-ctas .btn {
  border-color: #ffffff;
  color: #ffffff;
}

.hero-ctas .btn:hover {
  background: #ffffff;
  color: var(--color-text);
  border-color: #ffffff;
}

.hero-link {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-base);
}

.hero-link:hover {
  color: #ffffff;
}


/* ============================================================
   8. CATEGORIES SECTION
   ============================================================ */

#categories {
  background: var(--color-bg);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.categories-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background: var(--color-bg-warm);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover img {
  transform: scale(1.04);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 26, 22, 0.6) 0%,
    transparent 60%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
}

.category-number {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.category-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.15;
}

.category-link {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  display: inline-block;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.category-card:hover .category-link {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}


/* ============================================================
   9. CATALOGUE SECTION
   ============================================================ */

#catalogue {
  background: var(--color-bg);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.catalogue-header {
  margin-bottom: 48px;
}

.catalogue-filter {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: none;
  border: none;
  padding: 12px 24px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: color 200ms ease;
  position: relative;
}

.filter-btn::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform 220ms ease;
}

.filter-btn.active {
  color: var(--color-text);
}

.filter-btn.active::after {
  transform: scaleX(1);
}

.filter-btn:hover {
  color: var(--color-text);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-bg-warm);
  margin-bottom: 16px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Product card image — default cursor, no zoom */
.product-card .product-card-image img {
  cursor: pointer;
}

.product-card-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.3;
}

.product-card .btn {
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  font-size: 11px;
}

.product-card.hidden {
  display: none;
}

.product-card.fade-in {
  animation: fadeIn 300ms ease forwards;
}

/* Price label */
.product-card-price {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}


/* ============================================================
   10. LOOKBOOK SECTION
   ============================================================ */

#lookbook {
  background: var(--color-bg-warm);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
}

.lookbook-inner {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: 16px;
  align-items: start;
}

.lookbook-photo {
  overflow: hidden;
}

.lookbook-photo img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.lookbook-photo:nth-child(1) {
  margin-top: 0;
}

.lookbook-photo:nth-child(2) {
  margin-top: 48px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.lookbook-photo:nth-child(3) {
  margin-top: 96px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

.lookbook-quote {
  grid-column: span 3;
  text-align: center;
  padding-top: clamp(40px, 6vw, 80px);
}

.lookbook-quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 3vw, 40px);
  color: var(--color-text);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}


/* ============================================================
   11. ABOUT SECTION
   ============================================================ */

#about {
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  background: var(--color-bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-text .section-label {
  display: block;
  margin-bottom: 16px;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  max-width: 480px;
  margin-bottom: 20px;
}

.about-collage {
  position: relative;
  height: 500px;
}

.about-photo-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 85%;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}

.about-photo-small {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 48%;
  height: 55%;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.about-line-art {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
  opacity: 0.3;
  width: 60px;
}


/* ============================================================
   12. VALUES SECTION
   ============================================================ */

#values {
  background: var(--color-bg-blush);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.values-header {
  text-align: center;
  margin-bottom: 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.value-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  stroke: var(--color-accent);
  stroke-width: 1.5;
  fill: none;
  width: 32px;
  height: 32px;
}

.value-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--color-text);
  line-height: 1.3;
}

.value-text {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 260px;
}


/* ============================================================
   13. FAQ SECTION
   ============================================================ */

#faq {
  background: var(--color-bg);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.faq-header {
  margin-bottom: 48px;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  user-select: none;
}

.faq-question-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--color-text);
  padding-right: 24px;
  line-height: 1.3;
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--color-accent);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 300ms ease;
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  height: 100%;
  width: 1px;
  transform: translateX(-50%);
  transform-origin: center;
}

.faq-item.open .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding-bottom: 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ============================================================
   14. REVIEWS SECTION
   ============================================================ */

#reviews {
  background: var(--color-bg-warm);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.reviews-header {
  text-align: center;
  margin-bottom: 60px;
}

.reviews-slider {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.review-slide {
  min-width: 100%;
  padding-left: clamp(20px, 8vw, 120px);
  padding-right: clamp(20px, 8vw, 120px);
  text-align: center;
  box-sizing: border-box;
}

.review-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.5vw, 28px);
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.review-author {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.reviews-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.reviews-prev,
.reviews-next {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 8px;
  transition: color 200ms ease;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-prev:hover,
.reviews-next:hover {
  color: var(--color-text);
}

.reviews-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-border);
  cursor: pointer;
  transition: background 200ms ease;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.dot.active {
  background: var(--color-accent);
}


/* ============================================================
   15. CONTACTS SECTION
   ============================================================ */

#contacts {
  background: var(--color-bg);
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.contacts-header {
  text-align: center;
  margin-bottom: 60px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
  background: var(--color-bg);
}

.contact-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(176, 135, 101, 0.12);
}

.contact-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.contact-btn-label {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  display: block;
  line-height: 1.2;
}

.contact-btn-sub {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-light);
  display: block;
  margin-top: 2px;
}


/* ============================================================
   16. INQUIRY DRAWER
   ============================================================ */

.inquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 22, 0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.inquiry-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.inquiry-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(400px, 100vw);
  background: var(--color-bg);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.inquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.inquiry-header h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
}

.inquiry-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 8px;
  font-size: 20px;
  line-height: 1;
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.inquiry-close:hover {
  color: var(--color-text);
}

.inquiry-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}

.inquiry-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
  font-size: 14px;
}

.inquiry-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-soft);
  /* prevent any child from stretching the row */
  overflow: hidden;
}

.inquiry-item-image {
  width: 56px;
  min-width: 56px;   /* critical: prevent flex shrinking */
  height: 70px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-bg-warm);
  display: block;
}

.inquiry-item-info {
  flex: 1;
  min-width: 0;      /* allow text to wrap instead of overflowing */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.inquiry-item-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 15px;
  color: var(--color-text);
  margin-bottom: 4px;
  line-height: 1.3;
  /* wrap long names */
  overflow-wrap: break-word;
  word-break: break-word;
}

.inquiry-item-remove {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 200ms ease;
  align-self: flex-start;
}

.inquiry-item-remove:hover {
  color: var(--color-accent);
}

.inquiry-footer {
  padding: 24px 28px;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.inquiry-footer .btn {
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}


/* ============================================================
   17. MOBILE MENU
   ============================================================ */

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 5vw, 40px);
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-base);
}

.mobile-nav a:hover {
  color: var(--color-accent);
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}


/* ============================================================
   18. FOOTER
   ============================================================ */

footer {
  background: var(--color-bg-warm);
  border-top: 1px solid var(--color-border);
  padding-top: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(32px, 4vw, 48px);
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo .logo-script {
  font-size: 24px;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}


/* ============================================================
   19. ANIMATIONS
   ============================================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 380ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for product cards */
.products-grid .product-card:nth-child(1)  { transition-delay: 0ms;   }
.products-grid .product-card:nth-child(2)  { transition-delay: 60ms;  }
.products-grid .product-card:nth-child(3)  { transition-delay: 120ms; }
.products-grid .product-card:nth-child(4)  { transition-delay: 180ms; }
.products-grid .product-card:nth-child(5)  { transition-delay: 240ms; }
.products-grid .product-card:nth-child(6)  { transition-delay: 300ms; }
.products-grid .product-card:nth-child(7)  { transition-delay: 360ms; }
.products-grid .product-card:nth-child(8)  { transition-delay: 420ms; }
.products-grid .product-card:nth-child(9)  { transition-delay: 480ms; }


/* ============================================================
   20. MEDIA QUERIES
   ============================================================ */

/* --- Tablet: max 1024px --- */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* --- Mobile: max 768px --- */
@media (max-width: 768px) {
  /* Header */
  .header-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  /* Products */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Categories */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .category-card-overlay {
    padding: 20px;
  }

  .category-name {
    font-size: 22px;
  }

  /* About */
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-collage {
    height: 300px;
  }

  .about-text p {
    max-width: 100%;
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Contacts */
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  /* Lookbook */
  .lookbook-inner {
    grid-template-columns: 1fr 1fr;
  }

  .lookbook-photo:nth-child(3) {
    display: none;
  }

  .lookbook-quote {
    grid-column: span 2;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Categories header */
  .categories-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* --- Small Mobile: max 480px --- */
@media (max-width: 480px) {
  /* Categories: single column on very small screens */
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Hero height adjustment — enough to show the photo on small screens */
  #hero {
    height: clamp(480px, 85vh, 700px);
  }

  /* Catalogue filter: allow wrapping */
  .catalogue-filter {
    flex-wrap: wrap;
  }

  .filter-btn {
    padding: 10px 16px;
  }
}

/* ============================================================
   DELIVERY SECTION
   ============================================================ */

#delivery {
  background: var(--color-bg);
}

.delivery-header {
  margin-bottom: 56px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.delivery-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.delivery-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  flex-shrink: 0;
}

.delivery-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  fill: none;
}

.delivery-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-text);
  margin: 0;
}

.delivery-text {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.delivery-note {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.delivery-note p {
  font-size: 13px;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .delivery-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ============================================================
   CATEGORY CARD CAROUSEL (image fade transition)
   ============================================================ */

.category-card img {
  transition: opacity 0.4s ease, transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card {
  cursor: pointer;
}

/* ============================================================
   GALLERY OVERLAY (collections)
   ============================================================ */

.gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 14, 0.95);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.gallery-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 8px;
  transition: color 200ms;
  z-index: 2;
}
.gallery-close:hover { color: #fff; }

.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  font-size: 32px;
  width: 52px;
  height: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background 200ms, color 200ms;
  z-index: 2;
  line-height: 1;
  padding: 0;
}
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }
.gallery-prev:hover,
.gallery-next:hover { background: rgba(255,255,255,0.15); color: #fff; }

.gallery-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 100px 20px;
  width: 100%;
  min-height: 0;
}

.gallery-img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  transition: opacity 300ms ease;
}

.gallery-footer {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.gallery-counter {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.45;
  border: 1px solid transparent;
  transition: opacity 200ms, border-color 200ms;
  border-radius: 1px;
}
.gallery-thumb.active,
.gallery-thumb:hover { opacity: 1; border-color: var(--color-accent); }

@media (max-width: 768px) {
  .gallery-main { padding: 60px 56px 16px; }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  .gallery-prev, .gallery-next { width: 40px; height: 40px; font-size: 24px; }
  .gallery-thumb { width: 42px; height: 42px; }
}

/* ============================================================
   PRODUCT MODAL
   ============================================================ */

.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 26, 22, 0.7);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.product-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.product-modal-inner {
  background: var(--color-bg);
  max-width: 860px;
  width: 100%;
  height: min(88vh, 680px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  transform: translateY(16px);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal-overlay.open .product-modal-inner {
  transform: translateY(0);
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 18px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: color 200ms, border-color 200ms;
  z-index: 2;
  line-height: 1;
  padding: 0;
}
.product-modal-close:hover { color: var(--color-text); border-color: var(--color-text); }

/* Carousel (left side) — height comes from the grid parent, no fixed aspect-ratio */
.product-modal-carousel {
  position: relative;
  background: var(--color-bg-warm);
  overflow: hidden;
  height: 100%;
}

.product-modal-track {
  display: flex;
  height: 100%;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.product-modal-slide {
  /* Explicit pixel width is set by JS; these are CSS fallback values */
  height: 100%;
  flex-shrink: 0;
  flex-grow: 0;
}

.product-modal-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--color-bg-warm);
}

.product-modal-prev,
.product-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(254, 253, 249, 0.85);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 22px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background 200ms;
  line-height: 1;
  padding: 0;
  z-index: 2;
}
.product-modal-prev { left: 10px; }
.product-modal-next { right: 10px; }
.product-modal-prev:hover,
.product-modal-next:hover { background: var(--color-bg); }

/* Hide arrows when only 1 image */
.product-modal-carousel.single .product-modal-prev,
.product-modal-carousel.single .product-modal-next { display: none; }

.product-modal-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

/* Info (right side) */
.product-modal-info {
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  overflow-y: auto;
}

.product-modal-collection {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin: 0;
}

.product-modal-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--color-text);
  line-height: 1.15;
  margin: 0;
}

.product-modal-price {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-accent);
  margin: 0;
  letter-spacing: 0.02em;
}

.product-modal-order {
  align-self: flex-start;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .product-modal-inner {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 95vh;
    overflow-y: auto;
  }
  .product-modal-carousel {
    height: min(56vw, 340px);
  }
  .product-modal-info {
    padding: 24px;
  }
}

/* ============================================================
   INQUIRY TOTAL LINE
   ============================================================ */

.inquiry-total {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
  padding: 12px 0 16px;
  border-top: 1px solid var(--color-border);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}


/* ============================================================
   TILE GALLERY (category grid view)
   ============================================================ */

.tile-gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 14, 0.75);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms ease;
}

.tile-gallery-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.tile-gallery-panel {
  background: var(--color-bg);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tile-gallery-overlay.open .tile-gallery-panel {
  transform: translateY(0);
}

.tile-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.tile-gallery-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--color-text);
  margin: 0;
}

.tile-gallery-close {
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 18px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: color 200ms, border-color 200ms;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}
.tile-gallery-close:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}

.tile-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 24px 28px;
  overflow-y: auto;
}

.tile-gallery-item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tile-gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid var(--color-border-soft);
  transition: opacity 220ms ease, transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}

.tile-gallery-item:hover img {
  opacity: 0.88;
  transform: scale(1.02);
}

.tile-gallery-caption {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .tile-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 16px;
  }
  .tile-gallery-header {
    padding: 16px 16px 14px;
  }
}


/* ============================================================
   PRODUCT MODAL — description & hardware sections
   ============================================================ */

.product-modal-divider {
  height: 1px;
  background: var(--color-border);
  margin: 4px 0;
}

.product-modal-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-modal-section-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin: 0;
}

.product-modal-description {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.product-modal-hardware {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-modal-hardware li {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.product-modal-hardware li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 11px;
  top: 1px;
}

