/* =====================================================
   KURUMSAL HEDİYELER — Design System & Styles
   Color Palette: Dark Navy + Prestige Gold
   ===================================================== */

/* ── CUSTOM PROPERTIES ───────────────────── */
:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --gold: #c8a96e;
  --gold-light: #e2c27d;
  --gold-dark: #a8843e;
  --accent: #e94560;
  --bg: #fafaf8;
  --bg-alt: #f1ede6;
  --surface: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e8e0d4;
  --success: #10b981;
  --warning: #f59e0b;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .06);
  --shadow: 0 4px 24px rgba(0, 0, 0, .08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, .12);
  --shadow-gold: 0 8px 32px rgba(200, 169, 110, .25);

  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
  --transition-bounce: all .4s cubic-bezier(.34, 1.56, .64, 1);

  --navbar-h: 72px;
  --topbar-h: 38px;
}

/* ── RESET ───────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  max-width: 100%;
}

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

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

ul {
  list-style: none;
}

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

input,
textarea,
select {
  font: inherit;
}

/* ── TYPOGRAPHY ──────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

p {
  color: var(--text-muted);
}

/* ── LAYOUT ──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* ── SECTION HEADER ──────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

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

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: .95rem;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .2);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .25);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--primary);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200, 169, 110, .35);
}

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

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

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--bg-alt);
}

.btn-sm {
  padding: 8px 18px;
  font-size: .82rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* ── TOPBAR ──────────────────────────────── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1001;
  height: var(--topbar-h);
  background: var(--primary);
  color: rgba(255, 255, 255, .75);
  font-size: .78rem;
  display: flex;
  align-items: center;
}

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

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-left span,
.topbar-right span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar i {
  color: var(--gold);
  font-size: .7rem;
}

.lang-switcher {
  display: flex;
  gap: 6px;
}

.lang-switcher a {
  color: rgba(255, 255, 255, .6);
  font-weight: 600;
  font-size: .75rem;
  padding: 2px 6px;
  border-radius: 4px;
  transition: var(--transition);
}

.lang-switcher a.active,
.lang-switcher a:hover {
  color: var(--gold);
  background: rgba(200, 169, 110, .15);
}

/* ── NAVBAR ──────────────────────────────── */
.navbar {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: var(--navbar-h);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

body {
  padding-top: calc(var(--topbar-h) + var(--navbar-h));
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-sub {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-links>li {
  position: relative;
}

.mobile-lang-item {
  display: none;
}

/* hidden on desktop, shown in mobile @media */
.nav-links>li>a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
  color: var(--gold-dark);
  background: var(--bg-alt);
}

.nav-links>li>a .fa-chevron-down {
  font-size: .6rem;
  transition: var(--transition);
}

.nav-links>li.has-dropdown:hover>a .fa-chevron-down {
  transform: rotate(180deg);
}

/* Mega dropdown */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 580px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  pointer-events: none;
  padding-top: 8px;
  /* invisible bridge — mouse stays in hover zone */
}

.nav-links>li.has-dropdown:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  background: #fff;
  border-radius: var(--radius-lg);
}

.mega-col {
  padding: 24px;
}

.mega-col h4 {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Scrollable categories column */
.mega-col-cats {
  display: flex;
  flex-direction: column;
}

.mega-cat-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.mega-cat-list::-webkit-scrollbar {
  width: 4px;
}

.mega-cat-list::-webkit-scrollbar-track {
  background: transparent;
}

.mega-cat-list::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.mega-cat-item {
  display: flex;
  flex-direction: column;
}

.mega-cat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: .87rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--text);
}

.mega-cat-link:hover,
.mega-cat-item:hover>.mega-cat-link {
  background: var(--bg-alt);
  color: var(--gold-dark);
}

.mega-cat-link i:first-child {
  width: 14px;
  color: var(--gold);
  font-size: .8rem;
  flex-shrink: 0;
}

.mega-cat-link span:not(.badge) {
  flex: 1;
}

.mega-arrow {
  font-size: .65rem !important;
  color: var(--text-muted) !important;
  width: auto !important;
  margin-left: auto;
  flex-shrink: 0;
}

/* Right panel */
.mega-right-panel {
  background: var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: background .2s ease;
}

.mega-right-panel.showing-subs {
  background: var(--bg-alt);
}

/* Promo content */
.mega-promo-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.promo-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.promo-box>i {
  font-size: 1.8rem;
  color: var(--gold);
}

.promo-box h4 {
  color: #fff;
  font-size: .95rem;
  font-family: 'Playfair Display', serif;
}

.promo-box p {
  color: rgba(255, 255, 255, .6);
  font-size: .78rem;
}

/* Sub panels */
.mega-sub-panel {
  display: none;
}

