/* ============================================================
   B2B EKOSİSTEM — ANA STYLE
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
  --primary:#0f1923; --primary-l:#1e2d3d; --primary-ll:#2d3f52;
  --accent:#2563eb; --accent-h:#1d4ed8; --accent-l:#eff6ff;
  --success:#059669; --warning:#d97706; --danger:#dc2626; --info:#0891b2;
  --text:#0f172a; --text-s:#475569; --text-m:#94a3b8;
  --border:#e2e8f0; --border-h:#cbd5e1;
  --bg:#f8fafc; --bg-card:#ffffff;
  --shadow-s:0 1px 3px rgba(0,0,0,.08);
  --shadow-m:0 4px 16px rgba(0,0,0,.10);
  --shadow-l:0 8px 32px rgba(0,0,0,.14);
  --r:8px; --r-l:14px; --r-xl:20px;
  --ff:'Inter',sans-serif; --ff-d:'Syne',sans-serif;
  --sidebar-w:260px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth}
body{font-family:var(--ff);color:var(--text);background:var(--bg);line-height:1.6}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-h)}
img{max-width:100%;height:auto;display:block}
input,textarea,select,button{font-family:inherit;font-size:inherit}

/* ── LAYOUT ─────────────────────────────────────────────── */
.container{max-width:1280px;margin:0 auto;padding:0 20px}

.container-sm{max-width:900px;margin:0 auto;padding:0 20px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.flex{display:flex;align-items:center;gap:12px}
.flex-between{display:flex;align-items:center;justify-content:space-between;gap:12px}
.flex-wrap{display:flex;flex-wrap:wrap;gap:10px;align-items:center}

/* ── HEADER REDESIGN V3 ─────────────────────────────────── */
.site-header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #1e293b;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease;
}
.site-header.hero-header {
  background: rgba(255, 255, 255, 0.7);
  border-bottom-color: rgba(0, 0, 0, 0.05);
}
.site-header.hero-header .logo, 
.site-header.hero-header .main-nav a,
.site-header.hero-header .btn-icon,
.site-header.hero-header .menu-toggle-btn {
  color: #1e293b;
}
.site-header.hero-header .main-nav a.active {
  background: rgba(0, 0, 0, 0.05);
  color: #2563eb;
}
.site-header.hero-header .btn-login {
  background: transparent;
  color: #1e293b;
  border-color: rgba(0, 0, 0, 0.1);
}
.site-header.hero-header .btn-login:hover {
  background: rgba(0, 0, 0, 0.05);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 100%;
  padding: 0 40px;
}

.logo {
  font-family: var(--ff-d);
  font-size: 1.25rem;
  color: #000;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}
.logo i {
  color: #2563eb;
  font-size: 1.5rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e293b;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: all 0.2s;
  text-transform: uppercase;
}
.main-nav a i {
  font-size: 1.1rem;
  opacity: 0.7;
}
.main-nav a:hover {
  background: rgba(0, 0, 0, 0.05);
}
.main-nav a.active {
  background: #f1f5f9;
  color: #2563eb;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn-icon {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #475569;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s;
}
.btn-icon:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.btn-pill {
  border-radius: 999px;
  font-weight: 800;
  padding: 10px 22px;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-login, .btn-admin, .btn-firm {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}
.btn-login:hover, .btn-admin:hover, .btn-firm:hover {
  background: #e2e8f0;
}

.btn-admin {
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.2);
}
.btn-firm {
  color: #059669;
  border-color: rgba(5, 150, 105, 0.2);
}

.btn-news-v2 {
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-news-v2:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-news-v2 i {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}
.btn-pill { 
  border-radius: 999px; 
  font-weight: 800; 
  padding: 10px 24px;
}
.btn-news { background: #0b5cff; color: #fff; }

/* ── BUTONLAR ────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;gap:6px;padding:9px 18px;border-radius:var(--r);font-size:.875rem;font-weight:500;border:none;cursor:pointer;transition:all .2s;white-space:nowrap;text-decoration:none}
.btn-primary{background:var(--accent);color:#fff} .btn-primary:hover{background:var(--accent-h);color:#fff}
.btn-success{background:var(--success);color:#fff} .btn-success:hover{background:#047857;color:#fff}
.btn-danger{background:var(--danger);color:#fff} .btn-danger:hover{background:#b91c1c;color:#fff}
.btn-warning{background:var(--warning);color:#fff} .btn-warning:hover{background:#b45309;color:#fff}
.btn-outline{background:transparent;color:var(--accent);border:1.5px solid var(--accent)} .btn-outline:hover{background:var(--accent);color:#fff}
.btn-ghost{background:transparent;color:var(--text-s);border:1.5px solid var(--border)} .btn-ghost:hover{background:var(--bg);color:var(--text)}
.btn-dark{background:var(--primary);color:#fff} .btn-dark:hover{background:var(--primary-l);color:#fff}
.btn-sm{padding:6px 12px;font-size:.8rem}
.btn-lg{padding:12px 28px;font-size:1rem}
.btn-full{width:100%;justify-content:center}
.btn:disabled{opacity:.5;cursor:not-allowed}

/* ── KARTLAR ─────────────────────────────────────────────── */
.card{background:var(--bg-card);border-radius:var(--r-l);box-shadow:var(--shadow-s);border:1px solid var(--border);overflow:hidden}
.card-header{padding:16px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}
.card-body{padding:20px}
.card-footer{padding:14px 20px;border-top:1px solid var(--border);background:var(--bg)}

/* Firma kartı */
.firm-card{cursor:pointer;transition:.25s}
.firm-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-m)}
.firm-card .card-img{height:120px;background:var(--bg);display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--border);padding:16px}
.firm-card .card-img img{max-height:80px;max-width:140px;object-fit:contain}
.firm-card .card-info{padding:16px}
.firm-card .firm-name{font-weight:600;font-size:1rem;color:var(--text);margin-bottom:4px}
.firm-card .firm-meta{font-size:.8rem;color:var(--text-s);display:flex;flex-wrap:wrap;gap:6px}
.firm-card .firm-meta span{display:flex;align-items:center;gap:3px}

