/* ================================================================
   G-PARTY — DESIGN SYSTEM v2 (index.html → Laravel taşıma)
   ================================================================ */

:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --fg: #1f1b16;
  --muted: #6f665b;
  --border: #e5dccb;
  --charcoal: #000000;
  --gold: #e7ab12;
  --gold-2: #c8920a;
  --purple: #914290;
  --purple-2: #6e2c6d;
  --teal: #128c7e;
  --success: #16a34a;
  --danger: #dc2626;
  --shadow-1: 0 1px 2px rgba(31,27,22,.05);
  --shadow-2: 0 2px 4px rgba(31,27,22,.08);
  --shadow-3: 0 8px 24px rgba(31,27,22,.12);
  --container: 1236px;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

/* ── TOPBAND ──────────────────────────────── */
.topband { background: var(--charcoal); color: #fff; }
.topband-sep { color: rgba(255,255,255,.2); margin: 0 4px; font-weight: 300; }
.topband-inner { display: flex; align-items: center; justify-content: center; min-height: 36px; font-size: 12px; gap: 24px; }
.topband-item { display: inline-flex; align-items: center; gap: 8px; }
.topband-item i { color: var(--purple); }
.topband-item strong { color: var(--gold); }

/* ── HEADER BOTTOM (dark) ─────────────────── */
.header-bottom { background: var(--charcoal); color: #fff; position: sticky; top: 0; z-index: 100; }
.header-bottom-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 84px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; height: 64px; }
.logo img { height: 56px; width: auto; object-fit: contain; }
.logo-fallback { display: none; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.logo-fallback b { color: var(--purple); }

/* Search */
.search-form { position: relative; display: flex; align-items: center; max-width: 660px; width: 100%; margin-inline: auto; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); }
.search-form:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(231,171,18,.25); }
.search-icon { position: absolute; left: 14px; width: 20px; height: 20px; color: rgba(255,255,255,.6); pointer-events: none; }
.search-input { flex: 1; background: transparent; border: 0; outline: 0; padding: 14px 16px 14px 44px; color: #fff; font-size: 14px; }
.search-input::placeholder { color: rgba(255,255,255,.55); }
.search-submit { display: inline-flex; align-items: center; gap: 6px; padding: 0 20px; height: 48px; background: var(--gold); color: var(--charcoal); font-weight: 700; font-size: 13px; border-radius: 0 var(--radius) var(--radius) 0; white-space: nowrap; }
.search-submit:hover { background: var(--gold-2); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-action { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 56px; padding: 6px 8px; color: #fff; font-size: 11px; line-height: 1.2; border-radius: var(--radius-sm); background: transparent; border: 0; cursor: pointer; transition: color .15s; }
.icon-action i { font-size: 18px; }
.icon-action .label { white-space: nowrap; }
.icon-action:hover { color: var(--gold); }
.icon-action .badge { position: absolute; top: 0; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; display: none; align-items: center; justify-content: center; background: var(--gold); color: var(--charcoal); font-size: 10px; font-weight: 800; border-radius: 999px; }

/* ── CATEGORY NAV ─────────────────────────── */
.header-nav { background: #fff; border-bottom: 1px solid var(--border); }
.catbar-inner { display: flex; }
.catbar { display: flex; align-items: center; min-height: 52px; flex-wrap: nowrap; width: 100%; overflow-x: auto; scrollbar-width: none; }
.catbar::-webkit-scrollbar { display: none; }
.cat-link { position: relative; padding: 16px 13px; font-size: 13px; font-weight: 600; color: var(--fg); white-space: nowrap; transition: color .15s; }
.cat-link:hover { color: var(--purple); }
.cat-link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.cat-link:hover::after, .cat-link[aria-current="true"]::after { transform: scaleX(1); }
.cat-link[aria-current="true"] { color: var(--purple); }

/* ── FLASH MESSAGES ───────────────────────── */
.flash-ok { background: #d1fae5; color: #065f46; border-bottom: 1px solid rgba(16,185,129,.2); padding: 10px 16px; text-align: center; font-weight: 600; font-size: 13px; }
.flash-err { background: #fee2e2; color: #991b1b; border-bottom: 1px solid rgba(239,68,68,.2); padding: 10px 16px; text-align: center; font-weight: 600; font-size: 13px; }

/* ── HERO ─────────────────────────────────── */
.hero { padding-block: clamp(28px, 4vw, 48px); }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.hero-slider { position: relative; aspect-ratio: 1.85 / 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,.22); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 40px; opacity: 0; transition: opacity .8s ease; color: #fff; }
.hero-slide.active { opacity: 1; }
.hero-slide .hs-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); transition: transform 7s ease; }
.hero-slide.active .hs-bg { transform: scale(1); }
.hero-slide .hs-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,6,3,.75) 0%, rgba(10,6,3,.3) 55%, rgba(10,6,3,.1) 100%); }
.hero-slide .hero-content { position: relative; z-index: 2; }
.hero-content { max-width: 560px; }
.hero-content h1 { font-size: clamp(22px, 3vw, 36px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; margin-block: 10px 12px; }
.hero-content p { font-size: 14px; opacity: .9; margin-bottom: 18px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.4); border: 0; cursor: pointer; padding: 0; transition: all .2s; }
.dot.active { background: #fff; width: 24px; }

/* Deal list */
.deal-list { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; box-shadow: var(--shadow-1); }
.deal-title { font-size: 16px; font-weight: 700; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.deal-item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 10px; padding: 8px; border-radius: var(--radius); align-items: center; transition: background .15s; }
.deal-item + .deal-item { margin-top: 4px; }
.deal-item:hover { background: #faf7f1; }
.deal-thumb { width: 56px; height: 56px; background: linear-gradient(135deg, #f3ecdf, #e7dcc1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.deal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.deal-info { min-width: 0; }
.deal-name { font-size: 12px; font-weight: 500; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.deal-cat { font-size: 10px; color: var(--muted); margin-top: 2px; }
.deal-new { display: inline-block; background: var(--gold); color: var(--charcoal); font-size: 9px; font-weight: 800; padding: 1px 5px; border-radius: 2px; margin-top: 3px; }

/* ── CATEGORY BANNERS ─────────────────────── */
.category-banners { padding-block: clamp(16px, 2.5vw, 28px); }
.banner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-banner { position: relative; display: flex; align-items: flex-end; min-height: 180px; padding: 20px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; box-shadow: var(--shadow-2); transition: transform .25s, box-shadow .25s; }
.cat-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.cat-banner--balloon { background: linear-gradient(135deg, #e7ab12, #c8920a); }
.cat-banner--deco { background: linear-gradient(135deg, #914290, #6e2c6d); }
.cat-banner--disposable { background: linear-gradient(135deg, #128c7e, #0e6e63); }
.cat-banner--cake { background: linear-gradient(135deg, #1f1b16, #3a2f25); }
.cat-banner-content { position: relative; z-index: 1; }
.cat-banner-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.cat-banner h3 { font-size: 18px; font-weight: 700; margin: 4px 0 6px; }
.cat-banner p { font-size: 12px; opacity: .85; line-height: 1.4; }

/* ── SECTION ──────────────────────────────── */
.section-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 13px; }
.product-section { padding-block: clamp(32px, 4.5vw, 56px); }

/* ── PRODUCT GRID ─────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-3); }
.product-link { display: block; color: inherit; }

/* Product thumb (index.html class names) */
.product-thumb { position: relative; aspect-ratio: 1; background: linear-gradient(135deg, #f8f4ea, #ece1c8); display: flex; align-items: center; justify-content: center; font-size: 56px; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.04)); z-index: 1; }
.product-discount { position: absolute; top: 8px; left: 8px; min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; background: var(--danger); color: #fff; font-size: 11px; font-weight: 800; border-radius: 999px; z-index: 2; }
.product-new { position: absolute; top: 8px; right: 8px; padding: 3px 8px; background: var(--gold); color: var(--charcoal); font-size: 10px; font-weight: 800; border-radius: 3px; letter-spacing: .04em; z-index: 2; }

/* Product media (Laravel blade class names — alias) */
.product-media { position: relative; aspect-ratio: 1; background: linear-gradient(135deg, #f8f4ea, #ece1c8); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }

.product-body { display: flex; flex-direction: column; gap: 6px; padding: 12px; flex: 1; }
.product-name, .product-title { font-size: 13px; font-weight: 500; line-height: 1.35; min-height: 36px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-category { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.product-sku { font-size: 10px; color: var(--muted); font-family: monospace; }
.product-add { display: flex; gap: 4px; align-items: center; padding: 0 12px 12px; }
.product-add .qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.product-add .qty button { width: 28px; height: 32px; font-size: 14px; color: var(--muted); }
.product-add .qty output { min-width: 28px; text-align: center; font-size: 12px; font-weight: 600; }
.product-add .btn { flex: 1; }

/* ── BUTTONS ──────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: var(--radius); font-weight: 600; font-size: 13px; line-height: 1; transition: background .15s, transform .1s; border: 0; cursor: pointer; font-family: var(--font); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-gold { background: var(--gold); color: var(--charcoal); }
.btn-gold:hover { background: var(--gold-2); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purple-2); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: #2a2420; }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 12px; }

/* Legacy button aliases for existing Blade pages */
.add-cart, .btn-primary-gp { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 36px; padding: 0 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: 12px; font-family: var(--font); background: var(--charcoal); color: #fff; border: 0; cursor: pointer; transition: background .15s; }
.add-cart:hover, .add-cart.is-added { background: var(--purple); }

/* ── DEALER CTA ───────────────────────────── */
.dealer-cta { padding-block: clamp(32px, 4.5vw, 56px); }
.dealer-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.dealer-info h2 { font-size: clamp(18px, 2.2vw, 24px); line-height: 1.2; margin: 10px 0 16px; }
.dealer-list { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.dealer-list li { padding-left: 22px; position: relative; }
.dealer-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--success); font-weight: 700; }
.dealer-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dealer-form .field { display: flex; flex-direction: column; gap: 4px; }
.dealer-form label { font-size: 12px; font-weight: 600; color: var(--muted); }
.dealer-form input { height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; font-size: 13px; }
.dealer-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(145,66,144,.15); outline: 0; }
.dealer-form input[aria-invalid="true"] { border-color: var(--danger); }
.dealer-form .btn { grid-column: 1 / -1; min-height: 48px; }
.dealer-form .form-meta { grid-column: 1 / -1; font-size: 12px; min-height: 16px; }
.dealer-form .form-meta.success { color: var(--success); }
.dealer-form .form-meta.error { color: var(--danger); }

/* ── NEWSLETTER ───────────────────────────── */
.newsletter { padding-block: clamp(32px, 4.5vw, 56px); }
.newsletter-card { padding: 36px; background: #f3ecdf; border-radius: var(--radius-lg); text-align: center; }
.newsletter-card h2 { font-size: clamp(16px, 2vw, 22px); max-width: 640px; margin: 0 auto 16px; line-height: 1.3; }
.newsletter-form { display: flex; gap: 8px; max-width: 480px; margin-inline: auto; }
.newsletter-form input { flex: 1; height: 48px; padding: 0 16px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; font-size: 14px; }
.newsletter-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(145,66,144,.15); outline: 0; }
.newsletter .form-meta { font-size: 12px; min-height: 16px; margin-top: 8px; }
.newsletter .form-meta.success { color: var(--success); }
.newsletter .form-meta.error { color: var(--danger); }

/* ── FOOTER ───────────────────────────────── */
.site-footer { background: var(--charcoal); color: #d4cdc1; padding-top: 56px; margin-top: 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { font-size: 12px; line-height: 1.5; margin-block: 12px; color: #a8a092; }
.logo--footer .logo-fallback { color: #fff; }
.logo--footer .logo-fallback b { color: var(--gold); }
.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border-radius: 999px; color: #fff; font-size: 14px; transition: background .15s; }
.social a:hover { background: var(--gold); color: var(--charcoal); }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer-col ul { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.footer-col a { color: #d4cdc1; }
.footer-col a:hover { color: var(--gold); }
.contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.contact-list i { color: var(--gold); margin-top: 2px; min-width: 14px; }
.footer-map { margin-top: 12px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.footer-map iframe { width: 100%; height: 280px; border: 0; display: block; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-block: 16px 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #a8a092; flex-wrap: wrap; gap: 12px; }
.payment-icons { display: flex; gap: 12px; color: #a8a092; font-size: 22px; }
.payment-icons i { opacity: .7; }

/* ── CART DRAWER ──────────────────────────── */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 200; display: flex; justify-content: flex-end; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer { width: 100%; max-width: 420px; height: 100%; background: var(--surface); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s; }
.drawer-backdrop.open .drawer { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 18px; font-weight: 700; }
.drawer-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; border-radius: 999px; color: var(--muted); border: 0; background: transparent; cursor: pointer; }
.drawer-close:hover { background: #f0ebe0; color: var(--fg); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--border); background: #faf7f1; }
.drawer-row { display: flex; justify-content: space-between; padding-block: 6px; font-size: 13px; }
.drawer-row--total { font-size: 16px; font-weight: 700; padding-block: 10px 12px; border-top: 1px solid var(--border); margin-top: 6px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item .thumb { width: 56px; height: 56px; background: linear-gradient(135deg, #f3ecdf, #e7dcc1); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.cart-item .name { font-size: 12px; font-weight: 500; line-height: 1.3; margin-bottom: 4px; }
.cart-item .controls { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.cart-item .controls button { width: 24px; height: 24px; border: 1px solid var(--border); border-radius: 3px; font-size: 12px; background: #fff; cursor: pointer; }
.cart-item .controls .qty { min-width: 20px; text-align: center; font-size: 12px; font-weight: 600; }
.cart-item .remove { background: none; color: var(--danger); font-size: 18px; padding: 4px 6px; min-height: 32px; border: 0; cursor: pointer; align-self: center; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); font-size: 13px; }
.cart-empty p { margin-bottom: 8px; font-size: 28px; }
.cart-shipping-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fdf6e3; border-radius: var(--radius-sm); font-size: 12px; margin-bottom: 10px; }
.cart-shipping-bar.done { background: #dcfce7; color: var(--success); }

/* ── FAB BUTTONS ──────────────────────────── */
.whatsapp-fab { position: fixed; bottom: 88px; right: 24px; z-index: 50; width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; background: #25d366; color: #fff; border-radius: 999px; font-size: 28px; box-shadow: 0 8px 24px rgba(37,211,102,.4); }
.whatsapp-fab:hover { background: #1ebe5a; }
.whatsapp-fab::after { content: ""; position: absolute; inset: -4px; border-radius: 999px; border: 2px solid #25d366; animation: pulse 2s ease-out infinite; opacity: 0; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.4); opacity: 0; } }
.scroll-top { position: fixed; bottom: 24px; right: 24px; z-index: 50; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: var(--purple); color: #fff; border-radius: 999px; box-shadow: var(--shadow-3); border: 0; cursor: pointer; }
.scroll-top:hover { background: var(--purple-2); }

/* ── REVEAL ANIMATION ─────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.reveal.in { opacity: 1; transform: none; }
.badge-pop { animation: badge-pop .35s ease; }
@keyframes badge-pop { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* ─────────────────────────────────────────── */
/* LARAVEL-SPECIFIC ADDITIONS                 */
/* ─────────────────────────────────────────── */

/* Form input (auth pages) */
.form-input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; font-size: 13px; color: var(--fg); font-family: var(--font); }
.form-input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(145,66,144,.15); outline: 0; }

/* Catalog layout */
.catalog-shell { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding-block: 32px; }
.sidebar-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; margin-bottom: 12px; }
.sidebar-title { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.side-link { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: var(--radius-sm); font-size: 13px; color: var(--fg); transition: background .15s; }
.side-link:hover { background: #f3ecdf; }
.side-link.active { background: var(--gold); color: var(--charcoal); font-weight: 600; }
.side-link .mono { font-family: monospace; font-size: 11px; color: var(--muted); }
.catalog-toolbar { margin-bottom: 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.catalog-search { display: flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.catalog-search input { border: 0; outline: 0; padding: 10px 14px; font-size: 13px; font-family: var(--font); background: transparent; }
.catalog-search button { background: var(--gold); color: var(--charcoal); font-weight: 700; padding: 0 16px; border: 0; cursor: pointer; font-size: 13px; }

/* Generic helpers */
.btn-ghost { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--fg); background: transparent; cursor: pointer; }
.btn-ghost:hover { background: #f3ecdf; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: var(--radius); background: var(--purple); color: #fff; font-weight: 600; font-size: 14px; font-family: var(--font); }
.section-title { font-size: 22px; font-weight: 700; color: var(--fg); }
.mono { font-family: monospace; }
.logo-img { height: 52px; width: auto; }

/* ── RESPONSIVE ───────────────────────────── */
@media (max-width: 1235px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-col:nth-child(3) { display: none; }
}
@media (max-width: 1023px) {
  .header-bottom-inner { grid-template-columns: 1fr auto; }
  .logo { grid-column: 1; }
  .header-actions { grid-column: 2; }
  .search-form { grid-column: 1 / -1; max-width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-slider { aspect-ratio: 16 / 9; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .banner-grid { grid-template-columns: repeat(2, 1fr); }
  .dealer-card { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:nth-child(3) { display: flex; }
  .catbar { flex-wrap: nowrap; display: none; flex-direction: column; align-items: stretch; }
  .catbar.open { display: flex; }
  .mobile-menu-btn { display: inline-flex !important; }
  .catalog-shell { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .topband-inner { flex-direction: column; gap: 4px; text-align: center; padding-block: 6px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .banner-grid { grid-template-columns: 1fr; }
  .dealer-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .icon-action .label { display: none; }
  .deal-list { padding: 12px; }
  .dealer-card { padding: 20px; }
  .newsletter-form { flex-direction: column; }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .whatsapp-fab::after { display: none; }
}

/* ═══════════════════════════════════════════════
   ADMIN PANEL — G-Party Yönetim Arayüzü
   ═══════════════════════════════════════════════ */

/* Layout */
.adm-wrap { display:flex; min-height:100vh; background:#f4f0eb; }
body:has(.adm-wrap) .topband,
body:has(.adm-wrap) .header-bottom,
body:has(.adm-wrap) .header-nav,
body:has(.adm-wrap) .site-footer { display:none !important; }
body:has(.adm-wrap) main { padding:0; }

/* Sidebar */
.adm-sidebar { width:220px; flex-shrink:0; background:#1a1410; color:#fff; display:flex; flex-direction:column; min-height:100vh; position:sticky; top:0; height:100vh; overflow-y:auto; }
.adm-logo { padding:20px 18px 16px; font-size:15px; font-weight:800; letter-spacing:-.01em; border-bottom:1px solid rgba(255,255,255,.08); display:flex; align-items:center; gap:8px; }
.adm-nav { padding:12px 10px; flex:1; display:flex; flex-direction:column; gap:2px; }
.adm-nav-item { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:8px; font-size:13px; font-weight:500; color:rgba(255,255,255,.65); text-decoration:none; transition:all .15s; }
.adm-nav-item i { width:16px; text-align:center; font-size:14px; }
.adm-nav-item:hover { background:rgba(255,255,255,.07); color:#fff; }
.adm-nav-item--active { background:var(--purple); color:#fff !important; }
.adm-nav-bottom { margin-top:auto; margin:10px 10px 16px; }

/* Main */
.adm-main { flex:1; padding:28px 32px; overflow:auto; min-width:0; }
.adm-topbar { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; gap:12px; flex-wrap:wrap; }
.adm-page-title { font-size:20px; font-weight:800; color:#1a1410; margin:0; }
.adm-page-sub { font-size:12px; color:#9b8b7e; margin:3px 0 0; }
.adm-back-btn { width:32px; height:32px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; background:#fff; border:1px solid #e8e0d6; color:#6b5e52; font-size:12px; text-decoration:none; }
.adm-back-btn:hover { background:#f3ecdf; }

/* Card */
.adm-card { background:#fff; border:1px solid #e8e0d6; border-radius:12px; padding:20px; }
.adm-card-head { font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#9b8b7e; margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid #f0ebe0; }
.adm-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.adm-form-grid { display:grid; grid-template-columns:280px 1fr; gap:20px; }

/* Tabs */
.adm-tabs { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
.adm-tab { padding:6px 14px; border-radius:20px; font-size:12px; font-weight:600; text-decoration:none; white-space:nowrap; color:#6b5e52; background:#fff; border:1px solid #e8e0d6; transition:all .15s; }
.adm-tab:hover { background:#f3ecdf; border-color:#d4c9b8; }
.adm-tab--active { background:var(--purple); color:#fff; border-color:var(--purple); }
.adm-tab-count { font-size:10px; background:rgba(255,255,255,.2); padding:1px 5px; border-radius:8px; margin-left:2px; }
.adm-tab--active .adm-tab-count { background:rgba(255,255,255,.25); }
.adm-tab:not(.adm-tab--active) .adm-tab-count { background:#f0ebe0; color:#9b8b7e; }

/* Table */
.adm-table { width:100%; border-collapse:collapse; font-size:13px; }
.adm-table thead { background:#faf7f1; border-bottom:2px solid #e8e0d6; }
.adm-table th { padding:10px 12px; text-align:left; font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:#9b8b7e; }
.adm-table td { padding:10px 12px; border-bottom:1px solid #f0ebe0; vertical-align:middle; }
.adm-table tr:last-child td { border-bottom:0; }
.adm-table tr:hover td { background:#faf7f1; }
.prod-row--noprice td:first-child { border-left:3px solid #fbbf24; }

/* Thumb */
.adm-thumb { width:48px; height:48px; border-radius:8px; overflow:hidden; background:#f3ecdf; flex-shrink:0; }
.adm-thumb img { width:100%; height:100%; object-fit:cover; }

/* Product name */
.adm-prod-name { font-weight:500; line-height:1.3; }
.adm-prod-sub { font-size:11px; color:#9b8b7e; margin-top:2px; font-family:monospace; }
.adm-mono { font-family:monospace; font-size:12px; color:#6b5e52; }
.adm-cat-badge { font-size:11px; background:#f3ecdf; color:#6b5e52; padding:2px 8px; border-radius:10px; white-space:nowrap; }

/* Inline price input */
.adm-price-form { margin:0; }
.adm-price-input { width:100%; height:32px; padding:0 8px; border:1px solid transparent; border-radius:6px; font-size:13px; font-family:monospace; font-weight:600; color:#1a1410; background:transparent; outline:none; transition:all .15s; }
.adm-price-input:focus,.adm-price-input:hover { border-color:#914290; background:#fff; box-shadow:0 0 0 3px rgba(145,66,144,.1); }
.adm-price-input--wholesale { color:#128c7e; }

/* Status dot */
.adm-dot { display:inline-block; width:10px; height:10px; border-radius:50%; }
.adm-dot--on { background:#22c55e; }
.adm-dot--off { background:#d1d5db; }

/* Toggle */
.adm-toggle { display:inline-flex; align-items:center; font-size:11px; font-weight:600; padding:3px 10px; border-radius:10px; cursor:pointer; user-select:none; }
.adm-toggle--on { background:#dcfce7; color:#15803d; }
.adm-toggle--off { background:#f1f5f9; color:#64748b; }

/* Icon buttons */
.adm-icon-btn { width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center; border-radius:7px; border:0; cursor:pointer; font-size:12px; transition:all .15s; }
.adm-icon-btn--edit { background:#f3ecdf; color:#6b5e52; }
.adm-icon-btn--edit:hover { background:#e7ab12; color:#1a1410; }
.adm-icon-btn--del { background:#fee2e2; color:#dc2626; }
.adm-icon-btn--del:hover { background:#dc2626; color:#fff; }

/* Buttons */
.adm-btn { display:inline-flex; align-items:center; gap:6px; padding:0 16px; height:38px; border-radius:8px; font-size:13px; font-weight:600; font-family:var(--font); border:0; cursor:pointer; text-decoration:none; transition:all .15s; }
.adm-btn--primary { background:var(--purple); color:#fff; }
.adm-btn--primary:hover { background:var(--purple-2); }
.adm-btn--gold { background:#e7ab12; color:#1a1410; }
.adm-btn--gold:hover { background:#c8920a; }
.adm-btn--danger { background:#fee2e2; color:#dc2626; }
.adm-btn--danger:hover { background:#dc2626; color:#fff; }
.adm-btn--ghost { background:#fff; color:#6b5e52; border:1px solid #e8e0d6; }
.adm-btn--ghost:hover { background:#f3ecdf; }
.adm-btn--lg { width:100%; justify-content:center; height:46px; font-size:14px; }

/* Forms */
.adm-field { display:flex; flex-direction:column; gap:5px; }
.adm-field label { font-size:12px; font-weight:600; color:#6b5e52; }
.adm-input { width:100%; padding:0 12px; height:40px; border:1px solid #e8e0d6; border-radius:8px; font-size:13px; font-family:var(--font); color:#1a1410; background:#fff; outline:none; transition:all .15s; }
.adm-input:focus { border-color:var(--purple); box-shadow:0 0 0 3px rgba(145,66,144,.12); }
.adm-input--err { border-color:#dc2626; }
.adm-input[rows] { height:auto; padding:10px 12px; resize:vertical; }
.adm-row-2 { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.adm-input-icon { position:relative; }
.adm-input-icon span { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:#9b8b7e; font-size:13px; font-weight:600; pointer-events:none; }
.adm-input-icon input { padding-left:26px; }
.adm-check-label { display:flex; align-items:center; gap:8px; font-size:13px; color:#1a1410; cursor:pointer; }
.adm-error { font-size:11px; color:#dc2626; margin-top:2px; }
.adm-badge { display:inline-flex; align-items:center; justify-content:center; background:#f0ebe0; color:#6b5e52; font-size:11px; font-weight:700; padding:2px 7px; border-radius:10px; margin-left:4px; }

/* Image upload */
.adm-upload-btn { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; height:40px; border:1.5px dashed #d4c9b8; border-radius:8px; font-size:13px; font-weight:600; color:#6b5e52; cursor:pointer; transition:all .15s; }
.adm-upload-btn:hover { border-color:var(--purple); color:var(--purple); background:#f9f6ff; }

/* Flash */
.adm-flash { padding:12px 16px; border-radius:10px; font-size:13px; font-weight:500; margin-bottom:16px; display:flex; align-items:center; gap:8px; }
.adm-flash--ok { background:#dcfce7; color:#15803d; border:1px solid #bbf7d0; }
.adm-flash--err { background:#fee2e2; color:#991b1b; border:1px solid #fecaca; }


/* ── MOBİL ADMIN ─────────────────────────────── */
.adm-mobile-topbar { display:none; position:sticky; top:0; z-index:200; background:#1a1410; color:#fff; padding:0 16px; height:52px; align-items:center; justify-content:space-between; }
.adm-hamburger { background:none; border:none; color:#fff; font-size:22px; cursor:pointer; padding:8px; }
.adm-mobile-logo { font-size:15px; font-weight:800; }
.adm-sidebar-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:300; }
.adm-sidebar.open { display:flex !important; position:fixed; top:0; left:0; height:100vh; z-index:400; }
@media(max-width:1023px){
  .adm-mobile-topbar { display:flex; }
  .adm-sidebar { display:none; }
  .adm-wrap { flex-direction:column; }
  .adm-main { padding:16px; }
  .adm-table { font-size:12px; }
  .adm-table th, .adm-table td { padding:8px 10px; }
}

@media(max-width:1023px) {
  .adm-sidebar { display:none; }
  .adm-main { padding:16px; }
  .adm-form-grid { grid-template-columns:1fr; }
  .adm-grid-2 { grid-template-columns:1fr; }
}

/* ── HAKKIMIZDA SAYFASI ───────────────────────── */
.about-hero { background:linear-gradient(135deg,#1a1410 0%,#2a1f28 60%,#3a1f35 100%); color:#fff; padding:clamp(48px,7vw,80px) 0; margin-bottom:0; }
.about-hero-inner { max-width:680px; }
.about-hero-inner h1 { font-size:clamp(26px,4vw,42px); font-weight:800; line-height:1.15; letter-spacing:-.02em; margin:12px 0 16px; }
.about-lead { font-size:clamp(15px,1.8vw,18px); color:rgba(255,255,255,.75); line-height:1.6; max-width:560px; }

.about-blocks { display:grid; grid-template-columns:1fr 1fr; gap:20px; padding:clamp(28px,4vw,48px) 0; }
.about-block { display:flex; gap:16px; align-items:flex-start; background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; }
.about-block-icon { width:48px; height:48px; border-radius:12px; background:linear-gradient(135deg,var(--purple),var(--purple-2)); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.about-block-icon i { color:#fff; font-size:20px; }
.about-block h3 { font-size:16px; font-weight:700; margin:0 0 6px; color:#1a1410; }
.about-block p { font-size:13px; color:var(--muted); line-height:1.6; margin:0; }

.about-why { background:#faf7f1; border-radius:var(--radius-lg); padding:32px 36px; margin-bottom:32px; }
.about-why h2 { font-size:clamp(18px,2.5vw,24px); font-weight:800; letter-spacing:-.01em; margin:0 0 20px; }
.about-why-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:14px; }
.about-why-list li { display:flex; align-items:center; gap:14px; font-size:15px; font-weight:500; color:#1a1410; }
.about-why-list li i { width:32px; height:32px; display:flex; align-items:center; justify-content:center; border-radius:8px; background:#fff; font-size:15px; flex-shrink:0; box-shadow:var(--shadow-1); }

@media(max-width:767px){
  .about-blocks { grid-template-columns:1fr; }
  .about-why { padding:20px; }
}

/* ── KATEGORİ FOTO SLAYT ─────────────────────── */
.cat-slider { cursor:pointer; }
.cat-slide-bg {
  position:absolute; inset:0;
  background-size:cover; background-position:center;
  opacity:0;
  transition:opacity .4s ease;
  z-index:0;
}
.cat-slider::before { display:none; } /* gradient overlay yerine JS kontrolü */
.cat-slider .cat-banner-content { z-index:2; }
.cat-slider::after {
  content:'';
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.05) 100%);
  z-index:1;
}
.cat-slide-dots { display:flex; gap:5px; margin-top:10px; }
.cat-dot {
  width:6px; height:6px; border-radius:50%;
  background:rgba(255,255,255,.45); transition:all .3s;
}
.cat-dot--active { background:#fff; width:18px; border-radius:4px; }

/* ── STATİK SAYFA TASARIMI ─────────────────────── */
.sp-hero {
  background: linear-gradient(135deg, #1a1410 0%, #2d1a2e 50%, #3a1530 100%);
  padding: clamp(32px,5vw,64px) 0 clamp(24px,4vw,48px);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.sp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(231,171,18,.12) 0%, transparent 65%);
  pointer-events: none;
}
.sp-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.sp-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(231,171,18,.15); border: 1px solid rgba(231,171,18,.3);
  color: #e7ab12; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 14px;
}
.sp-hero h1 {
  font-size: clamp(22px,3.5vw,36px); font-weight: 800;
  line-height: 1.2; letter-spacing: -.02em; margin: 0 0 12px;
}
.sp-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,.55); margin-top: 14px;
}
.sp-breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.sp-breadcrumb a:hover { color: #e7ab12; }
.sp-breadcrumb i { font-size: 8px; }

.sp-body { padding: clamp(28px,4vw,56px) 0; }
.sp-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.06), 0 8px 32px rgba(0,0,0,.04);
}
.sp-card-inner { padding: clamp(24px,4vw,48px); }

/* Prose içerik */
.sp-prose { color: #2d2520; line-height: 1.8; font-size: 14.5px; }
.sp-prose h2 {
  font-size: 18px; font-weight: 800; color: #1a1410;
  margin: 32px 0 12px; padding-bottom: 8px;
  border-bottom: 2px solid #f0e8d8;
}
.sp-prose h2:first-child { margin-top: 0; }
.sp-prose h3 { font-size: 15px; font-weight: 700; color: #2d1a2e; margin: 20px 0 8px; }
.sp-prose p { margin: 0 0 14px; }
.sp-prose ul, .sp-prose ol { padding-left: 20px; margin: 8px 0 16px; }
.sp-prose li { margin-bottom: 6px; }
.sp-prose strong { color: #1a1410; }
.sp-prose a { color: #914290; }
.sp-prose a:hover { color: #e7ab12; }
.sp-prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.sp-prose table th { background: #f3ecdf; padding: 10px 14px; text-align: left; font-weight: 700; }
.sp-prose table td { padding: 9px 14px; border-bottom: 1px solid #f0e8d8; }

/* SSS accordion */
.faq-item {
  border: 1px solid #f0e8d8; border-radius: 10px;
  margin-bottom: 8px; overflow: hidden; background: #fff;
}
.faq-q {
  font-weight: 700; font-size: 14px; color: #1a1410;
  padding: 16px 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: #fdf9f3; transition: background .2s;
  user-select: none;
}
.faq-q::after {
  content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
  font-size: 11px; color: #914290;
  transition: transform .25s; flex-shrink: 0;
}
.faq-item.open .faq-q { background: #f3ecdf; }
.faq-item.open .faq-q::after { transform: rotate(180deg); }
.faq-a {
  font-size: 13.5px; color: #4a3a30; line-height: 1.7;
  padding: 0 20px; max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-a { max-height: 400px; padding: 12px 20px 18px; }

/* SSS grup başlığı */
.faq-group-title {
  font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #914290; margin: 24px 0 10px; display: flex; align-items: center; gap: 8px;
}
.faq-group-title:first-child { margin-top: 0; }
.faq-group-title::before {
  content: ''; display: block; width: 3px; height: 14px;
  background: linear-gradient(#914290, #e7ab12); border-radius: 2px;
}

@media(max-width:767px) {
  .sp-hero { padding: 28px 0 20px; }
  .sp-card-inner { padding: 18px; }
  .sp-prose { font-size: 13.5px; }
}


/* ══════════════════════════════════════════════
   MOBİL RESPONSIVE — Premium UX İyileştirmeleri
   ══════════════════════════════════════════════ */

/* ── ALT NAVİGASYON ÇUBUĞU (Bottom Tab Bar) ── */
.mobile-bottomnav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 16px rgba(31,27,22,.10);
  z-index: 600;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bottomnav-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 58px;
}
.mob-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--muted); font-size: 10px; font-weight: 600; border: 0;
  background: transparent; cursor: pointer; padding: 6px 4px; position: relative;
  text-decoration: none; transition: color .15s;
  -webkit-tap-highlight-color: transparent;
}
.mob-nav-btn i { font-size: 19px; }
.mob-nav-btn.active, .mob-nav-btn:hover { color: var(--purple); }
.mob-nav-btn.mob-cart { color: var(--fg); }
.mob-nav-btn.mob-cart.active { color: var(--purple); }
.mob-nav-badge {
  position: absolute; top: 4px; right: 18%;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--gold); color: #000; font-size: 9px; font-weight: 800;
  border-radius: 999px; display: none; align-items: center; justify-content: center;
}

/* ── TOPBAND MOBİL ─────────────────────────── */
@media (max-width: 767px) {
  .topband-inner { flex-direction: row; gap: 0; padding-block: 0; justify-content: center; }
  .topband-inner .topband-item:not(:first-child) { display: none; }
  .topband-inner .topband-sep { display: none; }
  .topband { min-height: 32px; }
  .topband-inner { min-height: 32px; font-size: 11px; }
}

/* ── HEADER MOBİL ──────────────────────────── */
@media (max-width: 767px) {
  .header-bottom-inner {
    grid-template-columns: 1fr auto;
    min-height: 58px;
    padding-block: 8px;
    gap: 10px;
  }
  .logo { height: 48px; }
  .logo img { height: 40px; }
  .search-form { order: 3; grid-column: 1 / -1; margin: 0; }
  .search-input { padding: 10px 12px 10px 40px; font-size: 13px; }
  .search-icon { left: 10px; width: 17px; height: 17px; }
  .search-submit { padding: 0 14px; height: 42px; font-size: 12px; }
  /* Header actions: show only cart + menu on mobile (rest in bottom nav) */
  .header-actions .icon-action:not(.mobile-menu-btn):not([data-open-cart]) {
    display: none !important;
  }
  .icon-action i { font-size: 19px; }
  .icon-action { min-width: 42px; padding: 6px; }
}

/* ── KATEGORİ MENÜ MOBİL ───────────────────── */
@media (max-width: 1023px) {
  .catbar {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(31,27,22,.12);
    flex-direction: column; align-items: stretch;
    padding: 8px 0; z-index: 200; max-height: 60vh; overflow-y: auto;
  }
  .catbar.open { display: flex; }
  .cat-link { padding: 12px 20px; border-bottom: 1px solid #faf7f1; font-size: 14px; }
  .cat-link::after { display: none; }
  .cat-link:hover { background: #faf7f1; color: var(--purple); }
  .header-nav { position: relative; }
}

/* ── ÜRÜN KARTLARI MOBİL ───────────────────── */
@media (max-width: 767px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card { border-radius: 10px; }
  .product-thumb, .product-media { aspect-ratio: 1; }
  .product-body { padding: 8px 10px; }
  .product-title { font-size: 12px; line-height: 1.35; -webkit-line-clamp: 2; }
  .product-category { font-size: 10px; }
  .product-sku { font-size: 10px; }
  /* Bigger touch target for add-to-cart buttons */
  .product-card .btn-gold, .product-card button[type="submit"] { min-height: 38px; font-size: 12px; width: 100%; justify-content: center; }
}

/* ── HERO MOBİL ────────────────────────────── */
@media (max-width: 767px) {
  .hero { padding-block: 16px; }
  .hero-slider { aspect-ratio: 4/3; border-radius: 10px; }
  .hero-slide { padding: 20px; }
  .hero-content h1 { font-size: 18px; }
  .hero-content p { font-size: 12px; margin-bottom: 12px; }
  .hero-cta .btn { padding: 8px 14px; font-size: 12px; }
  .deal-list { display: none; } /* hero yanındaki küçük liste mobilde gizli */
}
@media (max-width: 480px) {
  .hero-slide { padding: 16px; }
}

/* ── KATEGORİ BANNER'LAR MOBİL ──────────────── */
@media (max-width: 767px) {
  .banner-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-banner { min-height: 120px; padding: 14px; border-radius: 10px; }
  .cat-banner h3 { font-size: 14px; }
  .cat-banner p { display: none; }
}
@media (max-width: 380px) {
  .banner-grid { grid-template-columns: 1fr; }
}

/* ── SECTION HEAD MOBİL ─────────────────────── */
@media (max-width: 767px) {
  .section-head { margin-bottom: 16px; }
  .section-head h2 { font-size: 18px; }
  .product-section { padding-block: 24px 32px; }
}

/* ── FOOTER MOBİL ───────────────────────────── */
@media (max-width: 767px) {
  .footer-grid { gap: 24px; }
  .footer-col h4 { font-size: 13px; }
  .footer-map { display: none; } /* harita mobilde gizli, performans */
  .social { justify-content: flex-start; gap: 12px; margin-top: 12px; }
  .social a { width: 38px; height: 38px; font-size: 16px; }
}

/* ── CART DRAWER MOBİL ──────────────────────── */
@media (max-width: 767px) {
  .drawer { width: 100vw; max-width: 100%; border-radius: 20px 20px 0 0; }
  .drawer-backdrop.open .drawer { transform: translateY(0); }
}

/* ── WHATSAPP FAB ───────────────────────────── */
@media (max-width: 767px) {
  .whatsapp-fab { bottom: 72px; right: 14px; width: 50px; height: 50px; font-size: 24px; }
  .scroll-top { bottom: 72px; }
}

/* ── ALT NAV AKTİF ─────────────────────────── */
@media (max-width: 767px) {
  .mobile-bottomnav { display: block; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
}

/* ── HAKKIMIZDA MOBİL ───────────────────────── */
@media (max-width: 767px) {
  .about-hero { padding: 32px 0; }
  .about-blocks { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
  .about-block { padding: 16px; gap: 12px; }
  .about-why { padding: 18px; }
  .about-why-list li { font-size: 14px; }
}

/* ── KATEGORİ SLAYT MOBİL ───────────────────── */
@media (max-width: 767px) {
  .category-banners { padding-block: 12px 20px; }
}

/* ── BAYI FORMU MOBİL ───────────────────────── */
@media (max-width: 767px) {
  .dealer-card { border-radius: 12px; }
  .dealer-form { gap: 10px; }
  .dealer-form .adm-field { gap: 4px; }
}

/* ── GİRİŞ / KAYIT MOBİL ───────────────────── */
@media (max-width: 480px) {
  .auth-card { padding: 20px 16px; border-radius: 14px; margin: 16px; }
}

/* ── SCROLL GIZLE (MOBİL MENU AÇIK) ─────────── */
body.menu-open { overflow: hidden; }

/* Admin panelde alt nav ve body padding gösterme */
body:has(.adm-wrap) .mobile-bottomnav { display: none !important; }
body:has(.adm-wrap) { padding-bottom: 0 !important; }

/* Admin panelde FAB ve scroll-top gizle */
body:has(.adm-wrap) .whatsapp-fab { display: none !important; }
body:has(.adm-wrap) .scroll-top { display: none !important; }

/* Overlay açık state */
.adm-sidebar-overlay.open { display: block; }

/* Tablo yatay scroll wrapper */
.adm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; }

/* ── ADMİN MOBİL KAPSAMLI ──────────────────────── */
@media(max-width:1023px){
  .adm-main { padding: 16px 14px; }
  .adm-grid-2 { grid-template-columns: 1fr; gap: 14px; }
  .adm-form-grid { grid-template-columns: 1fr; gap: 14px; }
}

@media(max-width:767px){
  .adm-main { padding: 12px 10px; }
  .adm-page-title { font-size: 17px; }
  .adm-page-sub { font-size: 11px; }
  .adm-topbar { flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
  .adm-card { padding: 14px; }
  .adm-card-head { font-size: 11px; margin-bottom: 10px; padding-bottom: 8px; }

  .adm-grid-2 { grid-template-columns: 1fr !important; gap: 12px; }
  .adm-form-grid { grid-template-columns: 1fr !important; gap: 12px; }
  .adm-row-2 { grid-template-columns: 1fr !important; gap: 10px; }

  .adm-table { font-size: 11.5px; }
  .adm-table th { padding: 7px 8px; font-size: 10px; }
  .adm-table td { padding: 8px 8px; }

  .adm-icon-btn { width: 36px; height: 36px; font-size: 13px; }
  .adm-btn { padding: 0 12px; height: 40px; font-size: 12px; }
  .adm-btn--lg { height: 44px; font-size: 13px; }

  .adm-thumb { width: 40px; height: 40px; }

  /* iOS zoom önleme */
  .adm-input, .adm-input[rows] { font-size: 16px; }
  .adm-price-input { font-size: 15px; }

  /* Tabs küçük ekranda overflow scroll */
  .adm-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .adm-tab { flex-shrink: 0; }
}

@media(max-width:480px){
  .adm-main { padding: 8px; }
  .adm-card { padding: 12px; border-radius: 10px; }
  .adm-table { font-size: 11px; }
  .adm-table th { padding: 6px 6px; }
  .adm-table td { padding: 7px 6px; }
  .adm-tab { padding: 5px 10px; font-size: 11px; }
}
