/* ═══════════════════════════════════════════════════════════════
   ÜRÜNLER PAGE — Product listing, hero, filter pills, cards, modal
═══════════════════════════════════════════════════════════════ */

/* ══════ HERO ══════ */
.hero {
  position: relative;
  background: var(--green-deep);
  color: var(--cream);
  padding: 56px 20px 64px;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 70% at 50% 0%, rgba(201,150,58,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(28,42,18,0.55) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--gold-light);
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid rgba(226,185,106,0.4);
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.hero-title .gold { color: var(--gold-light); font-style: italic; }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  color: rgba(245,236,215,0.85);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.hero-stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold-light);
}
.hero-stat-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245,236,215,0.7);
  margin-top: 2px;
}
@media (min-width: 768px) {
  .hero { padding: 88px 32px 96px; }
}

/* ══════ FILTER ══════ */
.filter-section {
  padding: 32px 0 8px;
  background: var(--cream-soft);
  position: sticky;
  top: 72px;
  z-index: 50;
  border-bottom: 1px solid rgba(45,74,30,0.06);
}
.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}
.filter-row::-webkit-scrollbar { display: none; }
.filter-pill {
  flex-shrink: 0;
  padding: 10px 18px;
  background: var(--white);
  border: 1.5px solid rgba(45,74,30,0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.2px;
  transition: all .2s ease;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-pill:hover { border-color: var(--green-mid); color: var(--green-deep); }
.filter-pill.active {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--gold-light);
}
.filter-pill .count {
  font-size: 11px;
  opacity: 0.7;
  background: rgba(0,0,0,0.06);
  padding: 1px 7px;
  border-radius: 999px;
}
.filter-pill.active .count { background: rgba(226,185,106,0.25); opacity: 1; }
@media (min-width: 768px) {
  .filter-section { top: 76px; padding: 40px 0 8px; }
  .filter-row { justify-content: center; flex-wrap: wrap; padding-bottom: 24px; }
}

/* ══════ PRODUCTS GRID ══════ */
.products-section { padding: 32px 0 80px; }
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.5vw, 34px);
  letter-spacing: -0.01em;
  color: var(--green-deep);
  margin-bottom: 8px;
  text-align: center;
}
.section-tag {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 6px;
}
.section-sub {
  text-align: center;
  color: var(--text-mid);
  font-size: 14px;
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 560px)  { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 900px)  { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

/* ══════ PRODUCT CARD ══════ */
.product-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(45,74,30,0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(201,150,58,0.30);
}
.product-illust {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-illust::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 90%, rgba(45,74,30,0.08) 0%, transparent 60%);
}
.product-illust svg {
  position: relative;
  width: 60%;
  max-width: 140px;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(45,74,30,0.18));
  transition: transform .35s ease;
}
.product-card:hover .product-illust svg { transform: scale(1.06) rotate(-2deg); }

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  color: var(--green-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.product-info { padding: 16px 18px 18px; }
.product-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--green-deep);
  line-height: 1.2;
  margin-bottom: 4px;
}
.product-unit {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed rgba(45,74,30,0.12);
}
.product-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--green-deep);
  letter-spacing: -0.01em;
}
.product-price-per {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.3px;
}

/* ══════ EMPTY STATE ══════ */
.empty-state {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-mid);
  font-size: 15px;
}
.empty-state .icon { font-size: 36px; margin-bottom: 8px; opacity: 0.4; }

/* ══════ PRODUCT MODAL ══════ */
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(28, 42, 18, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.product-modal.open { display: flex; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-sheet {
  background: var(--cream-soft);
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp .3s cubic-bezier(.16,1,.3,1);
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

@media (min-width: 768px) {
  .product-modal { align-items: center; padding: 24px; }
  .modal-sheet { border-radius: 24px; max-height: 88vh; }
  @keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(28,42,18,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .2s ease;
}
.modal-close:hover { background: rgba(28,42,18,0.75); }

.modal-hero {
  position: relative;
  aspect-ratio: 16 / 11;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.modal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 95%, rgba(45,74,30,0.12) 0%, transparent 60%);
}
.modal-hero svg {
  position: relative;
  width: 50%;
  max-width: 200px;
  filter: drop-shadow(0 12px 24px rgba(45,74,30,0.22));
}

.modal-body { padding: 22px 22px 28px; }
.modal-eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.modal-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  color: var(--green-deep);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.modal-desc {
  color: var(--text-mid);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.modal-price-box {
  background: var(--white);
  border: 1px solid rgba(45,74,30,0.10);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.modal-price-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 2px;
}
.modal-price-value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--green-deep);
}
.modal-price-per {
  font-size: 12px;
  color: var(--text-light);
  text-align: right;
}

.modal-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}
.feature-item {
  background: rgba(45,74,30,0.04);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-mid);
}
.feature-item svg { flex-shrink: 0; }

.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: transform .15s ease, background .2s ease;
  min-height: 48px;
}
.modal-btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,211,102,0.30);
}
.modal-btn-wa:hover { background: #1ebe5d; }
.modal-btn-call {
  background: var(--green-deep);
  color: var(--cream);
}
.modal-btn-call:hover { background: var(--green-mid); }
.modal-btn:active { transform: scale(0.98); }

@media (min-width: 540px) {
  .modal-actions { flex-direction: row; }
  .modal-btn { flex: 1; }
}
