/* Bar Blender — editorial dark / brass luxury */
:root {
  --bg: #080a0d;
  --bg-elev: #12161c;
  --bg-card: #161c24;
  --text: #ece8e1;
  --muted: #8b9199;
  --accent: #d4a84b;
  --accent-soft: rgba(212, 168, 75, 0.14);
  --accent-glow: rgba(212, 168, 75, 0.45);
  --copper: #a67c52;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(212, 168, 75, 0.22);
  --danger: #e57373;
  --radius: 14px;
  --radius-sm: 10px;
  --font-body: "Outfit", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --shadow-card: 0 24px 48px rgba(0, 0, 0, 0.45);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body.theme-barblender {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.container.narrow {
  max-width: 640px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: var(--bg);
}

.skip-link:focus {
  left: 0;
  top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* —— Header —— */
.site-header {
  background: linear-gradient(180deg, rgba(8, 10, 13, 0.97) 0%, rgba(8, 10, 13, 0.88) 100%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px) saturate(1.2);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--accent);
}

.logo-mark {
  color: var(--accent);
  font-size: 1.5rem;
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

.nav-main {
  display: flex;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.nav-main a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 0.2rem 0;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease-out);
}

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

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

.header-search {
  display: flex;
  flex: 1;
  min-width: 180px;
  max-width: 300px;
  margin-left: auto;
  gap: 0.4rem;
}

.header-search input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.header-search input::placeholder {
  color: var(--muted);
}

.header-search input:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.header-search button {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(145deg, #e0b85c, var(--accent));
  color: #1a1208;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.header-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(212, 168, 75, 0.25);
}

.cart-link {
  position: relative;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.2s, background 0.2s;
}

.cart-link:hover {
  text-decoration: none;
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  background: linear-gradient(145deg, #e0b85c, #b8892a);
  color: #1a1208;
  font-size: 0.68rem;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 85% 15%, rgba(212, 168, 75, 0.09), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(90, 60, 40, 0.2), transparent 50%),
    linear-gradient(165deg, #0e1218 0%, var(--bg) 55%);
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
    min-height: 200px;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.8vw, 3.35rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  color: #f5f0e8;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
  max-width: 34rem;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust-icon {
  color: var(--accent);
  font-size: 0.65rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  position: absolute;
  width: min(340px, 85vw);
  height: min(340px, 85vw);
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  opacity: 0.5;
  animation: pulse-ring 8s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.65;
  }
}

.hero-blob {
  position: absolute;
  width: min(300px, 78vw);
  height: min(300px, 78vw);
  border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%;
  background: radial-gradient(circle at 30% 30%, rgba(212, 168, 75, 0.35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(60, 40, 25, 0.5), transparent 50%);
  filter: blur(0);
  animation: blob 14s ease-in-out infinite;
}

@keyframes blob {
  0%,
  100% {
    border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%;
    transform: rotate(0deg);
  }
  50% {
    border-radius: 58% 42% 52% 48% / 52% 48% 42% 58%;
    transform: rotate(6deg) scale(1.02);
  }
}

.hero-glass {
  position: relative;
  width: min(220px, 55vw);
  z-index: 2;
  filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.55));
}

.hero-glass svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-float {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.12;
  filter: blur(20px);
  z-index: 1;
}

.hero-float--1 {
  width: 80px;
  height: 80px;
  top: 12%;
  right: 8%;
  animation: float 6s ease-in-out infinite;
}

.hero-float--2 {
  width: 50px;
  height: 50px;
  bottom: 18%;
  left: 12%;
  animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(145deg, #e8c066, var(--accent) 45%, #a67c2e);
  color: #1a1208;
  box-shadow: 0 12px 32px rgba(212, 168, 75, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(212, 168, 75, 0.38);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: none;
}

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

/* —— Sections —— */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(18, 22, 28, 0.92) 0%, rgba(10, 12, 16, 0.98) 100%);
  border-block: 1px solid var(--border);
}

.section-products {
  position: relative;
}

.section-products::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.section-head {
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* —— Product grid —— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.product-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

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

.product-thumb {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #1c222b 0%, #121820 50%, #0d1015 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(212, 168, 75, 0.12), transparent 45%);
  pointer-events: none;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

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

.placeholder {
  position: relative;
  z-index: 1;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(212, 168, 75, 0.18), rgba(30, 35, 42, 0.95));
  border: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.product-shine {
  position: absolute;
  inset: -40%;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-out);
  pointer-events: none;
}

.product-card:hover .product-shine {
  transform: translateX(100%);
}

.product-body {
  padding: 1rem 1.15rem 1.2rem;
}

.product-cat {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
}

.product-card h2,
.product-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.35;
  color: #f2ebe3;
}

.product-body .price {
  margin: 0 0 0.65rem;
}

.product-card .price {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.product-cta {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--copper);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.product-card:hover .product-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Kategori / arama: kart gövdesi .product-body olmadan */
.product-card-link > h2,
.product-card-link > h3 {
  margin: 0.85rem 1.15rem 0.35rem;
  padding: 0;
}

.product-card-link > .price:not(.product-body .price) {
  margin: 0 1.15rem 1.15rem;
}

.product-card-link > .muted {
  margin: 0 1.15rem 0.35rem;
}

.h3 {
  font-size: 1.05rem !important;
}

.small {
  font-size: 0.85rem;
}

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

.price.large {
  font-size: 1.5rem;
}

.price-old {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.95rem;
  margin-left: 0.5rem;
}

/* Category chips */
.category-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
  font-weight: 500;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  text-decoration: none;
}

.section-cats .section-head {
  margin-bottom: 1.5rem;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.25rem;
  margin-top: auto;
  background: linear-gradient(0deg, #060708 0%, #0c0f13 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
}

.footer-grid strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
}

/* —— Misc pages —— */
.breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

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

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

.page-header h1 {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

.prose {
  line-height: 1.75;
}

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

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

.product-hero-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.product-hero-placeholder {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 5rem;
  background: linear-gradient(145deg, #1c222b, #121820);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: rgba(212, 168, 75, 0.35);
}

.product-meta {
  color: var(--muted);
  margin-bottom: 1rem;
}

.product-meta a {
  color: var(--accent);
}

.price-row {
  margin: 1rem 0;
}

.stock.in-stock {
  color: #81c784;
}

.stock.out-stock {
  color: var(--danger);
}

.add-cart {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.add-cart input[type="number"] {
  width: 4rem;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.cart-table th,
.cart-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.cart-table input[type="number"] {
  width: 4rem;
  padding: 0.35rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
}

.cart-total {
  font-size: 1.15rem;
}

.mt-2 {
  margin-top: 1rem;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

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

.checkout-form fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin: 0 0 1rem;
}

.checkout-form legend {
  padding: 0 0.5rem;
  font-weight: 600;
}

.checkout-form label {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
  font-family: inherit;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

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

.checkout-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  position: sticky;
  top: 5rem;
}

.summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.summary-total {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.alert-error {
  background: rgba(229, 115, 115, 0.12);
  border: 1px solid var(--danger);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #ffcdd2;
}

.search-page-form {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
  flex-wrap: wrap;
}

.search-page-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text);
}

.category-list {
  list-style: none;
  padding: 0;
}

.category-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.category-list a {
  font-size: 1.15rem;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob,
  .hero-ring,
  .hero-float--1,
  .hero-float--2 {
    animation: none;
  }
  .product-card,
  .product-thumb img,
  .product-shine {
    transition: none;
  }
}

/* ========== Ana sayfa — Home.tsx (açık tema) ========== */
.theme-home-light {
  --home-font: "Plus Jakarta Sans", system-ui, sans-serif;
  font-family: var(--home-font);
  background: #f9fafb;
  color: #111827;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.theme-home-light .skip-link {
  background: #1d61ff;
  color: #fff;
}

.theme-home-light main {
  flex: 1;
}

.site-header--light {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: none;
}

.site-header--light .logo {
  color: #111827;
}

.site-header--light .logo-mark {
  color: #7c3aed;
  filter: none;
}

.site-header--light .nav-main a {
  color: #4b5563;
}

.site-header--light .nav-main a:hover {
  color: #7c3aed;
}

.site-header--light .nav-main a::after {
  background: #7c3aed;
}

.site-header--light .header-search input {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #111827;
}

.site-header--light .header-search button {
  background: #7c3aed;
  color: #fff;
  box-shadow: none;
}

.site-header--light .header-search button:hover {
  background: #6d28d9;
  box-shadow: none;
}

.site-header--light .cart-link {
  border-color: #e5e7eb;
  color: #374151;
}

.site-header--light .cart-link:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}

.site-header--light .cart-badge {
  background: linear-gradient(145deg, #8b5cf6, #7c3aed);
  color: #fff;
}

/* E-ticaret üst şerit (TicaretMarket tarzı — iki satır) */
.site-header--ecom {
  border-bottom: none;
  box-shadow: 0 1px 0 #e5e7eb;
}

.site-header--ecom .site-header__top {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.site-header--ecom .site-header__top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 0.85rem 0;
  justify-content: space-between;
}

.site-header--ecom .site-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #111827;
  flex-shrink: 0;
}

.site-header--ecom .site-brand:hover {
  text-decoration: none;
  color: #111827;
}

.site-header--ecom .site-brand__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #1d61ff;
  color: #fff;
  flex-shrink: 0;
}

.site-header--ecom .site-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.15;
  min-width: 0;
}

.site-header--ecom .site-brand__name {
  font-family: var(--home-font);
  font-weight: 800;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.site-header--ecom .site-brand__tagline {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
}

.site-header--ecom .site-header__search {
  display: flex;
  flex: 1;
  min-width: min(100%, 200px);
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.site-header--ecom .site-header__search-input {
  flex: 1;
  border: none;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-family: var(--home-font);
  color: #111827;
  background: #fff;
  min-width: 0;
}

.site-header--ecom .site-header__search-input::placeholder {
  color: #9ca3af;
}

.site-header--ecom .site-header__search-input:focus {
  outline: none;
}

.site-header--ecom .site-header__search:focus-within {
  border-color: #1d61ff;
  box-shadow: 0 0 0 3px rgba(29, 97, 255, 0.15);
}

.site-header--ecom .site-header__search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  flex-shrink: 0;
  border: none;
  background: #1d61ff;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.site-header--ecom .site-header__search-btn:hover {
  background: #1557e5;
}

.site-header--ecom .site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-shrink: 0;
}

.site-header--ecom .site-header__account {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.5rem;
  border: none;
  background: transparent;
  cursor: default;
  text-align: left;
  font: inherit;
  color: #6b7280;
}

@media (min-width: 640px) {
  .site-header--ecom .site-header__account {
    display: flex;
  }
}

.site-header--ecom .site-header__account-icon {
  display: flex;
  color: #9ca3af;
}

.site-header--ecom .site-header__account-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.site-header--ecom .site-header__account-sm {
  font-size: 0.7rem;
  font-weight: 500;
  color: #9ca3af;
}

.site-header--ecom .site-header__account-lg {
  font-size: 0.95rem;
  font-weight: 700;
  color: #374151;
}

.site-header--ecom .site-header__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem 0.55rem 0.75rem;
  border-radius: 8px;
  background: #1d61ff;
  color: #fff;
  text-decoration: none;
  font-family: var(--home-font);
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(29, 97, 255, 0.35);
}

.site-header--ecom .site-header__cart:hover {
  background: #1557e5;
  color: #fff;
  text-decoration: none;
}

.site-header--ecom .site-header__cart-icon {
  display: flex;
  flex-shrink: 0;
}

.site-header--ecom .site-header__cart-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.site-header--ecom .site-header__cart-label {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.95;
}

.site-header--ecom .site-header__cart-sum {
  font-size: 0.95rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.site-header--ecom .site-header__cart-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  line-height: 1;
}

.site-header--ecom .site-header__nav-wrap {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.site-header--ecom .site-header__nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  padding: 0.6rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.site-header--ecom .site-header__nav--single {
  justify-content: center;
}

.site-header--ecom .site-header__nav-link {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.site-header--ecom .site-header__nav-link:hover {
  color: #1d61ff;
  background: rgba(29, 97, 255, 0.06);
  text-decoration: none;
}

.site-header--ecom .site-header__nav-link--promo {
  color: #dc2626;
  font-weight: 800;
}

.site-header--ecom .site-header__nav-link--promo:hover {
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.08);
}

.site-header--ecom .site-header__nav-fire {
  margin-right: 0.15rem;
}

@media (max-width: 900px) {
  .site-header--ecom .site-header__top-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header--ecom .site-brand {
    width: 100%;
    justify-content: flex-start;
    order: 1;
  }

  .site-header--ecom .site-header__search {
    max-width: none;
    margin: 0;
    order: 2;
  }

  .site-header--ecom .site-header__actions {
    width: 100%;
    justify-content: space-between;
    order: 3;
  }
}

@media (max-width: 639px) {
  .site-header--ecom .site-header__account {
    display: none;
  }
}

.home-page {
  flex: 1;
}

/* Hero — Cafemarkt tarzı: Swiper + sağ 2+1 banner */
.home-hero--showcase {
  background: #f4f7fb;
  padding-bottom: 0.5rem;
}

.home-showcase--cafemarkt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(0.65rem, 1.5vw, 1rem);
  padding: 1rem 0 1.25rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .home-showcase--cafemarkt {
    grid-template-columns: 1fr;
  }
}

.home-showcase__col {
  min-width: 0;
}

@media (min-width: 1025px) {
  .home-showcase--cafemarkt {
    align-items: stretch;
  }

  /* Sol + sağ sütun aynı yükseklik; alt kenarlar hizalı */
  .home-showcase__col--slider,
  .home-showcase__col--banners {
    display: flex;
    flex-direction: column;
    min-height: min(440px, 70vh);
    height: 100%;
  }

  .home-slider-block {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .home-hero-swiper {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    height: 100%;
  }

  .home-hero-swiper .swiper-wrapper {
    height: 100%;
  }

  .home-hero-swiper .swiper-slide {
    height: 100%;
    display: flex;
  }

  .home-banner-slide {
    flex: 1;
    min-height: 0;
    width: 100%;
    height: 100%;
    align-self: stretch;
  }

  .banner-content {
    min-height: 100%;
    box-sizing: border-box;
  }

  .home-banner-side {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 0;
    height: 100%;
  }

  /* Üst iki kutu ve alt geniş banner eşit dikey pay (≈1fr / gap / 1fr) */
  .home-banner-side__row {
    flex: 1 1 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    min-height: 0;
    margin-bottom: 0;
    align-items: stretch;
  }

  .home-banner-side__half {
    display: flex;
    min-height: 0;
    min-width: 0;
  }

  .home-side-banner:not(.home-side-banner--wide) {
    flex: 1;
    min-height: 0;
    height: 100%;
  }

  .home-banner-side__full {
    flex: 1 1 0;
    display: flex;
    min-height: 0;
    min-width: 0;
  }

  .home-side-banner--wide {
    flex: 1;
    min-height: 0;
    height: 100%;
    width: 100%;
  }

  .home-side-banner .content {
    flex: 1;
    min-height: 0;
    height: 100%;
  }

  .home-side-banner--wide .content {
    min-height: 0;
  }
}

.home-slider-block {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #1565c0;
}

.home-hero-swiper {
  border-radius: 16px;
  overflow: hidden;
}

.home-hero-swiper .swiper-slide {
  height: auto;
}

.home-banner-slide {
  position: relative;
  display: block;
  min-height: min(440px, 70vh);
  height: 100%;
  color: #fff;
  text-decoration: none;
}

.home-banner-slide:hover {
  color: #fff;
  text-decoration: none;
}

.home-banner-slide__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-banner-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.38) 42%,
    rgba(0, 0, 0, 0.12) 100%
  );
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.45rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: 2.85rem;
  max-width: min(100%, 26rem);
  min-height: min(440px, 70vh);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.banner-content__text1 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.95;
}