.mega-sub-panel h4 {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.mega-sub-panel ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-sub-panel ul a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  transition: var(--transition);
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-sub-panel ul a:hover {
  background: var(--border);
  color: var(--gold-dark);
}

.mega-sub-panel ul a i {
  width: 13px;
  color: var(--gold);
  font-size: .75rem;
  flex-shrink: 0;
}

.mega-sub-panel ul a span:not(.badge) {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Generic badge */
.badge {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 700;
  background: var(--bg-alt);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
}

.mega-right-panel.showing-subs .badge {
  background: var(--border);
}

/* Hide mobile-only elements on desktop */
.mob-sub-toggle {
  display: none;
}

.mob-sub-list {
  display: none;
}

.mega-cat-row {
  display: contents;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: .95rem;
  transition: var(--transition);
  position: relative;
}

.nav-icon-btn:hover {
  background: var(--bg-alt);
  color: var(--gold-dark);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ── SEARCH OVERLAY ──────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .85);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-box {
  width: 100%;
  max-width: 640px;
  position: relative;
  transform: translateY(-20px);
  transition: var(--transition);
}

.search-overlay.open .search-box {
  transform: translateY(0);
}

.search-box form {
  display: flex;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.search-box input {
  flex: 1;
  padding: 18px 24px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: transparent;
}

.search-box button[type=submit] {
  padding: 0 24px;
  background: var(--gold);
  color: var(--primary);
  font-size: 1rem;
}

.search-close {
  position: absolute;
  top: -52px;
  right: 0;
  color: rgba(255, 255, 255, .7);
  font-size: 1.4rem;
  padding: 8px;
}

/* ── HERO ─────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--navbar-h) - var(--topbar-h));
  background: linear-gradient(135deg, var(--primary) 0%, #1a2744 50%, #0d2137 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(200, 169, 110, .12) 0%, transparent 70%),
    radial-gradient(circle at 20% 80%, rgba(233, 69, 96, .08) 0%, transparent 60%);
}

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

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 169, 110, .15);
  border: 1px solid rgba(200, 169, 110, .3);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 40px;
  margin-bottom: 24px;
}

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

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: rgba(255, 255, 255, .65);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.hero-stat h3 {
  color: var(--gold);
  font-size: 1.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  margin-bottom: 2px;
}

.hero-stat p {
  color: rgba(255, 255, 255, .5);
  font-size: .8rem;
  margin: 0;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  transform: perspective(800px) rotateY(-8deg) rotateX(4deg);
}

.hero-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.hero-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .1);
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.hero-card h4 {
  color: #fff;
  font-size: .9rem;
  margin-bottom: 4px;
}

.hero-card p {
  color: rgba(255, 255, 255, .5);
  font-size: .75rem;
  margin: 0;
}

.hero-card.featured {
  grid-column: span 2;
}

/* ── HERO SLIDE 2 — Centered Bold ─────────── */
.hero-s2 {
  min-height: calc(100vh - var(--navbar-h) - var(--topbar-h));
  background: linear-gradient(135deg, var(--primary) 0%, #1a2744 50%, #0d2137 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-s2-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-s2-rings::before,
.hero-s2-rings::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 110, .1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-s2-rings::before {
  width: 600px;
  height: 600px;
}

.hero-s2-rings::after {
  width: 950px;
  height: 950px;
  border-color: rgba(200, 169, 110, .05);
}

.hero-s2-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(200, 169, 110, .1) 0%, transparent 70%),
    radial-gradient(circle at 10% 20%, rgba(233, 69, 96, .06) 0%, transparent 60%),
    radial-gradient(circle at 90% 80%, rgba(99, 102, 241, .06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-s2-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-s2-inner .hero-eyebrow {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-s2-title {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-s2-title .highlight {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-s2-text {
  color: rgba(255, 255, 255, .65);
  font-size: 1.1rem;
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

.hero-s2-actions {
  justify-content: center;
  margin-bottom: 60px;
}

.hero-s2-stats {
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 40px;
  margin-top: 0;
}

/* ── HERO SLIDE 3 — Carousel ──────────────── */
.hero-s3 {
  height: calc(100vh - var(--navbar-h) - var(--topbar-h));
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.s3-viewport {
  overflow: hidden;
  flex: 1;
  height: 100%;
}

.s3-track {
  display: flex;
  height: 100%;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1);
}

.s3-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #1e3070 100%);
}

.s3-slide-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 65% 50%, rgba(255, 255, 255, .05) 0%, transparent 70%),
    radial-gradient(circle at 5% 80%, var(--s3-color, rgba(99, 102, 241, .4)) 0%, transparent 45%);
}

/* Arka plan görseli */
.s3-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.s3-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 38, .6);
}

.s3-deco-ring {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .07);
  pointer-events: none;
}

.s3-deco-ring::after {
  content: '';
  position: absolute;
  inset: 70px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .05);
}

.s3-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 40px 0;
}

.s3-content .hero-eyebrow {
  margin-bottom: 20px;
}

.s3-content h2 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.s3-content h2 .highlight {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.s3-content p {
  color: rgba(255, 255, 255, .7);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 520px;
}

.s3-nav {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.s3-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  flex-shrink: 0;
}

.s3-dot.active {
  background: var(--gold);
  width: 30px;
}

.s3-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  backdrop-filter: blur(4px);
}

.s3-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary);
}

.s3-prev {
  left: 28px;
}

.s3-next {
  right: 28px;
}

.s3-counter {
  position: absolute;
  top: 36px;
  right: 40px;
  color: rgba(255, 255, 255, .3);
  font-size: .82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  z-index: 10;
  letter-spacing: .05em;
}

@media (max-width: 768px) {
  .s3-arrow {
    display: none;
  }

  .hero-s2-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-s2-inner {
    padding: 60px 16px;
  }
}

/* ── HERO SLIDE 4 — Pure Image Slider ────── */
.hero-s4 {
  aspect-ratio: 1920 / 600;
  max-height: 600px;
  position: relative;
  overflow: hidden;
  background: var(--primary);
  padding: 0;
  width: 100%;
}

.s4-viewport {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* Crossfade: all slides stacked, active one visible */
.s4-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.s4-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .9s ease;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  will-change: opacity;
}

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

.s4-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.s4-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

/* Progress bar */
.s4-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, .15);
  z-index: 10;
}

.s4-progress-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width linear;
}

/* Counter hidden */
.s4-counter {
  display: none;
}

.s4-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.s4-arrow:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.s4-prev {
  left: 24px;
}

.s4-next {
  right: 24px;
}

/* Dots replaced by progress bar — kept for JS compat but hidden */
.s4-nav {
  display: none;
}

@media (max-width: 1024px) {
  .hero-s4 {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .s4-arrow {
    width: 36px;
    height: 36px;
    font-size: .85rem;
  }

  .s4-prev {
    left: 10px;
  }

  .s4-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .s4-arrow {
    display: none;
  }
}

/* ── TRUST BAND ──────────────────────────── */
.trust-band {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
}

.trust-item i {
  font-size: 1.2rem;
  color: var(--gold);
}

/* ── CATEGORIES SECTION ──────────────────── */
.categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  flex: 0 0 calc(16.666% - 14px);
  min-width: 120px;
  max-width: 180px;
  box-sizing: border-box;
}

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}

