/* Typography & reset */
* {
  box-sizing: border-box;
}

/* Premium shared account/favorite polish */
.cart-count,
.favorite-count {
  top: -5px !important;
  right: -5px !important;
  width: 19px !important;
  height: 19px !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.2) !important;
}

.btn-login {
  border-radius: 3px !important;
  border: 1px solid #e4dac9 !important;
  background: linear-gradient(180deg, #fffaf2 0%, #f2e3cc 100%) !important;
  color: #181818 !important;
  box-shadow: 0 12px 28px rgba(126, 84, 24, 0.14) !important;
  font-weight: 800 !important;
}

.btn-login:hover {
  transform: translateY(-2px) !important;
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  box-shadow: 0 16px 30px rgba(17, 17, 17, 0.18) !important;
}

.login-modal {
  z-index: 9200 !important;
}

.login-overlay {
  background:
    radial-gradient(circle at 50% 10%, rgba(221, 181, 103, 0.18), transparent 34%),
    rgba(12, 10, 8, 0.58) !important;
  backdrop-filter: blur(10px) !important;
}

.login-content {
  max-width: 430px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(221, 205, 176, 0.9) !important;
  background: linear-gradient(180deg, #fffdf8 0%, #f8f2e7 100%) !important;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34) !important;
}

.login-header {
  display: block !important;
  padding: 30px 30px 14px !important;
  margin: 0 0 6px !important;
  border-bottom: 0 !important;
  text-align: center !important;
}

.login-kicker {
  margin: 0 0 8px !important;
  color: #9b7336 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}

.login-header h2 {
  width: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #101010 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 36px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

.login-header h2::before {
  content: "" !important;
  display: none !important;
}

.login-close {
  top: 18px !important;
  right: 18px !important;
  width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #e2d8c6 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #181818 !important;
}

.login-form {
  padding: 0 30px 18px !important;
}

.form-group {
  margin-bottom: 15px !important;
}

.form-group label {
  color: #2b2925 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

.form-group input {
  padding: 15px 16px !important;
  border: 1px solid #e3d8c6 !important;
  border-radius: 3px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 15px !important;
}

.form-group input:focus {
  border-color: #b78b45 !important;
  box-shadow: 0 0 0 3px rgba(183, 139, 69, 0.13) !important;
  transform: none !important;
}

.login-submit,
.register-btn {
  border-radius: 3px !important;
}

.login-submit {
  background: #111 !important;
  color: #fff !important;
}

.register-btn {
  width: calc(100% - 60px) !important;
  margin: 0 30px 14px !important;
  border: 1px solid #dfd1ba !important;
  background: #fffaf2 !important;
  color: #111 !important;
}

.favorites-modal {
  z-index: 9100 !important;
}

.favorites-overlay {
  background: rgba(12, 10, 8, 0.45) !important;
  backdrop-filter: blur(7px) !important;
}

.favorites-content {
  width: min(430px, 100vw) !important;
  background: #f8f5ef !important;
  border-left: 1px solid rgba(17, 17, 17, 0.08) !important;
  box-shadow: -26px 0 70px rgba(17, 17, 17, 0.22) !important;
}

.favorites-header {
  padding: 22px 22px 18px !important;
  background: linear-gradient(180deg, #fff 0%, #fbf6ed 100%) !important;
}

.favorites-title {
  color: #111 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
}

.favorites-title svg {
  color: #b08a3c !important;
}

.favorites-close {
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #ddd4c3 !important;
  border-radius: 50% !important;
  background: #fff !important;
}

.favorite-item {
  margin-bottom: 12px !important;
  padding: 12px !important;
  border: 1px solid #e5ded2 !important;
  background: #fff !important;
}

.favorite-item-image {
  width: 66px !important;
  height: 66px !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  background: #f5f1ea !important;
}

.favorite-item-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.remove-favorite-btn {
  border-radius: 3px !important;
  background: #111 !important;
}

.favorite-btn,
.home-page .km-card-fav,
.collection-fav {
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease !important;
}

.favorite-btn:hover,
.home-page .km-card-fav:hover,
.collection-fav:hover {
  transform: translateY(-2px) scale(1.03) !important;
}

.favorite-btn.active,
.home-page .km-card-fav.is-liked,
.collection-fav.is-liked {
  color: #fff !important;
  background: #111 !important;
  box-shadow: 0 12px 26px rgba(17, 17, 17, 0.18) !important;
}

.home-page .km-card-fav.is-liked svg,
.collection-fav.is-liked svg,
.favorite-btn.active svg {
  fill: currentColor !important;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #1d1d1f;
  background: #faf8f5;
  /* warm off-white to match gold */
  line-height: 1.6;
}

:root {
  --container: 1200px;
  --gold: #c8a45d;
  --gold-dark: #a88a4f;
  --ink: #1d1d1f;
  --muted: #6b7280;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  /* Hero ile bütünleşen floating bar hissi */
  box-shadow: none;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 10px 18px;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 64px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(200, 164, 93, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  transition: opacity .2s ease;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.brand:hover {
  opacity: 0.8;
}

.logo {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #8b7355;
  letter-spacing: .5px;
  background: #f5f3f0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(200, 164, 93, 0.2);
}

.logo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.logo.small {
  height: 60px;
  width: 60px;
  font-size: 12px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.logo.small img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: .2px;
  margin: 0;
  color: #2c2c2c;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 14px;
  color: #666;
  margin: 0;
  font-weight: 500;
  margin-top: 2px;
}

/* --- SUBNAV (YATAY İNCE MENÜ) --- */
.subnav {
  background: transparent;
  /* header ile aynı görünüm */
  border: 0;
  box-shadow: none;
}

.subnav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.subnav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  /* ortala */
  align-items: center;
  gap: 32px;
  margin: 8px 0;
  /* toplam yükseklik ~32-40px */
  padding: 6px 0;
}

.subnav-list a {
  text-decoration: none;
  font-weight: 600;
  color: #6b4e2e;
  padding: 6px 10px;
  border-radius: 10px;
  transition: color .2s ease, background-color .2s ease;
}

.subnav-list a:hover {
  color: #a37a49;
  background-color: #f5efe6;
  /* çok açık sıcak ton */
}

/* Mobil davranış */
@media (max-width: 768px) {
  .subnav-list {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
  }
}

/* --- BAŞLIK ŞERİDİ / GEREKSİZ BOŞLUKLARI SÖNÜMLE --- */
/* Sayfa başlığını büyük bir bar gibi gösteren şablonları kapat */
.page-title,
.page-header,
.title-bar,
.section-title-bar {
  display: none;
  /* varsa o kalın boşluğu kaldır */
}

/* İçerikte ilk h2 üst boşluğunu sıfırla (Ürünler başlığı için) */
main h1:first-child,
main h2:first-child {
  margin-top: 0;
}

/* Subnav'ın header'ın altında görünmesi için body'ye üst boşluk */
body {
  padding-top: 0;
  /* header sticky olduğu için body padding'e gerek yok */
}

/* Hero ve diğer içeriklerin subnav'dan sonra başlaması için */
.hero,
.customizable,
.featured,
.categories {
  margin-top: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
  grid-column: 2;
  min-width: 0;
}

.search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 30px;
  /* daha yuvarlat */
  padding: 4px;
  /* kutuyu incelt */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  min-width: 280px;
  /* çok uzun olmasın */
  max-width: 340px;
  height: 40px;
  /* daha kompakt */
}

.search input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
  color: #2c2c2c;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 30px 0 0 30px;
  /* soldan yuvarlat */
  background: transparent;
}

.search {
  display: flex;
  align-items: center;
  gap: 0;
  /* aradaki boşluğu kaldır */
  background: #fff;
  border: 1px solid #ece7df;
  border-radius: 999px;
  /* tam pill */
  padding: 2px;
  /* incelt */
  height: 44px;
  min-width: 340px;
  max-width: 420px;
  box-shadow: 0 4px 18px rgba(32, 24, 12, .06),
    /* yumuşak dış gölge */
    inset 0 1px 0 rgba(255, 255, 255, .65);
  /* hafif iç parlama */
  overflow: hidden;
  /* butonla birleşik görünüm */
}

.search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #2c2c2c;
  border-radius: 999px 0 0 999px;
  /* soldan yuvarlat */
}

/* Buton tek parça, aynı yükseklikte */
.btn-search {
  height: 100%;
  padding: 0 18px;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--gold) 0%, #b8954e 100%);
  box-shadow: 0 3px 10px rgba(200, 164, 93, .35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

/* HOVER & ACTIVE — atlanan kısım */
.btn-search:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 6px 14px rgba(200, 164, 93, .42);
}

.btn-search:active {
  transform: translateY(0);
  filter: brightness(.98);
  box-shadow: 0 2px 6px rgba(200, 164, 93, .28);
}

/* Kutuyu focus'ta altın halka ile vurgula */
.search:focus-within {
  border-color: #d8bf86;
  box-shadow: 0 6px 20px rgba(32, 24, 12, .08),
    0 0 0 3px rgba(200, 164, 93, .15) inset;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.main-nav a {
  color: #2c2c2c;
  text-decoration: none !important;
  margin-left: 24px;
  position: relative;
  font-weight: 600;
  font-size: 16px;
  transition: color .3s ease;
  padding: 8px 0;
  display: inline-block;
}

.main-nav a:hover {
  color: var(--gold-dark);
  text-decoration: none !important;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width .3s ease;
  border-radius: 2px;
}

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

.header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  height: 100%;
  grid-column: 3;
  justify-self: end;
}

.icon-btn {
  background: none;
  border: none;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  color: #2c2c2c;
  transition: all .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
}

.icon-btn:hover {
  background: rgba(200, 164, 93, 0.1);
  color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 164, 93, 0.2);
}

.cart-count,
.favorite-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count:empty,
.favorite-count:empty {
  display: none;
}

.btn-login {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  color: #2c2c2c;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  transition: all .3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.8) 20%, transparent 40%);
  transition: left 0.6s ease;
}

.btn-login:hover::before {
  left: 100%;
}

.btn-login:hover {
  background: linear-gradient(135deg, var(--gold) 0%, #d4af37 100%);
  color: white;
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(200, 164, 93, 0.4);
}

/* Hero */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .08);
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
}

.btn-primary {
  background: linear-gradient(135deg, #e8d3a1, var(--gold));
  color: #1a1508;
  border: none;
}
/* ========== HOMEPAGE HERO REFACTOR (tek blok, override yok) ========== */
.hero {
  padding: 0;
}

.hero-slider-inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 72vh;
  max-height: 90vh;
  background: #1a1210;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, #2a1f18 0%, #1c1412 45%, #140f0d 100%);
}

.hero-media-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.08) 50%, transparent 72%);
  pointer-events: none;
}

.hero-media-visual.placeholder.shimmer::after {
  opacity: 0.35;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.06) 25%, transparent 50%);
}

.hero-copy,
.hero-copy--right,
.hero-copy--left,
.hero-copy--overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 56px 40px 100px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  max-width: 560px;
  color: #fff;
  background: none;
  backdrop-filter: none;
  border-radius: 0;
  inset: auto;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 236, 200, 0.9);
}

.hero-copy h1,
.hero-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-text {
  margin: 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 250, 240, 0.88);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.hero-controls {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-nav {
  display: none;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}

.hero-dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

/* Görsel cover (diğer bölümler) */
.product-card-media img,
.category-showcase-placeholder img,
.design-card-placeholder img,
.about-media-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* MARQUEE – hero sonrası, beyaz blok yok */
.hp-marquee {
  margin: 0;
  padding: 0;
  background: rgba(26, 18, 16, 0.97);
  border: none;
  overflow: hidden;
}

.hp-marquee-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  min-height: 44px;
}

.hp-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: marquee-slide 32s linear infinite;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 240, 220, 0.9);
  padding-right: 48px;
}

.hp-marquee-track--clone {
  animation-delay: -16s;
}

.hp-marquee-track span {
  display: inline-block;
}

.hp-marquee-track span::before {
  content: "·";
  margin-right: 20px;
  opacity: 0.6;
}

@keyframes marquee-slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Collection Navigation */
.collection-nav {
  padding: 50px 0;
  background: #faf8f5;
}

.collection-nav-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  text-align: center;
  margin: 0 0 40px;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.collection-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.collection-item:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

.collection-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  border-radius: 50%;
  overflow: hidden;
  background: #f5ede0;
  /* Fallback color */
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  position: relative;
  /* Container context */
}

/* Ensure image always fills the circle */
.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collection-item:hover .collection-image {
  box-shadow: 0 6px 20px rgba(200, 164, 93, 0.25);
}

.collection-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5ede0 0%, #e8dcc8 50%, #ddd4c0 100%);
  border: 1px solid rgba(200, 164, 93, 0.2);
}

.collection-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* Featured section */
.featured {
  padding: 40px 0 22px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 26px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0;
}

.section-subtitle {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
}

/* Best sellers carousel */
.best-sellers-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding-inline: 36px;
}

.best-sellers-viewport {
  overflow: hidden;
  flex: 1;
}

.best-sellers-row {
  display: flex;
  gap: 20px;
  scroll-behavior: smooth;
}

.product-card {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  background: var(--card);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, .04);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.16);
  border-color: rgba(200, 164, 93, 0.5);
}

.product-card-media-link {
  display: block;
}

.product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px 20px 0 0;
  background: radial-gradient(circle at 10% 0%, #f7eee1 0%, #ebdcc5 40%, #d8ba80 100%);
  border-bottom: 1px solid rgba(200, 164, 93, 0.45);
  overflow: hidden;
}

.product-card-media--editorial {
  aspect-ratio: 3 / 4;
}

.product-card-body {
  padding: 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin: 0;
}

.product-card-meta {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.product-card-bottom {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.product-card-price {
  font-weight: 600;
  font-size: 15px;
  color: #3b2c17;
}

.product-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
}

.product-card-link:hover {
  text-decoration: underline;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-arrow--prev {
  left: 6px;
}

.carousel-arrow--next {
  right: 6px;
}

.carousel-arrow span {
  display: block;
  width: 13px;
  height: 13px;
  border-top: 2px solid #4b3a24;
  border-right: 2px solid #4b3a24;
}

.carousel-arrow--prev span {
  transform: rotate(-135deg);
}

.carousel-arrow--next span {
  transform: rotate(45deg);
}

.carousel-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.2);
}

/* Customizable Designs */
.customizable {
  padding: 44px 0 32px;
}

.customizable h2 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 8px;
}

/* Categories */
.categories {
  padding: 44px 0 56px;
}

.categories h2 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 8px;
}

.category-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: 20px;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.16);
  border-color: rgba(200, 164, 93, 0.55);
}

.category-showcase-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: radial-gradient(circle at 10% 0%, #f7eee1 0%, #ebdcc5 40%, #d1b17c 100%);
}

.category-showcase-media--accent {
  background: radial-gradient(circle at 0% 0%, #f6efe6 0%, #f2e0c7 38%, #d3b279 100%);
}

.category-showcase-placeholder {
  width: 100%;
  height: 100%;
}

.category-showcase-body {
  padding: 16px 18px 18px;
}

.category-showcase-body h3 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 6px;
  font-size: 18px;
}

.category-showcase-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Designs grid */
.designs-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.design-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.design-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.16);
  border-color: rgba(200, 164, 93, 0.55);
}

.design-card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: radial-gradient(circle at 0% 0%, #f8f0e4 0%, #e8d7bf 40%, #d1b179 100%);
}

.design-card-placeholder {
  width: 100%;
  height: 100%;
}

.design-card-body {
  padding: 14px 16px 18px;
}

.design-card-body h3 {
  font-family: 'Playfair Display', serif;
  margin: 0 0 6px;
  font-size: 17px;
}

.design-card-body p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ABOUT */
.about-section {
  padding: 48px 0 60px;
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.about-copy {
  max-width: 520px;
}

.about-kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a37a49;
  margin: 0 0 6px;
}

.about-copy h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 0 0 14px;
}

.about-copy p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}

.about-link {
  display: inline-block;
  margin-top: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 164, 93, 0.5);
  padding-bottom: 2px;
}

.about-link:hover {
  border-bottom-color: rgba(200, 164, 93, 0.9);
}

.about-media {
  display: flex;
  justify-content: flex-end;
}

.about-media-frame {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(135deg, #f2e5d1 0%, #e2c496 30%, #fdf6ec 100%);
  box-shadow:
    0 26px 60px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.75);
}

.about-media-visual {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: radial-gradient(circle at 0% 0%, #f8f0e6 0%, #e9d4bd 40%, #d2af7a 100%);
}

/* Breadcrumb */
.breadcrumb {
  background: #f8f9fa;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

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

.breadcrumb span {
  color: var(--muted);
  margin: 0 8px;
}

/* Product Detail */
.product-detail {
  padding: 40px 0 60px;
  background: #faf8f5;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

/* Product Images */
.main-image {
  position: relative;
  margin-bottom: 20px;
}

.image-placeholder {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, #f3ece0 0%, #e9dcc8 100%);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 164, 93, .35);
  position: relative;
  overflow: hidden;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.image-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .8) 20%, transparent 40%);
  transform: translateX(-100%);
  animation: shimmer 2s infinite;
  z-index: 2;
  pointer-events: none;
  border-radius: 12px;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.placeholder-text {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: #8b7355;
  text-align: center;
  z-index: 1;
}

.product-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.badge {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #1a1508;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.5);
}

.favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  z-index: 3;
  color: #666;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.favorite-btn:hover {
  background: white;
  color: #e74c3c;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.favorite-btn.active {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.thumbnail-images {
  display: flex;
  gap: 16px;
}

.thumbnail {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
  background: linear-gradient(135deg, #f3ece0, #e9dcc8);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.thumbnail:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.thumbnail.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(200, 164, 93, 0.3);
}

.additional-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}

.additional-thumbnail {
  width: 70%;
  aspect-ratio: 1;
  border-radius: 12px;
  border: 2px solid #e5e5e5;
  cursor: pointer;
  transition: all 0.3s ease;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  margin: 0 auto;
}

.additional-thumbnail:hover {
  border-color: var(--gold);
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Modern Inline Validation */
.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-group .error-message {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 2px solid #fca5a5;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 4px;
  font-size: 12px;
  color: #dc2626;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
  z-index: 10;
}

.form-group .error-message::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 16px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #fca5a5;
}

.form-group .error-message::after {
  content: '⚠';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #dc2626;
}

.form-group .error-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-group.error input {
  border-color: #fca5a5 !important;
  background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
  animation: inputShake 0.6s ease-in-out;
}

@keyframes inputShake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-2px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(2px);
  }
}

.form-group.error input:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* Success state */
.form-group.success input {
  border-color: #10b981 !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%) !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.form-group.success .success-message {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 2px solid #6ee7b7;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 4px;
  font-size: 12px;
  color: #059669;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
  z-index: 10;
}

.form-group.success .success-message::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 16px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #6ee7b7;
}

.form-group.success .success-message::after {
  content: '✓';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #059669;
}

.form-group.success .success-message.show {
  opacity: 1;
  transform: translateY(0);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Auth Page (Login/Register shared) */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(1200px 600px at top right, rgba(212, 175, 55, 0.06), transparent),
    radial-gradient(1200px 600px at bottom left, rgba(0, 0, 0, 0.06), transparent),
    var(--bg, #f7f7f7);
}

.auth-card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  padding: 28px;
  backdrop-filter: blur(4px);
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-header h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
}

