
/* Cookie notice: a compact floating card at the bottom (title, text, three equal buttons), a single-column
   preferences window (centered on desktop, bottom sheet on phones) and a small confirmation pill.
   Reject, manage and accept look the same on purpose (KVKK: refusing must be as easy as accepting).
   Functional copy, not a brand moment: the quiet text serif (--font-text) throughout. Colors: --cookie-* tokens. */

/* ─── Card ─────────────────────────────────────────────── */

.cc_v6ia3flz_87baDPeJlW .bdck, .cc_v6ia3flz_header .bdck {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--space-15) + env(safe-area-inset-bottom) + var(--pdp-sticky-h, 0px));
  /* Above the header bar, below the mobile menu drawer (60) */
  z-index: 55;
  display: flex;
  justify-content: center;
  padding: 0 var(--space-15);
  pointer-events: none;
  font-family: var(--font-text, Georgia, serif);
  animation: bdck-rise 0.7s var(--ease-out) both;
}
.cc_v6ia3flz_87baDPeJlW .bdck.is-leaving, .cc_v6ia3flz_header .bdck.is-leaving {
  animation: bdck-sink 0.45s var(--ease-out) both;
}

.cc_v6ia3flz_87baDPeJlW .bdck-card, .cc_v6ia3flz_header .bdck-card {
  width: 100%;
  max-width: 640px;
  padding: var(--space-20) var(--space-20) var(--space-20);
  border-radius: 15px;
  background: var(--cookie-bg);
  color: var(--cookie-fg);
  box-shadow: var(--shadow-raise);
  pointer-events: auto;
}

.cc_v6ia3flz_87baDPeJlW .bdck-title, .cc_v6ia3flz_header .bdck-title {
  margin: 0 0 var(--space-10);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}

.cc_v6ia3flz_87baDPeJlW .bdck-text, .cc_v6ia3flz_header .bdck-text {
  margin: 0 0 var(--space-15);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--cookie-fg-soft);
  text-wrap: pretty;
}

.cc_v6ia3flz_87baDPeJlW .bdck-link, .cc_v6ia3flz_header .bdck-link, .cc_v6ia3flz_87baDPeJlW .bdcs-link, .cc_v6ia3flz_header .bdcs-link {
  color: var(--cookie-fg);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.cc_v6ia3flz_87baDPeJlW .bdck-link:hover, .cc_v6ia3flz_header .bdck-link:hover, .cc_v6ia3flz_87baDPeJlW .bdcs-link:hover, .cc_v6ia3flz_header .bdcs-link:hover {
  text-decoration-thickness: 2px;
}

/* Tercihleri Yönet inside the text (phones only; wider screens use the third button) */
.cc_v6ia3flz_87baDPeJlW .bdck-manage-inline, .cc_v6ia3flz_header .bdck-manage-inline {
  display: none;
}
/* A dot between the two links; empty alt text, so screen readers skip it */
.cc_v6ia3flz_87baDPeJlW .bdck-manage-inline::before, .cc_v6ia3flz_header .bdck-manage-inline::before {
  content: "\00a0·" / "";
}
.cc_v6ia3flz_87baDPeJlW .bdck-link--button, .cc_v6ia3flz_header .bdck-link--button {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  line-height: inherit;
  cursor: pointer;
}

.cc_v6ia3flz_87baDPeJlW .bdck-actions, .cc_v6ia3flz_header .bdck-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10);
}

/* em: never at the default text size (320px fits three); with enlarged text the buttons drop to more rows instead of overflowing */
@media (max-width: 29.99em) {
  .cc_v6ia3flz_87baDPeJlW .bdck-actions, .cc_v6ia3flz_header .bdck-actions {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 5rem), 1fr));
  }
}