.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.cat-card:hover::before {
  opacity: 1;
}

.cat-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 auto 14px;
  transition: var(--transition);
}

.cat-card h4 {
  font-size: .88rem;
  color: var(--text);
  margin-bottom: 4px;
}

.cat-count {
  font-size: .75rem;
  color: var(--text-muted);
}

.cat-card:hover h4 {
  color: var(--primary);
}

/* ── CATEGORY CARD WRAP + SUBCATEGORY PILLS ── */
.cat-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 calc(16.666% - 14px);
  min-width: 120px;
  max-width: 180px;
}

.cat-card-wrap .cat-card {
  flex: unset;
  width: 100%;
  min-width: unset;
  max-width: unset;
}

.cat-subcats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: 8px;
  width: 100%;
}

.cat-subcat-pill {
  font-size: .68rem;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1.5;
}

.cat-subcat-pill:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.cat-subcat-more {
  background: transparent;
  border-color: transparent;
  color: var(--gold-dark);
  font-weight: 600;
}

/* ── IMAGE-BASED CATEGORY GRID ── */
/* ── CATEGORY BENTO GRID ─────────────────── */
.cat-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 16px;
}

/* Bento size variants */
.cat-bento-card.bento-tall {
  grid-row: span 2;
}

.cat-bento-card.bento-wide {
  grid-column: span 2;
}

.cat-bento-card.bento-big {
  grid-column: span 2;
  grid-row: span 2;
}

.cat-bento-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: block;
  cursor: pointer;
  background: var(--surface);
  text-decoration: none;
  isolation: isolate;
}

/* Image */
.cat-bento-card .cbc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.25, .46, .45, .94);
  will-change: transform;
}

.cat-bento-card:hover .cbc-img {
  transform: scale(1.08);
}

/* Placeholder (no image) */
.cat-bento-card .cbc-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, .5);
  transition: transform .55s cubic-bezier(.25, .46, .45, .94);
}

.cat-bento-card:hover .cbc-placeholder {
  transform: scale(1.08);
}

/* Permanent dark gradient at bottom */
.cat-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, .15) 55%, transparent 100%);
  z-index: 1;
  transition: opacity .35s ease;
}

/* Hover: deepen overlay */
.cat-bento-card:hover::before {
  opacity: 1.5;
}

/* Gold shimmer on hover */
.cat-bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--cat-color, var(--gold));
  opacity: 0;
  z-index: 3;
  transition: opacity .3s ease;
}

.cat-bento-card:hover::after {
  opacity: 1;
}

/* Content */
.cat-bento-card .cbc-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-bento-card .cbc-icon {
  width: 36px;
  height: 36px;
  background: var(--cat-color, var(--gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .85rem;
  margin-bottom: 6px;
  transform: translateY(6px);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}

.cat-bento-card:hover .cbc-icon {
  transform: translateY(0);
  opacity: 1;
}

.cat-bento-card .cbc-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
  transform: translateY(4px);
  transition: transform .35s ease;
}

.cat-bento-card:hover .cbc-name {
  transform: translateY(0);
}

.cat-bento-card .cbc-count {
  font-size: .75rem;
  color: var(--cat-color, var(--gold));
  font-weight: 600;
  letter-spacing: .04em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease .05s, transform .35s ease .05s;
}

.cat-bento-card:hover .cbc-count {
  opacity: 1;
  transform: translateY(0);
}

.cat-bento-card .cbc-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .7rem;
  z-index: 2;
  opacity: 0;
  transform: scale(.7) rotate(-45deg);
  transition: opacity .3s ease, transform .3s ease;
}

.cat-bento-card:hover .cbc-arrow {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

@media (max-width: 900px) {
  .cat-bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }

  .cat-bento-card:nth-child(6) {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .cat-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 10px;
  }

  .cat-bento-card:nth-child(1) {
    grid-row: span 1;
  }

  .cat-bento-card .cbc-icon {
    opacity: 1;
    transform: none;
  }

  .cat-bento-card .cbc-count {
    opacity: 1;
    transform: none;
  }

  .cat-bento-card .cbc-arrow {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  .cat-bento-card .cbc-name {
    transform: none;
  }

  .cat-bento-card .cbc-body {
    padding: 12px;
  }
}

/* ── PRODUCTS GRID ───────────────────────── */
.products-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .products-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .products-filters::-webkit-scrollbar {
    display: none;
  }

  .products-filters .filter-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
  }
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 40px;
  font-size: .85rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: var(--surface);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(200, 169, 110, .08);
}

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

/* ── CATALOG LAYOUT (urunler.php) ─────── */
.catalog-page-wrap {
  padding: 48px 0;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

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

.catalog-filter-btn {
  display: none;
}

/* Product Card */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 169, 110, .3);
}

