:root {
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-subtle: #f1f5f9;
  --accent: #0f172a;
  --accent-hover: #1e293b;
  --bolero-brown: #4a3728;
  --bolero-brown-hover: #3d2e22;
  --success: #059669;
  --success-bg: #ecfdf5;
  --error: #dc2626;
  --error-bg: #fef2f2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 24px rgba(15, 23, 42, 0.08);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-page);
}

body.corp-store {
  display: flex;
  flex-direction: column;
}

a {
  color: var(--navy-soft);
  text-decoration: none;
}
a:hover {
  color: var(--navy);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1240px, 92vw);
  margin-left: auto;
  margin-right: auto;
}

.container-wide {
  width: min(1440px, 94vw);
  margin-left: auto;
  margin-right: auto;
}

/* Mağaza: üst şerit, ürün listesi, sepet, hesap vb. tek hizada geniş düzen */
body.corp-store .container,
body.corp-store .container-wide {
  width: min(1720px, 96vw);
}

.main-flash-wrap {
  padding: 0.75rem 0 0;
}

/* ——— Üst duyuru şeridi ——— */
.announcement-bar {
  background: var(--navy);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.announcement-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 38px;
  gap: 0.75rem;
}

.announcement-social {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

.announcement-social a,
.announcement-social-icon {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.announcement-social-icon:hover {
  color: #fff;
  opacity: 1;
}

.announcement-social-placeholder {
  width: 1px;
  height: 1px;
  opacity: 0;
}

.announcement-msg {
  margin: 0;
  text-align: center;
  padding: 0.5rem 0;
}

.announcement-spacer {
  min-width: 0;
}

@media (max-width: 640px) {
  .announcement-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .announcement-social {
    justify-content: center;
    order: 2;
  }
  .announcement-msg {
    order: 1;
  }
  .announcement-spacer {
    display: none;
  }
}

/* ——— Bolero tarzı header: sol menü | logo | arama + ikonlar ——— */
.bolero-desktop-only {
  display: flex;
}

.bolero-mobile-only {
  display: none;
}

.site-header-bolero {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.bolero-header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 0.85rem 0;
  min-height: 72px;
}

.bolero-nav-left {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  min-width: 0;
}

.bolero-nav-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--navy);
  text-decoration: none;
  padding: 0.4rem 0.45rem;
  white-space: nowrap;
}
.bolero-nav-link:hover {
  color: var(--bolero-brown);
  text-decoration: none;
}

.bolero-nav-link.has-chevron::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  vertical-align: 0.15em;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid var(--text-muted);
}

.bolero-nav-item {
  position: relative;
}

button.bolero-nav-link.bolero-nav-trigger {
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--navy);
  padding: 0.4rem 0.45rem;
  white-space: nowrap;
}

button.bolero-nav-link.bolero-nav-trigger:hover {
  color: var(--bolero-brown);
}

.bolero-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.15rem;
  min-width: min(280px, 92vw);
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: 0.5rem 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 120;
}

.bolero-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: normal;
}

.bolero-dropdown a:hover {
  background: var(--bg-subtle);
  color: var(--bolero-brown);
  text-decoration: none;
}

.bolero-dropdown-empty {
  display: block;
  padding: 0.5rem 1rem;
}

.bolero-nav-item:hover .bolero-dropdown,
.bolero-nav-item:focus-within .bolero-dropdown,
.bolero-nav-item.is-open .bolero-dropdown {
  display: block;
}

.bolero-logo-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
  text-align: center;
  justify-self: center;
}
.bolero-logo-center:hover {
  text-decoration: none;
  color: var(--navy);
}

.bolero-logo-mark {
  font-size: 0.65rem;
  line-height: 1;
  color: #c02626;
  margin-bottom: 0.1rem;
}

.bolero-logo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  letter-spacing: 0.02em;
}

.bolero-logo-tag {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.bolero-utilities {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  min-width: 0;
}

.bolero-search-wrap {
  position: relative;
  min-width: 0;
}

.bolero-search-drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 250;
  max-height: min(70vh, 380px);
  overflow-y: auto;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.bolero-search-drop[hidden] {
  display: none !important;
}

.bolero-search-drop-status {
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.bolero-search-drop-status--loading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.bolero-live-search-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--bolero-brown);
  animation: page-spin 0.68s linear infinite;
  flex-shrink: 0;
}

.bolero-search-drop-err {
  color: var(--error);
}

.bolero-search-drop-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.bolero-search-drop-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.bolero-search-drop-item:last-of-type {
  border-bottom: none;
}

.bolero-search-drop-item:hover {
  background: var(--bg-subtle);
  text-decoration: none;
  color: var(--navy);
}

.bolero-search-drop-thumb {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-subtle);
}

.bolero-search-drop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bolero-search-drop-thumb--empty {
  border: 1px dashed var(--border);
}

.bolero-search-drop-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.bolero-search-drop-name {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bolero-search-drop-cat {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.bolero-search-drop-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bolero-brown);
}

