/* ════════════════════════════════════════════════════════
   PARS HIRDAVAT — ORTAK STİL DOSYASI
   Tüm sayfalarda (anasayfa + 4 kategori sayfası) kullanılır
   ════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0B2545;
  --navy-mid: #143460;
  --navy-light: #1a4278;
  --yellow: #F4D03F;
  --yellow-dark: #d4ac0d;
  --red: #E74C3C;
  --dark: #1F2937;
  --gray-light: #F8F9FA;
  --gray-mid: #e2e8f0;
  --gray-muted: #94a3b8;
  --white: #FFFFFF;
  --green-wa: #25D366;
  --green-wa-dark: #128C7E;
  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); font-size: 16px; line-height: 1.6; }

/* ─── TOP BAR ─── */
.top-bar { background: #07192e; color: #a8c4e0; padding: 6px 0; font-size: 12.5px; border-bottom: 1px solid #0d2d52; }
.top-bar-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { display: flex; gap: 24px; }
.top-bar-left a { color: #a8c4e0; text-decoration: none; }
.top-bar-left a:hover { color: var(--yellow); }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.currency-ticker { display: flex; gap: 16px; }
.currency-item { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.06); border-radius: 4px; padding: 3px 10px; }
.currency-label { font-weight: 600; color: var(--yellow); letter-spacing: 0.04em; }
.currency-value { font-weight: 700; color: #e8f4fd; font-size: 13px; }
.currency-change { font-size: 11px; display: flex; align-items: center; gap: 2px; }
.change-up { color: #4ade80; }
.change-down { color: #f87171; }
.currency-update-time { color: #5a7a9a; font-size: 11px; }

/* ─── HEADER ─── */
header { background: var(--navy); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.header-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 32px; height: 72px; }
.logo-area { display: flex; align-items: center; gap: 14px; flex-shrink: 0; text-decoration: none; }
.logo-icon { width: 46px; height: 46px; background: var(--yellow); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 2px 10px rgba(244,208,63,0.3); }
.logo-text { line-height: 1.2; }
.logo-name { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--white); letter-spacing: 0.01em; }
.logo-sub { font-size: 10.5px; color: #7aa8cc; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

nav { flex: 1; display: flex; justify-content: center; }
nav ul { list-style: none; display: flex; gap: 2px; }
nav ul li a { display: block; padding: 8px 14px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: #c5d8ec; text-decoration: none; border-radius: 6px; transition: all 0.2s; white-space: nowrap; }
nav ul li a:hover, nav ul li a.active { background: rgba(255,255,255,0.1); color: var(--white); }
nav ul li a.active { border-bottom: 2px solid var(--yellow); border-radius: 6px 6px 0 0; }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-teklif { background: var(--yellow); color: var(--navy); border: none; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 10px; padding: 7px 10px; border-radius: 6px; letter-spacing: 0.02em; text-transform: uppercase; transition: all 0.2s; white-space: nowrap; box-shadow: 0 2px 12px rgba(244,208,63,0.35); }
.btn-teklif:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-whatsapp { display: flex; align-items: center; gap: 7px; background: var(--green-wa); color: white; border: none; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 12px; padding: 10px 14px; border-radius: 6px; text-decoration: none; transition: all 0.2s; white-space: nowrap; }
.btn-whatsapp:hover { background: var(--green-wa-dark); transform: translateY(-1px); }
.btn-whatsapp svg { width: 18px; height: 18px; fill: white; }

/* ─── CATEGORY PAGE HERO ─── */
.cat-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0e3a6e 100%); padding: 48px 0 40px; position: relative; }
.cat-hero-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.breadcrumb { font-size: 13px; color: #7aa0bc; margin-bottom: 16px; }
.breadcrumb a { color: #7aa0bc; text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }
.cat-hero-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.cat-hero-icon { font-size: 40px; margin-bottom: 10px; }
.cat-hero h1 { font-family: var(--font-head); font-weight: 800; font-size: 36px; color: white; margin-bottom: 8px; }
.cat-hero p { font-size: 15px; color: #8ab4d4; max-width: 600px; }
.cat-hero-count { font-family: var(--font-head); font-weight: 700; color: var(--yellow); font-size: 14px; }

/* ─── CONTROLS BAR ─── */
.controls-bar { background: var(--gray-light); border-bottom: 1px solid var(--gray-mid); padding: 18px 0; position: sticky; top: 72px; z-index: 100; }
.controls-inner { max-width: 1400px; margin: 0 auto; padding: 0 32px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.search-box { flex: 1; min-width: 240px; position: relative; }
.search-box input { width: 100%; padding: 10px 40px 10px 14px; border: 1.5px solid var(--gray-mid); border-radius: 8px; font-size: 13.5px; font-family: var(--font-body); outline: none; transition: border 0.2s; }
.search-box input:focus { border-color: var(--navy); }
.search-box .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--gray-muted); pointer-events: none; }
.controls-bar select { padding: 10px 14px; border: 1.5px solid var(--gray-mid); border-radius: 8px; font-size: 13.5px; font-family: var(--font-body); background: white; outline: none; cursor: pointer; }
.view-toggle { display: flex; gap: 4px; background: white; border: 1.5px solid var(--gray-mid); border-radius: 8px; padding: 3px; }
.view-toggle button { background: none; border: none; padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 14px; color: var(--gray-muted); transition: all 0.15s; }
.view-toggle button.active { background: var(--navy); color: white; }

/* ─── PRODUCT GRID (customer-facing) ─── */
.products-section { max-width: 1400px; margin: 0 auto; padding: 32px; }
.product-grid-customer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pc-card { background: white; border: 1px solid var(--gray-mid); border-radius: 12px; overflow: hidden; cursor: pointer; transition: all 0.25s; display: flex; flex-direction: column; }
.pc-card:hover { box-shadow: 0 10px 30px rgba(11,37,69,0.13); transform: translateY(-3px); border-color: var(--yellow); }
.pc-thumb { aspect-ratio: 1/1; background: var(--gray-light); position: relative; overflow: hidden; }
.pc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pc-thumb .no-img { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 40px; color: var(--gray-mid); }
.pc-stock-badge { position: absolute; top: 10px; left: 10px; font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 10px; text-transform: uppercase; letter-spacing: 0.03em; }
.pc-stock-badge.var { background: #dcfce7; color: #15803d; }
.pc-stock-badge.siparis { background: #fef9c3; color: #854d0e; }
.pc-stock-badge.yok { background: #fee2e2; color: #b91c1c; }
.pc-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.pc-cat { font-size: 10.5px; font-weight: 700; color: var(--gray-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.pc-name { font-weight: 600; font-size: 14px; color: var(--dark); line-height: 1.4; margin-bottom: 6px; flex: 1; }
.pc-impa { font-size: 12px; color: var(--navy); font-weight: 600; background: var(--gray-light); display: inline-block; padding: 2px 8px; border-radius: 5px; margin-bottom: 10px; width: fit-content; }
.pc-btn { background: var(--navy); color: white; border: none; padding: 9px; border-radius: 7px; font-family: var(--font-head); font-weight: 700; font-size: 12px; cursor: pointer; text-transform: uppercase; letter-spacing: 0.03em; transition: background 0.2s; }
.pc-btn:hover { background: var(--navy-mid); }

/* List view variant */
.product-grid-customer.list-view { grid-template-columns: 1fr; }
.product-grid-customer.list-view .pc-card { flex-direction: row; }
.product-grid-customer.list-view .pc-thumb { width: 140px; aspect-ratio: 1/1; flex-shrink: 0; }
.product-grid-customer.list-view .pc-body { flex-direction: row; align-items: center; gap: 16px; }
.product-grid-customer.list-view .pc-name { margin-bottom: 0; }
.product-grid-customer.list-view .pc-btn { width: 140px; flex-shrink: 0; }

/* ─── PAGINATION ─── */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pagination button { width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid var(--gray-mid); background: white; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--dark); transition: all 0.15s; }
.pagination button.active { background: var(--navy); color: white; border-color: var(--navy); }
.pagination button:hover:not(.active) { border-color: var(--navy); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ─── EMPTY STATE ─── */
.empty-state { text-align: center; padding: 80px 20px; color: var(--gray-muted); }
.empty-state .icon { font-size: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-family: var(--font-head); font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.empty-state p { font-size: 14px; }

/* ─── LOADING SKELETON ─── */
.skeleton { background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 8px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skel-card { height: 290px; }

/* ─── PRODUCT DETAIL MODAL ─── */
.pd-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 5000; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px); }
.pd-overlay.open { display: flex; }
.pd-modal { background: white; border-radius: 16px; width: 100%; max-width: 920px; max-height: 92vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.35); animation: pd-in 0.25s ease; }
@keyframes pd-in { from { transform: scale(0.96) translateY(12px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.pd-close { position: sticky; top: 0; float: right; margin: 14px 14px 0 0; background: rgba(0,0,0,0.55); color: white; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; z-index: 10; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.pd-gallery { padding: 24px; background: var(--gray-light); }
.pd-main-img { aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: white; margin-bottom: 12px; border: 1px solid var(--gray-mid); }
.pd-main-img img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 8px; }
.pd-thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; background: white; }
.pd-thumb.active { border-color: var(--yellow); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: 32px 28px; }
.pd-cat-badge { display: inline-block; font-size: 11px; font-weight: 700; color: var(--navy); background: var(--gray-light); padding: 4px 12px; border-radius: 12px; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.pd-title { font-family: var(--font-head); font-weight: 800; font-size: 24px; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
.pd-title-en { font-size: 13px; color: var(--gray-muted); font-style: italic; margin-bottom: 16px; }
.pd-meta-row { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.pd-meta-item .label { font-size: 11px; color: var(--gray-muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.pd-meta-item .value { font-size: 14px; font-weight: 700; color: var(--dark); margin-top: 2px; }
.pd-desc { font-size: 14px; color: #475569; line-height: 1.7; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--gray-mid); }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.pd-tag { background: var(--gray-light); color: #475569; padding: 4px 11px; border-radius: 12px; font-size: 12px; }
.pd-cta { display: flex; gap: 10px; }
.pd-cta button { flex: 1; padding: 13px; border-radius: 8px; font-family: var(--font-head); font-weight: 800; font-size: 13px; cursor: pointer; border: none; text-transform: uppercase; letter-spacing: 0.03em; transition: all 0.2s; }
.pd-cta .pd-btn-quote { background: var(--yellow); color: var(--navy); }
.pd-cta .pd-btn-quote:hover { background: var(--yellow-dark); }
.pd-cta .pd-btn-wa { background: var(--green-wa); color: white; }
.pd-cta .pd-btn-wa:hover { background: var(--green-wa-dark); }

/* ─── FOOTER ─── */
footer { background: #07192e; color: #7aa0bc; margin-top: 60px; }
.footer-main { max-width: 1400px; margin: 0 auto; padding: 56px 32px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .logo-name { color: var(--white); font-size: 16px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; margin-top: 14px; margin-bottom: 20px; color: #5a7a9a; }
.footer-badge { display: inline-block; background: rgba(244,208,63,0.1); border: 1px solid rgba(244,208,63,0.25); color: var(--yellow); padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.footer-col h4 { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: #5a7a9a; text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); max-width: 1400px; margin: 0 auto; padding: 18px 32px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.footer-bottom span { color: #3a5a7a; }

/* ─── FLOATING WHATSAPP ─── */
.float-wa { position: fixed; bottom: 28px; right: 28px; z-index: 900; background: var(--green-wa); color: white; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.45); text-decoration: none; transition: transform 0.2s; }
.float-wa:hover { transform: scale(1.1); }
.float-wa-pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--green-wa); animation: wa-pulse 2.5s ease-out infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.8); opacity: 0; } }

/* ─── QUOTE MODAL (shared with homepage) ─── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.65); z-index: 6000; display: none; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(4px); }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: 16px; width: 100%; max-width: 620px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.35); }
.modal-header { background: var(--navy); padding: 28px 32px; border-radius: 16px 16px 0 0; display: flex; align-items: flex-start; justify-content: space-between; }
.modal-header h2 { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--white); margin-bottom: 4px; }
.modal-header p { font-size: 13.5px; color: #7aa0bc; }
.modal-close { background: rgba(255,255,255,0.1); border: none; color: white; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; flex-shrink: 0; margin-left: 16px; }
.modal-body { padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid #d1d9e6; border-radius: 8px; font-size: 14px; font-family: var(--font-body); color: var(--dark); outline: none; background: #fafbfc; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--navy); background: white; }
.form-group textarea { resize: vertical; min-height: 90px; }
.drop-zone { border: 2px dashed #c8d6e5; border-radius: 10px; padding: 28px; text-align: center; cursor: pointer; transition: all 0.2s; background: #f8fafc; }
.drop-zone:hover, .drop-zone.dragover { border-color: var(--navy); background: #eff5ff; }
.drop-zone p { font-size: 14px; color: #64748b; margin-bottom: 4px; }
.drop-zone small { font-size: 12px; color: #94a3b8; }
.drop-zone input[type="file"] { display: none; }
#file-list { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.file-chip { display: flex; align-items: center; gap: 8px; background: var(--gray-light); padding: 6px 12px; border-radius: 6px; font-size: 13px; }
.form-submit { width: 100%; padding: 14px; background: var(--navy); border: none; border-radius: 8px; font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--white); cursor: pointer; text-transform: uppercase; }
.form-submit:hover { background: var(--navy-mid); }
.form-note { font-size: 12px; color: #94a3b8; text-align: center; margin-top: 10px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) { .product-grid-customer { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 900px) {
  nav { display: none; }
  .pd-grid { grid-template-columns: 1fr; }
  .product-grid-customer { grid-template-columns: repeat(2, 1fr); }
  .controls-bar { position: static; }
}
@media (max-width: 600px) {
  .product-grid-customer { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-main { grid-template-columns: 1fr; }
  .top-bar-left { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .cat-hero h1 { font-size: 26px; }
  .product-grid-customer.list-view .pc-card { flex-direction: column; }
  .product-grid-customer.list-view .pc-thumb { width: 100%; }
}

/* ─── CAPTCHA ─── */
.captcha-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 4px;
}
.captcha-question {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.captcha-icon { font-size: 20px; }
.captcha-q-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  flex: 1;
  letter-spacing: 0.02em;
}
.captcha-refresh {
  background: none;
  border: 1px solid var(--gray-mid);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  padding: 4px 8px;
  color: var(--gray-muted);
  transition: all 0.15s;
  flex-shrink: 0;
}
.captcha-refresh:hover { background: var(--gray-light); color: var(--navy); }
.captcha-input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--gray-mid);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--dark);
  outline: none;
  background: white;
  transition: border 0.2s;
  letter-spacing: 0.05em;
}
.captcha-input:focus { border-color: var(--navy); }
.captcha-input::placeholder { color: #94a3b8; font-size: 13px; letter-spacing: 0; }

/* Form geri bildirim mesajları */
.form-msg {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 10px;
}
.form-msg-error   { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.form-msg-success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }

/* Admin login sayfası CAPTCHA'sı biraz farklı görünür */
.admin-captcha-box {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.admin-captcha-box .captcha-q-text { color: #e8f4fd; }
.admin-captcha-box .captcha-refresh { border-color: rgba(255,255,255,0.2); color: #7aa0bc; }
.admin-captcha-box .captcha-refresh:hover { background: rgba(255,255,255,0.08); color: white; }
.admin-captcha-box .captcha-input {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.15);
  color: white;
}
.admin-captcha-box .captcha-input:focus { border-color: var(--yellow); }
.admin-captcha-box .captcha-input::placeholder { color: #4a6a8a; }

/* ─── IMPA SPACE-MARINE ARAMA SONUÇLARI ─── */
.impa-searching {
  color: #7aa0bc; font-size: 13px; padding: 10px 0;
}
.impa-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.4);
  padding: 6px 0 4px; margin-bottom: 4px;
}
.impa-result-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  cursor: pointer; margin-bottom: 6px; transition: background 0.15s;
}
.impa-result-row.own { background: rgba(255,255,255,0.05); }
.impa-result-row.own:hover { background: rgba(255,255,255,0.1); }
.impa-result-row.sm { background: rgba(244,208,63,0.08); border: 1px solid rgba(244,208,63,0.2); }
.impa-result-row.sm:hover { background: rgba(244,208,63,0.15); }
.impa-result-icon { font-size: 18px; flex-shrink: 0; }
.impa-result-info { flex: 1; min-width: 0; }
.impa-result-name {
  font-size: 13.5px; font-weight: 600; color: white;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.impa-result-meta { font-size: 11.5px; color: #7aa0bc; margin-top: 2px; }
.impa-result-badge {
  flex-shrink: 0; font-size: 10.5px; font-weight: 700;
  padding: 3px 9px; border-radius: 10px; white-space: nowrap;
}
.own-badge { background: rgba(34,197,94,0.2); color: #4ade80; }
.sm-badge  { background: rgba(244,208,63,0.25); color: var(--yellow); }

/* Kategori sayfası IMPA popup butonu */
.impa-sm-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(11,37,69,0.08); border: 1.5px solid var(--gray-mid);
  color: var(--navy); padding: 6px 12px; border-radius: 7px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  transition: all 0.15s; text-decoration: none; white-space: nowrap;
}
.impa-sm-btn:hover {
  background: var(--navy); color: white; border-color: var(--navy);
}
.impa-sm-btn-yellow {
  background: rgba(244,208,63,0.15); border-color: rgba(244,208,63,0.5);
  color: var(--navy-mid);
}
.impa-sm-btn-yellow:hover { background: var(--yellow); border-color: var(--yellow); }

/* IMPA arama kutusu — kategori sayfalarındaki gelişmiş arama */
.impa-inline-search {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.impa-inline-search input {
  flex: 1; min-width: 140px; padding: 9px 12px;
  border: 1.5px solid var(--gray-mid); border-radius: 7px;
  font-size: 13.5px; font-family: var(--font-body); outline: none;
}
.impa-inline-search input:focus { border-color: var(--navy); }
.impa-inline-search button {
  padding: 9px 16px; border-radius: 7px; border: none;
  background: var(--navy); color: white; font-size: 13px;
  font-weight: 700; cursor: pointer; white-space: nowrap;
  font-family: var(--font-body);
}
.impa-inline-search button:hover { background: var(--navy-mid); }