.auth-header p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}

.required {
  color: #dc2626;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.6px solid #ddd;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
  transition: all .25s ease;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold, #d4af37);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.btn.auth-submit {
  width: 100%;
  margin-top: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--gold, #d4af37), #e0c45a);
  color: #222;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}

.btn.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.25);
}

.auth-back {
  display: inline-block;
  width: 100%;
  text-align: center;
  margin-top: 12px;
  color: #666;
  text-decoration: none;
  transition: color .2s ease;
}

.auth-back:hover {
  color: #111;
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strength-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.strength-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #999;
  background: #f0f0f0;
  transition: all 0.3s ease;
}

.strength-text {
  color: #999;
  transition: all 0.3s ease;
}

.strength-item.valid .strength-icon {
  background: #10b981;
  color: white;
  content: '✓';
}

.strength-item.valid .strength-text {
  color: #10b981;
  font-weight: 500;
}

.strength-item.valid .strength-icon::before {
  content: '✓';
}

/* Password Match Indicator */
.password-match {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  transition: all 0.3s ease;
}

.match-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #999;
  background: #f0f0f0;
  transition: all 0.3s ease;
}

.match-text {
  color: #999;
  transition: all 0.3s ease;
}

.password-match.valid .match-icon {
  background: #10b981;
  color: white;
}

.password-match.valid .match-text {
  color: #10b981;
  font-weight: 500;
}

.password-match.valid .match-icon::before {
  content: '✓';
}

.password-match.invalid .match-icon {
  background: #ef4444;
  color: white;
}

.password-match.invalid .match-text {
  color: #ef4444;
  font-weight: 500;
}

.password-match.invalid .match-icon::before {
  content: '✗';
}

/* Gmail Verification Modal */
.gmail-verification-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.gmail-verification-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Modal açıkken arka planı gizle */
body.modal-open {
  overflow: hidden;
}

body.modal-open * {
  pointer-events: none;
}

body.modal-open .gmail-verification-modal,
body.modal-open .gmail-verification-modal * {
  pointer-events: auto;
}

.gmail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1;
}

.gmail-content {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.gmail-verification-modal.active .gmail-content {
  transform: scale(1) translateY(0);
}

.gmail-header {
  text-align: center;
  padding: 32px 32px 24px;
  border-bottom: 1px solid #f0f0f0;
}

.gmail-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.gmail-header h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.gmail-header p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.gmail-body {
  padding: 24px 32px;
}

.gmail-email {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  margin-bottom: 24px;
  font-size: 14px;
}

.gmail-steps {
  margin-bottom: 24px;
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 0;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #d4af37, #e0c45a);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-right: 16px;
  flex-shrink: 0;
}

.step-text {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

.gmail-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: #856404;
}

.gmail-note p {
  margin: 0;
}

.gmail-footer {
  padding: 24px 32px 32px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.gmail-footer .btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
}

.gmail-footer .btn-secondary {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #dee2e6;
}

.gmail-footer .btn-secondary:hover {
  background: #e9ecef;
  color: #333;
}

.toast {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-left: 4px solid;
  min-width: 300px;
  max-width: 400px;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success {
  border-left-color: #10b981;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.toast.error {
  border-left-color: #ef4444;
  background: linear-gradient(135deg, #fef2f2 0%, #fef7f7 100%);
}

.toast.warning {
  border-left-color: #f59e0b;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.toast.info {
  border-left-color: #3b82f6;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.toast::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: white;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  background: linear-gradient(135deg, #10b981, #059669);
}

.toast.error .toast-icon {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.toast.warning .toast-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.toast.info .toast-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.toast-text {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: #1f2937;
}

.toast-message {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.toast-close:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #374151;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .additional-images {
    max-height: 300px;
    gap: 8px;
  }

  .additional-thumbnail {
    border-radius: 8px;
  }

  .toast-container {
    right: 10px;
    left: 10px;
  }

  .toast {
    min-width: auto;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .additional-images {
    max-height: 250px;
    gap: 6px;
  }

  .additional-thumbnail {
    border-radius: 6px;
  }
}

/* Product Info */
.product-info {
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.product-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 38px;
  background: linear-gradient(45deg, #c8a45d, #d4af37, #ffd700, #d4af37, #c8a45d);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 3s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(200, 164, 93, 0.3);
  letter-spacing: 1px;
  margin: 0 0 12px;
  line-height: 1.2;
  position: relative;
}

/* Glow effect for product title */
.glow-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 38px;
  background: linear-gradient(45deg, #c8a45d, #d4af37, #ffd700, #d4af37, #c8a45d);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 3s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(200, 164, 93, 0.3);
  letter-spacing: 1px;
}

@keyframes glow {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.stars {
  color: #ffd700;
  font-size: 18px;
}

.review-count {
  color: #666;
  font-size: 15px;
  font-weight: 500;
}

.product-price {
  font-size: 32px;
  font-weight: 800;
  color: #2c2c2c;
  margin-bottom: 32px;
}

.price-section {
  margin-bottom: 32px;
}

.price {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.original-price {
  text-decoration: line-through;
  color: #999;
  font-size: 20px;
  font-weight: 500;
}

.current-price {
  font-size: 32px;
  font-weight: 800;
  color: #2c2c2c;
}

.discount-badge {
  background: #dc2626;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-left: 12px;
}

.price-note {
  color: #666;
  font-size: 14px;
  margin: 0;
}

.product-options {
  margin-bottom: 40px;
}

.config-section.is-hidden {
  display: none;
}

.choice-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.choice-pill {
  border: 2px solid #dcc795;
  background: #fff;
  color: #2c2c2c;
  border-radius: 999px;
  padding: 13px 18px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}

.choice-pill:hover {
  transform: translateY(-1px);
  border-color: var(--gold);
}

.choice-pill.active {
  color: #fff;
  border-color: #b98d2c;
  background: linear-gradient(135deg, #d8b04f 0%, #c59d3f 100%);
  box-shadow: 0 10px 24px rgba(197, 157, 63, 0.24);
}

.packaging-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.packaging-card {
  border: 2px solid #e9dec8;
  background: linear-gradient(180deg, #fffefb 0%, #faf6ec 100%);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  cursor: pointer;
  transition: all .25s ease;
}

.packaging-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(200, 164, 93, 0.12);
}

.packaging-card.active {
  border-color: #b98d2c;
  box-shadow: 0 14px 32px rgba(197, 157, 63, 0.18);
}

.packaging-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: #f3ead8;
}

.packaging-card strong {
  font-size: 15px;
}

.packaging-card span,
.packaging-card em {
  color: #6e6659;
  font-style: normal;
}

.option-group {
  margin-bottom: 28px;
}

.option-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2c2c2c;
  font-size: 15px;
}

.color-options {
  display: flex;
  gap: 16px;
}

.color-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all .3s ease;
}

.color-option:hover {
  border-color: #d4d4d4;
  transform: translateY(-1px);
}

.color-option.active {
  border-color: var(--gold);
  background: rgba(200, 164, 93, 0.08);
  box-shadow: 0 4px 12px rgba(200, 164, 93, 0.2);
}

.color-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-circle.gold {
  background: #ffd700;
}

.color-circle.silver {
  background: #c0c0c0;
}

.color-circle.rose {
  background: #e8b4b8;
}

.material-options {
  display: flex;
  gap: 12px;
}

.material-option {
  padding: 14px 20px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

.material-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.8) 20%, transparent 40%);
  transition: left 0.6s ease;
}

.material-option:hover::before {
  left: 100%;
}

.material-option:hover {
  border-color: #d4d4d4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.material-option.active {
  border-color: var(--gold);
  background: rgba(200, 164, 93, 0.08);
  box-shadow: 0 4px 12px rgba(200, 164, 93, 0.2);
}

/* Seçili altın malzeme - hover animasyonunda kalır */
.material-option[for="material-gold"].active {
  border-color: #8b6914;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 30%, #fff8dc 70%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(139, 105, 20, 0.6);
  transform: translateY(-3px) scale(1.02);
}

.material-option[for="material-gold"].active .material-name {
  color: #5d4e37;
  text-shadow: 0 0 15px rgba(255, 215, 0, 1), 0 0 25px rgba(255, 215, 0, 0.8);
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Seçili gümüş malzeme - hover animasyonunda kalır */
.material-option[for="material-silver"].active {
  border-color: #808080;
  background: linear-gradient(135deg, #c0c0c0 0%, #d3d3d3 30%, #e6e6fa 70%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(128, 128, 128, 0.6);
  transform: translateY(-3px) scale(1.02);
}

.material-option[for="material-silver"].active .material-name {
  color: #2c2c2c;
  text-shadow: 0 0 15px rgba(192, 192, 192, 1), 0 0 25px rgba(192, 192, 192, 0.8);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.material-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.material-name {
  font-size: 15px;
  font-weight: 600;
  color: #2c2c2c;
  position: relative;
  z-index: 1;
}

/* Altın malzeme hover efekti */
.material-option[for="material-gold"]:hover {
  border-color: #8b6914;
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 30%, #fff8dc 70%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(139, 105, 20, 0.6);
  transform: translateY(-3px) scale(1.02);
}

.material-option[for="material-gold"]:hover .material-name {
  color: #5d4e37;
  text-shadow: 0 0 15px rgba(255, 215, 0, 1), 0 0 25px rgba(255, 215, 0, 0.8);
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Gümüş malzeme hover efekti */
.material-option[for="material-silver"]:hover {
  border-color: #808080;
  background: linear-gradient(135deg, #c0c0c0 0%, #d3d3d3 30%, #e6e6fa 70%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(128, 128, 128, 0.6);
  transform: translateY(-3px) scale(1.02);
}

.material-option[for="material-silver"]:hover .material-name {
  color: #2c2c2c;
  text-shadow: 0 0 15px rgba(192, 192, 192, 1), 0 0 25px rgba(192, 192, 192, 0.8);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.chain-select,
.font-select {
  width: 100%;
  padding: 18px 24px;
  border: 2px solid #d4d4d4;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  font-size: 16px;
  font-weight: 600;
  color: #2c2c2c;
  transition: all .3s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a45d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  padding-right: 50px;
}

.gift-select {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid #d4d4d4;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  font-size: 15px;
  font-weight: 600;
  color: #2c2c2c;
  transition: all .3s ease;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a45d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px;
  padding-right: 45px;
}

.chain-select:focus,
.font-select:focus,
.gift-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 8px 25px rgba(200, 164, 93, 0.2), 0 0 0 3px rgba(200, 164, 93, 0.15);
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
}

.chain-select:hover,
.font-select:hover,
.gift-select:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 164, 93, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
}

/* Note Section Styles */
.note-toggle {
  margin-bottom: 16px;
}

.note-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: #2c2c2c;
  transition: all 0.3s ease;
}

.note-checkbox-label:hover {
  color: var(--gold);
}

.note-checkbox-label:hover .note-checkmark {
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(200, 164, 93, 0.2);
  transform: scale(1.05);
}

.note-checkbox {
  display: none;
}

.note-checkbox-label .note-checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid #d4d4d4;
  border-radius: 6px;
  margin-right: 12px;
  position: relative;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.note-checkbox:checked+.note-checkmark {
  background: var(--gold);
  border-color: var(--gold);
}

.note-checkbox:checked+.note-checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.note-label-text {
  user-select: none;
}

.note-input-container {
  margin-top: 12px;
  animation: slideDown 0.3s ease;
}

.note-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #d4d4d4;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  font-size: 14px;
  font-weight: 500;
  color: #2c2c2c;
  resize: vertical;
  min-height: 80px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.note-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.1);
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
}

.note-textarea::placeholder {
  color: #999;
  font-style: italic;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Font preview in select options */
.font-select option[value="elegant"] {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.font-select option[value="modern"] {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.font-select option[value="classic"] {
  font-family: 'Times New Roman', serif;
}

.font-select option[value="handwritten"] {
  font-family: 'Brush Script MT', cursive;
}

.font-select option[value="brush"] {
  font-family: 'Brush Script MT', cursive;
  font-weight: bold;
}

.font-select option[value="calligraphy"] {
  font-family: 'Dancing Script', cursive;
}

.font-select option[value="gothic"] {
  font-family: 'Old English Text MT', serif;
}

.font-select option[value="cursive"] {
  font-family: 'Lucida Handwriting', cursive;
}

.personalization-preview {
  background: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-text {
  font-size: 18px;
  color: var(--gold-dark);
  font-weight: 600;
}

.preview-text.elegant {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.preview-text.modern {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.preview-text.classic {
  font-family: 'Times New Roman', serif;
}

.preview-text.handwritten {
  font-family: 'Brush Script MT', cursive;
}

.preview-text.brush {
  font-family: 'Brush Script MT', cursive;
  font-weight: bold;
}

.preview-text.calligraphy {
  font-family: 'Dancing Script', cursive;
}

.preview-text.gothic {
  font-family: 'Old English Text MT', serif;
}

.preview-text.cursive {
  font-family: 'Lucida Handwriting', cursive;
}

.personalization-input {
  width: 100%;
  padding: 18px 24px;
  border: 2px solid #d4d4d4;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #2c2c2c;
  transition: all .3s ease;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

.personalization-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 8px 25px rgba(200, 164, 93, 0.2), 0 0 0 3px rgba(200, 164, 93, 0.15);
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
}

.personalization-input:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 164, 93, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
}

.char-counter {
  margin-bottom: 8px;
  font-size: 10px;
  color: #999;
  font-weight: 400;
}

.char-count {
  font-size: 10px;
  color: #999;
  font-weight: 400;
}

.char-left {
  font-size: 10px;
  color: #999;
  font-weight: 400;
}

.required {
  color: #e74c3c;
  font-weight: 600;
}

/* Zorunlu alan yıldızları - sadece kırmızı */
label:has(+ select[required])::after,
label:has(+ input[required])::after,
label:has(+ textarea[required])::after {
  content: " *";
  color: #e74c3c;
  font-weight: 700;
  font-size: 16px;
  margin-left: 2px;
}

.preview-text {
  background: linear-gradient(135deg, #f8f6f0 0%, #f0ede4 100%);
  border: 2px solid #d4d4d4;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.preview-label {
  font-size: 14px;
  color: #8b7355;
  margin-right: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preview-content {
  font-size: 20px;
  color: var(--gold-dark);
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.product-actions {
  margin-bottom: 40px;
}

.product-actions .btn {
  width: 100%;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-large {
  padding: 18px 32px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 12px;
  width: 100%;
  color: white;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #d4af37);
  box-shadow: 0 6px 20px rgba(200, 164, 93, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 164, 93, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  box-shadow: 0 6px 20px rgba(107, 114, 128, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 114, 128, 0.4);
}

.btn-paypal {
  background: linear-gradient(135deg, #0070ba, #005ea6);
  box-shadow: 0 6px 20px rgba(0, 112, 186, 0.3);
}

.btn-paypal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 112, 186, 0.4);
}

.payment-options-link {
  color: var(--gold-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  margin-top: 8px;
  display: block;
  transition: color .3s ease;
}

.payment-options-link:hover {
  color: var(--gold);
  text-decoration: underline;
}

.product-info-box {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.delivery-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #2c2c2c;
}

.delivery-info svg {
  color: var(--gold);
  width: 16px;
  height: 16px;
}

.info-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.info-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #2c2c2c;
  padding: 8px 0;
}

.info-feature svg {
  color: var(--gold);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .info-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.delivery-info {
  background: #e8f5e8;
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid #22c55e;
}

.delivery-info p {
  margin: 0;
  color: #166534;
  font-size: 14px;
}

/* Product Description Section */
.product-description-section {
  margin-top: 40px;
  margin-bottom: 40px;
}

.description-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(200, 164, 93, 0.15);
  position: relative;
  overflow: hidden;
}

.description-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #d4af37, var(--gold));
}

.description-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin: 0 0 20px;
  color: var(--gold-dark);
  font-weight: 700;
}

.description-box p {
  font-size: 16px;
  line-height: 1.7;
  color: #2c2c2c;
  margin-bottom: 20px;
}

.description-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.description-box li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #2c2c2c;
  line-height: 1.6;
}

.description-box li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 16px;
}

.description-box li:nth-child(1)::before {
  content: "🥇";
}

.description-box li:nth-child(2)::before {
  content: "✍️";
}

.description-box li:nth-child(3)::before {
  content: "⛓️";
}

.description-box li:nth-child(4)::before {
  content: "🎁";
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(200, 164, 93, 0.15);
  margin-top: 40px;
  border: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #d4af37, var(--gold));
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold);
  position: relative;
}

.reviews-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold-dark);
  font-weight: 700;
  margin: 0;
}

.reviews-summary {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars-large {
  color: #ffd700;
  font-size: 20px;
}

.review-count-large {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.reviews-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 24px;
}

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

.btn-outline:hover {
  background: var(--gold);
  color: white;
}

.filter-btn {
  background: none;
  border: 1px solid rgba(0, 0, 0, .1);
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
}

.filter-btn:hover {
  background: rgba(0, 0, 0, .05);
}

.reviews-list {
  margin-top: 24px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reviews-list::-webkit-scrollbar {
  width: 8px;
}

.reviews-list::-webkit-scrollbar-track {
  background: #f8f6f0;
  border-radius: 4px;
  margin: 4px 0;
}

.reviews-list::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, .2);
}

.reviews-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--gold-dark), #8b6f47);
}

.reviews-list::-webkit-scrollbar-thumb:active {
  background: linear-gradient(135deg, #8b6f47, #6b5b3a);
}

.review {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
}

.review:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(200, 164, 93, 0.15);
  border-color: var(--gold);
}

.review::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold), #d4af37);
  border-radius: 0 4px 4px 0;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reviewer-name {
  font-weight: 600;
  color: var(--gold-dark);
  font-size: 16px;
}

.review-stars {
  color: #ffd700;
  font-size: 16px;
}

.review-date {
  color: #999;
  font-size: 13px;
  font-weight: 500;
}

.review-text {
  color: #2c2c2c;
  line-height: 1.7;
  margin: 0;
  font-size: 15px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviewer-name {
  font-weight: 600;
  color: var(--ink);
}

.verified-badge {
  background: #22c55e;
  color: white;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-date {
  color: var(--muted);
  font-size: 14px;
}

.review-text {
  color: var(--ink);
  line-height: 1.6;
  margin: 8px 0;
}

.review-product-info {
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.reviews-footer {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, .06);
}

/* Cart Modal */
.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

.cart-modal.active {
  display: flex;
}

.cart-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
}

.cart-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, .15);
  display: flex;
  flex-direction: column;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.cart-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.cart-title svg {
  flex-shrink: 0;
}

.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.cart-close:hover {
  background: rgba(0, 0, 0, .1);
}

.cart-promo {
  background: #1a1508;
  color: white;
  padding: 8px 20px;
  text-align: center;
  font-size: 12px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3ece0, #e9dcc8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--gold-dark);
  text-align: center;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.cart-item-price {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.cart-item-options {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.cart-item-stock-warning {
  margin: -4px 0 10px;
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.cart-item-options div {
  margin-bottom: 2px;
}

.personalized-text {
  font-weight: 600;
  color: var(--gold-dark);
}

.cart-item-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Cart Empty State */
.cart-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cart-empty svg {
  color: var(--gold);
  margin: 0 auto 16px;
  display: block;
}

.cart-empty p:first-of-type {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 18px;
}

.cart-empty p:last-of-type {
  font-size: 14px;
}

/* Login Modal */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
}

.login-modal.active {
  display: flex;
}

.login-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(8px);
}

.login-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  overflow: hidden;
  animation: loginSlideIn 0.3s ease-out;
}

@keyframes loginSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  position: relative;
}

.login-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: #2c2c2c;
  margin: 0;
  text-align: center;
  width: 100%;
  letter-spacing: 1px;
  position: relative;
  padding: 20px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 3px solid var(--gold);
  border-radius: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.login-header h2::before {
  content: '👤';
  font-size: 24px;
  margin-right: 12px;
  color: var(--gold);
}

.login-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: var(--muted);
  transition: all .2s ease;
  position: absolute;
  top: 16px;
  right: 16px;
}

.login-close:hover {
  background: rgba(0, 0, 0, .1);
  color: var(--ink);
}

.login-form {
  padding: 0 24px 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid #e5e5e5;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 500;
  transition: all .3s ease;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, .15), 0 6px 20px rgba(200, 164, 93, 0.2);
  background: linear-gradient(135deg, #ffffff 0%, #f8f6f0 100%);
  transform: translateY(-2px);
}

.form-group input::placeholder {
  color: var(--muted);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.remember-me {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
}

.remember-me input {
  margin-right: 8px;
  width: auto;
}

.forgot-password {
  color: var(--gold-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}

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

.login-submit {
  width: 100%;
  margin-bottom: 8px;
}

.login-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 24px 8px;
  position: relative;
}

.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e5e5, transparent);
  z-index: 1;
}

.divider-text {
  padding: 0 20px;
  font-size: 14px;
  color: #999;
  font-weight: 500;
  background: white;
  position: relative;
  z-index: 2;
}

.register-btn {
  margin: 4px 24px 16px;
  width: calc(100% - 48px);
}

.login-footer {
  text-align: center;
  padding: 20px 24px;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.login-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.register-link {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s ease;
}

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

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(0, 0, 0, .2);
  background: white;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: rgba(0, 0, 0, .05);
}

.qty-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.quantity {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
}

.remove-btn:hover {
  color: #e74c3c;
}

.cart-summary {
  padding: 20px;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 600;
}

.cart-checkout {
  width: 100%;
  margin-bottom: 12px;
}

.payment-methods {
  text-align: center;
}

.payment-logos {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

/* Favorites Modal */
.favorites-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

.favorites-modal.active {
  display: flex;
}

.favorites-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
}

.favorites-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: white;
  box-shadow: -4px 0 20px rgba(0, 0, 0, .15);
  display: flex;
  flex-direction: column;
}

