/* ===================================
   TOPRAK SANATI — Custom Styles
   =================================== */

/* --- CSS Variables --- */
:root {
  --color-primary: #bb976d;
  --color-primary-dark: #9a7a52;
  --color-primary-light: #d4b896;
  --color-bg: #faf8f5;
  --color-bg-alt: #f2ede6;
  --color-text: #2c2417;
  --color-text-muted: #7a6a55;
  --color-border: #e0d5c5;
  --color-white: #ffffff;
  --color-accent: #4a6741;
}

/* --- Base Resets --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Navigation Links --- */
.nav-link {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.25s;
  padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link--active {
  color: var(--color-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 100%;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--color-primary);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(187, 151, 109, 0.3);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--color-text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 0.75rem;
  border: 1.5px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  background: rgba(187, 151, 109, 0.05);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: transparent;
  color: var(--color-primary);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 0.625rem;
  border: 1.5px solid var(--color-primary);
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

/* --- Hero Slider (Furnixar Style) --- */
.hero-slider {
  position: relative;
}

.slides-container {
  position: relative;
}

.slide {
  display: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide--active {
  display: block;
  opacity: 1;
}

/* Product image entrance */
.slide-img {
  transition: transform 0.7s ease;
}

.slide--active .slide-img {
  animation: slideProductIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideProductIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Content entrance */
.slide--active .hero-bg-text {
  animation: bgTextIn 1.2s ease forwards;
}

@keyframes bgTextIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Slide fruit floating animation */
@keyframes fruitFloat {
  0%, 100% { transform: translateY(0) rotate(var(--fruit-rot, -15deg)); }
  50%       { transform: translateY(-12px) rotate(var(--fruit-rot, -15deg)); }
}

.slide-fruit {
  pointer-events: none;
  user-select: none;
  animation: fruitFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(44, 36, 23, 0.18));
}

.slide--active .slide-fruit {
  animation: fruitIn 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both,
             fruitFloat 5s ease-in-out 1.2s infinite;
}

@keyframes fruitIn {
  from { opacity: 0; transform: translateY(24px) scale(0.8) rotate(var(--fruit-rot, -15deg)); }
  to   { opacity: 1; transform: translateY(0)    scale(1)   rotate(var(--fruit-rot, -15deg)); }
}

/* Dots */
.dot {
  cursor: pointer;
  transition: all 0.3s;
}

.dot--active {
  width: 1.75rem !important;
  border-radius: 9999px;
}

/* --- Product Card --- */
.product-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(187, 151, 109, 0.15);
  border-color: var(--color-border);
}

.product-card__image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
  height: 280px;
}

.product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.7s ease;
}

.product-card__image--primary {
  opacity: 1;
  z-index: 1;
}

.product-card__image--secondary {
  opacity: 0;
  z-index: 2;
  animation: galeriOtomatik 9s ease-in-out infinite;
}

@keyframes galeriOtomatik {
  0%, 30%  { opacity: 0; }
  42%, 75% { opacity: 1; }
  87%, 100% { opacity: 0; }
}

.product-card:hover .product-card__image--secondary {
  opacity: 1;
  animation: none;
}

.product-card:hover .product-card__image {
  transform: scale(1.05);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 36, 23, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

.product-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  background: var(--color-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}

.product-card__body {
  padding: 1.25rem;
}

.product-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.product-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --- Modal --- */
.modal--open {
  pointer-events: auto !important;
  opacity: 1 !important;
}

.modal--open .modal__content {
  transform: scale(1) !important;
}

/* --- Sepet Sidebar --- */
.sepet-sidebar--open .sepet-overlay {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.sepet-sidebar--open .sepet-panel {
  transform: translateX(0) !important;
}

.sepet-sidebar--open {
  pointer-events: auto !important;
}

/* --- Toast --- */
.toast {
  padding: 0.875rem 1.5rem;
  background: var(--color-text);
  color: white;
  border-radius: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100px);
  opacity: 0;
  transition: all 0.3s ease;
}

.toast--visible {
  transform: translateX(0);
  opacity: 1;
}

/* --- Sepet Item --- */
.sepet-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.sepet-item__img {
  width: 60px;
  height: 60px;
  border-radius: 0.75rem;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.sepet-item__info {
  flex: 1;
}

.sepet-item__title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--color-text);
}

.sepet-item__remove {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.sepet-item__remove:hover {
  background: #fee2e2;
  color: #ef4444;
}

.sepet-item__qty {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.375rem;
}

.sepet-qty-btn {
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: none;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.sepet-qty-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary)/5%;
}

