:root {
  --brand: #6e4d16;
  --brand-dark: #4a3310;
  --brand-light: #a37a30;
  --brand-accent: #c99a4a;
  --cream: #f5f5f5;
  --white: #ffffff;
  --text: #222222;
  --text-muted: #666666;
  --border: #e5e1da;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.font-display {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  letter-spacing: 0.01em;
}

.font-script {
  font-family: 'Great Vibes', 'Brush Script MT', cursive;
}

/* Brand color utility classes */
.bg-brand { background-color: var(--brand) !important; }
.bg-brand-dark { background-color: var(--brand-dark) !important; }
.bg-brand-light { background-color: var(--brand-light) !important; }
.bg-cream { background-color: var(--cream) !important; }
.text-brand { color: var(--brand) !important; }
.text-brand-light { color: var(--brand-light) !important; }
.border-brand { border-color: var(--brand) !important; }

.brand-gradient {
  background: linear-gradient(135deg, #6e4d16 0%, #8c6423 50%, #6e4d16 100%);
}

.brand-gradient-soft {
  background: linear-gradient(135deg, #6e4d16 0%, #4a3310 100%);
}

/* Section title */
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--brand);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--brand-accent);
}

/* Horizontal scrollbar hide */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Lazy-load image fade-in */
.lazy-img {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.lazy-img.is-loaded {
  opacity: 1;
}

/* Shimmer placeholder (left-to-right shine) */
.shimmer {
  position: absolute;
  inset: 0;
  background: #ece3d3;
  overflow: hidden;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.shimmer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%);
  animation: shimmer-slide 1.4s ease-in-out infinite;
}
.shimmer.is-hidden {
  opacity: 0;
}
@keyframes shimmer-slide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Hero slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}
.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slider .slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0) 70%);
}
.hero-slider .slide-caption {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 3;
  color: #fff;
  max-width: 380px;
}
.hero-slider .slide-caption h3 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.hero-slider .slide-caption p {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-top: 6px;
}
.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.hero-dots button.active {
  background: var(--brand-accent);
  width: 28px;
  border-radius: 5px;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.hero-arrow:hover { background: var(--brand); }
.hero-arrow.prev { left: 12px; }
.hero-arrow.next { right: 12px; }

/* Category icon ribbon — auto-scrolling marquee */
.cat-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.cat-marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: cat-marquee 45s linear infinite;
  will-change: transform;
}
.cat-marquee:hover .cat-marquee-track {
  animation-play-state: paused;
}
@keyframes cat-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.cat-icon {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--brand);
  width: 100px;
  transition: transform 0.25s;
}
.cat-icon:hover { transform: translateY(-3px); }
.cat-icon .circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  padding: 3px;
  overflow: hidden;
  position: relative;
}
.cat-icon .circle img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.cat-icon span {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.15;
}