.banner-content__title {
  font-family: var(--home-font);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.02em;
}

.banner-content__text2 {
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0.95;
  margin: 0;
}

.banner-content__btn {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.65rem 1.2rem;
  background: #0d47a1;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  border-radius: 8px;
}

.home-hero-swiper .swiper-pagination {
  bottom: 14px !important;
}

.home-hero-swiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: width 0.25s, background 0.2s;
}

.home-hero-swiper .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 999px;
  background: #fff;
}

@media (max-width: 640px) {
  .home-banner-slide {
    min-height: 360px;
  }

  .home-banner-slide::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.78) 100%);
  }

  .banner-content {
    min-height: 360px;
    justify-content: flex-end;
    max-width: none;
    padding-bottom: 3rem;
  }
}

/* Sağ sütun — küçük + geniş banner (Cafemarkt .content yapısı) */
.home-banner-side__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.home-banner-side__half {
  min-width: 0;
}

.home-side-banner {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  min-height: 210px;
  color: #fff;
  text-decoration: none;
}

.home-side-banner:hover {
  color: #fff;
  text-decoration: none;
}

.home-side-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-side-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-side-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(125deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.25) 65%, transparent 100%);
  pointer-events: none;
}

.home-side-banner .content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.85rem 0.75rem;
  max-width: 72%;
  min-height: 210px;
  justify-content: flex-start;
}