.cc_v6ia3flz_87baDPeJlW .bdck-btn, .cc_v6ia3flz_header .bdck-btn {
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h-sm);
  padding: 0 var(--space-20);
  border: 0;
  border-radius: var(--radius-control, 999px);
  background: var(--cookie-btn-bg);
  color: var(--cookie-btn-fg);
  font-family: var(--btn-font);
  font-size: var(--btn-size);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.cc_v6ia3flz_87baDPeJlW .bdck-btn:hover, .cc_v6ia3flz_header .bdck-btn:hover {
  background: var(--cookie-btn-hover-bg);
}
.cc_v6ia3flz_87baDPeJlW .bdck-btn:active, .cc_v6ia3flz_header .bdck-btn:active {
  transform: scale(0.97);
}
.cc_v6ia3flz_87baDPeJlW .bdck-btn:focus-visible, .cc_v6ia3flz_header .bdck-btn:focus-visible, .cc_v6ia3flz_87baDPeJlW .bdck-link:focus-visible, .cc_v6ia3flz_header .bdck-link:focus-visible, .cc_v6ia3flz_87baDPeJlW .bdcs-link:focus-visible, .cc_v6ia3flz_header .bdcs-link:focus-visible {
  outline: 2px solid var(--cookie-fg);
  outline-offset: 3px;
}

/* ─── Preferences window ───────────────────────────────── */

.cc_v6ia3flz_87baDPeJlW .bdcs, .cc_v6ia3flz_header .bdcs {
  position: fixed;
  inset: 0;
  /* Above the fixed header (90), the PDP buy bar and the drawers (200); below the photo viewer */
  z-index: 250;
  display: grid;
  place-items: center;
  padding: var(--space-25);
  background: var(--color-scrim);
  font-family: var(--font-text, Georgia, serif);
  animation: bdck-fade-in 0.25s var(--ease-out) both;
}

.cc_v6ia3flz_87baDPeJlW .bdcs-dialog, .cc_v6ia3flz_header .bdcs-dialog {
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: min(720px, 100%);
  overflow: hidden;
  border-radius: 15px;
  background: var(--cookie-bg);
  color: var(--cookie-fg);
  box-shadow: var(--shadow-float);
}

.cc_v6ia3flz_87baDPeJlW .bdcs-top, .cc_v6ia3flz_header .bdcs-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-15);
  padding: var(--space-15) var(--space-15) var(--space-10) var(--space-25);
  border-bottom: 1px solid var(--cookie-rule);
}