.favorites-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.favorites-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #e74c3c;
}

.favorites-title svg {
  flex-shrink: 0;
}

.favorites-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.favorites-close:hover {
  background: rgba(0, 0, 0, .1);
}

.favorites-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.favorites-items:empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.favorites-empty {
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.favorites-empty svg {
  color: #e74c3c;
  margin: 0 auto 16px;
  display: block;
}

.favorites-empty p:first-of-type {
  font-weight: 600;
  margin-bottom: 8px;
}

.favorites-empty p:last-of-type {
  font-size: 14px;
}

/* Favorite Items */
.favorite-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.favorite-item:last-child {
  border-bottom: none;
}

.favorite-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.favorite-image-placeholder {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
}

.favorite-item-details {
  flex: 1;
}

.favorite-item-details h3 {
  font-size: 16px;
  margin: 0 0 8px 0;
  color: var(--ink);
}

.favorite-item-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 12px;
}

.remove-favorite-btn {
  padding: 6px 12px;
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background .2s ease;
}

.remove-favorite-btn:hover {
  background: #c0392b;
}

/* Error Animation */
.error-shake {
  animation: shake 0.6s ease-in-out;
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, .3) !important;
  background-color: rgba(231, 76, 60, .05) !important;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(200, 164, 93, .4);
  transition: all .3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 164, 93, .5);
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 17, 16, 0.98), rgba(54, 50, 43, 0.96)),
    radial-gradient(circle at 14% 18%, rgba(208, 171, 87, 0.22), transparent 32%);
  color: #ffffff;
  padding: 48px 0 66px;
  border-top: 1px solid rgba(199, 164, 89, 0.28);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 28%, rgba(255, 255, 255, 0.04)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 92px);
  opacity: 0.38;
}

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(300px, 0.9fr) minmax(240px, 0.72fr);
  align-items: start;
  gap: clamp(28px, 5vw, 80px);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.site-footer .logo.small {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  background: #fffaf2;
  border-color: rgba(215, 177, 91, 0.8);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.site-footer .brand-name {
  color: #ffffff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 0.95;
}

.footer-brand p,
.footer-bottom p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.55;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 34px;
}

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

.footer-column span,
.footer-note span {
  color: #d3aa5e;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-links a {
  color: #ffffff;
}

.footer-links a,
.footer-column a,
.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: color 160ms ease, opacity 160ms ease;
}

.footer-column a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-column a:hover,
.footer-bottom a:hover {
  color: #f1d18a;
}

.footer-note {
  justify-self: end;
  max-width: 310px;
  padding-left: 24px;
  border-left: 1px solid rgba(211, 170, 94, 0.34);
}

.footer-note strong {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.18;
}

.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 920px) {
  .site-footer {
    padding: 36px 0 58px;
  }

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

  .site-footer .logo.small {
    width: 52px;
    height: 52px;
  }

  .footer-note {
    justify-self: stretch;
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(211, 170, 94, 0.28);
  }

  .footer-bottom {
    margin-top: 26px;
  }
}

@media (max-width: 560px) {
  .footer-brand {
    gap: 13px;
  }

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

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

/* Section Tabs */
.section-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}

.section-tabs .tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #6b7280;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.section-tabs .tab-btn:hover {
  color: var(--gold);
  background: rgba(200, 164, 93, 0.05);
}

.section-tabs .tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(200, 164, 93, 0.05);
}

.section-tabs .tab-btn svg {
  width: 16px;
  height: 16px;
}

.tab-count {
  background: #f3f4f6;
  color: #6b7280;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.section-tabs .tab-btn.active .tab-count {
  background: var(--gold);
  color: white;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Q&A Actions */
.qa-actions {
  margin-bottom: 24px;
  display: flex;
  justify-content: flex-end;
}

.ask-question-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ask-question-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 164, 93, 0.3);
}

/* Q&A List */
.qa-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qa-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.qa-question {
  padding: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.qa-answer {
  padding: 20px;
  background: #fafafa;
  border-left: 4px solid var(--gold);
}

.qa-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.qa-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
}

.qa-avatar.store {
  background: #6366f1;
}

.qa-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qa-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 14px;
}

.qa-date {
  font-size: 12px;
  color: #6b7280;
}

.qa-text {
  color: #374151;
  line-height: 1.6;
  margin: 0;
}

.qa-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10b981;
  color: white;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  min-height: 28px;
  line-height: 1;
  white-space: nowrap;
}

.qa-verified svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.qa-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #6366f1;
  color: white;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  min-height: 28px;
  line-height: 1;
  white-space: nowrap;
}

.qa-store-badge svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

/* Ask Question Modal */
.ask-question-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ask-question-modal.active {
  display: flex;
}

.ask-question-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.ask-question-content {
  position: relative;
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.ask-question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 24px;
}

.ask-question-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #1f2937;
}

.ask-question-close {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.ask-question-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.ask-question-form {
  padding: 0 24px 24px;
}

.ask-question-form .form-group {
  margin-bottom: 20px;
}

.ask-question-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
}

.question-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.question-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.1);
}

.ask-question-form input[type="text"],
.ask-question-form input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.ask-question-form input[type="text"]:focus,
.ask-question-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 93, 0.1);
}

.ask-question-form .char-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}

.char-count {
  font-weight: 600;
}

.form-options {
  margin-bottom: 24px;
}

.email-notification {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
  min-height: 36px;
}

.email-notification input[type="checkbox"] {
  display: none;
}

.email-notification .checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
}

.email-notification input[type="checkbox"]:checked+.checkmark {
  background: var(--gold);
  border-color: var(--gold);
}

.email-notification input[type="checkbox"]:checked+.checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cancel-question,
.submit-question {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-question {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.cancel-question:hover {
  background: #e5e7eb;
}

.submit-question {
  background: var(--gold);
  color: white;
  border: none;
}

.submit-question:hover {
  background: var(--gold-dark);
}

.ask-question-footer {
  padding: 0 24px 24px;
  border-top: 1px solid #f3f4f6;
  margin-top: 24px;
  padding-top: 16px;
}

.ask-question-footer p {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

/* === GLOBAL ICON & TEXT NORMALIZE === */
svg,
img,
.icon {
  display: block;
  /* baseline boşluğunu kaldır */
  line-height: 1;
}

/* Metin render kalitesi */
html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* === CHIP / ROZET / BADGE === */
.status-badge,
.badge,
.tag,
.label-chip {
  display: inline-flex;
  /* baseline yerine güvenli hizalama */
  align-items: center;
  gap: 6px;
  min-height: 28px;
  /* 28–32px arası güvenli yükseklik */
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  /* metin + ikon tam ortalansın */
  white-space: nowrap;
  /* chip taşmasın */
}

/* Rozet içindeki ikonlar metni ezmesin */
.status-badge>svg,
.badge>svg,
.tag>svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

/* "Doğrulanmış Alışveriş" gibi uzun metinlere küçük alan tanımı */
.badge.badge--success,
.status-badge.status--success {
  padding-inline: 12px;
}

/* === BUTTONS (SM) === */
.btn-sm,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  /* minimum tıklama yüksekliği */
  min-width: 36px;
  line-height: 1;
  padding: 6px 10px;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

/* === CHECKBOX + LABEL HIT AREA === */
input[type="checkbox"] {
  /* native checkbox çok küçükse */
  width: 16px;
  height: 16px;
  inline-size: 16px;
  block-size: 16px;
}

/* checkbox ile metni sar: <label class="check"> <input ...> <span>Metin</span> </label> */
.check,
.checkbox,
.form-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  /* erişilebilirlik: 36px hit area */
  cursor: pointer;
}

.check input[type="checkbox"],
.checkbox input[type="checkbox"],
.form-check input[type="checkbox"] {
  flex: 0 0 auto;
}

/* küçük inputların dikey ortalanması için güvence */
.input-text,
.input-select {
  line-height: 1.2;
}

/* === FORM CHIP'LERİNDE METİN KESİLME ÖNLEMİ === */
.status-badge,
.badge,
.tag {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* (Opsiyonel) dar container'larda rozetlerin büzüşmesini engelle */
.table-content .status-badge {
  max-width: 100%;
}

/* ==== HIZALAMA & BASELINE KİLİDİ ==== */
.status-badge,
.badge,
.tag,
.label-chip,
.qa-verified,
.qa-store-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 28px !important;
  padding: 6px 10px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  border-radius: 999px !important;
}

/* ikonlar her yerde blok ve sabit boy */
.status-badge svg,
.badge svg,
.tag svg,
.qa-verified svg,
.qa-store-badge svg,
.status-badge img,
.badge img,
.tag img,
.qa-verified img,
.qa-store-badge img {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 auto !important;
  vertical-align: middle !important;
}

/* iç içe rozet oluştuysa: içtekini sök/normalize */
.status-badge .status-badge,
.badge .badge,
.tag .tag,
.qa-verified .qa-verified,
.qa-store-badge .qa-store-badge {
  all: unset !important;
}

/* küçük buton/ikon butonları erişilebilir boyuta çek */
.btn-sm,
.icon-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 32px !important;
  min-width: 36px !important;
  line-height: 1 !important;
  padding: 6px 10px !important;
}

.icon-btn svg {
  width: 18px !important;
  height: 18px !important;
}

/* checkbox + label hit area */
.check,
.checkbox,
.form-check,
.email-notification {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 36px !important;
}

.check input[type="checkbox"],
.checkbox input[type="checkbox"],
.form-check input[type="checkbox"],
.email-notification input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 auto !important;
}

/* metin rendering */
html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 1) Listelerdeki gereksiz nokta/disklerini kapat */
.form-options,
.form-options ul,
.form-options li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 2) E-posta bildirimi satırı: tamamı tıklanabilir, ölçüler erişilebilir */
.email-notification {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 36px !important;
  line-height: 1 !important;
  cursor: pointer;
}

.email-notification input[type="checkbox"] {
  /* input'u gizlemek yerine ekrandan uzaklaştır: erişilebilirlik bozulmasın */
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.email-notification .checkmark {
  box-sizing: content-box;
  /* sınır (border) kalınlığı içeriği daraltmasın */
  width: 22px;
  /* biraz büyüt */
  height: 22px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  position: relative;
  background: #fff;
  display: block;
  /* baseline boşluğu olmasın */
}

.email-notification input[type="checkbox"]:checked+.checkmark {
  background: var(--gold);
  border-color: var(--gold);
}

.email-notification input[type="checkbox"]:checked+.checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 7px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* 3) Rozet/etiketlerin kesin hizası – metin taşması ve ikon baseline bitti */
.status-badge,
.badge,
.tag,
.label-chip,
.qa-verified,
.qa-store-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 28px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.status-badge svg,
.badge svg,
.tag svg,
.qa-verified svg,
.qa-store-badge svg,
.status-badge img,
.badge img,
.tag img,
.qa-verified img,
.qa-store-badge img {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 auto !important;
  vertical-align: middle !important;
}

/* Doğrulanmış alışveriş rozetindeki emoji ikonların hizalaması */
.qa-verified span:first-child {
  font-size: 14px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* Mağaza rozetindeki SVG ikonların hizalaması */
.qa-store-badge svg {
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 4) Küçük butonlar ve ikon butonları için net hit-area */
.btn-sm,
.icon-btn,
.filter-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  min-width: 36px !important;
  line-height: 1 !important;
}

/* 5) Arama kutusu çakışmasını önle – ikinci tanım baskın olsun istiyorsan bunu bırak,
   ilk .search tanımını kaldır ya da scoping ekle (örn: .site-header .search) */
.site-header .search {
  /* scoping */
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid #ece7df;
  border-radius: 999px;
  padding: 2px;
  height: 44px;
  min-width: 340px;
  max-width: 420px;
  box-shadow: 0 4px 18px rgba(32, 24, 12, .06), inset 0 1px 0 rgba(255, 255, 255, .65);
  overflow: hidden;
}

.site-header .search input {
  line-height: 1;
}

/* 6) Aynı isimli animasyon çakışmasını önle */
@keyframes shimmer-toast {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.toast::before {
  animation: shimmer-toast 2s infinite;
}

/* Helpers */
.placeholder {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, .7) 20%, transparent 40%);
  transform: translateX(-100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.lift {
  will-change: transform;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal .8s ease forwards;
}

.reveal.delay {
  animation-delay: .15s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  /* Eski hero grid/overlay kuralları kaldırıldı – yeni hero slider ile çakışıyordu (ghosting) */

  .best-sellers-row {
    gap: 16px;
  }

  .product-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .category-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .designs-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-media {
    justify-content: flex-start;
  }
}

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

  .feature-card {
    grid-template-columns: 1fr;
  }

  .search {
    min-width: 240px;
    max-width: 300px;
    height: 44px;
  }

  .search input {
    min-width: 120px;
  }

  .header-actions {
    gap: 20px;
  }

  .main-nav {
    display: none;
  }

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

  .image-placeholder {
    height: 300px;
  }

  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .reviews-actions {
    align-self: flex-end;
  }
}

