@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Poppins:wght@300;400;500;600;700&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --theme-color: #222320;
  --whatsapp-green: #25d366;
  /* Düğün / organizasyon — hero ile aynı aile (index hero-wedding-stage ile uyum) */
  --wedding-ink: #2a2218;
  --wedding-ivory: #fffefb;
  --wedding-paper: #f3ebe1;
  --wedding-champagne: #ebe4d8;
  --wedding-champagne-deep: #d4c9b8;
  --wedding-gold: #b89a6c;
  --wedding-gold-soft: rgba(184, 154, 108, 0.45);
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-white text-foreground font-poppins antialiased;
  }
}

@layer utilities {
  .font-poppins {
    font-family: 'Poppins', sans-serif;
  }

  .font-playfair {
    font-family: 'Playfair Display', serif;
  }
}

/* Custom animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Hide scrollbar but allow scroll */
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Smooth transitions */
.transition-all-smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ana sayfa hero + kategori — aynı sıcak zemin (ivory → şampanya), bölümler arası kesintisiz */
.wedding-hero-band,
.wedding-categories-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(120% 55% at 50% 0%, rgba(255, 252, 248, 0.92) 0%, transparent 52%),
    linear-gradient(
      172deg,
      var(--wedding-ivory) 0%,
      var(--wedding-paper) 38%,
      var(--wedding-champagne) 72%,
      var(--wedding-champagne-deep) 100%
    );
}

/* Kategori: hafif kağıt greni */
.wedding-categories-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* Hero band: aynı doku ama multiply siyahımsı durmasın */
.wedding-hero-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.36;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* Hero band: ek sıcak ışık lekeleri (daha dolu ama sade) */
.wedding-hero-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 48% 52% at 6% 38%, rgba(212, 181, 140, 0.12) 0%, transparent 58%),
    radial-gradient(ellipse 44% 48% at 94% 48%, rgba(184, 154, 108, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 70% 42% at 50% -5%, rgba(255, 252, 248, 0.75) 0%, transparent 48%);
  opacity: 0.95;
}

/* Ürün detay üst şerit — bir tık daha açık zemin */
.wedding-hero-band.wedding-hero-band--soft {
  background:
    radial-gradient(120% 50% at 50% 0%, rgba(255, 254, 252, 0.98) 0%, transparent 50%),
    linear-gradient(
      172deg,
      #fffcfa 0%,
      #fcf9f5 35%,
      #f7f2eb 68%,
      #efe8df 100%
    );
}

.wedding-hero-band.wedding-hero-band--soft::before {
  opacity: 0.26;
}

.wedding-hero-band.wedding-hero-band--soft::after {
  opacity: 0.55;
  background:
    radial-gradient(ellipse 48% 52% at 6% 38%, rgba(212, 181, 140, 0.07) 0%, transparent 58%),
    radial-gradient(ellipse 44% 48% at 94% 48%, rgba(184, 154, 108, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 70% 42% at 50% -5%, rgba(255, 252, 248, 0.88) 0%, transparent 48%);
}

/* Üst bar — düğün / organizasyon (includes/header.php), ana içerikle aynı hafif kağıt dokusu */
.wedding-site-header {
  position: relative;
}

.wedding-site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  /* multiply açık zeminde siyahımsı leke veriyor */
  mix-blend-mode: normal;
}

.category-3d-grid {
  transform-style: preserve-3d;
}

@media (max-width: 767px) {
  .wedding-home-shell {
    padding-bottom: 0 !important;
  }

  .site-footer-band {
    margin-top: 0.75rem !important;
  }
}

@media (min-width: 768px) {
  .category-3d-grid {
    perspective: 1500px;
    perspective-origin: 50% 38%;
  }
}

.category-3d-hover-shell {
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.45s ease;
}

/* Profesyonel 3D: hafif eğim + yükselme; abartılı “oyuncak” tilt yok */
@media (min-width: 768px) and (hover: hover) {
  .category-3d-hover-shell:hover {
    transform: translateY(-8px) rotateX(3.25deg) rotateY(-2.75deg) translateZ(14px) scale(1.012);
    filter: drop-shadow(0 22px 36px rgba(30, 22, 12, 0.2));
  }
}

.category-3d-surface {
  transform: translateZ(0);
  transition:
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) and (hover: hover) {
  .category-3d-hover-shell:hover .category-3d-surface {
    box-shadow:
      0 2px 0 rgba(255, 255, 255, 0.85) inset,
      0 0 0 1px rgba(184, 154, 108, 0.35),
      0 8px 16px -4px rgba(44, 36, 25, 0.12),
      0 32px 64px -20px rgba(30, 22, 12, 0.35);
  }
}

.category-3d-shine {
  position: relative;
  isolation: isolate;
}

.category-3d-shine::after {
  content: '';
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 252, 245, 0.38) 50%,
    rgba(255, 255, 255, 0.18) 52%,
    transparent 64%
  );
  transform: translateX(-120%) skewX(-12deg);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 4;
  mix-blend-mode: soft-light;
}

@media (min-width: 768px) and (hover: hover) {
  .category-3d-hover-shell:hover .category-3d-shine::after {
    transform: translateX(120%) skewX(-12deg);
  }
}

.category-3d-img {
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) and (hover: hover) {
  .category-3d-hover-shell:hover .category-3d-img {
    transform: scale(1.06);
  }
}

/* --- Ana sayfa: organik blob’lar + dalga + hafif köşe süsleri --- */
.wedding-home-shell {
  overflow-x: clip;
  position: relative;
  isolation: isolate;
}

.wedding-deco-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.wedding-deco-blobs .wedding-blob {
  position: absolute;
  will-change: transform;
}

.wedding-deco-blobs .wedding-blob--a {
  width: min(78vw, 540px);
  height: min(78vw, 540px);
  top: -10%;
  right: -22%;
  border-radius: 58% 42% 48% 52% / 52% 48% 58% 42%;
  background: radial-gradient(
    circle at 32% 32%,
    rgba(212, 181, 140, 0.42) 0%,
    rgba(235, 224, 208, 0.22) 42%,
    transparent 68%
  );
  filter: blur(56px);
  opacity: 0.75;
  animation: wedding-blob-drift-a 24s ease-in-out infinite;
}

