/* whichforceplates — styles for product, compare, about and blog pages */
.product-card h3 a { color: inherit; text-decoration: none; }
.product-card h3 a:hover { color: var(--blue); }
.compare-chip.on { background: var(--blue); color: #fff; }

.page-section { padding: 70px 0 90px; }
.btn-ghost { background: var(--white); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* compare bar */
.compare-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); color: #fff; padding: 14px 0; transform: translateY(110%); transition: transform .25s ease; box-shadow: 0 -10px 40px rgba(0,0,0,.2); }
.compare-bar.show { transform: none; }
.compare-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.compare-bar-items { display: flex; gap: 8px; flex-wrap: wrap; }
.compare-pill { background: var(--navy-2); border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: 6px 8px 6px 14px; font-size: 14px; }
.compare-pill button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 16px; margin-left: 4px; }
.compare-bar-actions { display: flex; gap: 10px; align-items: center; }
.compare-msg { color: #ffd27a; font-size: 14px; }

/* product detail */
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 40px; align-items: start; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.detail-main h2, .alt-title { font-size: 26px; margin: 0 0 18px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 15px; vertical-align: top; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 600; background: var(--soft); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-note { color: var(--muted); font-size: 13px; margin-top: 14px; line-height: 1.6; }
.side-card { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.side-card .btn { width: 100%; justify-content: center; text-align: center; }
.side-price { font-size: 34px; font-weight: 800; color: var(--text); }
.side-price-note { color: var(--muted); font-size: 13px; margin-top: -10px; margin-bottom: 6px; }
.alt-title { margin-top: 60px; }
.alt-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.alt-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.alt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.alt-card .brand-pill { position: static; display: inline-block; margin-bottom: 10px; }
.alt-card h3 { margin: 0 0 8px; font-size: 18px; }
.alt-card p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0 0 12px; }
.alt-card strong { color: var(--blue); }

/* compare page */
.compare-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.compare-controls select { padding: 12px 16px; border: 1px solid var(--border); border-radius: 12px; font: inherit; min-width: 280px; background: var(--white); }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; vertical-align: top; }
.compare-table tbody th { color: var(--muted); font-weight: 600; background: var(--soft); width: 180px; }
.compare-table thead th { vertical-align: bottom; }
.compare-table thead a { display: block; font-size: 17px; font-weight: 700; color: var(--text); text-decoration: none; margin: 8px 0; }
.compare-table .brand-pill { position: static; display: inline-block; }
.compare-table .rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; padding: 0; text-decoration: underline; }
.empty-state { text-align: center; padding: 60px 20px; background: var(--soft); border-radius: var(--radius); }
.empty-state h2 { margin-top: 0; }
.empty-state p { color: var(--muted); }

