/* Şişli Gıda - Ana Stil */
:root {
  --red: #A31D1D;
  --red-dark: #8a1818;
  --green: #0B3026;
  --green-light: #0f3d31;
  --white: #ffffff;
  --gray-50: #F8F9FA;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-400: #adb5bd;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --gray-900: #212529;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --radius: 4px;
  --radius-lg: 8px;
  --container: 1200px;
  --header-h: 80px;
  --top-bar-h: 36px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }
ul { list-style: none; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar */
.top-bar {
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  height: var(--top-bar-h);
  display: flex;
  align-items: center;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: var(--white); opacity: .95; }
.top-bar a:hover { opacity: 1; text-decoration: underline; }
.top-bar__sep { margin: 0 10px; opacity: .6; }

/* Header */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  /* mega-panel absolute positioning */
  isolation: isolate;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}
.logo__img {
  display: block;
  height: 64px;
  width: auto;
  max-width: min(280px, 50vw);
  min-width: 140px;
  object-fit: contain;
  object-position: left center;
}
.logo--footer .logo__img {
  height: 58px;
  max-width: 260px;
  min-width: 160px;
  object-position: left center;
}

/* Nav — temel (mega menü: navigation.css) */
.main-nav { flex: 1; min-width: 0; }
.main-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px 2px;
}
.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.main-nav__link:hover { color: var(--red); }
.main-nav__chevron { opacity: 0.55; flex-shrink: 0; }
.main-nav__item { position: relative; }

body.nav-is-locked { overflow: hidden; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-actions__search {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--gray-800);
}
.header-actions__search:hover { color: var(--red); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}
.btn--outline {
  background: transparent;
  color: var(--gray-800);
  border-color: var(--gray-800);
}
.btn--outline:hover {
  background: var(--gray-800);
  color: var(--white);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--red);
}
.btn--whatsapp {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  padding: 10px 18px;
  font-size: 13px;
}
.btn--whatsapp:hover {
  background: var(--green-light);
  border-color: var(--green-light);
}
.btn--lg { padding: 14px 28px; font-size: 15px; }
.btn-arrow::after {
  content: '→';
  margin-left: 4px;
}

/* Search overlay */
.search-overlay {
  display: none;
  padding: 16px 0;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.search-overlay.is-open { display: block; }
.search-form {
  display: flex;
  gap: 12px;
  align-items: center;
  position: relative;
}
.search-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 16px;
}
.search-overlay__close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--gray-600);
  line-height: 1;
}

/* Nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-900);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--gray-900) center/cover no-repeat;
  background-image: url('../images/hero.png');
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.25) 100%);
}
.hero .container { position: relative; z-index: 1; padding: 80px 20px; }
.hero__content { max-width: 620px; }
.hero__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.9);
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero .btn--outline-white { border-width: 2px; }

/* Section */
.section { padding: 80px 0; }
.section--gray { background: var(--gray-50); }
.section__header { text-align: center; margin-bottom: 48px; }
.section__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.25;
}

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  text-align: center;
}
.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.category-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
}
.category-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.category-card:hover .category-card__img img { transform: scale(1.05); }
.category-card__body {
  padding: 36px 16px 20px;
  position: relative;
}
.category-card__icon {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.category-card__icon svg { width: 22px; height: 22px; }
.category-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  line-height: 1.3;
}
.category-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
}
.category-card__link::after { content: ' →'; }

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Ana sayfa öne çıkan ürünler — daha az sütun, daha büyük görsel */
.page-home .section--gray .product-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Görsel alanı — kartın üst yarısı */
.product-card__media {
  display: block;
  position: relative;
  aspect-ratio: 1;
  min-height: 220px;
  padding: 20px;
  background: linear-gradient(180deg, #fafbfc 0%, #f1f3f5 100%);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}
.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 10px;
}
.product-card__title a:hover { color: var(--red); }

.product-card__desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  padding: 8px 0;
  margin-top: auto;
}
.product-card__link::after { content: ' →'; }
.product-card__link:hover { text-decoration: underline; }

.section__footer-cta { text-align: center; margin-top: 40px; }

