:root {
  --font-family: 'Hanken Grotesk', sans-serif;
  --color-primary: #bc1f24;
  --color-primary-dark: #9a1a1d; /* #bc1f24 koyusu — gradient / hover */
  --color-primary-light: #d4252a; /* #bc1f24 açığı */
  --color-surface: #f9f9f9;
  --color-surface-dim: #dadada;
  --color-surface-bright: #f9f9f9;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f3f3f3;
  --color-surface-container: #ededed;
  --color-surface-container-high: #e7e7e7;
  --color-surface-container-highest: #e1e1e1;
  --color-on-surface: #1a1b1d;
  --color-on-surface-variant: #43474e;
  --color-outline: #73777f;
  --color-outline-variant: #c3c6cf;
  --color-inverse-surface: #2f3032;
  --color-inverse-on-surface: #f1f0f3;
  --color-inverse-primary: #ffb4ab;
  --color-text-body: #4a4a4a;
  --color-text-heading: #111827;
  --border-radius: 10px;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--color-surface);
  color: var(--color-text-body);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Site shell — menü / footer / sayfa içeriği aynı ray:
   max 1280px + yan boşluk (mobil 20px, md+ 64px — tasarım token’ları) */
:root {
  --us-shell-max: 1280px;
  --us-shell-px: 1.25rem; /* 20px */
}
@media (min-width: 768px) {
  :root { --us-shell-px: 4rem; } /* 64px */
}

.us-shell {
  width: min(100%, var(--us-shell-max));
  max-width: var(--us-shell-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--us-shell-px);
  padding-right: var(--us-shell-px);
  box-sizing: border-box;
}

/* Eski token’lar → aynı shell ölçüleri */
.max-w-container-max {
  width: min(100%, var(--us-shell-max));
  max-width: var(--us-shell-max);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.px-margin-mobile {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .md\:px-margin-desktop {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }
}

/* Prevent iOS zoom on form focus (inputs < 16px get auto-zoomed) */
@media (max-width: 767px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }
}

