:root {
  --bs-font-sans-serif: "Quicksand", sans-serif;
  --bs-body-font-family: "Quicksand", sans-serif;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  font-family: "Quicksand", sans-serif;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
  margin: 0;
  background-color: #faf7f2;
  font-family: "Quicksand", sans-serif;
  color: #4a433d;
}

button,
input,
select,
textarea,
.btn {
  font-family: "Quicksand", sans-serif;
}

.site-main {
  min-height: calc(100vh - 12rem);
}

.page-section {
  padding: 2.5rem 1.25rem 4.5rem;
}

.page-section > .container {
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: 0;
}

.page-title {
  color: #a06a45;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 1.25rem;
  text-align: left;
}

.page-lead {
  max-width: 42rem;
  color: #6e6259;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

/* Legal pages (KVKK, cookies, consent) */
.legal-page {
  padding-top: 2rem;
}

.legal-page > .container {
  max-width: 44rem;
}

.legal-page__header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(160, 106, 69, 0.18);
}

.legal-page .page-title {
  margin-bottom: 0;
  font-family: "Fredoka", "Quicksand", sans-serif;
  letter-spacing: -0.01em;
}

.legal-content {
  padding: 1.75rem 1.5rem 2rem;
  background: #ffffff;
  border: 1px solid rgba(160, 106, 69, 0.12);
  border-radius: 1.25rem;
  box-shadow: 0 0.75rem 2rem rgba(74, 55, 40, 0.06);
  text-align: left;
}

.legal-content p {
  color: #4a433d;
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0 0 1.1rem;
  text-align: left;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content__heading {
  color: #8b5a35;
  font-family: "Fredoka", "Quicksand", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 2rem 0 0.85rem;
  padding-top: 0.25rem;
  text-align: left;
}

.legal-content__heading:first-of-type {
  margin-top: 0;
}

.legal-content__list {
  color: #4a433d;
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
  text-align: left;
  list-style: disc;
}

.legal-content__list li {
  margin-bottom: 0.55rem;
  padding-left: 0.15rem;
}

.legal-content__list li:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .legal-page {
    padding-top: 2.75rem;
  }

  .legal-content {
    padding: 2.25rem 2rem 2.5rem;
  }

  .legal-page .page-title {
    font-size: clamp(1.85rem, 2.8vw, 2.25rem);
  }
}

@media (max-width: 575.98px) {
  .page-section {
    padding-inline: 1rem;
  }

  .legal-content {
    padding: 1.35rem 1.15rem 1.5rem;
    border-radius: 1rem;
  }
}

.cookie-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1050;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent--hidden {
  display: none;
}

.cookie-consent__panel {
  width: min(100%, 36rem);
  padding: 1.65rem 1.85rem 1.5rem;
  border-radius: 1.75rem;
  background: linear-gradient(145deg, #fffaf4 0%, #f5ede3 100%);
  border: 1px solid rgba(160, 106, 69, 0.12);
  box-shadow:
    0 1rem 2.5rem rgba(74, 55, 40, 0.12),
    0 0.25rem 0.75rem rgba(74, 55, 40, 0.06);
  pointer-events: auto;
  animation: cookieConsentIn 0.4s ease-out;
}

.cookie-consent__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cookie-consent__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background-color: #ede6f5;
  color: #5b3f7a;
}

.cookie-consent__icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.cookie-consent__title {
  margin: 0;
  font-family: "Fredoka", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  color: #5c5348;
}

.cookie-consent__message {
  margin: 0 0 0.65rem;
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  color: #7a7168;
}

.cookie-consent__policy {
  display: inline-block;
  margin: 0 0 1.35rem;
  font-family: "Quicksand", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: #6c6114;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cookie-consent__policy:hover,
.cookie-consent__policy:focus-visible {
  color: #5a5211;
}

.cookie-consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.cookie-consent__btn {
  min-height: 3rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: none;
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cookie-consent__btn:focus-visible {
  outline: 2px solid #b9a3db;
  outline-offset: 2px;
}

.cookie-consent__btn--reject {
  background-color: #fff;
  color: #6a5a7d;
  border: 1.5px solid rgba(91, 63, 122, 0.18);
}

.cookie-consent__btn--reject:hover,
.cookie-consent__btn--reject:focus-visible {
  background-color: #faf7f2;
  transform: translateY(-1px);
}

.cookie-consent__btn--accept {
  background-color: #6c6114;
  color: #fff9f2;
  box-shadow: 0 0.35rem 0.85rem rgba(108, 97, 20, 0.22);
}

.cookie-consent__btn--accept:hover,
.cookie-consent__btn--accept:focus-visible {
  background-color: #5a5211;
  transform: translateY(-1px);
}

@keyframes cookieConsentIn {
  from {
    opacity: 0;
    transform: translateY(1rem) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 576px) {
  .cookie-consent {
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent__panel {
    animation: none;
  }

  .cookie-consent__btn:hover,
  .cookie-consent__btn:focus-visible {
    transform: none;
  }
}

html.is-ios .home-nuti-intro,
html.is-ios .cd-nuti-intro,
html.is-ios .products-nuti-intro,
html.is-ios .cd-topic__video--height {
  display: none !important;
}