.cc_v6ia3flz_87baDPeJlW .bdcs-title, .cc_v6ia3flz_header .bdcs-title {
  display: block;
  margin: 0;
  font-family: var(--font-text, Georgia, serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}

.cc_v6ia3flz_87baDPeJlW .bdcs-close, .cc_v6ia3flz_header .bdcs-close {
  appearance: none;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: var(--space-45);
  height: var(--space-45);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-close svg, .cc_v6ia3flz_header .bdcs-close svg {
  width: 18px;
  height: 18px;
}
.cc_v6ia3flz_87baDPeJlW .bdcs-close:hover, .cc_v6ia3flz_header .bdcs-close:hover {
  background: var(--cookie-side-bg);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-close:focus-visible, .cc_v6ia3flz_header .bdcs-close:focus-visible, .cc_v6ia3flz_87baDPeJlW .bdcs-switch:focus-visible, .cc_v6ia3flz_header .bdcs-switch:focus-visible, .cc_v6ia3flz_87baDPeJlW .bdcs-cat-toggle:focus-visible, .cc_v6ia3flz_header .bdcs-cat-toggle:focus-visible {
  outline: 2px solid var(--cookie-fg);
  outline-offset: 2px;
}

.cc_v6ia3flz_87baDPeJlW .bdcs-body, .cc_v6ia3flz_header .bdcs-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-15) var(--space-25) var(--space-10);
  font-size: 0.875rem;
  line-height: 1.6;
}
.cc_v6ia3flz_87baDPeJlW .bdcs-body p, .cc_v6ia3flz_header .bdcs-body p {
  margin: 0 0 var(--space-10);
  text-wrap: pretty;
}
.cc_v6ia3flz_87baDPeJlW .bdcs-intro, .cc_v6ia3flz_header .bdcs-intro {
  color: var(--cookie-fg-soft);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-body .bdcs-status, .cc_v6ia3flz_header .bdcs-body .bdcs-status {
  margin-bottom: var(--space-10);
  font-weight: 600;
}

/* Categories: one row each (name + state), the row name opens the details */
.cc_v6ia3flz_87baDPeJlW .bdcs-cats, .cc_v6ia3flz_header .bdcs-cats {
  margin: 0 0 var(--space-10);
  padding: 0;
  list-style: none;
}
.cc_v6ia3flz_87baDPeJlW .bdcs-cat, .cc_v6ia3flz_header .bdcs-cat {
  border-bottom: 1px solid var(--cookie-rule);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-cat-head, .cc_v6ia3flz_header .bdcs-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  min-height: var(--space-55);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-cat-toggle, .cc_v6ia3flz_header .bdcs-cat-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-10);
  flex: 1;
  min-width: 0;
  min-height: var(--space-45);
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.cc_v6ia3flz_87baDPeJlW .bdcs-chevron, .cc_v6ia3flz_header .bdcs-chevron {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease-out);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-cat-toggle[aria-expanded="true"] .bdcs-chevron, .cc_v6ia3flz_header .bdcs-cat-toggle[aria-expanded="true"] .bdcs-chevron {
  transform: rotate(180deg);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-cat-body, .cc_v6ia3flz_header .bdcs-cat-body {
  padding: 0 0 var(--space-15);
  color: var(--cookie-fg-soft);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-cat-body[hidden], .cc_v6ia3flz_header .bdcs-cat-body[hidden] {
  display: none;
}

.cc_v6ia3flz_87baDPeJlW .bdcs-control, .cc_v6ia3flz_header .bdcs-control {
  display: inline-flex;
  align-items: center;
  gap: var(--space-10);
  flex-shrink: 0;
}
.cc_v6ia3flz_87baDPeJlW .bdcs-state, .cc_v6ia3flz_header .bdcs-state {
  min-width: var(--space-50);
  font-size: 0.875rem;
  text-align: right;
  color: var(--cookie-fg-soft);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-always, .cc_v6ia3flz_header .bdcs-always {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Switch: 45×25 track inside a 45px-tall hit area; 15px knob sits 5px in on every side, slides right when on */
.cc_v6ia3flz_87baDPeJlW .bdcs-switch, .cc_v6ia3flz_header .bdcs-switch {
  appearance: none;
  position: relative;
  flex-shrink: 0;
  width: var(--space-45);
  height: var(--space-25);
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--cookie-switch-off);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-switch::before, .cc_v6ia3flz_header .bdcs-switch::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--space-10)) -2px;
}
.cc_v6ia3flz_87baDPeJlW .bdcs-switch[aria-checked="true"], .cc_v6ia3flz_header .bdcs-switch[aria-checked="true"] {
  background: var(--cookie-switch-on);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-switch-knob, .cc_v6ia3flz_header .bdcs-switch-knob {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--cookie-bg);
  box-shadow: 0 1px 3px rgb(var(--bd-espresso-rgb) / 0.25);
  transition: transform 0.2s var(--ease-out);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-switch[aria-checked="true"] .bdcs-switch-knob, .cc_v6ia3flz_header .bdcs-switch[aria-checked="true"] .bdcs-switch-knob {
  transform: translateX(20px);
}

/* Equal thirds while the labels fit; a label that can't fit (the check on the saved choice, enlarged text) wraps the row instead of overflowing */
.cc_v6ia3flz_87baDPeJlW .bdcs-actions, .cc_v6ia3flz_header .bdcs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-10);
  padding: var(--space-15) var(--space-25) var(--space-20);
  border-top: 1px solid var(--cookie-rule);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-actions .bdck-btn, .cc_v6ia3flz_header .bdcs-actions .bdck-btn {
  flex: 1 1 0;
  min-width: max-content;
  gap: var(--space-5);
  padding: 0 var(--space-10);
}
/* The saved choice: brand success green (cactus) with a check, same size as the others */
.cc_v6ia3flz_87baDPeJlW .bdcs-actions .bdck-btn.is-current, .cc_v6ia3flz_header .bdcs-actions .bdck-btn.is-current {
  background: var(--color-success);
  color: var(--cookie-bg);
}
.cc_v6ia3flz_87baDPeJlW .bdcs-check, .cc_v6ia3flz_header .bdcs-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* ─── Confirmation ─────────────────────────────────────── */

.cc_v6ia3flz_87baDPeJlW .bdct, .cc_v6ia3flz_header .bdct {
  position: fixed;
  left: 50%;
  bottom: calc(var(--space-15) + env(safe-area-inset-bottom) + var(--pdp-sticky-h, 0px));
  z-index: 260;
  width: max-content;
  max-width: calc(100% - var(--space-30));
  padding: var(--space-10) var(--space-20);
  border-radius: 999px;
  background: var(--cookie-btn-bg);
  color: var(--cookie-btn-fg);
  font-family: var(--btn-font);
  font-size: 0.875rem;
  line-height: 1.4;
  text-align: center;
  box-shadow: var(--shadow-raise);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.cc_v6ia3flz_87baDPeJlW .bdct:empty, .cc_v6ia3flz_header .bdct:empty {
  padding: 0;
}
.cc_v6ia3flz_87baDPeJlW .bdct.is-on, .cc_v6ia3flz_header .bdct.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ─── Motion ───────────────────────────────────────────── */

@keyframes bdck-rise {
  from { transform: translateY(calc(100% + 24px)); }
  to   { transform: none; }
}
@keyframes bdck-sink {
  from { transform: none; }
  to   { transform: translateY(calc(100% + 24px)); }
}
@keyframes bdck-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bdck-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ─── Phones ───────────────────────────────────────────── */

@media (max-width: 767px) {
  /* A compact sheet on the bottom edge, like the preferences sheet (mobile conversion pass, 2026-10-29): the whole
     notice in caption size, Tercihleri Yönet as a link in the text and one row of two equal buttons, so the card
     takes far less of the first screen (241px → about 160px at 375×812) and stays off the colour row */
  .cc_v6ia3flz_87baDPeJlW .bdck, .cc_v6ia3flz_header .bdck {
    bottom: var(--pdp-sticky-h, 0px);
    padding: 0;
  }
  .cc_v6ia3flz_87baDPeJlW .bdck-card, .cc_v6ia3flz_header .bdck-card {
    max-width: none;
    padding: var(--space-10) var(--space-15) calc(var(--space-10) + env(safe-area-inset-bottom));
    border-radius: 15px 15px 0 0;
  }
  /* The region keeps its name (aria-label); the text itself says what the card is */
  .cc_v6ia3flz_87baDPeJlW .bdck-title, .cc_v6ia3flz_header .bdck-title {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
  .cc_v6ia3flz_87baDPeJlW .bdck-text, .cc_v6ia3flz_header .bdck-text {
    font-size: var(--type-caption);
    line-height: 1.5;
    margin-bottom: var(--space-10);
  }
  .cc_v6ia3flz_87baDPeJlW .bdck-manage-inline, .cc_v6ia3flz_header .bdck-manage-inline {
    display: inline;
  }
  .cc_v6ia3flz_87baDPeJlW .bdck-btn, .cc_v6ia3flz_header .bdck-btn {
    height: var(--btn-h-sm);
    padding: 0 var(--space-10);
    font-size: 0.875rem;
  }

  /* One row: reject + accept side by side; manage is the link in the text */
  .cc_v6ia3flz_87baDPeJlW .bdck-actions, .cc_v6ia3flz_header .bdck-actions {
    gap: var(--space-10);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cc_v6ia3flz_87baDPeJlW .bdck-btn--manage, .cc_v6ia3flz_header .bdck-btn--manage {
    display: none;
  }

  /* Preferences: bottom sheet, same order of buttons as the card */
  .cc_v6ia3flz_87baDPeJlW .bdcs, .cc_v6ia3flz_header .bdcs {
    place-items: end stretch;
    padding: 0;
  }
  .cc_v6ia3flz_87baDPeJlW .bdcs-dialog, .cc_v6ia3flz_header .bdcs-dialog {
    width: 100%;
    max-height: calc(100dvh - var(--space-25));
    border-radius: 15px 15px 0 0;
    animation: bdcs-sheet-up 0.3s var(--ease-out) both;
  }
  .cc_v6ia3flz_87baDPeJlW .bdcs-top, .cc_v6ia3flz_header .bdcs-top {
    padding: var(--space-10) var(--space-10) var(--space-10) var(--space-15);
  }
  .cc_v6ia3flz_87baDPeJlW .bdcs-body, .cc_v6ia3flz_header .bdcs-body {
    padding: var(--space-15) var(--space-15) var(--space-5);
  }
  .cc_v6ia3flz_87baDPeJlW .bdcs-actions, .cc_v6ia3flz_header .bdcs-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-10);
    padding: var(--space-10) var(--space-15) calc(var(--space-10) + env(safe-area-inset-bottom));
  }
  .cc_v6ia3flz_87baDPeJlW .bdcs-actions .bdck-btn, .cc_v6ia3flz_header .bdcs-actions .bdck-btn {
    min-width: 0;
  }
  .cc_v6ia3flz_87baDPeJlW .bdcs-actions .bdcs-save, .cc_v6ia3flz_header .bdcs-actions .bdcs-save {
    grid-column: 1 / -1;
    order: 3;
  }
  .cc_v6ia3flz_87baDPeJlW .bdct, .cc_v6ia3flz_header .bdct {
    bottom: calc(var(--space-10) + env(safe-area-inset-bottom) + var(--pdp-sticky-h, 0px));
  }
}

@keyframes bdcs-sheet-up {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cc_v6ia3flz_87baDPeJlW .bdck, .cc_v6ia3flz_header .bdck {
    animation-name: bdck-fade-in;
  }
  .cc_v6ia3flz_87baDPeJlW .bdck.is-leaving, .cc_v6ia3flz_header .bdck.is-leaving {
    animation-name: bdck-fade-out;
  }
  .cc_v6ia3flz_87baDPeJlW .bdck-btn, .cc_v6ia3flz_header .bdck-btn, .cc_v6ia3flz_87baDPeJlW .bdcs-switch, .cc_v6ia3flz_header .bdcs-switch, .cc_v6ia3flz_87baDPeJlW .bdcs-switch-knob, .cc_v6ia3flz_header .bdcs-switch-knob, .cc_v6ia3flz_87baDPeJlW .bdcs-chevron, .cc_v6ia3flz_header .bdcs-chevron, .cc_v6ia3flz_87baDPeJlW .bdct, .cc_v6ia3flz_header .bdct {
    transition: none;
  }
  .cc_v6ia3flz_87baDPeJlW .bdcs-dialog, .cc_v6ia3flz_header .bdcs-dialog {
    animation: none;
  }
}

/* The discount pill ("Özel indirim", PromoFunnel) rides just above the cookie card while it is open,
   then drops back when the card closes. Doubled class so it wins over PromoFunnel's own rule, which loads later. */
.cc_v6ia3flz_87baDPeJlW .bdpf-pill.bdpf-pill, .cc_v6ia3flz_header .bdpf-pill.bdpf-pill {
  bottom: calc(clamp(var(--space-10), 2vw, var(--space-25)) + env(safe-area-inset-bottom) + var(--pdp-sticky-h, 0px) + var(--cookie-bar-height, 0px) + var(--bdpf-lift, 0px));
  transition: bottom 0.45s var(--ease-out), background-color var(--duration-fast, 200ms) var(--ease-out), color var(--duration-fast, 200ms) var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .cc_v6ia3flz_87baDPeJlW .bdpf-pill.bdpf-pill, .cc_v6ia3flz_header .bdpf-pill.bdpf-pill {
    transition: none;
  }
}
