/* =========================================================
   Liquylux — Complete Stylesheet
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS Custom Properties
   --------------------------------------------------------- */
:root {
  --bg:          #ffffff;
  --bg-soft:     #f8f4ef;
  --dark:        #1a1a1a;
  --gold:        #c5963a;
  --gold-light:  #e8c97e;
  --text:        #333333;
  --text-light:  #888888;
  --border:      #e8e0d8;

  --font-serif:  Georgia, "Times New Roman", Times, serif;
  --font-body:   system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --header-h:    76px;
  --max-w:       1280px;
  --radius:      4px;
  --radius-lg:   8px;

  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --transition:  0.3s var(--ease-out);
}

/* ---------------------------------------------------------
   2. Reset / Normalize
   --------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ---------------------------------------------------------
   3. Typography
   --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -0.005em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.caption {
  font-size: 0.8rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   4. Utilities
   --------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-body);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 540px;
  margin-inline: auto;
  color: var(--text-light);
}

/* Gold underline accent */
.gold-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
}

.section-header h2 + .gold-line {
  margin-top: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: #b3852e;
  border-color: #b3852e;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(197,150,58,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

/* Fade-in animation (driven by JS IntersectionObserver) */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------
   5. Header
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
  gap: 24px;
}

/* Logo */
.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  font-weight: 400;
  justify-self: start;
  transition: color var(--transition);
}

.logo span {
  color: var(--gold);
}

.logo:hover {
  color: var(--gold);
}

/* Main navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Header icons */
.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

.header-icons button,
.header-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text);
  transition: color var(--transition);
}

.header-icons button:hover,
.header-icons a:hover {
  color: var(--gold);
}

.header-icons svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--dark);
  transition: var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: var(--bg);
  z-index: 999;
  flex-direction: column;
  padding: 48px 24px;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  transition: color var(--transition);
}

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

/* ---------------------------------------------------------
   6. Hero Section
   --------------------------------------------------------- */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/silkplaster_images/prestige_01.png');
  background-size: cover;
  background-position: center 30%;
  transform-origin: center;
  transition: transform 8s ease-out;
}

.hero-bg.loaded {
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,26,0.25) 0%,
    rgba(26,26,26,0.55) 60%,
    rgba(26,26,26,0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 760px;
  padding: 0 24px;
}

.hero-content .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  opacity: 0;
  animation: heroFadeUp 1s 0.3s var(--ease-out) forwards;
}

.hero-content h1 {
  color: #fff;
  margin-bottom: 18px;
  opacity: 0;
  animation: heroFadeUp 1s 0.5s var(--ease-out) forwards;
}

.hero-content .subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: heroFadeUp 1s 0.7s var(--ease-out) forwards;
}

.hero-content .hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 1s 0.9s var(--ease-out) forwards;
}

.btn-hero {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
  padding: 16px 40px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-hero:hover {
  background: #b3852e;
  border-color: #b3852e;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(197,150,58,0.35);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 16px 40px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-2px);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: heroFadeUp 1s 1.2s forwards;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
  animation: scrollPulse 2s 1.5s infinite;
}

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

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

/* ---------------------------------------------------------
   7. Featured / Product Grid
   --------------------------------------------------------- */
.section-featured {
  padding: 96px 0;
  background: var(--bg);
}

.section-featured .section-header {
  margin-bottom: 56px;
}

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

/* Product card */
.product-card {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.11);
  transform: translateY(-5px);
}

.product-card-image {
  position: relative;
  width: 100%;
  padding-top: 72%;
  overflow: hidden;
  background: var(--bg-soft);
}

.product-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26,26,26,0.72);
  color: #fff;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

.product-card-body {
  padding: 20px 22px 22px;
}

.product-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--dark);
  transition: color var(--transition);
}

.product-card:hover .product-card-body h3 {
  color: var(--gold);
}

.product-card-body .tagline {
  font-size: 0.78rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px 18px;
}

.product-card-shades {
  font-size: 0.72rem;
  color: var(--text-light);
}

.card-link {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition), color var(--transition);
}

.card-link:hover {
  gap: 10px;
  color: #b3852e;
}

.card-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   8. About / Two-Column Section
   --------------------------------------------------------- */
