/* ==========================================================================
   Product page components (shared by every product page)
   ========================================================================== */
:root { --accent: #0067b8; --accent-dark: #004f8c; --accent-light: #e8f2fb; }

p strong { color: inherit !important; font-size: inherit !important; }

/* ── Header breadcrumb ── */
#breadcrumb-alt .breadcrumb { background: none; padding: 8px 0; font-size: 13px; margin: 0; }

/* ── Product header ── */
.pp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pp-badge { padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.pp-badge.blue   { background: #e8f2fb; color: #004f8c; }
.pp-badge.green  { background: #e8f5e9; color: #2e7d32; }
.pp-badge.orange { background: #fff8e1; color: #b26a00; }
#single-product h1.title { font-size: 24px; font-weight: 700; color: #1a1a1a; margin: 0 0 6px; line-height: 1.3; }
.pp-rating { text-align: center; margin-top: 10px; font-size: 14px; }
.pp-rating .stars { color: #f5a623; font-size: 16px; }
.pp-secure { font-size: 12px; color: #555; text-align: center; margin-top: 8px; }

/* ── Features box under image ── */
.features-box { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; padding: 12px 10px; font-size: 13px; font-weight: 600; text-align: center; margin-top: 10px; }
.features-box span { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; color: #444; }
.features-box i { font-size: 18px; color: var(--accent); }
@media (max-width: 600px) { .features-box { flex-wrap: wrap; gap: 10px; } .features-box span { flex-basis: 45%; } }

/* ── Tab content ── */
.tab-content-inner { padding: 24px 0; }
/* px, not rem: Bootstrap 3 sets html { font-size: 10px } */
.tab-content-inner h2 { font-size: 20px; font-weight: 700; color: #1a1a1a; margin: 28px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--accent); text-transform: none; }
.tab-content-inner h3 { font-size: 16px; font-weight: 700; color: #333; margin: 20px 0 8px; }
.tab-content-inner p { color: #444; line-height: 1.7; font-size: 14px; }

/* ── Licence type cards ── */
.licence-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.licence-card { background: #fff; border: 2px solid #e6e6e6; border-radius: 10px; padding: 20px 18px; }
.licence-card.featured { border-color: var(--accent); }
.licence-card h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; color: #1a1a1a; }
.licence-card ul { padding-left: 18px; font-size: 13px; color: #555; line-height: 1.8; margin: 0; }
.licence-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 700; margin-bottom: 10px; background: #f0f0f0; color: #555; }
.licence-card.featured .licence-badge { background: var(--accent-light); color: var(--accent); }
@media (max-width: 600px) { .licence-grid { grid-template-columns: 1fr; } }

/* ── Feature cards ── */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0; }
.feature-card { background: #fff; border: 1px solid #e6e6e6; border-radius: 10px; padding: 18px 14px; transition: box-shadow .2s; }
.feature-card:hover { box-shadow: 0 4px 16px rgba(0, 103, 184, .12); }
.feature-card .fc-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.feature-card .fc-icon i { font-size: 20px; color: var(--accent); }
.feature-card h3 { font-size: 14px; font-weight: 700; margin: 0 0 6px; color: #1a1a1a; }
.feature-card p { font-size: 13px; color: #555; margin: 0; line-height: 1.5; }
@media (max-width: 992px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }

/* ── Numbered steps ── */
.steps-list { counter-reset: step; list-style: none; padding: 0; margin: 20px 0; }
.steps-list li { counter-increment: step; display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; padding: 14px 16px; background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; }
.steps-list li::before { content: counter(step); min-width: 32px; height: 32px; background: var(--accent); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.steps-list li div strong { display: block; margin-bottom: 4px; color: #1a1a1a; }
.steps-list li div span { font-size: 13px; color: #555; }

/* ── Tables (compare / requirements / range) ── */
.pp-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.pp-table th { background: var(--accent); color: #fff; padding: 10px 14px; text-align: left; }
.pp-table th.hl { background: var(--accent-dark); }
.pp-table td { padding: 9px 14px; border-bottom: 1px solid #f0f0f0; color: #333; }
.pp-table tr:nth-child(even) td { background: #fafafa; }
.pp-table td.hl, .pp-table tr.current td { background: var(--accent-light); font-weight: 600; color: var(--accent-dark); }
.pp-table .yes { color: #28a745; font-weight: 700; }
.pp-table .no { color: #dc3545; }
.pp-table a { color: var(--accent); }
.table-scroll { overflow-x: auto; }

/* ── Info / warning box ── */
.pp-note { background: #fff3cd; border-left: 4px solid #f5a623; border-radius: 6px; padding: 10px 14px; margin-bottom: 18px; font-size: 13px; color: #7a5800; }
.pp-note a { color: #7a5800; text-decoration: underline; }

/* ── Video ── */
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 10px; margin: 20px 0; }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── FAQ accordion ── */
.faq-list { margin: 20px 0; }
.faq-item { border: 1px solid #e6e6e6; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.faq-question { width: 100%; padding: 14px 18px; background: #fff; border: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 14px; color: #1a1a1a; text-align: left; }
.faq-question:hover { background: var(--accent-light); }
.faq-question .faq-toggle { color: var(--accent); font-size: 18px; transition: transform .25s; font-weight: 700; flex-shrink: 0; }
.faq-question[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); }
.faq-answer { padding: 0 18px 14px; font-size: 13px; color: #555; line-height: 1.6; background: #fff; }

/* ── Range cards (other editions) ── */
.range-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0; }
.range-card { border: 2px solid #e0e0e0; border-radius: 10px; padding: 16px 12px; text-align: center; background: #fff; transition: all .2s; }
.range-card:hover { border-color: var(--accent); box-shadow: 0 4px 12px rgba(0, 103, 184, .1); }
.range-card.active { border-color: var(--accent); background: var(--accent-light); }
.range-card .rc-name { font-size: 13px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.range-card .rc-price { font-size: 18px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.range-card a.rc-btn { display: block; padding: 7px; border-radius: 6px; font-size: 12px; font-weight: 700; text-decoration: none; background: var(--accent); color: #fff; }
.range-card a.rc-btn:hover { background: var(--accent-dark); }
@media (max-width: 768px) { .range-grid { grid-template-columns: repeat(2, 1fr); } }