@media (max-width: 640px) {
  .header-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding: 6px 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .brand,
  .logo,
  .brand-text,
  .brand-name {
    width: 100% !important;
    justify-content: center !important;
    margin: 0 auto !important;
    text-align: center !important;
  }

  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .search {
    min-width: unset;
    max-width: 100%;
    width: 100%;
    height: 38px;
    box-sizing: border-box;
  }

  .header-icons,
  .header-icons .icon-btn {
    width: 100%;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
  }

  .btn-login,
  .btn-admin {
    display: block;
    width: 100%;
    margin: 3px auto 0 auto;
    box-sizing: border-box;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 6px !important;
    padding: 6px 0 !important;
  }

  .logo {
    height: 46px;
    width: 46px;
  }

  .brand-name {
    font-size: 15px !important;
  }

  .search {
    height: 36px;
    font-size: 13px;
  }

  .header-icons {
    gap: 8px;
  }

  .icon-btn {
    padding: 6px;
  }

  .btn-login {
    padding: 6px 12px;
    font-size: 13px;
  }

  .product-header h1 {
    font-size: 24px;
  }

  .current-price {
    font-size: 24px;
  }

  .color-options {
    flex-wrap: wrap;
  }

  .material-options {
    flex-direction: column;
  }

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

  .hp-marquee-inner {
    padding-inline: 16px;
  }

  .best-sellers-shell {
    gap: 8px;
  }

  .carousel-arrow {
    display: none;
  }

  .product-card {
    flex: 0 0 80%;
    max-width: 80%;
  }

  .category-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .designs-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .reviews-section {
    padding: 20px;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .review-meta {
    align-self: flex-end;
  }

  .cart-content {
    width: 100%;
  }

  .favorite-btn {
    width: 36px;
    height: 36px;
    top: 12px;
    right: 12px;
  }

  .container {
    padding: 0 15px;
  }

  .product-detail {
    padding: 20px 0 30px;
  }

  .product-actions .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .preview-text {
    font-size: 16px;
  }

  .personalization-preview {
    min-height: 35px;
    padding: 10px;
  }

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

  .collection-nav {
    padding: 32px 0;
  }

  .collection-nav-title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .collection-name {
    font-size: 14px;
  }

  /* Eski hero kuralları kaldırıldı – yeni hero slider ile çakışıyordu (ghosting) */

  .category-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .designs-grid-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-media-frame {
    max-width: 100%;
  }
}

/* Admin Panel Button */
.btn-admin {
  background: linear-gradient(135deg, #f5d3ff 0%, #f8b9c3 100%);
  color: #4b2b33;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 3px 12px rgba(240, 147, 251, 0.25);
  margin-left: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-admin:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(240, 147, 251, 0.35);
  color: #3b1a22;
  text-decoration: none;
}

@media (max-width: 768px) {
  .btn-admin {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
  }
}

/* Homepage: floating header + full-bleed hero (tek blok) */
.home-page .site-header {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 20px;
  background: transparent;
  box-shadow: none;
}

.home-page .site-header .header-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 10px 16px 10px 18px;
  min-height: 64px;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.92);
  border: 1px solid rgba(180, 150, 100, 0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-page .site-header .header-actions {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.home-page .site-header .search {
  min-width: 220px;
  max-width: 300px;
  flex-shrink: 1;
}

.home-page .hero {
  width: 100%;
  padding: 0;
}

.home-page .hero-slider-inner {
  width: 100%;
  min-height: 82vh;
  max-height: 88vh;
  border-radius: 0;
  background: #1a1210;
}

.home-page .featured {
  margin-top: 0;
  padding-top: 48px;
}

@media (max-width: 900px) {
  .home-page .site-header .header-inner {
    width: calc(100% - 24px);
    padding: 10px 16px;
    min-height: 56px;
  }

  .home-page .hero-slider-inner {
    min-height: 65vh;
  }

  .hero-copy,
  .hero-copy--right,
  .hero-copy--left,
  .hero-copy--overlay {
    padding: 36px 24px 80px 24px;
    max-width: 100%;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
  }

  .site-header .search {
    order: 3;
    flex: 1 1 100%;
    min-width: 0;
    max-width: none;
  }

  .main-nav {
    display: none;
  }

  .btn-admin {
    display: none;
  }

  .hero {
    padding: 8px 12px 0;
    margin-top: -28px;
  }

  .hero-slider-inner {
    width: calc(100% - 24px);
    min-height: 580px;
    border-radius: 32px;
  }

  .hero-copy,
  .hero-copy--right,
  .hero-copy--left,
  .hero-copy--overlay {
    width: auto;
    padding: 132px 20px 92px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(34px, 9vw, 58px);
  }

  .hero-controls {
    inset: auto 18px 20px 18px;
  }

  .hero-nav {
    width: 48px;
    height: 48px;
  }

  .product-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }

  .category-showcase-grid,
  .designs-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 8px;
    padding: 0 10px;
  }

  .site-header .header-inner {
    width: calc(100% - 20px);
    border-radius: 24px;
    padding: 12px 14px;
  }

  .brand {
    gap: 12px;
  }

  .logo {
    width: 58px;
    height: 58px;
  }

  .brand-name {
    font-size: 20px !important;
  }

  .brand-tagline {
    font-size: 12px;
  }

  .site-header .search {
    height: 46px;
  }

  .header-icons {
    gap: 8px;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
  }

  .btn-login {
    padding: 11px 18px;
  }

  .hero {
    padding: 0;
  }

  .hero-slider-inner {
    min-height: 58vh;
  }

  .hero-copy,
  .hero-copy--right,
  .hero-copy--left,
  .hero-copy--overlay {
    padding: 32px 18px 72px;
  }

  .hero-text,
  .hero-copy--overlay .hero-text {
    font-size: 16px;
  }

  .hero-controls {
    inset: auto 14px 14px 14px;
  }

  .hero-nav {
    display: none;
  }

  .product-card {
    flex: 0 0 82%;
    max-width: 82%;
  }

  .section-header h2 {
    font-size: 40px;
  }

  .hp-marquee {
    padding: 0 10px;
  }

  .hp-marquee-inner {
    padding: 12px 16px;
  }
}

@media (max-width: 700px) {
  .site-header {
    background: linear-gradient(120deg, #f9f6f2 80%, #ede5d6 100%);
    border-bottom: none;
    box-shadow: 0 4px 14px 0 #f6d6891c;
    min-height: 72px;
    padding-bottom: 0;
  }

  .header-inner {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 4px 0 2px 0 !important;
    align-items: center !important;
    min-height: unset !important;
    width: 100% !important;
    margin: 0 auto;
  }

  .brand {
    width: 100%;
    max-width: 190px;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo {
    margin: 0 auto 3px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 47% 47% 39% 55% / 50% 50% 54% 54%;
    border: 3px solid #e3c08b;
    background: #fffdfa;
    box-shadow: 0 3px 11px #dab97c29;
    width: 110px;
    height: 70px;
    padding: 0;
    overflow: hidden;
  }

  .logo img {
    max-width: 90px;
    max-height: 65px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }

  .brand-text {
    text-align: center;
    margin: 0 auto;
    margin-bottom: 0;
    padding: 0;
  }

  .brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.4px;
    font-size: 20px;
    color: #2e2320;
    line-height: 1.1;
    margin-top: 4px;
    margin-bottom: 0;
  }

  .brand-tagline {
    font-size: 12.5px;
    color: #b69a76;
    line-height: 1.1;
    font-family: 'Inter', sans-serif;
    margin: 0 0 2px 0;
    font-weight: 500;
    text-align: center;
  }

  .brand-name::after {
    content: '';
    display: block;
    margin: 8px auto 0 auto;
    width: 35px;
    height: 2.5px;
    border-radius: 2.5px;
    background: linear-gradient(90deg, #e2b975 5%, #fef6e3 60%, #e2b975 95%);
    opacity: .50;
  }

  .search,
  .header-actions,
  .header-icons {
    margin-bottom: 0;
  }

  .search {
    margin-top: 4px;
  }
}

/* Final homepage/header overrides */
.site-header {
  background: transparent !important;
  box-shadow: none !important;
  min-height: auto !important;
}

@media (max-width: 700px) {
  .site-header {
    top: 8px !important;
    padding: 0 10px !important;
  }

  .site-header .header-inner {
    width: calc(100% - 20px) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    min-height: 0 !important;
    border-radius: 24px !important;
  }

  .brand {
    width: auto !important;
    max-width: none !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
  }

  .logo {
    width: 58px !important;
    height: 58px !important;
    margin: 0 !important;
    border-radius: 50% !important;
  }

  .logo img {
    max-width: none !important;
    max-height: none !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .brand-text,
  .brand-name,
  .brand-tagline {
    width: auto !important;
    text-align: left !important;
    margin: 0 !important;
  }

  .brand-name::after {
    display: none !important;
  }

  .header-actions {
    width: 100% !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
  }

  .site-header .search {
    order: 3;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-top: 0 !important;
  }

  .header-icons {
    width: auto !important;
    justify-content: flex-end !important;
  }

  .btn-login,
  .btn-admin {
    width: auto !important;
    margin: 0 !important;
  }

  .btn-admin {
    display: none !important;
  }

  .hero {
    padding: 8px 10px 0 !important;
    margin-top: -18px !important;
  }

  .hero-slider-inner {
    width: calc(100% - 20px) !important;
    min-height: 500px !important;
    border-radius: 26px !important;
  }

  .hero-copy,
  .hero-copy--right,
  .hero-copy--left,
  .hero-copy--overlay {
    width: auto !important;
    padding: 110px 18px 88px !important;
  }
}

/* 2026 home refresh: Koçak-style rhythm, KendineModa identity */
.home-page .site-header {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 120 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #111 !important;
}

.header-service-bar {
  width: 100%;
  background: #111;
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-service-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  white-space: nowrap;
  overflow: hidden;
}

.header-service-inner span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-service-inner span + span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8a45d;
  box-shadow: 0 0 0 4px rgba(200, 164, 93, 0.12);
}

.home-page .site-header .header-inner {
  width: min(1240px, calc(100% - 32px)) !important;
  max-width: 1240px !important;
  margin: 16px auto 0 !important;
  padding: 14px 18px !important;
  min-height: 76px !important;
  border-radius: 4px !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 22px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(24, 24, 24, 0.08) !important;
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.12) !important;
  backdrop-filter: blur(14px);
}

.home-page .brand {
  gap: 12px !important;
  min-width: 190px;
}

.home-page .logo {
  width: 54px !important;
  height: 54px !important;
  border-width: 2px !important;
  box-shadow: none !important;
}

.home-page .brand-name {
  font-size: 25px !important;
  letter-spacing: 0 !important;
  color: #121212 !important;
}

.home-page .brand-tagline {
  font-size: 12px !important;
  color: #9b7b46 !important;
}

.home-page .main-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 22px !important;
  min-width: 0 !important;
  height: auto !important;
}

.home-page .main-nav a {
  margin: 0 !important;
  padding: 8px 0 !important;
  color: #242424 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap !important;
}

.home-page .main-nav a::after {
  bottom: 0 !important;
  height: 2px !important;
  background: #c8a45d !important;
}

.home-page .site-header .header-actions {
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  min-width: 0 !important;
}

.home-page .site-header .search {
  width: 220px !important;
  min-width: 180px !important;
  max-width: 240px !important;
  height: 42px !important;
  margin: 0 !important;
  border-radius: 3px !important;
  box-shadow: none !important;
  border-color: #e4dfd7 !important;
}

.home-page .site-header .search input {
  font-size: 13px !important;
  border-radius: 3px 0 0 3px !important;
}

.home-page .site-header .btn-search {
  border-radius: 0 3px 3px 0 !important;
  background: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.home-page .header-icons {
  gap: 8px !important;
  height: auto !important;
}

.home-page .icon-btn {
  width: 42px !important;
  height: 42px !important;
  border: 1px solid #e9e4dc !important;
  border-radius: 3px !important;
  background: #fff !important;
}

.home-page .btn-login {
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 3px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f7f1e8 !important;
  color: #1a1a1a !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.home-page .btn-admin {
  display: none !important;
}

.home-page .hero {
  padding: 0 !important;
  margin: 0 !important;
  background: #f7f1ea !important;
}

.home-page .hero-slider-inner {
  width: 100% !important;
  min-height: 720px !important;
  max-height: none !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 78% 42%, rgba(216, 190, 142, 0.22), transparent 34%),
    linear-gradient(110deg, #fbf7ef 0%, #f4ede2 52%, #fffaf3 100%) !important;
}

.home-page .hero-media-visual {
  background:
    radial-gradient(circle at 72% 45%, rgba(201, 169, 97, 0.16), transparent 34%),
    transparent !important;
}

.home-page .hero-media-visual img {
  object-fit: contain !important;
  object-position: center bottom !important;
  filter: saturate(1.03) contrast(1.02);
}

.home-page .hero-slide::after {
  background:
    linear-gradient(90deg, rgba(251, 247, 239, 0.98) 0%, rgba(251, 247, 239, 0.82) 38%, rgba(251, 247, 239, 0.12) 70%, rgba(251, 247, 239, 0.02) 100%) !important;
}

.home-page .hero-copy,
.home-page .hero-copy--right,
.home-page .hero-copy--left,
.home-page .hero-copy--overlay {
  left: max(28px, calc((100vw - 1240px) / 2 + 28px)) !important;
  right: auto !important;
  top: 0 !important;
  bottom: auto !important;
  width: min(540px, calc(100% - 56px)) !important;
  max-width: 540px !important;
  min-height: 720px !important;
  padding: 220px 0 80px !important;
  color: #151515 !important;
  justify-content: center !important;
}

.home-page .hero-kicker {
  color: #9a7840 !important;
  letter-spacing: 0.18em !important;
}

.home-page .hero-copy h1,
.home-page .hero-copy h2 {
  color: #151515 !important;
  font-size: clamp(42px, 5.2vw, 76px) !important;
  line-height: 0.98 !important;
  text-shadow: none !important;
}

.home-page .hero-text {
  max-width: 460px !important;
  color: #4d463e !important;
  font-size: 16px !important;
}

.home-page .hero-cta .btn-primary {
  border-radius: 3px !important;
  background: #111 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.home-page .hero-cta .btn-ghost {
  border-radius: 3px !important;
  border-color: #111 !important;
  background: transparent !important;
  color: #111 !important;
}

.home-page .hero-dots {
  background: rgba(17, 17, 17, 0.88) !important;
  border-radius: 3px !important;
}

.home-page .hero-dot {
  background: rgba(255, 255, 255, 0.42) !important;
}

.home-page .hero-dot.is-active {
  background: #fff !important;
}

.home-page .hp-marquee {
  background: #111 !important;
}

.home-page .hp-marquee-inner {
  min-height: 50px !important;
}

.home-page .hp-marquee-track {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 700 !important;
}

.home-page .hp-marquee-track span::before {
  color: #c8a45d !important;
}

.home-page .featured {
  padding-top: 64px !important;
}

.home-page .section-header {
  text-align: left;
}

.home-page .section-header h2 {
  font-size: clamp(32px, 4vw, 52px);
}

@media (max-width: 1100px) {
  .home-page .site-header .header-inner {
    grid-template-columns: auto 1fr !important;
  }

  .home-page .main-nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    padding: 4px 0 0 !important;
    scrollbar-width: none;
  }

  .home-page .main-nav::-webkit-scrollbar {
    display: none;
  }

  .home-page .site-header .header-actions {
    grid-column: 2 !important;
  }
}

@media (max-width: 760px) {
  .header-service-bar {
    display: none;
  }

  .home-page .site-header {
    top: 0 !important;
  }

  .home-page .site-header .header-inner {
    width: calc(100% - 20px) !important;
    margin-top: 10px !important;
    padding: 12px !important;
    grid-template-columns: 1fr auto !important;
    gap: 10px !important;
    border-radius: 4px !important;
  }

  .home-page .brand {
    min-width: 0 !important;
  }

  .home-page .logo {
    width: 48px !important;
    height: 48px !important;
  }

  .home-page .brand-name {
    font-size: 20px !important;
  }

  .home-page .brand-tagline {
    font-size: 11px !important;
  }

  .home-page .site-header .header-actions {
    grid-column: 2 !important;
    width: auto !important;
    gap: 8px !important;
  }

  .home-page .site-header .search {
    grid-column: 1 / -1 !important;
    order: 3 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .home-page .header-icons {
    gap: 6px !important;
  }

  .home-page .icon-btn,
  .home-page .btn-login {
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
  }

  .home-page .btn-login {
    width: auto !important;
    padding: 0 11px !important;
    font-size: 12px !important;
  }

  .home-page .main-nav {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    gap: 18px !important;
    padding-top: 2px !important;
  }

  .home-page .main-nav a {
    font-size: 11px !important;
  }

  .home-page .hero-slider-inner {
    min-height: 620px !important;
  }

  .home-page .hero-media-visual img {
    object-fit: contain !important;
    object-position: right bottom !important;
    opacity: 0.42;
  }

  .home-page .hero-media {
    left: 50% !important;
  }

  .home-page .hero-slide::after {
    background:
      linear-gradient(180deg, rgba(251, 247, 239, 0.98) 0%, rgba(251, 247, 239, 0.9) 48%, rgba(251, 247, 239, 0.28) 100%) !important;
  }

  .home-page .hero-copy,
  .home-page .hero-copy--right,
  .home-page .hero-copy--left,
  .home-page .hero-copy--overlay {
    left: 20px !important;
    width: calc(100% - 40px) !important;
    min-height: 620px !important;
    padding: 220px 0 72px !important;
    justify-content: flex-start !important;
  }

  .home-page .hero-copy h1,
  .home-page .hero-copy h2 {
    font-size: clamp(38px, 11vw, 58px) !important;
  }

  .home-page .hero-text {
    font-size: 15px !important;
  }

  .home-page .hero-cta {
    gap: 8px !important;
  }

  .home-page .hero-controls {
    right: 16px !important;
    bottom: 18px !important;
  }
}

@media (max-width: 430px) {
  .home-page .brand-text {
    display: flex !important;
  }

  .home-page .hero-slider-inner {
    min-height: 590px !important;
  }

  .home-page .hero-copy,
  .home-page .hero-copy--right,
  .home-page .hero-copy--left,
  .home-page .hero-copy--overlay {
    min-height: 590px !important;
    padding-top: 210px !important;
  }
}

@media (max-width: 760px) {
  .home-page .logo {
    display: none !important;
  }

  .home-page .brand {
    min-width: 132px !important;
  }
}

/* Continuous home marquee: keep the duplicate text tracks spaced, not stacked. */
.home-page .hp-marquee-inner {
  max-width: none !important;
  overflow: hidden !important;
}

.home-page .hp-marquee-track {
  flex: 0 0 auto !important;
  min-width: max-content !important;
  gap: 72px !important;
  padding-right: 72px !important;
  animation: km-home-marquee 34s linear infinite !important;
}

.home-page .hp-marquee-track--clone {
  animation-delay: 0s !important;
}

@keyframes km-home-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Softer homepage advantage band with subtle heart markers. */
.home-page .hp-marquee {
  background: linear-gradient(90deg, #f3e4da 0%, #ecd7cb 48%, #f6e9df 100%) !important;
  border-top: 1px solid rgba(151, 109, 63, 0.14) !important;
  border-bottom: 1px solid rgba(151, 109, 63, 0.16) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62) !important;
}

.home-page .hp-marquee-inner {
  min-height: 42px !important;
  padding: 9px 0 !important;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.home-page .hp-marquee-track {
  gap: 64px !important;
  padding-right: 64px !important;
  color: #342521 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: none !important;
  animation-duration: 46s !important;
}

.home-page .hp-marquee-track span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 11px !important;
}

.home-page .hp-marquee-track span::before {
  content: "♥" !important;
  margin: 0 !important;
  color: #bf4b48 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  opacity: 0.95 !important;
  transform: translateY(-1px);
}

/* Wide-screen polish: cleaner header, no top service strip, product-safe hero art. */
.home-page .header-service-bar {
  display: none !important;
}

.home-page .site-header {
  top: 0 !important;
}

.home-page .site-header .header-inner {
  width: min(1720px, calc(100% - 64px)) !important;
  max-width: 1720px !important;
  margin-top: 22px !important;
  min-height: 88px !important;
  padding: 16px 24px !important;
  grid-template-columns: minmax(250px, 330px) minmax(420px, 1fr) auto !important;
  grid-template-rows: auto !important;
  gap: 26px !important;
}

.home-page .brand {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.home-page .main-nav {
  grid-column: 2 !important;
  grid-row: 1 !important;
  justify-content: center !important;
  gap: clamp(18px, 1.8vw, 34px) !important;
  overflow: visible !important;
  padding: 0 !important;
}

.home-page .site-header .header-actions {
  grid-column: 3 !important;
  grid-row: 1 !important;
  justify-self: end !important;
  align-self: center !important;
  width: auto !important;
  flex-wrap: nowrap !important;
}

.home-page .site-header .search {
  width: clamp(190px, 15vw, 300px) !important;
  min-width: 0 !important;
}

.home-page .hero-slider-inner {
  min-height: clamp(680px, 78vh, 860px) !important;
}

.home-page .hero-media {
  inset: 0 max(32px, calc((100vw - 1720px) / 2 + 34px)) 0 44% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  pointer-events: none !important;
}

.home-page .hero-media-visual {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 132px 0 28px !important;
  background: transparent !important;
}

.home-page .hero-media-visual img {
  width: auto !important;
  height: auto !important;
  max-width: min(43vw, 680px) !important;
  max-height: calc(100% - 32px) !important;
  object-fit: contain !important;
  object-position: center bottom !important;
}

.home-page .hero-copy,
.home-page .hero-copy--right,
.home-page .hero-copy--left,
.home-page .hero-copy--overlay {
  min-height: clamp(680px, 78vh, 860px) !important;
  padding-top: 166px !important;
  padding-bottom: 84px !important;
  width: min(620px, 42vw) !important;
  max-width: 620px !important;
}

.home-page .hero-copy h1,
.home-page .hero-copy h2 {
  font-size: clamp(54px, 5.1vw, 104px) !important;
  max-width: 620px !important;
}

@media (max-width: 1320px) {
  .home-page .site-header .header-inner {
    width: min(1180px, calc(100% - 40px)) !important;
    grid-template-columns: minmax(220px, 280px) minmax(360px, 1fr) auto !important;
    gap: 18px !important;
  }

  .home-page .main-nav {
    gap: 18px !important;
  }

  .home-page .main-nav a {
    font-size: 12px !important;
  }

  .home-page .site-header .search {
    width: 190px !important;
  }
}

@media (max-width: 1100px) {
  .home-page .site-header .header-inner {
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
  }

  .home-page .main-nav {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
  }

  .home-page .site-header .header-actions {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
}

@media (max-width: 760px) {
  .home-page .site-header .header-inner {
    width: calc(100% - 20px) !important;
    margin-top: 10px !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto auto !important;
  }

  .home-page .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    align-self: center !important;
  }

  .home-page .brand-text {
    display: flex !important;
  }

  .home-page .site-header .header-actions {
    display: contents !important;
  }

  .home-page .header-icons {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-content: flex-end !important;
    align-self: center !important;
    gap: 6px !important;
  }

  .home-page .site-header .search {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    height: 40px !important;
  }

  .home-page .main-nav {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100% !important;
  }

  .home-page .hero-media {
    inset: 0 0 0 42% !important;
  }

  .home-page .hero-media-visual {
    padding: 180px 8px 20px 0 !important;
  }

  .home-page .hero-media-visual img {
    max-width: 66vw !important;
    max-height: 74% !important;
    opacity: 0.42 !important;
  }

  .home-page .hero-copy,
  .home-page .hero-copy--right,
  .home-page .hero-copy--left,
  .home-page .hero-copy--overlay {
    width: calc(100% - 40px) !important;
    padding-top: 210px !important;
  }
}

/* Koçak-inspired best sellers refresh */
.home-page .best-sellers {
  background: #f7f7f6 !important;
  padding: clamp(64px, 7vw, 112px) 0 clamp(56px, 6vw, 96px) !important;
  overflow: hidden;
}

.home-page .best-sellers .container {
  width: min(1960px, calc(100% - 72px)) !important;
  max-width: 1960px !important;
}

.home-page .best-sellers-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
}

.home-page .best-sellers .section-header {
  gap: 12px !important;
  margin-bottom: 0 !important;
}

.home-page .section-kicker {
  margin: 0;
  color: #111;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(12px, 0.92vw, 17px);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.home-page .best-sellers .section-header h2 {
  margin: 0;
  color: #050505;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(42px, 4.3vw, 78px) !important;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-page .best-seller-tabs {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.3vw, 44px);
  margin: clamp(34px, 3.5vw, 58px) 0 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-page .best-seller-tabs::-webkit-scrollbar {
  display: none;
}

.home-page .best-seller-tab {
  flex: 0 0 auto;
  color: #8e8e8e;
  font-size: clamp(17px, 1.18vw, 23px);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 0.18s ease;
}

.home-page .best-seller-tab.is-active,
.home-page .best-seller-tab:hover {
  color: #050505;
}

.home-page .best-sellers-shell {
  display: block !important;
  padding: 0 !important;
  position: relative;
}

.home-page .best-sellers-shell > .carousel-arrow--prev {
  display: none !important;
}

.home-page .best-sellers-viewport {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.home-page .best-sellers-viewport::-webkit-scrollbar {
  display: none;
}

.home-page .best-sellers-row {
  display: flex !important;
  gap: clamp(22px, 2.1vw, 38px) !important;
  width: max-content;
  min-width: 100%;
}

.home-page .best-sellers.is-empty .carousel-arrow {
  display: none !important;
}

.home-page .best-sellers.is-empty .best-sellers-row {
  width: 100%;
}

.home-page .km-home-products-state {
  width: 100%;
  min-height: clamp(240px, 24vw, 360px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: clamp(32px, 5vw, 72px);
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  color: #111;
  text-align: center;
}

.home-page .km-home-products-state span {
  color: #9b7430;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.home-page .km-home-products-state strong {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 1.05;
}

.home-page .km-home-products-state p {
  max-width: 520px;
  color: #666;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.7;
  margin: 0;
}

.home-page .best-sellers .km-bestseller-card {
  flex: 0 0 clamp(330px, 30.8vw, 610px) !important;
  max-width: clamp(330px, 30.8vw, 610px) !important;
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  scroll-snap-align: start;
}

.home-page .best-sellers .km-bestseller-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.home-page .best-sellers .product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: hidden;
}

.home-page .best-sellers .product-card-media-link {
  position: absolute;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.home-page .best-sellers .product-card-media img {
  width: 100%;
  height: 100%;
  padding: clamp(24px, 4vw, 72px);
  object-fit: contain;
  object-position: center;
  transition: transform 0.32s ease;
}

.home-page .best-sellers .km-bestseller-card:hover .product-card-media img {
  transform: scale(1.035);
}

.home-page .km-card-fav {
  position: absolute;
  z-index: 2;
  top: clamp(18px, 1.5vw, 30px);
  right: clamp(18px, 1.5vw, 30px);
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #050505;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-page .km-card-fav svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .km-card-fav:hover {
  color: #b08a3c;
}

.home-page .km-card-ribbon {
  position: absolute;
  z-index: 2;
  top: clamp(20px, 1.6vw, 34px);
  left: clamp(20px, 1.6vw, 34px);
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: clamp(11px, 0.78vw, 14px);
  font-weight: 700;
  line-height: 1;
  padding: 8px 10px;
  text-transform: uppercase;
}

.home-page .best-sellers .product-card-body {
  padding: 20px 0 0 !important;
  gap: 8px !important;
  background: transparent;
}

.home-page .best-sellers .product-card-title {
  color: #050505;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-size: clamp(17px, 1.12vw, 22px) !important;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.home-page .best-sellers .product-card-meta {
  color: #7e7e7e;
  font-size: clamp(13px, 0.88vw, 15px);
  line-height: 1.45;
}

.home-page .best-sellers .product-card-bottom {
  align-items: center !important;
  margin-top: 6px !important;
}

.home-page .best-sellers .product-card-price {
  color: #050505 !important;
  font-size: clamp(15px, 0.98vw, 18px) !important;
  font-weight: 700 !important;
}

.home-page .best-sellers .product-card-link {
  color: #8f6a24 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  text-transform: uppercase;
}

.home-page .best-sellers .product-card-link:hover {
  color: #050505 !important;
}

.home-page .best-sellers-heading > .carousel-arrow {
  position: static !important;
  transform: none !important;
  display: inline-flex !important;
  width: 62px !important;
  height: 62px !important;
  border-radius: 0 !important;
  border: 1px solid #bfbfbf !important;
  background: transparent !important;
  box-shadow: none !important;
  margin-top: 4px;
}

.home-page .best-sellers-heading > .carousel-arrow span {
  width: 15px !important;
  height: 15px !important;
  border-top-color: #050505 !important;
  border-right-color: #050505 !important;
  border-width: 3px !important;
}

.home-page .best-sellers-heading > .carousel-arrow:hover {
  background: #050505 !important;
  border-color: #050505 !important;
}

.home-page .best-sellers-heading > .carousel-arrow:hover span {
  border-top-color: #fff !important;
  border-right-color: #fff !important;
}

@media (max-width: 900px) {
  .home-page .best-sellers {
    padding: 52px 0 64px !important;
  }

  .home-page .best-sellers .container {
    width: calc(100% - 32px) !important;
  }

  .home-page .best-sellers-heading {
    gap: 18px;
  }

  .home-page .best-sellers-heading > .carousel-arrow {
    width: 50px !important;
    height: 50px !important;
  }

  .home-page .best-seller-tabs {
    gap: 24px;
    margin: 28px 0 22px;
    padding-bottom: 2px;
  }

  .home-page .best-sellers .km-bestseller-card {
    flex-basis: min(82vw, 420px) !important;
    max-width: min(82vw, 420px) !important;
  }
}

@media (max-width: 560px) {
  .home-page .section-kicker {
    max-width: 270px;
    font-size: 11px;
    line-height: 1.6;
  }

  .home-page .best-sellers .section-header h2 {
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: 1.02;
  }

  .home-page .best-sellers-heading > .carousel-arrow {
    width: 44px !important;
    height: 44px !important;
  }

  .home-page .best-seller-tab {
    font-size: 16px;
  }

  .home-page .best-sellers-row {
    gap: 18px !important;
  }

  .home-page .best-sellers .km-bestseller-card {
    flex-basis: 82vw !important;
    max-width: 82vw !important;
  }

  .home-page .best-sellers .product-card-media img {
    padding: 28px;
  }

  .home-page .best-sellers .product-card-bottom {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 5px;
  }
}

/* Premium collection rails and 3D gold studio */
.home-page .category-showcase {
  background: #f7f7f6 !important;
  padding: 104px 0 92px !important;
}

.home-page .category-showcase .container,
.home-page .designs-grid .container,
.home-page .gold-studio .container {
  width: min(1960px, calc(100% - 72px)) !important;
  max-width: 1960px !important;
}

.home-page .km-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.home-page .km-section-heading .section-header {
  margin-bottom: 0 !important;
}

.home-page .km-section-heading h2 {
  margin: 0;
  color: #050505;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(44px, 3.8vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-page .km-heading-link {
  flex: 0 0 auto;
  color: #050505;
  border: 1px solid #d4cec1;
  min-height: 46px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.52);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.home-page .km-heading-link:hover {
  background: #050505;
  border-color: #050505;
  color: #fff;
}

.home-page .km-category-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-page .km-category-arrow {
  width: 46px;
  height: 46px;
  border-radius: 0;
  border: 1px solid #d4cec1;
  background: rgba(255, 255, 255, 0.52);
  color: #050505;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.home-page .km-category-arrow span {
  display: block;
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.home-page .km-category-arrow--prev span {
  transform: rotate(-135deg);
}

.home-page .km-category-arrow--next span {
  transform: rotate(45deg);
}

.home-page .km-category-arrow:hover {
  background: #050505;
  border-color: #050505;
  color: #fff;
}

.home-page .km-category-rail {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 26px;
}

.home-page .km-category-card {
  grid-column: span 4;
  min-height: 520px;
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  color: #050505;
  text-decoration: none;
}

.home-page .km-category-card--large {
  grid-column: span 6;
}

.home-page .km-category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 58px 44px 126px;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform 0.32s ease;
}

.home-page .km-category-card:hover img {
  transform: scale(1.045);
}

.home-page .km-category-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 98px 34px 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 46%);
}

.home-page .km-category-copy span,
.home-page .km-signature-copy span {
  display: block;
  margin-bottom: 10px;
  color: #96712d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-page .km-category-copy h3,
.home-page .km-signature-copy h3 {
  margin: 0;
  max-width: 440px;
  color: inherit;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
}

.home-page .km-category-copy p {
  margin: 12px 0 0;
  max-width: 390px;
  color: #777;
  font-size: 14px;
  line-height: 1.55;
}

@media (min-width: 761px) {
  .home-page .km-category-rail {
    display: flex !important;
    gap: clamp(22px, 2.1vw, 38px) !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-page .km-category-rail::-webkit-scrollbar {
    display: none;
  }

  .home-page .km-category-card,
  .home-page .km-category-card--large {
    flex: 0 0 clamp(330px, 30.8vw, 610px) !important;
    max-width: clamp(330px, 30.8vw, 610px) !important;
    min-height: 560px;
    scroll-snap-align: start;
  }

  .home-page .km-category-card img {
    padding: clamp(28px, 4vw, 72px) clamp(24px, 3.4vw, 58px) 138px;
  }

  .home-page .km-category-copy {
    padding: 96px 34px 30px;
  }
}

.home-page .designs-grid {
  background: linear-gradient(180deg, #f8f8f5 0%, #eceee9 100%) !important;
  color: #111;
  padding: 104px 0 !important;
}

.home-page .km-designs-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 44px;
  align-items: stretch;
}

.home-page .km-designs-intro {
  align-self: center;
  max-width: 560px;
}

.home-page .km-designs-intro .section-kicker {
  color: #9b7334;
}

.home-page .km-designs-intro h2 {
  margin: 14px 0 18px;
  color: #111;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(44px, 4vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-page .gold-studio .section-kicker {
  color: #d5ad57;
}

.home-page .km-designs-intro p {
  margin: 0 0 26px;
  color: #5f625f;
  font-size: 16px;
  line-height: 1.7;
}

.home-page .km-designs-intro .btn-primary {
  border-radius: 0;
  background: #111;
  color: #fff;
  box-shadow: none;
}

.home-page .km-designs-intro .btn-primary:hover {
  background: #9b7334;
  box-shadow: 0 14px 30px rgba(116, 82, 31, 0.22);
}

.home-page .km-signature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 22px;
}

.home-page .km-signature-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  color: #111;
  text-decoration: none;
  border: 1px solid rgba(19, 19, 19, 0.06);
  box-shadow: 0 24px 60px rgba(30, 34, 30, 0.08);
}

.home-page .km-signature-card--tall {
  grid-row: span 2;
  grid-column: span 2;
}

.home-page .km-signature-card--wide {
  grid-column: span 2;
}

.home-page .km-signature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 34px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.32s ease;
}

.home-page .km-signature-card:not(.km-signature-card--tall):not(.km-signature-card--wide) img {
  padding: 16px 18px 88px;
  transform: scale(1.16);
  object-position: center 24%;
}

.home-page .km-signature-card:hover img {
  transform: scale(1.045) rotate(0.8deg);
}

.home-page .km-signature-card:not(.km-signature-card--tall):not(.km-signature-card--wide):hover img {
  transform: scale(1.21) rotate(0.6deg);
}

.home-page .km-signature-card::after {
  content: "";
  position: absolute;
  inset: 44% 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.98));
}

