/* ==========================================
   GLOBAL & KARIŞIK CSS KURALLARI
========================================== */
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
body.lock {
  overflow: hidden;
}
::selection {
  background: #c2a05a;
  color: #fff;
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f4eddf;
}
::-webkit-scrollbar-thumb {
  background: #c2a05a;
  border-radius: 6px;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

.marquee {
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

#siteHeader {
  transition:
    box-shadow 0.35s ease,
    background 0.35s ease;
}
#siteHeader.scrolled {
  box-shadow: 0 10px 30px rgba(33, 30, 24, 0.08);
  background: rgba(250, 247, 240, 0.96);
}

.nav-item > a .ri-arrow-down-s-line {
  transition: transform 0.3s ease;
}
.nav-item:hover > a .ri-arrow-down-s-line {
  transform: rotate(180deg);
}
.nav-item > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 100%;
  background: #c2a05a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav-item:hover > a::after {
  transform: scaleX(1);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(14px);
  width: 100%;
  background: rgba(250, 247, 240, 0.985);
  border-top: 1px solid rgba(194, 160, 90, 0.35);
  border-bottom: 1px solid #e9dfc9;
  box-shadow: 0 30px 60px rgba(33, 30, 24, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s;
}
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-link {
  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}
.mega-link:hover {
  color: #a9853f;
  padding-left: 6px;
}
.mega-img img {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.mega-img:hover img {
  transform: scale(1.05);
}

.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.acc-item.open .acc-body {
  grid-template-rows: 1fr;
}
.acc-item.open .acc-chev {
  transform: rotate(180deg);
}
.acc-chev {
  transition: transform 0.35s ease;
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-body {
  grid-template-rows: 1fr;
}
.faq-icon {
  transition: transform 0.35s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.quote-slide {
  display: none;
}
.quote-slide.active {
  display: block;
  animation: capFade 0.7s ease both;
}

.toast {
  opacity: 0;
  transform: translate(-50%, 18px);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.gold-line {
  width: 46px;
  height: 1px;
  background: #c2a05a;
}
.season-banner {
  background-attachment: scroll;
}

@media (min-width: 768px) {
  .season-banner {
    background-attachment: fixed;
  }
}
@media (max-width: 1023px) {
  .desktop-nav {
    display: none;
  }
  .header-search {
    order: 3;
    width: 100%;
    max-width: none;
  }
  .header-main {
    flex-wrap: wrap;
  }
}
@media (min-width: 1024px) {
  .mobile-menu-button {
    display: none;
  }
}
/* ==========================================
   SATENTEKS GLOBAL BİLEŞEN STİLLERİ
========================================== */

/* 1. Scrollbar Gizleme */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* 2. Number Input Oklarını Gizleme */
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type='number'] {
  -moz-appearance: textfield;
  appearance: none;
}

/* 3. Galeri Thumbnail Stilleri */
.thumb-btn {
  opacity: 0.5;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.thumb-btn.active {
  opacity: 1;
  border-color: #c2a05a;
}
.thumb-btn:hover {
  opacity: 1;
}

.lb-thumb-btn {
  opacity: 0.4;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}
.lb-thumb-btn.active {
  opacity: 1;
  border-color: #c2a05a;
}
.lb-thumb-btn:hover {
  opacity: 1;
}

/* Dinamik Varyant Stilleri */
.variant-radio:checked + .variant-label:not(.is-color) {
  border-color: #c2a05a;
  color: #c2a05a;
}

.variant-radio:checked + .variant-label.is-color {
  border-color: #fff !important;
  box-shadow: 0 0 0 2px #c2a05a;
}

/* Özel Checkbox Tasarımı */
.custom-checkbox {
  appearance: none;
  background-color: transparent;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 1px solid #d9cfbb;
  border-radius: 0.15em;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.custom-checkbox::before {
  content: '';
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em white;
  background-color: white;
  transform-origin: center;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.custom-checkbox:checked {
  background-color: #c2a05a;
  border-color: #c2a05a;
}

.custom-checkbox:checked::before {
  transform: scale(1);
}