.section-about {
  padding: 96px 0;
  background: var(--bg-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

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

.about-text .gold-line {
  margin: 0 0 24px;
}

.about-text p {
  margin-bottom: 18px;
  color: var(--text);
}

.about-text p:last-of-type {
  margin-bottom: 32px;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.about-image:hover img {
  transform: scale(1.03);
}

/* ---------------------------------------------------------
   9. Why / Feature Boxes
   --------------------------------------------------------- */
.section-why {
  padding: 80px 0;
  background: var(--dark);
}

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

.why-item {
  padding: 52px 44px;
  background: var(--dark);
  border: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  transition: background var(--transition);
}

.why-item:hover {
  background: #242424;
}

.why-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.why-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.why-item h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
}

.why-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ---------------------------------------------------------
   10. Inspiration / Masonry Grid
   --------------------------------------------------------- */
.section-inspiration {
  padding: 96px 0;
  background: var(--bg-soft);
}

.inspiration-grid {
  columns: 3;
  column-gap: 16px;
}

.inspiration-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.inspiration-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.inspiration-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0);
  transition: background 0.3s;
}

.inspiration-item:hover img {
  transform: scale(1.04);
}

.inspiration-item:hover::after {
  background: rgba(26,26,26,0.2);
}

/* ---------------------------------------------------------
   11. Page Banner
   --------------------------------------------------------- */
.page-banner {
  background: var(--dark);
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(197,150,58,0.03) 0px,
    rgba(197,150,58,0.03) 1px,
    transparent 1px,
    transparent 20px
  );
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  color: #fff;
  margin-bottom: 12px;
}

.page-banner p {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
}

/* ---------------------------------------------------------
   12. Filter Tabs
   --------------------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 0 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 24px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-light);
  background: var(--bg);
  transition: var(--transition);
}

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

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* Products catalog grid */
.catalog-section {
  padding-bottom: 96px;
}

#products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ---------------------------------------------------------
   13. Breadcrumb
   --------------------------------------------------------- */
.breadcrumb {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.breadcrumb nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-light);
}

.breadcrumb nav a {
  color: var(--text-light);
  transition: color var(--transition);
}

.breadcrumb nav a:hover {
  color: var(--gold);
}

.breadcrumb nav .sep {
  color: var(--border);
}

.breadcrumb nav .current {
  color: var(--dark);
  font-weight: 500;
}

/* ---------------------------------------------------------
   14. Product Detail Page
   --------------------------------------------------------- */
.product-detail-section {
  padding: 56px 0 80px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

/* Gallery */
.product-gallery {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 4/3;
  cursor: zoom-in;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.gallery-main:hover img {
  transform: scale(1.03);
}

.gallery-main-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  opacity: 0;
  transition: opacity 0.25s;
}

.gallery-main:hover .gallery-main-overlay {
  opacity: 1;
}

.gallery-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: var(--transition);
  z-index: 2;
}

.gallery-nav-btn:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.gallery-nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--dark);
  fill: none;
  stroke-width: 2;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 76px;
  height: 56px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition), opacity var(--transition);
  opacity: 0.6;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--gold);
  opacity: 1;
}

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

/* Product info panel */
.product-info {
  padding-top: 8px;
}

.product-info .eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.product-info h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  margin-bottom: 8px;
}

.product-info .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.product-info .description {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

/* Shades */
.shades-section {
  margin-bottom: 36px;
}

.shades-section h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.shades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 10px;
}

.shade-swatch {
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition);
}

.shade-swatch:hover {
  transform: translateY(-3px);
}

.shade-swatch img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.shade-swatch.active img,
.shade-swatch:hover img {
  border-color: var(--gold);
}

.shade-swatch .shade-code {
  font-size: 0.66rem;
  color: var(--text-light);
  margin-top: 5px;
  letter-spacing: 0.04em;
}

/* CTA buttons */
.product-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

/* Product features list */
.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.product-feature svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* Related products */
.related-section {
  padding: 72px 0 96px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

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

/* ---------------------------------------------------------
   15. Lightbox
   --------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10,10,10,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

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

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  color: #fff;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

.lightbox-counter {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}

/* ---------------------------------------------------------
   16. Footer
   --------------------------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
  color: #fff;
  font-size: 1.4rem;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.86rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-address {
  font-size: 0.84rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.4);
  font-style: normal;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ---------------------------------------------------------
   17. Responsive — 1024px
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .products-grid,
  #products-grid,
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .about-grid {
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-detail-grid {
    gap: 48px;
  }
}

/* ---------------------------------------------------------
   18. Responsive — 768px
   --------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-icons .icon-search,
  .header-icons .icon-cart {
    display: none;
  }

  .products-grid,
  #products-grid,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 360px;
  }

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

  .why-item {
    padding: 40px 32px;
  }

  .inspiration-grid {
    columns: 2;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-gallery {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .section-featured,
  .section-about,
  .section-inspiration,
  .related-section {
    padding: 64px 0;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }
}

@media (max-width: 560px) {
  .products-grid,
  #products-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .inspiration-grid {
    columns: 1;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .product-ctas {
    flex-direction: column;
  }

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