:root {
  --color-background: #17191c;
  --color-surface: #222529;
  --color-text: #f3f1ec;
  --color-muted: #aeb2b7;
  --color-accent: #a7262c;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--color-background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.container {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* "İçeriğe geç": off-screen until it receives keyboard focus. */
.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 6px;
  background-color: #f3f1ec;
  color: #111316;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

main:focus {
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: #f3f1ec;
}

/* Blur lives on a pseudo-element, not on .site-header itself: backdrop-filter on an ancestor makes
   it the containing block for position: fixed descendants, which trapped the full-screen
   .mobile-navigation inside the header's ~80px box (page content showed through the open menu). */
.site-header::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: rgba(23, 25, 28, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  content: "";
}

.site-header__container {
  display: flex;
  width: min(100% - 48px, 1440px);
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand img {
  display: block;
  width: auto;
  max-width: 190px;
  height: 42px;
  object-fit: contain;
}

.desktop-navigation {
  display: flex;
  align-items: center;
  gap: clamp(26px, 3vw, 50px);
}

.desktop-navigation a {
  position: relative;
  padding: 12px 0;
  color: #aeb2b7;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}

.desktop-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background-color: #f3f1ec;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.desktop-navigation a:hover,
.desktop-navigation a.is-active {
  color: #f3f1ec;
}

.desktop-navigation a:hover::after,
.desktop-navigation a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  position: relative;
  z-index: 103;
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 50%;
  width: 17px;
  height: 1px;
  background-color: #f3f1ec;
  transform: translateX(-50%);
  transition:
    top 220ms ease,
    transform 220ms ease;
}

.menu-button span:first-child {
  top: 19px;
}

.menu-button span:last-child {
  top: 26px;
}

.menu-button.is-active span:first-child {
  top: 22px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-button.is-active span:last-child {
  top: 22px;
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-navigation {
  position: fixed;
  z-index: 101;
  inset: 0;
  display: flex;
  visibility: hidden;
  padding: 125px 24px 42px;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(167, 38, 44, 0.15),
      transparent 32%
    ),
    #17191c;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    visibility 250ms ease,
    opacity 250ms ease,
    transform 250ms ease;
}

.mobile-navigation.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-navigation__links {
  display: grid;
}

.mobile-navigation__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: clamp(17px, 3vh, 23px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #f3f1ec;
  font-size: clamp(2rem, 9vw, 3.7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  text-decoration: none;
  transition:
    color 180ms ease,
    padding-left 180ms ease;
}

.mobile-navigation__links a.is-active {
  padding-left: 8px;
  color: #ffffff;
}

.mobile-navigation__links a span {
  color: #e0555d;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mobile-navigation__note {
  color: #81868c;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand:focus-visible,
.desktop-navigation a:focus-visible,
.mobile-navigation a:focus-visible,
.menu-button:focus-visible {
  outline: 2px solid #f3f1ec;
  outline-offset: 5px;
}

@media (max-width: 860px) {
  .site-header__container {
    width: min(100% - 32px, 760px);
    min-height: 78px;
  }

  .brand img {
    max-width: 160px;
    height: 36px;
  }

  .desktop-navigation {
    display: none;
  }

  .menu-button {
    display: block;
  }
}

@media (max-width: 420px) {
  .site-header__container {
    width: calc(100% - 24px);
  }

  .brand img {
    max-width: 145px;
    height: 33px;
  }

  .mobile-navigation {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-navigation a::after,
  .mobile-navigation__links a,
  .menu-button span,
  .mobile-navigation {
    transition: none;
  }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #858a90;
  font-size: 0.72rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.breadcrumb a:hover {
  color: #f3f1ec;
}

.breadcrumb a:focus-visible {
  outline: 2px solid #f3f1ec;
  outline-offset: 5px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 88% 8%, rgba(167, 38, 44, 0.12), transparent 28%),
    #101214;
  color: #f3f1ec;
}

.site-footer__container {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.site-footer__cta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(48px, 6vw, 78px) 0 clamp(38px, 5vw, 60px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__eyebrow {
  margin-bottom: 15px;
  color: #e0555d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer__cta h2 {
  font-size: clamp(2.8rem, 5.2vw, 6rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.site-footer__cta h2 span {
  display: block;
  color: #8e9398;
}

.site-footer__store {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 22px;
  background-color: #f3f1ec;
  color: #17191c;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 180ms ease, transform 180ms ease;
}

.site-footer__store:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
}

/* Logo + every column on one row (Site, Öne çıkanlar, Yasal, İletişim — whichever are shown). */
.site-footer__grid {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  grid-template-columns: minmax(220px, 1.5fr);
  gap: clamp(35px, 5vw, 80px);
  padding: clamp(52px, 6vw, 78px) 0;
}

.site-footer__brand img {
  width: auto;
  max-width: 220px;
  height: 39px;
  object-fit: contain;
}

.site-footer__brand > p {
  max-width: 360px;
  margin-top: 24px;
  color: #898e93;
  font-size: 0.78rem;
  line-height: 1.75;
}

.site-footer__column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer__column > p {
  margin-bottom: 7px;
  color: #70757b;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer__column a {
  width: fit-content;
  color: #b9bdc1;
  font-size: 0.78rem;
  line-height: 1.5;
  transition: color 180ms ease;
}

.site-footer__column a:hover {
  color: #ffffff;
}

.site-footer__contact a {
  overflow-wrap: anywhere;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #666b70;
  font-size: 0.66rem;
}

@media (max-width: 1100px) {
  .site-footer__grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 950px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-footer__container {
    width: min(100% - 32px, 620px);
  }

  .site-footer__cta {
    display: grid;
    align-items: start;
  }

  .site-footer__store {
    width: fit-content;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__bottom {
    display: grid;
  }
}

@media (max-width: 420px) {
  .site-footer__container {
    width: calc(100% - 24px);
  }
}

/* Razor port: rich text (admin editor) extras — tables, YouTube embeds, uploaded videos — and the
   product gallery's video rows. */
main video {
  max-width: 100%;
  height: auto;
}

.product-detail__video {
  display: block;
  width: 100%;
  margin-top: 14px;
  border-radius: 8px;
  background-color: #000000;
}

main [data-youtube-video] iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 8px;
}

main table {
  width: 100%;
  margin: 1em 0;
  border-collapse: collapse;
}

main th,
main td {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: left;
  vertical-align: top;
}

main th {
  background-color: rgba(255, 255, 255, 0.04);
  font-weight: 700;
}

/* Razor port: elements toggled with the hidden attribute by site.js (hero slides, gallery views)
   must stay hidden even where a component rule sets display. */
[hidden] {
  display: none !important;
}