.wedding-deco-blobs .wedding-blob--b {
  width: min(62vw, 460px);
  height: min(62vw, 460px);
  bottom: 12%;
  left: -24%;
  border-radius: 46% 54% 51% 49% / 49% 51% 46% 54%;
  background: radial-gradient(
    circle at 58% 48%,
    rgba(184, 154, 108, 0.32) 0%,
    rgba(243, 235, 225, 0.18) 48%,
    transparent 72%
  );
  filter: blur(48px);
  opacity: 0.65;
  animation: wedding-blob-drift-b 28s ease-in-out infinite;
}

.wedding-deco-blobs .wedding-blob--c {
  width: min(48vw, 340px);
  height: min(48vw, 340px);
  bottom: -4%;
  right: 6%;
  border-radius: 52% 48% 47% 53% / 53% 47% 52% 48%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 252, 248, 0.95) 0%,
    rgba(212, 175, 120, 0.1) 52%,
    transparent 76%
  );
  filter: blur(36px);
  opacity: 0.55;
  animation: wedding-blob-drift-c 20s ease-in-out infinite;
}

.wedding-deco-blobs .wedding-blob--hero-soft {
  width: min(96vw, 760px);
  height: min(44vw, 300px);
  top: 5%;
  left: 50%;
  transform: translate(-50%, 0);
  border-radius: 52% 48% 50% 50% / 54% 52% 48% 50%;
  background: radial-gradient(
    ellipse 88% 78% at 50% 32%,
    rgba(255, 252, 248, 0.98) 0%,
    rgba(243, 235, 225, 0.42) 44%,
    rgba(212, 181, 140, 0.07) 62%,
    transparent 78%
  );
  filter: blur(48px);
  opacity: 0.48;
  animation: wedding-blob-drift-hero-soft 32s ease-in-out infinite;
}

@keyframes wedding-blob-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-4%, 5%) scale(1.05);
  }
}

@keyframes wedding-blob-drift-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(5%, -3%) scale(1.04) rotate(2deg);
  }
}

@keyframes wedding-blob-drift-c {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-3%, -4%) scale(1.06);
  }
}

@keyframes wedding-blob-drift-hero-soft {
  0%,
  100% {
    transform: translate(-50%, 0) scale(1);
  }
  50% {
    transform: translate(-50%, 2.5%) scale(1.025);
  }
}

@keyframes wedding-hero-spark-float {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: rotate(45deg) translateY(-6px);
    opacity: 0.9;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wedding-deco-blobs .wedding-blob {
    animation: none;
  }

  .wedding-deco-blobs .wedding-blob--hero-soft {
    transform: translate(-50%, 0);
  }

  .wedding-header-deco-spark {
    animation: none;
  }
}

/* Hero içerik kolonu: geniş ekranda çok hafif yan ışık çizgileri */
@media (min-width: 1024px) {
  .wedding-hero-max::before,
  .wedding-hero-max::after {
    content: '';
    position: absolute;
    top: 24%;
    bottom: 16%;
    width: 1px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(184, 154, 108, 0.1) 18%,
      rgba(212, 181, 140, 0.22) 50%,
      rgba(184, 154, 108, 0.1) 82%,
      transparent 100%
    );
    box-shadow: 0 0 18px rgba(212, 181, 140, 0.14);
    border-radius: 2px;
  }

  .wedding-hero-max::before {
    left: 0.2rem;
  }

  .wedding-hero-max::after {
    right: 0.2rem;
    left: auto;
  }
}

.wedding-wave-divider {
  color: rgba(90, 62, 38, 0.16);
}

.wedding-wave-divider__svg {
  display: block;
  width: 100%;
  height: clamp(1.35rem, 4.5vw, 2.85rem);
}

.wedding-categories-section .wedding-cat-corner {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0.5;
}

.wedding-categories-section .wedding-cat-corner--tl {
  top: 0.25rem;
  left: max(0.25rem, env(safe-area-inset-left));
  width: clamp(100px, 18vw, 200px);
  height: clamp(100px, 18vw, 200px);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(184, 154, 108, 0.14) 0%,
    rgba(243, 235, 225, 0.06) 45%,
    transparent 70%
  );
}

.wedding-categories-section .wedding-cat-corner--br {
  bottom: 0.5rem;
  right: max(0.25rem, env(safe-area-inset-right));
  width: clamp(120px, 22vw, 240px);
  height: clamp(120px, 22vw, 240px);
  background: radial-gradient(
    circle at 70% 70%,
    rgba(212, 181, 140, 0.12) 0%,
    transparent 65%
  );
}

.wedding-cat-heading-aura {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: min(92%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 252, 248, 0.85) 0%,
    rgba(243, 235, 225, 0.25) 42%,
    transparent 68%
  );
  filter: blur(18px);
  opacity: 0.85;
  z-index: 0;
}

.wedding-cat-diamond {
  width: 5px;
  height: 5px;
  background: linear-gradient(135deg, rgba(184, 154, 108, 0.65), rgba(120, 83, 48, 0.35));
  transform: rotate(45deg);
  border-radius: 1px;
  flex-shrink: 0;
}

.wedding-cat-diamond--sm {
  width: 4px;
  height: 4px;
  opacity: 0.75;
}

/* Mobil kategori kartı: koyu gradient üstünde okunaklı altın elmas */
.wedding-cat-diamond--on-dark {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #fde68a, rgba(180, 83, 9, 0.85));
  transform: rotate(45deg);
  border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Kartlar arası (mobil) — ince altın hat + elmas */
.category-3d-mobile-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.35rem 0 0.15rem;
}
.category-3d-mobile-divider__line {
  flex: 1;
  max-width: 42%;
  height: 1px;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(180, 83, 9, 0.28),
    rgba(245, 230, 211, 0.5),
    rgba(180, 83, 9, 0.28),
    transparent
  );
}