.sepet-qty-num {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  min-width: 1.25rem;
  text-align: center;
}

/* --- Page Header / Breadcrumb Banner --- */
.page-header {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-primary);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--color-primary-dark);
}

/* --- Filter Buttons --- */
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--color-border);
  background: white;
  color: var(--color-text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s;
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn--active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* --- Product Detail --- */
.product-detail__gallery {
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: stretch;
}

.product-detail__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* --- About Page --- */
.about-value {
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-value:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(187, 151, 109, 0.12);
}

/* --- Contact Form --- */
.contact-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 0.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--color-text);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(187, 151, 109, 0.1);
}

/* --- Animations --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeUp 0.6s ease forwards;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .product-card__image-wrap {
    height: 220px;
  }

  .product-card__actions {
    flex-direction: column;
  }

  .product-card__actions .btn-outline,
  .product-card__actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* --- Selection Color --- */
::selection {
  background: var(--color-primary-light);
  color: var(--color-text);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

/* --- Dark Mode --- */
html.dark {
  --color-primary: #c9a87c;
  --color-primary-dark: #bb976d;
  --color-primary-light: #d4b896;
  --color-bg: #1a1610;
  --color-bg-alt: #231e16;
  --color-text: #f0ebe3;
  --color-text-muted: #a89a86;
  --color-border: #3d3428;
  --color-white: #1a1610;
  --color-accent: #6b9960;
}

html.dark body {
  background: var(--color-bg);
  color: var(--color-text);
}

html.dark .bg-cream { background: var(--color-bg) !important; }
html.dark .bg-cream-alt { background: var(--color-bg-alt) !important; }
html.dark .bg-white { background: var(--color-bg-alt) !important; }
html.dark .bg-white\/80 { background: rgba(26, 22, 16, 0.85) !important; }

html.dark .text-earth { color: var(--color-text) !important; }
html.dark .text-earth-muted { color: var(--color-text-muted) !important; }

html.dark .border-earth-border\/50 { border-color: rgba(61, 52, 40, 0.5) !important; }
html.dark .border-earth-border\/30 { border-color: rgba(61, 52, 40, 0.3) !important; }
html.dark .border-earth-border { border-color: var(--color-border) !important; }

html.dark .product-card {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
}

html.dark .product-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

html.dark .product-card__image-wrap {
  background: var(--color-bg);
}

html.dark .product-card__title { color: var(--color-text); }
html.dark .product-card__desc { color: var(--color-text-muted); }

html.dark .btn-ghost {
  color: var(--color-text);
  border-color: var(--color-border);
}

html.dark .btn-ghost:hover {
  border-color: var(--color-primary);
  background: rgba(201, 168, 124, 0.1);
}

html.dark .btn-outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

html.dark .filter-btn {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
  color: var(--color-text-muted);
}

html.dark .page-header {
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  border-bottom-color: var(--color-border);
}

html.dark .about-value {
  background: var(--color-bg-alt);
}

html.dark .contact-input {
  background: var(--color-bg);
  border-color: var(--color-border);
  color: var(--color-text);
}

html.dark .modal__content {
  background: var(--color-bg-alt);
}

html.dark .sepet-panel {
  background: var(--color-bg-alt);
}

html.dark .toast {
  background: var(--color-text);
  color: var(--color-bg);
}

html.dark .product-detail__gallery {
  background: var(--color-bg-alt);
}

html.dark .product-detail__tag {
  background: var(--color-bg);
  color: var(--color-primary);
}

html.dark .hero-slider {
  background: var(--color-bg) !important;
}

html.dark .slide[style] {
  background: var(--color-bg) !important;
}

html.dark ::selection {
  background: var(--color-primary-dark);
  color: var(--color-text);
}

html.dark ::-webkit-scrollbar-track {
  background: var(--color-bg);
}

html.dark ::-webkit-scrollbar-thumb {
  background: var(--color-border);
}

/* --- Product Card Favorite Button --- */
.product-card__fav {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 5;
}

.product-card__fav:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

html.dark .product-card__fav {
  background: var(--color-bg-alt);
}

/* --- Gallery Thumbnails --- */
.gallery-thumb {
  width: 70px;
  height: 70px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: border-color 0.25s, transform 0.2s;
  background: var(--color-bg-alt);
  padding: 0;
  flex-shrink: 0;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.gallery-thumb--active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(187, 151, 109, 0.2);
}

/* --- Product Detail Main Image --- */
.product-detail__main-img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.22s ease;
}