/* Mobile touch targets */
@media (max-width: 639px) {
  .us-footer-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Screen-reader only (a11y labels) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Material symbols — fonts-local.css kaynak; burada yalnızca ek hizalama */
a.inline-flex,
button.inline-flex,
.us-btn {
  align-items: center;
}
a.inline-flex > .material-symbols-outlined,
button.inline-flex > .material-symbols-outlined,
.us-btn > .material-symbols-outlined {
  flex-shrink: 0;
  line-height: 1 !important;
}

/* Boş sepet kategori kartları */
.us-cart-cat {
  align-items: center !important;
}
.us-cart-cat__icon {
  display: inline-grid !important;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
}
.us-cart-cat__icon .material-symbols-outlined {
  font-size: 1.375rem !important;
  width: 1em !important;
  height: 1em !important;
  line-height: 1 !important;
}
.us-cart-cat__chev {
  font-size: 1.25rem !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  line-height: 1 !important;
  align-self: center;
}

/* Default link color — do NOT override white text or primary buttons */
a {
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease, opacity 0.2s ease;
}

a:not([class*="text-white"]):not([class*="bg-primary"]):not([class*="bg-on-surface"]):not([class*="us-btn-black"]):not([class*="us-nav"]):not([class*="us-footer"]):not([class*="us-mega"]):not([class*="us-drop"]):not([class*="us-sa"]) {
  color: var(--color-primary);
}

a:not([class*="text-white"]):not([class*="bg-primary"]):not([class*="bg-on-surface"]):not([class*="us-btn-black"]):not([class*="us-nav"]):not([class*="us-footer"]):not([class*="us-mega"]):not([class*="us-drop"]):not([class*="us-sa"]):hover {
  color: var(--color-primary-dark);
}

/* Nav top bar: force white on red background */
.us-nav-top a,
.us-nav-top a:hover,
.us-nav-top a:focus,
.us-nav-top a span,
.us-nav-top a .material-symbols-outlined {
  color: #ffffff !important;
}

/*
 * Primary / dark CTAs: text must stay WHITE on solid primary bg.
 * Not: [class*="bg-primary"] — hover:bg-primary outline butonlarda yazıyı beyaza boyayıp gizlerdi.
 */
a.bg-primary,
a.bg-primary-dark,
a.bg-primary-container,
a.bg-on-surface,
button.bg-primary,
button.bg-primary-dark,
button.bg-primary-container,
.bg-primary,
.bg-primary-container {
  color: #ffffff !important;
}

a.bg-primary:hover,
a.bg-primary-dark:hover,
a.bg-primary-container:hover,
a.bg-on-surface:hover,
a.hover\:bg-primary:hover,
a.hover\:bg-primary-dark:hover,
a.hover\:bg-primary-container:hover,
button.bg-primary:hover,
button.bg-primary-dark:hover,
button.bg-primary-container:hover,
button.hover\:bg-primary:hover,
button.hover\:bg-primary-dark:hover {
  color: #ffffff !important;
}

/* Nested text/icons inside primary buttons stay white */
a.bg-primary *,
a.bg-primary-dark *,
a.bg-primary-container *,
a.bg-on-surface *,
button.bg-primary *,
button.bg-primary-container *,
a.bg-primary:hover *,
a.bg-primary-dark:hover *,
a.bg-primary-container:hover *,
a.hover\:bg-primary:hover *,
button.bg-primary:hover *,
button.bg-primary-container:hover *,
button.hover\:bg-primary:hover * {
  color: inherit !important;
}

/* Explicit white text utility — never lose on hover (links/buttons) */
a.text-white,
a.text-white:hover,
a.text-white:focus,
a.text-white:active,
button.text-white,
button.text-white:hover,
a.text-on-primary,
a.text-on-primary:hover,
button.text-on-primary,
button.text-on-primary:hover {
  color: #ffffff !important;
}

a.text-white *,
a.text-white:hover *,
button.text-white *,
button.text-white:hover *,
a.text-on-primary *,
a.text-on-primary:hover * {
  color: inherit !important;
}

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

button {
  cursor: pointer;
  font-family: var(--font-family);
  border-radius: 10px;
  box-shadow: none;
}

/* Butonlarda gölge / glow yok (sayfa geneli) */
button,
a.bg-primary,
a.bg-primary-dark,
a.bg-primary-container,
a[class*="bg-primary"],
a[class*="bg-primary-container"],
button.bg-primary,
button.bg-primary-dark,
button.bg-primary-container,
button[class*="bg-primary"],
.us-nav-cta,
.us-btn-black {
  box-shadow: none !important;
  filter: none !important;
}

button:hover,
a.bg-primary:hover,
a.bg-primary-dark:hover,
a.bg-primary-container:hover,
a[class*="bg-primary"]:hover,
button[class*="bg-primary"]:hover,
.us-nav-cta:hover {
  box-shadow: none !important;
  filter: none !important;
}

/* Tüm buton görünümü: 10px köşe (Tailwind rounded-* üzerine yazar; rounded-full / hs-arrow hariç) */
button:not(.rounded-full):not(.hs-arrow),
input[type="submit"]:not(.rounded-full),
input[type="button"]:not(.rounded-full),
input[type="reset"]:not(.rounded-full),
a.bg-primary:not(.rounded-full),
a.bg-primary-dark:not(.rounded-full),
a.bg-primary-container:not(.rounded-full),
a[class*="bg-primary-container"]:not(.rounded-full),
a.bg-on-surface:not(.rounded-full),
a.us-btn:not(.rounded-full),
.btn:not(.rounded-full),
.us-btn:not(.rounded-full) {
  border-radius: 10px !important;
}
button.hs-arrow,
.hs-arrow {
  border-radius: 0 !important;
}

.us-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 10px !important;
  transition: opacity 0.15s ease;
}
.us-btn:hover { opacity: 0.9; }
.us-btn-black,
a.us-btn-black,
a.us-btn-black:hover,
a.us-btn-black:focus,
button.us-btn-black,
button.us-btn-black:hover {
  background-color: #111111 !important;
  color: #ffffff !important;
  border: none;
}
.us-btn-black *,
a.us-btn-black *,
button.us-btn-black * {
  color: #ffffff !important;
}
.us-btn-outline {
  background: transparent;
  color: var(--color-on-surface, #1a1b1d);
  border: 1px solid var(--color-outline-variant, #c3c6cf);
}
.us-btn-outline:hover {
  border-color: var(--color-primary, #bc1f24);
  opacity: 1;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-heading);
  font-weight: 700;
}

/* Koyu zemin: üst öğede text-white varsa başlıklar da beyaz kalsın */
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
h1.text-white,
h2.text-white,
h3.text-white,
h4.text-white,
h5.text-white,
h6.text-white {
  color: #ffffff;
}

.bg-dark-hero h1,
.bg-dark-hero h2,
.bg-dark-hero h3,
.bg-dark-hero h4,
.bg-dark-hero h5,
.bg-dark-hero h6 {
  color: #ffffff;
}

.text-primary { color: var(--color-primary); }
.bg-primary { background-color: var(--color-primary); }
.bg-primary-dark { background-color: var(--color-primary-dark); }
.border-primary { border-color: var(--color-primary); }
.hover\:bg-primary-dark:hover { background-color: var(--color-primary-dark); }

/* Tailwind default red-* → marka #bc1f24 / koyusu #9a1a1d */
.text-red-500,
.text-red-600,
.hover\:text-red-500:hover,
.hover\:text-red-600:hover,
.hover\:text-red-700:hover { color: var(--color-primary) !important; }
.text-red-700,
.text-red-800 { color: var(--color-primary-dark) !important; }
.bg-red-500,
.bg-red-600 { background-color: var(--color-primary) !important; }
.border-red-500 { border-color: var(--color-primary) !important; }
.focus\:ring-red-500:focus {
  --tw-ring-color: rgba(var(--color-primary-rgb, 188, 31, 36), 0.45) !important;
}
.focus\:border-red-500:focus { border-color: var(--color-primary) !important; }
.bg-red-50 { background-color: var(--color-primary-soft, #fdf2f2) !important; }
.bg-red-100 { background-color: color-mix(in srgb, var(--color-primary) 12%, white) !important; }
.border-red-100 { border-color: color-mix(in srgb, var(--color-primary) 18%, white) !important; }
.border-red-200 { border-color: color-mix(in srgb, var(--color-primary) 28%, white) !important; }

.bg-dark-hero {
  background-color: #000000;
  color: white;
}

.rounded-box { border-radius: var(--border-radius); }
.shadow-card {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.glassmorphism {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ── Kampanya rozetleri (shadow / glow yok) ── */
.us-promo-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #bc1f24;
  border-radius: 999px;
  box-shadow: none;
  filter: none;
  overflow: hidden;
  vertical-align: middle;
  line-height: 1;
  white-space: nowrap;
}
.us-promo-badge--sm { font-size: 0.65rem; padding: 0.28rem 0.55rem; }
.us-promo-badge--md { font-size: 0.75rem; padding: 0.35rem 0.7rem; }
.us-promo-badge--lg { font-size: 0.85rem; padding: 0.45rem 0.9rem; }
.us-promo-badge__icon {
  font-size: 1em !important;
  font-variation-settings: 'FILL' 1;
  position: relative;
  z-index: 1;
}
.us-promo-badge__text { position: relative; z-index: 1; }
.us-promo-badge__glow {
  display: none;
}
.us-promo-badge--pulse {
  animation: none;
  box-shadow: none;
  transform: none;
}
.us-promo-badge--pulse .us-promo-badge__glow {
  animation: none;
  display: none;
}
.us-promo-badge--nav {
  background: #bc1f24;
  box-shadow: none;
}
@keyframes us-promo-pulse {
  0%, 100% { transform: none; box-shadow: none; }
  50% { transform: none; box-shadow: none; }
}
@keyframes us-promo-shine {
  0%, 100% { transform: none; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .us-promo-badge--pulse,
  .us-promo-badge--pulse .us-promo-badge__glow { animation: none; }
}

/* Sepet kampanya bandı — kırmızı ↔ siyah animasyonlu gradient */
.us-cart-promo {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 1.15rem 1.25rem;
  color: #fff;
  isolation: isolate;
  box-shadow: none;
}
.us-cart-promo__bg {
  position: absolute;
  inset: -40%;
  z-index: 0;
  background: linear-gradient(
    125deg,
    #050508 0%,
    #1a0a0b 18%,
    #bc1f24 42%,
    #9a1a1d 58%,
    #000000 78%,
    #bc1f24 100%
  );
  background-size: 220% 220%;
  animation: us-cart-promo-flow 7s ease-in-out infinite;
}
.us-cart-promo__shine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.14) 48%,
    transparent 62%
  );
  background-size: 200% 100%;
  animation: us-cart-promo-sheen 4.5s ease-in-out infinite;
}
.us-cart-promo__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
@media (min-width: 640px) {
  .us-cart-promo__inner {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }
}
.us-cart-promo__pct {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  animation: none;
}
.us-cart-promo__pct-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 218, 214, 0.85);
}
.us-cart-promo__pct-value {
  font-size: 1.75rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: none;
}
.us-cart-promo__pct-sub {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.1rem;
}
.us-cart-promo__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
@media (min-width: 768px) {
  .us-cart-promo__title { font-size: 1.2rem; }
}
.us-cart-promo__text {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 40rem;
}
.us-cart-promo__until {
  display: inline;
  font-weight: 700;
  color: #ffdad6;
  white-space: nowrap;
}
@keyframes us-cart-promo-flow {
  0% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}
@keyframes us-cart-promo-sheen {
  0%, 100% { background-position: 120% 0; opacity: 0.35; }
  50% { background-position: -20% 0; opacity: 0.7; }
}
@keyframes us-cart-promo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .us-cart-promo__bg,
  .us-cart-promo__shine,
  .us-cart-promo__pct { animation: none; }
}

/* Testimonials carousel — page slides (JS builds .us-tcarousel__page) */
.us-tcarousel__viewport {
  overflow: hidden;
  width: 100%;
}
.us-tcarousel__track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}
.us-tcarousel__page {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  gap: 1rem;
  align-content: start;
}
@media (min-width: 768px) {
  .us-tcarousel__page {
    gap: 1.25rem;
  }
}
.us-tcarousel__slide {
  min-width: 0;
  height: 100%;
}
.us-tcarousel__slide > .us-tcard {
  height: 100%;
}
.us-tcarousel__spacer {
  min-height: 0;
  pointer-events: none;
}
.us-tcarousel__nav[hidden] {
  display: none !important;
}
.us-tcarousel__btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px !important;
  border: 1.5px solid #d1d5db;
  color: #9ca3af;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.us-tcarousel__btn:hover,
.us-tcarousel__btn.is-active {
  border-color: var(--color-primary, #bc1f24);
  color: var(--color-primary, #bc1f24);
}
.us-tcarousel__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .us-tcarousel__track { transition: none; }
}
