/* Custom CSS Variables */
:root {
  /* Surface */
  --color-bg: #f8f8f6;
  --color-bg-raised: #ffffff;
  --color-bg-subtle: #f1f1ef;

  /* Text */
  --color-text: #18181b; /* zinc-900 */
  --color-text-muted: #71717a; /* zinc-500 */
  --color-text-faint: #a1a1aa; /* zinc-400 */

  /* Border */
  --color-border: #e4e4e7; /* zinc-200 */
  --color-border-strong: #d4d4d8; /* zinc-300 */

  /* Accent (Orange from reference) */
  --color-accent: #f97316; /* orange-500 */
  --color-accent-hover: #ea580c; /* orange-600 */
  --color-accent-contrast: #ffffff;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Navbar specific custom styles */
#headerStickyWrapper {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
}

.nav-link {
  transition: all 0.2s ease-in-out;
}

.nav-link:hover {
  opacity: 0.9;
}

/* Swiper Slider Styles - DAHA GENİŞ YÜKSEKLİK */
.hero-swiper {
  width: 100%;
  height: 550px; /* Eski değer 500px'di, hafif artırıldı */
}

@media (max-width: 768px) {
  .hero-swiper {
    height: 400px; /* Mobilde de biraz daha geniş (eski: 300px) */
  }
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 2rem;
}

/* Hide Scrollbar for Horizontal Scroll Areas */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Kategori Resimleri için blend (Eğer arka planları beyazsa kartla bütünleşmesi için) */
.category-img {
  mix-blend-mode: multiply;
}

/* Compact, single-row navigation. Below 1200px the full drawer takes over. */
.storefront-desktop-nav {
  display: none;
}
.storefront-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 44px;
}
.storefront-nav-container {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 24px;
}
.storefront-nav-items {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  list-style: none;
  margin: 0;
  padding: 0;
}
.storefront-nav-items > li {
  flex: 0 0 auto;
}
.nav-primary-link {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 14px 7px;
  white-space: nowrap;
}
.nav-all-link {
  font-weight: 600;
}
.nav-primary-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  min-width: 24px;
  padding-inline: 3px 9px;
}
.storefront-brand-image {
  box-shadow: none;
  border: 0;
  outline: none;
  filter: none;
}
.storefront-brand:focus-visible {
  outline: 2px solid var(--theme-hover);
  outline-offset: 4px;
}
@media (min-width: 1200px) {
  .storefront-desktop-nav { display: block; }
  .storefront-menu-toggle { display: none; }
}
@media (max-width: 479px) {
  .storefront-brand { gap: 6px; }
  .storefront-brand-image { max-width: 46px; max-height: 46px; }
  .storefront-brand-name > span:first-child {
    font-size: 18px;
    letter-spacing: 0.06em;
  }
  .storefront-brand-name > span:last-child {
    font-size: 7px;
    letter-spacing: 0.24em;
  }
}
@media (max-width: 359px) {
  .storefront-brand { gap: 4px; }
  .storefront-brand-image { max-width: 36px; max-height: 36px; }
  .storefront-brand .storefront-brand-name { display: none; }
}
.site-footer p { overflow-wrap: anywhere; }

/* An order CTA gets its own full-width row, never a squeezed price-row slot. */
.product-order-actions {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.product-order-primary {
  grid-column: 1 / -1;
  grid-row: 1;
}
.product-quantity {
  grid-column: 1;
  grid-row: 2;
}
.product-order-secondary {
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 10px;
  border: 1px solid var(--theme-hover);
  border-radius: 4px;
  color: var(--theme-hover);
  background: transparent;
  font: 600 13px/1.3 'DM Sans', sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.product-order-secondary:hover:not(:disabled) { background: var(--theme-light); }
.product-order-secondary:disabled { opacity: 0.5; cursor: not-allowed; }
.whatsapp-order-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #157347;
  border-radius: 4px;
  background: #157347;
  color: #fff;
  font: 600 13px/1.4 'DM Sans', sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease;
}
.whatsapp-order-button > i { flex-shrink: 0; }
.whatsapp-order-button:hover { background: #105c38; }
.whatsapp-order-button:focus-visible,
.product-order-secondary:focus-visible,
.product-quantity :is(button, input):focus-visible {
  outline: 2px solid #272022;
  outline-offset: 3px;
}
@media (max-width: 359px) {
  .product-order-actions { grid-template-columns: 132px minmax(0, 1fr); gap: 8px; }
  .product-order-secondary { font-size: 12px; padding-inline: 4px; }
  #mini-cart .whatsapp-order-button { font-size: 12px; padding-inline: 8px; gap: 6px; }
}