.product-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--border);
  background: linear-gradient(135deg, var(--bg-alt), #ede8e0);
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.badge-discount {
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-featured {
  background: var(--gold);
  color: var(--primary);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.product-actions-hover {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  display: flex;
  gap: 6px;
  transition: var(--transition-bounce);
  opacity: 0;
}

.product-card:hover .product-actions-hover {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.action-btn {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--primary);
  color: #fff;
}

.product-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat {
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-title {
  font-size: .93rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

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

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-main {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.price-old {
  font-size: .78rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.add-cart-btn {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: background .2s, color .2s, transform .15s;
}

.add-cart-btn:hover {
  background: var(--gold);
  color: var(--primary);
}

.add-cart-btn.success {
  background: var(--success) !important;
  color: #fff !important;
  transform: scale(1.15);
}

/* ── PROMO BANNER ────────────────────────── */
.promo-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #162540 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 169, 110, .15) 0%, transparent 70%);
}

.promo-banner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.promo-banner h2 {
  color: #fff;
  margin-bottom: 12px;
}

.promo-banner p {
  color: rgba(255, 255, 255, .65);
  max-width: 560px;
}

.promo-counter {
  display: flex;
  gap: 16px;
  margin-top: 28px;
}

.counter-box {
  width: 70px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
}

.counter-box .num {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.counter-box .lbl {
  display: block;
  font-size: .65rem;
  color: rgba(255, 255, 255, .4);
  margin-top: 4px;
}

/* ── PACKAGES ────────────────────────────── */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-content: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.packages-grid .package-card {
  width: 100%;
}

.package-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.package-card.featured {
  border-color: var(--gold);
  background: var(--primary);
  transform: scale(1.04);
}

.package-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
}

.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: var(--primary);
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.package-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.package-card:not(.featured) .package-icon {
  background: var(--bg-alt);
  color: var(--gold-dark);
}

.package-card.featured .package-icon {
  background: rgba(200, 169, 110, .15);
  color: var(--gold);
}

.package-card h3 {
  margin-bottom: 8px;
}

.package-card.featured h3 {
  color: #fff;
}

.package-card p {
  font-size: .85rem;
  margin-bottom: 24px;
}

.package-card.featured p {
  color: rgba(255, 255, 255, .6);
}

.package-price {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: 'Inter', sans-serif;
  color: var(--primary);
  margin-bottom: 4px;
}

.package-card.featured .package-price {
  color: var(--gold);
}

.package-price span {
  font-size: .85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.package-min {
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.package-card.featured .package-min {
  color: rgba(255, 255, 255, .4);
}

.package-features {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .87rem;
  color: var(--text);
}

.package-card.featured .package-features li {
  color: rgba(255, 255, 255, .75);
}

.package-features li i {
  color: var(--success);
  font-size: .8rem;
}

/* ── TESTIMONIALS ────────────────────────── */
.testimonials-section {
  background: var(--bg-alt);
}

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

.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: .9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: .9rem;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
}

.author-company {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ── PARTNERS ────────────────────────────── */
.partners-section {
  padding: 8px 0;
  background: #f5f5f5;
  border-bottom: 2px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  display: none;
}

.partners-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partners-logos {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partners-scroll 35s linear infinite;
  will-change: transform;
}

.partners-logos:hover {
  animation-play-state: paused;
}

@keyframes partners-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(var(--scroll-dist, -50%));
  }
}

.partner-logo {
  font-size: .8rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  color: #2d2d2d;
  transition: var(--transition);
  letter-spacing: .05em;
  padding: 7px 22px;
  position: relative;
  cursor: default;
  flex-shrink: 0;
  white-space: nowrap;
}

.partner-logo+.partner-logo::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(0, 0, 0, .12);
}

.partner-logo img {
  filter: none !important;
  opacity: .7;
  transition: var(--transition);
  display: block;
}

.partner-logo:hover {
  color: #111;
}

.partner-logo:hover img {
  opacity: 1;
  filter: none !important;
}

/* ── NEWSLETTER BAND ─────────────────────── */
.newsletter-band {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  padding: 40px 0;
}

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

.newsletter-text h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.newsletter-text p {
  color: rgba(15, 23, 42, .65);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 12px 20px;
  border-radius: var(--radius);
  border: none;
  background: rgba(255, 255, 255, .9);
  min-width: 280px;
  outline: none;
}

/* ── FOOTER ──────────────────────────────── */
.footer {
  background: var(--primary);
}

.footer-main {
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand p {
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
  margin: 16px 0 24px;
  line-height: 1.7;
}

.footer-logo .logo-main,
.footer-logo .logo-sub {
  color: rgba(255, 255, 255, .9);
}

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

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .07);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  color: var(--primary);
}

/* Brand colours — icon tinted at rest, filled on hover */
.social-instagram {
  color: #E1306C !important;
}

.social-instagram:hover {
  background: #E1306C !important;
  color: #fff !important;
}

.social-facebook {
  color: #1877F2 !important;
}

.social-facebook:hover {
  background: #1877F2 !important;
  color: #fff !important;
}

.social-linkedin {
  color: #0A66C2 !important;
}

.social-linkedin:hover {
  background: #0A66C2 !important;
  color: #fff !important;
}

.social-whatsapp {
  color: #25D366 !important;
}

.social-whatsapp:hover {
  background: #25D366 !important;
  color: #fff !important;
}

.social-twitter {
  color: #1DA1F2 !important;
}

.social-twitter:hover {
  background: #1DA1F2 !important;
  color: #fff !important;
}

.social-youtube {
  color: #FF0000 !important;
}

.social-youtube:hover {
  background: #FF0000 !important;
  color: #fff !important;
}

.social-tiktok {
  color: #EE1D52 !important;
}

.social-tiktok:hover {
  background: #EE1D52 !important;
  color: #fff !important;
}

.footer-col h4 {
  color: rgba(255, 255, 255, .9);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

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

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

.contact-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .5);
  font-size: .87rem;
}

.contact-list i {
  color: var(--gold);
  font-size: .85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-list a {
  color: rgba(255, 255, 255, .5);
}

.contact-list a:hover {
  color: var(--gold);
}

/* ── FOOTER PAYMENT BADGES ───────────────── */
.footer-payment-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 4px;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 7px;
  font-size: .8rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .85);
  letter-spacing: .02em;
  line-height: 1;
}

.pay-badge i {
  font-size: 1.15rem;
}

.pay-badge--visa {
  color: #fff;
}

.pay-badge--visa i {
  color: #1a1f71;
  background: #fff;
  border-radius: 3px;
  padding: 1px 3px;
  font-size: 1.25rem;
}

.pay-badge--mc i {
  color: #eb001b;
  font-size: 1.4rem;
}

.pay-badge--amex i {
  color: #2e77bc;
  font-size: 1.25rem;
}

.pay-badge--paytr {
  color: #dbeafe;
  background: rgba(26, 86, 219, .35);
  border-color: rgba(26, 86, 219, .7);
}

.pay-badge--paytr span {
  color: #fcd34d;
}

.pay-badge--iyzico {
  color: #bfdbfe;
  background: rgba(0, 94, 200, .35);
  border-color: rgba(0, 94, 200, .7);
}

.pay-badge--transfer {
  color: #fff;
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .5);
}

.pay-badge--transfer i {
  color: var(--gold);
}

.pay-badge--ssl {
  color: #a7f3d0;
  border-color: rgba(16, 185, 129, .75);
  background: rgba(16, 185, 129, .25);
}

.pay-badge--ssl i {
  font-size: .95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, .35);
  font-size: .82rem;
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .35);
  margin-left: 16px;
  font-size: .82rem;
}

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