.home-side-banner .content1 {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
}

.home-side-banner .title {
  font-family: var(--home-font);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.home-side-banner .title--single {
  font-size: 1rem;
  line-height: 1.25;
}

.home-showcase .btn.btn-primary {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.42rem 0.65rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #0d47a1;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
}

.home-side-banner--wide {
  min-height: 200px;
}

.home-side-banner--wide .content {
  min-height: 200px;
  max-width: 62%;
  padding: 1rem 0.9rem;
}

@media (max-width: 520px) {
  .home-banner-side__row {
    grid-template-columns: 1fr;
  }
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.home-btn:hover {
  text-decoration: none;
}

.home-btn--primary {
  background: #7c3aed;
  color: #fff;
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.35);
}

.home-btn--primary:hover {
  background: #6d28d9;
  transform: translateY(-1px);
}

.home-btn--primary svg {
  transition: transform 0.2s;
}

.home-btn--primary:hover svg {
  transform: translateX(4px);
}

.home-btn--outline {
  background: #fff;
  border: 2px solid #d1d5db;
  color: #111827;
}

.home-btn--outline:hover {
  border-color: #7c3aed;
  color: #7c3aed;
}

.home-btn--blue {
  background: #2563eb;
  color: #fff;
}

.home-btn--blue:hover {
  background: #1d4ed8;
}

/* Featured */
.home-featured {
  padding: 3rem 0;
}

.home-featured__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.home-featured__title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.35rem;
}