@media (max-width: 767px) {
  .wedding-categories-section .wedding-cat-corner {
    opacity: 0.35;
  }

  .wedding-cat-heading-aura {
    width: min(100%, 320px);
    filter: blur(14px);
  }
}

/* --- Kategori sayfası (category.php): ek düğün süsleri --- */
.wedding-category-page-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.wedding-category-page-deco .wedding-category-page-fleur {
  position: absolute;
  width: 6px;
  height: 6px;
  opacity: 0.55;
  border-radius: 1px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.95), rgba(180, 130, 80, 0.5));
  box-shadow: 0 0 12px rgba(212, 175, 120, 0.35);
}

.wedding-category-page-deco .wedding-category-page-fleur--a {
  top: 7%;
  left: 6%;
}

.wedding-category-page-deco .wedding-category-page-fleur--b {
  top: 18%;
  right: 8%;
  opacity: 0.45;
  width: 5px;
  height: 5px;
}

.wedding-category-page-deco .wedding-category-page-fleur--c {
  bottom: 28%;
  left: 10%;
  opacity: 0.4;
}

.wedding-category-page-deco .wedding-category-page-arc {
  position: absolute;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  opacity: 0.22;
  border: 1px solid rgba(180, 130, 80, 0.18);
  background: radial-gradient(circle at 40% 40%, rgba(255, 252, 248, 0.35) 0%, transparent 65%);
}

.wedding-category-page-deco .wedding-category-page-arc--tr {
  top: -1.5rem;
  right: -1rem;
}

.wedding-category-page-deco .wedding-category-page-arc--bl {
  bottom: 8%;
  left: -1.25rem;
}

/* Ürün ızgarası: hafif “davetiye” çerçevesi */
.wedding-category-products-frame {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  padding: 1rem 0.75rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(120, 83, 48, 0.1);
  background:
    linear-gradient(165deg, rgba(255, 254, 252, 0.65) 0%, rgba(252, 248, 242, 0.35) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 24px 48px -28px rgba(42, 34, 24, 0.1);
}

@media (min-width: 640px) {
  .wedding-category-products-frame {
    padding: 1.25rem 1.25rem 1.5rem;
    border-radius: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .wedding-category-products-frame {
    padding: 1.5rem 1.5rem 1.75rem;
  }
}

/* Kategori ürün kartı: açık zeminde okunaklı elmas + çizgi (mobil + masaüstü) */
.category-product-card-ornament {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.category-product-card-ornament .wedding-cat-diamond,
.category-product-card-ornament .wedding-cat-diamond--sm {
  width: 6px;
  height: 6px;
  min-width: 6px;
  min-height: 6px;
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(120, 83, 48, 0.12);
}

.category-product-card-ornament .wedding-cat-diamond--sm {
  width: 5px;
  height: 5px;
  min-width: 5px;
  min-height: 5px;
  opacity: 0.88;
}

.category-product-card-ornament__line {
  flex: 1;
  max-width: 5.5rem;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(146, 64, 14, 0.22),
    rgba(180, 83, 9, 0.38),
    rgba(146, 64, 14, 0.2),
    transparent
  );
  box-shadow: 0 1px 0 rgba(255, 252, 248, 0.6);
}

/* Ana sayfa kategori kartı — mobil görsel üstü (koyu gradient): belirgin elmas + hat */
.category-home-mobile-ornament {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.category-home-mobile-ornament__diamond {
  width: 7px;
  height: 7px;
  min-width: 7px;
  min-height: 7px;
  flex-shrink: 0;
  transform: rotate(45deg);
  border-radius: 1px;
  background: linear-gradient(135deg, #fef3c7 0%, #f59e0b 55%, #b45309 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 0 14px rgba(251, 191, 36, 0.55);
}

.category-home-mobile-ornament__diamond--sm {
  width: 5px;
  height: 5px;
  min-width: 5px;
  min-height: 5px;
  opacity: 0.92;
  background: linear-gradient(135deg, #fde68a, #d97706);
}

.category-home-mobile-ornament__line {
  flex: 1;
  max-width: 6rem;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.08),
    rgba(253, 230, 138, 0.95),
    rgba(251, 191, 36, 0.9),
    rgba(253, 230, 138, 0.75),
    rgba(255, 255, 255, 0.1)
  );
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.45);
}

/* --- flipbook.php: dinamik vitrin mozaik + lightbox --- */
.wedding-site-catalog-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .wedding-site-catalog-mosaic {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .wedding-site-catalog-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

@media (min-width: 1280px) {
  .wedding-site-catalog-mosaic {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.wedding-site-catalog-card__frame {
  border-radius: 1.05rem;
  overflow: hidden;
  border: 1px solid rgba(120, 83, 48, 0.12);
  background: linear-gradient(155deg, rgba(255, 254, 252, 0.98) 0%, rgba(252, 247, 241, 0.95) 100%);
  box-shadow:
    0 4px 6px -1px rgba(42, 34, 24, 0.06),
    0 18px 40px -18px rgba(42, 34, 24, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.wedding-site-catalog-card:hover .wedding-site-catalog-card__frame {
  box-shadow:
    0 8px 16px -4px rgba(42, 34, 24, 0.1),
    0 28px 56px -24px rgba(184, 154, 108, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
}

.wedding-site-catalog-card__footer {
  padding: 0.65rem 0.85rem 0.75rem;
  border-top: 1px solid rgba(184, 154, 108, 0.12);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.95) 0%, rgba(250, 245, 238, 0.98) 100%);
}

.wedding-site-catalog-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #92400e;
  transition: color 0.2s ease;
}

.wedding-site-catalog-card__link:hover {
  color: #78350f;
}

.wedding-site-catalog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.wedding-site-catalog-lightbox.hidden {
  display: none;
}

.wedding-site-catalog-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 22, 16, 0.82);
  backdrop-filter: blur(8px);
}

.wedding-site-catalog-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 900px);
  max-height: min(92vh, 900px);
  width: 100%;
  padding: 1.25rem 1.25rem 1.5rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(184, 154, 108, 0.35);
  background: linear-gradient(165deg, #fffefb 0%, #f3ebe1 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
  overflow: auto;
}

.wedding-site-catalog-lightbox__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(120, 83, 48, 0.2);
  background: rgba(255, 252, 248, 0.95);
  color: #44403c;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.wedding-site-catalog-lightbox__close:hover {
  background: #fff;
}

.wedding-site-catalog-lightbox__img {
  width: 100%;
  max-height: min(65vh, 620px);
  object-fit: contain;
  border-radius: 0.65rem;
  margin-bottom: 0.75rem;
}

.wedding-site-catalog-lightbox__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #92400e;
  margin-bottom: 0.35rem;
}