.home-page .km-signature-copy {
  position: absolute;
  z-index: 1;
  left: 26px;
  right: 26px;
  bottom: 24px;
}

.home-page .km-signature-copy span {
  color: #9b7334;
}

.home-page .km-signature-copy h3 {
  color: #111;
  font-size: 24px;
}

.home-page .km-signature-desc {
  display: block;
  margin: 8px 0 0;
  color: #56514a;
  font-size: 13px;
  line-height: 1.45;
}

.home-page .km-signature-card:not(.km-signature-card--tall):not(.km-signature-card--wide) .km-signature-copy {
  left: 20px;
  right: 20px;
  bottom: 22px;
}

.home-page .km-signature-card:not(.km-signature-card--tall):not(.km-signature-card--wide) .km-signature-copy span {
  margin-bottom: 7px;
  font-size: 10px;
}

.home-page .km-signature-card:not(.km-signature-card--tall):not(.km-signature-card--wide) .km-signature-copy h3 {
  font-size: 17px;
  line-height: 1.12;
}

.home-page .km-signature-card:not(.km-signature-card--tall):not(.km-signature-card--wide) .km-signature-desc {
  font-size: 11px;
  line-height: 1.35;
}

.home-page .atelier-film {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 22%, rgba(15, 79, 83, 0.08), transparent 32%),
    radial-gradient(circle at 88% 10%, rgba(216, 184, 112, 0.16), transparent 28%),
    linear-gradient(180deg, #fbfaf6 0%, #f3eee6 100%);
  color: #111;
  padding: 98px 0 108px !important;
}

.home-page .atelier-film .container {
  width: min(1960px, calc(100% - 72px)) !important;
  max-width: 1960px !important;
}

.home-page .atelier-film-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(34px, 4.8vw, 82px);
  align-items: center;
}

.home-page .atelier-film-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
  border: 1px solid rgba(38, 32, 22, 0.08);
  box-shadow: 0 34px 90px rgba(66, 56, 42, 0.14);
}

.home-page .atelier-film-media::before {
  content: "";
  position: absolute;
  inset: 26px;
  z-index: 2;
  border: 1px solid rgba(155, 113, 55, 0.12);
  pointer-events: none;
}

.home-page .atelier-film-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, rgba(15, 12, 8, 0.28) 100%),
    radial-gradient(circle at 50% 50%, transparent 44%, rgba(255, 255, 255, 0.36) 100%);
  pointer-events: none;
}

.home-page .atelier-slider-track,
.home-page .atelier-slide,
.home-page .atelier-film-video,
.home-page .atelier-film-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.home-page .atelier-slide {
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.home-page .atelier-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-page .atelier-film-video,
.home-page .atelier-film-poster {
  object-fit: cover;
}

.home-page .atelier-film-video:not([src]) {
  display: none;
}

.home-page .atelier-film-poster {
  object-position: center 48%;
  transform: scale(1.04);
  animation: atelierPosterDrift 14s ease-in-out infinite alternate;
}

.home-page .atelier-slider-dots {
  position: absolute;
  z-index: 4;
  left: 28px;
  bottom: 26px;
  display: flex;
  gap: 8px;
}

.home-page .atelier-slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.home-page .atelier-slider-dot.is-active {
  width: 28px;
  background: #fff;
}

.home-page .atelier-film-copy {
  max-width: 620px;
}

.home-page .atelier-film-copy .section-kicker {
  color: #9b7334;
}

.home-page .atelier-film-copy h2 {
  margin: 14px 0 18px;
  color: #111;
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 4vw, 68px);
  font-weight: 700;
  line-height: 1.02;
}

.home-page .atelier-film-copy p {
  margin: 0 0 28px;
  color: #68645d;
  font-size: 16px;
  line-height: 1.78;
}

.home-page .atelier-film-cta[hidden] {
  display: none;
}

@keyframes atelierPosterDrift {
  from {
    transform: scale(1.04) translate3d(-1.5%, -1%, 0);
  }

  to {
    transform: scale(1.11) translate3d(1.5%, 1%, 0);
  }
}

.home-page .gold-studio {
  position: relative;
  background: #070707;
  color: #fff;
  overflow: hidden;
  padding: 0 !important;
}

.home-page .gold-studio::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.2;
  pointer-events: none;
}

.home-page .gold-studio-inner {
  position: relative;
  min-height: max(920px, 100vh);
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 34px;
  align-items: center;
}

.home-page .gold-studio-copy {
  max-width: 560px;
  padding: 96px 0;
}

.home-page .gold-studio-copy h2 {
  margin: 16px 0 18px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 1.02;
}

.home-page .gold-studio-copy p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.home-page .gold-studio-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 30px;
}

.home-page .gold-studio-stats span {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-page .gold-studio-stats strong {
  display: block;
  color: #f0cf83;
  font-size: 25px;
  line-height: 1;
}

.home-page .gold-studio-stage {
  position: relative;
  min-height: max(920px, 100vh);
  isolation: isolate;
}

.home-page #goldStudioCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.home-page .gold-studio-controls {
  position: absolute;
  z-index: 2;
  top: 36px;
  right: 0;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 7, 7, 0.52);
  backdrop-filter: blur(16px);
}