/* ── SCROLL TO TOP ───────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  max-width: 44px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--gold);
  color: var(--primary);
}

/* ── CART NOTIFICATION ───────────────────── */
.cart-notification {
  position: fixed;
  top: 100px;
  right: 24px;
  max-width: calc(100vw - 32px);
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--success);
  opacity: 0;
  transform: translateX(120%);
  transition: var(--transition);
  z-index: 9998;
}

.cart-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.cart-notification i {
  color: var(--success);
}

/* ── PAGE HEADER ─────────────────────────── */
.page-header {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 400px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 110, .08));
}

.page-header-inner {
  position: relative;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .5);
  transition: var(--transition);
}

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

.breadcrumb i {
  font-size: .6rem;
}

.breadcrumb span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 220px;
}

@media (max-width: 480px) {
  .breadcrumb span {
    max-width: 140px;
  }
}

.page-header h1 {
  color: #fff;
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.page-header p {
  color: rgba(255, 255, 255, .6);
  margin: 0;
}

/* ── PRODUCT DETAIL ──────────────────────── */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding: 64px 0;
}

.product-detail-gallery {
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
}

/* ── PRODUCT DETAIL RESPONSIVE ───────── */
@media (max-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0;
  }

  .product-detail-gallery {
    position: static;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .gallery-main-emoji {
    font-size: 4.5rem;
  }
}

@media (max-width: 600px) {
  .product-detail-grid {
    padding: 24px 0;
    gap: 24px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .gallery-thumb {
    padding: 4px 2px;
  }

  .gallery-main-emoji {
    font-size: 3.5rem;
  }

  .thumb-label {
    display: none;
  }

  .detail-price {
    flex-wrap: wrap;
    gap: 8px;
  }

  .detail-price .price-main {
    font-size: 1.6rem;
  }

  .detail-price .price-old {
    font-size: .95rem;
  }

  .product-detail-info h1 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .detail-actions {
    flex-direction: column;
    gap: 10px;
  }

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

  .detail-features {
    padding: 14px;
    gap: 10px;
  }

  .detail-feature-item {
    font-size: .82rem;
  }

  .qty-selector {
    margin-bottom: 16px;
  }
}

.gallery-main {
  aspect-ratio: 1;
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--border);
}

.product-detail-info h1 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 16px;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.detail-price .price-main {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.detail-price .price-old {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.detail-price .price-badge {
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 700;
}

.qty-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  width: fit-content;
  margin-bottom: 20px;
}

.qty-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--gold);
  color: var(--primary);
}

.qty-input {
  width: 60px;
  text-align: center;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  padding: 0 8px;
  height: 44px;
  font-weight: 700;
  font-size: .95rem;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.detail-features {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.detail-feature-item i {
  color: var(--gold);
  width: 16px;
}

/* ── PRODUCT SPECS TABLE ─────────────────── */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.specs-table tr:nth-child(even) {
  background: var(--bg-alt);
}

.specs-table th,
.specs-table td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.specs-table th {
  width: 40%;
  font-weight: 600;
  color: var(--text);
  background: rgba(200, 169, 110, .08);
}

.specs-table td {
  color: var(--text-muted);
}

/* ── CART PAGE ───────────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  padding: 48px 0;
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: var(--transition);
}

.cart-item:hover {
  box-shadow: var(--shadow-sm);
}

.cart-item-img {
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--border);
}

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

.cart-item-name {
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 4px;
}

.cart-item-sub {
  font-size: .8rem;
  color: var(--text-muted);
}

.cart-item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-remove {
  color: var(--text-light);
  transition: var(--transition);
  padding: 6px;
}

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

.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
}

.cart-summary h3 {
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: .9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.summary-row:last-of-type {
  border: none;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.empty-cart {
  text-align: center;
  padding: 80px 0;
}

.empty-cart i {
  font-size: 4rem;
  color: var(--border);
  margin-bottom: 20px;
}

.empty-cart h3 {
  margin-bottom: 8px;
}

/* ── FORMS ───────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: var(--transition);
  outline: none;
  font-size: .9rem;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, .15);
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── CONTACT ─────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px 0;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 40px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: .85rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 2px;
  color: var(--primary);
}

.contact-card p {
  font-size: .87rem;
  margin: 0;
}

/* ── ABOUT ───────────────────────────────── */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--border);
}

.about-img-sticker {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--gold);
  color: var(--primary);
  padding: 12px 20px;
  border-radius: var(--radius);
  text-align: center;
}

.about-img-sticker .num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.about-img-sticker .lbl {
  font-size: .72rem;
  font-weight: 600;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.value-card i {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.value-card h4 {
  font-size: .9rem;
  margin-bottom: 4px;
}

.value-card p {
  font-size: .82rem;
  margin: 0;
}

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

.team-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 16px;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--gold);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.team-card h4 {
  font-size: .95rem;
  margin-bottom: 4px;
}

.team-card p {
  font-size: .8rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0;
}

/* ── UTILITIES ───────────────────────────── */
.text-gold {
  color: var(--gold);
}

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

.text-muted {
  color: var(--text-muted);
}

.mt-auto {
  margin-top: auto;
}

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

.gap-2 {
  gap: 8px;
}

.hidden {
  display: none !important;
}

/* ── ANIMATIONS ──────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes pulse-gold {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(200, 169, 110, .4);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(200, 169, 110, 0);
  }
}

@keyframes float {

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

  50% {
    transform: translateY(-10px);
  }
}

.animate-in {
  animation: fadeInUp .6s ease forwards;
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

/* ── LOADING SKELETON ────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, #e9e6e0 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1200px) {
  .categories-grid .cat-card-wrap {
    flex: 0 0 calc(33.333% - 12px);
    max-width: 220px;
  }

  .categories-grid .cat-card {
    flex: 0 0 calc(33.333% - 12px);
    max-width: 220px;
  }

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

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

/* ── PRODUCT GALLERY ─────────────────────────── */
.gallery-main {
  position: relative;
  cursor: zoom-in;
  transition: background .2s;
}

.gallery-zoom-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

.gallery-main-emoji {
  font-size: 6rem;
  line-height: 1;
  display: block;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .18s;
  will-change: transform;
}

.gallery-main-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: opacity .18s;
}

