:root {
  /* Marka: kırmızı / beyaz (eski --green* isimleri geriye uyumluluk için korunur) */
  --green: #c21a1a; /* Daha kurumsal bir kırmızı */
  --green-dark: #8b1212;
  --green-soft: #fff1f1;
  --green-banner: #dc2626;
  --blue-banner: #3b82f6;
  --bg-page: #f9fafb;
  --bg-white: #ffffff;
  --ink: #111827;
  --muted: #4b5563;
  --border: #f1f1f1;
  --trust-icon: #c21a1a;
  --radius: 12px;
  --radius-pill: 999px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --header-sticky-offset: 0px;
  --tabbar-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg-page);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100%;
}

body.is-home {
  background: var(--bg-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green);
}

.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  z-index: 1000;
  border-radius: 8px;
}

.container {
  width: min(1400px, 100% - 2rem);
  margin-inline: auto;
}

/* ——— Drawer ——— */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.nav-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s;
}

.nav-drawer.is-open .nav-drawer-backdrop {
  opacity: 1;
}

.nav-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--bg-white);
  box-shadow: 15px 0 50px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.nav-drawer.is-open .nav-drawer-panel {
  transform: translateX(0);
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.nav-drawer-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-drawer-close {
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 0.25rem 0.5rem;
}

.nav-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
}

.nav-drawer-links a {
  padding: 1.1rem 1.5rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-drawer-links a::after {
  content: '→';
  opacity: 0.3;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.nav-drawer-links a:hover {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.05) 0%, transparent 100%);
  color: var(--green);
  padding-left: 1.75rem;
}

.nav-drawer-links a:hover::after {
  transform: translateX(4px);
  opacity: 1;
}

/* ——— Header ——— */
.site-header {
  position: relative;
  z-index: 80;
  background: var(--bg-white);
  box-shadow: 0 1px 0 var(--border);
}

.top-bar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}

.top-bar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.top-bar-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.top-bar-nav a:hover {
  color: var(--green-dark);
}

.top-bar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.top-bar-link .icon {
  flex-shrink: 0;
  color: var(--green);
}

.top-bar-link:hover {
  color: var(--ink);
}

.main-header {
  padding: 0.65rem 0 0.85rem;
}

.main-header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0.65rem 1.5rem; /* Yan boşluğu 0.75rem'den 1.5rem'e çıkardık */
}

.nav-toggle.header-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}

.nav-toggle.header-nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
  flex-direction: column;
  text-align: center;
  padding: 0.25rem 0 0.15rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: center;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.brand-mark--logo {
  width: auto;
  height: auto;
  min-height: 44px;
  max-height: 52px;
  padding: 0.2rem 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  display: block;
  max-height: 52px;
  max-width: min(240px, 46vw);
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .brand--has-logo {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .brand--has-logo .brand-text {
    text-align: left;
  }

  .brand--has-logo .brand-logo-img {
    max-width: 260px; /* Logoyu büyüttük */
  }
}

.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: #3d3d3d;
  line-height: 1.1;
}

.brand-tag {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.header-search-block {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 1.25rem; /* Buton ve Arama arası boşluğu artırdık */
  width: 100%;
  min-width: 0;
}

.btn-categories {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.75rem;
  height: 34px; /* Boyutu daha da küçülttük */
  border: 0;
  border-radius: 6px;
  background: var(--green); /* Kırmızı yaptık */
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem; /* Fontu küçülttük */
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-categories:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f6f6f6;
  border: 1px solid #eee;
  border-radius: 999px; /* Tam yuvarlak (pill) yapıldı */
  padding: 0 1.5rem;
  height: 46px; /* Yükseklik dengelendi */
  transition: all 0.25s ease;
}

.search-field:focus-within {
  background: var(--bg-white);
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(194, 26, 26, 0.08);
}

.search-icon {
  flex-shrink: 0;
  color: #9a9a9a;
}

.search-field input {
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  font: inherit;
  background: transparent;
}

.search-field input::placeholder {
  color: #9a9a9a;
}

.header-quick {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  max-width: 5.5rem;
  text-align: center;
  line-height: 1.2;
}

.quick-item:hover {
  color: var(--green-dark);
}

.quick-item svg {
  color: var(--green);
}

.cart-pill {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fee2e2;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--green-dark);
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: visible;
}

.cart-pill:hover {
  background: var(--green-soft);
  color: var(--ink);
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.header-user {
  grid-column: 3;
  grid-row: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  border-radius: 10px;
  text-decoration: none;
  align-self: center;
}

.header-user:hover {
  background: #f0f0f0;
  color: var(--green-dark);
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: grid;
}

@media (min-width: 1024px) {
  .top-bar {
    display: block;
  }

  .nav-toggle.header-nav-toggle {
    display: none;
  }

  .main-header-grid {
    grid-template-columns: auto minmax(0, 1fr) max-content max-content;
    grid-template-rows: auto;
    align-items: center;
    gap: 0.75rem 1rem;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    flex-direction: row;
    text-align: left;
    padding: 0;
  }

  .brand-text {
    text-align: left;
  }

  .header-search-block {
    grid-column: 2;
    grid-row: 1;
    max-width: 560px;
    width: 100%;
    min-width: 0;
  }

  .header-quick {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    flex-shrink: 0;
  }

  .cart-pill {
    grid-column: 4;
    grid-row: 1;
    flex-shrink: 0;
  }

  .mobile-only {
    display: none !important;
  }

  .desktop-only {
    display: flex;
  }

  .cart-pill.desktop-only {
    display: grid;
  }

  .btn-categories {
    display: inline-flex;
  }

  .search-field {
    border-radius: var(--radius-pill);
  }
}

@media (max-width: 1023px) {
  .top-bar {
    display: none;
  }

  .main-header-grid {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.5rem 0.75rem; /* Yan boYluklar azalttk */
  }

  .brand {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    flex-direction: column;
    text-align: center;
    padding: 0.25rem 0 0.15rem;
  }

  .brand-text {
    text-align: center;
  }

  .header-search-block {
    margin-top: 0.15rem;
    gap: 0.5rem;
  }

  .search-field {
    padding: 0 1rem; /* Mobilde padding'i azalttk */
    height: 42px; /* Biraz daha kk */
  }

  .btn-categories {
    display: none;
  }

  .header-user {
    width: 40px;
    height: 40px;
  }
}

.site-main {
  flex: 1;
  width: 100%;
}

@media (max-width: 1023px) {
  body.has-tabbar .site-main {
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  }
}

/* ——— Home: category circles ——— */
.home-categories {
  padding: 1.25rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-white);
}