.product-detail__main-img:hover {
  transform: scale(1.03);
}

/* --- Sticky Add to Cart --- */
.sticky-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid var(--color-border);
  padding: 0.875rem 0;
  z-index: 40;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.sticky-cart--visible {
  transform: translateY(0);
  opacity: 1;
}

html.dark .sticky-cart {
  background: var(--color-bg-alt);
  border-top-color: var(--color-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

/* --- Header Search --- */
.header-search {
  position: relative;
}

.header-search__input {
  width: 0;
  padding: 0;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--color-text);
  transition: width 0.3s ease, padding 0.3s ease;
  outline: none;
}

.header-search--open .header-search__input {
  width: 200px;
  padding: 0.5rem 0.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 0.625rem;
}

.header-search__results {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 320px;
  max-height: 360px;
  overflow-y: auto;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  z-index: 60;
}

html.dark .header-search__results {
  background: var(--color-bg-alt);
  border-color: var(--color-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* --- Responsive additions --- */
@media (max-width: 768px) {
  .header-search--open .header-search__input {
    width: 150px;
  }
  .header-search__results {
    width: 280px;
    right: -2rem;
  }
  .sticky-cart .btn-primary {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 480px) {
  .header-search--open .header-search__input {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    width: 250px;
    z-index: 60;
  }
  .header-search__results {
    top: calc(100% + 3.5rem);
  }
}

/* ========================================
   13. COOKIE CONSENT MODAL
======================================== */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cookie-modal--visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.cookie-modal__box {
  position: relative;
  background: var(--color-bg);
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s ease;
}
.cookie-modal--visible .cookie-modal__box {
  transform: scale(1) translateY(0);
}
.cookie-modal__icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}
.cookie-modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.cookie-modal__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.cookie-modal__options {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
}
.cookie-modal__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
}
.cookie-modal__option:last-child {
  border-bottom: none;
}
.cookie-modal__option-info {
  flex: 1;
  min-width: 0;
}
.cookie-modal__option-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}
.cookie-modal__option-desc {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.cookie-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.cookie-modal__btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-align: center;
  width: 100%;
}
.cookie-modal__btn--accept {
  background: var(--color-primary);
  color: #fff;
}
.cookie-modal__btn--accept:hover {
  background: var(--color-primary-dark);
}
.cookie-modal__btn--save {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.cookie-modal__btn--save:hover {
  background: var(--color-border);
}
.cookie-modal__btn--reject {
  background: transparent;
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: 0.8125rem;
  text-decoration: underline;
  padding: 0.5rem;
}
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--color-border);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  left: 3px;
  top: 3px;
  transition: transform 0.2s;
}
.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--color-primary);
}
.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(20px);
}
.cookie-toggle input:disabled + .cookie-toggle__slider {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ========================================
   13b. TALEP SEPETI FORM
======================================== */
.sepet-form {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.sepet-form__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}
.sepet-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  color: var(--color-text);
  font-family: var(--font-body);
  transition: border-color 0.2s;
}
.sepet-form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-bg);
}
.sepet-form__input::placeholder {
  color: var(--color-text-muted);
}

/* ========================================
   14. BACK TO TOP BUTTON
======================================== */
#backToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}
#backToTop:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   15. WHATSAPP FLOATING BUTTON
======================================== */
#whatsappBtn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
}
#whatsappBtn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}
#whatsappBtn .pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: whatsappPulse 2s infinite;
}
@keyframes whatsappPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ========================================
   16. KVKK CHECKBOX
======================================== */
.kvkk-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.kvkk-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.kvkk-checkbox label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.kvkk-checkbox label a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ========================================
   17. KVKK MODAL
======================================== */
.kvkk-modal__content {
  max-height: 50vh;
  overflow-y: auto;
  padding: 1.25rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}
.kvkk-modal__content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 1rem 0 0.5rem;
}
.kvkk-modal__content h4:first-child {
  margin-top: 0;
}
.kvkk-modal__content p,
.kvkk-modal__content li {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.kvkk-modal__content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

/* ========================================
   18. RESPONSIVE OVERRIDES
======================================== */
@media (max-width: 640px) {
  .cookie-modal__box {
    padding: 1.5rem;
    border-radius: 1rem;
  }
  .cookie-modal__title {
    font-size: 1.25rem;
  }
  #whatsappBtn {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    bottom: 1.25rem;
    left: 1.25rem;
  }
  #backToTop {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}