.bolero-search-drop-more {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  color: var(--navy);
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  text-decoration: none;
}

.bolero-search-drop-more:hover {
  background: var(--border);
  text-decoration: none;
  color: var(--navy);
}

.bolero-search-pill {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-subtle);
  overflow: hidden;
  max-width: 220px;
  flex: 1 1 160px;
}

.bolero-search-pill:focus-within {
  border-color: var(--border-strong);
  background: var(--bg-white);
}

.bolero-search-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 38px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
}

.bolero-search-pill input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.5rem 0.75rem 0.5rem 0;
  font-size: 0.875rem;
  min-width: 0;
}
.bolero-search-pill input:focus {
  outline: none;
}

.bolero-icon-actions {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
}

.bolero-ia {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.25rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  min-width: 52px;
}
.bolero-ia:hover {
  color: var(--bolero-brown);
  text-decoration: none;
}

.bolero-ia-cart-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bolero-ia-fav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bolero-ia-badge-fav {
  background: #c02626;
}

.bolero-ia-badge {
  position: absolute;
  top: -7px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
}

.bolero-burger {
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  justify-self: end;
}

.corp-burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  margin: 0 auto;
}

.bolero-mobile-drawer {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg-white);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.bolero-mobile-drawer.is-open {
  display: block;
  max-height: 80vh;
  overflow-y: auto;
}

.bolero-mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0 1rem;
  gap: 0;
}

.bolero-mobile-nav a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
}
.bolero-mobile-nav a:hover {
  color: var(--bolero-brown);
  text-decoration: none;
}