.home-page .gold-studio-controls button {
  min-width: 82px;
  height: 44px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-page .gold-studio-controls button:last-child {
  border-right: 0;
}

.home-page .gold-studio-controls button.is-active {
  background: #f0cf83;
  color: #111;
}

.home-page .gold-studio-badges {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 108px;
  display: grid;
  gap: 10px;
}

.home-page .gold-studio-badges span {
  justify-self: end;
  border: 1px solid rgba(240, 207, 131, 0.36);
  background: rgba(7, 7, 7, 0.46);
  color: rgba(255, 255, 255, 0.84);
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

@media (max-width: 1180px) {
  .home-page .km-section-heading h2,
  .home-page .km-designs-intro h2 {
    font-size: 56px;
  }

  .home-page .km-category-card,
  .home-page .km-category-card--large {
    grid-column: span 6;
  }

  .home-page .km-designs-layout,
  .home-page .gold-studio-inner,
  .home-page .atelier-film-inner {
    grid-template-columns: 1fr;
  }

  .home-page .km-designs-intro {
    max-width: 760px;
  }

  .home-page .gold-studio-stage {
    min-height: 620px;
  }

  .home-page .atelier-film-media {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .home-page .category-showcase,
  .home-page .designs-grid,
  .home-page .atelier-film {
    padding: 64px 0 !important;
  }

  .home-page .category-showcase .container,
  .home-page .designs-grid .container,
  .home-page .gold-studio .container,
  .home-page .atelier-film .container {
    width: calc(100% - 32px) !important;
  }

  .home-page .km-section-heading {
    flex-direction: column;
    gap: 18px;
  }

  .home-page .km-section-heading h2,
  .home-page .km-designs-intro h2 {
    font-size: 42px;
    line-height: 1.02;
  }

  .home-page .km-heading-link {
    min-height: 46px;
    padding: 0 18px;
  }

  .home-page .km-category-actions {
    display: block;
  }

  .home-page .km-category-arrow {
    display: none;
  }

  .home-page .km-category-rail {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-page .km-category-rail::-webkit-scrollbar {
    display: none;
  }

  .home-page .km-category-card,
  .home-page .km-category-card--large {
    flex: 0 0 82vw;
    min-height: 470px;
    scroll-snap-align: start;
  }

  .home-page .km-category-card img {
    padding: 44px 28px 132px;
  }

  .home-page .km-category-copy {
    padding: 96px 24px 24px;
  }

  .home-page .km-category-copy h3,
  .home-page .km-signature-copy h3 {
    font-size: 22px;
  }

  .home-page .km-signature-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 360px;
  }

  .home-page .km-signature-card,
  .home-page .km-signature-card--tall,
  .home-page .km-signature-card--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .home-page .gold-studio-inner {
    min-height: 0;
  }

  .home-page .gold-studio-copy {
    padding: 0 0 64px;
  }

  .home-page .gold-studio-copy h2 {
    font-size: 40px;
  }

  .home-page .gold-studio-stats {
    grid-template-columns: 1fr;
  }

  .home-page .gold-studio-stage {
    order: -1;
    min-height: 500px;
  }

  .home-page .gold-studio-controls {
    top: 16px;
    left: 0;
    right: auto;
  }

  .home-page .gold-studio-controls button {
    min-width: 74px;
    height: 40px;
  }

  .home-page .gold-studio-badges {
    right: 0;
    bottom: 84px;
  }

  .home-page .atelier-film-inner {
    gap: 28px;
  }

  .home-page .atelier-film-copy h2 {
    font-size: 36px;
  }

  .home-page .atelier-film-media {
    min-height: 420px;
  }

  .home-page .atelier-film-media::before {
    inset: 18px;
  }

}

.home-page .btn-login {
  border: 1px solid #e4dac9 !important;
  background: linear-gradient(180deg, #fffaf2 0%, #f2e3cc 100%) !important;
  color: #181818 !important;
  box-shadow: 0 12px 28px rgba(126, 84, 24, 0.14) !important;
}

.home-page .btn-login:hover {
  background: #111 !important;
  border-color: #111 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

/* Desktop scale pass: keep the premium look, but bring homepage sections closer to a real shop density. */
@media (min-width: 901px) {
  .home-page .best-sellers {
    padding: clamp(50px, 5vw, 78px) 0 clamp(48px, 4.6vw, 72px) !important;
  }

  .home-page .best-sellers .container,
  .home-page .category-showcase .container,
  .home-page .designs-grid .container,
  .home-page .atelier-film .container,
  .home-page .gold-studio .container {
    width: min(1720px, calc(100% - 88px)) !important;
    max-width: 1720px !important;
  }

  .home-page .best-sellers-heading {
    gap: 22px !important;
  }

  .home-page .section-kicker {
    font-size: clamp(11px, 0.74vw, 14px) !important;
    letter-spacing: 0.16em !important;
  }

  .home-page .best-sellers .section-header h2 {
    font-size: clamp(36px, 3.2vw, 58px) !important;
    line-height: 0.98 !important;
  }

  .home-page .best-seller-tabs {
    gap: clamp(18px, 1.6vw, 30px) !important;
    margin: clamp(24px, 2.4vw, 38px) 0 22px !important;
  }

  .home-page .best-seller-tab {
    font-size: clamp(14px, 0.96vw, 18px) !important;
  }

  .home-page .best-sellers-row {
    gap: clamp(16px, 1.45vw, 26px) !important;
  }

  .home-page .best-sellers .km-bestseller-card {
    flex-basis: clamp(282px, 22.6vw, 430px) !important;
    max-width: clamp(282px, 22.6vw, 430px) !important;
  }

  .home-page .best-sellers .product-card-media img {
    padding: clamp(20px, 2.8vw, 50px) !important;
  }

  .home-page .km-card-fav {
    top: clamp(14px, 1.08vw, 22px) !important;
    right: clamp(14px, 1.08vw, 22px) !important;
    width: 32px !important;
    height: 32px !important;
  }

  .home-page .km-card-fav svg {
    width: 22px !important;
    height: 22px !important;
  }

  .home-page .km-card-ribbon {
    top: clamp(14px, 1.1vw, 22px) !important;
    left: clamp(14px, 1.1vw, 22px) !important;
    padding: 7px 9px !important;
    font-size: clamp(10px, 0.68vw, 12px) !important;
  }

  .home-page .best-sellers .product-card-body {
    padding-top: 15px !important;
    gap: 6px !important;
  }

  .home-page .best-sellers .product-card-title {
    font-size: clamp(15px, 0.96vw, 18px) !important;
  }

  .home-page .best-sellers .product-card-meta {
    font-size: clamp(12px, 0.76vw, 14px) !important;
    line-height: 1.42 !important;
  }

  .home-page .best-sellers .product-card-price {
    font-size: clamp(14px, 0.88vw, 16px) !important;
  }

  .home-page .best-sellers-heading > .carousel-arrow {
    width: 48px !important;
    height: 48px !important;
  }

  .home-page .best-sellers-heading > .carousel-arrow span {
    width: 12px !important;
    height: 12px !important;
    border-width: 2px !important;
  }

  .home-page .category-showcase {
    padding: 74px 0 66px !important;
  }

  .home-page .km-section-heading {
    margin-bottom: 24px !important;
    gap: 22px !important;
  }

  .home-page .km-section-heading h2,
  .home-page .km-designs-intro h2 {
    font-size: clamp(34px, 2.9vw, 48px) !important;
    line-height: 1.02 !important;
  }

  .home-page .km-heading-link,
  .home-page .km-category-arrow {
    min-height: 40px !important;
    height: 40px !important;
  }

  .home-page .km-category-arrow {
    width: 40px !important;
  }

  .home-page .km-category-rail {
    gap: clamp(16px, 1.45vw, 26px) !important;
  }

  .home-page .km-category-card,
  .home-page .km-category-card--large {
    flex-basis: clamp(282px, 22.6vw, 430px) !important;
    max-width: clamp(282px, 22.6vw, 430px) !important;
    min-height: clamp(390px, 34vw, 460px) !important;
  }

  .home-page .km-category-card img {
    padding: clamp(24px, 2.8vw, 48px) clamp(20px, 2.5vw, 44px) 112px !important;
  }

  .home-page .km-category-copy {
    padding: 78px 26px 24px !important;
  }

  .home-page .km-category-copy h3,
  .home-page .km-signature-copy h3 {
    font-size: 20px !important;
  }

  .home-page .km-category-copy p {
    font-size: 13px !important;
    line-height: 1.48 !important;
  }

  .home-page .designs-grid {
    padding: 78px 0 !important;
  }

  .home-page .km-designs-layout {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr) !important;
    gap: 34px !important;
  }

  .home-page .km-designs-intro p,
  .home-page .atelier-film-copy p {
    font-size: 15px !important;
    line-height: 1.62 !important;
  }

  .home-page .km-signature-grid {
    grid-auto-rows: 218px !important;
    gap: 18px !important;
  }

  .home-page .km-signature-card img {
    padding: 26px !important;
  }

  .home-page .km-signature-card:not(.km-signature-card--tall):not(.km-signature-card--wide) img {
    padding: 14px 16px 76px !important;
    transform: scale(1.08) !important;
  }

  .home-page .km-signature-card:not(.km-signature-card--tall):not(.km-signature-card--wide):hover img {
    transform: scale(1.13) rotate(0.6deg) !important;
  }

  .home-page .km-signature-copy {
    left: 22px !important;
    right: 22px !important;
    bottom: 20px !important;
  }

  .home-page .km-signature-card:not(.km-signature-card--tall):not(.km-signature-card--wide) .km-signature-copy h3 {
    font-size: 15px !important;
  }

  .home-page .atelier-film {
    padding: 78px 0 84px !important;
  }

  .home-page .atelier-film-inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr) !important;
    gap: 34px !important;
  }

  .home-page .atelier-film-copy h2 {
    font-size: clamp(38px, 3.25vw, 56px) !important;
  }

  .home-page .atelier-film-media {
    min-height: clamp(480px, 45vw, 560px) !important;
  }

  .home-page .atelier-film-media::before {
    inset: 26px !important;
  }

}

/* Header polish: softer glass, calmer black, closer to a luxury jewelry header. */
.home-page .site-header .header-inner {
  background: rgba(255, 255, 252, 0.86) !important;
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow:
    0 20px 52px rgba(24, 20, 16, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
  backdrop-filter: blur(22px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.08) !important;
}

.home-page .brand-name {
  color: rgba(12, 12, 12, 0.92) !important;
}

.home-page .brand-tagline {
  color: rgba(136, 101, 49, 0.9) !important;
}

.home-page .main-nav a {
  color: rgba(12, 12, 12, 0.88) !important;
  font-weight: 800 !important;
  letter-spacing: 0.045em !important;
}

.home-page .main-nav a:hover {
  color: #9a6f2d !important;
}

.home-page .icon-btn {
  background: rgba(255, 255, 255, 0.54) !important;
  border-color: rgba(44, 33, 22, 0.08) !important;
  color: rgba(15, 15, 15, 0.88) !important;
}

.home-page .icon-btn:hover {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

.home-page .btn-login {
  background: rgba(248, 241, 230, 0.72) !important;
  border-color: rgba(153, 113, 53, 0.14) !important;
}

/* Final account polish */
.home-page .site-header .header-inner {
  border-radius: 20px !important;
}

.favorites-modal.active {
  display: flex !important;
}

.favorites-modal .favorites-overlay {
  background:
    linear-gradient(90deg, rgba(16, 16, 14, 0.34), rgba(16, 16, 14, 0.1)) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.favorites-modal .favorites-content {
  width: min(460px, 100vw) !important;
  height: 100vh !important;
  max-height: none !important;
  margin: 0 0 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid rgba(28, 26, 22, 0.08) !important;
  border-radius: 0 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.96), rgba(247, 247, 242, 0.98)) !important;
  box-shadow: 0 28px 80px rgba(12, 12, 10, 0.2) !important;
  overflow: hidden !important;
}

.favorites-modal .favorites-header {
  padding: 22px 24px 18px !important;
  align-items: flex-start !important;
  border-bottom: 1px solid rgba(18, 18, 16, 0.08) !important;
  background:
    linear-gradient(90deg, rgba(15, 79, 83, 0.06), transparent),
    rgba(255, 255, 252, 0.68) !important;
}

.favorites-modal .favorites-title {
  display: grid !important;
  grid-template-columns: 34px 1fr !important;
  grid-template-areas:
    "icon kicker"
    "icon title"
    "icon copy" !important;
  column-gap: 12px !important;
  align-items: center !important;
}

.favorites-modal .favorites-title svg {
  grid-area: icon !important;
  width: 34px !important;
  height: 34px !important;
  padding: 8px !important;
  border: 1px solid rgba(155, 113, 55, 0.22) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #9b7137 !important;
  box-shadow: 0 12px 26px rgba(124, 91, 45, 0.12) !important;
}

.favorites-modal .favorites-kicker {
  grid-area: kicker !important;
  color: #0f4f53 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
}

.favorites-modal .favorites-count-text {
  grid-area: title !important;
  margin-top: 3px !important;
  color: #101010 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 26px !important;
  line-height: 1 !important;
}

.favorites-modal .favorites-title small {
  grid-area: copy !important;
  max-width: 310px !important;
  margin-top: 6px !important;
  color: #696963 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.favorites-modal .favorites-close {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 auto !important;
  border: 1px solid rgba(16, 16, 16, 0.1) !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #111 !important;
}

.favorites-modal .favorites-close:hover {
  background: #111 !important;
  color: #fff !important;
}

.favorites-modal .favorites-items {
  flex: 1 1 auto !important;
  padding: 14px !important;
  overflow-y: auto !important;
}

.favorites-modal .favorites-empty {
  min-height: 300px !important;
  margin: 0 !important;
  padding: 40px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(17, 17, 17, 0.08) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #6a6a64 !important;
  text-align: center !important;
}

.favorites-modal .favorites-empty svg {
  width: 48px !important;
  height: 48px !important;
  margin-bottom: 18px !important;
  color: #9b7137 !important;
}

.favorites-modal .favorites-empty strong {
  margin-bottom: 8px !important;
  color: #111 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 24px !important;
}

.favorites-modal .favorites-empty p {
  max-width: 300px !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

.favorites-modal .favorite-item {
  padding: 12px !important;
  display: grid !important;
  grid-template-columns: 108px 1fr !important;
  gap: 16px !important;
  align-items: stretch !important;
  border: 1px solid rgba(17, 17, 17, 0.08) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.favorites-modal .favorite-item + .favorite-item {
  margin-top: 12px !important;
}

.favorites-modal .favorite-item-image {
  width: 108px !important;
  height: 128px !important;
  border: 1px solid rgba(17, 17, 17, 0.06) !important;
  border-radius: 6px !important;
  background: #fbfbf8 !important;
  overflow: hidden !important;
}

.favorites-modal .favorite-item-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 8px !important;
}

.favorites-modal .favorite-image-placeholder {
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
  padding: 12px !important;
  color: #9b7137 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 22px !important;
  text-align: center !important;
}

.favorites-modal .favorite-item-details {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.favorites-modal .favorite-item-details h3 {
  margin: 0 !important;
  color: #111 !important;
  font-size: 17px !important;
  line-height: 1.32 !important;
  font-weight: 900 !important;
}

.favorites-modal .favorite-item-price {
  margin-top: 8px !important;
  color: #9b7137 !important;
  font-size: 18px !important;
  font-weight: 900 !important;
}

.favorites-modal .favorite-item-actions {
  margin-top: 16px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.favorites-modal .favorite-view-btn,
.favorites-modal .remove-favorite-btn {
  min-height: 38px !important;
  padding: 9px 13px !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

.favorites-modal .favorite-view-btn {
  border: 1px solid #111 !important;
  background: #111 !important;
  color: #fff !important;
}

.favorites-modal .remove-favorite-btn {
  border: 1px solid rgba(17, 17, 17, 0.1) !important;
  background: transparent !important;
  color: #5f5f5a !important;
  cursor: pointer !important;
}

.favorites-modal .remove-favorite-btn:hover {
  border-color: rgba(180, 35, 24, 0.25) !important;
  color: #b42318 !important;
}

@media (max-width: 760px) {
  .home-page .site-header .header-inner {
    border-radius: 16px !important;
  }

  .favorites-modal .favorites-content {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  .favorites-modal .favorites-header {
    padding: 22px 20px 18px !important;
  }

  .favorites-modal .favorite-item {
    grid-template-columns: 92px 1fr !important;
  }

  .favorites-modal .favorite-item-image {
    width: 92px !important;
    height: 112px !important;
  }
}

/* Homepage hero test: desktop banner image without text overlay */
.home-page .hero-slide--image-only .hero-media {
  inset: 0 !important;
}

/* EUR/UI polish: search field, compact drawer-style favorites */
.home-page .site-header .search {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: stretch !important;
  gap: 0 !important;
  min-width: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

.home-page .site-header .search input {
  min-width: 0 !important;
  height: 100% !important;
  border-radius: 14px 0 0 14px !important;
}

.home-page .site-header .btn-search {
  min-width: 64px !important;
  width: 64px !important;
  height: 100% !important;
  padding: 0 14px !important;
  border-radius: 0 14px 14px 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-align: center !important;
}

@media (max-width: 1320px) and (min-width: 1101px) {
  .home-page .site-header .search {
    width: clamp(230px, 20vw, 300px) !important;
  }
}

@media (max-width: 1100px) {
  .home-page .site-header .search {
    width: 100% !important;
  }
}

.favorites-modal .favorites-overlay {
  background: rgba(9, 8, 7, 0.56) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.favorites-modal .favorites-content {
  width: min(430px, 100vw) !important;
  background: #fff !important;
  box-shadow: -14px 0 34px rgba(0, 0, 0, 0.18) !important;
  border-left: 1px solid #ece8df !important;
}

.favorites-modal .favorites-header {
  min-height: 96px !important;
  padding: 24px 26px 18px !important;
  background: #fff !important;
  border-bottom: 1px solid #ece8df !important;
}

.favorites-modal .favorites-title {
  grid-template-columns: 34px 1fr !important;
  column-gap: 10px !important;
}

.favorites-modal .favorites-title svg {
  width: 34px !important;
  height: 34px !important;
  padding: 7px !important;
  border: 1px solid #e6ded2 !important;
  border-radius: 8px !important;
  color: #111 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.favorites-modal .favorites-kicker {
  display: none !important;
}

.favorites-modal .favorites-count-text {
  color: #111 !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
}

.favorites-modal .favorites-title small {
  color: #6f6a63 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}

.favorites-modal .favorites-close {
  width: 34px !important;
  height: 34px !important;
  border-color: #ece8df !important;
  border-radius: 999px !important;
}

.favorites-modal .favorites-items {
  padding: 20px 22px !important;
  background: #fff !important;
}

.favorites-modal .favorite-item {
  grid-template-columns: 96px 1fr !important;
  gap: 14px !important;
  padding: 0 0 18px !important;
  border: 0 !important;
  border-bottom: 1px solid #ece8df !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.favorites-modal .favorite-item-image {
  width: 96px !important;
  height: 116px !important;
  border-radius: 0 !important;
  background: #fbfaf7 !important;
}

.favorites-modal .favorite-view-btn {
  border-color: #111 !important;
  border-radius: 0 !important;
  background: #111 !important;
  color: #fff !important;
}

.favorites-modal .remove-favorite-btn {
  border: 0 !important;
  border-radius: 0 !important;
  text-decoration: underline !important;
}

.home-page .hero-slide--image-only .hero-media-visual {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f6efe4 !important;
}

.home-page .hero-slide--image-only .hero-media-visual img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  opacity: 1 !important;
  transform: none;
  transform-origin: center center;
}

@media (min-width: 900px) {
  .home-page .hero-slide--image-only .hero-media-visual img {
    object-fit: contain !important;
    transform: none;
  }
}

.home-page .hero-slide--image-only::after,
.home-page .hero-slide--image-only .hero-copy {
  display: none !important;
}

/* GoldKontur AI assistant */
.km-ai-assistant {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1200;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.km-ai-launch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.6rem 0.95rem 0.6rem 0.62rem;
  border: 1px solid rgba(166, 120, 51, 0.34);
  border-radius: 999px;
  background: #111;
  color: #fff;
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.22);
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.km-ai-launch:hover {
  transform: translateY(-2px);
  background: #1b1b1b;
  box-shadow: 0 22px 52px rgba(17, 17, 17, 0.26);
}

.km-ai-launch-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff7e8;
  color: #a67833;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.18rem;
}

.km-ai-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 28px));
  max-height: min(640px, calc(100vh - 120px));
  border: 1px solid rgba(166, 120, 51, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.18s ease, transform 0.18s ease;
  overflow: hidden;
}

.km-ai-assistant.is-open .km-ai-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.km-ai-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #efe7db;
  background: linear-gradient(135deg, #fffaf2, #fff);
}

.km-ai-header p {
  margin: 0 0 0.25rem;
  color: #a67833;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.km-ai-header h2 {
  margin: 0;
  color: #111;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
}

.km-ai-header span {
  display: block;
  max-width: 260px;
  margin-top: 0.42rem;
  color: #69645b;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.48;
}

.km-ai-close,
.km-ai-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9dfd2;
  border-radius: 8px;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.km-ai-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}

.km-ai-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 220px;
  padding: 1rem;
  overflow-y: auto;
  background: #f8f6f2;
}

.km-ai-message {
  display: flex;
}

.km-ai-message--user {
  justify-content: flex-end;
}

.km-ai-bubble {
  max-width: 86%;
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  background: #fff;
  color: #27231d;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.06);
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.km-ai-message--user .km-ai-bubble {
  background: #111;
  color: #fff;
}

.km-ai-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid #efe7db;
  background: #fff;
}

.km-ai-chip {
  min-height: 34px;
  padding: 0.35rem 0.65rem;
  border: 1px solid #eadfcf;
  border-radius: 999px;
  background: #fffaf2;
  color: #8a6229;
  font-weight: 800;
  cursor: pointer;
}

.km-ai-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 0.5rem;
  padding: 0.85rem 1rem 1rem;
  background: #fff;
}

.km-ai-input {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #ded6cc;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font: inherit;
}

.km-ai-input:focus {
  outline: none;
  border-color: #a67833;
  box-shadow: 0 0 0 3px rgba(166, 120, 51, 0.14);
}

.km-ai-submit {
  height: 44px;
  background: #a67833;
  color: #fff;
  border-color: #a67833;
}

.km-ai-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

@media (max-width: 640px) {
  .km-ai-assistant {
    right: 14px;
    bottom: 16px;
  }

  .km-ai-panel {
    right: -4px;
    bottom: 64px;
    max-height: min(620px, calc(100vh - 96px));
  }

  .km-ai-header h2 {
    font-size: 1.35rem;
  }
}

/* Shopping start cards: full-bleed image, clean text panel below */
.home-page .km-category-card,
.home-page .km-category-card--large {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(222, 213, 199, 0.72);
  box-shadow: 0 18px 42px rgba(28, 24, 18, 0.04);
}

.home-page .km-category-card img {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  transform: none !important;
  background: #f6f1ea;
}

.home-page .km-category-card:hover img {
  transform: scale(1.018) !important;
}

.home-page .km-category-copy {
  position: relative !important;
  inset: auto !important;
  margin-top: auto !important;
  min-height: 148px;
  padding: 22px 26px 26px !important;
  background: #fff !important;
}

.home-page .km-category-copy span {
  margin-bottom: 8px !important;
}

.home-page .km-category-copy h3 {
  font-size: clamp(19px, 1.25vw, 24px) !important;
}

.home-page .km-category-copy p {
  margin-top: 10px !important;
}

@media (max-width: 760px) {
  .home-page .km-category-copy {
    min-height: 142px;
    padding: 20px 22px 24px !important;
  }
}

/* Hero banner: follow the real desktop image ratio so the marquee starts where the image ends. */
.home-page .hero {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #f6efe4 !important;
}

.home-page .hero-slider-inner {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 3712 / 1152 !important;
  background: #f6efe4 !important;
}

.home-page .hero-slide--image-only .hero-media,
.home-page .hero-slide--image-only .hero-media-visual {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  background: #f6efe4 !important;
}

.home-page .hero-slide--image-only .hero-media-visual img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center top !important;
  transform: none !important;
}

@media (max-width: 640px) {
  .home-page .hero,
  .home-page .hp-marquee {
    display: none !important;
  }
}

/* Keep header off the hero image, but keep the marquee attached to the image bottom. */
.home-page .hero {
  --hero-safe-top: clamp(106px, 5vw, 116px);
}

.home-page .hero-slider-inner {
  aspect-ratio: auto !important;
  height: calc(var(--hero-safe-top) + 31.0345vw) !important;
  min-height: 0 !important;
  max-height: none !important;
}

.home-page .hero-slide--image-only .hero-media,
.home-page .hero-slide--image-only .hero-media-visual {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  display: block !important;
}

.home-page .hero-slide--image-only .hero-media {
  inset: 0 !important;
}

.home-page .hero-slide--image-only .hero-media-visual {
  top: var(--hero-safe-top) !important;
  bottom: 0 !important;
  height: auto !important;
}

@media (max-width: 700px) {
  .home-page .hero,
  .home-page .hp-marquee {
    display: none !important;
  }
}

/* Homepage bestseller categories: old large category cards moved into the bestseller slot. */
.home-page .best-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 1.55vw, 32px);
  margin-top: clamp(34px, 3vw, 52px);
}

.home-page .best-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ded7cd;
  border-radius: 0;
  background: #fff;
  color: #050505;
  text-decoration: none;
  box-shadow: none;
}