/* Product card */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -12px rgba(110, 77, 22, 0.25);
  border-color: var(--brand);
}
.product-card .pimg {
  aspect-ratio: 1;
  overflow: hidden;
  background: #fafafa;
}
.product-card .pimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.product-card:hover .pimg img { transform: scale(1.05); }
.product-card .pbody {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card .ptitle {
  font-size: 13px;
  color: #333;
  line-height: 1.4;
  min-height: 54px;
  margin-bottom: 8px;
}
.product-card .pprice {
  font-family: 'Playfair Display', serif;
  color: var(--brand);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}
.btn-add {
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: background 0.25s;
  font-family: inherit;
}
.btn-add:hover { background: var(--brand-dark); }

/* Features bar */
.feature-cell {
  padding: 18px 22px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.feature-cell:last-child { border-right: none; }
.feature-cell h4 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.feature-cell p {
  font-size: 11px;
  opacity: 0.85;
  line-height: 1.35;
}

/* Promo banner */
.promo-banner {
  background: var(--brand);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 45%, rgba(110,77,22,0.7) 75%, rgba(110,77,22,0) 100%);
  z-index: 2;
}

/* Bento */
.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  background: #222;
}
.bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.bento-card:hover img { transform: scale(1.06); }
.bento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
}
.bento-card .bento-label {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.bento-card .bento-label small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 4px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Newsletter */
.nl-input {
  background: #fff;
  color: #333;
  border: 1px solid var(--border);
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.nl-input:focus { border-color: var(--brand); }

/* Menu dropdown */
.has-dropdown { position: relative; }
.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-top: 3px solid var(--brand-accent);
  box-shadow: 0 18px 40px -8px rgba(0,0,0,0.2);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.25s;
  z-index: 50;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.dropdown a:hover {
  background: var(--cream);
  color: var(--brand);
}

/* Kategori sayfası — yan menü accordion (header ile aynı linkler) */
.cat-sidebar-nav .cat-sidebar-group {
  border-bottom: 1px solid #e8e4df;
}
.cat-sidebar-nav .cat-sidebar-group:last-of-type {
  border-bottom: none;
}
.cat-sidebar-group > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: #fff;
  transition: background 0.2s, color 0.2s;
}
.cat-sidebar-group > summary::-webkit-details-marker {
  display: none;
}
.cat-sidebar-group > summary::marker {
  display: none;
}
.cat-sidebar-group > summary:hover {
  background: var(--cream);
}
.cat-sidebar-group[open] > summary {
  background: linear-gradient(180deg, #faf8f5 0%, #fff 100%);
  box-shadow: inset 0 3px 0 0 var(--brand-accent);
}
.cat-sidebar-group[open] > summary .cat-sidebar-chevron {
  transform: rotate(180deg);
}
.cat-sidebar-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.cat-sidebar-links {
  padding: 0.25rem 0 0.65rem;
  background: #faf8f5;
  border-top: 1px solid #ebe6df;
}
.cat-sidebar-links a {
  display: block;
  padding: 0.5rem 1rem 0.5rem 1.35rem;
  font-size: 13px;
  color: #3d3d3d;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cat-sidebar-links a:hover {
  border-left-color: var(--brand-accent);
  color: var(--brand);
  background: #fff;
}
.cat-sidebar-single {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid #e8e4df;
  transition: background 0.2s;
}
.cat-sidebar-single:hover {
  background: var(--cream);
  color: var(--brand-dark);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--brand);
  color: #fff;
  padding: 14px 22px;
  border-radius: 6px;
  box-shadow: 0 10px 30px -6px rgba(0,0,0,0.3);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.35s, opacity 0.35s;
  z-index: 100;
  font-size: 14px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: #fff;
  z-index: 120;
  transition: left 0.35s;
  overflow-y: auto;
  box-shadow: 4px 0 30px rgba(0,0,0,0.2);
}
.mobile-menu.open { left: 0; }
.mobile-menu a {
  display: block;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--brand); background: var(--cream); }
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 110;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.backdrop.show { opacity: 1; visibility: visible; }

/* Footer */
.footer-col h5 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #fff;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

/* Slide scroll snap */
.snap-x-sm { scroll-snap-type: x mandatory; }
.snap-x-sm > * { scroll-snap-align: start; }

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-slider .slide-caption h3 { font-size: 2rem; }
  .hero-slider .slide-caption p { font-size: 1rem; }
  .feature-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }
  .feature-cell:last-child { border-bottom: none; }
  .bento-card { min-height: 160px; }
  .bento-card .bento-label { font-size: 18px; padding: 14px; }
}

/* Breadcrumb (inner pages) */
.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}
.breadcrumb .sep {
  margin: 0 0.4rem;
  opacity: 0.45;
}
.breadcrumb .current {
  color: var(--text);
  font-weight: 500;
}

/* Product card as link */
a.product-card {
  text-decoration: none;
  color: inherit;
}

/* Legal / article prose */
.prose-legal {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}
.prose-legal h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--brand);
  margin: 2rem 0 0.75rem;
}
.prose-legal h2:first-child {
  margin-top: 0;
}
.prose-legal p {
  margin-bottom: 0.75rem;
}
.prose-legal ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}
.prose-article {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}
.prose-article p {
  margin-bottom: 1rem;
}