.bolero-mobile-nav-label {
  padding: 0.65rem 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.bolero-mobile-nav-label:first-child {
  padding-top: 0.25rem;
}

@media (max-width: 1100px) {
  .bolero-header-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 0.65rem;
    row-gap: 0.65rem;
    padding: 0.55rem 0 0.7rem;
    min-height: 0;
  }

  .bolero-nav-left {
    display: none !important;
  }

  .bolero-logo-center {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
  }

  .bolero-logo-mark {
    font-size: 0.55rem;
    margin-bottom: 0.05rem;
  }

  .bolero-logo-title {
    font-size: clamp(1rem, 4.5vw, 1.2rem);
    line-height: 1.15;
  }

  .bolero-logo-tag {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
    margin-top: 0.08rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bolero-burger {
    display: flex;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .bolero-utilities {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
  }

  .bolero-search-pill {
    max-width: none;
    width: 100%;
    flex: 0 0 auto;
  }

  .bolero-search-pill-btn {
    width: 38px;
    height: 36px;
  }

  .bolero-search-pill input[type="search"] {
    font-size: 0.8125rem;
    padding: 0.45rem 0.65rem 0.45rem 0;
  }

  .bolero-icon-actions {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    gap: 0.15rem;
    padding: 0 0.1rem;
  }

  .bolero-ia {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    padding: 0.15rem 0.2rem;
    font-size: 0.58rem;
    gap: 0.12rem;
  }

  .bolero-ia svg {
    width: 20px;
    height: 20px;
  }

  .bolero-ia span {
    text-align: center;
    line-height: 1.15;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bolero-mobile-only {
    display: flex;
  }

  .bolero-desktop-only {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .bolero-logo-tag {
    display: none;
  }

  .bolero-ia span {
    font-size: 0.52rem;
  }
}

@media (min-width: 1101px) {
  .bolero-burger {
    display: none;
  }
  .bolero-mobile-drawer {
    display: none !important;
  }
}

/* ——— Tam genişlik hero slider ——— */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #e8e4df;
  overflow: hidden;
}

.hero-slider-viewport {
  position: relative;
  min-height: min(72vh, 560px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  display: flex;
  align-items: stretch;
}

.hero-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-slide.theme-beige {
  background: linear-gradient(135deg, #efeae4 0%, #ddd6ce 45%, #e5e0d8 100%);
}

.hero-slide.theme-warm {
  background: linear-gradient(135deg, #f0ebe6 0%, #e0d5cb 50%, #ebe5df 100%);
}

.hero-slide.theme-slate {
  background: linear-gradient(135deg, #e8eaee 0%, #dce0e8 50%, #e2e6ed 100%);
}

.hero-slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
  padding: 2.5rem 0 3.5rem;
  min-height: min(72vh, 560px);
}

.hero-slide-copy {
  padding-right: 1rem;
  position: relative;
  z-index: 2;
}

.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  height: 5.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.hero-slide-line1 {
  margin: 0 0 0.35rem;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-slide-line2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--bolero-brown);
  letter-spacing: -0.02em;
}

.hero-slide-desc {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 28rem;
}

.hero-slide-cta {
  background: var(--bolero-brown);
  border-color: var(--bolero-brown);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
}
.hero-slide-cta:hover {
  background: var(--bolero-brown-hover);
  border-color: var(--bolero-brown-hover);
  color: #fff;
}

.hero-slide-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-photo {
  position: relative;
  max-height: min(58vh, 480px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.theme-slate .hero-slide-line2 {
  color: var(--navy);
}

.hero-slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(15, 23, 42, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-slider-dot.is-active {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.35);
  transform: scale(1.15);
}

@media (max-width: 900px) {
  .hero-slide-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem 0 4rem;
    text-align: center;
  }
  .hero-slide-copy {
    padding-right: 0;
    order: 1;
  }
  .hero-slide-visual {
    order: 2;
    min-height: 220px;
  }
  .hero-slide-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-slide-badge {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Yönetim paneli üst bar */
.site-header-admin {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  flex-wrap: wrap;
}

.site-header-admin .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  text-decoration: none;
}
.site-header-admin .logo:hover {
  text-decoration: none;
  color: var(--navy-soft);
}

.site-header-admin .main-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-header-admin .main-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}
.site-header-admin .main-nav a:hover {
  color: var(--navy);
  text-decoration: none;
}

.badge {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15em 0.45em;
  border-radius: 999px;
  vertical-align: middle;
}

.site-main {
  padding: 2rem 0 4rem;
  flex: 1;
  min-height: 50vh;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 0;
  margin-top: auto;
  background: var(--bg-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.footer-grid a {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}
.footer-grid a:hover {
  color: var(--navy);
}

.footer-copy {
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* WhatsApp */
.float-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100001;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.float-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  color: #fff;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
  color: #fff;
}

.btn-ghost {
  background: var(--bg-white);
  border-color: var(--border);
  color: var(--navy);
}
.btn-ghost:hover {
  background: var(--bg-subtle);
  border-color: var(--border-strong);
  color: var(--navy);
}

.btn-danger {
  background: var(--error-bg);
  border-color: #fecaca;
  color: var(--error);
}
.btn-danger:hover {
  background: #fee2e2;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.8125rem;
}

.btn-block {
  width: 100%;
}

/* Kartlar */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card-product {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.card-product:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card-product-body {
  padding: 0.65rem 0.6rem 0.7rem;
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0.35rem 0.5rem;
  background: var(--bg-white);
}

.card-product-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.card-product-cart {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.card-product-cart-form {
  margin: 0;
}

.btn-cart-inline {
  display: block;
  max-width: 5.5rem;
  padding: 0.45rem 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  border-radius: var(--radius-sm);
  white-space: normal;
  word-break: break-word;
  hyphens: auto;
  border: none;
}

@media (min-width: 480px) {
  .card-product-body {
    padding: 1rem 1.1rem 1.15rem;
    gap: 0.5rem 0.75rem;
  }

  .btn-cart-inline {
    max-width: none;
    padding: 0.5rem 0.65rem;
    font-size: 0.7rem;
    white-space: nowrap;
  }
}

.card-product h3 {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 3.4vw, 0.9375rem);
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-product h3 a {
  color: var(--navy);
  text-decoration: none;
}
.card-product h3 a:hover {
  text-decoration: underline;
  color: var(--navy);
}

.card-product .price {
  font-weight: 700;
  color: var(--navy);
  margin-top: 0;
  font-size: clamp(0.78rem, 3.2vw, 1rem);
}

.card-product-cat {
  margin: 0;
  font-size: clamp(0.65rem, 2.8vw, 0.8125rem);
  line-height: 1.2;
}

.card-product-stockout {
  display: block;
  padding: 0.35rem 0.25rem;
  text-align: center;
}

.card-product .price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
  margin-top: 0.15rem;
}

.card-product .price-row .price {
  margin-top: 0;
}

.product-pill-sale {
  display: inline-block;
  font-size: clamp(0.55rem, 2.5vw, 0.65rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2em 0.45em;
  border-radius: 4px;
  background: #fef2f2;
  color: #b91c1c;
}

.price-compare {
  font-weight: 500;
}

.fav-remove-form {
  margin-top: 0.35rem;
}

.btn-fav-remove {
  padding: 0.25rem 0.4rem !important;
  font-size: 0.65rem !important;
}

.product-thumb {
  aspect-ratio: 3 / 4;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  overflow: hidden;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.75rem;
}

@media (min-width: 700px) {
  .grid-products {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1100px) {
  .grid-products {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-head h1 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 0.875rem;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.alert-error {
  background: var(--error-bg);
  border: 1px solid #fecaca;
  color: #991b1b;
}

.alert-success {
  background: var(--success-bg);
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.form-hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.5rem 0;
}

.filters select,
.filters-wide select {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text);
  font-family: inherit;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.filters-wide {
  flex: 1;
  justify-content: flex-end;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-white);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 600;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.status-pill {
  display: inline-block;
  padding: 0.25em 0.6em;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-shipped { background: #ede9fe; color: #5b21b6; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

/* Admin */
.admin-layout {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

.admin-nav {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-nav a {
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}
.admin-nav a:hover,
.admin-nav a.is-active {
  background: var(--bg-subtle);
  color: var(--navy);
  text-decoration: none;
}

.admin-layout .admin-nav {
  min-width: 0;
}

.page-install {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg-subtle);
}

.install-wrap {
  width: min(480px, 100%);
}

.card-install h1 {
  font-family: var(--font-display);
  margin-top: 0;
  color: var(--navy);
}

.product-detail-wrap {
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.product-detail-breadcrumb {
  margin-bottom: 1.25rem;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

.product-detail .gallery {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  min-height: 320px;
  max-height: min(72vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  position: relative;
}

.product-detail-img {
  width: 100%;
  height: 100%;
  max-height: min(72vh, 640px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.product-detail-noimg {
  padding: 2rem;
  font-size: 0.95rem;
}

.product-detail-info .price {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--navy);
}

.product-detail-info h1 {
  font-size: clamp(1.35rem, 3vw, 2rem) !important;
  line-height: 1.2;
}

.product-detail-info .muted {
  font-size: 0.95rem;
  line-height: 1.6;
}

.product-detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.product-fav-form {
  margin: 0;
  flex-shrink: 0;
}

.btn-favorite {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-favorite:hover {
  color: #c02626;
  border-color: var(--border-strong);
}

.btn-favorite.is-active {
  color: #c02626;
  border-color: rgba(192, 38, 38, 0.35);
  background: #fef2f2;
}

.products-quick-links a.is-current {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.cart-table input[type="number"] {
  width: 4rem;
  padding: 0.35rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 320px);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

/* Eski header-search (ürün sayfası vb.) */
.header-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
  max-width: 320px;
}

.header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.product-search-bar label {
  margin-bottom: 0;
}

/* Hero & vitrin */
.hero {
  padding: 2.5rem 0;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
  color: var(--navy);
}

.hero p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
}

.hero-enhanced {
  padding: 2.5rem 0 2rem;
  text-align: left;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-enhanced {
    text-align: center;
  }
  .hero-copy .hero-actions {
    justify-content: center;
  }
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  line-height: 1.12;
  color: var(--navy);
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 0 1.25rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-corp-landing {
  text-align: center;
  padding: 3rem 0 2.5rem;
}

.hero-copy-centered {
  max-width: 40rem;
  margin: 0 auto;
}

.hero-copy-centered .hero-lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions-centered {
  justify-content: center;
}

.hero-panel.card {
  box-shadow: var(--shadow-md);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.hero-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}

.hero-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
  padding: 1.5rem 0;
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .trust-inner {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.trust-item strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.trust-icon {
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.7;
}

.section-block {
  padding: 2.5rem 0 0;
}

.grid-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.category-card {
  text-decoration: none;
  color: inherit;
  padding: 1.25rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border);
  background: var(--bg-white);
}
.category-card:hover {
  text-decoration: none;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.category-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.cta-banner {
  margin: 3rem auto 0;
  border: 1px solid var(--border);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-inner h2 {
  color: var(--navy);
}

.footer-grid-wide {
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.legal-doc {
  padding-bottom: 3rem;
  max-width: 52rem;
}

.legal-article .legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--navy);
}

.legal-article .legal-section p {
  margin: 0 0 0.75rem;
  color: var(--text);
}

.breadcrumb-nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99990;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

.cookie-consent-inner {
  max-width: min(1720px, 96vw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-consent-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  flex: 1;
  min-width: min(100%, 280px);
}

.cookie-consent-banner a {
  color: #fbbf24;
  text-decoration: underline;
}

.cookie-consent-banner a:hover {
  color: #fcd34d;
}

@media (max-width: 768px) {
  .footer-grid-wide {
    grid-template-columns: 1fr;
  }
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links strong {
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.admin-stat-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.admin-stat-card .admin-stat-num {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--font-display);
  margin: 0.25rem 0 0;
  color: var(--navy);
}

.admin-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .admin-two-col {
    grid-template-columns: 1fr;
  }
}

.message-unread {
  border-color: #bfdbfe;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.12);
}

body.admin-app {
  background: var(--bg-page);
}

/* ——— Admin shell (yan menü + üst çubuk) ——— */
.admin-shell {
  display: flex;
  min-height: 100vh;
  background: var(--bg-page);
}

.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar-brand {
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.admin-sidebar-logo span {
  font-weight: 500;
  opacity: 0.75;
  margin-left: 0.25rem;
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 0.75rem;
  overflow-y: auto;
}

.admin-nav-group-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.45);
  margin: 1rem 0 0.35rem 0.5rem;
  font-weight: 600;
}

.admin-sidebar-nav > .admin-nav-group-label:first-child {
  margin-top: 0;
}

.admin-sidebar-nav > a {
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  color: rgba(226, 232, 240, 0.88);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.admin-sidebar-nav > a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-sidebar-nav > a.is-active {
  background: rgba(99, 102, 241, 0.35);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.45);
}

.admin-nav-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-weight: 600;
}

.admin-main-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.75rem;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.admin-topbar-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--navy);
  font-family: var(--font-display);
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-topbar-user {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-topbar-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4f46e5;
  text-decoration: none;
}

.admin-topbar-link-muted {
  color: var(--text-muted);
}

.admin-topbar-link:hover {
  text-decoration: underline;
}

.admin-main {
  flex: 1;
  padding: 1.25rem 1.75rem 2.5rem;
}

.admin-page {
  max-width: 1200px;
}

.admin-section-head {
  margin-bottom: 1.25rem;
}

.admin-page-heading {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.admin-page-lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 52ch;
}

.admin-empty-card {
  padding: 2rem;
  text-align: center;
}

.admin-empty-text {
  margin: 0;
  color: var(--text-muted);
}

.admin-table-card {
  padding: 0;
  overflow: hidden;
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-data-table th,
.admin-data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-data-table th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--bg-subtle);
}

.admin-hero-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: block;
}

.admin-hero-thumb-placeholder {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.admin-inline-forms {
  display: inline-flex;
  gap: 0.25rem;
}

.admin-inline-form {
  display: inline;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.admin-back-row {
  margin-bottom: 1rem;
}

.admin-back-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.admin-back-link:hover {
  color: var(--navy);
}

.admin-hero-preview-card {
  padding: 1.25rem;
}

.admin-preview-title {
  margin-top: 0;
  font-size: 1rem;
}

.admin-hero-preview-img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 0.5rem;
}

.admin-app .form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.admin-app .form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.admin-app .form-check {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.admin-app .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.admin-app .text-danger {
  color: #b91c1c;
}

@media (max-width: 900px) {
  .admin-shell {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 0;
  }

  .admin-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.75rem;
  }

  .admin-sidebar-nav > a {
    flex: 1 1 auto;
    min-width: 42%;
    justify-content: center;
  }

  .admin-nav-group-label {
    width: 100%;
    margin: 0.65rem 0 0.2rem 0.25rem;
  }

  .admin-sidebar-nav > .admin-nav-group-label:first-child {
    margin-top: 0;
  }

  .admin-main {
    padding: 1rem;
  }

  .admin-topbar {
    padding: 0.75rem 1rem;
  }
}

.form-grid {
  display: grid;
  gap: 1rem;
}

/* Kurulum sayfası */
.page-install .card-install {
  background: var(--bg-white);
  border: 1px solid var(--border);
}

.about-body {
  color: var(--text-muted);
}

/* ——— Giriş / üye ol ——— */
.site-main:has(.auth-page) {
  padding-top: 0.5rem;
  padding-bottom: 0;
}

.auth-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.auth-shell {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(720px, calc(100dvh - 10rem));
}

@media (min-width: 1024px) {
  .auth-shell {
    grid-template-columns: minmax(380px, 1fr) minmax(320px, 0.95fr);
    min-height: min(760px, calc(100dvh - 9rem));
  }

  .auth-shell-register {
    grid-template-columns: minmax(400px, 1.08fr) minmax(300px, 0.92fr);
  }
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 2.5rem;
  background: var(--bg-page);
}

@media (min-width: 1024px) {
  .auth-panel {
    padding: 2.5rem 2rem 3rem;
    justify-content: flex-end;
    padding-right: clamp(1.5rem, 4vw, 3.5rem);
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-page) 100%);
    border-right: 1px solid var(--border);
  }
}

.auth-panel-inner {
  width: 100%;
  max-width: 420px;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 1.75rem;
  transition: color 0.15s ease;
}

.auth-back:hover {
  color: var(--bolero-brown);
  text-decoration: none;
}

.auth-back-icon {
  display: flex;
  opacity: 0.85;
}

.auth-header {
  margin-bottom: 1.75rem;
}

.auth-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.15;
}

.auth-lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.auth-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.auth-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.auth-optional {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
}

.auth-inline-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bolero-brown);
  text-decoration: none;
}

.auth-inline-link:hover {
  text-decoration: underline;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  z-index: 1;
}

.auth-input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-input::placeholder {
  color: #94a3b8;
}

.auth-input:hover {
  border-color: var(--border-strong);
}

.auth-input:focus {
  border-color: rgba(74, 55, 40, 0.45);
  box-shadow: 0 0 0 3px rgba(74, 55, 40, 0.12);
}

.auth-input-pad-r {
  padding-right: 3rem;
}

.auth-pass-toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.auth-pass-toggle:hover {
  color: var(--navy);
  background: var(--bg-subtle);
}

.auth-pass-toggle[aria-pressed='true'] {
  color: var(--bolero-brown);
}

.auth-pass-toggle svg[hidden] {
  display: none;
}

.auth-submit {
  width: 100%;
  margin-top: 0.35rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

.auth-legal {
  margin: -0.35rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.auth-legal a {
  color: var(--bolero-brown);
  font-weight: 600;
  text-decoration: none;
}

.auth-legal a:hover {
  text-decoration: underline;
}

.auth-switch {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-switch a {
  margin-left: 0.35rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.auth-switch a:hover {
  color: var(--bolero-brown);
  text-decoration: underline;
}

.auth-aside {
  display: none;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

@media (min-width: 1024px) {
  .auth-aside {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
  }
}

.auth-aside-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.auth-aside-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.auth-aside-glow-a {
  width: min(320px, 55vw);
  height: min(320px, 55vw);
  top: -12%;
  right: -8%;
  background: rgba(74, 55, 40, 0.55);
}

.auth-aside-glow-b {
  width: min(280px, 50vw);
  height: min(280px, 50vw);
  bottom: -15%;
  left: -10%;
  background: rgba(148, 120, 96, 0.35);
}

.auth-aside-content {
  position: relative;
  z-index: 1;
  max-width: 380px;
}

.auth-aside-brand {
  margin: 0 0 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.auth-aside-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.auth-aside-text {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.auth-aside-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.auth-aside-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.auth-aside-check {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.12rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  position: relative;
}

.auth-aside-check::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid rgba(255, 255, 255, 0.9);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ——— Hesabım (müşteri paneli) ——— */
.account-page {
  padding-bottom: 2.5rem;
}

.account-orders-page,
.account-profile-page,
.account-order-page {
  padding-bottom: 2.5rem;
}

.account-breadcrumb {
  margin-bottom: 1rem;
}

.account-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.account-breadcrumb a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.account-bc-sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.account-hero {
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-subtle) 100%);
}

@media (min-width: 900px) {
  .account-hero {
    padding: 2rem 2.25rem;
  }
}

.account-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-hero-text {
  flex: 1;
  min-width: 0;
}

.account-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.account-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.account-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  word-break: break-word;
}

.account-hero-stat {
  text-align: center;
  padding: 0.75rem 1.25rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  min-width: 88px;
}

.account-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.account-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

@media (max-width: 520px) {
  .account-hero-stat {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .account-stat-num {
    font-size: 1.35rem;
  }
}

.account-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 1100px) {
  .account-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.account-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.account-tile:hover {
  text-decoration: none;
  color: inherit;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.account-tile-accent {
  border-color: rgba(15, 23, 42, 0.12);
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
}

.account-tile-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-tile-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.account-tile-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

.account-tile-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.account-tile-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
  opacity: 0.7;
}

.account-details {
  padding: 1.35rem 1.5rem;
}

.account-profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .account-profile-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

.account-profile-card-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.account-profile-card {
  height: 100%;
}

.account-profile-password-block .account-profile-card-title {
  margin-bottom: 0.65rem;
}

.account-order-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .account-order-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.75rem;
  }
}

.account-order-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.account-order-col-main > .card,
.account-order-col-side > .card {
  width: 100%;
}

.account-details-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.account-dl {
  margin: 0;
}

.account-dl-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.5rem 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.account-dl-row:last-of-type {
  border-bottom: none;
}

.account-dl dt {
  margin: 0;
  font-weight: 600;
  color: var(--text-muted);
}

.account-dl dd {
  margin: 0;
  color: var(--navy);
  word-break: break-word;
}

@media (max-width: 480px) {
  .account-dl-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.account-details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ——— Çok adımlı ödeme & kargo zaman çizelgesi ——— */
.checkout-flow {
  padding-bottom: 1rem;
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin-bottom: 1.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}

.checkout-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.checkout-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 0.7rem;
}

.checkout-step.is-active {
  color: var(--navy);
}

.checkout-step.is-active .checkout-step-num {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.checkout-step.is-done {
  color: var(--success);
}

.checkout-step.is-done .checkout-step-num {
  background: var(--success-bg);
  border-color: var(--success);
  color: var(--success);
}

.checkout-form-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .checkout-form-row2 {
    grid-template-columns: 1fr;
  }
}

.checkout-form-row3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 520px) {
  .checkout-form-row3 {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-form-row3 label:last-child {
    grid-column: 1 / -1;
  }
}

.checkout-form-modern .checkout-btn-lg,
.checkout-pay-card .checkout-btn-lg {
  margin-top: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
}

.checkout-summary-card {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-subtle) 100%);
}

.checkout-pay-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}

.checkout-pay-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bolero-brown), var(--navy-soft), #c02626);
  opacity: 0.85;
}

.checkout-pay-badge {
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.checkout-pay-badge-inner {
  display: inline-block;
  margin-right: 0.5rem;
  padding: 0.15em 0.45em;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: middle;
}

.order-success-hero {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.order-success-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  font-size: 1.75rem;
  font-weight: 700;
}

.order-tracking-box {
  margin-top: 1.25rem;
  padding: 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-strong);
}

.order-tracking-code {
  display: block;
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  font-family: ui-monospace, monospace;
}

.order-timeline-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.order-timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.65rem 0.85rem;
  padding: 0 0 1.25rem;
}

.order-timeline-step:last-child {
  padding-bottom: 0;
}

.order-timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: -4px;
  width: 2px;
  background: var(--border);
}

.order-timeline-step.is-done:not(:last-child)::before {
  background: linear-gradient(180deg, var(--success) 0%, var(--border) 100%);
}

.order-timeline-dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--bg-white);
  justify-self: center;
}

.order-timeline-step.is-active .order-timeline-dot {
  border-color: var(--bolero-brown);
  background: var(--bolero-brown);
  box-shadow: 0 0 0 4px rgba(74, 55, 40, 0.15);
}

.order-timeline-step.is-done .order-timeline-dot {
  border-color: var(--success);
  background: var(--success);
}

.order-timeline-title {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
}

.order-timeline-step:not(.is-active):not(.is-done) .order-timeline-title {
  color: var(--text-muted);
}

.order-timeline-desc {
  margin: 0.15rem 0 0;
}

.order-timeline-hint {
  margin: 0.35rem 0 0;
  color: var(--bolero-brown);
  font-weight: 500;
}

.admin-payment-card-box {
  border: 1px solid #fecaca;
  background: linear-gradient(180deg, #fff 0%, #fef2f2 100%);
}

.admin-mono,
.admin-tracking-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9rem;
}

.admin-mono-lg {
  font-size: 1.05rem;
}

.admin-pan-block {
  padding: 1rem 1.1rem;
  background: var(--bg-white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.admin-pan-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.admin-pan-full {
  font-family: ui-monospace, Consolas, "Courier New", monospace;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy);
  word-break: break-all;
  line-height: 1.4;
}

.admin-pan-copy code {
  font-size: 0.95rem;
}

.admin-cards-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.admin-cards-table th {
  white-space: nowrap;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-cards-pan {
  min-width: 200px;
}

.admin-cards-pan-spaced {
  display: block;
  font-family: ui-monospace, Consolas, monospace;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.admin-cards-pan-raw {
  display: block;
  margin-top: 0.25rem;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
}

.admin-cards-holder {
  font-weight: 600;
  max-width: 200px;
  word-break: break-word;
}

@media (max-width: 1100px) {
  .admin-cards-table {
    font-size: 0.85rem;
  }
}

/* ——— Kargo takip sorgulama (müşteri) ——— */
.cargo-track-page {
  padding-bottom: 2.5rem;
}

.cargo-track-head {
  align-items: flex-start;
}

.cargo-track-page-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cargo-track-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .cargo-track-grid {
    grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
    gap: 2rem;
  }
}

.cargo-track-col-form .cargo-track-form {
  margin-top: 0;
}

.cargo-track-placeholder {
  padding: 1.25rem 1.5rem;
  background: var(--bg-subtle);
  border: 1px dashed var(--border-strong);
}

.cargo-track-form {
  margin-top: 1rem;
}

.cargo-track-result--ok {
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}

.cargo-track-result--error {
  border: 1px solid #fecaca;
  background: #fef2f2;
}

.cargo-track-badge {
  display: inline-block;
  width: fit-content;
  padding: 0.25rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #a7f3d0;
}

.cargo-track-result--error .cargo-track-badge {
  background: var(--error-bg);
  color: var(--error);
  border-color: #fecaca;
}

.cargo-track-result-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.5rem 0 0;
  color: var(--navy);
}

.cargo-track-code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cargo-track-location {
  padding: 0.85rem 1rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.cargo-track-location-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.cargo-track-location-value {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.cargo-track-status-pill {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.cargo-track-status-pill strong {
  font-size: 1rem;
  color: var(--bolero-brown);
}

.cargo-track-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.cargo-track-timeline-wrap {
  padding-top: 0.25rem;
}

/* ——— Sayfa geçişi + kart giriş animasyonları ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.page-transition.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.page-transition-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 1.5rem;
}

.page-transition-spinner-wrap {
  position: relative;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.15rem;
}

.page-transition-spinner {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--bolero-brown);
  animation: page-spin 0.72s linear infinite;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -1.325rem;
  margin-top: -1.325rem;
}

.page-transition-spinner--outer {
  width: 3.1rem;
  height: 3.1rem;
  margin-left: -1.55rem;
  margin-top: -1.55rem;
  border-width: 2px;
  border-top-color: transparent;
  border-right-color: rgba(139, 90, 60, 0.4);
  border-bottom-color: var(--border);
  border-left-color: var(--border);
  animation: page-spin 1.15s linear infinite reverse;
  opacity: 0.9;
}

.page-transition-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
  max-width: 16rem;
  line-height: 1.3;
}

.page-transition.is-active .page-transition-brand {
  animation: page-brand-pulse 1.35s ease-in-out infinite;
}

.page-transition-label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #64748b;
}

.page-transition-bar {
  width: min(210px, 58vw);
  height: 3px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
  margin-top: 0.35rem;
}

.page-transition.is-active .page-transition-bar-fill {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bolero-brown), #d4b896);
  animation: page-bar-sweep 1.2s ease-in-out infinite;
}

@keyframes page-bar-sweep {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes page-brand-pulse {
  0%,
  100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}

@keyframes page-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bolero-card-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bolero-fade-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bolero-thumb-in {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

html.page-motion-visible.js .announcement-bar {
  animation: bolero-fade-rise 0.42s ease backwards;
}

html.page-motion-visible.js .site-header.site-header-bolero {
  animation: bolero-fade-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.05s backwards;
}

html.page-motion-visible.js .site-main .hero.hero-enhanced,
html.page-motion-visible.js .site-main .hero-slider {
  animation: bolero-fade-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

html.page-motion-visible.js .site-main .trust-strip .trust-item:nth-child(1) {
  animation: bolero-fade-rise 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.06s backwards;
}

html.page-motion-visible.js .site-main .trust-strip .trust-item:nth-child(2) {
  animation: bolero-fade-rise 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.14s backwards;
}

html.page-motion-visible.js .site-main .trust-strip .trust-item:nth-child(3) {
  animation: bolero-fade-rise 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.22s backwards;
}

html.page-motion-visible.js .site-main .main-flash-wrap {
  animation: bolero-fade-rise 0.42s ease backwards;
}

html.page-motion-visible.js .site-main .section-head {
  animation: bolero-fade-rise 0.52s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

html.page-motion-visible.js .site-main .card,
html.page-motion-visible.js .site-main .checkout-layout > .card,
html.page-motion-visible.js .site-main .product-detail > .gallery,
html.page-motion-visible.js .site-main .product-detail > .stack,
html.page-motion-visible.js .site-main .auth-panel,
html.page-motion-visible.js .site-main .auth-aside {
  animation: bolero-card-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

html.page-motion-visible.js .site-main .grid-categories .category-card {
  animation-delay: var(--stagger, 0s);
}

html.page-motion-visible.js .site-main .card-product .product-thumb img {
  animation: bolero-thumb-in 0.62s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: calc(var(--stagger, 0s) + 0.09s);
}

html.page-motion-visible.js .site-main .checkout-layout > .card:nth-child(2) {
  animation-delay: 0.08s;
}

html.page-motion-visible.js .site-main .product-search-bar {
  animation: bolero-card-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

html.page-motion-visible.js .site-main .cta-banner.card {
  animation: bolero-fade-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.06s backwards;
}

html.page-motion-visible.js .site-main .checkout-steps,
html.page-motion-visible.js .site-main .container.checkout-flow > .section-head:first-of-type {
  animation: bolero-fade-rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

html.page-motion-visible.js .site-footer {
  animation: bolero-fade-rise 0.58s cubic-bezier(0.22, 1, 0.36, 1) 0.1s backwards;
}

html.page-motion-visible.js .float-whatsapp {
  animation: bolero-fade-rise 0.45s ease 0.2s backwards;
}

html.page-motion-visible.js .site-main .grid-products .card-product {
  animation: bolero-card-in 0.58s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  animation-delay: var(--stagger, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .page-transition {
    display: none !important;
  }

  html.page-motion-visible.js .site-main .card,
  html.page-motion-visible.js .site-main .checkout-layout > .card,
  html.page-motion-visible.js .site-main .product-detail > .gallery,
  html.page-motion-visible.js .site-main .product-detail > .stack,
  html.page-motion-visible.js .site-main .auth-panel,
  html.page-motion-visible.js .site-main .auth-aside,
  html.page-motion-visible.js .site-main .grid-products .card-product,
  html.page-motion-visible.js .site-main .grid-categories .category-card,
  html.page-motion-visible.js .site-main .card-product .product-thumb img,
  html.page-motion-visible.js .site-main .hero.hero-enhanced,
  html.page-motion-visible.js .site-main .hero-slider,
  html.page-motion-visible.js .site-main .trust-strip .trust-item,
  html.page-motion-visible.js .site-main .main-flash-wrap,
  html.page-motion-visible.js .site-main .section-head,
  html.page-motion-visible.js .site-main .product-search-bar,
  html.page-motion-visible.js .site-main .cta-banner.card,
  html.page-motion-visible.js .announcement-bar,
  html.page-motion-visible.js .site-header.site-header-bolero,
  html.page-motion-visible.js .site-footer,
  html.page-motion-visible.js .float-whatsapp,
  html.page-motion-visible.js .site-main .checkout-steps,
  html.page-motion-visible.js .site-main .container.checkout-flow > .section-head:first-of-type,
  html.page-motion-visible.js .site-main .grid-products .card-product {
    animation: none !important;
  }

  .bolero-live-search-spinner {
    animation: none;
    border-top-color: var(--border);
  }

  .page-transition-spinner,
  .page-transition-spinner--outer {
    animation: none;
    border-top-color: var(--border);
  }

  .page-transition.is-active .page-transition-bar-fill {
    animation: none;
  }
}