.home-featured__sub {
  margin: 0;
  color: #6b7280;
  font-size: 1rem;
}

.home-featured__link {
  display: none;
  align-items: center;
  gap: 0.35rem;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s;
}

.home-featured__link:hover {
  gap: 0.6rem;
  text-decoration: none;
  color: #1d4ed8;
}

@media (min-width: 768px) {
  .home-featured__link {
    display: inline-flex;
  }
}

.home-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .home-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-product-card {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s, transform 0.25s;
}

.home-product-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.home-product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-product-card__link:hover {
  text-decoration: none;
}

.home-product-card__media {
  aspect-ratio: 1;
  background: #f3f4f6;
  overflow: hidden;
}

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

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

.home-product-card__ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  color: #d1d5db;
  background: linear-gradient(145deg, #e5e7eb, #f3f4f6);
}

.home-product-card__body {
  padding: 1rem 1.1rem 1.25rem;
}

.home-product-card__cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.home-product-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.65rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-product-card__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
}

.home-product-card__price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #7c3aed;
}

.home-product-card__old {
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.home-featured__mob-cta {
  margin-top: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .home-featured__mob-cta {
    display: none;
  }
}

/* Category tiles */
.home-cats {
  padding: 3rem 0;
  background: #fff;
}

.home-cats__head {
  text-align: center;
  margin-bottom: 3rem;
}

.home-cats__title {
  font-size: 1.875rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.5rem;
}

.home-cats__sub {
  margin: 0;
  color: #6b7280;
}

.home-cats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .home-cats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-cat-tile {
  position: relative;
  height: 10rem;
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s, box-shadow 0.25s;
}

.home-cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: #fff;
}