.home-page .best-category-card img {
  position: static;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  padding: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.home-page .best-category-card:hover img {
  transform: scale(1.035);
}

.home-page .best-category-copy {
  position: static;
  min-height: clamp(170px, 11vw, 220px);
  padding: clamp(28px, 2.2vw, 38px) clamp(26px, 2.1vw, 38px) clamp(30px, 2.4vw, 44px);
  background: #fff;
}

.home-page .best-category-copy span {
  display: block;
  margin-bottom: clamp(12px, 1vw, 18px);
  color: #96712d;
  font-size: clamp(12px, 0.82vw, 15px);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.home-page .best-category-copy h3 {
  margin: 0;
  color: #050505;
  font-size: clamp(22px, 1.5vw, 31px);
  font-weight: 900;
  line-height: 1.02;
}

.home-page .best-category-copy p {
  margin: clamp(14px, 1vw, 18px) 0 0;
  color: #777;
  font-size: clamp(15px, 1vw, 19px);
  line-height: 1.48;
}

.home-page .shopping-start-tabs {
  margin: clamp(30px, 3vw, 52px) 0 clamp(24px, 2.2vw, 36px);
}

.home-page .shopping-products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(26px, 2vw, 42px) clamp(22px, 1.6vw, 32px);
  align-items: start;
  width: 100% !important;
  min-width: 0 !important;
}

.home-page .shopping-products-grid .km-home-products-state {
  grid-column: 1 / -1;
}

.home-page .shopping-products-grid .km-bestseller-card {
  width: 100% !important;
  max-width: none !important;
  flex: initial !important;
  flex-basis: auto !important;
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}

.home-page .shopping-products-grid .product-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

.home-page .shopping-products-grid .product-card-media-link {
  position: absolute;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.home-page .shopping-products-grid .product-card-media img {
  width: 100%;
  height: 100%;
  padding: clamp(28px, 3.3vw, 70px);
  object-fit: contain;
  object-position: center;
  transition: transform 0.32s ease;
}

.home-page .shopping-products-grid .km-bestseller-card:hover .product-card-media img {
  transform: scale(1.035);
}

.home-page .shopping-products-grid .product-card-body {
  padding: clamp(20px, 1.5vw, 28px) 0 0 !important;
  background: transparent !important;
  gap: 7px !important;
}

.home-page .shopping-products-grid .product-card-title {
  color: #050505;
  font-size: clamp(20px, 1.28vw, 27px) !important;
  font-weight: 900 !important;
  line-height: 1.15;
  margin: 0;
}

.home-page .shopping-products-grid .product-card-meta {
  color: #8a8a8a;
  font-size: clamp(15px, 0.96vw, 18px);
  line-height: 1.4;
}

.home-page .shopping-products-grid .product-card-bottom {
  margin-top: clamp(16px, 1.2vw, 24px) !important;
  align-items: center !important;
}

.home-page .shopping-products-grid .product-card-price {
  color: #050505 !important;
  font-size: clamp(18px, 1.18vw, 24px) !important;
  font-weight: 900 !important;
}

.home-page .shopping-products-grid .product-card-link {
  color: #8f6a24 !important;
  font-size: clamp(13px, 0.8vw, 16px) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-transform: uppercase;
}

.home-page .shopping-products-grid .km-card-ribbon {
  top: clamp(20px, 1.6vw, 34px);
  left: clamp(20px, 1.6vw, 34px);
}

.home-page .shopping-products-grid .km-card-fav {
  top: clamp(18px, 1.5vw, 30px);
  right: clamp(18px, 1.5vw, 30px);
}

@media (max-width: 1024px) {
  .home-page .best-category-grid,
  .home-page .shopping-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-page .best-category-grid,
  .home-page .shopping-products-grid {
    grid-template-columns: 1fr;
  }

  .home-page .best-category-copy {
    min-height: 0;
  }

  .home-page .shopping-products-grid .product-card-media img {
    padding: 30px;
  }
}

@media (max-width: 700px) {
  .home-page .hero,
  .home-page .hero-slider-inner,
  .home-page .hero-slide,
  .home-page .hero-slide--image-only .hero-media,
  .home-page .hero-slide--image-only .hero-media-visual,
  .home-page .hp-marquee {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
  }

  .home-page {
    scroll-padding-top: 214px;
  }

  .home-page .best-sellers {
    padding-top: 190px !important;
  }

  .home-page .best-sellers,
  .home-page .category-showcase,
  .home-page .designs-grid,
  .home-page .atelier-film,
  .home-page .gold-studio {
    scroll-margin-top: 214px;
  }
}

@media (max-width: 430px) {
  .home-page {
    scroll-padding-top: 226px;
  }

  .home-page .best-sellers {
    padding-top: 202px !important;
  }
}


/* GoldKontur brand logo refresh */
.logo,
.logo.small {
  width: 92px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.logo img,
.logo.small img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.brand-name {
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .logo,
  .logo.small {
    width: 72px;
    height: 42px;
  }
}


/* GoldKontur mobile logo visibility */
@media (max-width: 760px) {
  .home-page .logo {
    display: flex !important;
    width: 64px !important;
    height: 38px !important;
  }

  .home-page .logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 0 !important;
  }

  .home-page .brand {
    gap: 8px !important;
    min-width: 0 !important;
  }
}


/* GoldKontur logo flex sizing */
.home-page .site-header .brand .logo {
  width: 86px !important;
  height: 50px !important;
  flex: 0 0 86px !important;
}

.home-page .site-header .brand .logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

@media (max-width: 760px) {
  .home-page .site-header .brand .logo {
    width: 58px !important;
    height: 34px !important;
    flex: 0 0 58px !important;
  }
}


/* GoldKontur compact mobile brand */
@media (max-width: 760px) {
  .home-page .site-header .brand-text {
    display: none !important;
  }

  .home-page .site-header .brand {
    width: auto !important;
    min-width: 0 !important;
  }

  .home-page .site-header .brand .logo {
    width: 82px !important;
    height: 48px !important;
    flex-basis: 82px !important;
  }
}


/* GoldKontur refined mark header */
.site-header .brand .logo,
.logo,
.logo.small {
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.site-header .brand .logo img,
.logo img,
.logo.small img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

.site-header .brand {
  gap: 12px !important;
}

.site-header .brand-text {
  display: flex !important;
}

.brand-name {
  letter-spacing: 0 !important;
}

@media (max-width: 760px) {
  .home-page .site-header .brand,
  .site-header .brand {
    gap: 8px !important;
    min-width: 0 !important;
  }

  .home-page .site-header .brand .logo,
  .site-header .brand .logo,
  .logo {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
  }

  .home-page .site-header .brand-text,
  .site-header .brand-text {
    display: flex !important;
    min-width: 0 !important;
  }

  .home-page .brand-name,
  .brand-name {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .home-page .brand-tagline,
  .brand-tagline {
    font-size: 10px !important;
    line-height: 1.08 !important;
  }
}


/* GoldKontur readable mark polish */
.site-header .brand .logo,
.collection-page .brand .logo,
.km-product-page .brand .logo,
.auth-brand .auth-logo,
body.checkout-page-mode .checkout-header .logo {
  overflow: visible !important;
}

.site-header .brand .logo img,
.collection-page .brand .logo img,
.km-product-page .brand .logo img,
.auth-brand .auth-logo img,
body.checkout-page-mode .checkout-header .logo img {
  transform: scale(1.22) !important;
  transform-origin: center !important;
}

@media (max-width: 760px) {
  .site-header .brand .logo {
    width: 46px !important;
    height: 42px !important;
    flex: 0 0 46px !important;
  }

  .site-header .brand .logo img {
    transform: scale(1.18) !important;
  }
}


/* Homepage shopping start deterministic rail */
.home-page .shopping-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: clamp(30px, 3vw, 52px) 0 clamp(24px, 2.2vw, 36px);
}

.home-page .shopping-tabs-row .shopping-start-tabs {
  margin: 0;
  min-width: 0;
}

.home-page .shopping-all-products-link {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #d4cec1;
  background: rgba(255, 255, 255, 0.62);
  color: #050505;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.home-page .shopping-all-products-link:hover {
  background: #050505;
  border-color: #050505;
  color: #fff;
}

.home-page .shopping-products-grid .km-card-ribbon {
  display: none !important;
}

@media (max-width: 760px) {
  .home-page .shopping-tabs-row {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .home-page .shopping-all-products-link {
    width: fit-content;
    min-height: 40px;
  }
}

/* GoldKontur storefront UX German polish */
.site-header .brand .logo,
.collection-page .brand .logo,
.home-page .site-header .brand .logo,
body.checkout-page-mode .checkout-header .logo {
  width: 62px !important;
  height: 62px !important;
  flex: 0 0 62px !important;
}

.site-header .brand .logo img,
.collection-page .brand .logo img,
.home-page .site-header .brand .logo img,
body.checkout-page-mode .checkout-header .logo img {
  transform: scale(1.28) !important;
}

.site-header .brand {
  gap: 15px !important;
}

.brand-name {
  font-size: clamp(24px, 1.85vw, 34px) !important;
}

.brand-tagline {
  font-size: clamp(10px, 0.72vw, 13px) !important;
}

.home-page .shopping-products-grid .product-card-media img {
  padding: clamp(12px, 1.7vw, 34px) !important;
}

.home-page .shopping-products-grid .km-bestseller-card:hover .product-card-media img {
  transform: scale(1.02);
}

.home-page .atelier-film-copy h2 {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
  font-size: clamp(42px, 4vw, 74px) !important;
  font-weight: 900 !important;
  line-height: 0.96 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .site-header .brand .logo,
  .collection-page .brand .logo,
  .home-page .site-header .brand .logo,
  body.checkout-page-mode .checkout-header .logo {
    width: 52px !important;
    height: 50px !important;
    flex-basis: 52px !important;
  }

  .site-header .brand .logo img,
  .collection-page .brand .logo img,
  .home-page .site-header .brand .logo img,
  body.checkout-page-mode .checkout-header .logo img {
    transform: scale(1.24) !important;
  }

  .home-page .shopping-products-grid .product-card-media img {
    padding: 14px !important;
  }

  .home-page .atelier-film-copy h2 {
    font-size: clamp(32px, 9vw, 46px) !important;
  }
}


/* GoldKontur header/search/product-name polish 20260716 */
.site-header .main-nav a[href*="kisisellestirilmis"],
.home-page .shopping-start-tabs a[href*="kisisellestirilmis"] {
  display: none !important;
}

.home-page .site-header .header-inner {
  grid-template-columns: minmax(220px, 285px) minmax(0, 1fr) minmax(330px, auto) !important;
  gap: clamp(10px, 0.9vw, 18px) !important;
}

.home-page .main-nav {
  align-self: center !important;
  align-items: center !important;
  gap: clamp(13px, 1.05vw, 22px) !important;
  min-width: 0 !important;
}

.home-page .main-nav a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 44px !important;
  color: rgba(18, 18, 18, 0.84) !important;
  font-size: clamp(15.5px, 0.92vw, 16px) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: 0.03em !important;
}

.home-page .site-header .search {
  width: clamp(166px, 11.2vw, 230px) !important;
  height: 44px !important;
  flex: 1 1 clamp(166px, 11.2vw, 230px) !important;
}

.home-page .site-header .search input {
  min-width: 0 !important;
  padding: 0 10px !important;
}

.home-page .site-header .btn-search {
  flex: 0 0 auto !important;
  min-width: 76px !important;
  padding: 0 12px !important;
  font-size: 13px !important;
}

.home-page .category-showcase {
  padding-top: clamp(56px, 5vw, 88px) !important;
}

.home-page .category-showcase .km-section-heading {
  align-items: flex-end !important;
  margin-bottom: 0 !important;
}

.home-page .category-showcase .section-header h2 {
  font-size: clamp(30px, 2.85vw, 54px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  text-transform: none !important;
}

.home-page .km-section-lead {
  max-width: 560px;
  margin: 12px 0 0;
  color: #777;
  font-size: clamp(15px, 0.95vw, 18px);
  line-height: 1.48;
}

.home-page .shopping-tabs-row {
  margin-top: clamp(22px, 2.3vw, 38px) !important;
}

.home-page .shopping-start-tabs {
  gap: clamp(16px, 1.4vw, 28px) !important;
}

.home-page .atelier-film-copy h2 {
  max-width: 680px !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(34px, 2.8vw, 52px) !important;
  font-weight: 600 !important;
  line-height: 1.12 !important;
  text-transform: none !important;
}

@media (max-width: 1320px) {
  .home-page .site-header .header-inner {
    width: min(1248px, calc(100% - 32px)) !important;
    grid-template-columns: minmax(196px, 226px) minmax(0, 1fr) auto !important;
    gap: 10px !important;
  }

  .home-page .main-nav {
    gap: clamp(8px, 0.72vw, 13px) !important;
  }

  .home-page .main-nav a {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.026em !important;
  }

  .home-page .site-header .search {
    width: 150px !important;
    flex-basis: 150px !important;
  }

  .home-page .site-header .btn-search {
    min-width: 62px !important;
    padding: 0 9px !important;
    font-size: 12.5px !important;
  }

  .home-page .icon-btn {
    width: 40px !important;
    height: 40px !important;
  }

  .home-page .btn-login {
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 12.5px !important;
  }
}

@media (max-width: 1100px) {
  .home-page .main-nav {
    gap: 16px !important;
  }

  .home-page .main-nav a {
    font-size: 14px !important;
    min-height: 36px !important;
  }

  .home-page .site-header .search {
    width: 210px !important;
    flex-basis: 210px !important;
  }
}

@media (max-width: 760px) {
  .home-page .main-nav {
    gap: 16px !important;
  }

  .home-page .main-nav a {
    font-size: 12px !important;
    min-height: 34px !important;
    letter-spacing: 0.04em !important;
  }
}


/* GoldKontur final hero/shop/AI polish 20260716 */
.home-page .category-showcase {
  padding-top: clamp(42px, 4.2vw, 72px) !important;
}

.home-page .category-showcase .section-header h2 {
  font-size: clamp(32px, 3.05vw, 58px) !important;
  font-weight: 720 !important;
  line-height: 1.07 !important;
}

.home-page .km-section-lead {
  display: none !important;
}

.home-page .shopping-tabs-row {
  margin-top: clamp(12px, 1.3vw, 22px) !important;
}

.home-page .atelier-film-copy h2 {
  font-size: clamp(36px, 3vw, 56px) !important;
  font-weight: 650 !important;
  line-height: 1.1 !important;
}

.home-page .hero-slide--image-only .hero-media-visual img {
  transform: scale(1.09) !important;
  transform-origin: 30% center !important;
}

.km-ai-panel {
  width: min(400px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 108px));
}

.km-ai-messages {
  min-height: 180px;
  max-height: min(350px, calc(100vh - 300px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.km-ai-bubble {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.km-ai-bubble p {
  margin: 0;
}

.km-ai-bubble p + p {
  margin-top: 0.55rem;
}

.km-ai-message.is-typing .km-ai-bubble {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 58px;
  min-height: 34px;
  padding: 0.66rem 0.85rem;
}

.km-ai-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a67833;
  opacity: 0.35;
  animation: kmAiTypingDot 1s ease-in-out infinite;
}

.km-ai-typing-dot:nth-child(2) {
  animation-delay: 0.15s;
}

.km-ai-typing-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes kmAiTypingDot {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.km-ai-quick {
  align-items: flex-start;
  max-height: 106px;
  overflow-y: auto;
}

.km-ai-chip {
  white-space: normal;
  line-height: 1.18;
}

.customer-type-badge,
.orders-customer-type {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.customer-type-badge--registered,
.orders-customer-type--registered {
  border-color: rgba(22, 163, 74, 0.22);
  background: #f0fdf4;
  color: #15803d;
}

.customer-type-badge--guest,
.orders-customer-type--guest,
.orders-customer-type--order_customer {
  border-color: rgba(166, 120, 51, 0.24);
  background: #fff8ed;
  color: #8a6229;
}

.orders-customer-cell {
  display: grid;
  gap: 2px;
}

.orders-customer-cell strong {
  color: #111827;
  font-weight: 800;
}

@media (max-width: 640px) {
  .km-ai-assistant {
    right: 10px;
    bottom: 12px;
  }

  .km-ai-panel {
    right: 0;
    bottom: 62px;
    width: calc(100vw - 20px);
    max-height: calc(100vh - 92px);
  }

  .km-ai-messages {
    min-height: 170px;
    max-height: calc(100vh - 330px);
  }

  .km-ai-quick {
    max-height: 116px;
  }

  .km-ai-form {
    grid-template-columns: minmax(0, 1fr) 42px;
    padding: 0.75rem;
  }
}


/* GoldKontur AI click layer fix 20260716 */
.km-ai-assistant {
  z-index: 10000 !important;
}

.km-ai-launch {
  pointer-events: auto;
}

.km-ai-panel {
  pointer-events: none;
}

.km-ai-assistant.is-open .km-ai-panel {
  pointer-events: auto;
}


/* GoldKontur AI mobile fit 20260716 */
@media (max-width: 640px) {
  .km-ai-assistant {
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
  }

  .km-ai-launch {
    margin-left: auto;
  }

  .km-ai-panel {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  .km-ai-quick {
    overflow-x: hidden;
  }

  .km-ai-chip {
    max-width: 100%;
  }
}

/* GoldKontur approved brand mark */
.site-header .brand .logo,
.collection-page .brand .logo,
.km-product-page .brand .logo,
.auth-brand .auth-logo,
body.checkout-page-mode .checkout-header .logo,
.logo,
.logo.small {
  width: 62px !important;
  height: 62px !important;
  flex: 0 0 62px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

.site-header .brand .logo img,
.collection-page .brand .logo img,
.km-product-page .brand .logo img,
.auth-brand .auth-logo img,
body.checkout-page-mode .checkout-header .logo img,
.logo img,
.logo.small img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  transform: none !important;
}

@media (max-width: 760px) {
  .site-header .brand .logo,
  .collection-page .brand .logo,
  .km-product-page .brand .logo,
  .auth-brand .auth-logo,
  body.checkout-page-mode .checkout-header .logo,
  .logo,
  .logo.small {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
  }
}

/* GoldKontur live hotfix 01: transparent logo, mobile hero/header fit, reduced shop spacing */
.site-header .brand .logo,
.collection-page .brand .logo,
.km-product-page .brand .logo,
.auth-brand .auth-logo,
body.checkout-page-mode .checkout-header .logo,
.logo,
.logo.small {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.site-header .brand .logo img,
.collection-page .brand .logo img,
.km-product-page .brand .logo img,
.auth-brand .auth-logo img,
body.checkout-page-mode .checkout-header .logo img,
.logo img,
.logo.small img {
  object-fit: contain !important;
  transform: none !important;
}

.home-page {
  overflow-x: hidden;
}

.home-page .best-sellers {
  padding-top: clamp(48px, 5.2vw, 84px) !important;
  padding-bottom: clamp(42px, 4.8vw, 74px) !important;
}

.home-page .category-showcase {
  padding-top: clamp(34px, 3.2vw, 56px) !important;
}

.home-page .shopping-tabs-row {
  margin-top: clamp(16px, 1.7vw, 28px) !important;
  margin-bottom: clamp(18px, 1.8vw, 28px) !important;
}

.home-page .shopping-start-tabs {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

@media (max-width: 760px) {
  .home-page .site-header .brand {
    min-width: 0 !important;
    gap: 8px !important;
  }

  .home-page .site-header .brand .logo {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
  }

  .home-page .site-header .brand-name {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .home-page .site-header .brand-tagline {
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  .home-page .hero-slider-inner {
    min-height: 580px !important;
  }

  .home-page .hero-copy,
  .home-page .hero-copy--right,
  .home-page .hero-copy--left,
  .home-page .hero-copy--overlay {
    min-height: 580px !important;
    padding-top: 190px !important;
  }
}

@media (max-width: 430px) {
  .home-page .site-header .brand .logo {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
  }

  .home-page .hero-slider-inner {
    min-height: 560px !important;
  }

  .home-page .hero-copy,
  .home-page .hero-copy--right,
  .home-page .hero-copy--left,
  .home-page .hero-copy--overlay {
    min-height: 560px !important;
    padding-top: 180px !important;
  }

  .home-page .best-sellers {
    padding-top: 42px !important;
    padding-bottom: 46px !important;
  }

  .home-page .category-showcase {
    padding-top: 30px !important;
  }
}

/* GoldKontur live hotfix 01b: mobile overflow guard */
@media (max-width: 760px) {
  .home-page .gold-studio,
  .home-page .atelier-film,
  .home-page .category-showcase,
  .home-page .best-sellers {
    overflow-x: hidden !important;
  }

  .home-page .gold-studio .container,
  .home-page .atelier-film .container,
  .home-page .km-designs-intro,
  .home-page .km-signature-grid {
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home-page .km-signature-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: minmax(280px, auto) !important;
    gap: 16px !important;
  }

  .home-page .km-signature-card,
  .home-page .km-signature-card--tall,
  .home-page .km-signature-card--wide {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .home-page .km-signature-card img {
    max-width: 100% !important;
  }
}

/* GoldKontur live hotfix 01c: mobile rail overflow isolation */
@media (max-width: 760px) {
  .home-page .best-seller-tabs,
  .home-page .shopping-start-tabs,
  .home-page .shopping-tabs-row .shopping-start-tabs,
  .home-page .main-nav {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
  }

  .home-page .shopping-tabs-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .home-page .best-category-grid img,
  .home-page .km-signature-card img {
    max-width: 100% !important;
  }
}

/* GoldKontur live hotfix 01d: root horizontal scroll lock */
html {
  max-width: 100%;
  overflow-x: hidden !important;
}

body.home-page {
  max-width: 100vw;
  overflow-x: hidden !important;
}

/* GoldKontur sticky header v2 - BEGIN */

/* GoldKontur non-home navigation sticky preservation.
   Homepage is intentionally excluded so its top/floating reference header
   remains untouched until .home-page .site-header.is-scrolled is applied. */
body:not(.home-page) .site-header,
.collection-page .site-header,
.km-product-page .site-header,
body.checkout-page-mode .checkout-header {
  position: sticky !important;
  top: 26px !important;
  left: auto !important;
  right: auto !important;
  z-index: 120 !important;
  padding: 0 20px !important;
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  transition: top 180ms ease, padding 180ms ease, transform 180ms ease;
}

body:not(.home-page) .site-header.is-scrolled,
.collection-page .site-header.is-scrolled,
.km-product-page .site-header.is-scrolled,
body.checkout-page-mode .checkout-header.is-scrolled {
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.98) !important;
}

body:not(.home-page) .site-header .header-inner,
.collection-page .site-header .header-inner,
.km-product-page .site-header .header-inner,
body.checkout-page-mode .checkout-header .checkout-header-inner {
  width: min(1240px, calc(100% - 40px)) !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  min-height: 74px !important;
  padding: 10px 18px !important;
  border-radius: 30px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(200, 164, 93, 0.18) !important;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.13) !important;
  backdrop-filter: blur(16px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.08) !important;
  transition: min-height 180ms ease, padding 180ms ease, box-shadow 180ms ease, border-radius 180ms ease, background 180ms ease;
}

body:not(.home-page) .site-header.is-scrolled .header-inner,
.collection-page .site-header.is-scrolled .header-inner,
.km-product-page .site-header.is-scrolled .header-inner,
body.checkout-page-mode .checkout-header.is-scrolled .checkout-header-inner {
  width: 100% !important;
  max-width: none !important;
  min-height: 62px !important;
  padding: 7px clamp(12px, 3vw, 42px) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1) !important;
}

@media (max-width: 760px) {
  body:not(.home-page) .site-header,
  .collection-page .site-header,
  .km-product-page .site-header,
  body.checkout-page-mode .checkout-header {
    top: 10px !important;
    padding: 0 10px !important;
  }

  body:not(.home-page) .site-header.is-scrolled,
  .collection-page .site-header.is-scrolled,
  .km-product-page .site-header.is-scrolled,
  body.checkout-page-mode .checkout-header.is-scrolled {
    top: 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  body:not(.home-page) .site-header .header-inner,
  .collection-page .site-header .header-inner,
  .km-product-page .site-header .header-inner,
  body.checkout-page-mode .checkout-header .checkout-header-inner {
    width: min(100%, calc(100vw - 20px)) !important;
    max-width: calc(100vw - 20px) !important;
    min-height: auto !important;
    padding: 9px 10px !important;
    border-radius: 22px !important;
    overflow: hidden !important;
  }

  body:not(.home-page) .site-header.is-scrolled .header-inner,
  .collection-page .site-header.is-scrolled .header-inner,
  .km-product-page .site-header.is-scrolled .header-inner,
  body.checkout-page-mode .checkout-header.is-scrolled .checkout-header-inner {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
  }
}
/* GoldKontur hero sticky preview v2: header-only scroll state.
   Normal/top header is intentionally untouched; only .site-header.is-scrolled
   changes when the scroll threshold is passed. No hero, body/html scroll,
   homepage data, design, video, bestseller, product, URL or API rules here. */
.home-page .site-header.is-scrolled {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  z-index: 2000 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(250, 248, 245, 0.96) !important;
  box-shadow: 0 1px 0 rgba(200, 164, 93, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    background-color 260ms ease,
    box-shadow 260ms ease;
}

.home-page .site-header.is-scrolled .header-inner {
  width: 100% !important;
  max-width: none !important;
  min-height: 62px !important;
  margin: 0 !important;
  padding: 7px clamp(24px, 3vw, 42px) !important;
  border-radius: 0 0 18px 18px !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: clamp(18px, 2vw, 30px) !important;
  transition:
    min-height 260ms ease,
    padding 260ms ease,
    border-radius 260ms ease,
    box-shadow 260ms ease,
    background-color 260ms ease;
}

.home-page .site-header.is-scrolled .brand {
  gap: 12px !important;
}

.home-page .site-header.is-scrolled .brand .logo {
  width: 66px !important;
  height: 38px !important;
  flex: 0 0 66px !important;
}

.home-page .site-header.is-scrolled .brand-name {
  font-size: 24px !important;
  line-height: 1 !important;
}

.home-page .site-header.is-scrolled .brand-tagline {
  font-size: 11px !important;
  line-height: 1.15 !important;
}

.home-page .site-header.is-scrolled .main-nav {
  min-width: 0 !important;
  max-width: 100% !important;
  gap: clamp(16px, 1.8vw, 28px) !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.home-page .site-header.is-scrolled .main-nav a {
  white-space: nowrap !important;
}

.home-page .site-header.is-scrolled .header-actions {
  min-width: 0 !important;
  gap: 10px !important;
}

.home-page .site-header.is-scrolled .search {
  min-width: 0 !important;
}

.home-page .site-header.is-scrolled .search input {
  width: clamp(118px, 10vw, 154px) !important;
  height: 40px !important;
}

.home-page .site-header.is-scrolled .btn-search {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 18px !important;
}

.home-page .site-header.is-scrolled .icon-btn {
  width: 42px !important;
  height: 42px !important;
}

.home-page .site-header.is-scrolled .btn-login,
.home-page .site-header.is-scrolled .btn-admin {
  min-height: 42px !important;
  padding: 0 18px !important;
}

@media (max-width: 760px) {
  .home-page .site-header.is-scrolled {
    top: 0 !important;
    padding: 0 !important;
  }

  .home-page .site-header.is-scrolled .header-inner {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 14px 10px !important;
    border-radius: 0 0 22px 22px !important;
    gap: 8px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14) !important;
  }

  .home-page .site-header.is-scrolled .brand {
    gap: 8px !important;
  }

  .home-page .site-header.is-scrolled .brand .logo {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
  }

  .home-page .site-header.is-scrolled .brand-name {
    font-size: 17px !important;
  }

  .home-page .site-header.is-scrolled .brand-tagline {
    font-size: 9px !important;
  }

  .home-page .site-header.is-scrolled .search {
    width: 100% !important;
    max-width: 220px !important;
  }

  .home-page .site-header.is-scrolled .search input {
    width: 100% !important;
    height: 38px !important;
  }

  .home-page .site-header.is-scrolled .btn-search {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 14px !important;
  }

  .home-page .site-header.is-scrolled .icon-btn {
    width: 38px !important;
    height: 38px !important;
  }

  .home-page .site-header.is-scrolled .btn-login,
  .home-page .site-header.is-scrolled .btn-admin {
    min-height: 38px !important;
    padding: 0 14px !important;
  }

  .home-page .site-header.is-scrolled .main-nav {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 18px !important;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
  }

  .home-page .site-header.is-scrolled .main-nav a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 13px !important;
  }

  /* Existing reference mobile overflow containment.
     This does not alter hero or header state; it only prevents lower-page
     media/text from increasing body scroll width on 375/390/430px previews. */
  .home-page .designs-grid,
  .home-page .designs-grid .container,
  .home-page .km-designs-layout,
  .home-page .km-designs-intro,
  .home-page .km-signature-grid {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .home-page .km-designs-intro h2 {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    box-sizing: border-box !important;
  }

  .home-page .km-signature-card,
  .home-page .km-signature-card img {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .home-page .km-signature-card img {
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
  }
}
/* GoldKontur sticky header v2 - END */

/* GoldKontur homepage category navigation - canonical final block 20260801 */
.home-page .main-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  max-width: 100% !important;
  gap: clamp(10px, 1vw, 18px) !important;
  overflow: hidden !important;
}

.home-page .main-nav .nav-all-products {
  flex: 0 0 auto !important;
}

.home-page .main-nav .nav-category-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: clamp(10px, 1vw, 18px);
}

.home-page .main-nav .nav-category-grid a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  max-width: 100% !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

@media (min-width: 761px) {
  .home-page .main-nav.nav-two-rows {
    align-items: center !important;
    overflow: hidden !important;
  }

  .home-page .main-nav.nav-two-rows .nav-category-grid {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    justify-content: stretch;
    gap: 2px clamp(7px, 0.75vw, 14px);
  }

  .home-page .main-nav.nav-two-rows .nav-category-grid a {
    min-height: 30px !important;
    padding: 3px 2px !important;
    font-size: clamp(11px, 0.78vw, 14px) !important;
    line-height: 1.12 !important;
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden !important;
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .home-page .main-nav {
    width: 100% !important;
    justify-content: flex-start !important;
  }

  .home-page .main-nav .nav-category-grid {
    flex: 1 1 auto;
  }
}

@media (max-width: 760px) {
  .home-page .main-nav,
  .home-page .main-nav.nav-two-rows,
  .home-page .site-header.is-scrolled .main-nav {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .home-page .main-nav::-webkit-scrollbar {
    display: none;
  }

  .home-page .main-nav .nav-category-grid,
  .home-page .main-nav.nav-two-rows .nav-category-grid {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
  }

  .home-page .main-nav .nav-all-products,
  .home-page .main-nav .nav-category-grid a {
    flex: 0 0 auto !important;
    min-height: 34px !important;
    white-space: nowrap !important;
  }

  .home-page .best-seller-tabs {
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  .home-page .best-seller-tabs::-webkit-scrollbar {
    display: none;
  }

  .home-page .best-seller-tabs a {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
}

/* Mobile homepage: start in the same settled header state used after scroll.
   The reserved hero offset prevents hero/bestseller content from sitting
   underneath the fixed header on the first frame. */
@media (max-width: 760px) {
  .home-page .site-header,
  .home-page .site-header.is-scrolled {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    z-index: 2000 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(250, 248, 245, 0.96) !important;
  }

  .home-page .site-header .header-inner,
  .home-page .site-header.is-scrolled .header-inner {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 8px 14px 10px !important;
    border-radius: 0 0 22px 22px !important;
    gap: 8px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14) !important;
  }

  .home-page .site-header .brand,
  .home-page .site-header.is-scrolled .brand {
    gap: 8px !important;
  }

  .home-page .site-header .brand .logo,
  .home-page .site-header.is-scrolled .brand .logo {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
  }

  .home-page .site-header .brand-name,
  .home-page .site-header.is-scrolled .brand-name {
    font-size: 17px !important;
  }

  .home-page .site-header .brand-tagline,
  .home-page .site-header.is-scrolled .brand-tagline {
    font-size: 9px !important;
  }

  .home-page .site-header .search,
  .home-page .site-header.is-scrolled .search {
    width: 100% !important;
    max-width: 220px !important;
  }

  .home-page .site-header .search input,
  .home-page .site-header.is-scrolled .search input {
    width: 100% !important;
    height: 38px !important;
  }

  .home-page .site-header .btn-search,
  .home-page .site-header.is-scrolled .btn-search {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 14px !important;
  }

  .home-page .site-header .icon-btn,
  .home-page .site-header.is-scrolled .icon-btn {
    width: 38px !important;
    height: 38px !important;
  }

  .home-page .site-header .btn-login,
  .home-page .site-header .btn-admin,
  .home-page .site-header.is-scrolled .btn-login,
  .home-page .site-header.is-scrolled .btn-admin {
    min-height: 38px !important;
    padding: 0 14px !important;
  }

  .home-page .hero-slider {
    margin-top: 154px !important;
  }

  /* Mobile hides the desktop hero, so Bestseller becomes the first section.
     Reserve the fixed header height plus breathing room so its large heading
     is visible immediately instead of sitting underneath the header. */
  .home-page .best-sellers {
    padding-top: 194px !important;
  }
}

@media (max-width: 430px) {
  .home-page .best-sellers {
    padding-top: 194px !important;
  }
}