.wedding-site-catalog-lightbox__title {
  font-size: 1.25rem;
  color: #2a2218;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.wedding-site-catalog-lightbox__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.35rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fffefb;
  background: linear-gradient(165deg, #5c4a3a 0%, #3d3026 50%, #2a2218 100%);
  border: 1px solid rgba(184, 154, 108, 0.35);
  box-shadow: 0 6px 20px rgba(42, 34, 24, 0.25);
  transition: transform 0.15s ease;
}

.wedding-site-catalog-lightbox__cta:hover {
  transform: translateY(-1px);
}

/* Üst bar süsleri (includes/header.php) */
.wedding-header-deco {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.wedding-header-deco-glow {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: min(88vw, 28rem);
  height: 5.5rem;
  border-radius: 50%;
  background: radial-gradient(
    ellipse 100% 100% at 50% 50%,
    rgba(255, 252, 248, 0.95) 0%,
    rgba(243, 235, 225, 0.22) 45%,
    transparent 72%
  );
  filter: blur(12px);
  opacity: 0.9;
}

.wedding-header-deco-arc {
  position: absolute;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  opacity: 0.42;
  box-shadow: 0 0 0 1px rgba(120, 83, 48, 0.1);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 252, 248, 0.4) 0%,
    transparent 62%
  );
}

.wedding-header-deco-arc--tl {
  top: -2rem;
  left: -1.75rem;
}

.wedding-header-deco-arc--tr {
  top: -2rem;
  right: -1.75rem;
}

.wedding-header-deco-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(245, 232, 210, 0.95), rgba(200, 168, 120, 0.55));
  animation: wedding-hero-spark-float 5.2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(212, 175, 120, 0.25);
  opacity: 0.65;
}

.wedding-header-deco-spark--1 {
  top: 22%;
  left: 12%;
  animation-delay: 0.2s;
}

.wedding-header-deco-spark--2 {
  top: 38%;
  right: 14%;
  animation-delay: 1.1s;
}

.wedding-header-deco-spark--3 {
  bottom: 18%;
  left: 22%;
  animation-delay: 1.8s;
}

.wedding-header-deco-toprail .wedding-cat-diamond,
.wedding-header-deco-toprail .wedding-cat-diamond--sm {
  background: linear-gradient(135deg, rgba(220, 190, 145, 0.75), rgba(184, 154, 108, 0.45));
}

.wedding-header-deco-pill {
  width: 22px;
  height: 3px;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent, rgba(184, 154, 108, 0.38), transparent);
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .wedding-header-deco-arc {
    width: 4rem;
    height: 4rem;
    opacity: 0.3;
  }

  .wedding-header-deco-spark {
    opacity: 0.45;
    width: 3px;
    height: 3px;
  }

  .wedding-header-deco-glow {
    height: 4.5rem;
    opacity: 0.75;
  }
}

/* Ürün detay — zengin metin (Tailwind typography olmadan) */
.product-prose p {
  margin-bottom: 0.875rem;
}

.product-prose p:last-child {
  margin-bottom: 0;
}

.product-prose ul,
.product-prose ol {
  margin: 0.75rem 0;
  padding-left: 1.35rem;
}

.product-prose li {
  margin-bottom: 0.35rem;
}

.product-prose h1,
.product-prose h2,
.product-prose h3,
.product-prose h4 {
  font-family: 'Playfair Display', serif;
  color: var(--wedding-ink);
  font-weight: 600;
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.product-prose h1:first-child,
.product-prose h2:first-child,
.product-prose h3:first-child {
  margin-top: 0;
}

.product-prose a {
  color: #92400e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-prose a:hover {
  color: #78350f;
}

.product-prose strong,
.product-prose b {
  color: var(--wedding-ink);
  font-weight: 600;
}

.product-prose blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 3px solid rgba(184, 154, 108, 0.45);
  color: #57534e;
  font-style: italic;
}

/* Ürün sayfası — 3D katalog yayınları + video */
.product-catalog-shell {
  position: relative;
  border-radius: clamp(20px, 4vw, 28px);
  padding: clamp(10px, 2.5vw, 22px);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 252, 248, 0.95) 0%, transparent 55%),
    linear-gradient(165deg, #ebe4d8 0%, #d4c9b8 45%, #c4b5a2 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 28px 70px -28px rgba(30, 22, 12, 0.4),
    0 14px 36px -16px rgba(0, 0, 0, 0.22);
}

.product-catalog-shell::before {
  content: '';
  position: absolute;
  inset: clamp(8px, 2vw, 14px);
  border-radius: clamp(16px, 3.5vw, 22px);
  border: 1px solid rgba(184, 154, 108, 0.42);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  pointer-events: none;
  z-index: 0;
}

.product-catalog-stage {
  position: relative;
  z-index: 1;
  perspective: 2000px;
  perspective-origin: 50% 42%;
}

.product-catalog-book {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: clamp(280px, 52vw, 520px);
  border-radius: clamp(12px, 2vw, 18px);
  transform: perspective(2000px) rotateX(5deg) rotateY(-2deg);
  transform-style: preserve-3d;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.12) inset,
    0 22px 50px -12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  background: linear-gradient(90deg, #2a221c 0%, #1a1512 20%, #252018 50%, #1a1512 80%, #2a221c 100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  cursor: grab;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.product-catalog-book.is-dragging {
  cursor: grabbing;
  touch-action: none;
  transition: transform 0.08s ease-out, opacity 0.35s ease;
}