.cat-scroller {
  display: flex;
  gap: 0.75rem 1.25rem;
  overflow-x: auto;
  padding: 0.25rem 0 0.5rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cat-scroller::-webkit-scrollbar {
  display: none;
}

.cat-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 86px;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 1024px) {
  .cat-scroller {
    justify-content: space-between;
    overflow: visible;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .cat-item {
    width: auto;
    flex: 1;
    min-width: 0;
  }
}

.cat-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--green); /* Bu değişken #dc2626 (kırmızı) olarak tanımlı */
  display: grid;
  place-items: center;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.cat-item:hover .cat-icon {
  transform: scale(1.05);
}

.cat-icon svg {
  width: 32px;
  height: 32px;
}

.cat-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  color: #333;
  line-height: 1.2;
  max-width: 100%;
}

.cat-item.is-active .cat-icon {
  background: var(--green-dark);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--green-dark);
}

@media (min-width: 1024px) {
  .cat-item.is-active .cat-label {
    box-shadow: none;
    border-bottom: 3px solid var(--green);
    padding-bottom: 4px;
  }
}

/* ——— Home hero banners ——— */
.home-hero {
  padding: 1.25rem 0 1.5rem;
  background: var(--bg-white);
}

.hero-banners {
  display: grid;
  gap: 1rem;
}

.hero-banners-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .hero-banners-row {
    grid-template-columns: 1.8fr 1fr 1fr;
    align-items: stretch;
  }
}

.banner-card-alt {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 7; /* Mobil için daha geniş/yatay oran */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

@media (min-width: 640px) {
  .banner-card-alt {
    aspect-ratio: auto;
    min-height: 220px;
    padding: 1.75rem;
  }
}

.banner-card-alt:hover {
  transform: translateY(-3px);
}

.banner-card-alt--1 .banner-title {
  font-size: clamp(1.25rem, 5.5vw, 2.1rem);
  max-width: 12ch;
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.banner-card-alt--2, .banner-card-alt--3 {
  align-items: center;
  text-align: center;
  color: #fff;
}

.banner-card-alt--3 {
  color: #4a3728;
}

.banner-card-alt--2 .banner-title,
.banner-card-alt--3 .banner-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .banner-card-alt {
    min-height: 440px; /* Desktop'ta daha ihtişamlı bannerlar */
  }
}

.banner-card-alt .banner-link {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-banner-black {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.9rem;
  background: #111;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: 0;
  transition: transform 0.2s;
}

.btn-banner-black:hover {
  transform: translateX(5px);
}

.btn-banner-black .arr {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1;
}

.banner-card-alt--1 .banner-title {
  color: #fff;
}


.banner-link {
  color: inherit !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.banner-deco {
  position: absolute;
  pointer-events: none;
}

.banner-deco--drinks {
  right: -4%;
  bottom: -8%;
  width: 55%;
  max-width: 220px;
  height: 85%;
  background: radial-gradient(ellipse at 30% 60%, rgba(255, 255, 255, 0.25), transparent 55%),
    repeating-linear-gradient(
      -15deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.06) 8px,
      rgba(255, 255, 255, 0.06) 10px
    );
  border-radius: 40% 60% 50% 50%;
  opacity: 0.9;
}

.banner-deco--snacks {
  right: 0;
  bottom: 0;
  width: 50%;
  height: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 80'%3E%3Crect fill='rgba(255,255,255,.15)' x='10' y='20' width='35' height='45' rx='4'/%3E%3Crect fill='rgba(255,255,255,.12)' x='48' y='10' width='40' height='55' rx='4'/%3E%3C/svg%3E")
    no-repeat bottom right / contain;
}

.banner-deco--pets {
  right: 4%;
  bottom: 0;
  width: 45%;
  height: 55%;
  background: radial-gradient(circle at 70% 80%, rgba(74, 55, 40, 0.15), transparent 60%);
  border-radius: 50% 50% 0 0;
}

@media (min-width: 1024px) {
  .hero-banners {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: stretch;
    gap: 1rem;
  }

  .banner-card {
    min-height: 240px;
    padding: 1.75rem 1.5rem;
  }

  .banner-card--green .banner-title {
    max-width: 14ch;
  }
}

@media (max-width: 1023px) {
  .hero-banners .banner-card--blue,
  .hero-banners .banner-card--beige {
    display: none;
  }
}

/* ——— Trust strip ——— */
.trust-strip {
  background: var(--bg-page);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.1);
  color: var(--trust-icon);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-item p {
  margin: 0;
  line-height: 1.35;
}

@media (min-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* ——— Mobile tabbar ——— */
.mobile-tabbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 0.25rem 0 calc(0.25rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
}

@media (max-width: 1023px) {
  body.has-tabbar .mobile-tabbar {
    display: block;
  }
}

.tabbar-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 420px;
  margin: 0 auto;
}

.tabbar-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.25rem;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
}

.tabbar-btn:hover,
.tabbar-btn:focus-visible {
  color: var(--green-dark);
}

.tabbar-btn svg {
  width: 20px;
  height: 20px;
}

.tabbar-cart-wrap {
  position: relative;
}

.tabbar-cart-wrap {
  position: relative;
}

.tabbar-badge {
  position: absolute;
  top: -2px;
  right: 18%;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ——— Sections & inner pages ——— */
.section {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  color: var(--ink);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0 2.25rem;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 2.8vw, 2rem);
  color: var(--ink);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 55ch;
}

.prose {
  max-width: 65ch;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--green);
  color: #fff !important;
  border-color: var(--green);
}

