/* Laravel + Filament mağazayı yeni yeşil/açık tasarıma bağlayan katman */
:root {
  --cyan: var(--green);
  --orange: #e2661f;
}
html { background: var(--bg); color-scheme: light; }
body { background: var(--bg); color: var(--text); min-width: 0; }
.shell { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.header.site-header { position: sticky; top: 0; border: 0; background: rgba(255,255,255,.92); }
.header .header-inner, .header .container { height: var(--header-h); display: flex; align-items: center; gap: 22px; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-img--dark-theme { display: none; }
html[data-theme="dark"] .logo-img--light-theme { display: none; }
html[data-theme="dark"] .logo-img--dark-theme { display: block; }
.nav a, .desktop-nav a { color: var(--text-2); }
.desktop-nav a::after { display: none; }
.icon-btn svg { width: 20px; height: 20px; }
.cart-button { position: relative; }
.cart-count.show { transform: scale(1); }
.mobile-nav { display: none; }
@media (max-width: 960px) {
  .nav, .desktop-nav { display: none; }
  .burger, .mobile-toggle { display: grid; }
  .mobile-nav { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(12,21,18,.55); opacity: 0; visibility: hidden; }
  .mobile-nav.open { opacity: 1; visibility: visible; }
}
.mn-accordion-content { padding: 0 14px 10px 14px; }
.mn-accordion-content a { display: block; padding: 8px 0; color: var(--green-700); font-weight: 700; }
.mn-chevron { width: 16px; }
.pref-switch { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 10px 0 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .82rem; font-weight: 700; color: var(--text-2); }
.pref-switch-track { width: 34px; height: 20px; border-radius: 999px; background: #d7e0d9; position: relative; }
.pref-switch-knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .18s; }
html[data-theme="dark"] .pref-switch-track { background: var(--green); }
html[data-theme="dark"] .pref-switch-knob { transform: translateX(14px); }
html[data-theme="dark"] body { background: #0c1512; color: #eef4ef; }
html[data-theme="dark"] .header { background: rgba(12,21,18,.92); border-bottom-color: rgba(255,255,255,.08); }
html[data-theme="dark"] .cat-card, html[data-theme="dark"] .product-card, html[data-theme="dark"] .hero-point, html[data-theme="dark"] .filters, html[data-theme="dark"] .checkout-form fieldset { background: #14211b; border-color: rgba(255,255,255,.1); color: #eef4ef; }
.page-hero, .compact-hero, .catalog-section, .product-detail-section, .checkout-page, .auth-page, .legal-page { background: var(--bg); color: var(--text); }
.compact-hero { padding: 48px 0 28px; }
.compact-hero h1, .product-info h1, .checkout-head h1 { color: var(--text); }
.breadcrumb { display: flex; gap: 8px; color: var(--muted); font-size: .86rem; margin-bottom: 14px; }
.button-primary, .filter-apply { background: var(--green); border-color: var(--green); color: #fff; }
.button { border-radius: 999px; }
.catalog-section { padding: 12px 0 80px; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; }
.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.filters select, .filters input, .toolbar-controls select { width: 100%; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 0 12px; }
.catalog-grid { display: grid; }
.cart-drawer, .mobile-menu { background: var(--surface); color: var(--text); }
.cart-overlay, .mobile-overlay { background: rgba(12,21,18,.45); }
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1faa53; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(31,170,83,.35); }
.wa-fab-label { display: none; }
.mt-20 { margin-top: 20px; }
.pc-body { padding: 16px; }
.pc-add { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--green-softer); color: var(--green-800); font-size: 22px; }
.pc-add:hover { background: var(--green); color: #fff; }
.local-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.local-frame { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.local-frame img { width: 100%; height: 100%; object-fit: cover; }
.local-info { display: grid; gap: 12px; margin: 22px 0; }
.local-row { display: flex; gap: 12px; }
.benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.benefit { display: flex; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.deal-band-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; }
@media (max-width: 960px) {
  .local-grid, .deal-band-grid, .benefit-grid, .catalog-layout { grid-template-columns: 1fr; }
}
.topbar-viewport { overflow: hidden; width: 100%; }
.topbar-track { display: flex; width: max-content; animation: topbar-marquee 28s linear infinite; }
.topbar-msg { display: flex; align-items: center; gap: 18px; padding: 8px 28px; white-space: nowrap; }
@keyframes topbar-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mega { z-index: 80; }
.footer { background: var(--ink); color: var(--ink-text); }
.footer a { color: #cfe6d6; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 28px; border-top: 1px solid rgba(255,255,255,.1); }
.pay-chip { display: inline-flex; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); font-size: 11px; }
.cat-icon, .mega-icon { font-size: 20px; }
html[data-theme="dark"] .cat-icon { color: #8ee6ab; }
.checkout-page, .checkout-form, .order-summary, .cart-page { color: var(--text); }
.demo-callout { border: 1px solid var(--line); background: var(--green-softer); border-radius: 14px; padding: 14px; }
.delivery-options label.is-disabled { opacity: .55; cursor: not-allowed; }
.fi-input, .fi-input input, textarea.fi-input {
  width: 100%;
  border: 1px solid #d7e0d9;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

@media (hover: hover) and (min-width: 961px) {
  .has-mega:hover > .mega,
  .has-mega:focus-within > .mega,
  .has-mega.is-open > .mega {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}


/* Cart + dark theme isolation (do not mix light/dark tokens) */
html[data-theme="light"], html:not([data-theme="dark"]) {
  color-scheme: light;
}
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c1512;
  --surface: #14211b;
  --line: rgba(255,255,255,.12);
  --text: #eef4ef;
  --text-2: #c5d4cb;
  --muted: #8fa197;
  --green-soft: #163525;
  --green-softer: #12281d;
}
html[data-theme="dark"] .header.site-header { background: rgba(12,21,18,.92); }
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .cart-page-item,
html[data-theme="dark"] .order-summary,
html[data-theme="dark"] .no-results,
html[data-theme="dark"] .compact-hero,
html[data-theme="dark"] .legal-content article,
html[data-theme="dark"] .checkout-page,
html[data-theme="dark"] .filters {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}
html[data-theme="dark"] .compact-hero h1,
html[data-theme="dark"] .cart-page h2,
html[data-theme="dark"] .order-summary h2 { color: var(--text); }
html[data-theme="dark"] .qty-control button,
html[data-theme="dark"] .remove-item,
html[data-theme="dark"] .pc-add {
  background: #1d2f26; color: #eef4ef; border-color: rgba(255,255,255,.14);
}

.cart-page { padding: 12px 0 72px; }
.cart-page-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) 320px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) { .cart-page-grid { grid-template-columns: 1fr; } }
.cart-page-item {
  display: grid;
  grid-template-columns: 88px minmax(0,1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
}
.cart-page-item img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; background: #eef4ef; }
.cart-page-item-info h2 { font-size: 1rem; margin: 4px 0; }
.cart-page-item-info small { color: var(--muted); }
@media (max-width: 640px) {
  .cart-page-item { grid-template-columns: 72px 1fr; }
  .qty-control, .cart-page-item b, .remove-item { grid-column: 2; justify-self: start; }
}
.qty-control { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.qty-control button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--green-softer); font-size: 18px; }
.order-summary {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px;
  display: grid; gap: 12px; position: sticky; top: 96px;
}
.order-summary > div { display: flex; justify-content: space-between; gap: 12px; }
.summary-total { font-size: 1.05rem; padding-top: 8px; border-top: 1px dashed var(--line); }
.button-block { display: block; text-align: center; width: 100%; }
.button.is-disabled, a.is-disabled { opacity: .45; pointer-events: none; }
.no-results { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: 18px; background: var(--surface); }
.remove-item { border: 0; background: transparent; font-size: 22px; color: var(--muted); cursor: pointer; }
.reset-filters { background: none; border: 0; color: var(--green-700); font-weight: 700; cursor: pointer; }

.topbar { background: linear-gradient(90deg,#073d1f,#0b6b33 45%,#0f9d4c 70%,#073d1f); color: #eaffef; }
.topbar-viewport { overflow: hidden; }
.topbar-track { display: flex; width: max-content; animation: topbar-marquee 28s linear infinite; }
.topbar-msg { display: flex; align-items: center; gap: 16px; padding: 8px 28px; white-space: nowrap; font-weight: 700; }
.t-sep { opacity: .55; }
@keyframes topbar-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.legal-content { display: grid; gap: 18px; padding-bottom: 64px; }
.legal-content article { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.legal-content h2 { margin-bottom: 8px; }
.legal-draft { background: #fdf4e3; border: 1px solid #f0dcae; padding: 12px 14px; border-radius: 12px; }
.district-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 8px; margin: 14px 0; }
.district { background: var(--green-softer); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: .86rem; font-weight: 600; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 10px 0; }

html[data-theme="dark"] .legal-draft { background: #3a2c12; border-color: #92610a; color: #fdf4e3; }

.content-layout { display:grid; grid-template-columns: minmax(0,1fr) 320px; gap:28px; align-items:start; padding-bottom:64px; }
@media (max-width: 960px) { .content-layout { grid-template-columns:1fr; } }
.prose article { background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:22px; margin-bottom:16px; }
.prose ul { margin:10px 0 0; padding-left:18px; display:grid; gap:8px; color:var(--text-2); }
.info-card { background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:22px; display:grid; gap:14px; position:sticky; top:96px; }
.info-row { display:grid; gap:4px; }
.info-row b { font-size:.88rem; }
.info-row span, .info-row a { color:var(--muted); font-size:.9rem; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:640px) { .contact-grid { grid-template-columns:1fr; } }
.contact-tile { display:grid; gap:4px; padding:14px; border:1px solid var(--line); border-radius:14px; background:var(--green-softer); text-decoration:none; color:inherit; }
.contact-tile:hover { border-color:var(--green); }
html[data-theme="dark"] .contact-tile { background:#163525; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 16px; border-radius:999px; border:1px solid var(--line); font-weight:700; }

/* Instagram gradient button */
.btn-ig {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:12px 22px; border-radius:999px; font-weight:700; font-size:.9rem; color:#fff;
  background:linear-gradient(120deg,#f9ce34,#ee2a7b 55%,#6228d7);
  box-shadow:0 8px 24px rgba(238,42,123,.3); text-decoration:none;
}
.btn-ig:hover { transform:translateY(-2px); color:#fff; }
.contact-tile[href*="instagram"] {
  background:linear-gradient(120deg,#fdf3d9,#fbe3ef);
  border-color:#ee2a7b;
}
html[data-theme="dark"] .contact-tile[href*="instagram"] { background:#3a1630; color:#fff; }

/* Instagram FAB under WhatsApp */
.ig-fab {
  position:fixed; bottom:92px; right:22px; z-index:80;
  width:52px; height:52px; border-radius:50%; color:#fff;
  display:grid; place-items:center;
  background:linear-gradient(120deg,#f9ce34,#ee2a7b 55%,#6228d7);
  box-shadow:0 12px 32px rgba(238,42,123,.45);
}
.ig-fab:hover { transform:scale(1.08) translateY(-2px); color:#fff; }
.ig-fab-label {
  position:absolute; right:64px; top:50%; transform:translateY(-50%);
  background:#111; color:#fff; font-size:.8rem; font-weight:700; white-space:nowrap;
  padding:8px 14px; border-radius:10px; opacity:0; pointer-events:none; transition:.2s;
}
.ig-fab:hover .ig-fab-label { opacity:1; }
@media (max-width:560px) {
  .ig-fab { bottom:80px; right:16px; width:48px; height:48px; }
  .ig-fab-label, .wa-fab-label { display:none; }
}

/* Color ticker under hero */
.ticker {
  background:#0b4d2a; color:#fff; overflow:hidden; position:relative;
  border-top:1px solid rgba(140,230,171,.25); border-bottom:1px solid rgba(140,230,171,.25);
}
.ticker-track { display:flex; width:max-content; animation:ticker-scroll 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state:paused; }
.ticker-track span {
  display:inline-flex; align-items:center; gap:8px; padding:12px 28px;
  font-size:.82rem; font-weight:700; letter-spacing:.04em; white-space:nowrap;
}
.ticker-track b { color:#ffd76e; }
@keyframes ticker-scroll { to { transform:translateX(-50%); } }

/* Photo showcase */
.showcase--photos { background:var(--surface); color:var(--text); padding-block:48px; }
.showcase-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:clamp(26px,5vw,64px); align-items:center; }
.showcase-stage {
  position:relative; aspect-ratio:1/.92; border-radius:28px; overflow:hidden;
  background:#edf8ef; border:1px solid var(--line);
}
.showcase-photo-frame { position:absolute; inset:18px; display:grid; place-items:center; border-radius:22px; overflow:hidden; background:#fff; }
.showcase-photo-frame img { width:100%; height:100%; object-fit:contain; }
.showcase-photo-arrow {
  position:absolute; z-index:3; top:50%; transform:translateY(-50%);
  width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--line);
  border-radius:50%; background:#fff; color:var(--text); font-size:22px;
}
.showcase-photo-arrow.prev { left:22px; }
.showcase-photo-arrow.next { right:22px; }
.showcase-info h2 { font-size:clamp(1.5rem,3vw,2.2rem); margin:0 0 12px; }
.showcase-price { display:flex; gap:12px; align-items:baseline; margin-bottom:12px; }
.showcase-price b { font-size:2rem; }
.showcase-price del { color:var(--muted); }
.showcase-actions { display:flex; gap:12px; flex-wrap:wrap; }
.showcase-dots { display:flex; gap:8px; margin-top:22px; }
.showcase-dots button { width:10px; height:10px; border-radius:50%; background:#c9d8cc; border:0; }
.showcase-dots button.on { background:var(--green); transform:scale(1.25); }
html[data-theme="dark"] .showcase-stage { background:#163525; }
html[data-theme="dark"] .showcase-photo-frame { background:#0f1c14; }
@media (max-width:940px) { .showcase-grid { grid-template-columns:1fr; } }

.showcase-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin-top:28px}
.showcase-thumb{display:grid;gap:8px;padding:10px;border:1px solid var(--line);border-radius:14px;background:var(--surface);text-decoration:none;color:inherit}
.showcase-thumb img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:10px}
.showcase-thumb span{font-size:.82rem;font-weight:700;line-height:1.3}
