/* ============================================================
   Alanya Kumsal Çiçekevi — tasarım sistemi
   Marka rengi: canlı pembe/magenta
   ============================================================ */

:root {
  --brand: #e11d74;
  --brand-dark: #c01561;
  --brand-light: #f472a6;
  --brand-soft: #fce7f0;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --success: #16a34a;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --radius-card: 0.9rem;
  --radius-lg: 0.6rem;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 4px 14px rgba(16, 24, 40, .09);
  --shadow-lg: 0 10px 30px rgba(16, 24, 40, .14);
  --font-sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Sıfırlama ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
.ico { flex: none; display: inline-block; vertical-align: middle; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Izgara ve esnek kutu cocuklarinin daralabilmesi — dar ekranda tasmayi onler */
.product-grid > *, .cart-layout > *, .pd-grid > *, .contact-grid > *,
.shop-layout > *, .trust > *, .footer-grid > *, .auth-wrap > * { min-width: 0; }

/* ---------- Sayfa iskeleti ---------- */
.site-body { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1 1 auto; }
.container-page {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1rem;
}
.section { padding-block: 2.5rem; }
.section-sm { padding-block: 1.5rem; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
}
.section-title { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.page-title { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.page-sub { margin-top: .25rem; font-size: .875rem; color: var(--muted); }
.muted { color: var(--muted); }
.text-brand { color: var(--brand); }
.strong { font-weight: 600; color: var(--ink); }
.center { text-align: center; }

.thin-scroll { scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.thin-scroll::-webkit-scrollbar { width: 6px; height: 6px; }
.thin-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.thin-scroll::-webkit-scrollbar-track { background: transparent; }

.clamp-2 {
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Görsel / yer tutucu ---------- */
.media-img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--brand-soft), #fce7f3 55%, #fbcfe8);
  color: var(--brand-light);
}
.media-placeholder svg { width: 33%; height: 33%; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .625rem 1.25rem;
  border-radius: var(--radius-lg);
  font-weight: 600; font-size: .9375rem; line-height: 1.2;
  transition: background .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover:not(:disabled) { background: var(--brand-dark); }
.btn-outline { border: 1px solid var(--brand); color: var(--brand); background: #fff; }
.btn-outline:hover:not(:disabled) { background: var(--brand-soft); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover:not(:disabled) { background: var(--bg-alt); border-color: var(--brand); }
.btn-danger { color: #dc2626; }
.btn-danger:hover { background: #fef2f2; }
.btn-block { width: 100%; }
.btn-lg { padding: .8125rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: .4375rem .875rem; font-size: .8125rem; }
.btn-white { background: #fff; color: #1da851; }
.btn-white:hover { background: rgba(255, 255, 255, .9); }
.btn-icon { padding: .375rem; border-radius: var(--radius-lg); }

/* ---------- Kartlar ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.card-pad { padding: 1.25rem; }
.card-pad-lg { padding: 1.5rem; }
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem; border-bottom: 1px solid var(--line);
  font-weight: 600; color: var(--ink);
}
.empty-box {
  border: 1px dashed var(--line);
  border-radius: var(--radius-card);
  padding: 4rem 1rem;
  text-align: center;
  color: var(--muted);
}

/* ---------- Formlar ---------- */
.field { margin-bottom: 1rem; }
.field:last-child { margin-bottom: 0; }
.label {
  display: block; margin-bottom: .375rem;
  font-size: .875rem; font-weight: 500; color: var(--ink);
}
.label-sm { font-size: .75rem; }
.input, .textarea, .select {
  width: 100%;
  padding: .625rem .75rem;
  font-size: .875rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  outline: none;
  transition: border-color .15s ease;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--brand); }
.textarea { resize: vertical; min-height: 5rem; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .625rem center;
  padding-right: 2.25rem;
}
.input-group {
  display: flex; align-items: center; gap: .5rem;
  padding: .625rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: border-color .15s ease;
}
.input-group:focus-within { border-color: var(--brand); }
.input-group .ico { color: var(--muted); }
.input-group .ico-brand { color: var(--brand); }
.input-group input, .input-group select {
  width: 100%; border: 0; outline: none; background: transparent; font-size: .875rem;
}
.input-group select { appearance: none; }
.check {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: var(--ink); cursor: pointer;
}
.check input[type="checkbox"], .check input[type="radio"] {
  width: 1rem; height: 1rem; accent-color: var(--brand); cursor: pointer; margin: 0; flex: none;
}
.check-start { align-items: flex-start; }
.check-start input { margin-top: .1875rem; }
.form-error {
  margin-top: .25rem;
  font-size: .875rem;
  color: #dc2626;
}
.form-alert {
  display: flex; align-items: flex-start; gap: .5rem;
  padding: .75rem .875rem; margin-bottom: 1rem;
  border-radius: var(--radius-lg);
  font-size: .875rem;
}
.form-alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.form-alert-ok { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.form-hint { margin-top: .375rem; font-size: .75rem; color: var(--muted); }
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-2 .col-full { grid-column: 1 / -1; } }

/* ============================================================
   ÜST BAŞLIK (HEADER)
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-top {
  display: flex; align-items: center; gap: .75rem;
  padding-block: .75rem;
}
.mobile-toggle { display: inline-flex; color: var(--ink); }
.logo { display: flex; align-items: center; gap: .5rem; flex: none; }
.logo img { height: 3.5rem; width: auto; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: 1.25rem; font-weight: 700; color: var(--brand); }
.logo-sub { font-size: .625rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); }

.search-form { position: relative; display: none; flex: 1 1 auto; max-width: 36rem; margin-inline: auto; }
.search-form input {
  width: 100%;
  padding: .625rem 3rem .625rem 1.25rem;
  font-size: .875rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
}
.search-form input:focus { border-color: var(--brand); }
.search-form button {
  position: absolute; right: .375rem; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 999px; color: var(--muted);
}
.search-form button:hover { color: var(--brand); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; color: var(--ink); }
.action-link {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: .125rem; font-size: .6875rem; text-align: center;
}
.action-link:hover { color: var(--brand); }
.action-link .icon-wrap { position: relative; display: block; }
.action-link .label { display: none; }
.action-user { display: none; align-items: center; gap: .25rem; font-size: .75rem; }
.action-user .name { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.count-badge {
  position: absolute; top: -.5rem; right: -.5rem;
  display: flex; align-items: center; justify-content: center;
  min-width: 1rem; height: 1rem; padding-inline: .25rem;
  background: var(--brand); color: #fff;
  font-size: .625rem; font-weight: 700; line-height: 1;
  border-radius: 999px;
}
.count-badge[data-count="0"] { display: none; }

.nav-bar { display: none; border-top: 1px solid var(--line); }
.nav-list {
  display: flex; align-items: center; gap: 1.5rem;
  padding-block: .625rem;
  overflow-x: auto;
  font-size: .875rem; font-weight: 500;
}
.nav-list a { white-space: nowrap; }
.nav-list a:hover, .nav-list a.is-active { color: var(--brand); }

.mobile-menu { border-top: 1px solid var(--line); background: #fff; }
.mobile-menu .search-form { display: flex; max-width: none; margin: 0; padding: .75rem; }
.mobile-menu .search-form input { width: 100%; }
.mobile-menu .search-form button { right: 1.125rem; }
.mobile-links { display: flex; flex-direction: column; gap: .25rem; padding: 0 .75rem .75rem; font-size: .875rem; }
.mobile-links a { padding-block: .5rem; }
.mobile-links a:hover { color: var(--brand); }
.mobile-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  margin-top: .5rem; padding-top: .75rem; border-top: 1px solid var(--line);
}
.mobile-foot .phone { margin-left: auto; display: flex; align-items: center; gap: .25rem; color: var(--brand); font-weight: 600; }

@media (min-width: 640px) {
  .action-link .label { display: block; }
  .action-user { display: flex; }
}
@media (min-width: 768px) { .search-form { display: flex; } }
@media (min-width: 1024px) {
  .mobile-toggle { display: none; }
  .nav-bar { display: block; }
  .mobile-menu { display: none !important; }
}

/* ============================================================
   KATEGORİ ŞERİDİ
   ============================================================ */
.cat-strip { background: #fff; border-bottom: 1px solid var(--line); }
.cat-strip-inner {
  display: flex; gap: 1rem;
  padding-block: 1.25rem;
  overflow-x: auto;
}
.cat-item {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  width: 76px; flex: none; text-align: center;
}
.cat-ring {
  display: block; padding: 3px; border-radius: 999px;
  background: linear-gradient(to top right, #fbbf24, var(--brand), #c026d3);
  transition: transform .15s ease;
}
.cat-item:hover .cat-ring { transform: scale(1.05); }
.cat-ring-inner { display: block; padding: 2.5px; background: #fff; border-radius: 999px; }
.cat-avatar { display: block; width: 68px; height: 68px; overflow: hidden; border-radius: 999px; }
.cat-name {
  font-size: .6875rem; font-weight: 500; line-height: 1.2; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cat-item:hover .cat-name { color: var(--brand); }
@media (min-width: 640px) { .cat-strip-inner { gap: 1.25rem; } }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.hero-track { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-active { display: grid; align-items: stretch; }
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-soft), #ffffff 55%, #fdf2f8);
  order: 2;
}
.hero-badge {
  align-self: center;
  margin-bottom: .75rem;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: rgba(225, 29, 116, .1);
  color: var(--brand);
  font-size: .75rem; font-weight: 500;
}
.hero-title {
  font-size: 1.5rem; font-weight: 700; line-height: 1.2;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--ink);
}
.hero-sub {
  margin: .75rem auto 0; max-width: 28rem;
  font-size: .875rem; color: var(--muted);
}
.hero-cta { margin: 1.5rem auto 0; padding: .75rem 1.75rem; }
.hero-media { position: relative; height: 16rem; overflow: hidden; order: 1; }
.hero-media .media-img, .hero-media .media-placeholder { transition: transform .7s ease; }
.hero-fade {
  display: none; position: absolute; inset-block: 0; left: 0; width: 6rem;
  background: linear-gradient(to right, rgba(253, 242, 248, .8), transparent);
  pointer-events: none;
}
.hero-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.hero-nav:hover { background: #fff; }
.hero-prev { left: .75rem; }
.hero-next { right: .75rem; }
.hero-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem; z-index: 2;
}
.hero-dot {
  width: .5rem; height: .5rem;
  background: rgba(225, 29, 116, .4);
  border-radius: 999px;
  transition: all .2s ease;
}
.hero-dot.is-active { width: 1.5rem; background: var(--brand); }
@media (min-width: 768px) {
  .hero-slide.is-active { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-text { order: 1; padding: 5rem 3.5rem; }
  .hero-media { order: 2; height: 26rem; }
  .hero-title { font-size: 2.25rem; }
  .hero-sub { font-size: 1rem; }
  .hero-fade { display: block; }
}

/* ============================================================
   GÜVEN ROZETLERİ
   ============================================================ */
.trust {
  display: grid; gap: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.trust-item { display: flex; align-items: center; gap: .75rem; }
.trust-icon {
  display: flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; flex: none;
  background: var(--brand-soft); color: var(--brand);
  border-radius: 999px;
}
.trust-item p:first-of-type { font-size: .875rem; font-weight: 600; color: var(--ink); }
.trust-item p:last-of-type { font-size: .75rem; color: var(--muted); }
@media (min-width: 640px) { .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ============================================================
   ÜRÜN KARTI
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.product-card {
  display: flex; flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  transition: box-shadow .2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); }
.pc-media {
  position: relative; display: block;
  aspect-ratio: 1 / 1; overflow: hidden;
}
.pc-media-inner { width: 100%; height: 100%; transition: transform .3s ease; }
.product-card:hover .pc-media-inner { transform: scale(1.05); }
.pc-badges {
  position: absolute; left: .5rem; top: .5rem; z-index: 2;
  display: flex; flex-direction: column; gap: .25rem;
}
.badge {
  padding: .125rem .5rem;
  border-radius: .375rem;
  font-size: .75rem; font-weight: 600; color: #fff;
  box-shadow: var(--shadow-sm);
}
.badge-discount { background: var(--brand); }
.badge-today { position: absolute; right: .5rem; top: .5rem; z-index: 2; background: var(--success); }
.badge-ink { background: var(--ink); }
.badge-success { background: var(--success); }
.pc-oos {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .7);
  font-size: .875rem; font-weight: 600; color: var(--ink);
}
.pc-body { display: flex; flex: 1 1 auto; flex-direction: column; padding: .75rem; }
.pc-title {
  min-height: 2.6rem;
  font-size: .875rem; font-weight: 500; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-title:hover { color: var(--brand); }
.pc-brand { margin-top: .25rem; font-size: .75rem; color: var(--muted); }
.pc-foot {
  margin-top: auto; padding-top: .75rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem;
}
.pc-prices { display: flex; flex-direction: column; }
.price-old { font-size: .75rem; color: var(--muted); text-decoration: line-through; }
.price { font-size: 1rem; font-weight: 700; color: var(--brand); }
.pc-actions { display: flex; align-items: center; gap: .375rem; }
.btn-fav {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; flex: none;
  background: #fff; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  transition: all .15s ease;
}
.btn-fav:hover { color: var(--brand); }
.btn-fav.is-active { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.btn-fav.is-active .ico { fill: currentColor; }
.btn-cart {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; flex: none;
  background: var(--brand); color: #fff;
  border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: background .15s ease;
}
.btn-cart:hover:not(:disabled) { background: var(--brand-dark); }
.btn-cart:disabled { opacity: .4; cursor: not-allowed; }
.btn-cart .ico-check { display: none; }
.btn-cart.is-added .ico-cart { display: none; }
.btn-cart.is-added .ico-check { display: block; }
.btn-cart-full .ico-check { display: none; }
.btn-cart-full.is-added .ico-cart { display: none; }
.btn-cart-full.is-added .ico-check { display: inline-block; }

/* ============================================================
   ÜRÜN LİSTESİ (filtreler)
   ============================================================ */
.shop-layout { display: flex; flex-direction: column; gap: 2rem; }
.filters { width: 100%; flex: none; display: flex; flex-direction: column; gap: 1.5rem; }
.filter-box { padding: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); }
.filter-title { margin-bottom: .75rem; font-weight: 600; color: var(--ink); }
.filter-list { max-height: 20rem; overflow-y: auto; font-size: .875rem; }
.filter-list li + li { margin-top: .25rem; }
.filter-list a {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .375rem .5rem; border-radius: .375rem; color: var(--ink);
}
.filter-list a:hover { background: var(--brand-soft); }
.filter-list a.is-active { font-weight: 600; color: var(--brand); }
.filter-list .count { font-size: .75rem; color: var(--muted); }
.price-range { display: flex; align-items: center; gap: .5rem; }
.price-range input { width: 100%; padding: .375rem .5rem; font-size: .875rem; border: 1px solid var(--line); border-radius: .375rem; outline: none; }
.price-range input:focus { border-color: var(--brand); }
.shop-main { flex: 1 1 auto; min-width: 0; }
.shop-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem; margin-bottom: 1rem; padding-bottom: .75rem;
  border-bottom: 1px solid var(--line);
  font-size: .875rem; color: var(--muted);
}
.sort-select { display: flex; align-items: center; gap: .5rem; }
.sort-select select { padding: .5rem .75rem; padding-right: 2.25rem; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 2rem; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 2.25rem; height: 2.25rem; padding-inline: .5rem;
  font-size: .875rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink); background: #fff;
}
.pagination a:hover { border-color: var(--brand); }
.pagination .is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (min-width: 1024px) {
  .shop-layout { flex-direction: row; }
  .filters { width: 16rem; }
}
@media (min-width: 1280px) { .shop-main .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ============================================================
   ÜRÜN DETAY
   ============================================================ */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .375rem;
  margin-bottom: 1.25rem; font-size: .75rem; color: var(--muted);
}
.breadcrumb a:hover { color: var(--brand); }
.pd-grid { display: grid; gap: 2rem; }
.pd-figure {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
}
.pd-flags {
  position: absolute; left: .75rem; top: .75rem; z-index: 2;
  display: flex; flex-direction: column; gap: .5rem; align-items: flex-start;
}
.pd-flags .badge { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .5rem; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-top: .75rem; }
.pd-thumb { aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); cursor: pointer; }
.pd-thumb.is-active { border-color: var(--brand); }
.pd-title { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.pd-brand { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; font-size: .875rem; color: var(--muted); }
.pd-prices { display: flex; align-items: flex-end; gap: .75rem; margin-top: 1rem; }
.pd-price-old { font-size: 1.125rem; color: var(--muted); text-decoration: line-through; }
.pd-price { font-size: 1.875rem; font-weight: 700; color: var(--brand); }
.divider { height: 1px; background: var(--line); margin-block: 1.25rem; }
.pd-panel { display: flex; flex-direction: column; gap: 1.25rem; }
.day-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.day-btn {
  padding: .625rem .75rem; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .15s ease, background .15s ease;
}
.day-btn:hover { border-color: var(--brand); }
.day-btn.is-active { border-color: var(--brand); background: var(--brand-soft); }
.day-btn .day-label { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); }
.day-btn.is-active .day-label { color: var(--brand); }
.day-btn .day-date { font-size: .75rem; color: var(--muted); }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.qty button {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; color: var(--muted);
}
.qty button:hover { color: var(--brand); }
.qty .qty-value { width: 2.5rem; text-align: center; font-size: .875rem; font-weight: 600; }
.qty-sm button { width: 2rem; height: 2rem; }
.qty-sm .qty-value { width: 2rem; }
.tabs { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card); }
.tab-list { display: flex; border-bottom: 1px solid var(--line); }
.tab-btn {
  padding: .75rem 1.25rem;
  font-size: .875rem; font-weight: 500; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tab-btn.is-active { color: var(--brand); border-bottom-color: var(--brand); }
.tab-panel {
  padding: 1.25rem;
  font-size: .875rem; line-height: 1.7; color: rgba(31, 41, 55, .8);
  white-space: pre-line;
}
.seo-box {
  margin-top: 2rem; padding: 1.5rem;
  background: rgba(252, 231, 240, .4);
  border-radius: var(--radius-card);
  font-size: .875rem; line-height: 1.7; color: rgba(31, 41, 55, .8);
  white-space: pre-line;
}
@media (min-width: 640px) { .day-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ============================================================
   SEPET
   ============================================================ */
.cart-layout { display: grid; gap: 2rem; }
.cart-items { display: flex; flex-direction: column; gap: .75rem; }
.cart-item {
  display: flex; gap: 1rem; padding: .75rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
}
.cart-thumb { width: 6rem; height: 6rem; flex: none; overflow: hidden; border-radius: var(--radius-lg); }
.cart-info { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.cart-name { font-size: .875rem; font-weight: 500; color: var(--ink); }
.cart-name:hover { color: var(--brand); }
.cart-price { margin-top: .25rem; font-size: .875rem; font-weight: 700; color: var(--brand); }
.cart-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.cart-remove { display: inline-flex; align-items: center; gap: .25rem; font-size: .75rem; color: var(--muted); }
.cart-remove:hover { color: var(--brand); }
.cart-line-total { display: none; flex: none; text-align: right; font-weight: 700; color: var(--ink); }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-size: .875rem; color: var(--muted); }
.summary-row + .summary-row { margin-top: .375rem; }
.summary-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: .5rem; padding-top: .5rem;
  border-top: 1px solid var(--line);
  font-size: 1rem; font-weight: 700; color: var(--ink);
}
.summary-total span:last-child { color: var(--brand); }
.pay-option {
  display: flex; align-items: center; gap: .5rem;
  padding: .625rem .75rem;
  border: 1px solid var(--brand);
  background: rgba(252, 231, 240, .4);
  border-radius: var(--radius-lg);
  font-size: .875rem;
}
.block-top { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.bank-box {
  margin-top: 1.5rem; padding: 1.25rem;
  text-align: left;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-card);
}
.bank-box h3 { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); }
.bank-list { margin-top: .75rem; font-size: .875rem; }
.bank-list > div { display: flex; justify-content: space-between; gap: .75rem; }
.bank-list > div + div { margin-top: .375rem; }
.bank-list dt { color: var(--muted); }
.bank-list dd { margin: 0; font-weight: 500; color: var(--ink); text-align: right; }
.bank-list dd.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.success-card { max-width: 32rem; margin-inline: auto; padding: 2rem; text-align: center; }
.success-card .success-icon { margin: 0 auto 1rem; color: var(--success); }
@media (min-width: 640px) { .cart-line-total { display: block; } }
@media (min-width: 1024px) {
  .cart-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cart-col-main { grid-column: span 2 / span 2; }
}

/* ============================================================
   İLETİŞİM
   ============================================================ */
.contact-page { background: var(--bg-alt); }
.contact-grid { display: grid; gap: 1.5rem; }
.contact-card {
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: 1.75rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: var(--radius-card);
}
.contact-card h2 { font-size: 1.125rem; font-weight: 700; }
.info-row { display: flex; gap: .75rem; }
.info-icon {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; flex: none;
  background: rgba(255, 255, 255, .2); border-radius: 999px;
}
.info-row .info-label { font-size: .875rem; font-weight: 600; }
.info-row .info-value { font-size: .875rem; color: rgba(255, 255, 255, .9); }
.info-row a.info-value:hover { text-decoration: underline; }
.map-frame { margin-top: 2rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-card); }
.map-frame iframe { width: 100%; height: 20rem; border: 0; }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .contact-col-info { grid-column: span 2 / span 2; }
  .contact-col-form { grid-column: span 3 / span 3; }
}

/* ============================================================
   GİRİŞ / KAYIT
   ============================================================ */
.auth-wrap {
  display: grid; max-width: 56rem; margin-inline: auto; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.auth-visual {
  display: none; position: relative;
  flex-direction: column; justify-content: flex-end;
  padding: 2rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-light) 60%, #f9a8d4);
}
.auth-visual .deco { position: absolute; right: 1.5rem; top: 1.5rem; width: 6rem; height: 6rem; color: rgba(255, 255, 255, .25); }
.auth-visual h2 { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.auth-visual p { margin-top: .5rem; color: rgba(255, 255, 255, .9); }
.auth-form { padding: 2rem; }
.auth-form h1 { font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.auth-form .lead { margin-top: .25rem; font-size: .875rem; color: var(--muted); }
.auth-links { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.auth-foot { margin-top: 1.25rem; text-align: center; font-size: .875rem; color: var(--muted); }
.auth-foot a { font-weight: 600; color: var(--brand); }
.auth-foot a:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .auth-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auth-visual { display: flex; }
}

/* ============================================================
   HESABIM
   ============================================================ */
.account-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 2rem;
}
.order-card { padding: 1.25rem; }
.order-card-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line);
}
.order-lines { margin-top: .75rem; font-size: .875rem; color: rgba(31, 41, 55, .8); }
.order-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.order-lines li + li { margin-top: .25rem; }
.order-total {
  display: flex; justify-content: space-between;
  margin-top: .75rem; padding-top: .75rem;
  border-top: 1px solid var(--line);
  font-weight: 700; color: var(--ink);
}
.pill {
  display: inline-block; padding: .25rem .75rem;
  border-radius: 999px; font-size: .75rem; font-weight: 500;
  background: var(--brand-soft); color: var(--brand);
}

/* ============================================================
   WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem;
  background: #25d366; color: #fff;
  border-radius: 999px; box-shadow: var(--shadow-lg);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 1.75rem; height: 1.75rem; }
.wa-section { padding-block: 2.5rem; }
.wa-box {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  padding: 2rem; text-align: center;
  color: #fff;
  background: linear-gradient(to right, #25d366, #1da851);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.wa-lead { display: flex; align-items: center; gap: 1rem; }
.wa-icon {
  display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; flex: none;
  background: rgba(255, 255, 255, .2); border-radius: 999px;
}
.wa-box h2 { font-size: 1.25rem; font-weight: 700; }
.wa-box p { margin-top: .25rem; font-size: .875rem; color: rgba(255, 255, 255, .9); }
@media (min-width: 768px) {
  .wa-box { flex-direction: row; justify-content: space-between; text-align: left; }
  .wa-box h2 { font-size: 1.5rem; }
}

/* ============================================================
   ALT BİLGİ (FOOTER)
   ============================================================ */
.footer { margin-top: 4rem; background: #fff; border-top: 1px solid var(--line); }
.footer-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem; padding-block: 3rem;
}
.footer-title {
  margin-bottom: 1rem;
  font-size: .875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; color: var(--ink);
}
.footer-list { font-size: .875rem; color: var(--muted); }
.footer-list li + li { margin-top: .5rem; }
.footer-list a:hover { color: var(--brand); }
.social { display: flex; gap: .75rem; margin-bottom: 1.25rem; }
.social a, .social span {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  background: var(--brand-soft); color: var(--brand);
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.social a:hover { background: var(--brand); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-phone { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--brand); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: .5rem; padding-block: 1.25rem;
  font-size: .75rem; color: var(--muted); text-align: center;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .footer-bottom-inner { flex-direction: row; text-align: left; }
}

/* ============================================================
   STATİK SAYFA / 404
   ============================================================ */
.prose { max-width: 48rem; margin-inline: auto; }
.prose h1 { margin-bottom: 1.5rem; font-size: 1.875rem; font-weight: 700; color: var(--ink); }
.prose-body { line-height: 1.8; color: rgba(31, 41, 55, .8); white-space: pre-line; }
.notfound { padding-block: 5rem; text-align: center; }
.notfound .code { font-size: 4rem; font-weight: 700; color: var(--brand); line-height: 1; }
.notfound h1 { margin-top: .75rem; font-size: 1.5rem; font-weight: 700; color: var(--ink); }
.notfound p { margin-top: .5rem; color: var(--muted); }