.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff !important;
}

.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green);
}

.category-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.category-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-soft);
  color: inherit;
}

.category-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.category-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.category-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fee2e2;
  color: var(--green-dark);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.product-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, #fee2e2, #fecaca);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  color: var(--muted);
}

.product-body {
  padding: 1.15rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-meta {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.product-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.product-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

.product-price {
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.contact-card .footer-contact {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-card .footer-contact:last-of-type {
  margin-bottom: 0;
}

.contact-card .footer-contact a {
  color: var(--green-dark);
  font-weight: 500;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.alert-success {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.site-footer {
  --footer-ink: #fef2f2;
  --footer-muted: #fecaca;
  --footer-dim: #fca5a5;
  background: linear-gradient(180deg, #450a0a 0%, #1c1917 52%, #0a0a0a 100%);
  color: var(--footer-muted);
  margin-top: auto;
  padding: 0 0 0;
  position: relative;
}

.footer-accent {
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--green-dark) 0%,
    var(--green) 35%,
    var(--green-soft) 100%
  );
  opacity: 0.95;
}

.footer-main {
  display: grid;
  gap: 2.5rem;
  padding: 2.75rem 0 2.25rem;
}

@media (min-width: 880px) {
  .footer-main {
    grid-template-columns: 1.35fr 1fr 1.12fr;
    align-items: start;
    gap: 2.75rem 3rem;
  }
}

.footer-brand-block {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.footer-logo-mark {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  line-height: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.footer-logo-mark--img {
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0.35rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  display: block;
  max-width: min(220px, 70vw);
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.footer-brand-text {
  min-width: 0;
}

.footer-brand {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-tagline {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: var(--footer-muted);
  font-weight: 500;
}

.footer-mission {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #ffffff;
  max-width: 32ch;
}

.footer-heading {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  font-weight: bold;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--footer-ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 0.2rem 0;
  transition: color 0.2s, transform 0.2s;
}

.footer-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s, transform 0.2s;
}

.footer-links a:hover {
  color: var(--green-soft);
}

.footer-links a:hover::before {
  opacity: 1;
  transform: scale(1);
}

.footer-links li + li {
  margin-top: 0.35rem;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-row {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin: 0 0 1rem;
}

.footer-contact-row:last-child {
  margin-bottom: 0;
}

.footer-contact-ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.12rem;
  color: var(--green-soft);
  opacity: 0.85;
}

.footer-contact-ico svg {
  display: block;
}

.footer-contact-link {
  color: var(--footer-ink);
  text-decoration: none;
  font-size: 0.94rem;
  line-height: 1.45;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.footer-contact-link:hover {
  color: #fff;
  border-bottom-color: rgba(200, 228, 176, 0.45);
}

.footer-contact-link--static {
  cursor: default;
  font-weight: 400;
  color: #fff;
}

.footer-contact-link--static:hover {
  color: #fff;
  border-bottom-color: transparent;
}

.footer-social-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.35rem 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

@media (min-width: 880px) {
  .footer-social-wrap {
    justify-content: flex-start;
  }
}

.footer-social-label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--footer-dim);
  font-weight: 600;
}

.footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.65rem;
}

.footer-social-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c5ccc0;
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s,
    transform 0.2s;
}

.footer-social-btn:hover {
  border-color: rgba(200, 228, 176, 0.45);
  color: #fff;
  background: rgba(220, 38, 38, 0.12);
  transform: translateY(-2px);
}

.footer-social-btn svg {
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: #fff;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-bottom-link {
  font-size: 0.78rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.footer-bottom-link:hover {
  color: var(--green-soft);
}

@media (max-width: 1023px) {
  body.has-tabbar .site-footer {
    padding-bottom: calc(var(--tabbar-h) + 0.5rem);
  }
}

/* ——— Install banner ——— */
.install-banner {
  background: #fef2f2;
  border-bottom: 1px solid #fecaca;
  font-size: 0.9rem;
}
.install-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
}
.install-banner a {
  font-weight: 700;
}

/* ——— Account drawer (sağ, mobil giriş) ——— */
.account-drawer {
  position: fixed;
  inset: 0;
  z-index: 210;
  pointer-events: none;
  visibility: hidden;
}
.account-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}
.account-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s;
}
.account-drawer.is-open .account-drawer-backdrop {
  opacity: 1;
}
.account-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 92vw);
  background: #fff;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.account-drawer.is-open .account-drawer-panel {
  transform: translateX(0);
}
.account-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.account-drawer-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}
.account-drawer-close {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.account-close-text {
  font-size: 0.9rem;
  font-weight: 600;
}
.account-drawer-body,
.account-login-form {
  padding: 1.1rem 1.25rem 1.5rem;
}
.account-welcome {
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.account-email-muted {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}
.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.account-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.account-nav a:hover {
  color: var(--green-dark);
}
.btn-block {
  width: 100%;
  justify-content: center;
}
.req {
  color: #c62828;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
  font-size: 0.9rem;
}
.password-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding-right: 0.35rem;
}
.password-wrap .js-password-field {
  border: 0;
  flex: 1;
  padding: 0.65rem 0.85rem;
  outline: 0;
  font: inherit;
}
.password-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1rem;
  line-height: 1;
}
.account-forgot {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}
.account-forgot a {
  color: var(--green);
  font-weight: 600;
}
.account-sep {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}
.account-register-block {
  text-align: center;
  padding-bottom: 0.5rem;
}
.account-register-q {
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.account-register-link {
  font-weight: 800;
  text-decoration: underline;
  color: var(--ink);
}

/* ——— Ürün kartı (liste) ——— */
.section--tight {
  padding-top: 1rem;
}
.section--shop {
  background: var(--bg-page);
  border-block: 1px solid var(--border);
}
.section--alt {
  background: #ebebeb;
}
.shop-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.shop-row-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.shop-pct {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}
.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
}
.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.cat-pill {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.88rem;
  background: #fff;
}
.cat-pill:hover,
.cat-pill.is-active {
  border-color: var(--green);
  color: var(--green-dark);
}
.p-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
@media (max-width: 500px) {
  .p-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}