.gallery-zoom-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, .35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .75rem;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}

.gallery-main:hover .gallery-zoom-hint {
  opacity: 1;
}

.gallery-main.zoomed .gallery-main-emoji {
  transform: scale(1.18);
}

.gallery-main.switching .gallery-main-emoji,
.gallery-main.switching .gallery-main-label {
  opacity: 0;
}

.gallery-zoom-wrap img {
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.gallery-main.zoomed .gallery-zoom-wrap img {
  transform: scale(1.12);
}

/* ── IMAGE LIGHTBOX ─────────────────────────────── */
#imgLightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, .92);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: lbFadeIn .18s ease;
}

@keyframes lbFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

#lightboxImg {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
  pointer-events: none;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
}

#lightboxClose {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(255, 255, 255, .7);
  font-size: 1.6rem;
  background: none;
  padding: 8px;
  cursor: pointer;
  transition: color .15s;
  line-height: 1;
}

#lightboxClose:hover {
  color: #fff;
}

#lightboxPrev,
#lightboxNext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .7);
  font-size: 1.2rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s;
}

#lightboxPrev {
  left: 20px;
}

#lightboxNext {
  right: 20px;
}

#lightboxPrev:hover,
#lightboxNext:hover {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

/* Thumbnails */
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery-thumb {
  aspect-ratio: 1;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  padding: 6px 4px;
  overflow: hidden;
}

.gallery-thumb:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 169, 110, .2);
}

.gallery-thumb.active {
  border-color: var(--gold);
  background: rgba(200, 169, 110, .08);
  box-shadow: 0 4px 16px rgba(200, 169, 110, .25);
}

.thumb-label {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-muted);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.gallery-thumb.active .thumb-label {
  color: var(--gold-dark);
}

/* ── ADD-TO-CART BUTTON STATES ────────────────── */
.btn-add-cart {
  transition: background .25s, transform .15s;
}

.btn-add-cart.btn-loading {
  opacity: .75;
  pointer-events: none;
  cursor: wait;
}

.btn-add-cart.btn-success {
  background: var(--success) !important;
  border-color: var(--success) !important;
  color: #fff !important;
  transform: scale(1.03);
}

/* ── STATIC PAGE CONTENT ─────────────────────── */
.static-page-content {
  color: var(--text);
  line-height: 1.85;
  font-size: .95rem;
}