.product-catalog-book.is-flipping {
  opacity: 0.88;
  transform: perspective(2000px) rotateX(5deg) rotateY(-2deg) scale(0.985);
}

.product-catalog-page {
  position: relative;
  flex: 1;
  min-width: 0;
  background: linear-gradient(118deg, #fffefb 0%, #f3ebe1 52%, #e8dfd2 100%);
  padding: clamp(8px, 1.8vw, 14px);
  box-sizing: border-box;
}

.product-catalog-page--right {
  background: linear-gradient(245deg, #fffefb 0%, #f5ede3 48%, #e9dfd2 100%);
  box-shadow: inset 6px 0 16px rgba(0, 0, 0, 0.05);
}

.product-catalog-spine {
  width: clamp(18px, 3vw, 28px);
  flex-shrink: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(60, 48, 38, 0.92) 22%,
    rgba(90, 72, 56, 0.95) 50%,
    rgba(60, 48, 38, 0.92) 78%,
    rgba(0, 0, 0, 0.4) 100%
  );
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.product-catalog-mat {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(240px, 48vw, 480px);
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 8px 22px rgba(0, 0, 0, 0.1);
}

.product-catalog-mat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-catalog-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  background: linear-gradient(145deg, #faf6f1 0%, #efe8df 100%);
  color: rgba(90, 62, 38, 0.35);
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem;
}

.product-catalog-book--single .product-catalog-spine,
.product-catalog-book--single .product-catalog-page--right {
  display: none;
}

.product-catalog-book--single .product-catalog-page--left,
.product-catalog-book--single .product-catalog-page--sheet {
  flex: 1 1 100%;
}

.product-catalog-page--sheet {
  background: linear-gradient(118deg, #fffefb 0%, #f3ebe1 52%, #e8dfd2 100%);
}

.product-catalog-book--single .product-catalog-mat {
  min-height: clamp(260px, 56vw, 540px);
}

.product-catalog-drag-hint {
  text-align: center;
  margin-top: 0.35rem;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  color: rgba(90, 62, 38, 0.45);
  font-weight: 500;
}

@media (min-width: 1024px) {
  .product-catalog-drag-hint {
    text-align: left;
  }
}

.product-catalog-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateZ(30px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 120, 0.55);
  background: rgba(20, 16, 12, 0.45);
  color: #fdf8f0;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(8px);
}

.product-catalog-nav:hover {
  background: rgba(40, 32, 24, 0.6);
  transform: translateY(-50%) translateZ(30px) scale(1.05);
}

.product-catalog-nav--prev {
  left: 8px;
}

.product-catalog-nav--next {
  right: 8px;
}

.product-catalog-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: translateY(-50%) translateZ(30px);
}

.product-catalog-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.product-catalog-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: rgba(90, 62, 38, 0.22);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.product-catalog-dot.is-active {
  background: rgba(120, 53, 15, 0.55);
  transform: scale(1.25);
}

.product-catalog-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.product-catalog-thumbs button {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.product-catalog-thumbs button:hover,
.product-catalog-thumbs button.is-active {
  opacity: 1;
  border-color: rgba(184, 154, 108, 0.65);
  transform: translateY(-2px);
}

.product-catalog-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-catalog-caption {
  text-align: center;
  margin-top: 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(90, 62, 38, 0.55);
  font-weight: 500;
}

.product-video-frame {
  position: relative;
  width: 100%;
  border-radius: clamp(16px, 3vw, 22px);
  overflow: hidden;
  border: 1px solid rgba(120, 83, 48, 0.12);
  box-shadow: 0 20px 50px -24px rgba(44, 36, 25, 0.25);
  background: #1a1512;
  aspect-ratio: 16 / 9;
}

.product-video-frame iframe,
.product-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.product-video-frame--native {
  aspect-ratio: auto;
  min-height: 0;
}

.product-video-frame--native video {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  display: block;
}

.product-info-card {
  border-radius: 1rem;
  border: 1px solid rgba(120, 83, 48, 0.1);
  background: linear-gradient(165deg, rgba(255, 254, 252, 0.95) 0%, rgba(250, 246, 240, 0.88) 100%);
  box-shadow: 0 4px 24px -12px rgba(44, 36, 25, 0.12);
}

@media (max-width: 1023px) {
  .product-catalog-book {
    transform: perspective(2000px) rotateX(3deg) rotateY(0deg);
  }

  .product-catalog-nav {
    width: 36px;
    height: 36px;
  }
}

/* Premium dark mode */
html.theme-dark {
  color-scheme: dark;
  --dm-text-primary: #eadcc7;
  --dm-text-secondary: #d8c8ae;
  --dm-text-muted: rgba(216, 200, 174, 0.78);
  --dm-text-accent: #f0dfc4;
  --dm-bg-from: #18110c;
  --dm-bg-via: #21170f;
  --dm-bg-to: #140f0b;
  --dm-panel-from: rgba(44, 32, 23, 0.96);
  --dm-panel-via: rgba(34, 25, 19, 0.96);
  --dm-panel-to: rgba(25, 19, 15, 0.97);
  --dm-surface-from: rgba(30, 23, 18, 0.96);
  --dm-surface-via: rgba(24, 19, 15, 0.96);
  --dm-surface-to: rgba(19, 15, 12, 0.97);
  --dm-surface-solid: #231911;
}

html.theme-dark body {
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(184, 154, 108, 0.2) 0%, transparent 62%),
    radial-gradient(1050px 640px at 90% 120%, rgba(44, 32, 22, 0.42) 0%, transparent 64%),
    linear-gradient(165deg, var(--dm-bg-from) 0%, var(--dm-bg-via) 50%, var(--dm-bg-to) 100%);
  color: var(--dm-text-secondary);
}

html.theme-dark .wedding-home-shell {
  background: transparent !important;
}

html.theme-dark .wedding-site-header {
  border-bottom-color: rgba(214, 181, 135, 0.16);
  background: linear-gradient(180deg, var(--dm-panel-from) 0%, var(--dm-panel-via) 65%, var(--dm-panel-to) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 16px 38px -24px rgba(0, 0, 0, 0.75);
}

html.theme-dark .wedding-site-header::before {
  opacity: 0.11;
}

html.theme-dark .wedding-site-header nav a {
  color: rgba(233, 221, 204, 0.86) !important;
  font-weight: 500;
}

html.theme-dark .wedding-site-header nav a:hover {
  color: #f5e8d2 !important;
}

html.theme-dark .wedding-header-deco-glow {
  background: radial-gradient(ellipse 100% 100% at 50% 50%, rgba(214, 181, 135, 0.26) 0%, rgba(60, 44, 31, 0.2) 40%, transparent 76%);
  filter: blur(14px);
}

html.theme-dark .wedding-header-deco-toprail svg {
  color: rgba(232, 208, 173, 0.62) !important;
}

html.theme-dark .wedding-header-deco-toprail .h-px {
  background: linear-gradient(90deg, transparent, rgba(214, 181, 135, 0.45), transparent) !important;
}

html.theme-dark .wedding-site-header img[alt] {
  filter: brightness(1.08) contrast(1.08) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

html.theme-dark .wedding-site-header p {
  color: rgba(224, 210, 190, 0.62) !important;
}

html.theme-dark .wedding-hero-band,
html.theme-dark .wedding-categories-section {
  background:
    radial-gradient(130% 66% at 50% 0%, rgba(50, 40, 29, 0.38) 0%, transparent 56%),
    linear-gradient(170deg, var(--dm-bg-from) 0%, var(--dm-bg-via) 42%, var(--dm-bg-to) 100%);
}

html.theme-dark .wedding-hero-band::before,
html.theme-dark .wedding-categories-section::before {
  opacity: 0.18;
  mix-blend-mode: soft-light;
}

html.theme-dark .wedding-hero-band::after {
  opacity: 0.5;
}

html.theme-dark .theme-toggle-btn {
  border-color: rgba(214, 181, 135, 0.25);
  background: linear-gradient(165deg, var(--dm-panel-from) 0%, var(--dm-panel-to) 100%);
  color: #e8dcc8;
}

html.theme-dark .theme-toggle-btn:hover {
  border-color: rgba(214, 181, 135, 0.42);
  background: linear-gradient(165deg, rgba(58, 41, 29, 0.96) 0%, rgba(32, 23, 17, 0.94) 100%);
}

.theme-toggle-btn__sun,
.theme-toggle-btn__moon {
  display: inline-flex;
  align-items: center;
}

.theme-toggle-btn__moon {
  display: none;
}

html.theme-dark .theme-toggle-btn__sun {
  display: none;
}

html.theme-dark .theme-toggle-btn__moon {
  display: inline-flex;
}

html.theme-dark .theme-toggle-btn__moon svg {
  color: #efc88d !important;
}

html.theme-dark #languageToggle,
html.theme-dark #languageMenu {
  border-color: rgba(214, 181, 135, 0.2);
  color: var(--dm-text-secondary);
  background: linear-gradient(165deg, var(--dm-panel-from) 0%, var(--dm-panel-to) 100%);
  box-shadow: 0 16px 38px -24px rgba(0, 0, 0, 0.65);
}

html.theme-dark #activeLang,
html.theme-dark #activeFlag {
  color: #f1e5d0 !important;
}

html.theme-dark #languageMenu .lang-option {
  color: var(--dm-text-secondary);
  border-color: rgba(214, 181, 135, 0.11);
}