.p-grid--scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  scroll-snap-type: x mandatory;
}
.p-grid--scroll::-webkit-scrollbar {
  height: 8px;
}
.p-grid--scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.p-grid--scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.p-grid--scroll::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

@media (max-width: 1023px) {
  .p-grid--scroll {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .p-grid--scroll::-webkit-scrollbar {
    display: none;
  }
}

.p-grid--scroll .p-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}
.p-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.p-card-media {
  position: relative;
  min-height: 160px;
  background: #fafafa;
  display: grid;
  place-items: center;
}
.p-badges-col {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-start;
  z-index: 2;
}
.p-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  color: #fff;
  letter-spacing: 0.02em;
}
.p-badge--disc {
  background: #dc2626; /* Vibrant red for clear visibility of discount percentage */
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  top: auto;
  left: auto;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
  z-index: 3;
}
.p-badge--red {
  background: #d32f2f;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
}
.p-fav {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  border: 1px solid #eee;
  background: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
  color: #999;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.p-fav:hover {
  transform: scale(1.1);
  color: var(--green);
  border-color: var(--green-soft);
  box-shadow: 0 4px 12px rgba(194, 26, 26, 0.15);
}

.p-fav.is-active {
  color: var(--green);
  background: #fff;
  border-color: var(--green-soft);
}

.p-fav.is-active svg {
  fill: var(--green); /* İçi kırmızı dolsun */
}

.p-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0;
  display: block;
}
.p-img--ph {
  font-size: 3rem;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 140px;
  margin: 0;
}
.p-card-body {
  padding: 0.65rem 0.85rem 0.85rem;
  flex: 1;
}
.p-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
}
.p-meta {
  margin: 0;
  font-size: 0.75rem;
  color: #888;
}
.p-prices {
  margin-top: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.p-old {
  font-size: 0.8rem;
  color: #999;
  text-decoration: line-through;
}
.p-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: #7cb342;
}
.p-card-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  margin-top: auto;
}
.p-qty {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 2px;
  height: 44px;
}
.p-qbtn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}
.p-qbtn:hover {
  background: rgba(0,0,0,0.05);
}
.p-qty-input {
  flex: 1;
  width: 25px;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0;
}
.p-add {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #111;
  color: #fff !important;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.p-add:hover {
  background: #333;
  transform: scale(1.05);
}
.p-add svg {
  display: block;
}

/* ——— Sepet / Ödeme ——— */
.cart-shell {
  max-width: 1200px;
}

.cart-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .cart-grid {
    grid-template-columns: 1fr 360px;
  }
}

.cart-items-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.cart-head {
  display: grid;
  grid-template-columns: 1fr;
  padding: 1.25rem 1.5rem;
  background: #fcfcfc;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.cart-row-item {
  display: grid;
  grid-template-columns: 1fr;
  padding: 1.5rem;
  border-bottom: 1px solid #f8f8f8;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .cart-row-item {
    grid-template-columns: 1fr 120px 140px 120px;
    gap: 0;
  }
}

.cri-product {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cri-thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: #f8f8f8;
  border: 1px solid #eee;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.cri-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cri-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.cri-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: #c62828;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.cri-remove-btn:hover {
  opacity: 1;
  text-decoration: underline;
}

.cri-price, .cri-total {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.cri-qty {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

/* Qty Control */
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  height: 38px;
}

.qty-btn {
  width: 38px;
  height: 38px;
  border: 0;
  background: #f8f8f8;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: #eee;
}

.qty-input {
  width: 44px;
  border: 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  background: transparent;
  pointer-events: none;
}

/* Empty State */
.empty-cart-view {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 20px;
  border: 1px dashed #ddd;
}

.empty-cart-ico {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.2;
}

.summary-title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.summary-total-row {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #f8f8f8;
  text-align: right;
}

.str-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.str-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
}

.str-vat {
  font-size: 0.7rem;
  color: #999;
}

.cart-features {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cf-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #666;
  background: #f9f9f9;
  padding: 0.5rem;
  border-radius: 8px;
}

/* ——— Müşteri hesabı ——— */
.section--account {
  background: linear-gradient(180deg, #fffafa 0%, var(--bg-page) 28%);
  padding-top: 0.5rem;
}

.page-hero--account + .section--account {
  padding-top: 0;
}

.account-shell {
  max-width: 1100px;
}

.account-flash {
  margin-bottom: 1.25rem;
}

.account-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .account-grid {
    grid-template-columns: minmax(260px, 300px) 1fr;
    gap: 2rem;
  }
}

.account-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.35rem;
}

.account-card-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.account-profile-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.account-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  display: grid;
  place-items: center;
  line-height: 1;
}

.account-profile-names {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.account-profile-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  word-break: break-word;
}