/* Advantages */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}
.advantage-card:hover { border-color: var(--green); }
.advantage-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--green);
}
.advantage-card__icon svg { width: 100%; height: 100%; }
.advantage-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.advantage-card__text {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Distribution */
.distribution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.distribution__content {
  padding: 80px 60px 80px 0;
  max-width: 560px;
  margin-left: auto;
}
.distribution__content .section__label { text-align: left; }
.distribution__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.25;
}
.distribution__text {
  color: var(--gray-600);
  margin-bottom: 32px;
}
.distribution__features {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.distribution__feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.distribution__feature svg { color: var(--green); width: 28px; height: 28px; }
.distribution__feature span {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
}
.distribution__image {
  min-height: 400px;
  background: var(--gray-200);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.distribution__image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
}

/* CTA bar */
.cta-bar {
  background: var(--red);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}
.cta-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .08;
  background: repeating-linear-gradient(-45deg, transparent, transparent 10px, #fff 10px, #fff 11px);
}
.cta-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-bar__text h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.cta-bar__text p { color: rgba(255,255,255,.85); font-size: 14px; }
.cta-bar__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer {
  background: var(--green);
  color: rgba(255,255,255,.85);
  padding-top: 60px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--white); }
.site-footer__about {
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 280px;
}
.site-footer__social {
  display: flex;
  gap: 12px;
}
.site-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-footer__social a:hover { background: var(--red); }
.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.site-footer__contact svg { flex-shrink: 0; margin-top: 3px; opacity: .8; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 20px 0;
  background: rgba(0,0,0,.15);
}
.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.site-footer__legal { display: flex; gap: 20px; }
.site-footer__legal a:hover { color: var(--white); }

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px;
}
.breadcrumb ul,
.breadcrumb .breadcrumb__trail-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--gray-400);
}
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb li:last-child { color: var(--gray-900); font-weight: 500; }

/* Page header */
.page-header {
  padding: 48px 0 32px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.page-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--gray-900);
}
.page-header p { color: var(--gray-600); margin-top: 8px; }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0 80px;
}
.product-detail__image {
  background: linear-gradient(180deg, #fafbfc 0%, #f1f3f5 100%);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.product-detail__image img {
  width: 100%;
  height: auto;
  max-height: min(520px, 65vh);
  min-height: 280px;
  object-fit: contain;
  object-position: center;
}
.product-detail__title {
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.product-detail__sku {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 16px;
}
.product-detail__price {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 24px;
}
.product-detail__desc {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}
.product-detail__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Category sidebar */
.catalog-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 0 80px;
}
.catalog-sidebar {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + var(--top-bar-h) + 20px);
}
.catalog-sidebar h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-900);
}
.catalog-sidebar ul li { margin-bottom: 4px; }
.catalog-sidebar a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: var(--radius);
  color: var(--gray-600);
}
.catalog-sidebar a:hover,
.catalog-sidebar a.is-active {
  background: var(--white);
  color: var(--red);
  font-weight: 600;
}
.catalog-sidebar .sub { padding-left: 16px; }
.catalog-sidebar .mini { padding-left: 28px; font-size: 12px; }

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.catalog-toolbar__count { font-size: 14px; color: var(--gray-600); }
.product-grid--catalog {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  padding: 10px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .is-current {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* Contact / About */
.content-page { padding: 48px 0 80px; }
.content-page .prose { max-width: 800px; }
.content-page h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--gray-900);
}
.content-page p { margin-bottom: 16px; color: var(--gray-600); }

/* Legal pages */
.legal-content { max-width: 820px; }
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--gray-900);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-100);
}
.legal-intro {
  font-size: 15px;
  padding: 16px 20px;
  background: var(--gray-50);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.legal-content ul {
  margin: 0 0 20px 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.legal-content ul li { margin-bottom: 8px; }
.legal-content a { color: var(--red); text-decoration: underline; }
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.legal-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}
.legal-links a:hover { color: var(--red); }
.legal-updated { font-size: 13px; color: var(--gray-500); margin-top: 24px; }
.form-group--checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}
.form-group--checkbox input { margin-top: 3px; flex-shrink: 0; }
.form-group--checkbox a { color: var(--red); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.contact-card {
  padding: 28px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: center;
}
.contact-card svg { color: var(--red); margin: 0 auto 16px; }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.contact-form {
  max-width: 600px;
  margin-top: 40px;
}
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-600);
}
.empty-state h3 { font-size: 20px; color: var(--gray-900); margin-bottom: 8px; }

/* Responsive */
@media (max-width: 1200px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .page-home .section--gray .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid--catalog { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .distribution { grid-template-columns: 1fr; }
  .distribution__content { padding: 60px 20px; max-width: none; }
  .distribution__image { min-height: 300px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { position: static; }
  .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .top-bar__left { display: none; }
  .category-grid,
  .product-grid,
  .product-grid--catalog { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: 420px; }
  .section { padding: 56px 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .category-grid,
  .product-grid { grid-template-columns: 1fr; }
  .cta-bar__inner { flex-direction: column; text-align: center; }
  .cta-bar__actions { justify-content: center; width: 100%; }
  .cta-bar__actions .btn { flex: 1; min-width: 140px; }
}
