/* Informācijas lapa (info.php) */
:root { --bg: #f8fafc; --text: #09090b; --card: #fff; --border: rgba(9, 9, 11, .1); --soft: rgba(9, 9, 11, .045); --blue: #2563eb; --muted: rgba(9, 9, 11, .64); }
@media (prefers-color-scheme: dark) { :root { --bg: #050506; --text: #fafafa; --card: #0d0d10; --border: rgba(255, 255, 255, .1); --soft: rgba(255, 255, 255, .06); --muted: rgba(250, 250, 250, .64); --blue: #60a5fa; } }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ip { margin: 0; background: var(--bg); color: var(--text); font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.6; }
a { color: inherit; }
.ip-nav { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(14px); }
.ip-nav-in { display: flex; align-items: center; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 10px 16px; }
.ip-logo { margin-right: auto; font-size: 19px; font-weight: 800; letter-spacing: -.03em; text-decoration: none; }
.ip-logo span { color: var(--blue); }
.ip-links { display: none; gap: 4px; }
.ip-links a { padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; text-decoration: none; opacity: .7; }
.ip-links a:hover { opacity: 1; background: var(--soft); }
.ip-cart { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 99px; background: #2563eb; color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }
.ip-cart svg { width: 18px; height: 18px; }
.ip-cart b { min-width: 22px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 99px; background: rgba(255, 255, 255, .22); font-size: 12px; }
.ip-cart.has-items b { background: #fff; color: #2563eb; }

.ip-wrap { max-width: 1200px; margin: 0 auto; padding: 22px 16px 60px; }
.ip-crumbs { margin: 0 0 14px; font-size: 12px; color: var(--muted); }
.ip-crumbs a { text-decoration: none; }
.ip-head h1 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 46px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.ip-head p { margin: 0; max-width: 640px; color: var(--muted); font-size: 16px; }
.ip-grid { display: grid; gap: 18px; margin-top: 24px; }
.ip-tabs { display: flex; gap: 6px; padding: 5px; overflow-x: auto; scrollbar-width: none; border: 1px solid var(--border); border-radius: 16px; background: var(--card); }
.ip-tabs::-webkit-scrollbar { display: none; }
.ip-tab { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 0; border-radius: 12px; background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 700; white-space: nowrap; cursor: pointer; opacity: .7; transition: background .15s, opacity .15s; }
.ip-tab svg { width: 18px; height: 18px; flex: 0 0 auto; }
.ip-tab:hover { opacity: 1; background: var(--soft); }
.ip-tab.active { background: #2563eb; color: #fff; opacity: 1; box-shadow: 0 8px 20px rgba(37, 99, 235, .25); }

.ip-main { min-width: 0; padding: 22px 18px; border: 1px solid var(--border); border-radius: 22px; background: var(--card); }
.ip-panel { display: none; }
.ip-panel.active { display: block; animation: ip-in .2s ease; }
@keyframes ip-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ip-panel > h2 { margin: 0 0 4px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.ip-lead { margin: 0 0 20px; color: var(--muted); }
.ip-facts { display: grid; gap: 10px; margin: 0 0 24px; }
.ip-fact { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--soft); }
.ip-fact svg { width: 26px; height: 26px; flex: 0 0 auto; color: var(--blue); }
.ip-fact strong { display: block; font-size: 17px; font-weight: 800; line-height: 1.2; }
.ip-fact span { font-size: 13px; color: var(--muted); }
.ip-sec { padding: 20px 0; border-top: 1px solid var(--border); scroll-margin-top: 80px; }
.ip-sec:first-of-type { border-top: 0; padding-top: 4px; }
.ip-sec h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.ip-sec p { margin: 0 0 10px; font-size: 15.5px; color: color-mix(in srgb, var(--text) 82%, transparent); }
.ip-sec p:last-child { margin-bottom: 0; }
.ip-sec ul { margin: 0 0 10px; padding-left: 20px; font-size: 15.5px; color: color-mix(in srgb, var(--text) 82%, transparent); }
.ip-sec li { margin-bottom: 4px; }
.ip-note { margin: 12px 0 0; padding: 12px 14px; border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0; background: var(--soft); font-size: 14.5px; }
.ip-table { width: 100%; margin: 6px 0 10px; border-collapse: collapse; font-size: 14.5px; }
.ip-table th, .ip-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.ip-table th { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ip-consent { display: grid; gap: 12px; margin-top: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: var(--soft); }
.ip-consent small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ip-consent strong { font-size: 16px; font-weight: 800; }
.ip-consent-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ip-btn { min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: #2563eb; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.ip-btn:hover { filter: brightness(1.08); }
.ip-btn.danger { background: transparent; color: #dc2626; border: 1px solid rgba(220, 38, 38, .35); }
.ip-msg { margin: 0; font-size: 13px; font-weight: 700; color: #16a34a; }
.ip-msg[hidden] { display: none; }
.ip-faq details { border-top: 1px solid var(--border); padding: 4px 0; }
.ip-faq details:first-of-type { border-top: 0; }
.ip-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; list-style: none; font-size: 16px; font-weight: 700; cursor: pointer; }
.ip-faq summary::-webkit-details-marker { display: none; }
.ip-faq summary::after { content: '+'; flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); font-size: 18px; transition: transform .2s; }
.ip-faq details[open] summary::after { transform: rotate(45deg); }
.ip-faq details p { margin: 0 0 14px; font-size: 15.5px; color: color-mix(in srgb, var(--text) 82%, transparent); }
.ip-seller { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: var(--soft); font-size: 14px; }
.ip-seller b { display: block; margin-bottom: 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ip-foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); text-align: center; }
.ip-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding: 18px; border-radius: 18px; background: rgba(37, 99, 235, .08); align-items: center; justify-content: space-between; }
.ip-contact strong { font-size: 17px; }
.ip-contact p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.ip-contact a.ip-btn { display: inline-flex; align-items: center; text-decoration: none; }

@media (min-width: 768px) {
    .ip-links { display: flex; }
    .ip-nav-in { padding: 12px 28px; }
    .ip-wrap { padding: 28px 28px 80px; }
    .ip-facts { grid-template-columns: repeat(3, 1fr); }
    .ip-main { padding: 34px 38px; }
}
@media (min-width: 1024px) {
    .ip-grid { grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
    .ip-tabs { position: sticky; top: 86px; flex-direction: column; padding: 8px; overflow: visible; }
    .ip-tab { padding: 12px 14px; }
}
@media (max-width: 420px) { .ip-cart span { display: none; } }
@media (prefers-reduced-motion: reduce) { .ip-panel.active { animation: none; } html { scroll-behavior: auto; } }