html.theme-dark #languageMenu .lang-option:hover {
  background: rgba(214, 181, 135, 0.11);
}

html.theme-dark .site-mobile-nav {
  background: linear-gradient(180deg, var(--dm-panel-from) 0%, var(--dm-panel-to) 100%);
  border-top-color: rgba(214, 181, 135, 0.2);
  box-shadow: 0 -12px 42px rgba(0, 0, 0, 0.45);
}

html.theme-dark .site-floating-actions a {
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

html.theme-dark .site-footer-band {
  border-top-color: rgba(214, 181, 135, 0.16);
  background: linear-gradient(180deg, var(--dm-panel-from) 0%, var(--dm-panel-via) 52%, var(--dm-panel-to) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

html.theme-dark .site-footer-band p {
  color: var(--dm-text-muted) !important;
}

html.theme-dark .site-footer-band .pointer-events-none.absolute.inset-x-0.top-0.h-px {
  background: linear-gradient(90deg, transparent, rgba(214, 181, 135, 0.4), transparent) !important;
}

html.theme-dark .site-footer-band .h-px {
  background: linear-gradient(90deg, transparent, rgba(214, 181, 135, 0.48), transparent) !important;
}

html.theme-dark .site-footer-band .wedding-cat-diamond,
html.theme-dark .site-footer-band .wedding-cat-diamond--sm {
  background: linear-gradient(135deg, rgba(241, 224, 194, 0.95), rgba(214, 181, 135, 0.62));
  box-shadow: 0 0 10px rgba(214, 181, 135, 0.28);
  opacity: 0.95;
}

html.theme-dark .site-footer-band img[alt='Yersoft'] {
  filter: brightness(1.02) contrast(1.06) drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
}

html.theme-dark .wedding-category-products-frame a,
html.theme-dark .wedding-site-catalog-empty,
html.theme-dark .wedding-site-catalog-embed-wrap > div,
html.theme-dark .product-info-card,
html.theme-dark .product-video-frame,
html.theme-dark .product-catalog-shell,
html.theme-dark .product-catalog-page--left,
html.theme-dark .product-catalog-page--sheet,
html.theme-dark .product-catalog-page--right {
  border-color: rgba(214, 181, 135, 0.2) !important;
  background: linear-gradient(165deg, var(--dm-surface-from) 0%, var(--dm-surface-via) 55%, var(--dm-surface-to) 100%) !important;
  box-shadow:
    0 10px 28px -14px rgba(0, 0, 0, 0.6),
    0 1px 0 rgba(255, 255, 255, 0.04) inset !important;
}

html.theme-dark .product-catalog-shell::before {
  border-color: rgba(214, 181, 135, 0.36);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

html.theme-dark .product-catalog-book {
  background:
    linear-gradient(180deg, rgba(25, 18, 13, 0.2) 0%, transparent 30%),
    linear-gradient(90deg, #2d2118 0%, #221911 20%, #1a130e 50%, #221911 80%, #2d2118 100%);
}

html.theme-dark .product-catalog-placeholder {
  background: linear-gradient(145deg, #2c2118 0%, #1f1711 100%);
  color: rgba(230, 217, 196, 0.56);
}

html.theme-dark .product-catalog-mat {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 24px rgba(0, 0, 0, 0.35);
}

html.theme-dark .product-catalog-drag-hint,
html.theme-dark .product-catalog-caption {
  color: var(--dm-text-muted);
}

html.theme-dark .product-catalog-dot {
  background: rgba(230, 217, 196, 0.25);
}

html.theme-dark .product-catalog-dot.is-active {
  background: rgba(214, 181, 135, 0.85);
}

html.theme-dark .product-catalog-thumbs button.is-active,
html.theme-dark .product-catalog-thumbs button:hover {
  border-color: rgba(214, 181, 135, 0.8);
}

html.theme-dark .product-catalog-thumbs button {
  background: linear-gradient(145deg, rgba(48, 35, 25, 0.9) 0%, rgba(29, 21, 15, 0.9) 100%);
  border-color: rgba(214, 181, 135, 0.24);
}

html.theme-dark .product-catalog-nav {
  border-color: rgba(214, 181, 135, 0.38);
  background: rgba(12, 16, 22, 0.74);
  color: #f5ead8;
}

html.theme-dark .product-catalog-nav:hover {
  background: rgba(19, 25, 34, 0.9);
}

html.theme-dark [class*='text-[#2a2218]'],
html.theme-dark .text-\[\#2a2218\] {
  color: var(--dm-text-primary) !important;
}

html.theme-dark [class*='text-amber-900'] {
  color: var(--dm-text-accent) !important;
}

html.theme-dark .text-stone-700,
html.theme-dark .text-stone-600 {
  color: var(--dm-text-secondary) !important;
}

html.theme-dark .text-stone-500,
html.theme-dark .text-stone-400 {
  color: var(--dm-text-muted) !important;
}

html.theme-dark .text-amber-950,
html.theme-dark .text-amber-950\/90 {
  color: #e7d8be !important;
}

html.theme-dark .bg-white,
html.theme-dark .bg-white\/90,
html.theme-dark .bg-white\/95 {
  background-color: var(--dm-surface-solid) !important;
}

html.theme-dark [class*='from-[#fffefb]'],
html.theme-dark [class*='from-[#fffcfa]'],
html.theme-dark [class*='from-[#faf8f5]'],
html.theme-dark [class*='from-[#f5efe6]'],
html.theme-dark [class*='from-[#f3ebe1]'],
html.theme-dark [class*='from-[#faf5ed]'],
html.theme-dark [class*='from-[#f9f6f2]'],
html.theme-dark [class*='from-[#f7f4ef]'],
html.theme-dark [class*='via-[#fcf9f6]'],
html.theme-dark [class*='via-[#f5efe6]'],
html.theme-dark [class*='via-[#faf5ed]'],
html.theme-dark [class*='to-[#faf5ed]'],
html.theme-dark [class*='to-[#f3ebe1]'],
html.theme-dark [class*='to-[#ebe4d8]'],
html.theme-dark [class*='to-[#e8dfd2]'],
html.theme-dark [class*='to-[#faf8f5]'],
html.theme-dark [class*='to-[#f9f6f2]'],
html.theme-dark [class*='bg-[#fffefb]'],
html.theme-dark [class*='bg-[#fffcfa]'],
html.theme-dark [class*='bg-[#faf8f5]'],
html.theme-dark [class*='bg-[#f5efe6]'],
html.theme-dark [class*='bg-[#f3ebe1]'],
html.theme-dark [class*='bg-[#ebe4d8]'] {
  background-image: linear-gradient(165deg, var(--dm-surface-from) 0%, var(--dm-surface-via) 52%, var(--dm-surface-to) 100%) !important;
}

html.theme-dark [class*='border-amber-900'] {
  border-color: rgba(214, 181, 135, 0.22) !important;
}

html.theme-dark .home-category-card:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(214, 181, 135, 0.8),
    0 0 0 5px rgba(24, 18, 14, 0.95);
}

html.theme-dark .home-category-card__surface {
  background: linear-gradient(165deg, var(--dm-surface-from) 0%, var(--dm-surface-via) 55%, var(--dm-surface-to) 100%) !important;
  box-shadow:
    0 8px 24px -10px rgba(0, 0, 0, 0.55),
    0 18px 44px -22px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(214, 181, 135, 0.2) inset !important;
  ring-color: rgba(214, 181, 135, 0.2);
}

html.theme-dark .home-category-card__inner {
  background: linear-gradient(165deg, var(--dm-surface-from) 0%, var(--dm-surface-via) 55%, var(--dm-surface-to) 100%) !important;
}

html.theme-dark .home-category-card__meta {
  background: linear-gradient(165deg, var(--dm-surface-from) 0%, var(--dm-surface-via) 55%, var(--dm-surface-to) 100%) !important;
  border-top-color: rgba(214, 181, 135, 0.22) !important;
}

html.theme-dark .home-category-card__overlay {
  background: linear-gradient(180deg, transparent 0%, rgba(22, 16, 12, 0.35) 40%, rgba(13, 10, 8, 0.9) 100%) !important;
}

html.theme-dark .home-category-card__overlay h3,
html.theme-dark .home-category-card__overlay-desktop h3 {
  color: var(--dm-text-primary) !important;
}

html.theme-dark .home-category-card__overlay p,
html.theme-dark .home-category-card__overlay-desktop p {
  color: var(--dm-text-accent) !important;
}

html.theme-dark .home-category-card__overlay .flex,
html.theme-dark .home-category-card__overlay-desktop .flex {
  color: var(--dm-text-secondary) !important;
}

html.theme-dark .home-category-card__overlay .flex svg,
html.theme-dark .home-category-card__overlay-desktop .flex svg {
  color: var(--dm-text-accent) !important;
}

html.theme-dark .home-category-card__overlay .category-home-mobile-ornament__line,
html.theme-dark .home-category-card__overlay-desktop .category-home-mobile-ornament__line {
  background: linear-gradient(
    90deg,
    rgba(214, 181, 135, 0.1),
    rgba(232, 208, 173, 0.88),
    rgba(214, 181, 135, 0.7),
    rgba(232, 208, 173, 0.62),
    rgba(214, 181, 135, 0.08)
  );
  box-shadow: 0 0 14px rgba(214, 181, 135, 0.34);
}

html.theme-dark .home-category-card__overlay .category-home-mobile-ornament__diamond,
html.theme-dark .home-category-card__overlay-desktop .category-home-mobile-ornament__diamond {
  background: linear-gradient(135deg, rgba(241, 224, 194, 0.95), rgba(214, 181, 135, 0.62));
}

html.theme-dark .wedding-wave-divider {
  color: rgba(214, 181, 135, 0.28);
}

html.theme-dark .wedding-categories-section .wedding-cat-corner--tl {
  opacity: 0.62;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(214, 181, 135, 0.22) 0%,
    rgba(96, 72, 49, 0.1) 46%,
    transparent 72%
  );
}

html.theme-dark .wedding-categories-section .wedding-cat-corner--br {
  opacity: 0.54;
  background: radial-gradient(
    circle at 70% 70%,
    rgba(214, 181, 135, 0.2) 0%,
    rgba(92, 70, 48, 0.08) 42%,
    transparent 70%
  );
}

html.theme-dark .wedding-category-page-deco .wedding-category-page-fleur {
  opacity: 0.72;
  background: linear-gradient(135deg, rgba(241, 224, 194, 0.95), rgba(214, 181, 135, 0.58));
  box-shadow: 0 0 14px rgba(214, 181, 135, 0.34);
}

html.theme-dark .wedding-category-page-deco .wedding-category-page-arc {
  opacity: 0.4;
  border-color: rgba(214, 181, 135, 0.26);
  background: radial-gradient(circle at 40% 40%, rgba(214, 181, 135, 0.24) 0%, rgba(28, 22, 17, 0.08) 52%, transparent 72%);
  box-shadow: 0 0 22px rgba(214, 181, 135, 0.16);
}

html.theme-dark .wedding-category-products-frame {
  border-color: rgba(214, 181, 135, 0.2);
  background: linear-gradient(165deg, rgba(42, 31, 23, 0.7) 0%, rgba(28, 21, 15, 0.55) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.03) inset,
    0 24px 48px -30px rgba(0, 0, 0, 0.45);
}

html.theme-dark .wedding-category-products-frame .category-product-card-ornament__line {
  background: linear-gradient(
    90deg,
    rgba(214, 181, 135, 0.1),
    rgba(232, 208, 173, 0.88),
    rgba(214, 181, 135, 0.7),
    rgba(232, 208, 173, 0.62),
    rgba(214, 181, 135, 0.08)
  );
  box-shadow: 0 0 14px rgba(214, 181, 135, 0.34);
}

html.theme-dark .wedding-category-products-frame .category-product-card-ornament .wedding-cat-diamond,
html.theme-dark .wedding-category-products-frame .category-product-card-ornament .wedding-cat-diamond--sm {
  background: linear-gradient(135deg, rgba(241, 224, 194, 0.95), rgba(214, 181, 135, 0.62));
  opacity: 1;
}

html.theme-dark .category-breadcrumb a {
  color: rgba(230, 217, 196, 0.78) !important;
}

html.theme-dark .category-breadcrumb a:hover {
  color: #f2e7d3 !important;
}

html.theme-dark .category-breadcrumb [aria-current='page'] {
  color: #e6d9c4 !important;
}

html.theme-dark .product-breadcrumb a {
  color: rgba(230, 217, 196, 0.78) !important;
}

html.theme-dark .product-breadcrumb a:hover {
  color: #f2e7d3 !important;
}

html.theme-dark .product-breadcrumb [aria-current='page'] {
  color: #e6d9c4 !important;
}

html.theme-dark .product-prose h1,
html.theme-dark .product-prose h2,
html.theme-dark .product-prose h3,
html.theme-dark .product-prose h4,
html.theme-dark .product-prose strong,
html.theme-dark .product-prose b {
  color: #eadcc7;
}

html.theme-dark .product-prose a {
  color: #efc88d;
}

html.theme-dark .product-prose a:hover {
  color: #f6ddb6;
}

html.theme-dark .product-prose blockquote {
  color: rgba(230, 217, 196, 0.82);
  border-left-color: rgba(214, 181, 135, 0.5);
}

html.theme-dark .home-category-card__overlay-desktop {
  display: none !important;
  background: linear-gradient(180deg, transparent 0%, rgba(22, 16, 12, 0.32) 38%, rgba(13, 10, 8, 0.9) 100%);
}

html.theme-dark .home-category-card__meta {
  display: none !important;
}

@media (min-width: 768px) {
  html.theme-dark .home-category-card__overlay-desktop {
    display: block !important;
  }
}

@media (min-width: 1024px) {
  html.theme-dark .wedding-site-header .max-w-7xl {
    max-width: 88rem;
  }

  html.theme-dark .wedding-site-header .py-3 {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
  }

  html.theme-dark .wedding-site-header nav a {
    font-size: 0.78rem;
    letter-spacing: 0.02em;
  }

  html.theme-dark .theme-toggle-btn,
  html.theme-dark #languageToggle {
    border-color: rgba(214, 181, 135, 0.26);
    box-shadow:
      0 10px 26px -18px rgba(0, 0, 0, 0.7),
      0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  }
}