.static-page-content h2 {
  font-size: 1.6rem;
  margin: 0 0 16px;
  color: var(--primary);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.static-page-content h3 {
  font-size: 1.1rem;
  margin: 32px 0 10px;
  color: var(--primary);
}

.static-page-content p {
  margin-bottom: 14px;
  color: var(--text-muted);
}

.static-page-content ul,
.static-page-content ol {
  margin: 0 0 14px 1.5rem;
  color: var(--text-muted);
}

.static-page-content li {
  margin-bottom: 6px;
}

.static-page-content a {
  color: var(--gold);
  font-weight: 600;
}

.static-page-content a:hover {
  text-decoration: underline;
}

/* Card add-cart button success state — handled in base rule above */

@media (max-width: 1024px) {
  .gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

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

  .package-card.featured {
    transform: none;
  }

  .testimonials-track {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-story {
    grid-template-columns: 1fr;
  }

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

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

  .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --topbar-h: 0px;
  }

  .topbar {
    display: none;
  }

  section {
    padding: 56px 0;
  }

  /* ── Mobile full-screen menu ── */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary, #0f172a);
    padding: calc(var(--navbar-h) + 16px) 24px 40px;
    gap: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .3s ease, visibility .3s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .nav-links>li>a {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, .85);
    font-weight: 500;
  }

  .nav-links>li>a:hover,
  .nav-links>li>a.active {
    color: var(--gold, #c8a96e);
    background: rgba(255, 255, 255, .07);
  }

  .mega-dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    border-radius: var(--radius);
    margin-top: 4px;
    padding-top: 0;
  }

  .mega-inner {
    grid-template-columns: 1fr;
    background: transparent;
  }

  .mega-col {
    padding: 12px 16px;
  }

  .mega-col h4 {
    color: rgba(255, 255, 255, .4);
  }

  .mega-right-panel {
    display: none !important;
  }

  /* Mobile category row */
  .mega-cat-row {
    display: flex;
    align-items: center;
  }

  .mega-cat-row .mega-cat-link {
    flex: 1;
    color: rgba(255, 255, 255, .8);
  }

  .mega-cat-row .mega-cat-link:hover {
    background: rgba(255, 255, 255, .08);
    color: var(--gold, #c8a96e);
  }

  .mega-cat-row .mega-cat-link i:first-child {
    color: var(--gold, #c8a96e);
  }

  .mega-cat-row .mega-cat-link .badge {
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .5);
  }

  .mega-cat-row .mega-arrow {
    display: none;
  }

  /* Mobile sub-toggle button */
  .mob-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .08);
    border: none;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, .6);
    cursor: pointer;
    transition: transform .25s ease, background .2s;
  }

  .mob-sub-toggle.open {
    background: rgba(200, 169, 110, .2);
    color: var(--gold, #c8a96e);
  }

  .mob-sub-toggle.open i {
    transform: rotate(180deg);
  }

  .mob-sub-toggle i {
    transition: transform .25s ease;
  }

  /* Mobile subcategory list */
  .mob-sub-list {
    display: none;
    flex-direction: column;
    gap: 1px;
    margin: 2px 0 4px 16px;
    list-style: none;
    padding: 0;
    border-left: 2px solid rgba(200, 169, 110, .3);
    padding-left: 12px;
  }

  .mob-sub-list.open {
    display: flex;
  }

  .mob-sub-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    color: rgba(255, 255, 255, .65);
    transition: var(--transition);
  }

  .mob-sub-list a:hover {
    background: rgba(255, 255, 255, .08);
    color: var(--gold, #c8a96e);
  }

  .mob-sub-list a i {
    width: 12px;
    color: var(--gold, #c8a96e);
    font-size: .72rem;
    flex-shrink: 0;
  }

  .mob-sub-list a .badge {
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .4);
  }

  /* Hide desktop-only col styles on mobile */
  .mega-col ul a {
    color: rgba(255, 255, 255, .75);
  }

  .mega-col ul a:hover {
    background: rgba(255, 255, 255, .08);
    color: var(--gold, #c8a96e);
  }

  /* Mobile language switcher */
  .mobile-lang-item {
    display: list-item;
  }

  .mobile-lang-switcher {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
  }

  .mobile-lang-switcher a {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .7);
    border: 1px solid rgba(255, 255, 255, .15);
    transition: background .2s, color .2s;
    text-transform: uppercase;
  }

  .mobile-lang-switcher a.active,
  .mobile-lang-switcher a:hover {
    background: var(--gold, #c8a96e);
    color: #0f172a;
    border-color: var(--gold, #c8a96e);
  }

  .hamburger {
    display: flex;
    z-index: 1002;
    position: relative;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .categories-grid .cat-card-wrap {
    flex: 0 0 calc(50% - 8px);
    max-width: 200px;
  }

  .categories-grid .cat-card {
    flex: 0 0 calc(50% - 8px);
    max-width: 200px;
  }

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

  .testimonials-track {
    grid-template-columns: 1fr;
  }

  .promo-banner-inner {
    grid-template-columns: 1fr;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-form input {
    min-width: auto;
    flex: 1;
  }

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

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

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

  /* ── Catalog page mobile ── */
  .catalog-page-wrap {
    padding: 24px 0;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .catalog-sidebar {
    display: none;
    margin-bottom: 0;
  }

  .catalog-sidebar.open {
    display: block;
    margin-bottom: 16px;
  }

  .catalog-sidebar>div {
    position: static !important;
  }

  .catalog-filter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
    cursor: pointer;
  }

  .catalog-filter-btn .chevron {
    margin-left: auto;
    transition: transform .3s;
  }

  .catalog-filter-btn.active .chevron {
    transform: rotate(180deg);
  }

  .catalog-layout .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }

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

  /* ── Cart items ── */
  .cart-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 12px;
    padding: 14px 16px;
  }

  .cart-item-img {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 64px;
    height: 64px;
    align-self: center;
  }

  .cart-item-info {
    grid-column: 2;
    grid-row: 1;
  }

  .cart-item .qty-selector {
    grid-column: 2;
    grid-row: 2;
  }

  .cart-item-price {
    grid-column: 3;
    grid-row: 2;
    font-size: .9rem;
    align-self: center;
    white-space: nowrap;
  }

  .cart-remove {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
  }

  .cart-layout {
    padding: 28px 0;
  }

  .cart-summary {
    position: static;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .categories-grid .cat-card-wrap {
    flex: 0 0 calc(50% - 8px);
    max-width: 180px;
  }

  .categories-grid .cat-card {
    flex: 0 0 calc(50% - 8px);
    max-width: 180px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-items {
    gap: 20px;
    justify-content: center;
  }

  .btn-lg {
    padding: 14px 28px;
  }

  .scroll-top {
    bottom: 20px;
    right: 16px;
    left: auto;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .process-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Cart items xs ── */
  .cart-item {
    padding: 12px;
    gap: 4px 10px;
  }

  .cart-item-img {
    width: 52px;
    height: 52px;
  }

  .cart-item .qty-selector {
    transform: scale(.9);
    transform-origin: left center;
  }

  .empty-cart {
    padding: 48px 0;
  }
}

/* =====================================================
   BLOG — Styles
   ===================================================== */

/* ── Blog listing: sidebar grid ── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {

  .blog-layout,
  .blog-detail-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Blog card ── */
.blog-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Blog homepage 3-col grid → responsive */
@media (max-width: 900px) {
  .blog-home-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 560px) {
  .blog-home-grid {
    grid-template-columns: 1fr !important;
  }
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

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

.blog-card-cat {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--gold-dark, #a8843e);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card-title a {
  color: var(--text);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--gold);
}

.blog-card-excerpt {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--text-light);
}

.blog-card-meta i {
  color: var(--gold);
  margin-right: 4px;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

.blog-read-more:hover {
  color: var(--gold-dark, #a8843e);
}

.blog-read-more i {
  font-size: .7rem;
}

/* ── Blog featured badge ── */
.blog-featured-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 20px;
  margin-bottom: 10px;
  margin-left: 4px;
}

/* ── Blog sidebar widget ── */
.blog-widget {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.blog-widget-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-widget-title i {
  color: var(--gold);
}

/* ── Blog search widget ── */
.blog-search-form {
  display: flex;
  gap: 8px;
}

.blog-search-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .875rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color .2s;
}

.blog-search-form input:focus {
  border-color: var(--gold);
}

.blog-search-form button {
  padding: 10px 14px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s;
}

.blog-search-form button:hover {
  background: var(--gold-dark, #a8843e);
}

/* ── Blog tag ── */
.blog-tag {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-size: .75rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 3px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: background .2s, color .2s, border-color .2s;
}

.blog-tag:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* ── Category nav items ── */
.blog-cat-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: var(--text);
  text-decoration: none;
  padding: 4px 0;
  transition: color .2s;
}

.blog-cat-link:hover,
.blog-cat-link.active {
  color: var(--gold);
  font-weight: 600;
}

.blog-cat-link i {
  color: var(--gold);
  font-size: .7rem;
}

/* ── Blog detail content typography ── */
.blog-content {
  max-width: 100%;
  line-height: 1.85;
  font-size: .975rem;
  color: var(--text);
}

.blog-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--primary);
}

.blog-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 10px;
}

.blog-content h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 24px 0 8px;
}

.blog-content p {
  margin-bottom: 18px;
}

.blog-content ul,
.blog-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.blog-content li {
  margin-bottom: 6px;
}

.blog-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 14px 20px;
  margin: 24px 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-muted);
}