/* about + blog */
.prose { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: 28px; margin: 44px 0 14px; line-height: 1.25; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p, .prose li { color: #2a3342; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { color: var(--blue); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 18px 0; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.prose th { background: var(--soft); }
.callout { background: var(--soft); border-left: 4px solid var(--blue); padding: 18px 22px; border-radius: 10px; margin: 26px 0; }
.post-meta { color: var(--muted); font-size: 14px; margin-bottom: 30px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card .eyebrow { margin-bottom: 14px; align-self: flex-start; }
.blog-card h3 { font-size: 21px; margin: 0 0 10px; line-height: 1.3; }
.blog-card p { color: var(--muted); line-height: 1.6; flex: 1; }
.blog-card span.read { color: var(--blue); font-weight: 700; margin-top: 10px; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin: 30px 0; }
.value-card { background: var(--soft); border-radius: var(--radius); padding: 24px; }
.value-card h3 { margin: 0 0 8px; font-size: 18px; }
.value-card p { margin: 0; font-size: 15px; color: var(--muted); }

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .alt-grid, .blog-grid, .values-grid { grid-template-columns: 1fr; }
  .compare-controls select { min-width: 0; width: 100%; }
}
/* small brand labels outside product cards */
.compare-table .brand-pill, .alt-card .brand-pill { position: static; transform: none; inset: auto; display: inline-block; font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: .02em; padding: 6px 10px; margin: 0 0 8px; border-radius: 999px; background: rgba(7,134,216,.1); color: var(--blue); box-shadow: none; }
/* buttons on new pages (style.css hides .btn-small on mobile) */
.page-section .btn:not(.btn-outline):not(.btn-primary), .compare-bar .btn { display: inline-flex; padding: 13px 22px; font-size: 15px; background: var(--blue); color: #fff; text-decoration: none; border: 0; box-shadow: 0 10px 22px rgba(7,134,216,.22); }
.page-section .btn:not(.btn-outline):not(.btn-primary):hover, .compare-bar .btn:hover { background: var(--blue-dark); }
.page-section .btn.btn-ghost:not(.btn-outline):not(.btn-primary), .compare-bar .btn.btn-ghost { background: var(--white); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.page-section .btn.btn-ghost:not(.btn-outline):not(.btn-primary):hover { border-color: var(--blue); color: var(--blue); background: var(--white); }
.compare-bar .btn.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.compare-table .btn { padding: 9px 14px !important; font-size: 13px !important; }
@media (max-width: 600px) { .compare-bar-actions { width: 100%; } .compare-bar-actions .btn { flex: 1; justify-content: center; } }
/* language switch */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); margin-left: auto; margin-right: 14px; }
.lang-switch button { border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--muted); padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.lang-switch button.on { background: var(--blue); color: #fff; }
.mobile-nav .lang-switch { margin: 12px 0 0; }
/* unified product visuals */
.plate-visual { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 14px;
  background: radial-gradient(120% 90% at 50% 15%, #ffffff 0%, #eef4fb 55%, #dfe9f5 100%); }
.plate-visual::before { content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: linear-gradient(rgba(7,134,216,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(7,134,216,.07) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle at 50% 55%, #000 30%, transparent 75%); mask-image: radial-gradient(circle at 50% 55%, #000 30%, transparent 75%); }
.plate-visual::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 12%; height: 14px; border-radius: 50%; background: rgba(7,17,29,.16); filter: blur(9px); }
.plate-visual img { position: relative; z-index: 1; max-width: 86%; max-height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s ease; }
.plate-visual.noimg::after { display: none; }
.plate-visual.noimg { background: linear-gradient(135deg, var(--navy) 0%, #0b3b63 100%); }
.product-image { position: relative; }
.product-image .plate-visual.in-card { position: absolute; inset: 0; border-radius: inherit; }
.product-image .compare-chip, .product-image .brand-pill { z-index: 2; }
.product-card:hover .plate-visual img, .alt-card:hover .plate-visual img { transform: scale(1.05) translateY(-2px); }
.plate-visual.hero-visual { height: 320px; margin-bottom: 28px; border: 1px solid var(--border); }
.plate-visual.mini { height: 120px; margin-bottom: 12px; }
.compare-table .plate-visual.mini { height: 110px; min-width: 150px; }
@media (max-width: 900px) { .plate-visual.hero-visual { height: 230px; } }
/* card brand label */
.product-image .brand-pill { position: absolute !important; left: 14px !important; bottom: 12px !important; top: auto !important; right: auto !important; transform: none !important; margin: 0 !important;
  font-size: 11px !important; line-height: 1 !important; padding: 6px 10px !important; border-radius: 999px !important; background: rgba(255,255,255,.92) !important; color: var(--navy) !important; box-shadow: 0 4px 12px rgba(7,17,29,.08) !important; letter-spacing: .04em; min-width: 0 !important; width: auto !important; height: auto !important; }
.product-image { min-height: 200px; }
/* scrollable filters */
@media (min-width: 901px) {
  .filters-panel { position: sticky; top: 92px; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; align-self: flex-start; }
  .filters-panel::-webkit-scrollbar { width: 6px; }
  .filters-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 6px; }
}
.lang-switch { flex-shrink: 0; }