.home-cat-tile__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.home-cat-tile__name {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 0.25rem 0;
}

/* Ana sayfa — tek görünür H1 */
.home-page__title-wrap {
  padding-top: 1rem;
  padding-bottom: 0.35rem;
}
.home-page__main-title {
  font-family: var(--home-font, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.home-page__seo-lead {
  font-family: var(--home-font, "Plus Jakarta Sans", system-ui, sans-serif);
  font-size: 0.95rem;
  line-height: 1.55;
  color: #475569;
  max-width: 52rem;
  margin: 0.65rem 0 0;
}
.home-page__seo-lead a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.home-page__seo-lead a:hover {
  color: #1d4ed8;
}

.home-cat-tile__count {
  font-size: 0.85rem;
  opacity: 0.95;
}

.home-cat-tile--blue .home-cat-tile__inner {
  background: rgba(37, 99, 235, 0.92);
}
.home-cat-tile--red .home-cat-tile__inner {
  background: rgba(220, 38, 38, 0.92);
}
.home-cat-tile--green .home-cat-tile__inner {
  background: rgba(22, 163, 74, 0.92);
}
.home-cat-tile--purple .home-cat-tile__inner {
  background: rgba(147, 51, 234, 0.92);
}
.home-cat-tile--orange .home-cat-tile__inner {
  background: rgba(234, 88, 12, 0.92);
}
.home-cat-tile--teal .home-cat-tile__inner {
  background: rgba(13, 148, 136, 0.92);
}
.home-cat-tile--indigo .home-cat-tile__inner {
  background: rgba(79, 70, 229, 0.92);
}
.home-cat-tile--pink .home-cat-tile__inner {
  background: rgba(219, 39, 119, 0.92);
}

/* CTA */
.home-cta {
  padding: 4rem 0;
  background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
}

.home-cta__inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.home-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 1rem;
}

.home-cta__text {
  font-size: 1.125rem;
  margin: 0 0 2rem;
  opacity: 0.95;
  line-height: 1.6;
}

.home-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .home-cta__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.home-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.home-cta__btn:hover {
  text-decoration: none;
}

.home-cta__btn--white {
  background: #fff;
  color: #2563eb;
}

.home-cta__btn--white:hover {
  background: #f3f4f6;
}

.home-cta__btn--ghost {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.home-cta__btn--ghost:hover {
  background: #fff;
  color: #1e40af;
}

/* Footer light */
.site-footer--light {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  color: #374151;
}

.site-footer--light .footer-grid strong {
  font-family: var(--home-font);
  color: #111827;
}

.site-footer--light .muted {
  color: #6b7280;
}

.site-footer--light a {
  color: #2563eb;
}

.site-footer--light .footer-bottom {
  border-top-color: #e5e7eb;
  color: #9ca3af;
}

/* ========== İç sayfalar (kategoriler, arama, sepet) — açık tema ========== */
.page-light {
  flex: 1;
  background: #f9fafb;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4rem);
}

.page-light__inner {
  max-width: 1140px;
}

.page-light__inner--narrow {
  max-width: 720px;
}

.page-light__head {
  margin-bottom: 2rem;
}

.page-light__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.page-light__subtitle {
  margin: 0;
  font-size: 1rem;
  color: #6b7280;
}

.page-light__result-hint {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: #6b7280;
}

/* Kategoriler grid */
.page-cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .page-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-cat-card {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
}

.page-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  text-decoration: none;
  color: #fff;
}

.page-cat-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.page-cat-card__name {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0;
}

.page-cat-card__desc {
  font-size: 0.85rem;
  opacity: 0.95;
  line-height: 1.45;
}

.page-cat-card__meta {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.page-cat-card__go {
  flex-shrink: 0;
  align-self: center;
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.9;
}

.page-cat-card--blue {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}
.page-cat-card--red {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}
.page-cat-card--green {
  background: linear-gradient(135deg, #16a34a, #15803d);
}
.page-cat-card--purple {
  background: linear-gradient(135deg, #9333ea, #7e22ce);
}
.page-cat-card--orange {
  background: linear-gradient(135deg, #ea580c, #c2410c);
}
.page-cat-card--teal {
  background: linear-gradient(135deg, #0d9488, #0f766e);
}
.page-cat-card--indigo {
  background: linear-gradient(135deg, #4f46e5, #4338ca);
}
.page-cat-card--pink {
  background: linear-gradient(135deg, #db2777, #be185d);
}

/* Arama formu */
.page-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  max-width: 640px;
}

.page-search-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 1rem;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.page-search-form input:focus {
  outline: none;
  border-color: #a78bfa;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.page-search-form .home-btn {
  padding: 0.85rem 1.75rem;
}

/* Sepet boş */
.page-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.page-empty__icon {
  color: #c4b5fd;
  margin-bottom: 1rem;
}

.page-empty__icon svg {
  display: inline-block;
  vertical-align: middle;
}

.page-empty__text {
  font-size: 1.1rem;
  color: #4b5563;
  margin: 0 0 1.5rem;
}

/* Sepet tablo */
.page-cart-panel {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.page-cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.page-cart-table thead {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.page-cart-table th {
  text-align: left;
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  color: #374151;
}

.page-cart-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

.page-cart-table tbody tr:last-child td {
  border-bottom: none;
}

.page-cart-link {
  color: #111827;
  font-weight: 600;
  text-decoration: none;
}

.page-cart-link:hover {
  color: #7c3aed;
  text-decoration: underline;
}

.page-cart-qty {
  width: 4rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

.page-cart-price {
  font-weight: 700;
  color: #7c3aed;
  font-variant-numeric: tabular-nums;
}

.page-cart-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  background: #fafafa;
  border-top: 1px solid #e5e7eb;
}

.page-cart-total {
  margin: 0;
  font-size: 1.25rem;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.page-cart-total span {
  font-weight: 500;
  font-size: 0.95rem;
  color: #6b7280;
}

.page-cart-update {
  margin: 0;
}

.page-cart-checkout-wrap {
  margin: 1.5rem 0 0;
  text-align: center;
}

@media (max-width: 640px) {
  .page-cart-table th:nth-child(3),
  .page-cart-table td:nth-child(3) {
    text-align: right;
  }

  .page-cart-footer {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Ürün detay (React ProductDetail referansı) */
.page-product {
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.page-product-alert {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.95rem;
}

.page-product-breadcrumb {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.page-product-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}

.page-product-breadcrumb a:hover {
  color: #7c3aed;
  text-decoration: underline;
}

.page-product-breadcrumb__sep {
  margin: 0 0.35rem;
  color: #d1d5db;
}

.page-product-breadcrumb__current {
  color: #111827;
  font-weight: 500;
}

.page-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 1024px) {
  .page-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.page-product-main {
  aspect-ratio: 1;
  background: #f3f4f6;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.page-product-main__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-product-main__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 800;
  color: #d1d5db;
  background: linear-gradient(145deg, #f3f4f6, #e5e7eb);
}

.page-product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.page-product-thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f3f4f6;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.page-product-thumb:hover,
.page-product-thumb.is-active {
  border-color: #4f46e5;
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.25);
}

.page-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-product-thumb__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-weight: 700;
  color: #9ca3af;
  font-size: 1.25rem;
}

.page-product-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.page-product-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.page-product-title-row .page-product-title {
  flex: 1;
  min-width: min(100%, 12rem);
  margin: 0;
}

.page-product-brand-logo {
  flex-shrink: 0;
  padding: 0.35rem 0.6rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.page-product-brand-logo img {
  display: block;
  max-height: 3rem;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
}

.page-product-brand-logo--text {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #374151;
  line-height: 1.2;
  max-width: 10rem;
  text-align: center;
}

.page-product-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 800;
  color: #111827;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-product-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.page-product-star {
  color: #d1d5db;
  flex-shrink: 0;
}

.page-product-star--on {
  color: #facc15;
}

.page-product-rating__text {
  margin-left: 0.35rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.page-product-prices {
  margin-bottom: 1.5rem;
}

.page-product-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.page-product-price {
  font-size: 1.875rem;
  font-weight: 800;
  color: #111827;
  font-variant-numeric: tabular-nums;
}

.page-product-price-old {
  font-size: 1.25rem;
  color: #9ca3af;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.page-product-stock {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.page-product-stock--ok {
  color: #16a34a;
}

.page-product-stock--no {
  color: #dc2626;
}

.page-product-lead {
  color: #374151;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.page-product-desc {
  margin-bottom: 1.5rem;
  color: #4b5563;
  line-height: 1.65;
}

/* Tam açıklama: galeri + sağ sütunun altında tam genişlik */
.page-product-body {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid #e5e7eb;
}

.page-product-body__title {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  color: #111827;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.page-product-body .page-product-desc {
  margin-bottom: 0;
}

.page-product-seo-support {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid #e5e7eb;
  color: #4b5563;
  line-height: 1.7;
  font-size: 0.95rem;
}

.page-product-seo-support__title {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  color: #111827;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.page-product-seo-support__lead,
.page-product-seo-support__nav {
  margin: 0 0 0.85rem;
}

.page-product-seo-support__nav a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-product-seo-support__nav a:hover {
  color: #1d4ed8;
}

.page-product-seo-support p {
  margin: 0 0 0.85rem;
}

.page-product-seo-support__subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 1.35rem 0 0.65rem;
}

.page-product-seo-support__list {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  list-style: disc;
}

.page-product-seo-support__list li {
  margin: 0.35rem 0;
}

.page-product-seo-support__foot {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  font-size: 0.8125rem;
}

.page-product-desc ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin: 0.75rem 0 1rem;
}

.page-product-desc ol {
  list-style: decimal;
  padding-left: 1.35rem;
  margin: 0.75rem 0 1rem;
}

.page-product-desc li {
  margin: 0.35rem 0;
}

.page-product-desc h2,
.page-product-desc h3,
.page-product-desc h4,
.page-product-desc h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
  color: #111827;
}

.page-product-desc p {
  margin: 0 0 0.75rem;
}

.page-product-desc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0.75rem 0;
}

.page-product-desc th,
.page-product-desc td {
  border: 1px solid #e5e7eb;
  padding: 0.4rem 0.5rem;
  text-align: left;
}

.page-product-external-hint {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.page-product-field {
  margin-bottom: 1.5rem;
}

.page-product-label {
  display: block;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.page-product-field:has(.page-product-qty) {
  margin-bottom: 1.15rem;
}

.page-product-field:has(.page-product-qty) .page-product-label {
  font-size: 0.8125rem;
  margin-bottom: 0.4rem;
}

.page-product-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.page-product-qty-btn {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1d5db;
  border-radius: 0.35rem;
  background: #fff;
  color: #374151;
  cursor: pointer;
  transition: background 0.2s;
}

.page-product-qty-btn svg {
  width: 14px;
  height: 14px;
}

.page-product-qty-btn:hover {
  background: #f9fafb;
}

.page-product-qty-input {
  width: 2.25rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  background: transparent;
  color: #111827;
  -moz-appearance: textfield;
}

.page-product-qty-input::-webkit-outer-spin-button,
.page-product-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.page-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  align-items: stretch;
  justify-content: flex-start;
}

.page-product-add {
  flex: 0 1 auto;
  width: fit-content;
  max-width: 13rem;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

/* Ürün sayfasında mor yerine mavi */
.page-product .page-product-add.home-btn--primary {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.page-product .page-product-add.home-btn--primary:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(29, 78, 216, 0.35);
}

.page-product-add__icon {
  flex-shrink: 0;
}

.page-product-wa {
  flex: 0 1 auto;
  width: fit-content;
  max-width: 15rem;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.page-product-wa:hover {
  background: #1eb85a;
  color: #fff;
  text-decoration: none;
}

.page-product-wa__icon {
  flex-shrink: 0;
}

.page-product-features {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-product-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.5;
}

.page-product-feature__icon {
  flex-shrink: 0;
  color: #6b7280;
  margin-top: 0.1rem;
}