.account-profile-role {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.account-dl {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.account-dl > div {
  margin: 0;
}

.account-dl dt {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

.account-dl dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink);
  word-break: break-word;
}

.account-dl a {
  font-weight: 600;
}

.account-note {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.account-quick-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.account-quick-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s;
}

.account-quick-link:hover {
  background: #fef2f2;
  color: var(--green-dark);
}

.account-quick-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eef6e8;
  color: var(--green-dark);
  display: grid;
  place-items: center;
}

.account-quick-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.account-quick-label {
  font-weight: 600;
  font-size: 0.92rem;
}

.account-quick-desc {
  font-size: 0.78rem;
  color: var(--muted);
}

.account-quick-arr {
  flex-shrink: 0;
  color: var(--muted);
  font-weight: 600;
}

.account-logout-btn {
  width: 100%;
  justify-content: center;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.account-stat {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.account-stat-value {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.25;
  word-break: break-word;
}

.account-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.account-orders-head {
  margin-bottom: 1.1rem;
}

.account-orders-lead {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 52ch;
}

.account-empty {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: #fafafa;
}

.account-empty p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.account-orders-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.account-order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  padding: 1.1rem 1.15rem 1.15rem;
}

.account-order-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.account-order-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.account-order-no {
  font-size: 1.05rem;
}

.account-order-date {
  font-size: 0.85rem;
  color: var(--muted);
}

.account-order-card-total {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.account-order-sum {
  font-weight: 800;
  font-size: 1.1rem;
}

.account-order-ship-note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.account-order-kalem {
  color: var(--ink);
  font-weight: 500;
}

.account-order-lines-visual {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.account-order-line-visual {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.acct-oli-thumb-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #fef2f2;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.acct-oli-thumb-wrap--ph {
  font-size: 1.35rem;
}

.acct-oli-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.acct-oli-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.acct-oli-name {
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.3;
  word-break: break-word;
}

.acct-oli-meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.account-status {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
}

.account-status--new {
  background: #fef2f2;
  color: #991b1b;
}

.account-status--processing {
  background: #eff6ff;
  color: #1d4ed8;
}

.account-status--shipped {
  background: #fef3c7;
  color: #92400e;
}

.account-status--done {
  background: #f1f5f9;
  color: #334155;
}

.account-status--cancelled {
  background: #fef2f2;
  color: #b91c1c;
}

.cart-summary {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.checkout-shell {
  max-width: 1200px;
}

.checkout-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .checkout-grid {
    grid-template-columns: 1fr 380px;
  }
}

.checkout-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.checkout-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f8f8f8;
}

.checkout-step-num {
  width: 32px;
  height: 32px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.checkout-card-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

/* Summary Card */
.summary-card {
  position: sticky;
  top: calc(var(--header-sticky-offset, 0px) + 1.5rem);
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.summary-line {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.sl-img-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  background: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eee;
  display: grid;
  place-items: center;
}

.sl-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sl-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #666;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.sl-body {
  flex: 1;
  min-width: 0;
}

.sl-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sl-price {
  font-size: 0.75rem;
  color: var(--muted);
}

.sl-total {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

.summary-footer {
  border-top: 1px solid #eee;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--muted);
}

.summary-total {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 2px solid #f8f8f8;
  font-size: 1.1rem;
  color: var(--ink);
}

.summary-total strong {
  color: var(--green);
}

.free-ship {
  color: #2e7d32;
  font-weight: 700;
}

.checkout-safe-note {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #999;
  text-align: center;
}

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.custom-checkbox input {
  display: none;
}

.checkbox-box {
  width: 22px;
  height: 22px;
  border: 2px solid #ddd;
  border-radius: 6px;
  position: relative;
  transition: all 0.2s;
}

.custom-checkbox input:checked + .checkbox-box {
  background: var(--green);
  border-color: var(--green);
}

.checkbox-box::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}

.custom-checkbox input:checked + .checkbox-box::after {
  opacity: 1;
}

/* Payment Selector */
.payment-method-selector {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.payment-method-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid #eee;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-method-option input[type="radio"] {
  display: none;
}

.payment-method-option.is-active {
  border-color: var(--green);
  background: var(--green-soft);
}

.pm-radio {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.payment-method-option.is-active .pm-radio {
  border-color: var(--green);
}

.pm-radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--green);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s;
}

.payment-method-option.is-active .pm-radio::after {
  transform: scale(1);
}

.pm-content strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.pm-content p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Mobile Summary */
.checkout-mobile-summary {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  padding: 1rem 1.25rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cms-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cms-total span {
  font-size: 0.9rem;
  font-weight: 600;
}

.cms-total strong {
  font-size: 1.25rem;
  color: var(--green);
}

/* ——— Admin paneli (profesyonel, mobil uyumlu) ——— */
:root {
  --admin-sidebar: #0f172a;
  --admin-sidebar-hover: #1e293b;
  --admin-accent: #dc2626;
  --admin-accent-dark: #991b1b;
  --admin-surface: #ffffff;
  --admin-muted: #64748b;
  --admin-border: #e2e8f0;
  --admin-danger: #dc2626;
  --admin-danger-bg: #fef2f2;
}

.admin-body {
  margin: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  line-height: 1.5;
  color: #0f172a;
  background: #f1f5f9;
  min-height: 100vh;
}

/* Giriş sayfası (layout dışı) */
.admin-login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem;
  background: linear-gradient(145deg, #0f172a 0%, #450a0a 45%, #0f172a 100%);
}
.admin-login-wrap {
  width: 100%;
  max-width: 420px;
}
.admin-login-card {
  background: var(--admin-surface);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}
.admin-login-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.admin-login-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--admin-accent), #7f1d1d);
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  display: grid;
  place-items: center;
}

.admin-login-logo--img {
  width: auto;
  height: auto;
  max-width: min(280px, 85vw);
  max-height: 64px;
  padding: 0.35rem 0.5rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-login-logo--img img {
  display: block;
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.admin-login-title {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.admin-login-sub {
  font-size: 0.85rem;
  color: var(--admin-muted);
}
.admin-login-desc {
  margin: 0 0 1.25rem;
  color: var(--admin-muted);
  font-size: 0.92rem;
}
.admin-login-footer {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}
.admin-login-footer a {
  color: var(--admin-accent-dark);
  font-weight: 600;
  text-decoration: none;
}
.admin-login-footer a:hover {
  text-decoration: underline;
}

/* Ana düzen */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 280;
  opacity: 0;
  transition: opacity 0.25s;
}
.admin-layout--menu-open .admin-sidebar-overlay {
  display: block;
  opacity: 1;
}

.admin-sidebar {
  width: 268px;
  flex-shrink: 0;
  background: var(--admin-sidebar);
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  z-index: 300;
  min-height: 100vh;
}

.admin-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.admin-sidebar-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--admin-accent);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.admin-sidebar-logo--img {
  width: auto;
  height: auto;
  max-width: 140px;
  max-height: 40px;
  padding: 0.2rem 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-sidebar-logo--img img {
  display: block;
  max-width: 140px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.admin-sidebar-brandtext {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.admin-sidebar-title {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admin-sidebar-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-sidebar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.admin-sidebar-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.admin-sidebar-nav {
  flex: 1;
  padding: 0.75rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.15s, color 0.15s;
}
.admin-nav-link:hover {
  background: var(--admin-sidebar-hover);
  color: #fff;
}
.admin-nav-badge {
  background: var(--admin-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}
.admin-nav-link.is-active .admin-nav-badge {
  background: #fff;
  color: var(--admin-accent);
  box-shadow: none;
}
.admin-nav-link.is-active {
  background: rgba(220, 38, 38, 0.2);
  color: #fecaca;
  box-shadow: inset 3px 0 0 var(--admin-accent);
}
.admin-nav-ico {
  font-size: 1.15rem;
  width: 1.5rem;
  text-align: center;
}

.admin-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.admin-sidebar-secondary {
  color: #94a3b8;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
}
.admin-sidebar-secondary:hover {
  color: #fff;
}
.admin-sidebar-user-email {
  font-size: 0.78rem;
  color: #64748b;
  word-break: break-all;
}
.admin-btn-logout {
  display: block;
  text-align: center;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fca5a5;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid rgba(248, 113, 113, 0.25);
}
.admin-btn-logout:hover {
  background: rgba(220, 38, 38, 0.2);
  color: #fecaca;
}

.admin-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--admin-surface);
  border-bottom: 1px solid var(--admin-border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.admin-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: #f1f5f9;
  cursor: pointer;
}
.admin-menu-toggle:hover {
  background: #e2e8f0;
}
.admin-menu-bars {
  display: block;
  width: 20px;
  height: 14px;
  background: linear-gradient(#334155 0, #334155 20%, transparent 20%, transparent 40%, #334155 40%, #334155 60%, transparent 60%, transparent 80%, #334155 80%, #334155 100%);
}

.admin-toolbar-title {
  flex: 1;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-toolbar-actions {
  flex-shrink: 0;
}
.admin-toolbar-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  background: var(--admin-accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
}
.admin-toolbar-link:hover {
  background: var(--admin-accent-dark);
  color: #fff !important;
}

.admin-main {
  flex: 1;
  padding: 1.25rem 1rem 2.5rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .admin-main {
    padding: 1.5rem 1.5rem 3rem;
  }
}

.admin-lead {
  margin: 0 0 1.25rem;
  color: var(--admin-muted);
  font-size: 0.95rem;
  max-width: 65ch;
}
.admin-lead--inline {
  margin-bottom: 0;
}
.admin-toolbar-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 640px) {
  .admin-toolbar-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.admin-h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .admin-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.admin-stat-card {
  background: var(--admin-surface);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  border: 1px solid var(--admin-border);
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.admin-stat-card--accent {
  border-color: rgba(220, 38, 38, 0.35);
  background: linear-gradient(135deg, #fef2f2, #fff);
}
.admin-stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.admin-stat-label {
  font-size: 0.78rem;
  color: var(--admin-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .admin-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .admin-tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}

.admin-tile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1rem;
  background: var(--admin-surface);
  border-radius: 12px;
  border: 1px solid var(--admin-border);
  text-decoration: none;
  color: #0f172a !important;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.admin-tile:hover {
  border-color: var(--admin-accent);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
  transform: translateY(-2px);
  color: #0f172a !important;
}
.admin-tile--outline {
  border-style: dashed;
  background: #f8fafc;
}
.admin-tile-ico {
  font-size: 1.35rem;
}

.admin-card {
  background: var(--admin-surface);
  border-radius: 14px;
  border: 1px solid var(--admin-border);
  padding: 1.25rem 1.15rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
@media (min-width: 640px) {
  .admin-card {
    padding: 1.5rem 1.35rem;
  }
}
.admin-card--table {
  padding: 0;
  overflow: hidden;
}
.admin-card-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}
.admin-card > .admin-form,
.admin-card > .admin-card-title {
  padding-left: 0;
  padding-right: 0;
}
.admin-card--table .admin-card-title {
  padding: 1.15rem 1.25rem 0;
}

.admin-alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.admin-alert--success {
  background: #16a34a;
  border: 1px solid #15803d;
  color: #ffffff;
}
.admin-alert--error {
  background: var(--admin-danger-bg);
  border: 1px solid #fecaca;
  color: #991b1b;
}

.admin-logo-preview-wrap {
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-logo-preview-img {
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.admin-form .form-group {
  margin-bottom: 1rem;
}
.admin-form-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 560px) {
  .admin-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.admin-form .form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: #334155;
}
.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form input[type="number"],
.admin-form input[type="file"],
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  font: inherit;
  box-sizing: border-box;
}
.admin-form input:focus,
.admin-form select:focus {
  outline: 0;
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.admin-hint {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
  color: var(--admin-muted);
}

.admin-code {
  font-size: 0.85rem;
  background: #f1f5f9;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--admin-border);
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  box-sizing: border-box;
}
.admin-btn--primary {
  background: var(--admin-accent);
  color: #fff !important;
  border-color: var(--admin-accent);
}
.admin-btn--primary:hover {
  background: var(--admin-accent-dark);
  border-color: var(--admin-accent-dark);
  color: #fff !important;
}
.admin-btn--ghost {
  background: #f1f5f9;
  color: #334155 !important;
  border-color: var(--admin-border);
}
.admin-btn--ghost:hover {
  background: #e2e8f0;
  color: #0f172a !important;
}
.admin-btn--outline {
  background: #fff;
  color: var(--admin-accent-dark) !important;
  border-color: var(--admin-accent);
}
.admin-btn--outline:hover {
  background: #fef2f2;
}
.admin-btn--danger {
  background: #fff;
  color: var(--admin-danger) !important;
  border-color: #fecaca;
}
.admin-btn--danger:hover {
  background: var(--admin-danger-bg);
}
.admin-btn--sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
}
.admin-btn--block {
  width: 100%;
}

.admin-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--admin-border);
  vertical-align: middle;
}
.admin-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #475569;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.admin-table tbody tr:hover {
  background: #fafbfc;
}
.admin-th-actions {
  text-align: right;
  width: 1%;
  white-space: nowrap;
}

.admin-inline-form {
  display: inline;
}
.admin-actions-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.admin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.admin-tag {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.72rem;
  font-weight: 700;
}
.admin-tag--muted {
  background: #f1f5f9;
  color: #64748b;
}

.admin-order-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}
.admin-select {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--admin-border);
  font: inherit;
  min-width: 0;
  max-width: 140px;
}

.admin-status-pill {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 0.8rem;
}

.admin-status-pill--accent {
  background: #fef2f2;
  color: #991b1b;
}

.admin-status-pill--muted {
  background: #f1f5f9;
  color: #64748b;
}

.admin-msg-detail-inner {
  display: block;
}

.admin-msg-full {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: #334155;
  word-break: break-word;
}

.admin-msg-read-form {
  margin-top: 1rem;
}

.admin-order-summary td {
  vertical-align: middle;
}

.admin-order-detail td {
  padding: 0 !important;
  border-bottom: 1px solid var(--admin-border);
  background: #f8fafc;
}

.admin-order-detail-inner {
  padding: 1rem 1.15rem 1.25rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .admin-order-detail-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.admin-order-block-title {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.admin-order-block + .admin-order-block {
  margin-top: 0.25rem;
}

.admin-order-empty {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
  font-style: italic;
}

.admin-order-lines {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--admin-border);
}

.admin-order-lines th,
.admin-order-lines td {
  padding: 0.5rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--admin-border);
}

.admin-order-lines th {
  background: #f1f5f9;
  font-weight: 700;
  font-size: 0.72rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.admin-order-lines tbody tr:last-child td {
  border-bottom: 0;
}

.admin-order-addr {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #334155;
}

.admin-order-same {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  font-weight: 600;
}

.admin-checks {
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin: 1rem 0;
}
.admin-legend {
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0 0.35rem;
  color: #334155;
}
.admin-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Mobil: yan menü kapalı, üstten açılır */
@media (max-width: 1023px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.2);
  }

  .admin-layout--menu-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-sidebar-close {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .admin-sidebar-overlay {
    display: none !important;
  }

  .admin-sidebar-close {
    display: none;
  }

  .admin-menu-toggle {
    display: none;
  }

  .admin-layout--menu-open .admin-sidebar {
    transform: none;
  }
}


/* ——— Form: header search as form ——— */
/* ——— Product Detail Page ——— */
.product-detail-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.product-detail-media {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1/1;
}

.p-detail-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.p-card-link-wrap {
  text-decoration: none;
  color: inherit;
  display: block;
}

.p-card-link-wrap:hover .p-title {
  color: var(--green);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.p-detail-title {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--ink);
  line-height: 1.25;
}

.p-detail-prices {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.p-detail-prices .p-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #7cb342;
}

.p-detail-prices .p-old {
  font-size: 1.2rem;
  color: #aaa;
  text-decoration: line-through;
}

.p-detail-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 12px;
}

.p-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.p-qty--large {
  flex: 0 0 auto;
  height: 38px;
  width: 90px;
}

.btn-large {
  flex: 0 0 auto;
  width: auto !important;
  padding: 0 0.85rem;
  height: 38px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.p-detail-meta {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.p-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.p-meta-label {
  color: var(--muted);
  font-weight: 500;
  min-width: 100px;
}

.p-meta-value {
  color: var(--ink);
  font-weight: 600;
}

.p-meta-value a {
  color: var(--green-dark);
  text-decoration: none;
}

.p-meta-value a:hover {
  text-decoration: underline;
}

.p-meta-value--stock {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.p-meta-value--stock.is-in-stock {
  background: #f0fdf4;
  color: #166534;
}

.p-meta-value--stock.is-out-of-stock {
  background: #fef2f2;
  color: #991b1b;
}

.p-meta-value--stock svg {
  flex-shrink: 0;
}

/* ——— Product Highlights ——— */
.p-detail-highlights {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.highlight-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.highlight-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #475569;
}

.highlight-list li svg {
  color: var(--green);
  flex-shrink: 0;
}

/* ——— Trust Badges ——— */
.p-detail-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 2rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.trust-badge svg {
  color: var(--green);
  opacity: 0.8;
}

.trust-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ——— WhatsApp Support ——— */
.btn-whatsapp-support {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  height: 48px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-support:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
  color: #fff;
}

.btn-whatsapp-support svg {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* ——— Form Stilleri (Ödeme vs.) ——— */
.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

.form-group .req {
  color: #e53935;
  margin-left: 0.1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-group input:disabled {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .form-row-2 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* ——— Checkout Mobil İyileştirmeleri ——— */
@media (max-width: 1023px) {
  /* Ödeme sayfasında tabbar'ı gizleyerek buton çakışmasını önle */
  .checkout-page .mobile-tabbar {
    display: none !important;
  }

  /* Ana konteynır genişliğini mobilde optimize et */
  .checkout-page .container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

  /* Kart boşluklarını mobilde daraltarak alanı verimli kullan */
  .checkout-card, .summary-card {
    padding: 1.25rem 1rem !important;
    border-radius: 12px;
  }

  /* Grid boşluğunu azalt */
  .checkout-grid {
    gap: 1.25rem !important;
  }

  /* Mobilde sağ taraf özeti akışa bırak (yapışkan olmasın) */
  .checkout-page .checkout-sticky-side {
    position: static !important;
    margin-bottom: 2rem;
  }

  /* Alt kısımdaki sabit butonun içeriği kapatmaması için güvenli alan */
  .checkout-page .checkout-shell {
    padding-bottom: 140px !important;
  }

  /* Sabit özet barı tasarımı */
  .checkout-mobile-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 1.25rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .cms-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .cms-total strong {
    font-size: 1.25rem;
    color: var(--green);
  }

  .payment-method-option {
    padding: 1rem !important;
  }
}

@media (max-width: 480px) {
  /* Başlıkları ve adım numaralarını daha da küçült */
  .checkout-step-num {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
  }
  .checkout-card-title {
    font-size: 0.9rem;
    letter-spacing: -0.01em;
  }
  .checkout-card-head {
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
  }
  
  /* Form elemanlarını ve labelleri küçült */
  .form-group {
    margin-bottom: 0.75rem;
  }
  .form-group label {
    font-size: 0.75rem;
    margin-bottom: 0.2rem;
    color: var(--muted);
  }
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group input[type="password"],
  .form-group select,
  .form-group textarea {
    padding: 0.55rem 0.7rem;
    font-size: 0.82rem;
    border-radius: 6px;
    width: 100%; /* Kesinlikle taşmayı önle */
  }

  /* Ödeme seçeneklerini kompakt yap */
  .payment-method-option {
    width: 100% !important;
    padding: 0.65rem 0.75rem !important;
    gap: 0.75rem;
    border-radius: 10px;
    display: flex !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
  }
  .pm-content {
    flex: 1;
    min-width: 0;
  }
  .pm-content strong {
    font-size: 0.82rem;
    white-space: normal;
  }
  .pm-content p {
    font-size: 0.7rem;
    line-height: 1.3;
    white-space: normal;
  }
  .pm-radio {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
  }
  .pm-radio::after {
    inset: 3px;
  }
  
  /* Tarayıcı varsayılan radyosunu kesin olarak gizle */
  .payment-method-option input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
  }

  .p-detail-title {
    font-size: 1.1rem;
  }
  
  /* Kart iç boşluklarını ve gölgeyi mobilde optimize et */
  .checkout-card {
    padding: 1rem 0.75rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 1rem;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Alt bar butonu ve yazı arasındaki boşluğu düzenle */
  .checkout-mobile-summary {
    padding: 0.85rem 1rem 1rem;
  }
  .cms-total {
    margin-bottom: 0.25rem;
  }
  .cms-total span {
    font-size: 0.85rem;
  }
  .cms-total strong {
    font-size: 1.15rem;
  }

  /* Hiçbir elementin ekran dışına taşmadığından emin ol */
  .checkout-grid, .checkout-main, .checkout-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }
}

/* ——— Back to Top ——— */
.back-to-top {
  position: fixed;
  bottom: 80px; /* Tabbar'ın üzerinde dursun */
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

@media (min-width: 1024px) {
  .back-to-top {
    bottom: 30px;
    right: 30px;
  }
}

/* ——— Floating WhatsApp ——— */
.floating-whatsapp {
  position: fixed;
  bottom: 140px; /* Back to top butonunun üzerinde */
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
  background: #20ba5a;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #fff;
}

@media (min-width: 1024px) {
  .floating-whatsapp {
    bottom: 90px;
    right: 30px;
  }
}

/* ——— Cart Head Actions ——— */
.cart-head-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #fafbfc;
  border-radius: 12px 12px 0 0;
}

.cart-item-count {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

.btn-cart-clear {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid #fca5a5;
  color: #dc2626;
  border-radius: 6px;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.btn-cart-clear:hover {
  background: #fee2e2;
  border-color: #dc2626;
}

.cart-clear-form {
  margin: 0;
}

/* ——— Minimum Sipariş Tutarı ——— */
.min-order-notice {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.min-order-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.6rem;
}

.min-order-header svg {
  flex-shrink: 0;
  color: #d97706;
}

.min-order-bar-wrap {
  height: 6px;
  background: #fde68a;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.min-order-bar {
  height: 100%;
  background: #f59e0b;
  border-radius: 99px;
  transition: width 0.4s ease;
}

.min-order-sub {
  font-size: 0.8rem;
  color: #78350f;
  margin: 0;
}

.btn-disabled {
  opacity: 0.45;
  cursor: not-allowed !important;
  pointer-events: none;
}

/* ——— Announcement Marquee Strip ——— */
.announcement-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  padding: 0.65rem 0;
}

.announcement-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}

.announcement-track:hover {
  animation-play-state: paused;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.announcement-icon {
  font-size: 1rem;
  line-height: 1;
}

.announcement-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.admin-search-input {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.admin-search-input:focus {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15) !important;
  background-color: #fff !important;
}