.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  margin: 16px 0;
  display: block;
}

.blog-content a {
  color: var(--gold);
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: .875rem;
}

.blog-content th,
.blog-content td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.blog-content th {
  background: var(--primary);
  color: #fff;
}

.blog-content pre {
  background: var(--primary-light, #1e293b);
  color: #e2e8f0;
  padding: 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: .875rem;
  margin-bottom: 18px;
}

/* ── Blog meta bar ── */
.blog-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-muted);
}

.blog-meta-bar i {
  color: var(--gold);
  margin-right: 5px;
}

/* ── Blog share buttons ── */
.blog-share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.blog-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: .8rem;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: opacity .2s;
}

.blog-share-btn:hover {
  opacity: .85;
}

.blog-share-btn.fb {
  background: #1877f2;
}

.blog-share-btn.tw {
  background: #1da1f2;
}

.blog-share-btn.li {
  background: #0a66c2;
}

.blog-share-btn.wa {
  background: #25d366;
}

/* ── Related post card ── */
.blog-related-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.blog-related-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.blog-related-thumb-placeholder {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: var(--radius);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-related-thumb-placeholder i {
  color: var(--gold);
}

.blog-related-title {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
  display: block;
}

.blog-related-title:hover {
  color: var(--gold);
}

.blog-related-date {
  font-size: .75rem;
  color: var(--text-muted);
}

/* =====================================================
   ÖDEME LİNKİ SAYFASI (odeme-linki.php)
   Checkout steps, card, summary, payment methods
   ===================================================== */

/* ── Steps ── */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 20px;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .45);
}

.checkout-step.active {
  color: #fff;
}

.checkout-step.done {
  color: var(--gold);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.checkout-step.active .step-num {
  background: var(--gold);
  color: var(--primary);
}

.checkout-step.done .step-num {
  background: var(--success);
  color: #fff;
}

.checkout-step-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .15);
  margin: 0 12px;
}

/* ── Layout ── */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

/* ── Card ── */
.checkout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin-bottom: 20px;
}

.checkout-card-title {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark, #a8874e);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Form fields ── */
.co-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.co-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.co-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.co-field label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}

.co-field .req {
  color: var(--danger, #ef4444);
  margin-left: 2px;
}

.co-field input,
.co-field select,
.co-field textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: .88rem;
  font-family: inherit;
  transition: border-color .2s;
  outline: none;
}

.co-field input:focus,
.co-field select:focus,
.co-field textarea:focus {
  border-color: var(--gold);
}

/* ── Billing summary bar ── */
.co-summary-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  font-size: .82rem;
  color: var(--text-muted);
}

.co-summary-bar>div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.co-edit-link {
  margin-left: auto;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: .78rem;
}

.co-edit-link:hover {
  text-decoration: underline;
}

/* ── Agreement checkboxes ── */
.co-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.55;
  cursor: pointer;
}

.co-check input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.co-check a {
  color: var(--gold);
  text-decoration: underline;
}

/* ── Submit button ── */
.co-submit {
  margin-top: 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: .95rem;
}

/* ── Payment method selector ── */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-method {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.payment-method input[type="radio"] {
  display: none;
}

.payment-method.active {
  border-color: var(--gold);
  background: rgba(200, 169, 110, .06);
}

.pm-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pm-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 700;
}

.pm-desc {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pm-cards {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.pm-card {
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ── Order summary (right column) ── */
.checkout-summary {
  position: sticky;
  top: calc(var(--topbar-h, 70px) + 16px);
}

.co-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.co-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .85rem;
}

.co-item-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.co-item-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #0f172a;
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.co-item-name {
  flex: 1;
  color: var(--text);
  font-size: .82rem;
  line-height: 1.4;
}

.co-item-price {
  font-weight: 700;
  white-space: nowrap;
}

.co-totals {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.co-total-row {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--text-muted);
}

.co-total-row.grand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.co-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: .75rem;
  color: var(--text-muted);
}

.co-trust>div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.co-trust i {
  color: var(--gold);
  width: 14px;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }

  .checkout-summary .checkout-card {
    margin-bottom: 0;
  }
}

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

  .co-row-3 {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-card {
    padding: 18px 14px;
  }

  .checkout-steps {
    gap: 0;
  }

  .checkout-step {
    font-size: .75rem;
    gap: 6px;
  }

  .checkout-step-line {
    margin: 0 8px;
  }

  .co-field input,
  .co-field select,
  .co-field textarea {
    font-size: 1rem;
    padding: 11px 12px;
    min-height: 44px;
  }

  .co-submit {
    font-size: .9rem;
    padding: 14px 16px;
    min-height: 50px;
  }

  .payment-method {
    padding: 12px 14px;
    gap: 10px;
  }

  .co-summary-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px;
  }

  .co-edit-link {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .co-row-3 {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    padding: 14px 12px;
  }

  .checkout-card-title {
    font-size: .78rem;
  }

  .co-item-img {
    width: 40px;
    height: 40px;
  }

  .step-num {
    width: 24px;
    height: 24px;
    font-size: .7rem;
  }

  .co-total-row.grand {
    font-size: .9rem;
  }

  .pm-cards {
    display: none;
  }
}