/* Ürün kartı */
.product-card{cursor:pointer;transition:.25s}
.product-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-m)}
.product-card .prod-img{aspect-ratio:4/3;overflow:hidden;background:#f1f5f9;position:relative}
.product-card .prod-img img{width:100%;height:100%;object-fit:cover;transition:.4s}
.product-card:hover .prod-img img{transform:scale(1.05)}
.product-card .prod-body{padding:14px}
.product-card .prod-firm{font-size:.75rem;color:var(--text-m);margin-bottom:4px}
.product-card .prod-name{font-weight:600;font-size:.95rem;color:var(--text);margin-bottom:8px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-card .prod-price{font-size:1rem;font-weight:700;color:var(--accent)}
.product-card .prod-actions{padding:10px 14px;border-top:1px solid var(--border);display:flex;gap:8px}

/* ── BADGE ───────────────────────────────────────────────── */
.badge{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:20px;font-size:.72rem;font-weight:600;white-space:nowrap}
.badge-premium{background:#fef3c7;color:#92400e;border:1px solid #fde68a}
.badge-verified{background:#dbeafe;color:#1e40af;border:1px solid #bfdbfe}
.badge-standard{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0}
.badge-success{background:#d1fae5;color:#065f46}
.badge-warning{background:#fef3c7;color:#92400e}
.badge-danger{background:#fee2e2;color:#991b1b}
.badge-info{background:#e0f2fe;color:#075985}
.badge-secondary{background:#f1f5f9;color:#475569}

/* ── ALERT ───────────────────────────────────────────────── */
.alert{padding:12px 16px;border-radius:var(--r);margin-bottom:16px;display:flex;align-items:flex-start;gap:10px;font-size:.9rem}
.alert-success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}
.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.alert-warning{background:#fef3c7;color:#92400e;border:1px solid #fde68a}
.alert-info{background:#e0f2fe;color:#075985;border:1px solid #bae6fd}

/* ── FORM ────────────────────────────────────────────────── */
.form-group{margin-bottom:18px}
.form-label{display:block;font-size:.875rem;font-weight:500;color:var(--text);margin-bottom:6px}
.form-label .req{color:var(--danger)}
.form-control{width:100%;padding:9px 13px;border:1.5px solid var(--border);border-radius:var(--r);font-size:.9rem;color:var(--text);background:#fff;transition:border-color .2s}
.form-control:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.form-control::placeholder{color:var(--text-m)}
.form-error{font-size:.78rem;color:var(--danger);margin-top:4px}
.form-hint{font-size:.78rem;color:var(--text-m);margin-top:4px}
textarea.form-control{resize:vertical;min-height:100px}
select.form-control{cursor:pointer}
.input-group{display:flex;gap:0}
.input-group .form-control{border-radius:var(--r) 0 0 var(--r)}
.input-group .btn{border-radius:0 var(--r) var(--r) 0}

/* ── TABLO ───────────────────────────────────────────────── */
.table-wrap{overflow-x:auto;border-radius:var(--r-l);border:1px solid var(--border)}
table{width:100%;border-collapse:collapse;font-size:.875rem}
thead{background:var(--bg)}
th{padding:12px 16px;text-align:left;font-size:.78rem;font-weight:600;color:var(--text-s);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--border);white-space:nowrap}
td{padding:12px 16px;border-bottom:1px solid var(--border);vertical-align:middle}
tbody tr:hover{background:#f8fafc}
tbody tr:last-child td{border-bottom:none}
.td-actions{display:flex;gap:6px;flex-wrap:wrap}

/* ── SAYFALAMA ───────────────────────────────────────────── */
.pagination{display:flex;align-items:center;gap:6px;justify-content:center;padding:24px 0}
.page-btn{padding:7px 13px;border:1.5px solid var(--border);border-radius:var(--r);font-size:.875rem;color:var(--text-s);transition:.2s;background:#fff}
.page-btn:hover{border-color:var(--accent);color:var(--accent)}
.page-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}

/* ── STARS ───────────────────────────────────────────────── */
.stars{color:#f59e0b;font-size:.9rem;letter-spacing:1px}

/* ── HERO ────────────────────────────────────────────────── */
.hero{background:var(--primary);color:#fff;padding:80px 0;text-align:center;position:relative;overflow:hidden;min-height:calc(100vh - 64px);display:flex;align-items:center}
.hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 70% 50%, rgba(37,99,235,.25) 0%, transparent 70%)}
.hero .eyebrow{font-size:.8rem;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:rgba(255,255,255,.5);margin-bottom:16px}
.hero h1{font-family:var(--ff-d);font-size:clamp(2rem,5vw,3.5rem);font-weight:800;line-height:1.15;margin-bottom:20px}
.hero h1 span{color:var(--accent)}
.hero p{font-size:1.1rem;color:rgba(255,255,255,.7);max-width:600px;margin:0 auto 32px}
.search-box{display:flex;max-width:600px;margin:0 auto;background:#fff;border-radius:50px;overflow:hidden;box-shadow:var(--shadow-l)}
.search-box input{flex:1;padding:14px 24px;border:none;outline:none;font-size:1rem;color:var(--text)}
.search-box button{background:var(--accent);color:#fff;border:none;padding:14px 28px;font-size:.95rem;font-weight:600;cursor:pointer;transition:.2s}
.search-box button:hover{background:var(--accent-h)}

/* ── STATS BAND ──────────────────────────────────────────── */
.stats-band{display:none !important}
.premium-band{background:linear-gradient(180deg,var(--primary-l) 0%,#18293b 100%);padding:18px 0 24px}
.premium-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.premium-head .dot{width:10px;height:10px;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.2)}
.premium-head h3{font-size:1.3rem;letter-spacing:.5px;color:#fff;font-family:var(--ff-d)}
.premium-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.premium-card{display:flex;align-items:center;gap:12px;background:linear-gradient(180deg,#fef3c7 0%,#fde68a 100%);border:1px solid #f59e0b;border-radius:16px;padding:10px 12px;color:#111827;min-height:88px;transition:.2s}
.premium-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-m);color:#0f172a}
.premium-card .logo-wrap{width:52px;height:52px;border-radius:12px;background:#fff;border:1px solid #e5e7eb;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}
.premium-card .logo-wrap img{max-width:100%;max-height:100%;object-fit:contain}
.premium-card .logo-fallback{font-family:var(--ff-d);font-weight:800;font-size:1rem;color:#1e3a8a}
.premium-card .meta{min-width:0}
.premium-card .name{font-size:1.05rem;font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.premium-card .sub{font-size:.9rem;color:#334155;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.premium-empty{background:rgba(255,255,255,.08);border:1px dashed rgba(255,255,255,.2);border-radius:14px;padding:16px;color:rgba(255,255,255,.8)}

/* ── SECTION ─────────────────────────────────────────────── */
.section{padding:64px 0}
.section-header{text-align:center;margin-bottom:48px}
.section-eyebrow{font-size:.75rem;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:var(--accent);margin-bottom:12px}
.section-title{font-family:var(--ff-d);font-size:clamp(1.6rem,3vw,2.4rem);font-weight:800;color:var(--text);margin-bottom:12px}
.section-desc{font-size:1rem;color:var(--text-s);max-width:560px;margin:0 auto}

/* ── PANEL LAYOUT (admin + firma) ────────────────────────── */
.panel-wrap{display:flex;min-height:100vh}
.sidebar{width:var(--sidebar-w);background:var(--primary);color:#fff;display:flex;flex-direction:column;position:fixed;top:0;bottom:0;left:0;overflow-y:auto;z-index:200;transition:transform .3s}
.sidebar-logo{padding:20px;border-bottom:1px solid rgba(255,255,255,.08);display:flex;align-items:center;gap:10px}
.sidebar-logo .name{font-family:var(--ff-d);font-size:1.1rem}
.sidebar-logo .name span{color:var(--accent)}
.sidebar-nav{padding:12px 0;flex:1}
.sidebar-nav a{display:flex;align-items:center;gap:10px;padding:10px 20px;color:rgba(255,255,255,.7);font-size:.875rem;font-weight:500;transition:.2s;border-left:3px solid transparent}
.sidebar-nav a:hover{color:#fff;background:rgba(255,255,255,.08)}
.sidebar-nav a.active{color:#fff;background:rgba(37,99,235,.2);border-left-color:var(--accent)}
.sidebar-nav a i{width:18px;font-size:1rem;opacity:.8}
.sidebar-nav .nav-section{padding:12px 20px 4px;font-size:.7rem;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:rgba(255,255,255,.35)}
.sidebar-user{padding:16px 20px;border-top:1px solid rgba(255,255,255,.08)}
.sidebar-user .name{font-size:.875rem;font-weight:500}
.sidebar-user .role{font-size:.75rem;color:rgba(255,255,255,.5)}

.panel-main{margin-left:var(--sidebar-w);flex:1;display:flex;flex-direction:column}
.panel-topbar{background:#fff;border-bottom:1px solid var(--border);padding:0 28px;height:60px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100}
.panel-topbar .page-title{font-size:1rem;font-weight:600;color:var(--text)}
.topbar-right{display:flex;align-items:center;gap:12px}
.notif-btn{position:relative;background:transparent;border:none;cursor:pointer;font-size:1.3rem;color:var(--text-s);padding:4px}
.notif-badge{position:absolute;top:-2px;right:-2px;background:var(--danger);color:#fff;border-radius:50%;width:16px;height:16px;font-size:.6rem;font-weight:700;display:flex;align-items:center;justify-content:center}

.panel-content{flex:1;padding:28px}

/* Metrik kartları */
.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:28px}
.metric-card{background:#fff;border-radius:var(--r-l);border:1px solid var(--border);padding:20px;display:flex;align-items:center;gap:16px}
.metric-icon{width:48px;height:48px;border-radius:var(--r);display:flex;align-items:center;justify-content:center;font-size:1.4rem;flex-shrink:0}
.metric-icon.blue{background:#eff6ff;color:var(--accent)}
.metric-icon.green{background:#d1fae5;color:var(--success)}
.metric-icon.orange{background:#fef3c7;color:var(--warning)}
.metric-icon.red{background:#fee2e2;color:var(--danger)}
.metric-icon.purple{background:#f5f3ff;color:#7c3aed}
.metric-val{font-family:var(--ff-d);font-size:1.8rem;font-weight:800;color:var(--text);line-height:1}
.metric-lbl{font-size:.8rem;color:var(--text-s);margin-top:4px}

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay{display:none;position:fixed;inset:0;background:rgba(15,25,35,.6);z-index:1000;align-items:center;justify-content:center;padding:20px}
.modal-overlay.open{display:flex}
.modal{background:#fff;border-radius:var(--r-xl);width:100%;max-width:540px;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-l)}
.modal-header{padding:20px 24px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}
.modal-title{font-size:1.1rem;font-weight:700}
.modal-close{background:none;border:none;cursor:pointer;font-size:1.4rem;color:var(--text-s);line-height:1;padding:2px 6px;border-radius:var(--r)}
.modal-close:hover{background:var(--bg);color:var(--text)}
.modal-body{padding:24px}
.modal-footer{padding:16px 24px;border-top:1px solid var(--border);display:flex;gap:10px;justify-content:flex-end}

/* ── RFQ CHAT ────────────────────────────────────────────── */
.chat-wrap{display:flex;flex-direction:column;gap:12px;max-height:400px;overflow-y:auto;padding:16px}
.chat-msg{max-width:75%;padding:10px 14px;border-radius:12px;font-size:.875rem;line-height:1.5}
.chat-msg.firm{background:var(--accent);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.chat-msg.buyer{background:var(--bg);border:1px solid var(--border);align-self:flex-start;border-bottom-left-radius:4px}
.chat-meta{font-size:.7rem;margin-top:4px;opacity:.7}

/* ── KATEGORİ GRID ───────────────────────────────────────── */
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}
.cat-card{background:#fff;border:1.5px solid var(--border);border-radius:var(--r-l);padding:20px 12px;text-align:center;cursor:pointer;transition:.25s}
.cat-card:hover{border-color:var(--accent);background:var(--accent-l);transform:translateY(-2px)}
.cat-card i{font-size:1.8rem;color:var(--accent);margin-bottom:8px;display:block}
.cat-card .name{font-size:.85rem;font-weight:600;color:var(--text)}
.cat-card .count{font-size:.75rem;color:var(--text-m);margin-top:2px}

/* ── FİLTRE BAR ──────────────────────────────────────────── */
.filter-bar{background:#fff;border:1px solid var(--border);border-radius:var(--r-l);padding:16px 20px;margin-bottom:24px;display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.filter-bar .form-group{margin-bottom:0;min-width:160px}

/* ── SEO SKORU ───────────────────────────────────────────── */
.seo-score{display:flex;align-items:center;gap:8px}
.seo-bar{height:6px;border-radius:3px;background:var(--border);flex:1;overflow:hidden}
.seo-bar-fill{height:100%;border-radius:3px;transition:width .5s}
.seo-bar-fill.success{background:var(--success)}
.seo-bar-fill.warning{background:var(--warning)}
.seo-bar-fill.danger{background:var(--danger)}
.seo-val{font-size:.78rem;font-weight:700;min-width:32px;text-align:right}

/* ── KARŞILAŞTIRMA BAR ───────────────────────────────────── */
.compare-bar{position:fixed;bottom:0;left:0;right:0;background:var(--primary);color:#fff;padding:12px 20px;display:flex;align-items:center;gap:16px;z-index:500;transform:translateY(100%);transition:transform .3s;box-shadow:0 -4px 20px rgba(0,0,0,.2)}
.compare-bar.show{transform:translateY(0)}
.compare-bar .items{display:flex;gap:10px;flex:1}
.compare-item{background:rgba(255,255,255,.1);border-radius:var(--r);padding:6px 12px;font-size:.8rem;display:flex;align-items:center;gap:6px}
.compare-item .rm{background:none;border:none;color:#fff;cursor:pointer;font-size:1rem;line-height:1;opacity:.7}
.compare-item .rm:hover{opacity:1}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer{background:var(--primary);color:rgba(255,255,255,.7);padding:48px 0 24px;margin-top:auto}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;margin-bottom:32px}
.footer-brand .logo{margin-bottom:12px;font-size:1.3rem}
.footer-brand p{font-size:.875rem;line-height:1.7;max-width:280px}
.footer-col h4{color:#fff;font-size:.875rem;font-weight:700;margin-bottom:14px;text-transform:uppercase;letter-spacing:.5px}
.footer-col a{display:block;color:rgba(255,255,255,.6);font-size:.85rem;margin-bottom:8px;transition:.2s}
.footer-col a:hover{color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:20px;display:flex;align-items:center;justify-content:space-between;font-size:.8rem}

/* ── LOGIN SAYFASI ───────────────────────────────────────── */
.auth-wrap{min-height:100vh;display:grid;grid-template-columns:1.2fr 1fr}
.auth-left{background:var(--primary);padding:48px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.auth-left::before{content:'';position:absolute;right:-100px;top:-100px;width:400px;height:400px;border-radius:50%;background:rgba(37,99,235,.15)}
.auth-left::after{content:'';position:absolute;left:-80px;bottom:-80px;width:300px;height:300px;border-radius:50%;background:rgba(37,99,235,.1)}
.auth-left h2{font-family:var(--ff-d);font-size:2rem;color:#fff;margin-bottom:12px;position:relative;z-index:1}
.auth-left p{color:rgba(255,255,255,.65);font-size:.95rem;line-height:1.7;position:relative;z-index:1}
.auth-features{margin-top:32px;display:flex;flex-direction:column;gap:16px;position:relative;z-index:1}
.auth-feature{display:flex;align-items:flex-start;gap:12px;color:rgba(255,255,255,.8)}
.auth-feature-icon{width:36px;height:36px;background:rgba(37,99,235,.3);border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--accent)}
.auth-feature-text strong{display:block;color:#fff;font-size:.9rem}
.auth-feature-text span{font-size:.8rem;color:rgba(255,255,255,.5)}
.auth-right{padding:48px;display:flex;align-items:center;justify-content:center;background:#fff}
.auth-form-wrap{width:100%;max-width:400px}
.auth-form-wrap h3{font-family:var(--ff-d);font-size:1.6rem;font-weight:800;margin-bottom:8px}
.auth-form-wrap .sub{color:var(--text-s);font-size:.9rem;margin-bottom:28px}

/* ── TABS ────────────────────────────────────────────────── */
.tabs{display:flex;gap:0;border-bottom:2px solid var(--border);margin-bottom:24px}
.tab-btn{padding:10px 18px;font-size:.875rem;font-weight:500;color:var(--text-s);cursor:pointer;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-2px;transition:.2s;display:flex;align-items:center;gap:6px}
.tab-btn:hover{color:var(--text)}
.tab-btn.active{color:var(--accent);border-bottom-color:var(--accent)}
.tab-content{display:none} .tab-content.active{display:block}

/* ── UPLOAD ZONE ─────────────────────────────────────────── */
.dropzone{border:2px dashed var(--border);border-radius:var(--r-l);padding:32px;text-align:center;cursor:pointer;transition:.2s;background:var(--bg)}
.dropzone:hover,.dropzone.drag{border-color:var(--accent);background:var(--accent-l)}
.dropzone .icon{font-size:2rem;color:var(--text-m);margin-bottom:10px}
.dropzone p{font-size:.875rem;color:var(--text-s)}
.dropzone strong{color:var(--accent)}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb{display:flex;align-items:center;gap:6px;font-size:.8rem;color:var(--text-s);margin-bottom:16px;flex-wrap:wrap}
.breadcrumb a{color:var(--text-s)} .breadcrumb a:hover{color:var(--accent)}
.breadcrumb .sep{color:var(--text-m)}

/* ── SCROLL TOP ──────────────────────────────────────────── */
#scrollTop{position:fixed;bottom:80px;right:24px;background:var(--accent);color:#fff;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:var(--shadow-m);opacity:0;transition:.3s;border:none;font-size:1rem;z-index:200}
#scrollTop.show{opacity:1}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media(max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:768px){
  .grid-2,.grid-3{grid-template-columns:1fr}
  .auth-wrap{grid-template-columns:1fr}
  .auth-left{display:none}
  .panel-main{margin-left:0}
  .sidebar{transform:translateX(-100%)}
  .sidebar.open{transform:translateX(0)}
  .nav{display:none}
  .hero{padding:48px 0;min-height:calc(100vh - 64px)}
  .filter-bar{flex-direction:column}
  .filter-bar .form-group{min-width:100%}
  .footer-grid{grid-template-columns:1fr}
  .premium-grid{grid-template-columns:1fr}
}
@media(max-width:480px){
  .grid-4{grid-template-columns:1fr}
  .metrics-grid{grid-template-columns:1fr 1fr}
}

/* Home v2 */
/* Home v2 Header Fix */
.home-page .site-header.hero-header{position:fixed !important;top:0 !important;left:0;right:0;background:transparent !important;box-shadow:none !important;z-index:1000;transition:all 0.3s ease}
.home-page .site-header.hero-header.scrolled{background:rgba(255,255,255,0.95) !important;backdrop-filter:blur(8px) !important;box-shadow:0 4px 20px rgba(0,0,0,0.08) !important;height:80px}
.home-page .site-header.hero-header .inner{height:80px;margin-top:0 !important;background:transparent !important;backdrop-filter:none !important;border:0 !important;border-radius:0 !important;padding:0 24px;transition:all 0.3s ease}
.home-page .site-header.hero-header.scrolled .inner{height:80px}
.home-page .site-header.hero-header .logo{color:#003399;font-size:1.45rem;font-weight:900}
.home-page .site-header.hero-header .logo i{color:#2563eb}
.home-page .site-header.hero-header .logo span{color:#003399}
.home-page .site-header.hero-header.scrolled .logo{font-size:1.45rem}
.home-page .home-nav{gap:12px;margin-right:auto;margin-left:40px}
.home-page .home-nav a:hover{color:#2563eb}

.home-page .site-header.hero-header .btn-login,
.home-page .site-header.hero-header .btn-admin,
.home-page .site-header.hero-header .btn-firm {
  background: rgba(255, 255, 255, 0.8) !important;
  color: #1e293b !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.home-page .site-header.hero-header .btn-login:hover,
.home-page .site-header.hero-header .btn-admin:hover,
.home-page .site-header.hero-header .btn-firm:hover {
  background: #fff !important;
}

.hero-v2{min-height:100svh;padding-top:0;padding-bottom:0;background:#fff;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.hero-v2::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 70% 50%, rgba(37,99,235,.25) 0%, transparent 70%)}
.hero-v2 .hero-backdrop{position:absolute;inset:0;background-image:linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 70%, #fff 100%),url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1920&q=80');background-size:cover;background-position:center;opacity:0.4;z-index:0}
.hero-v2-inner{position:relative;z-index:2;text-align:center;display:flex;flex-direction:column;align-items:center;padding:120px 24px 40px;max-width:1600px;width:100%}
.hero-v2-main-frame{min-height:100px;display:flex;align-items:center;justify-content:center;width:100%;max-width:1100px;margin-bottom:24px}
.hero-v2-main{font-size:clamp(2rem,6vw,4.2rem);font-weight:900;color:#0f172a;margin:0;line-height:1.2;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;letter-spacing:-0.02em}
.hero-v2-main #typedHeadline{color:#1e293b;display:block;width:100%}

/* New Search Box */
.hero-v2-search-box{width:75%;max-width:1475px;margin:0 auto;background:#fff;border:1px solid #d1d5db;border-radius:999px;padding:10px;box-shadow:0 12px 45px rgba(0,0,0,0.08);margin-bottom:30px;position:relative;z-index:10}
.hero-v2-form-new{display:flex;align-items:center;height:64px}
.search-field{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:0 24px}
.search-field i{font-size:1.4rem;color:#64748b}
.search-field-content{display:flex;flex-direction:column;align-items:flex-start;min-width:0;width:100%}
.search-field-content label{font-size:0.75rem;font-weight:700;color:#94a3b8;text-transform:uppercase;margin-bottom:2px}
.search-field-content select{border:none;background:transparent;padding:0;font-size:1rem;font-weight:700;color:#0f172a;width:100%;cursor:pointer;outline:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 0 center;padding-right:20px}
.search-field-divider{width:1px;height:36px;background:#e2e8f0;flex-shrink:0}
.search-btn-new{width:420px;flex-shrink:0;justify-content:center;background:#002b80;color:#fff;border:none;border-radius:999px;height:60px;padding:0 40px;font-size:1.15rem;font-weight:700;display:flex;align-items:center;gap:12px;cursor:pointer;transition:all 0.2s;white-space:nowrap;margin-left:12px}
.search-btn-new i{font-size:1.2rem}
.search-btn-new:hover{background:#001a4d;transform:translateY(-1px);box-shadow:0 12px 24px rgba(0,43,128,0.2)}

/* Popular Sectors V2 */
.hero-popular-sectors{width:100%;max-width:1400px;margin:0 auto 40px}
.sector-pills{display:flex;justify-content:center;flex-wrap:wrap;gap:12px}
.sector-pill{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;background:#fff;border:1px solid #f1f5f9;border-radius:12px;color:#334155;font-weight:600;font-size:0.9rem;transition:all 0.2s;white-space:nowrap;box-shadow:0 2px 4px rgba(0,0,0,0.02)}
.sector-pill i{font-size:1rem;color:#64748b}
.sector-pill:hover{border-color:#e2e8f0;color:#0f172a;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,0.05)}
.sector-pill.more{background:#f8fafc;border-style:solid}
@keyframes blink{50%{opacity:0}}

.hero-v2-search{width:100%;max-width:860px;margin:0 auto}
.hero-v2-form{display:grid;grid-template-columns:1fr 230px 86px;gap:8px;background:#fff;padding:10px;border-radius:16px;box-shadow:0 16px 45px rgba(15,23,42,.18);border:1px solid #d2d8e4}
.hero-v2-input-wrap{display:flex;align-items:center;gap:12px;padding:0 14px}
.hero-v2-input-wrap i{font-size:1.7rem;color:#d4a514}
.hero-v2-input-wrap input{border:0;outline:0;width:100%;font-size:1.02rem}
.hero-v2-form select{border:1px solid #d2d8e4;border-radius:10px;padding:0 14px;font-size:1rem;color:#475569}
.hero-v2-form button{border:0;border-radius:10px;background:#0b5cff;color:#fff;font-size:2rem;font-weight:800;display:flex;align-items:center;justify-content:center;cursor:pointer}
.hero-v2-popular{margin-top:10px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.hero-v2-popular span{font-size:.9rem;color:#334155;font-weight:700}
.hero-v2-popular a{font-size:.84rem;background:rgba(255,255,255,.8);color:#1e293b;border:1px solid #dbe2ef;border-radius:999px;padding:6px 12px;font-weight:600}
.hero-v2-popular a:hover{color:#0b5cff;border-color:#0b5cff}

.premium-band{margin-top:30px;width:100vw;margin-left:calc(-50vw + 50%);position:relative;z-index:5;background:rgba(255,255,255,0.02);padding:24px 0;border-top:1px solid rgba(0,0,0,0.04);overflow:hidden}
.premium-head{display:flex;align-items:center;justify-content:center;gap:15px;margin-bottom:30px}
.premium-head::before, .premium-head::after{content:'';flex:1;height:1px;background:linear-gradient(to right, transparent, rgba(0,0,0,0.06), transparent);max-width:120px}
.premium-head .dot{width:8px;height:8px;background:#f59e0b;border-radius:50%;box-shadow:0 0 10px #f59e0b}
.premium-head h3{font-size:0.75rem;font-weight:800;letter-spacing:.2em;color:#94a3b8;text-transform:uppercase;margin:0}

/* Marquee Styles */
.premium-slider-wrap{width:100%;overflow:hidden;mask-image:linear-gradient(to right, transparent, black 15%, black 85%, transparent)}
.premium-slider-track{display:flex;gap:20px;width:max-content;animation:marqueeText 25s linear infinite}
.premium-slider-track:hover{animation-play-state:paused}

@keyframes marqueeText {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

.premium-card-v3{flex-shrink:0;width:260px;background:#fff;border:1px solid #f1f5f9;border-radius:16px;padding:12px;text-decoration:none!important;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);box-shadow:0 4px 20px rgba(0,0,0,0.03);display:block}
.premium-card-v3:hover{transform:translateY(-3px) scale(1.01);box-shadow:0 12px 30px rgba(0,0,0,0.06);border-color:#e2e8f0}
.premium-card-v3 .card-inner{display:flex;align-items:center;gap:14px}
.premium-card-v3 .firm-logo{width:52px;height:52px;border-radius:12px;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}
.premium-card-v3 .firm-logo img{width:100%;height:100%;object-fit:contain;padding:4px}
.premium-card-v3 .firm-logo i{font-size:1.4rem;color:currentColor;opacity:0.8}

/* Logo Box Colors */
.logo-bg-violet{background:#f5f3ff;color:#8b5cf6}
.logo-bg-blue{background:#eff6ff;color:#3b82f6}
.logo-bg-red{background:#fef2f2;color:#ef4444}
.logo-bg-amber{background:#fffbeb;color:#f59e0b}
.logo-bg-emerald{background:#ecfdf5;color:#10b981}

.premium-card-v3 .firm-meta{min-width:0;flex:1}
.premium-card-v3 .name-row{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:2px}
.premium-card-v3 .name{font-size:0.9rem;font-weight:700;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.premium-card-v3 .badge-premium-mini{font-size:0.6rem;font-weight:800;background:#fffbeb;color:#d97706;padding:2px 6px;border-radius:4px;border:1px solid #fde68a;text-transform:uppercase;letter-spacing:0.05em;flex-shrink:0}
.premium-card-v3 .sector{font-size:0.75rem;color:#64748b;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.featured-products {
  padding: 40px 0 50px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
}
.hero-product-v3 {
  background: #fff;
  min-height: calc(100vh - 70px);
  padding: 10px 0 60px; /* Reduced top padding from 24px to 10px */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.featured-products-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 100%;
  padding: 0 80px 0 40px;
}
.featured-products-title {
  text-align: left;
  position: relative;
  z-index: 5;
}
.featured-products-title h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.featured-products-title p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
}
.featured-products-link {
  display: inline-flex;
  background: #2563eb;
  color: #fff;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s;
}
.featured-products-link:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-1px);
}

.featured-products-content {
  position: relative;
  min-width: 0;
  width: 100%;
}
.featured-products-marquee {
  overflow: hidden;
  padding: 10px 0;
  width: 100%;
}
.featured-products-track {
  display: flex;
  gap: 20px;
  width: max-content; /* Ensure track is as wide as its content */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-controls {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  position: relative;
  z-index: 20;
}
.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1.3rem;
  pointer-events: auto;
}
.slider-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #2563eb;
}
.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.featured-product-card {
  width: 280px;
  min-height: 360px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px;
  color: #0f172a;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  transition: all 0.2s;
}
.featured-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}
.featured-product-badge {
  display: inline-flex;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}
.featured-product-image {
  height: 140px;
  margin: 12px 0;
  background: #f8fafc;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}
.featured-product-caption {
  font-size: 0.7rem;
  color: #64748b;
  margin-bottom: 4px;
}
.featured-product-name {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
  height: 2.4em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.featured-product-firm {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 10px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.featured-product-stars {
  font-size: 1rem;
  color: #e2e8f0;
  font-weight: 700;
}
.featured-product-stars span {
  font-size: 0.85rem;
  color: #94a3b8;
}

.recent-firms {
  padding: 40px 0 50px;
  background: #f1f5f9;
  overflow: hidden;
}
.recent-firms-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 100%;
  padding: 0 80px 0 40px;
}
.recent-firms-content {
  position: relative;
  min-width: 0;
  width: 100%;
}
.recent-firms-title {
  text-align: left;
  position: relative;
  z-index: 5;
}
.recent-firms-title h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.recent-firms-title p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
}
.recent-firms-link {
  display: inline-flex;
  background: #2563eb;
  color: #fff;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s;
}
.recent-firms-link:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-1px);
}
.recent-firms-marquee {
  overflow: hidden;
  padding: 10px 0;
  width: 100%;
  min-width: 0;
}
.recent-firms-track {
  display: flex;
  gap: 20px;
  width: max-content;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.recent-firm-card {
  width: 260px;
  min-height: 340px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px;
  color: #0f172a;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  transition: all 0.2s;
}
.recent-firm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  color: #0f172a;
}
.recent-firm-badge {
  display: inline-flex;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}
.recent-firm-image {
  height: 120px;
  margin: 12px 0;
  background: #f8fafc;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.recent-firm-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.recent-firm-logo-fallback {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #0ea5e9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
}
.recent-firm-caption {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.4;
  min-height: 34px;
  margin-bottom: 4px;
}
.recent-firm-name {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.recent-firm-name i {
  font-size: 0.9rem;
  color: #2563eb;
}
.recent-firm-stars {
  font-size: 0.9rem;
  color: #f59e0b;
  font-weight: 700;
}
.recent-firm-stars span {
  font-size: 0.85rem;
  color: #94a3b8;
}

.platform-security{background:#eef2f7;padding:54px 0 48px}
.security-head{text-align:center;max-width:860px;margin:0 auto 34px}
.security-eyebrow{display:inline-block;color:#d4a514;font-size:.82rem;letter-spacing:.16em;font-weight:800;padding-bottom:6px;border-bottom:2px solid rgba(212,165,20,.8);margin-bottom:14px}
.security-head h2{font-size:2.35rem;line-height:1.2;color:#0f1b39;font-weight:900;margin-bottom:12px}
.security-head p{font-size:1rem;line-height:1.6;color:#334155}
.security-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.security-card{background:#f8fafc;border:1px solid #d4dce8;border-left:3px solid #1d4ed8;border-radius:8px;padding:28px 26px;min-height:270px}
.security-icon{font-size:2rem;color:#0f1b39;line-height:1;margin-bottom:18px}
.security-card h3{font-size:1.05rem;color:#0f172a;font-weight:900;margin-bottom:10px}
.security-card p{font-size:.98rem;line-height:1.65;color:#475569}

.supplier-cta{padding:56px 0;background:#020a18;position:relative;overflow:hidden}
.supplier-cta::before{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(19,38,74,.22) 1px, transparent 1px),linear-gradient(90deg, rgba(19,38,74,.22) 1px, transparent 1px);background-size:28px 28px;opacity:.35;pointer-events:none}
.supplier-cta-inner{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:center}
.supplier-cta-content{max-width:620px}
.supplier-cta-tag{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border:1px solid rgba(245,188,41,.45);color:#f5bc29;font-size:.86rem;letter-spacing:.05em;font-weight:800;margin-bottom:18px}
.supplier-cta-content h2{font-size:3rem;line-height:1.08;color:#fff;font-weight:900;max-width:520px;margin-bottom:16px}
.supplier-cta-content p{font-size:1.05rem;line-height:1.75;color:#9fb0cb;max-width:580px;margin-bottom:20px}
.supplier-cta-list{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:12px}
.supplier-cta-list li{display:flex;align-items:center;gap:10px;color:#fff;font-size:1rem;font-weight:600}
.supplier-cta-list li i{color:#1d4ed8;font-size:1.05rem}
.supplier-cta-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.supplier-btn{display:inline-flex;align-items:center;gap:8px;border-radius:6px;padding:13px 22px;font-size:1.05rem;font-weight:800;letter-spacing:.01em}
.supplier-btn-primary{background:#155dfc;color:#fff;border:1px solid #155dfc}
.supplier-btn-primary:hover{background:#0b4ae5;color:#fff}
.supplier-btn-outline{background:transparent;color:#fff;border:1px solid rgba(148,163,184,.35)}
.supplier-btn-outline:hover{color:#fff;background:rgba(255,255,255,.06)}
.supplier-cta-visual{background:#0b1324;border:1px solid rgba(148,163,184,.25);border-radius:12px;padding:8px}
.supplier-cta-visual img{width:100%;height:100%;max-height:430px;object-fit:cover;border-radius:10px}

.blog-hub {
  padding: 40px 0 50px;
  background: #f1f5f9;
  overflow: hidden;
}
.blog-hub-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: center;
  max-width: 100%;
  padding: 0 80px 0 40px;
}
.blog-hub-content {
  position: relative;
  min-width: 0;
  width: 100%;
}
.blog-hub-title {
  text-align: left;
  position: relative;
  z-index: 5;
}
.blog-hub-title h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.blog-hub-title p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 20px;
}
.blog-hub-link {
  display: inline-flex;
  background: #2563eb;
  color: #fff;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s;
}
.blog-hub-link:hover {
  background: #1d4ed8;
  color: #fff;
  transform: translateY(-1px);
}
.blog-hub-marquee {
  overflow: hidden;
  padding: 10px 0;
  width: 100%;
  min-width: 0;
}
.blog-hub-track {
  display: flex;
  gap: 20px;
  width: max-content;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.blog-hub-card {
  width: 300px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  transition: all 0.2s;
}
.blog-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.blog-hub-image {
  height: 140px;
  background: #f8fafc;
  border-radius: 10px;
  overflow: hidden;
}
.blog-hub-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-hub-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  border-radius: 6px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0 10px;
  margin: 12px 0 8px;
}
.blog-hub-card h3 {
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.blog-hub-card h3 a {
  color: inherit;
}
.blog-hub-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #64748b;
  min-height: 4.5em;
  margin-bottom: 12px;
}
.blog-hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
}
.blog-hub-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.operational-process{background:#eef2f7;padding:48px 0 44px}
.process-head{text-align:center;max-width:860px;margin:0 auto}
.process-eyebrow{display:inline-block;color:#d4a514;font-size:.82rem;letter-spacing:.16em;font-weight:800;padding-bottom:6px;border-bottom:2px solid rgba(212,165,20,.8);margin-bottom:14px}
.process-head h2{font-size:2.35rem;line-height:1.2;color:#0f1b39;font-weight:900;margin-bottom:12px}
.process-head p{font-size:1rem;line-height:1.6;color:#334155;max-width:700px;margin:0 auto}

.process-timeline{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;margin-top:38px}
.process-timeline::before{content:'';position:absolute;left:0;right:0;top:48px;height:1px;background:#d2d8e4}
.process-step{text-align:center;position:relative;z-index:1}
.process-icon{width:96px;height:96px;border-radius:50%;margin:0 auto 16px;background:#eef2f7;border:1px solid #e6d6a7;outline:1px dashed #e6d6a7;outline-offset:6px;display:flex;align-items:center;justify-content:center}
.process-icon i{font-size:1.95rem;color:#d4a514}
.process-phase{font-size:1rem;letter-spacing:.14em;color:#0b5cff;font-weight:800;margin-bottom:8px}
.process-step h3{font-size:1.05rem;line-height:1.35;color:#0f172a;font-weight:800;margin-bottom:10px}
.process-step p{font-size:.94rem;line-height:1.65;color:#64748b}

@media(max-width:1200px){
  .home-page .home-nav a{font-size:.82rem;padding:8px 9px}
  .hero-v2-form{grid-template-columns:1fr 180px 86px}
  .featured-products-inner{grid-template-columns:320px minmax(0,1fr);gap:26px}
  .featured-products-title p{font-size:1rem}
  .featured-product-card{width:285px;min-height:380px}
  .featured-product-name{font-size:1.55rem}
  .featured-product-firm{font-size:1.05rem}
  .featured-product-stars{font-size:1.05rem}
  .featured-product-stars span{font-size:1.05rem}
  .recent-firms-inner{grid-template-columns:320px minmax(0,1fr);gap:26px}
  .recent-firms-title p{font-size:1rem}
  .recent-firm-card{width:285px;min-height:380px}
  .recent-firm-name{font-size:1.4rem}
  .recent-firm-stars{font-size:1rem}
  .recent-firm-stars span{font-size:.95rem}
  .security-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .security-card{min-height:240px}
  .supplier-cta-inner{gap:28px}
  .supplier-cta-content h2{font-size:2.2rem}
  .supplier-cta-content p{font-size:.98rem}
  .supplier-btn{font-size:.95rem;padding:11px 18px}
  .blog-hub-inner{grid-template-columns:320px minmax(0,1fr);gap:26px}
  .blog-hub-title p{font-size:1rem}
  .blog-hub-card{width:330px}
  .blog-hub-card h3{font-size:1.4rem}
  .blog-hub-card p{font-size:.92rem;min-height:90px}
  .blog-hub-btn{font-size:.95rem;padding:10px 18px}
  .process-head h2{font-size:2rem}
  .process-head p{font-size:.96rem}
  .process-step h3{font-size:1rem}
  .process-phase{font-size:.92rem}
  .process-step p{font-size:.9rem}
}
@media(max-width:900px){
  .home-page .site-header.hero-header .inner{height:auto;padding:12px 15px;flex-direction:column;gap:10px}
  .home-page .site-header.hero-header .logo{font-size:1.1rem;margin-bottom:5px}
  .home-page .site-header.hero-header .btn-news-v2{display:none} /* Hide news on mobile hero to save space */
  .home-nav{display:none}
  .hero-v2-inner{padding:120px 15px 40px}
  .hero-v2-top{font-size:0.82rem;padding:7px 16px}
  .hero-v2-main{font-size:1.6rem !important;margin-bottom:20px;min-height:auto;height:auto !important;line-height:1.2}
  .hero-v2-form-new{height:auto;flex-direction:column;border-radius:20px;padding:8px}
  .search-field{width:100%;padding:12px 16px;border-bottom:1px solid #f1f5f9}
  .search-field-divider{display:none}
  .search-btn-new{width:100%;margin-top:8px}
  .hero-popular-sectors{margin-bottom:32px}
  .sector-pill{padding:8px 16px;font-size:0.85rem}
  .hero-v2{padding-top:0;padding-bottom:18px}
  .hero-v2-top{margin-top:0}
  .premium-strip .premium-card{min-width:280px}
  .featured-products{padding:16px 0 28px}
  .featured-products-inner{grid-template-columns:1fr}
  .featured-products-title{text-align:center}
  .featured-products-title h2{font-size:2.35rem}
  .featured-products-title p{max-width:100%;font-size:.98rem}
  .featured-products-link{font-size:1rem;padding:11px 18px}
  .featured-product-card{width:255px;min-height:340px}
  .featured-product-badge{font-size:.8rem}
  .featured-product-caption{font-size:.85rem}
}
/* === V5 CLEAN & COLLECTED PREMIUM (PLATINUM OVERHAUL) === */
:root {
  --v5-prm: #1e3a8a;
  --v5-accent: #2563eb;
  --v5-gray: #64748b;
  --v5-bg: #f8fafc;
  --v5-glass: rgba(255, 255, 255, 0.85);
  --v5-border: rgba(226, 232, 240, 0.9);
  --v5-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

body.catalog-premium-page { 
  background: #f1f5f9; 
  color: #334155;
}

body.catalog-premium-page .site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

/* Banner Stats & Widgets */
.product-page-banner { 
  background: linear-gradient(135deg, #f8faff 0%, #edf2f7 100%); 
  padding: 45px 0 40px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 40px;
}
.catalog-stats { 
  display: flex !important; 
  gap: 20px !important; 
  margin-top: 30px !important;
}
.glass-widget { 
  background: var(--v5-glass) !important;
  backdrop-filter: blur(12px);
  border: 1px solid var(--v5-border) !important;
  border-radius: 20px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--v5-shadow);
  flex: 1;
  max-width: 240px;
}
.glass-widget i { font-size: 1.6rem; color: var(--v5-prm); }
.stat-info strong { display: block; font-size: 1.3rem; font-weight: 900; color: #0f172a; line-height: 1.1; }
.stat-info span { font-size: 0.8rem; font-weight: 700; color: var(--v5-gray); text-transform: uppercase; letter-spacing: 0.03em; }

/* Layout V5 */
.product-layout-v5 { 
  display: grid; 
  grid-template-columns: 320px 1fr; 
  gap: 40px; 
  align-items: start;
}

/* Sidebar V5 */
.sidebar-v5 { position: sticky; top: 100px; }
.filter-card { 
  background: #fff; 
  border: 1px solid #e2e8f0; 
  border-radius: 24px; 
  box-shadow: var(--v5-shadow);
  overflow: hidden;
}
.filter-card-header { 
  background: #f8fafc; 
  padding: 18px 24px; 
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  color: #0f172a;
}
.filter-card-header i { color: var(--v5-accent); }
.filter-card form { padding: 24px; }

.filter-group label, .filter-item label { 
  display: block; 
  font-size: 0.85rem; 
  font-weight: 850; 
  color: var(--v5-prm); 
  margin-bottom: 8px; 
  text-transform: uppercase;
}
.search-input-v5 { position: relative; margin-bottom: 25px; }
.search-input-v5 input { 
  width: 100%; 
  padding: 14px 16px 14px 44px; 
  border: 1.8px solid #e2e8f0; 
  border-radius: 14px;
  background: #f8fafc;
  font-weight: 500;
  transition: border-color 0.2s;
}
.search-input-v5 input:focus { border-color: var(--v5-accent); outline: none; }
.search-input-v5 i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #94a3b8; }

.filter-item { margin-bottom: 22px; }
.filter-item select, .price-inputs input { 
  width: 100%; 
  padding: 12px 14px; 
  border: 1.5px solid #cbd5e1; 
  border-radius: 12px;
  font-weight: 650;
  color: #334155;
  background: #fff;
}
.price-inputs { display: flex; align-items: center; gap: 10px; }
.price-inputs input { text-align: center; }

.filter-actions { margin-top: 30px; display: grid; grid-template-columns: 1fr 100px; gap: 12px; }
.btn-submit-v5 { background: var(--v5-prm); color: #fff; border: 0; border-radius: 14px; padding: 14px; font-weight: 850; cursor: pointer; transition: background 0.2s; }
.btn-submit-v5:hover { background: #172554; }
.btn-reset-v5 { background: #f1f5f9; color: #475569; border: 1.5px solid #e2e8f0; border-radius: 14px; padding: 14px; text-decoration: none; font-size: 0.9rem; font-weight: 800; text-align: center; }

/* Main V5 */
.main-header-v5 { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 25px; 
}
.results-text { font-weight: 850; color: #475569; font-size: 1rem; }
.sort-selector { font-size: 0.9rem; font-weight: 750; color: #64748b; }
.sort-selector select { border: 0; background: transparent; font-weight: 900; color: #0f172a; cursor: pointer; padding: 0 5px; }

/* Product Grid V5 */
.product-grid-v5 { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 25px; 
}
.product-card-v5 { 
  background: #fff; 
  border: 1px solid #e2e8f0; 
  border-radius: 26px; 
  overflow: hidden; 
  box-shadow: var(--v5-shadow);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}
.product-card-v5:hover { transform: translateY(-12px); box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1); }

.card-media { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #f8fafc; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card-v5:hover .card-media img { transform: scale(1.1); }
.badge-featured { position: absolute; top: 14px; left: 14px; background: linear-gradient(90deg, #f97316, #ea580c); color: #fff; font-size: 0.7rem; font-weight: 900; padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3); }

.media-overlay { 
  position: absolute; 
  inset: 0; 
  background: rgba(15, 23, 42, 0.5); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  opacity: 0; 
  transition: opacity 0.3s; 
  backdrop-filter: blur(4px);
}
.product-card-v5:hover .media-overlay { opacity: 1; }
.btn-view-v5 { background: #fff; color: #0f172a; padding: 12px 24px; border-radius: 14px; text-decoration: none; font-weight: 850; font-size: 0.95rem; transform: translateY(15px); transition: transform 0.3s; }
.product-card-v5:hover .btn-view-v5 { transform: translateY(0); }

.card-body-v5 { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 750; color: var(--v5-gray); margin-bottom: 10px; }
.card-title-v5 { font-size: 1.15rem; font-weight: 900; color: #0f172a; margin: 0 0 8px; line-height: 1.3; min-height: 2.6em; }
.card-title-v5 a { color: inherit; text-decoration: none; }
.card-firm { font-size: 0.95rem; font-weight: 750; color: #475569; margin-bottom: 15px; }
.card-footer-v5 { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 15px; border-top: 1px solid #f1f5f9; }
.card-price-v5 { font-size: 1.5rem; font-weight: 950; color: #0f172a; }
.btn-rfq-mini { background: var(--v5-accent); color: #fff; border: 0; border-radius: 12px; padding: 10px 18px; font-weight: 850; font-size: 0.85rem; cursor: pointer; transition: transform 0.2s; }
.btn-rfq-mini:hover { transform: scale(1.05); }

@media (max-width: 1400px) { .product-grid-v5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1150px) { 
  .product-layout-v5 { grid-template-columns: 1fr; }
  .sidebar-v5 { position: static; }
}
@media (max-width: 650px) { 
  .catalog-stats { flex-direction: column; }
  .glass-widget { max-width: none; }
  .product-grid-v5 { grid-template-columns: 1fr; }
  .product-page-banner h1 { font-size: 1.8rem; }
}
/* Devredin single-page layout (urunler) */
body.devredin-page{overflow:hidden;background:#f5f7fb;color:#0f172a}
body.devredin-page .site-header{background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:none}
body.devredin-page .site-header .logo{color:#0f172a}

.devredin-app{display:grid;grid-template-columns:280px 500px 400px;height:100vh}

.dev-left{position:fixed;inset:0 auto 0 0;width:280px;background:#f3f4f6;border-right:1px solid #e5e7eb;padding:22px 18px;overflow:hidden}
.dev-brand{font-size:40px;font-weight:900;color:#1B2B5E;letter-spacing:-.03em;display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #d9dce3}
.dev-close{font-size:28px;opacity:.9}

.dev-search{display:grid;grid-template-columns:1fr 64px;gap:8px;margin-bottom:12px}
.dev-search input{height:46px;border:1px solid #d1d7df;border-radius:14px;padding:0 14px;background:#f7f8fa;font-size:15px;color:#374151}
.dev-search button{height:46px;border:0;border-radius:14px;background:#000;color:#fff;font-weight:800;font-size:15px}

.dev-chips{display:grid;grid-template-columns:1.35fr .8fr .95fr;gap:8px;margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #d9dce3}
.dev-chip{border:2px solid #111827;border-radius:14px;background:#fff;color:#111827;height:44px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:14px;font-weight:800}
.dev-chip-dark{background:#000;color:#fff}
.dev-chip-select{position:relative;overflow:hidden}
.dev-chip-select select{position:absolute;inset:0;opacity:0;cursor:pointer}

/* Devredin map-style listing layout */
body.devredin-map-page{
  overflow:hidden;
  background:#EEF1F7;
  color:#0f172a;
  font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  --header-height:64px;
  --footer-height:220px;
}
body.devredin-map-page.has-footer{overflow:auto}
body.devredin-map-page .site-header{position:fixed;top:0;left:0;right:0;z-index:200;background:#fff}
body.devredin-map-page .site-header{background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:none}
body.devredin-map-page .site-header .inner{justify-content:space-between}
body.devredin-map-page .site-header .nav{display:flex !important}
body.devredin-map-page .site-header .nav a{color:#334155}
body.devredin-map-page .site-header .nav a.active,
body.devredin-map-page .site-header .nav a:hover{background:#edf2ff;color:#1d4ed8}
body.devredin-map-page .site-header .logo{display:flex !important;color:#0f172a;font-weight:900}
body.devredin-map-page .site-header .logo i{color:#1d4ed8}

.dev-map-shell{position:fixed;top:var(--header-height);left:0;right:0;bottom:0;margin:0;padding:0;overflow:hidden;background:#EEF1F7;z-index:100}
body.devredin-map-page.footer-flow{overflow:auto}
body.devredin-map-page.footer-flow .dev-map-shell{
  position:static;
  top:auto;
  left:auto;
  right:auto;
  bottom:auto;
  overflow:visible;
  padding-top:var(--header-height);
}
body.devredin-map-page.footer-flow .dev-map-grid{
  height:auto;
  min-height:calc(100vh - var(--header-height));
}
body.devredin-map-page.footer-flow .dev-map-filter{
  position:sticky;
  top:var(--header-height);
  height:calc(100vh - var(--header-height));
  overflow:auto;
}
body.devredin-map-page.footer-flow .dev-map-left{
  height:auto;
  overflow:visible;
}
body.devredin-map-page.footer-flow .dev-card-list{
  overflow:visible;
}
.dev-map-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:8px;height:100%;padding:8px 6px}
body.devredin-map-page.has-footer .dev-map-shell{position:static;top:auto;left:auto;right:auto;bottom:auto;overflow:visible}
body.devredin-map-page.has-footer .dev-map-shell{padding-top:var(--header-height)}
body.devredin-map-page.has-footer .dev-map-grid{height:auto;min-height:calc(100vh - var(--header-height))}

.dev-map-filter{grid-column:1;background:transparent;height:100%;display:flex;flex-direction:column}
.dev-filter-panel{height:100%;display:flex;flex-direction:column;gap:14px;background:#fff;border:1px solid #DDE1ED;border-radius:12px;padding:16px;box-shadow:0 2px 8px rgba(0,0,0,0.08)}
.dev-filter-head .brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;color:#1f2a44}
.dev-filter-head .brand i{color:#1f2a44;font-size:1.1rem}
.dev-filter-search{display:flex;gap:10px}
.dev-filter-search input{flex:1;height:42px;border:1px solid #e2e8f0;border-radius:12px;padding:0 12px;background:#f8fafc;font-size:14px}
.dev-filter-search button{height:42px;border:0;border-radius:12px;background:#111827;color:#fff;font-weight:700;padding:0 16px;cursor:pointer;transition:background 0.2s}
.dev-filter-search button:hover{background:#1B2B5E}
.dev-filter-content{flex:1;overflow-y:auto;display:flex;flex-direction:column}
.dev-filter{border-top:1px solid #eef2f6;padding:6px 0}
.dev-filter summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:10px 6px;border-radius:10px;transition:background 0.2s;font-size:15px;font-weight:700;color:#111827;cursor:pointer}
.dev-filter summary:hover{background:#f8fafc}
.dev-filter summary span{display:flex;align-items:center;gap:8px}
.dev-filter-body{background:#f8fafc;padding:10px;border-radius:12px;margin-top:6px;margin-bottom:8px;display:grid;gap:8px}
.dev-filter-body.inline{grid-template-columns:1fr 1fr}
.dev-filter-body select,.dev-filter-body input{height:42px;border:1px solid #DDE1ED;border-radius:12px;background:#f8fafc;padding:0 12px;font-size:14px}
.dev-filter-footer{margin-top:auto}
.dev-filter-footer{
  position:sticky;
  bottom:45px;
  background:#fff;
  padding-top:10px;
  z-index:2;
}
.dev-apply{
  background:#1B2B5E;
  border-radius:12px;
  height:48px;
  width:100%;
  border:0;
  color:#fff;
  font-weight:800;
  font-size:0.95rem;
  box-shadow:0 6px 14px rgba(27,43,94,0.18);
  transition:background 0.2s,transform 0.2s;
  cursor:pointer;
}
.dev-apply:hover{background:#14213b;transform:translateY(-2px)}

.dev-map-left{grid-column:2;height:100%;display:flex;flex-direction:column;background:transparent;overflow:hidden}
.dev-map-search{background:#fff;border-radius:12px;padding:8px 10px;box-shadow:0 2px 8px rgba(0,0,0,0.08);border:1px solid #DDE1ED;display:flex;align-items:center;gap:10px;position:sticky;top:0;z-index:10}
.dev-map-search .search-box{flex:1;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e2e8f0;padding:8px 12px;border-radius:999px;max-width:none;margin:0;overflow:visible;box-shadow:none}
.dev-map-search input{background:transparent;border:0;outline:none;padding:0 6px;font-size:14px;color:#0f172a;flex:1}
.dev-map-search button{background:#111827;color:#fff;border:0;padding:8px 18px;border-radius:999px;font-weight:700;cursor:pointer}
.dev-card-list{padding-top:8px;gap:8px;overflow-y:auto;flex:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;padding-right:2px;align-content:start}

/* Horizontal B2B Card V5 */
.dev-map-card{
  position:relative;
  display:grid;
  grid-template-columns:132px minmax(0,1fr) 128px;
  gap:10px;
  background:#fff;
  border:1px solid #e2e8f0;
  border-left:4px solid transparent;
  padding:8px;
  border-radius:16px;
  box-shadow:0 2px 8px rgba(15,23,42,0.06);
  transition:all 0.2s ease;
  cursor:pointer;
}
.dev-map-card:hover{border-left-color:#1B2B5E;background:#F0F4FF;box-shadow:0 10px 24px rgba(27,43,94,.12);transform:translateY(-1px)}
.dev-map-card.is-selected{border-left-color:#1B2B5E;background:#F0F4FF;box-shadow:0 10px 22px rgba(27,43,94,0.14)}
.dev-map-card .card-media{
  border-radius:12px;
  min-height:96px;
  position:relative;
  background:#e5e7eb;
  overflow:hidden;
  aspect-ratio:auto;
}
.dev-map-card .card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:none}
.dev-map-card h3{font-size:.92rem;font-weight:700;margin-bottom:3px;line-height:1.22;color:#1B2B5E;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dev-map-card h3 a{color:#1B2B5E}
.dev-map-card .meta,
.dev-map-card .location,
.dev-map-card .firm,
.dev-map-card .min-sip{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:0.8rem;
  color:#64748b;
  margin-bottom:3px;
}
.dev-map-card .meta i,
.dev-map-card .location i,
.dev-map-card .firm i{display:none}
.dev-map-card .meta span::before{content:"Kategori: ";color:#94a3b8;font-weight:600}
.dev-map-card .location::before{content:"Lokasyon: ";color:#94a3b8;font-weight:600}
.dev-map-card .firm::before{content:"Firma: ";color:#94a3b8;font-weight:600}
.dev-map-card .code{font-size:0.74rem;color:#94a3b8;margin-bottom:2px}
.dev-map-card .card-body{
  display:flex;
  flex-direction:column;
  gap:1px;
  min-width:0;
  padding:0;
}
.dev-map-card .min-sip{font-size:0.78rem}
.dev-map-card .min-sip strong{color:#334155}
.dev-map-card .badge{position:absolute;top:8px;left:8px;z-index:2}
.dev-map-card .badge.orange{background:#f59e0b;color:#fff;font-size:0.68rem;font-weight:800;padding:5px 10px;border-radius:999px}
.dev-map-card .price-center{
  justify-self:start;
  align-self:flex-start;
  margin-top:4px;
  padding:4px 10px;
  border-radius:999px;
  background:#eef4ff;
  color:#0f172a;
  font-size:1rem;
  font-weight:900;
  white-space:nowrap;
}
.dev-map-card .card-actions{
  grid-column:3;
  align-self:center;
  justify-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  gap:5px;
}
.dev-map-card .act-btn{
  height:30px;
  border-radius:8px;
  font-size:.74rem;
  font-weight:700;
  text-decoration:none;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #dbe4ef;
  background:#fff;
  color:#334155;
  cursor:pointer;
  padding:0 8px;
  white-space:nowrap;
  width:100%;
}
.dev-map-card .act-btn.ghost{background:#fff}
.dev-map-card .act-btn.solid{background:#1B2B5E;color:#fff;border-color:#1B2B5E}
.dev-map-card .act-btn.wa{background:#22c55e;color:#fff;border-color:#22c55e}

.icon-btn{
  border:0; background:#111827; color:#fff; border-radius:999px; width:40px; height:40px;
  display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:1rem;
}
.search-actions{display:flex; gap:8px}

/* Right Preview Panel - Platinum Style */
.dev-map-right{grid-column:3;background:transparent;height:100%}
.dev-preview{
  position:relative;
  height:100%;
  background:#fff;
  border-radius:16px;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
  border:1px solid #DDE1ED;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:opacity .2s ease,transform .2s ease;
}
.dev-preview.fade{opacity:.6;transform:translateY(2px)}
.dev-preview img{display:none}
.dev-preview-content{
  padding: 22px 24px;
  gap: 14px;
  display: none; /* Controlled by JS */
  flex-direction: column;
  overflow-y: auto;
  flex: 1;
}
.dev-preview-head{margin-bottom:4px}
.dev-preview-head h3{font-size:22px;color:#0f172a;line-height:1.25;font-weight:800}
.dev-divider{height:1px;background:#e5e7eb;border:0;margin:0}
.dev-detail-badge{display:inline-flex;align-items:center;gap:6px;background:#f59e0b;color:#fff;font-weight:800;font-size:12px;padding:5px 12px;border-radius:999px;margin-bottom:10px}
.dev-preview-table{display:flex;flex-direction:column;gap:10px}
.t-row{display:flex;justify-content:space-between;align-items:flex-start;font-size:0.88rem;padding:4px 0}
.t-lbl{color:#64748b;font-weight:600;flex-shrink:0;min-width:120px}
.t-val{color:#0f172a;font-weight:700;text-align:right;max-width:60%}
.t-val.price{color:#1B2B5E;font-size:1.3rem;font-weight:900}
.t-sep{height:1px;background:#f1f5f9;margin:8px 0}
.dev-preview-desc{background:#f3f4f6;padding:12px;border-radius:12px;font-size:0.85rem;color:#475569;line-height:1.5;border:1px solid #e5e7eb}
.dev-preview-tech{background:#f8fafc;padding:14px 16px;border-radius:12px;font-size:0.82rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;color:#374151;line-height:1.65;border:1px solid #DDE1ED;white-space:pre-wrap;word-break:break-word;margin-top:4px}
.dev-detail-footer{
  position:relative;
  padding:16px 24px;
  padding-right:76px;
  gap:12px;
  background:#fff;
  border-top:1px solid #DDE1ED;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.dev-cta{
  flex:1;
  height:48px;
  border-radius:12px;
  font-weight:800;
  font-size:0.95rem;
  background:#1B2B5E;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background 0.2s;
}
.dev-cta:hover{background:#14213b;color:#fff}
.dev-detail{
  height:48px;
  padding:0 18px;
  border-radius:12px;
  font-weight:800;
  background:#fff;
  color:#1B2B5E;
  border:1px solid #e2e8f0;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:110px;
  white-space:nowrap;
}
.dev-detail:hover{background:#f8fafc;color:#14213b;border-color:#cbd5e1}
.dev-wa{
  position:absolute;right:16px;bottom:16px;width:44px;height:44px;border-radius:999px;background:#22c55e;color:#fff;
  display:flex;align-items:center;justify-content:center;box-shadow:0 8px 16px rgba(34,197,94,0.35)
}
.dev-wa svg{width:22px;height:22px;fill:#fff}
.dev-wa:hover{background:#16a34a;transform:scale(1.05)}

/* Konumlar (Firmalar) */
.location-section{padding:48px 0 70px;background:#f5f7fb}
.location-grid{display:grid;grid-template-columns:280px 1fr;gap:24px;align-items:start}
.location-side{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:16px;box-shadow:0 4px 18px rgba(15,23,42,0.06)}
.location-search{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px}
.location-search i{color:#94a3b8}
.location-search input{border:0;background:transparent;outline:none;font-size:.9rem;color:#0f172a;width:100%}
.location-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.stat-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px;text-align:center}
.stat-val{font-size:1.1rem;font-weight:800;color:#0f172a}
.stat-lbl{font-size:.72rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em}
.location-title{margin-top:14px;font-size:.85rem;font-weight:800;color:#0f172a;display:flex;align-items:center;gap:6px}
.location-title i{color:#f97316}
.sector-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.sector-item{display:flex;align-items:center;gap:10px;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;background:#fff;cursor:pointer;transition:.2s}
.sector-item .dot{width:10px;height:10px;border-radius:50%;background:#cbd5e1}
.sector-item .name{flex:1;font-weight:700;color:#0f172a;font-size:.85rem}
.sector-item .count{font-size:.75rem;font-weight:800;color:#1d4ed8;background:#eef2ff;border-radius:8px;padding:2px 8px}
.sector-item:hover{background:#f8fafc}
.sector-item.active{border-color:#1d4ed8;background:#eef2ff}
.sector-item.active .dot{background:#1d4ed8}
.location-note{margin-top:12px;font-size:.78rem;color:#94a3b8}
.location-map-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:14px;box-shadow:0 4px 18px rgba(15,23,42,0.06)}
.map-header{display:flex;align-items:center;justify-content:space-between;font-size:.85rem;font-weight:700;color:#0f172a;padding:6px 8px 10px}
.map-header .map-hint{font-size:.75rem;color:#94a3b8;font-weight:600}
.location-map{position:relative;background:#f8fafc;border-radius:14px;border:1px solid #e2e8f0;min-height:420px;overflow:hidden}
.map-bg{position:absolute;inset:0;background:radial-gradient(circle at 20% 20%, rgba(99,102,241,0.08), transparent 40%),radial-gradient(circle at 80% 60%, rgba(16,185,129,0.08), transparent 40%),linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%)}
.city-layer{position:absolute;inset:0}
.city-dot{position:absolute;transform:translate(-50%,-50%);border:0;background:rgba(255,255,255,.9);color:#334155;font-size:.7rem;font-weight:700;border-radius:10px;padding:4px 6px;border:1px solid #e2e8f0;cursor:pointer;white-space:nowrap}
.city-dot.active{background:#1d4ed8;color:#fff;border-color:#1d4ed8;box-shadow:0 6px 14px rgba(29,78,216,0.25)}
.extra-cities{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.extra-city{font-size:.72rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:4px 8px;color:#64748b}
.extra-city.active{background:#1d4ed8;color:#fff;border-color:#1d4ed8}

@media(max-width:1100px){
  .location-grid{grid-template-columns:1fr}
  .map-header{flex-direction:column;align-items:flex-start;gap:6px}
}

/* Scrollbar styling */
.dev-card-list::-webkit-scrollbar,.dev-preview-content::-webkit-scrollbar,.dev-filter-content::-webkit-scrollbar{width:6px}
.dev-card-list::-webkit-scrollbar-track,.dev-preview-content::-webkit-scrollbar-track,.dev-filter-content::-webkit-scrollbar-track{background:transparent}
.dev-card-list::-webkit-scrollbar-thumb,.dev-preview-content::-webkit-scrollbar-thumb,.dev-filter-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}
.dev-card-list::-webkit-scrollbar-thumb:hover,.dev-preview-content::-webkit-scrollbar-thumb:hover,.dev-filter-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}

/* Empty state */
.dev-preview-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#94a3b8;text-align:center;padding:24px}
.dev-preview-empty i{font-size:38px}

@media(max-width:1280px){
  body.devredin-map-page{overflow:auto}
  .dev-map-shell{position:static;top:auto;left:auto;right:auto;bottom:auto}
  .dev-map-grid{grid-template-columns:260px 1fr}
  .dev-card-list{grid-template-columns:1fr}
}
@media(max-width:900px){
  .dev-map-grid{grid-template-columns:1fr}
  .dev-map-filter{position:static;height:auto}
  .dev-map-left{padding:16px}
  .dev-card-list{padding-right:0}
  .dev-map-card{grid-template-columns:140px minmax(0,1fr)}
  .dev-map-card .card-actions{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    margin-top:6px;
  }
}

/* ── KONUMLAR PAGE ──────────────────────────────────────────── */
.loc-page{min-height:calc(100vh - 80px);padding:14px 0 26px;background:
  radial-gradient(1200px 380px at 12% -10%, #edf4ff 0%, rgba(237,244,255,0) 60%),
  radial-gradient(1200px 420px at 100% 0%, #f3f7ff 0%, rgba(243,247,255,0) 62%),
  #eef2f7}
.loc-layout{display:grid;grid-template-columns:278px minmax(0,1fr);gap:16px;max-width:1880px;margin:0 auto;padding:0 14px;align-items:start}

/* Sidebar */
.loc-sidebar{background:linear-gradient(180deg,#fdfefe 0%,#f5f8fc 100%);border:1px solid #d9e2ee;border-radius:18px;padding:16px;box-shadow:0 14px 32px rgba(15,23,42,.08);position:sticky;top:90px;height:calc(100vh - 108px);display:flex;flex-direction:column}
.loc-search{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px 14px}
.loc-search i{color:#94a3b8;font-size:.9rem}
.loc-search input{border:0;background:transparent;outline:none;font-size:.88rem;color:#0f172a;width:100%}
.loc-search-suggest{display:none;margin-top:8px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;max-height:240px;overflow:auto}
.loc-search-suggest.show{display:block}
.loc-suggest-item{display:flex;align-items:center;gap:8px;padding:8px 10px;color:#334155;text-decoration:none;border-bottom:1px solid #f1f5f9;background:#fff;width:100%;text-align:left;border-left:0;border-right:0;border-top:0;cursor:pointer}
.loc-suggest-item:last-child{border-bottom:0}
.loc-suggest-item:hover{background:#eff6ff;color:#1d4ed8}
.loc-suggest-tag{font-size:.68rem;padding:2px 6px;border-radius:999px;background:#eef2ff;color:#4f46e5;font-weight:700;flex-shrink:0}
.loc-suggest-empty{padding:10px;color:#94a3b8;font-size:.8rem}
.loc-stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px;background:linear-gradient(180deg,#f8fbff 0%,#edf3fb 100%);border-radius:14px;padding:12px 8px;border:1px solid #dbe5f1}
.loc-stat{text-align:center}
.loc-stat-val{font-size:1.3rem;font-weight:800;color:#0f172a;display:block;font-family:'Syne',sans-serif}
.loc-stat-lbl{font-size:.65rem;font-weight:700;color:#94a3b8;letter-spacing:.08em;margin-top:2px;display:block}
.loc-sector-head{margin-top:18px;font-size:.78rem;font-weight:800;color:#0f172a;display:flex;align-items:center;gap:6px;letter-spacing:.03em}
.loc-sector-list{margin-top:10px;display:flex;flex-direction:column;gap:2px;max-height:340px;overflow-y:auto}
.loc-sector{display:flex;align-items:center;gap:10px;padding:10px 12px;border:none;background:transparent;border-radius:12px;cursor:pointer;transition:all .2s;width:100%;text-align:left;font-size:.92rem;color:#334155}
.loc-sector:hover{background:#f1f5f9}
.loc-sector.active{background:linear-gradient(90deg,#edf4ff 0%,#dfeeff 100%);color:#1d4ed8;font-weight:700}
.loc-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.loc-sname{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.loc-scount{background:#e2e8f0;color:#475569;font-size:.72rem;font-weight:700;padding:2px 8px;border-radius:20px;min-width:24px;text-align:center}
.loc-sector.active .loc-scount{background:#2563eb;color:#fff}
.loc-cities-head{margin-top:18px;font-size:.78rem;font-weight:800;color:#0f172a;display:flex;align-items:center;gap:6px;letter-spacing:.03em}
.loc-cities-hint{margin-top:6px;font-size:.77rem;color:#94a3b8;line-height:1.5}
.loc-cities-list{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px;max-height:130px;overflow:auto;padding-right:2px}
.loc-city-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;border:1px solid #dbe4ef;background:#f8fbff;color:#3b4a62;font-size:.74rem;line-height:1.2;text-decoration:none}
.loc-city-pill:hover{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}
.loc-city-pill.empty{opacity:.7;pointer-events:none}
.loc-firms-link{display:flex;align-items:center;gap:8px;margin-top:auto;padding:11px 14px;background:#f8fafc;border:1px solid #dbe4ef;border-radius:12px;color:#334155;font-size:.92rem;font-weight:700;text-decoration:none;transition:all .2s}
.loc-firms-link:hover{background:#eff6ff;color:#2563eb;border-color:#bfdbfe}
.loc-firms-link i{font-size:1rem}

/* Map Area */
.loc-main{display:flex;flex-direction:column;gap:12px}
.loc-map-wrap{position:relative;background:linear-gradient(180deg,rgba(255,255,255,.5) 0%,rgba(255,255,255,.14) 100%);border:1px solid #dbe4ef;border-radius:20px;padding:10px 12px 24px;box-shadow:0 14px 38px rgba(15,23,42,.06);overflow:visible}
.loc-svg-map{width:100%;height:auto;max-height:72vh;display:block;transform:none;margin:0 auto}
#turkeyMap{background:transparent !important}
#turkeyMap path{fill:#dfe5f0;stroke:#f6f8fb;stroke-width:1.5;transition:all .3s ease}
#turkeyMap path:hover{fill:#2563eb !important;stroke:#1d4ed8;stroke-width:1.8;cursor:pointer}
.loc-svg-map .province{fill:#dfe5f0;stroke:#f6f8fb;stroke-width:1.5;cursor:pointer;transition:fill .25s,opacity .25s}
.loc-svg-map .province.hovered,.loc-svg-map .province.sector-active{fill:#2563eb !important;stroke:#1d4ed8;stroke-width:1.8}
.loc-svg-map .province.selected{fill:#1d4ed8;stroke:#1e3a8a;stroke-width:2}
.loc-city-labels text{
  font-size:10px;
  fill:#334155;
  font-weight:700;
  text-anchor:middle;
  pointer-events:none;
  font-family:'Inter',sans-serif;
  paint-order:stroke;
  stroke:#f8fafc;
  stroke-width:2.2px;
  letter-spacing:.1px;
}
.loc-city-labels text.active{
  fill:#1d4ed8;
  font-weight:800;
  stroke:#eef4ff;
}
.loc-city-labels text.muted{
  fill:#94a3b8;
  opacity:.45;
}
#kuzey-kibris,#guney-kibris{display:none!important}

/* Tooltip */
.loc-tooltip{position:absolute;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:14px 18px;box-shadow:0 8px 30px rgba(15,23,42,0.12);z-index:30;min-width:160px}
.loc-tooltip-city{font-size:1rem;font-weight:700;color:#0f172a}
.loc-tooltip-count{font-size:.82rem;color:#64748b;margin-top:2px}
.loc-tooltip-link{display:inline-flex;align-items:center;gap:4px;margin-top:8px;font-size:.8rem;font-weight:600;color:#2563eb;text-decoration:none}
.loc-tooltip-link:hover{text-decoration:underline}

/* Premium Firms */
.loc-premium{background:transparent;border:0;border-radius:0;padding:2px 0 0;box-shadow:none}
.loc-map-wrap .loc-premium{margin-top:-2px}
.loc-premium-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.loc-premium-head h3{font-size:1rem;line-height:1.2;color:#0f172a;font-weight:800}
.loc-premium-head a{font-size:.84rem;font-weight:700;color:#2563eb}
.loc-premium-grid{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}
.loc-premium-card{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #d9e2ef;border-radius:14px;background:#fff;color:#0f172a;transition:.2s;min-width:280px;flex:0 0 auto}
.loc-premium-card:hover{transform:translateY(-1px);box-shadow:0 8px 16px rgba(15,23,42,.08);border-color:#bfd2ee;color:#0f172a}
.loc-premium-logo{width:44px;height:44px;border-radius:12px;background:#eef2ff;border:1px solid #dbeafe;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}
.loc-premium-logo img{width:100%;height:100%;object-fit:cover}
.loc-premium-logo span{font-weight:800;color:#1d4ed8}
.loc-premium-name{font-size:.88rem;font-weight:800;line-height:1.2}
.loc-premium-sub{font-size:.76rem;color:#64748b;margin-top:2px}
.loc-premium-grid::-webkit-scrollbar{height:8px}
.loc-premium-grid::-webkit-scrollbar-track{background:#edf2f8;border-radius:999px}
.loc-premium-grid::-webkit-scrollbar-thumb{background:#c7d3e6;border-radius:999px}
.loc-premium-grid::-webkit-scrollbar-thumb:hover{background:#adbdd7}

/* Responsive */
@media(max-width:900px){
  .loc-layout{grid-template-columns:1fr}
  .loc-sidebar{position:static;height:auto}
  .loc-map-wrap{min-height:auto}
  .loc-svg-map{height:auto;transform:none}
  .loc-city-labels text{font-size:8px;stroke-width:1.8px}
  .loc-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .loc-layout{padding:0 12px}
  .loc-sidebar{padding:14px}
  .loc-map-wrap{padding:12px}
  .loc-svg-map .city-labels text{font-size:5px}
}

/* Map City Detail Modal */
.loc-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.loc-modal-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(4px); }
.loc-modal-container { position: relative; width: 100%; max-width: 900px; max-height: 90vh; background: #fff; border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25); display: flex; flex-direction: column; overflow: hidden; animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

.loc-modal-header { padding: 24px 32px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; background: #fff; }
.loc-modal-title h3 { font-size: 1.5rem; font-weight: 800; color: #0f172a; margin: 0 0 4px; }
.loc-modal-title p { font-size: 0.9rem; color: #64748b; margin: 0; font-weight: 500; }
.loc-modal-close { width: 40px; height: 40px; border-radius: 12px; border: 0; background: #f1f5f9; color: #64748b; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; }
.loc-modal-close:hover { background: #e2e8f0; color: #0f172a; }

.loc-modal-body { flex: 1; overflow-y: auto; padding: 32px; }
.loc-modal-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #f1f5f9; }
.loc-modal-filter-group label { display: block; font-size: 0.75rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }

.loc-modal-select-wrap { position: relative; width: 100%; }
.loc-modal-select-wrap select { 
  width: 100%; padding: 12px 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; 
  font-size: 0.9rem; font-weight: 600; color: #1e293b; cursor: pointer; transition: all 0.2s; 
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px;
}
.loc-modal-select-wrap select:hover { background-color: #f1f5f9; border-color: #cbd5e1; }
.loc-modal-select-wrap select:focus { outline: 0; border-color: #2563eb; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); }

.loc-modal-firms-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.loc-modal-firms-header h4 { font-size: 1.1rem; font-weight: 800; color: #0f172a; margin: 0; }
.loc-modal-link { font-size: 0.85rem; font-weight: 700; color: #2563eb; text-decoration: none; }
.loc-modal-link:hover { text-decoration: underline; }

.loc-modal-firm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.loc-modal-firm-card { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #f1f5f9; border-radius: 16px; text-decoration: none; transition: all 0.2s; }
.loc-modal-firm-card:hover { background: #f8fafc; border-color: #e2e8f0; transform: translateY(-2px); }
.loc-modal-firm-logo { width: 44px; height: 44px; background: #fff; border: 1px solid #f1f5f9; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 4px; flex-shrink: 0; }
.loc-modal-firm-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.loc-modal-firm-placeholder { font-weight: 800; color: #cbd5e1; font-size: 1rem; }
.loc-modal-firm-info { min-width: 0; }
.loc-modal-firm-name { font-size: 0.88rem; font-weight: 800; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.loc-modal-firm-cat { font-size: 0.72rem; font-weight: 600; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media(max-width:800px) {
  .loc-modal-filters { grid-template-columns: 1fr; }
  .loc-modal-firm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:500px) {
  .loc-modal-firm-grid { grid-template-columns: 1fr; }
  .loc-modal-container { border-radius: 0; max-height: 100vh; }
}

/* Products Modern V2 */
.products-modern-page{background:#eef2f7}
.products-v2-page{padding:14px 0 22px}
.products-v2-layout{max-width:1880px;margin:0 auto;padding:0 10px;display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px;align-items:start}
.products-v2-sidebar{position:sticky;top:88px}
.products-v2-filter{background:#fff;border:1px solid #dde5f0;border-radius:16px;padding:14px;box-shadow:0 8px 20px rgba(15,23,42,.05);display:flex;flex-direction:column;gap:10px}
.products-v2-filter h3{font-size:1.6rem;margin:0 0 2px;font-weight:800;color:#0f172a;display:flex;align-items:center;gap:8px}
.products-v2-group{display:flex;flex-direction:column;gap:8px;padding-top:8px;border-top:1px solid #edf2f8}
.products-v2-group label{font-size:.95rem;font-weight:700;color:#0f172a}
.products-v2-group select{height:42px;border:1px solid #dbe3ee;border-radius:11px;background:#f8fafc;padding:0 12px;font-size:.92rem}
.products-v2-apply{margin-top:4px;height:44px;border:0;border-radius:12px;background:#1b2b5e;color:#fff;font-weight:800;cursor:pointer}

.products-v2-main{min-width:0}
.products-v2-topbar{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.products-v2-search{flex:1;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dde5f0;border-radius:15px;padding:8px 10px;box-shadow:0 6px 16px rgba(15,23,42,.04)}
.products-v2-search i{color:#64748b}
.products-v2-search input{flex:1;border:0;outline:none;background:transparent;font-size:.96rem}
.products-v2-search button{height:38px;border:0;border-radius:999px;padding:0 22px;background:#111827;color:#fff;font-weight:800;cursor:pointer}
.products-v2-count{font-size:.9rem;font-weight:700;color:#64748b;white-space:nowrap}

.products-v2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.products-v2-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:10px;background:#fff;border:1px solid #dde5f0;border-radius:16px;box-shadow:0 6px 18px rgba(15,23,42,.04)}
.products-v2-media{position:relative;border-radius:12px;overflow:hidden;background:#e2e8f0;min-height:120px}
.products-v2-media img{width:100%;height:100%;object-fit:cover;display:block}
.products-v2-badge{position:absolute;left:8px;top:8px;background:#f59e0b;color:#fff;font-size:.72rem;font-weight:800;padding:6px 12px;border-radius:999px}
.products-v2-body{display:flex;flex-direction:column;min-width:0}
.products-v2-body h3{margin:0 0 4px;font-size:1.05rem;line-height:1.25;color:#1b2b5e}
.products-v2-body h3 a{color:inherit}
.products-v2-meta{font-size:.92rem;color:#64748b;line-height:1.4}
.products-v2-meta strong{color:#334155;font-weight:700}
.products-v2-price{margin-top:8px;align-self:flex-start;padding:6px 12px;border-radius:999px;background:#eef3ff;color:#0f172a;font-weight:900;font-size:1.15rem}
.products-v2-actions{margin-top:8px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.products-v2-actions .btn{height:32px;border-radius:9px;border:1px solid #dbe3ef;background:#fff;color:#334155;font-size:.78rem;font-weight:700;text-decoration:none;display:flex;align-items:center;justify-content:center;padding:0 8px;cursor:pointer;white-space:nowrap}
.products-v2-actions .btn.solid{background:#1b2b5e;color:#fff;border-color:#1b2b5e}
.products-v2-actions .btn.wa{background:#22c55e;color:#fff;border-color:#22c55e}

@media(max-width:1280px){
  .products-v2-layout{grid-template-columns:250px minmax(0,1fr)}
  .products-v2-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
  .products-v2-layout{grid-template-columns:1fr}
  .products-v2-sidebar{position:static}
  .products-v2-grid{grid-template-columns:1fr}
}

/* Products Showcase (reference layout) */
.products-grid-page{background:#eef2f7}
.products-showcase-page{padding:18px 0 24px}
.products-showcase-wrap{max-width:1880px;margin:0 auto;padding:0 14px}
.products-showcase-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:12px;align-items:start}
.products-showcase-main{min-width:0}
.products-showcase-toolbar{display:flex;align-items:center;justify-content:space-between;background:#f9fafb;border:1px solid #e4e8ef;border-radius:6px;padding:14px 16px;margin-bottom:14px}
.toolbar-left{display:flex;align-items:center;gap:18px}
.view-icons{font-size:1.3rem;color:#0f172a;display:inline-flex;gap:10px}
.compare-link{font-size:1.15rem;font-weight:600;color:#0f172a;text-decoration:none;display:inline-flex;align-items:center;gap:8px}
.compare-link i{font-size:1.2rem}
.toolbar-sort{display:flex;align-items:center;gap:8px}
.toolbar-sort span{background:#eef0f4;border-radius:4px;padding:8px 10px;font-size:.92rem;color:#475569}
.toolbar-sort select{height:40px;border:1px solid #d7dde8;border-radius:4px;padding:0 10px;background:#fff;min-width:180px;font-size:.95rem}

.products-showcase-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.showcase-card{position:relative;background:#fff;border:1px solid #d9e1ec;border-radius:10px;padding:10px;display:flex;flex-direction:column;min-width:0}
.showcase-title{font-size:1rem;line-height:1.2;color:#0f172a;text-decoration:none;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;min-height:1.5rem}
.showcase-ribbon{position:absolute;left:0;top:38px;background:#ff6a00;color:#fff;font-size:.95rem;font-weight:800;padding:4px 16px 4px 10px;clip-path:polygon(0 0,100% 0,82% 100%,0 100%)}
.showcase-media{display:block;margin-top:8px;border-radius:8px;overflow:hidden;background:#f3f4f6;aspect-ratio:1/1.15}
.showcase-media img{width:100%;height:100%;object-fit:cover;display:block}
.showcase-prices{display:flex;align-items:baseline;gap:10px;margin-top:10px;padding:4px 2px 2px}
.showcase-prices .old-price{font-size:1rem;color:#94a3b8;text-decoration:line-through}
.showcase-prices .new-price{font-size:2.2rem;font-weight:900;color:#0f2747}

@media(max-width:1400px){
  .products-showcase-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1100px){
  .products-showcase-layout{grid-template-columns:250px minmax(0,1fr)}
  .products-showcase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .compare-link{font-size:1rem}
  .showcase-title{font-size:.95rem}
  .showcase-ribbon{font-size:1rem}
  .showcase-prices .new-price{font-size:1.8rem}
}
@media(max-width:720px){
  .products-showcase-layout{grid-template-columns:1fr}
  .products-v2-sidebar{position:static}
  .products-showcase-toolbar{flex-direction:column;align-items:flex-start;gap:10px}
  .products-showcase-grid{grid-template-columns:1fr}
}

/* Products Final - matches provided reference */
.products-final-page{background:#f3f5f8}
.p3-page{padding:0 0 28px;font-size:14px}
.p3-wrap{max-width:1640px;margin:0 auto}
.p3-chipbar{display:flex;gap:8px;align-items:center;padding:10px 14px;background:#f8fafc;border-bottom:1px solid #dde3ec}
.p3-chip{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;background:#e9edf3;color:#64748b;text-decoration:none;font-weight:700;font-size:.92rem}
.p3-chip span{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:999px;background:#fff;color:#111827;font-size:.78rem}
.p3-chip.active{background:#000;color:#fff}
.p3-chip.active span{background:#fff;color:#000}

.p3-main{display:grid;grid-template-columns:270px minmax(0,1fr);gap:18px;padding:18px}
.p3-filter{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:10px;height:max-content}
.p3-filter h3{font-size:1.9rem;font-weight:800;margin:0 0 4px;color:#0f172a}
.p3-filter label{font-size:13px;font-weight:800;color:#0f172a;letter-spacing:.02em;text-transform:uppercase}
.p3-filter select{height:40px;border:1px solid #d6deea;border-radius:10px;background:#fff;padding:0 12px;font-size:.95rem;color:#0f172a}
.p3-switch{display:flex;align-items:center;gap:10px;padding:6px 0}
.p3-switch input{appearance:none;width:38px;height:22px;border-radius:999px;background:#d4d8df;position:relative;cursor:pointer;transition:.2s}
.p3-switch input::after{content:'';position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:999px;background:#fff;transition:.2s}
.p3-switch input:checked{background:#2563eb}
.p3-switch input:checked::after{left:19px}
.p3-switch label{font-size:1rem;text-transform:none;letter-spacing:0;font-weight:600}

/* Firms Page Redesign V3 - Premium B2B Style */
.f3-page { background: #f8fafc; min-height: 100vh; padding-top: 20px; font-family: 'Inter', system-ui, sans-serif; color: #1e293b; }

/* Sector Pills */
.f3-sector-bar { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 15px 0; margin-bottom: 30px; position: sticky; top: 0; z-index: 100; }
.f3-sector-pills { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 5px; -ms-overflow-style: none; scrollbar-width: none; }
.f3-sector-pills::-webkit-scrollbar { display: none; }
.f3-sector-pill { display: flex; align-items: center; gap: 8px; padding: 8px 18px; background: #f1f5f9; border-radius: 999px; text-decoration: none; color: #475569; font-weight: 600; font-size: 0.85rem; white-space: nowrap; transition: all 0.2s; border: 1px solid transparent; }
.f3-sector-pill:hover { background: #e2e8f0; }
.f3-sector-pill.active { background: #000; color: #fff; }
.f3-sector-pill .count { font-size: 0.75rem; background: rgba(0,0,0,0.1); padding: 2px 8px; border-radius: 10px; }
.f3-sector-pill.active .count { background: rgba(255,255,255,0.2); }

/* Main Container */
.f3-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 320px 1fr; gap: 40px; }

/* Filter Card */
.f3-filter-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; position: sticky; top: 20px; }
.f3-filter-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.f3-filter-section { margin-bottom: 24px; }
.f3-section-label { font-size: 0.75rem; font-weight: 800; color: #64748b; letter-spacing: 0.05em; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.f3-filter-section select { width: 100%; height: 44px; border: 1px solid #e2e8f0; border-radius: 10px; padding: 0 12px; background: #f8fafc; font-weight: 500; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7L10 12L15 7' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 1.2em; }
.f3-switch-group { display: flex; flex-direction: column; gap: 12px; }
.f3-switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 0.9rem; font-weight: 500; }
.f3-switch input { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: #e2e8f0; position: relative; cursor: pointer; transition: all 0.2s; }
.f3-switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 999px; background: #fff; transition: all 0.2s; }
.f3-switch input:checked { background: #1e293b; }
.f3-switch input:checked::after { left: 19px; }

/* Toolbar */
.f3-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.f3-search-wrap { position: relative; width: 400px; }
.f3-search-wrap input { width: 100%; height: 48px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 0 15px 0 45px; font-size: 0.95rem; }
.f3-search-wrap i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 1.1rem; }
.f3-sort-wrap { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.f3-sort-wrap select { border: 1px solid #e2e8f0; background: #f8fafc; padding: 6px 12px; border-radius: 6px; font-weight: 500; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7L10 12L15 7' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 1.2em; }

/* Firm Card */
.f3-firm-list { display: flex; flex-direction: column; gap: 20px; }
.f3-firm-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 24px; display: flex; align-items: center; gap: 30px; position: relative; transition: all 0.3s; }
.f3-firm-card:hover { border-color: #cbd5e1; box-shadow: 0 10px 30px rgba(0,0,0,0.03); transform: translateY(-2px); }
.f3-sponsor-badge { position: absolute; top: 15px; left: 15px; background: #f59e0b; color: #fff; font-size: 0.7rem; font-weight: 800; padding: 4px 10px; border-radius: 6px; z-index: 2; }

.f3-logo-wrap { width: 180px; height: 120px; background: #fff; border: 1px solid #f1f5f9; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 15px; flex-shrink: 0; }
.f3-logo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }

.f3-info { flex: 1; }
.f3-name { font-size: 1.25rem; font-weight: 800; margin: 0 0 5px; color: #1e293b; }
.f3-sector { font-size: 0.85rem; font-weight: 600; color: #64748b; margin-bottom: 12px; }
.f3-rating { display: flex; align-items: center; gap: 8px; color: #f59e0b; font-size: 0.85rem; font-weight: 600; }
.f3-rating i { font-size: 0.95rem; }
.f3-rating .review-count { color: #94a3b8; font-weight: 500; }

.f3-actions { display: flex; flex-direction: column; gap: 10px; width: 220px; }
.f3-btn { height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 0.9rem; transition: all 0.2s; }
.f3-btn-outline { background: #e2e8f0; color: #1e293b; }
.f3-btn-outline:hover { background: #cbd5e1; }
.f3-btn-dark { background: #000; color: #fff; }
.f3-btn-dark:hover { opacity: 0.9; }
.f3-fast-contact { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.8rem; font-weight: 600; color: #64748b; margin-top: 5px; }

@media (max-width: 1024px) {
  .f3-container { grid-template-columns: 1fr; }
  .f3-filter-card { display: none; } /* Hide sidebar on smaller screens */
  .f3-search-wrap { width: 100%; }
}
@media (max-width: 640px) {
  .f3-firm-card { flex-direction: column; text-align: center; }
  .f3-actions { width: 100%; }
  .f3-logo-wrap { width: 100%; height: 160px; }
}

.p3-content{min-width:0;background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:14px}
.p3-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #edf2f7}
.p3-search{display:flex;align-items:center;gap:8px;background:#f5f7fb;border:1px solid #e0e6f0;border-radius:999px;padding:8px 12px;min-width:280px;max-width:460px;width:100%}
.p3-search i{color:#64748b;font-size:1.1rem}
.p3-search input{border:0;outline:none;background:transparent;width:100%;font-size:1rem;color:#0f172a}
.p3-right{display:flex;align-items:center;gap:18px}
.p3-count{font-size:1rem;color:#0f172a;font-weight:700;white-space:nowrap}
.p3-count b{color:#2563eb}
.p3-sort{display:flex;align-items:center;gap:8px}
.p3-sort span{font-size:.95rem;color:#475569;font-weight:600}
.p3-sort select{height:38px;border:1px solid #d7dde8;background:#fff;border-radius:10px;padding:0 12px;min-width:170px;font-size:.95rem;color:#0f172a}

.p3-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.p3-card{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px;display:flex;flex-direction:column}
.p3-title{font-size:1rem;line-height:1.2;color:#0f172a;text-decoration:none;display:-webkit-box;-webkit-line-clamp:1;line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;min-height:1.35rem}
.p3-ribbon{position:absolute;left:0;top:36px;background:#ff6a00;color:#fff;font-size:.88rem;font-weight:800;padding:4px 11px 4px 8px;clip-path:polygon(0 0,100% 0,84% 100%,0 100%)}
.p3-image{display:block;margin-top:8px;border-radius:8px;overflow:hidden;background:#f1f5f9;aspect-ratio:1/1.06}
.p3-image img{width:100%;height:100%;object-fit:cover;display:block}
.p3-brand{margin-top:8px;font-size:.95rem;color:#64748b}
.p3-price-row{display:flex;align-items:baseline;gap:10px;margin-top:6px}
.p3-price-row .old{font-size:.95rem;color:#94a3b8;text-decoration:line-through}
.p3-price-row .new{font-size:2rem;font-weight:900;color:#ef4444;line-height:1.05}
.p3-stars{margin-top:4px;font-size:1rem;color:#f59e0b;display:flex;align-items:center;gap:6px}
.p3-stars span{color:#64748b;font-size:.95rem}
.p3-btn{margin-top:8px;display:flex;align-items:center;justify-content:center;height:38px;border-radius:999px;border:1px solid #111827;color:#111827;text-decoration:none;font-size:.95rem;font-weight:700;background:#fff}

@media(max-width:1400px){
  .p3-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1100px){
  .p3-main{grid-template-columns:1fr}
  .p3-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .p3-search{max-width:none}
}
@media(max-width:720px){
  .p3-chipbar{overflow:auto;white-space:nowrap}
  .p3-toolbar{flex-direction:column;align-items:stretch}
  .p3-right{justify-content:space-between}
  .p3-grid{grid-template-columns:1fr}
}


/* P3 Grid Redesign V2 - Premium B2B Style */
.p3-page-v2 { background: #f8fafc; min-height: 100vh; padding: 40px 0; font-family: 'Inter', system-ui, sans-serif; color: #1e293b; }
.p3-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 280px 1fr; gap: 32px; }
.p3-sidebar { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; height: fit-content; position: sticky; top: 20px; }
.p3-sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #f1f5f9; }
.p3-sidebar-header h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }
.p3-btn-clear { font-size: 0.8rem; color: #64748b; text-decoration: none; font-weight: 500; }
.p3-filter-group { margin-bottom: 16px; border-bottom: 1px solid #f1f5f9; }
.p3-filter-group summary { list-style: none; padding: 12px 0; cursor: pointer; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em; color: #475569; display: flex; justify-content: space-between; align-items: center; }
.p3-filter-body { padding: 8px 0 16px; }
.p3-range-inputs { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.p3-range-inputs input { width: 100%; height: 38px; border: 1px solid #e2e8f0; border-radius: 6px; padding: 0 10px; font-size: 0.9rem; }
.p3-range-slider { width: 100%; accent-color: #1e293b; }
.p3-checkbox { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.9rem; }
.p3-filter-body select { width: 100%; height: 40px; border: 1px solid #e2e8f0; border-radius: 6px; padding: 0 10px; }
.p3-btn-submit { width: 100%; height: 44px; background: #1e293b; color: #fff; border: 0; border-radius: 8px; font-weight: 600; margin-top: 10px; cursor: pointer; }
.p3-toolbar { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.p3-view-toggle { display: flex; align-items: center; gap: 12px; }
.p3-view-toggle button { background: none; border: 0; font-size: 1.25rem; color: #94a3b8; cursor: pointer; padding: 0; }
.p3-view-toggle button.active { color: #1e293b; }
.p3-compare { margin-left: 20px; color: #475569; text-decoration: none; font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 8px; }
/* Sponsored Firms Slider */
.p3-firms-slider {
  flex: 1;
  overflow: hidden;
  margin-right: 20px;
  position: relative;
  mask-image: linear-gradient(to right, black 0%, black 88%, transparent 100%);
}
.p3-firms-track {
  display: flex;
  gap: 15px;
  width: max-content;
  animation: slideFirms 16s linear infinite;
}
.p3-firms-slider:hover .p3-firms-track {
  animation-play-state: paused;
}
.p3-firm-chip {
  padding: 8px 16px;
  border: 2px solid #cbd5e1;
  border-radius: 999px;
  color: #1e293b;
  white-space: nowrap;
  background: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}
.p3-chip-name {
  font-size: 0.88rem;
  font-weight: 800;
}
.p3-chip-count {
  font-size: 0.76rem;
  font-weight: 800;
  color: #1d4ed8;
  background: #eff6ff;
  border-radius: 999px;
  padding: 4px 9px;
  line-height: 1;
}
.p3-firm-chip:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}
.p3-firm-chip:hover .p3-chip-count {
  background: #dbeafe;
  color: #1d4ed8;
}
@keyframes slideFirms {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.p3-sort-wrap { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.p3-sort-wrap select { border: 1px solid #e2e8f0; background: #f8fafc; padding: 6px 12px; border-radius: 6px; font-weight: 500; }

/* List View Support */
.p3-grid-v2.p3-list-view {
  grid-template-columns: 1fr !important;
}
.p3-grid-v2.p3-list-view .p3-card-v2 {
  flex-direction: row !important;
  height: auto !important;
  min-height: 160px;
}
.p3-grid-v2.p3-list-view .p3-card-media {
  width: 200px !important;
  height: 200px !important;
  flex-shrink: 0;
}
.p3-grid-v2.p3-list-view .p3-card-body {
  flex: 1;
  padding: 20px;
}

.p3-view-toggle button {
  background: none;
  border: 0;
  font-size: 1.4rem;
  color: #cbd5e1;
  cursor: pointer;
  padding: 5px;
  line-height: 1;
  transition: color 0.2s;
}
.p3-view-toggle button:hover, .p3-view-toggle button.active {
  color: #1e293b;
}

.p3-grid-v2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.p3-card-v2 { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; display: flex; flex-direction: column; }
.p3-card-v2:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.05); }
.p3-card-media { position: relative; aspect-ratio: 1/1; background: #fff; padding: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.p3-ribbon-diagonal {
  position: absolute;
  top: 10px;
  right: -35px;
  background: #f59e0b; /* Golden Premium */
  color: #fff;
  padding: 5px 40px;
  font-size: 0.7rem;
  font-weight: 800;
  transform: rotate(45deg);
  z-index: 5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  letter-spacing: 0.05em;
}
.p3-card-media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.p3-tag-sponsored {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e3a8a; /* Deep Premium Blue */
  color: #fff;
  text-align: center;
  padding: 6px 0;
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  z-index: 2;
}
.p3-card-body { padding: 16px; }
.p3-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.p3-card-title a { color: #1e293b; text-decoration: none; }
.p3-card-price { display: flex; flex-direction: column; gap: 2px; }
.p3-old-price { font-size: 0.85rem; color: #94a3b8; text-decoration: line-through; }
.p3-new-price { font-size: 1.2rem; font-weight: 800; color: #1e293b; }
@media (max-width: 1024px) { .p3-container { grid-template-columns: 1fr; } .p3-sidebar { position: static; margin-bottom: 24px; } }
@media (max-width: 640px) { .p3-grid-v2 { grid-template-columns: 1fr 1fr; gap: 16px; } .p3-card-body { padding: 12px; } .p3-new-price { font-size: 1.1rem; } }
/* --- Premium Cards V3 (Compact & Logo-centric) --- */
/* --- Premium Cards V3 (Standardized & Premium) --- */
.premium-card-v3 {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 0 0 auto;
  width: 320px;
  margin: 0;
}
.premium-card-v3:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-color: rgba(37,99,235,0.25);
}
.premium-card-v3 .card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 74px;
}
.premium-card-v3 .firm-logo {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.04);
}
.premium-card-v3 .firm-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.premium-card-v3 .logo-placeholder {
  font-size: 24px;
  color: #94a3b8;
}
.premium-card-v3 .firm-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* Left align name and sector */
  text-align: left;
}
.premium-card-v3 .name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-bottom: 2px;
  width: 100%; /* Ensure it takes full width of meta */
}
.premium-card-v3 .name {
  font-size: 14px;
  font-weight: 800;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: none;
  flex: 1;
  margin: 0;
  padding: 0;
}
.premium-card-v3 .badge-premium-mini {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  text-transform: uppercase;
}
.premium-card-v3 .sector {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  padding: 0;
  opacity: 0.8;
}


/* --- Blog Detail Redesign V3 (Phase 11) --- */
.blog-detail-v3 { background: #fff; min-height: 100vh; font-family: 'Inter', sans-serif; }
.blog-container-v3 { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

/* Full Page Hero */
.hero-blog-v3 { 
  background: #fff; 
  min-height: calc(100vh - 80px); /* Adjust for header if exists */
  display: flex;
  align-items: center;
  position: relative;
  padding: 60px 0;
}
.hero-grid-v3 { 
  display: grid; 
  grid-template-columns: 1.2fr 1fr; 
  gap: 60px; 
  align-items: center; 
  width: 100%;
}

.hero-blog-info .category-badge { background: #1e293b; color: #fff; padding: 6px 14px; border-radius: 6px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 24px; display: inline-block; }
.hero-blog-info h1 { font-family: 'Syne', sans-serif; font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 900; line-height: 1.1; color: #0f172a; margin-bottom: 32px; }

.author-meta-v3 { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; }
.author-avatar-v3 { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #f1f5f9; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.author-avatar-v3 img { width: 100%; height: 100%; object-fit: cover; }
.author-meta-info { display: flex; flex-direction: column; gap: 4px; }
.author-name-v3 { font-weight: 700; color: #1e293b; font-size: 1rem; }
.blog-meta-stats { display: flex; gap: 12px; font-size: 0.85rem; color: #64748b; font-weight: 500; }
.blog-meta-stats span { display: flex; align-items: center; gap: 6px; }

.blog-social-shares { display: flex; gap: 12px; }
.social-btn-circle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: center; color: #475569; text-decoration: none; transition: all 0.2s; font-size: 1.1rem; }
.social-btn-circle:hover { background: #f8fafc; color: #1e293b; border-color: #cbd5e1; transform: translateY(-2px); }

.hero-blog-media { border-radius: 40px 40px 40px 0; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.08); aspect-ratio: 16/11; }
.hero-blog-media img { width: 100%; height: 100%; object-fit: cover; }

/* Scroll Indicator */
.scroll-indicator-v3 {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: opacity 0.3s;
}
.mouse-icon {
  width: 26px;
  height: 42px;
  border: 2px solid #cbd5e1;
  border-radius: 20px;
  position: relative;
}
.mouse-wheel {
  width: 4px;
  height: 8px;
  background: #2563eb;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseWheel 1.5s infinite;
}
@keyframes mouseWheel {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 24px; }
}

/* Main Content Layout (Two Column Grid Restored) */
.blog-grid-v3 { 
  display: grid; 
  grid-template-columns: 320px minmax(0, 1fr); 
  gap: 80px; 
  padding: 40px 0 100px; /* Reduced top padding from 100px to 40px */
  align-items: start;
}

/* Sticky TOC Box Style (Phase 12) */
.toc-sticky-container { position: sticky; top: 40px; }
.toc-sidebar-v3 { 
  background: #fff; 
  border: 1px solid #f1f5f9; 
  border-radius: 24px; 
  padding: 32px; 
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}
.toc-title { 
  display: inline-block;
  background: #ccfbf1; 
  color: #0f172a; 
  font-size: 1rem; 
  font-weight: 800; 
  text-transform: none; 
  letter-spacing: normal; 
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 24px; 
}
.toc-list-v3 { 
  list-style: none; 
  padding: 24px 0 0; 
  margin: 0; 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
  border-top: 1px solid #f1f5f9;
}
.toc-item-v3 a { 
  color: #475569; 
  text-decoration: none; 
  font-size: 0.95rem; 
  font-weight: 700; 
  transition: all 0.2s; 
  display: block; 
  line-height: 1.4;
  padding-left: 0;
}
.toc-item-v3 a:hover { color: #06b6d4; }
.toc-item-v3.active a { color: #06b6d4; padding-left: 20px; border-left: 3px solid #06b6d4; margin-left: -32px; }

/* Content Styling */
.blog-main-content { font-size: 1.2rem; line-height: 1.9; color: #334155; }
.blog-main-content h2 { font-family: 'Syne', sans-serif; font-size: 2.4rem; font-weight: 800; color: #0f172a; margin: 80px 0 32px; line-height: 1.2; scroll-margin-top: 50px; }
.blog-main-content p { margin-bottom: 32px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-blog-v3 { padding: 40px 0; height: auto; min-height: auto; }
  .hero-grid-v3 { grid-template-columns: 1fr; gap: 40px; }
  .hero-blog-info { order: 2; text-align: center; }
  .hero-blog-media { order: 1; border-radius: 20px; }
  .hero-blog-info .category-badge { margin: 0 auto 24px; display: table; }
  .author-meta-v3 { justify-content: center; }
  .blog-social-shares { justify-content: center; }
  .blog-grid-v3 { grid-template-columns: 1fr; gap: 40px; }
  .toc-sticky-container { display: none; }
  .scroll-indicator-v3 { display: none; }
}

/* --- Product Detail V3 (Modern & B2B) --- */
.product-detail-v3 {
  background: #fff;
  font-family: 'Inter', sans-serif;
}

.p_detail_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Split Hero Section */
.p3_hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  padding: 0 0 40px; 
  align-items: stretch; /* EQUAL COLUMN HEIGHTS */
}

/* Gallery Side */
.p3_gallery_wrap {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
}
.p3_thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p3_thumb_item {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  border: 2px solid #f1f5f9;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s;
  background: #fff;
  padding: 0;
}
.p3_thumb_item.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}
.p3_thumb_item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p3_main_img_wrap {
  background: #f8fafc;
  border-radius: 40px;
  padding: 40px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f5f9;
  position: relative;
}
.p3_main_img_wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Info Side */
.p3_info_wrap .brand_badge {
  background: #f1f5f9;
  color: #475569;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: inline-block;
}
.p3_info_wrap h1 {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 24px;
}
.p3_short_desc {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 32px;
}

.p3_price_area {
  background: #eff6ff;
  border-radius: 20px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}
.p3_current_price {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #2563eb;
}
.p3_price_unit {
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
  opacity: 0.8;
}

.p3_b2b_stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  padding-top: 10px;
}
.b2b_stat_item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.b2b_stat_icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.1rem;
  opacity: 0.7;
}
.b2b_stat_label {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  margin-bottom: 1px;
}
.b2b_stat_value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
}

/* Minimalist Purchase Section */
.p3_purchase_minimal {
  margin-top: auto; /* PUSH TO BOTTOM */
  margin-bottom: 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 24px;
}
.p3_price_label_v6 {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}
.p3_price_row_v6 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.p3_price_v6 {
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.p3_price_unit_v6 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #94a3b8;
}

.p3_metric_v7 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.p3_metric_label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.p3_metric_value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.p3_hero_actions_new {
  display: flex;
  gap: 12px;
  align-items: center;
}

.p3_hero_actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.p3_hero_btn_main {
  height: 58px;
  padding: 0 40px;
  border-radius: 16px;
  background: #2563eb;
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.p3_hero_btn_main:hover {
  background: #1d4ed8;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(37,99,235,0.25);
}
.p3_hero_btn_compare {
  height: 58px;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.p3_hero_btn_compare:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-2px);
}

/* Secondary Grid Content */
.p3_content_grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  padding: 80px 0;
  border-top: 1px solid #f1f5f9;
}

/* Tabs or Sections */
.p3_section_title {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.p3_text_body {
  font-size: 1.15rem;
  line-height: 2;
  color: #334155;
  margin-bottom: 60px;
}
.p3_text_body > *:first-child { margin-top: 0; }
.p3_text_body > *:last-child { margin-bottom: 0; }
.p3_text_body p,
.p3_text_body ul,
.p3_text_body ol,
.p3_text_body table,
.p3_text_body blockquote {
  margin: 0 0 1.25rem;
}
.p3_text_body h1,
.p3_text_body h2,
.p3_text_body h3,
.p3_text_body h4,
.p3_text_body h5,
.p3_text_body h6 {
  margin: 2rem 0 0.85rem;
  line-height: 1.3;
  color: #0f172a;
}
.p3_text_body ul,
.p3_text_body ol {
  padding-left: 1.4rem;
}
.p3_text_body li + li {
  margin-top: 0.35rem;
}
.p3_text_body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.6;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}
.p3_text_body th,
.p3_text_body td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}
.p3_text_body thead th {
  background: #f8fafc;
  font-weight: 800;
  color: #0f172a;
}
.p3_text_body tbody tr:nth-child(even) {
  background: #fcfdff;
}
.p3_text_body blockquote {
  padding: 1rem 1.2rem;
  border-left: 4px solid #2563eb;
  background: #f8fafc;
  color: #475569;
}
.p3_text_body a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Technical Specs Table */
.spec_table_v3 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 60px;
}
.spec_table_v3 tr:nth-child(even) { background: #f8fafc; }
.spec_table_v3 td {
  padding: 16px 24px;
  border-bottom: 1px solid #f1f5f9;
}
.spec_label {
  width: 40%;
  font-weight: 700;
  color: #64748b;
  font-size: 0.95rem;
}
.spec_value {
  font-weight: 800;
  color: #1e293b;
  font-size: 0.95rem;
}

/* Sidebar & Sticky Form */
.p3_side_sticky {
  position: sticky;
  top: 40px;
}

.premium_rfq_card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.06);
}
.rfq_header_v3 {
  background: #1e293b;
  padding: 32px;
  color: #fff;
}
.rfq_header_v3 h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rfq_header_v3 p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.rfq_body_v3 {
  padding: 32px;
}
.p3_form_group {
  margin-bottom: 20px;
}
.p3_form_label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.p3_form_control {
  width: 100%;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.2s;
  color: #1e293b;
}
.p3_form_control:focus {
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.08);
  outline: none;
}

.p3_submit_btn {
  width: 100%;
  padding: 18px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  margin-top: 10px;
}
.p3_submit_btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,99,235,0.25);
}

/* Firm Profile Widget */
.p3_firm_card {
  margin-top: 32px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 24px;
  border: 1px solid #f1f5f9;
}
.p3_firm_top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.p3_firm_logo_sm {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 6px;
  object-fit: contain;
}
.p3_firm_name_sm {
  font-weight: 800;
  color: #0f172a;
  font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .p3_hero { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .p3_gallery_wrap { grid-template-columns: 1fr; }
  .p3_thumbs { flex-direction: row; justify-content: center; order: 2; }
  .p3_main_img_wrap { order: 1; }
  .p3_info_wrap h1 { font-size: 2.2rem; }
  .p3_price_area { justify-content: center; }
  .p3_content_grid { grid-template-columns: 1fr; }
  .p_detail_container { padding: 0 20px; }
}


/* --- Product Detail V3 (Blog-Style Refinement) --- */
.hero-product-v3 {
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
  padding-top: 0; 
  padding-bottom: 20px;
  position: relative;
  background: #fff;
  overflow: hidden;
  border-bottom: 1px solid #f1f5f9;
}

.hero-product-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.product-hero-info {
  display: flex;
  flex-direction: column;
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-hero-media {
  position: relative;
  animation: slideLeft 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.p3_hero_actions {
  margin-bottom: 40px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.p3_hero_btn_main {
  padding: 16px 32px;
  border-radius: 14px;
  background: #2563eb;
  color: #fff;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  text-decoration: none;
}
.p3_hero_btn_main:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37,99,235,0.2);
}
.p3_hero_btn_compare {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.p3_hero_btn_compare:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b;
}
.p3_hero_btn_whatsapp {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #25d366;
  color: #fff !important;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
  text-decoration: none;
}
.p3_hero_btn_whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3);
}

.p3_gallery_v4 {
  display: flex;
  gap: 24px;
}
.p3_thumbs {
  width: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p3_main_img_v4 {
  flex: 1;
}

.p3_main_img_v4 {
  background: #f8fafc;
  border-radius: 40px;
  padding: 40px; 
  width: 540px;
  height: 540px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f5f9;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.03);
}
.p3_single_image_v4 {
  width: 100%;
  display: flex;
  justify-content: center;
}
.p3_single_image_v4 .p3_main_img_v4 {
  max-width: 100%;
  padding: 40px; 
}

/* Header Row Alignment */
.p3_hero_header_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.p3_main_img_v4 img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Hero firm mini card */
.p3_hero_firm_mini {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  width: fit-content;
}
.p3_firm_logo_xs {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  object-fit: contain;
}
.p3_hero_firm_text {
  display: flex;
  flex-direction: column;
}
.p3_hero_firm_label {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.p3_hero_firm_name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1e293b;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}
.p3_hero_firm_name i {
  font-size: 0.7rem;
  color: #3b82f6;
}

/* Price Area V5 */
.p3_price_area_v5 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  padding: 16px 24px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(37,99,235,0.1);
  border: 1px solid rgba(37,99,235,0.1);
  text-align: left;
  animation: fadeIn 0.8s ease-out;
}
.p3_price_label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}
.p3_current_price_v5 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: #1e293b;
  line-height: 1;
}
.p3_price_unit_v5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  margin-top: 5px;
  display: block;
}

/* Hero Actions */
.p3_hero_actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}
.p3_hero_btn_main {
  flex: 1;
  max-width: 260px;
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s;
}
.p3_hero_btn_main:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37,99,235,0.15);
}
.p3_hero_btn_compare {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.p3_hero_btn_compare:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

/* Mirroring the Sidebar to the Left */
.product-content-grid-v3 {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  padding: 80px 0;
}

.rfq-sidebar-sticky {
  position: sticky;
  top: 40px;
  height: fit-content;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-product-v3 { height: auto; min-height: auto; padding: 60px 0; }
  .hero-product-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .product-content-grid-v3 { grid-template-columns: 1fr; gap: 40px; }
  .p3_gallery_v4 { grid-template-columns: 1fr; }
  .p3_thumbs { flex-direction: row; justify-content: center; order: 2; }
  .p3_main_img_v4 { order: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}
