/* MKK3D veikals — UX uzlabojumi sākumlapai (sākuma bloks, uzticības signāli, katalogs, skeletoni, groza josla). */

/* ---------- Sākuma bloks ---------- */
.store-hero { padding-top: 112px; padding-bottom: 56px; }
@media (min-width: 768px) { .store-hero { padding-top: 168px; padding-bottom: 88px; } }
.store-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.store-hero-eyebrow svg { width: 14px; height: 14px; }
.store-hero-title {
    margin: 0 auto 16px;
    max-width: 860px;
    color: #fff;
    font-size: clamp(34px, 7vw, 76px);
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: 1.02;
    text-wrap: balance;
}
.store-hero-lead {
    max-width: 620px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 500;
    line-height: 1.5;
    text-wrap: pretty;
}
.store-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.store-hero-cta {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 26px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.01em;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.store-hero-cta svg { width: 18px; height: 18px; }
.store-hero-cta:active { transform: scale(.98); }
.store-hero-cta.is-primary { color: #fff; background: #2563eb; box-shadow: 0 12px 30px rgba(37, 99, 235, .45); }
.store-hero-cta.is-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.store-hero-cta.is-ghost { color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.store-hero-cta.is-ghost:hover { background: rgba(255, 255, 255, .2); }
@media (max-width: 639px) {
    .store-hero-actions { flex-direction: column; align-items: stretch; max-width: 360px; margin: 0 auto; }
}

/* Uzticības signāli */
.store-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin: 26px auto 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
    font-weight: 600;
}
.store-trust li, .store-trust a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.store-trust a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.store-trust svg { width: 16px; height: 16px; color: #93c5fd; }
.store-trust b { color: #fff; font-weight: 800; }
.store-trust-stars { color: #fbbf24; letter-spacing: 1px; }
@media (max-width: 639px) {
    .store-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 380px; text-align: left; font-size: 12px; }
    .store-trust li:first-child { grid-column: 1 / -1; justify-content: center; }
}

/* ---------- Katalogs ---------- */
.store-catalog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 36px; margin-bottom: 16px; }
.store-catalog-head h1, .store-catalog-head h2 { margin: 0; font-size: clamp(26px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.store-catalog-head p { margin: 6px 0 0; font-size: 15px; opacity: .65; }
@media (min-width: 768px) { .store-catalog-head { margin-top: 56px; } }
.store-btn-icon { width: 14px; height: 14px; display: inline-block; flex: 0 0 auto; margin-right: 4px; vertical-align: -2px; }
.sort-btn { display: inline-flex; align-items: center; }
.store-badge-icon { width: 12px; height: 12px; display: inline-block; margin-right: 4px; vertical-align: -1px; }

/* Produktu skeletons */
.store-skel-card { display: grid; gap: 10px; padding: 10px 10px 14px; border: 1px solid var(--border); border-radius: 26px; background: var(--card-bg); }
@media (max-width: 639px) { .store-skel-card.is-desktop-only { display: none; } }
.store-skel {
    display: block;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(127, 127, 127, .14) 0%, rgba(127, 127, 127, .06) 50%, rgba(127, 127, 127, .14) 100%);
    background-size: 200% 100%;
    animation: store-skel-shimmer 1.3s ease-in-out infinite;
}
.store-skel.is-media { aspect-ratio: 1 / 1; border-radius: 20px; }
.store-skel.is-line { height: 12px; margin-inline: 6px; }
.store-skel.is-w40 { width: 40%; } .store-skel.is-w60 { width: 60%; } .store-skel.is-w80 { width: 80%; }
.store-skel.is-button { height: 44px; margin: 6px 6px 0; border-radius: 12px; }
@keyframes store-skel-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ---------- Groza josla telefonā ---------- */
.store-cart-bar {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 55;
    display: none;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding: 8px 8px 8px 16px;
    border: 0;
    border-radius: 18px;
    color: #fff;
    background: #111827;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    text-align: left;
    cursor: pointer;
    /* Paslēpta josla pilnībā aiz ekrāna malas — arī iPhone ar drošības atstarpi apakšā. */
    transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom, 0px)));
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .25s;
}
@media (prefers-color-scheme: dark) { .store-cart-bar { background: #f8fafc; color: #0f172a; } }
.store-cart-bar.is-visible { transform: none; visibility: visible; pointer-events: auto; transition: transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
/* Kamēr grozs vai produkta logs ir atvērts, dāvanas poga netraucē. */
body.cart-open #openWheelBubble { display: none !important; }
.store-cart-bar-count { min-width: 30px; height: 30px; display: grid; place-items: center; padding: 0 8px; border-radius: 15px; color: #fff; background: #2563eb; font-size: 14px; font-weight: 900; }
.store-cart-bar-text { min-width: 0; flex: 1; display: grid; line-height: 1.2; }
.store-cart-bar-text small { font-size: 12px; font-weight: 600; opacity: .7; }
.store-cart-bar-text strong { font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.store-cart-bar-cta { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 12px; color: #fff; background: #2563eb; font-size: 14px; font-weight: 800; }
.store-cart-bar-cta svg { width: 16px; height: 16px; }
@media (max-width: 767px) {
    .store-cart-bar { display: flex; }
    body.has-cart-bar { padding-bottom: 84px; }
    body.has-cart-bar #openWheelBubble { bottom: calc(92px + env(safe-area-inset-bottom, 0px)) !important; }
}

@media (prefers-reduced-motion: reduce) {
    .store-skel { animation: none; }
    .store-cart-bar { transition: none; }
}

/* ---------- Kompaktas produktu kartītes ---------- */
.store-card-compact .store-card-variants { display: none; }
.store-card-variant-count { margin: -6px 0 10px; color: #2563eb; font-size: 13px; font-weight: 700; }
@media (prefers-color-scheme: dark) { .store-card-variant-count { color: #93c5fd; } }
.store-card-compact[data-has-variants="1"] .store-card-qty { display: none; }
.store-card-compact[data-has-variants="1"] .store-card-actions { grid-template-columns: minmax(0, 1fr); }
.store-card-compact[data-has-variants="1"] .store-card-hidden-add { display: none; }
.store-card-choose {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: #2563eb;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .15s ease, transform .1s ease;
}
.store-card-choose:hover { background: #1d4ed8; }
.store-card-choose:active { transform: scale(.98); }
.store-card-compact .store-card-desc { margin-bottom: 12px; }

/* ---------- Produkta logs: variantu izvēle, piegāde ---------- */
.pm-variants { display: grid; gap: 10px; margin-bottom: 18px; }
.pm-variants[hidden] { display: none; }
.pm-section-label { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.pm-section-label span { margin-left: 6px; font-weight: 600; opacity: .6; }
.pm-variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-variant {
    min-width: 0;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 5px;
    border: 2px solid rgba(127, 127, 127, .25);
    border-radius: 14px;
    color: inherit;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: border-color .12s ease, background-color .12s ease;
}
.pm-variant:hover { border-color: rgba(37, 99, 235, .55); }
.pm-variant.is-selected { border-color: #2563eb; background: rgba(37, 99, 235, .1); }
.pm-variant img { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; background: rgba(127, 127, 127, .15); }
.pm-variant small { display: block; font-size: 11px; font-weight: 600; opacity: .65; }
.pm-delivery { display: grid; gap: 6px; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: rgba(34, 197, 94, .1); font-size: 13px; font-weight: 600; line-height: 1.4; }
.pm-delivery div { display: flex; align-items: center; gap: 8px; }
.pm-delivery svg { width: 16px; height: 16px; flex: 0 0 auto; color: #16a34a; }
#productModal { overscroll-behavior: contain; }

/* ---------- Groza noformēšanas soļi ---------- */
.cart-steps { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 12px; font-weight: 700; }
.cart-steps li { display: inline-flex; align-items: center; gap: 6px; opacity: .5; }
.cart-steps li.is-current { opacity: 1; }
.cart-steps li b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(127, 127, 127, .25); font-size: 11px; }
.cart-steps li.is-current b { color: #fff; background: #2563eb; }
.cart-steps li:not(:last-child)::after { content: ''; width: 18px; height: 2px; margin-left: 2px; border-radius: 2px; background: rgba(127, 127, 127, .3); }
.cart-trust { display: grid; gap: 6px; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(127, 127, 127, .08); font-size: 12px; font-weight: 600; line-height: 1.4; }
.cart-trust div { display: flex; align-items: center; gap: 8px; }
.cart-trust svg { width: 15px; height: 15px; flex: 0 0 auto; color: #2563eb; }
.cart-ship-hint { margin: 4px 0 0; font-size: 12px; font-weight: 600; opacity: .7; }

/* ======================================================================
   Produkta logs: fiksēts augstums, bilde ietilpst pilnībā, saturs ritinās,
   iegādes josla vienmēr redzama.
   ====================================================================== */
.pm-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 12, 22, .7); backdrop-filter: blur(5px); overscroll-behavior: contain; }
.pm-overlay.flex { display: flex; animation: pm-fade .2s ease; }
.pm-overlay.hidden { display: none; }
@keyframes pm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pm-pop { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes pm-sheet { from { transform: translateY(100%); } to { transform: none; } }
.pm-dialog { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); width: min(1000px, 100%); height: min(660px, calc(100dvh - 48px)); overflow: hidden; border-radius: 24px; color: #09090b; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); animation: pm-pop .25s cubic-bezier(.2, .8, .2, 1); }
@media (prefers-color-scheme: dark) { .pm-dialog { color: #fafafa; background: #0d0d10; border: 1px solid rgba(255, 255, 255, .1); } }
.pm-close { position: absolute; top: 14px; right: 14px; z-index: 6; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(127, 127, 127, .25); border-radius: 50%; color: inherit; background: rgba(255, 255, 255, .9); color: #09090b; cursor: pointer; transition: transform .15s; }
.pm-close:hover { transform: scale(1.06); }

/* Bilde */
.pm-media { position: relative; min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: #f3f4f6; }
@media (prefers-color-scheme: dark) { .pm-media { background: #131316; } }
.pm-stage { position: relative; min-height: 0; overflow: hidden; touch-action: pan-y; }
.pm-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.pm-badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; }
.pm-badges:empty { display: none; }
.pm-badges span { padding: 6px 12px; border-radius: 99px; background: #e11d48; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pm-arrow { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #09090b; font-size: 26px; line-height: 1; padding-bottom: 3px; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.pm-arrow[hidden], .pm-count[hidden] { display: none; }
.pm-prev { left: 12px; } .pm-next { right: 12px; }
.pm-count { position: absolute; right: 14px; bottom: 12px; padding: 3px 10px; border-radius: 99px; background: rgba(9, 9, 11, .6); color: #fff; font-size: 12px; font-weight: 700; }
.pm-thumbs { display: flex; justify-content: center; gap: 8px; padding: 0 16px 16px; overflow-x: auto; scrollbar-width: none; }
.pm-thumbs[hidden] { display: none; }
.pm-thumbs::-webkit-scrollbar { display: none; }
.pm-thumbs button { flex: 0 0 auto; width: 60px; height: 60px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 12px; background: #fff; cursor: pointer; opacity: .65; transition: opacity .15s, border-color .15s; }
.pm-thumbs button.is-active { border-color: #2563eb; opacity: 1; }
.pm-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Saturs */
.pm-body { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.pm-head { flex: 0 0 auto; padding: 26px 64px 14px 28px; }
.pm-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 10px; }
.pm-chip { padding: 4px 10px; border-radius: 99px; background: rgba(37, 99, 235, .12); color: #2563eb; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pm-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.pm-stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pm-stock.is-in { color: #16a34a; } .pm-stock.is-pre { color: #d97706; } .pm-stock.is-out { color: #dc2626; }
.pm-stock[hidden], .pm-sold[hidden] { display: none; }
.pm-sold { font-size: 13px; font-weight: 600; opacity: .6; }
.pm-title { margin: 0 0 8px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; overflow-wrap: anywhere; }
.pm-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; color: #2563eb; font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.pm-price small, .pm-price .line-through { font-size: 16px; font-weight: 700; color: inherit; opacity: .5; text-decoration: line-through; }
.pm-scroll { min-height: 0; flex: 1; padding: 6px 28px 14px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border-top: 1px solid rgba(127, 127, 127, .15); }
.pm-scroll > :first-child { margin-top: 16px; }
.pm-variants { display: grid; gap: 8px; margin: 0 0 16px; }
.pm-variants[hidden] { display: none; }
.pm-section-label { margin: 0; font-size: 14px; font-weight: 800; }
.pm-section-label span { margin-left: 4px; font-weight: 600; opacity: .6; }
.pm-variant-list { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; scroll-snap-type: x proximity; }
.pm-variant-list::-webkit-scrollbar { display: none; }
.pm-variant { flex: 0 0 auto; max-width: 240px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border: 2px solid rgba(127, 127, 127, .25); border-radius: 16px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; scroll-snap-align: start; transition: border-color .15s, background .15s; }
.pm-variant:hover { border-color: rgba(37, 99, 235, .55); }
.pm-variant.is-selected { border-color: #2563eb; background: rgba(37, 99, 235, .08); }
.pm-variant img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; background: rgba(127, 127, 127, .15); }
.pm-variant span { font-size: 13px; font-weight: 800; line-height: 1.2; }
.pm-variant small { display: block; font-size: 12px; font-weight: 600; opacity: .65; }
.pm-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.pm-specs:empty { display: none; }
.pm-specs > div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(127, 127, 127, .09); }
.pm-specs span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .5; }
.pm-specs strong { font-size: 15px; font-weight: 800; }
.pm-trust { display: grid; gap: 8px; margin: 0 0 16px; padding: 14px; list-style: none; border-radius: 14px; background: rgba(127, 127, 127, .09); font-size: 13px; font-weight: 600; }
.pm-trust li { display: flex; align-items: flex-start; gap: 10px; }
.pm-trust svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 1px; color: #16a34a; }
.pm-block { margin: 0 0 16px; padding: 0; background: transparent; }
.pm-block.hidden { display: none; }
.pm-block-label { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .5; }
.pm-desc { margin: 0; font-size: 15px; line-height: 1.65; white-space: pre-line; opacity: .85; }
.pm-desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.pm-more { margin-top: 4px; padding: 4px 0; border: 0; background: none; color: #2563eb; font-size: 14px; font-weight: 700; cursor: pointer; }
.pm-more[hidden] { display: none; }
.pm-page-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 8px; padding: 12px 16px; border: 1px solid rgba(127, 127, 127, .3); border-radius: 14px; color: inherit; font-size: 14px; font-weight: 700; text-decoration: none; transition: border-color .2s, color .2s; }
.pm-page-link svg { width: 16px; height: 16px; }
.pm-page-link:hover { border-color: #2563eb; color: #2563eb; }
.pm-page-link[hidden] { display: none; }

/* Iegāde */
.pm-actions { flex: 0 0 auto; display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 10px; padding: 14px 28px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(127, 127, 127, .2); background: inherit; box-shadow: 0 -10px 24px rgba(0, 0, 0, .06); }
.pm-qty { display: flex; align-items: stretch; overflow: hidden; border: 1px solid rgba(127, 127, 127, .3); border-radius: 14px; }
.pm-qty button { width: 40px; border: 0; color: inherit; background: transparent; font-size: 22px; font-weight: 700; cursor: pointer; }
.pm-qty button:hover:not(:disabled) { background: rgba(127, 127, 127, .15); }
.pm-qty button:disabled { opacity: .3; cursor: default; }
.pm-qty input { width: 100%; min-width: 0; border: 0 !important; color: inherit; background: transparent !important; font-size: 17px; font-weight: 800; text-align: center; -moz-appearance: textfield; outline: none; }
.pm-add { min-height: 54px; border: 0; border-radius: 14px; color: #fff; background: #2563eb; font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 22px rgba(37, 99, 235, .3); transition: background-color .15s, transform .1s; }
.pm-add:hover:not(:disabled) { background: #1d4ed8; }
.pm-add:active:not(:disabled) { transform: scale(.98); }
.pm-add:disabled { background: #a1a1aa; box-shadow: none; cursor: not-allowed; }
.pm-add.is-ok { background: #16a34a; }

@media (max-width: 767px) {
    .pm-overlay { align-items: flex-end; padding: 0; }
    .pm-dialog { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 32dvh) minmax(0, 1fr); width: 100%; height: 92dvh; border-radius: 22px 22px 0 0; animation: pm-sheet .3s cubic-bezier(.2, .8, .2, 1); }
    .pm-dialog::before { content: ''; position: absolute; top: 7px; left: 50%; z-index: 5; width: 38px; height: 4px; margin-left: -19px; border-radius: 4px; background: rgba(9, 9, 11, .3); }
    .pm-close { top: 10px; right: 10px; width: 38px; height: 38px; }
    .pm-stage img { padding: 8px; }
    .pm-arrow { display: none; }
    .pm-badges { top: 14px; left: 12px; }
    .pm-thumbs { justify-content: flex-start; padding: 0 12px 8px; }
    .pm-thumbs button { width: 46px; height: 46px; border-radius: 10px; }
    .pm-head { padding: 14px 16px 10px; }
    .pm-title { font-size: 21px; }
    .pm-price { font-size: 26px; }
    .pm-scroll { padding: 4px 16px 10px; }
    .pm-actions { grid-template-columns: 108px minmax(0, 1fr); padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .pm-dialog, .pm-overlay.flex { animation: none; } }

/* ======================================================================
   Sākumlapas jaunais dizains (sx-*)
   ====================================================================== */
:root { --store-nav-h: 61px; }
.store-nav-link { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .55; transition: opacity .15s ease, color .15s ease; }
.store-nav-link:hover, .store-nav-link.is-current { opacity: 1; }
.store-nav-link.is-current { color: #2563eb; }
.store-menu-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: inherit; background: transparent; cursor: pointer; }
.store-menu-btn svg { width: 22px; height: 22px; }
.store-menu { position: fixed; top: var(--store-nav-h); left: 0; right: 0; z-index: 49; display: grid; padding: 8px 12px 14px; border-bottom: 1px solid var(--border); background: var(--bg); box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.store-menu[hidden] { display: none; }
.store-menu a { display: block; padding: 14px 12px; border-radius: 12px; font-size: 16px; font-weight: 700; }
.store-menu a:active { background: rgba(37, 99, 235, .12); }

/* Hero */
.sx-hero { padding: 96px 16px 28px; background: radial-gradient(900px 420px at 85% -10%, rgba(37, 99, 235, .18), transparent 60%), radial-gradient(700px 360px at 0% 10%, rgba(168, 85, 247, .12), transparent 60%); }
.sx-hero-inner { display: grid; gap: 24px; max-width: 1280px; margin: 0 auto; }
.sx-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--card-bg); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sx-eyebrow svg { width: 14px; height: 14px; color: #2563eb; }
.sx-hero h1 { margin: 0 0 14px; font-size: clamp(32px, 6.4vw, 64px); font-weight: 900; letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.sx-lead { max-width: 560px; margin: 0 0 22px; font-size: clamp(16px, 1.8vw, 19px); line-height: 1.55; opacity: .75; text-wrap: pretty; }
.sx-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sx-btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 24px; border: 1px solid transparent; border-radius: 16px; font-size: 15px; font-weight: 800; letter-spacing: -.01em; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.sx-btn svg { width: 18px; height: 18px; }
.sx-btn:active { transform: scale(.98); }
.sx-btn.is-primary { color: #fff; background: #2563eb; box-shadow: 0 12px 28px rgba(37, 99, 235, .35); }
.sx-btn.is-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.sx-btn.is-ghost { border-color: var(--border); background: var(--card-bg); }
.sx-btn.is-ghost:hover { border-color: rgba(37, 99, 235, .5); }
.sx-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; }
.sx-trust li, .sx-trust a { display: inline-flex; align-items: center; gap: 6px; }
.sx-trust a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sx-trust svg { width: 16px; height: 16px; color: #2563eb; }
.sx-stars { color: #f59e0b; letter-spacing: 1px; }
.sx-hero-collage { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
.sx-hero-collage::-webkit-scrollbar { display: none; }
.sx-tile { position: relative; display: block; scroll-snap-align: start; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid var(--border); border-radius: 20px; background: var(--card-bg); }
.sx-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sx-tile:hover img { transform: scale(1.05); }
.sx-tile-label { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 10px; border-radius: 12px; color: #fff; background: rgba(9, 9, 11, .62); backdrop-filter: blur(8px); font-size: 12px; }
.sx-tile-label b { overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.sx-tile-label i { flex: 0 0 auto; font-style: normal; font-weight: 800; }
@media (min-width: 1024px) {
    .sx-hero { padding: 128px 32px 44px; }
    .sx-hero-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; }
    .sx-hero-collage { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); overflow: visible; }
    .sx-tile.is-large { grid-row: span 2; aspect-ratio: auto; }
    .sx-tile:not(.is-large) { aspect-ratio: 1 / .78; }
}
@media (max-width: 639px) {
    .sx-hero-actions { flex-direction: column; }
    .sx-hero-actions .sx-btn { width: 100%; }
}

/* Priekšrocību josla */
.sx-benefits { max-width: 1280px; margin: 0 auto; padding: 0 16px 8px; }
.sx-benefits ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.sx-benefits li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 16px; background: var(--card-bg); }
.sx-benefits li > svg { width: 22px; height: 22px; flex: 0 0 auto; color: #2563eb; }
.sx-benefits b { display: block; font-size: 13px; font-weight: 800; }
.sx-benefits span { display: block; font-size: 12px; line-height: 1.35; opacity: .65; }
@media (min-width: 900px) { .sx-benefits { padding-inline: 32px; } .sx-benefits ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }

/* Katalogs: lipīgas kolekcijas */
section:has(> .shop-filter-shell #filter-container) { position: sticky; top: calc(var(--store-nav-h) + 6px); z-index: 35; }
section:has(> .shop-filter-shell #filter-container) .shop-filter-shell { backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 88%, transparent); }
@media (max-width: 767px) { .collections-label { display: none; } }

/* Sadaļas */
.sx-section { max-width: 1280px; margin: 0 auto; padding: 36px 16px; }
@media (min-width: 900px) { .sx-section { padding: 56px 32px; } }
.sx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.sx-section-head h2, .sx-seo h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: -.035em; line-height: 1.08; }
.sx-section-head p { margin: 6px 0 0; font-size: 14px; opacity: .75; }
.sx-link { display: inline-flex; align-items: center; gap: 6px; color: #2563eb; font-size: 14px; font-weight: 800; white-space: nowrap; }
.sx-link svg { width: 16px; height: 16px; }
.sx-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.sx-review-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 768px) { .sx-review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sx-review-grid.is-all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sx-review-grid.is-all { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sx-review-card { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--border); border-radius: 20px; background: var(--card-bg); }
.sx-review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sx-review-top b { font-size: 14px; font-weight: 800; }
.sx-review-card p { margin: 0; font-size: 15px; line-height: 1.55; opacity: .85; }
.sx-review-card small { margin-top: auto; font-size: 12px; font-weight: 700; opacity: .5; }
.sx-review-image { display: block; width: 100%; margin: 0 0 6px; padding: 0; overflow: hidden; border: 0; border-radius: 14px; cursor: zoom-in; }
.sx-review-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sx-empty { padding: 30px; text-align: center; opacity: .6; }

.sx-cta-banner { display: grid; gap: 18px; padding: 28px 24px; border-radius: 28px; color: #fff; background: linear-gradient(135deg, #1e3a8a, #2563eb 60%, #7c3aed); box-shadow: 0 24px 50px rgba(37, 99, 235, .25); }
.sx-cta-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.sx-cta-banner h2 { margin: 0 0 10px; font-size: clamp(24px, 3.2vw, 36px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; }
.sx-cta-banner p:not(.sx-cta-eyebrow) { margin: 0; max-width: 620px; font-size: 15px; line-height: 1.55; opacity: .88; }
.sx-cta-actions { display: grid; gap: 12px; align-content: center; justify-items: start; }
.sx-cta-banner .sx-btn.is-primary { color: #1d4ed8; background: #fff; box-shadow: none; }
.sx-link-light { color: #fff; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; opacity: .9; }
@media (min-width: 900px) { .sx-cta-banner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 40px 44px; } }
.sx-seo { max-width: 860px; padding-top: 8px; }
.sx-seo h2 { font-size: 20px; }
.sx-seo p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; opacity: .6; }

/* Atsevišķās lapas */
.sx-page-head { max-width: 1280px; margin: 0 auto; padding: 96px 16px 8px; }
.sx-page-head h1 { margin: 10px 0 8px; font-size: clamp(28px, 4.4vw, 46px); font-weight: 900; letter-spacing: -.04em; line-height: 1.05; }
.sx-page-head p { max-width: 640px; margin: 0; font-size: 16px; line-height: 1.55; opacity: .7; }
.sx-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; opacity: .65; }
.sx-back:hover { opacity: 1; }
.sx-back svg { width: 16px; height: 16px; }
@media (min-width: 1024px) { .sx-page-head { padding: 128px 32px 8px; } }
.sx-rating-summary { display: grid; gap: 18px; align-items: center; margin-bottom: 20px; padding: 22px; border: 1px solid var(--border); border-radius: 24px; background: var(--card-bg); }
.sx-rating-score { display: grid; justify-items: start; gap: 2px; }
.sx-rating-score strong { font-size: 56px; font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.sx-rating-score small { font-size: 13px; font-weight: 700; opacity: .6; }
.sx-rating-bars { display: grid; gap: 6px; }
.sx-rating-bars div { display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.sx-rating-bars i { height: 8px; overflow: hidden; border-radius: 8px; background: rgba(127, 127, 127, .2); }
.sx-rating-bars b { display: block; height: 100%; border-radius: inherit; background: #f59e0b; }
.sx-rating-bars em { font-style: normal; opacity: .6; text-align: right; }
@media (min-width: 800px) { .sx-rating-summary { grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; padding: 28px 34px; } }

@media (prefers-reduced-motion: reduce) { .sx-tile img, .sx-btn { transition: none; } }

/* ===== Grozs (drawer) ===== */
.cart-backdrop { position: fixed; inset: 0; z-index: 59; background: rgba(0, 0, 0, .5); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
body.cart-open .cart-backdrop { opacity: 1; visibility: visible; }
.cart-drawer { background: var(--bg) !important; height: 100dvh; max-width: 100vw; }
.cart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); flex: 0 0 auto; }
.cart-head-title { display: flex; align-items: center; gap: 10px; }
.cart-head-title svg { width: 22px; height: 22px; color: #2563eb; }
.cart-head-title h2 { margin: 0; font-size: 20px; font-weight: 900; letter-spacing: -.01em; text-transform: uppercase; }
.cart-head-count { min-width: 24px; height: 24px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 99px; background: #2563eb; color: #fff; font-size: 12px; font-weight: 800; }
.cart-head-actions { display: flex; align-items: center; gap: 6px; }
.cart-ghost-btn { padding: 8px 10px; border: 0; border-radius: 10px; background: transparent; color: inherit; font-size: 12px; font-weight: 700; opacity: .55; cursor: pointer; }
.cart-ghost-btn:hover { opacity: 1; background: var(--card-bg); }
.cart-close { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--card-bg); color: inherit; cursor: pointer; transition: color .2s, background .2s; }
.cart-close svg { width: 18px; height: 18px; }
.cart-close:hover { color: #ef4444; }
.cart-steps-nav { margin: 0; padding: 12px 18px; border-bottom: 1px solid var(--border); flex: 0 0 auto; }
.cart-steps-nav li { opacity: 1; }
.cart-steps-nav li button { display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px; border: 0; background: transparent; color: inherit; font: inherit; opacity: .5; cursor: pointer; }
.cart-steps-nav li.is-current button { opacity: 1; }
.cart-steps-nav li:not(:last-child)::after { width: 28px; }
.cart-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 14px 16px 20px; }
.cart-body > [class*="rounded-2xl"] { margin: 0 0 12px; }
.cart-pane[hidden] { display: none; }
.cart-list { display: grid; gap: 10px; }
.cart-item { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 18px; background: var(--card-bg); }
.cart-item-thumb { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: var(--input-bg); display: grid; place-items: center; color: #71717a; }
.cart-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-thumb svg { width: 28px; height: 28px; }
.cart-item-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cart-item-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.cart-item-title { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.3; word-break: break-word; }
.cart-item-remove { flex: 0 0 auto; width: 32px; height: 32px; margin: -4px -4px 0 0; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: inherit; opacity: .45; cursor: pointer; }
.cart-item-remove svg { width: 17px; height: 17px; }
.cart-item-remove:hover { opacity: 1; color: #ef4444; background: rgba(239, 68, 68, .1); }
.cart-badges { display: flex; flex-wrap: wrap; gap: 5px; }
.cart-badge { padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; background: rgba(127, 127, 127, .15); }
.cart-badge.is-sale { background: #e11d48; color: #fff; }
.cart-badge.is-hot { background: #f97316; color: #fff; }
.cart-badge.is-info { background: rgba(37, 99, 235, .15); color: #2563eb; }
.cart-badge.is-warn { background: rgba(245, 158, 11, .18); color: #b45309; }
.cart-item-note { font-size: 12px; font-weight: 600; opacity: .8; }
.cart-item-note.is-ok { color: #16a34a; }
.cart-item-note.is-warn { color: #b45309; }
.cart-pers { display: grid; gap: 4px; font-size: 12px; font-weight: 700; }
.cart-pers span { color: #2563eb; }
.cart-pers input { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--input-bg); color: inherit; font-size: 14px; outline: none; }
.cart-pers input:focus { border-color: #2563eb; }
.cart-pers input.is-missing { border-color: rgba(239, 68, 68, .6); }
.cart-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 12px; background: var(--input-bg); }
.cart-qty button { width: 36px; height: 36px; border: 0; background: transparent; color: inherit; font-size: 18px; font-weight: 800; cursor: pointer; border-radius: 12px; }
.cart-qty button:hover:not(:disabled) { color: #2563eb; }
.cart-qty button:disabled { opacity: .3; cursor: not-allowed; }
.cart-qty span { min-width: 26px; text-align: center; font-size: 14px; font-weight: 800; }
.cart-item-price { text-align: right; line-height: 1.2; }
.cart-item-price small { display: block; font-size: 11px; font-weight: 600; opacity: .55; }
.cart-item-price strong { font-size: 17px; font-weight: 900; color: #2563eb; }
.cart-nudge { margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; background: rgba(37, 99, 235, .1); border: 1px solid rgba(37, 99, 235, .25); font-size: 13px; font-weight: 600; }
.cart-nudge[hidden] { display: none; }
.cart-nudge p { margin: 0 0 8px; }
.cart-nudge-bar { height: 6px; border-radius: 99px; background: rgba(37, 99, 235, .18); overflow: hidden; }
.cart-nudge-bar i { display: block; height: 100%; border-radius: 99px; background: #2563eb; transition: width .4s; }
.cart-promo { margin-top: 14px; padding: 14px; border: 1px dashed var(--border); border-radius: 16px; }
.cart-promo[hidden] { display: none; }
.cart-promo label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; color: #2563eb; text-transform: uppercase; letter-spacing: .06em; }
.cart-promo-row { display: flex; gap: 8px; }
.cart-promo-row input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--input-bg); color: inherit; font-size: 14px; font-weight: 700; outline: none; }
.cart-promo-row input:focus { border-color: #2563eb; }
.cart-promo-row button { padding: 0 18px; border: 0; border-radius: 12px; background: #27272a; color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }
.cart-promo-row button:hover { background: #2563eb; }
.cart-empty { display: grid; justify-items: center; gap: 8px; padding: 56px 16px; text-align: center; }
.cart-empty svg { width: 56px; height: 56px; opacity: .3; }
.cart-empty strong { font-size: 18px; font-weight: 900; }
.cart-empty p { margin: 0; max-width: 260px; font-size: 14px; opacity: .6; }
.cart-empty-btn { margin-top: 10px; padding: 12px 22px; border-radius: 14px; background: #2563eb; color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.cart-foot { flex: 0 0 auto; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: var(--bg); box-shadow: 0 -12px 28px rgba(0, 0, 0, .12); display: grid; gap: 8px; }
.cart-foot.is-empty .cart-foot-total, .cart-foot.is-empty .cart-ship-hint { display: none; }
.cart-foot-row { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; opacity: .7; }
.cart-foot-row.hidden { display: none; }
.cart-foot-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.cart-foot-label { display: block; font-size: 13px; font-weight: 700; opacity: .65; }
.cart-old-price { font-size: 13px; text-decoration: line-through; opacity: .4; }
.cart-total { font-size: 28px; line-height: 1; font-weight: 900; color: #2563eb; }
.cart-foot .cart-ship-hint, .cart-pay-note { margin: 0; font-size: 12px; text-align: center; }
.cart-pay-note { font-weight: 700; color: #2563eb; }
.cart-cta { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 14px 18px; border: 0; border-radius: 16px; background: #2563eb; color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; box-shadow: 0 10px 24px rgba(37, 99, 235, .3); transition: transform .15s, opacity .2s; }
.cart-cta[hidden], .cart-back[hidden], .cart-pay-note[hidden], .cart-ship-hint[hidden] { display: none; }
.cart-cta svg { width: 18px; height: 18px; }
.cart-cta:active { transform: scale(.98); }
.cart-cta:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.cart-back { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border: 0; background: transparent; color: inherit; font-size: 13px; font-weight: 700; opacity: .6; cursor: pointer; }
.cart-back svg { width: 16px; height: 16px; }
.cart-back:hover { opacity: 1; }
#cart-pane-checkout input[name], #cart-pane-checkout select, #cart-pane-checkout textarea { font-size: 16px; background: var(--input-bg); color: inherit; }
@media (min-width: 640px) {
  .cart-item { grid-template-columns: 88px 1fr; }
  .cart-item-thumb { width: 88px; height: 88px; }
  .cart-body { padding: 18px 22px 24px; }
  .cart-head, .cart-steps-nav, .cart-foot { padding-left: 22px; padding-right: 22px; }
}
@media (max-height: 640px) { .cart-trust, .cart-foot .cart-ship-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .cart-drawer, .cart-backdrop { transition: none !important; } }
.pm-page-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 4px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--card-bg); color: inherit; font-size: 14px; font-weight: 700; text-decoration: none; transition: border-color .2s, color .2s; }
.pm-page-link svg { width: 16px; height: 16px; }
.pm-page-link:hover { border-color: #2563eb; color: #2563eb; }
.pm-page-link[hidden] { display: none; }

/* ===== Pakomātu meklētājs ===== */
.locker-picker { position: relative; display: grid; gap: 6px; }
.locker-picker[hidden], .pickup-info[hidden], .locker-results[hidden], .locker-selected[hidden] { display: none; }
.locker-country { display: flex; gap: 6px; flex-wrap: wrap; }
.locker-country[hidden] { display: none; }
.locker-country button { min-height: 40px; padding: 0 16px; border: 1px solid var(--border); border-radius: 99px; background: var(--input-bg); color: inherit; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.locker-country button.is-active { background: #2563eb; border-color: #2563eb; color: #fff; }
.locker-box { display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--border); border-radius: 16px; background: var(--input-bg); }
.locker-box:focus-within { border-color: #2563eb; }
.locker-box svg { width: 18px; height: 18px; flex: 0 0 auto; opacity: .5; }
.locker-box input { flex: 1; min-width: 0; padding: 15px 0; border: 0; background: transparent; color: inherit; font-size: 16px; outline: none; }
.locker-results { list-style: none; margin: 0; padding: 4px; max-height: 260px; overflow-y: auto; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); box-shadow: 0 14px 32px rgba(0, 0, 0, .18); }
.locker-results button { width: 100%; display: grid; gap: 2px; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.locker-results button:hover, .locker-results button:focus-visible { background: rgba(37, 99, 235, .1); outline: none; }
.locker-results strong { font-size: 14px; font-weight: 800; }
.locker-results span { font-size: 12px; opacity: .65; }
.locker-empty { padding: 14px; font-size: 13px; opacity: .65; }
.locker-selected { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid rgba(37, 99, 235, .35); border-radius: 16px; background: rgba(37, 99, 235, .08); }
.locker-selected div { display: grid; gap: 2px; min-width: 0; }
.locker-selected strong { font-size: 14px; font-weight: 800; }
.locker-selected span { font-size: 12px; opacity: .7; }
.locker-selected button { flex: 0 0 auto; padding: 8px 12px; border: 0; border-radius: 10px; background: var(--card-bg); color: #2563eb; font-size: 13px; font-weight: 800; cursor: pointer; }
.pickup-info { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 16px; background: rgba(22, 163, 74, .1); border: 1px solid rgba(22, 163, 74, .3); font-size: 13px; font-weight: 600; line-height: 1.45; }
.pickup-info svg { width: 20px; height: 20px; flex: 0 0 auto; color: #16a34a; }

/* Kolekciju josla: bez rupjā ritjoslas, ar maigu malu; filamentu lapā nav lipīga */
#filter-container { scrollbar-width: none; -ms-overflow-style: none; }
#filter-container::-webkit-scrollbar { display: none; height: 0; }
@media (max-width: 1023px) { #filter-container { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 24px; } }
section.filter-static:has(> .shop-filter-shell #filter-container) { position: static; }
section.filter-static .shop-filter-shell { backdrop-filter: none; background: var(--card-bg); }

/* Groza poga navigācijā */
.store-cart-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 0; border-radius: 99px; background: #2563eb; color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; box-shadow: 0 6px 16px rgba(37, 99, 235, .3); transition: background .15s, transform .1s; }
.store-cart-pill:hover { background: #1d4ed8; }
.store-cart-pill:active { transform: scale(.96); }
.store-cart-pill svg { width: 18px; height: 18px; }
.store-cart-pill 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; font-weight: 800; }
@media (max-width: 380px) { .store-cart-pill-text { display: none; } }

.pm-share { position: relative; margin-left: auto; }
.pm-share[hidden] { display: none; }
.pm-share-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(127, 127, 127, .3); border-radius: 99px; background: transparent; color: inherit; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .15s, color .15s; }
.pm-share-btn:hover { border-color: #2563eb; color: #2563eb; }
.pm-share-btn svg { width: 16px; height: 16px; }
.share-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; min-width: 190px; padding: 6px; border: 1px solid rgba(127, 127, 127, .25); border-radius: 14px; background: var(--card, var(--bg, #fff)); color: inherit; box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
.share-pop[hidden] { display: none; }
.share-pop button, .share-pop a { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 700; text-align: left; text-decoration: none; cursor: pointer; }
.share-pop button:hover, .share-pop a:hover { background: rgba(37, 99, 235, .1); color: #2563eb; }
@media (max-width: 767px) {
    .pm-head { position: relative; }
    .pm-share { position: absolute; top: 12px; right: 16px; margin: 0; }
    .pm-kicker { padding-right: 48px; min-height: 36px; }
    .pm-share-btn { width: 36px; height: 36px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; }
    .pm-share-btn span { display: none; }
}
@media (max-width: 767px) {
    .share-pop { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); top: auto; z-index: 80; padding: 8px; border-radius: 18px; box-shadow: 0 -8px 40px rgba(0, 0, 0, .35); }
    .share-pop button, .share-pop a { padding: 15px 14px; font-size: 16px; }
}

/* ======================================================================
   Katalogs v2: kompaktas kartītes (2 kolonnas telefonā), cena zem nosaukuma,
   vienots rīku panelis. Attiecas uz precēm un filamentiem.
   ====================================================================== */
.catalog-grid { align-items: stretch; }
#product-grid .store-card { padding: 0 !important; border-radius: 18px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
#product-grid .store-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(37, 99, 235, .14); }
#product-grid .store-card-media { margin: 0 !important; border-radius: 0; aspect-ratio: 1 / 1; }
#product-grid .store-card-media img { transition: transform .5s ease; }
#product-grid .store-card-body { padding: 10px 12px 12px !important; gap: 0; }
#product-grid .store-card-body > * { order: 5; }
#product-grid .store-card-body > .flex.flex-wrap.items-center.gap-1\.5 { order: 1; margin-bottom: 4px; }
#product-grid .store-card-body > .store-card-chips { order: 1; margin-bottom: 2px; }
#product-grid .store-card-body > .store-card-head { order: 2; margin-bottom: 2px; }
#product-grid .store-card-body > .store-card-price { order: 3; }
#product-grid .store-card-body > .store-card-status { order: 4; margin: 4px 0 0; }
#product-grid .store-card-body > .store-card-sold { order: 4; margin: 2px 0 0; }
#product-grid .store-card-body > .store-card-variant-count { order: 4; margin: 2px 0 0; }
#product-grid .store-card-body > .mt-auto, #product-grid .store-card-body > .store-card-actions { order: 9; margin-top: auto; padding-top: 10px; }

/* Nosaukums: 2 rindas, normāls reģistrs */
#product-grid .store-card-title { min-height: 0; margin: 0; font-size: 15px; font-weight: 700; line-height: 1.25; text-transform: none; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#product-grid .store-card-title a { text-decoration: none; }
/* Cena */
#product-grid .store-card-price { margin: 4px 0 0; color: #2563eb; }
#product-grid .store-card-price > span { font-size: 18px !important; font-weight: 800; color: #2563eb !important; letter-spacing: -.01em; }
#product-grid .store-card-price .line-through { font-size: 12px !important; font-weight: 600; opacity: .5; color: inherit; margin-right: 4px; }
#product-grid .store-card-price small.block { font-size: 11px !important; font-weight: 600; opacity: .55; color: inherit !important; }
#product-grid .store-card-price strong { color: #d97706 !important; }
/* Mazsvarīgais paslēpjam (viss ir modālā logā) */
#product-grid .store-card-desc, #product-grid .store-card-thumbs, #product-grid p.store-card-tiers, #product-grid .stock-alert, #product-grid .store-card-qty { display: none !important; }
#product-grid .store-card-actions { grid-template-columns: minmax(0, 1fr) !important; }
/* Mazie čipi */
#product-grid .store-card-chips { gap: 6px; }
#product-grid .store-card-chips .store-chip { padding: 0; border: 0; background: none; font-size: 11px; font-weight: 700; letter-spacing: .04em; opacity: .65; }
#product-grid .store-card-chips .store-chip + .store-chip::before { content: '·'; margin-right: 6px; }
#product-grid .store-card-body > .flex.flex-wrap.items-center.gap-1\.5 span { font-size: 9px; padding: 3px 7px; }
/* Pieejamība filamentiem: viena rinda ar punktu */
#product-grid .filament-status-pill { display: inline-flex; width: auto; padding: 0 !important; border: 0; background: none; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; gap: 6px; justify-content: flex-start; color: #16a34a; }
#product-grid .filament-status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; align-self: center; }
#product-grid .filament-status-pill.is-preorder { color: #d97706; }
#product-grid .filament-status-pill span:last-child { opacity: .75; font-weight: 600; }
#product-grid .store-card.opacity-60 .filament-status-pill { color: #dc2626; }
/* Pārdoti */
#product-grid .store-card-sold { margin-left: 0 !important; font-size: 12px; }
#product-grid .store-card-variant-count { font-size: 12px; font-weight: 600; color: var(--muted, #64748b); opacity: .85; }
/* Sirsniņa uz bildes */
#product-grid .store-card-fav { position: absolute; top: 8px; right: 8px; z-index: 12; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
#product-grid .store-card-fav button { padding: 0 !important; background: none !important; display: grid; place-items: center; }
#product-grid .store-card-fav svg { width: 20px; height: 20px; }
#product-grid .store-card-fav > span { display: none; }
/* Akcijas/izpārdots uz bildes */
#product-grid .store-card > .absolute.top-3.left-3 { top: 8px; left: 8px; }
#product-grid .store-card > .absolute.top-3.left-3 > div { padding: 4px 9px; font-size: 10px; letter-spacing: .06em; border-width: 0; }
/* Pogas */
#product-grid .store-card-add, #product-grid .store-card-choose, #product-grid [id^="filament-btn-"] { min-height: 40px; padding: 0 10px !important; border-radius: 12px; font-size: 13px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; }
#product-grid .store-card-add { background: #2563eb !important; color: #fff !important; }
#product-grid .store-card-add:hover { background: #1d4ed8 !important; }
#product-grid .store-card-choose { background: transparent; color: #2563eb; border: 1.5px solid #2563eb; }
#product-grid .store-card-choose:hover { background: #2563eb; color: #fff; }

/* Skeleton saskaņots */
.store-skel-card { border-radius: 18px; padding: 0 0 12px; overflow: hidden; }
.store-skel.is-media { border-radius: 0; }

/* Rīku panelis: meklēšana + filtri + kolekcijas vienā blokā */
.catalog-tools { margin-bottom: 12px; }
.shop-filter-shell { border-radius: 20px !important; }
#catalog-search { min-height: 46px; padding-top: 0 !important; padding-bottom: 0 !important; }
.catalog-tools .h-12 { height: 46px; }
@media (min-width: 1024px) { .catalog-tools { margin-bottom: 14px; } }

@media (min-width: 640px) {
    #product-grid .store-card-title { font-size: 16px; }
    #product-grid .store-card-body { padding: 12px 14px 14px !important; }
}
@media (min-width: 768px) {
    #product-grid .store-card-price > span { font-size: 20px !important; }
}
@media (max-width: 380px) {
    #product-grid .store-card-title { font-size: 14px; }
    #product-grid .store-card-price > span { font-size: 17px !important; }
}
@media (prefers-color-scheme: dark) {
    #product-grid .store-card-fav { background: rgba(24, 24, 27, .85); }
}

/* Katalogs v2 — papildinājumi */
#product-grid .store-card-variant-count { display: none; }
#product-grid .store-card-body > .flex.flex-wrap.items-center.gap-1\.5 { flex-wrap: nowrap; overflow: hidden; gap: 4px; }
#product-grid .store-card-body > .flex.flex-wrap.items-center.gap-1\.5 > span { white-space: nowrap; letter-spacing: .02em; }
@media (max-width: 639px) { #product-grid .store-card-body > .flex.flex-wrap.items-center.gap-1\.5 > span:nth-child(n+2) { display: none; } }
@media (min-width: 640px) { #product-grid .store-card-body > .flex.flex-wrap.items-center.gap-1\.5 { flex-wrap: wrap; } }
/* Mobilajā kolekciju josla nav lipīga (nepārklāj kartītes) */
@media (max-width: 1023px) { section:has(> .shop-filter-shell #filter-container) { position: static; } .shop-filter-shell { backdrop-filter: none !important; } }

/* Nav lipīgs, kolekciju josla — nē (mazāk lipīgu elementu augšā) */
section:has(> .shop-filter-shell #filter-container) { position: static !important; }
.shop-filter-shell { backdrop-filter: none !important; }

/* Tematiskās sadaļas */
.theme-sections { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.theme-sections-label { padding: 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .55; }
.theme-sections-list { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; opacity: 1 !important; }
.theme-chip em { min-width: 20px; padding: 0 6px; border-radius: 99px; background: rgba(127, 127, 127, .18); font-size: 11px; font-style: normal; font-weight: 800; text-align: center; }
.theme-chip.bg-blue-600 em { background: rgba(255, 255, 255, .25); }
@media (max-width: 767px) {
    .theme-sections-list { flex-wrap: nowrap; overflow-x: auto; margin: 0 -4px; padding: 0 4px 4px; scrollbar-width: none; }
    .theme-sections-list::-webkit-scrollbar { display: none; }
    .theme-chip { flex: 0 0 auto; }
}

.pm-expand { position: absolute; right: 12px; bottom: 12px; z-index: 5; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #09090b; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); cursor: pointer; transition: transform .15s; }
.pm-expand:hover { transform: scale(1.08); }
.pm-expand svg { width: 20px; height: 20px; }
..pm-stage img { cursor: zoom-in; }
.pm-count { right: 62px !important; }

/* Skeleton: kartītes tiek ielādētas ar shimmer, nevis tekstu "Bilde lādējas" */
.store-skel-card { padding: 0 0 12px; display: grid; gap: 10px; }
.store-skel-card .store-skel.is-line { margin-inline: 12px; }
.store-skel-card .store-skel.is-button { margin: 4px 12px 0; }
.store-skel-card.is-desktop-only { display: grid; }
@media (max-width: 639px) { .store-skel-card.is-desktop-only:nth-child(n+5) { display: none; } }
#product-grid .product-image-loader { background: linear-gradient(90deg, rgba(127, 127, 127, .14) 0%, rgba(127, 127, 127, .05) 50%, rgba(127, 127, 127, .14) 100%) !important; background-size: 200% 100% !important; animation: store-skel-shimmer 1.3s ease-in-out infinite; }
#product-grid .product-image-loader svg, #product-grid .product-image-loader [data-loader-text] { display: none; }
#product-grid .store-card-media { background-size: 200% 100%; }

/* Filamentu lapā ģenerālās kolekcijas nav vajadzīgas — palīdz materiālu izvēlne un filtri */
.filter-static .collections-row { display: none; }

/* Navigācija vienmēr pielīp pie loga augšas (bez top fixed elements izkrīt no plūsmas ar nejaušu nobīdi) */
body > nav.fixed { top: 0; left: 0; right: 0; }

/* Navigācija šaurā telefonā: logotips, karodziņš, grozs un izvēlne ietilpst vienā rindā */
#current-lang-flag { flex: 0 0 auto; width: 18px; height: 13px; }
#current-lang-flag svg { display: block; width: 100%; height: 100%; }
body > nav.fixed > a { flex: 0 0 auto; }
@media (max-width: 440px) {
    body > nav.fixed { padding-left: 14px; padding-right: 12px; }
    body > nav.fixed > a { font-size: 19px; }
    body > nav.fixed > div { gap: 8px; }
    #current-lang-name { display: none; }
    .store-cart-pill { min-height: 40px; padding: 0 12px; }
    .store-menu-btn { width: 40px; height: 40px; }
}

/* Filamentu apjoma cenas: skaidri redzamas kartītē */
#product-grid div.store-card-tiers { order: 3; margin: 6px 0 0 !important; gap: 4px !important; align-items: center; }
#product-grid .store-card-tiers .tiers-label { width: 100%; font-size: 11px; font-weight: 700; opacity: .6; }
#product-grid .store-card-tiers > span:not(.tiers-label) { padding: 3px 8px !important; border-radius: 99px !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; white-space: nowrap; }
.pm-tiers { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -8px 0 16px; }
.pm-tiers[hidden] { display: none; }
.pm-tiers .tiers-label { font-size: 13px; font-weight: 700; opacity: .65; margin-right: 2px; }
.pm-tiers > span:not(.tiers-label) { padding: 4px 10px; border-radius: 99px; background: rgba(37, 99, 235, .1); color: #2563eb; font-size: 13px; font-weight: 700; }
#product-grid div.store-card-tiers { display: grid !important; grid-template-columns: 1fr 1fr; }
#product-grid .store-card-tiers .tiers-label { grid-column: 1 / -1; }
#product-grid .store-card-tiers > span:not(.tiers-label) { text-align: center; white-space: normal; line-height: 1.25; }
#product-grid .store-card-tiers .line-through { display: none; }
#product-grid .store-card-tiers > span:not(.tiers-label) { padding: 3px 4px !important; font-size: 11px !important; white-space: nowrap; }

/* Apjoma cenas: sarakstiņš (kreisajā daudzums, labajā cena) */
#product-grid div.store-card-tiers { display: flex !important; flex-direction: column; gap: 2px !important; align-items: stretch; }
#product-grid .store-card-tiers > .tier-row { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0 !important; border-radius: 0 !important; background: none !important; border-bottom: 1px dashed var(--border); font-size: 12px !important; font-weight: 600 !important; color: inherit !important; }
#product-grid .store-card-tiers > .tier-row:last-child { border-bottom: 0; }
#product-grid .store-card-tiers .tier-row em { font-style: normal; opacity: .7; }
#product-grid .store-card-tiers .tier-row b { font-weight: 800; color: #2563eb; }
.pm-tiers { display: grid; gap: 0; max-width: 320px; margin: -6px 0 16px; }
.pm-tiers .tiers-label { margin-bottom: 4px; }
.pm-tiers > .tier-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed rgba(127, 127, 127, .3); background: none; border-radius: 0; color: inherit; font-size: 14px; font-weight: 600; }
.pm-tiers > .tier-row:last-child { border-bottom: 0; }
.pm-tiers .tier-row em { font-style: normal; opacity: .7; }
.pm-tiers .tier-row b { font-weight: 800; color: #2563eb; }
.pm-tiers .tier-row s { margin-right: 6px; opacity: .5; font-weight: 600; }

/* Saglabāt piegādes datus */
.save-details { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 16px; background: var(--card-bg); cursor: pointer; }
.save-details input[type="checkbox"] { width: 22px; height: 22px; margin-top: 1px; flex: 0 0 auto; accent-color: #2563eb; cursor: pointer; }
.save-details > span { flex: 1; min-width: 0; display: grid; gap: 2px; }
.save-details strong { font-size: 14px; font-weight: 800; }
.save-details small { font-size: 12px; line-height: 1.4; opacity: .65; }
.save-details-forget { margin-left: 34px; padding: 0; border: 0; background: none; color: #dc2626; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; text-decoration: underline; }
.save-details-forget[hidden] { display: none; }
.save-details input[type="checkbox"] { -webkit-appearance: none !important; appearance: none !important; display: grid !important; place-content: center; width: 24px !important; height: 24px !important; padding: 0 !important; border: 2px solid rgba(127, 127, 127, .55) !important; border-radius: 7px !important; background: transparent !important; transition: background-color .15s, border-color .15s; }
.save-details input[type="checkbox"]::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px, -1px); opacity: 0; }
.save-details input[type="checkbox"]:checked { border-color: #2563eb !important; background: #2563eb !important; }
.save-details input[type="checkbox"]:checked::after { opacity: 1; }
.save-details input[type="checkbox"]:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.save-details-forget { flex-basis: 100%; margin-left: 36px; text-align: left; }

/* ===== Skeleton: saskatāms gan gaišajā, gan tumšajā režīmā ===== */
:root { --sk-a: #e4e7ec; --sk-b: #f4f5f8; --sk-line: rgba(9, 9, 11, .1); }
@media (prefers-color-scheme: dark) { :root { --sk-a: #1f1f25; --sk-b: #31313a; --sk-line: rgba(255, 255, 255, .14); } }
.store-skel-card { border-color: var(--sk-line) !important; background: var(--card-bg); }
.store-skel { background: linear-gradient(90deg, var(--sk-a) 0%, var(--sk-b) 50%, var(--sk-a) 100%) !important; background-size: 200% 100%; }
#product-grid .product-image-loader { background: linear-gradient(90deg, var(--sk-a) 0%, var(--sk-b) 50%, var(--sk-a) 100%) !important; background-size: 200% 100% !important; }
/* Kartīšu bilžu vieta: shimmer, kamēr bilde vēl nav ielādējusies (animācija beidzas pati) */
#product-grid .store-card-media { background: linear-gradient(90deg, var(--sk-a) 0%, var(--sk-b) 50%, var(--sk-a) 100%); background-size: 200% 100%; animation: store-skel-shimmer 1.3s ease-in-out 8; }
@media (prefers-reduced-motion: reduce) { #product-grid .store-card-media { animation: none; } }

/* Skeleton: pasūtījuma izsekošana, pakomātu meklēšana, promokods */
.track-skel { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--sk-line, var(--border)); border-radius: 18px; background: var(--card-bg); }
.track-skel .store-skel { margin-inline: 0; }
.locker-loading { display: grid; gap: 8px; }
.locker-loading[hidden] { display: none; }
.locker-skel-box { height: 50px; border-radius: 16px; }
.locker-skel { display: grid; gap: 6px; padding: 12px; list-style: none; }
.locker-skel .store-skel { margin: 0; }
.cart-promo-row button.is-loading { opacity: .7; cursor: progress; }

/* Lapas ielādes skeleton (aizstāj iepriekšējo "Notiek ielāde..." ekrānu) */
#loader { align-items: flex-start !important; justify-content: center !important; overflow: hidden; }
.pgs { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.pgs-nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.pgs-logo { width: 150px; height: 22px; }
.pgs-pill { width: 96px; height: 40px; border-radius: 99px; }
.pgs-head { display: grid; gap: 12px; padding: 36px 0 26px; }
.pgs-h1 { width: 62%; max-width: 420px; height: 34px; border-radius: 10px; }
.pgs-sub { width: 45%; max-width: 300px; height: 14px; }
.pgs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pgs-grid .store-skel-card:nth-child(n+5) { display: none; }
@media (min-width: 768px) { .pgs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } .pgs-grid .store-skel-card:nth-child(n+5) { display: grid; } .pgs-grid .store-skel-card:nth-child(n+7) { display: none; } }
@media (min-width: 1100px) { .pgs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .pgs-grid .store-skel-card:nth-child(n+7) { display: grid; } }
@media (min-width: 768px) { .pgs-nav { height: 84px; } .pgs { padding: 0 48px; } }

/* Pele bez ritināšanas žesta (nav touchpad/skārienekrāna): horizontālie saraksti pārlūzt rindās */
@media (hover: hover) and (pointer: fine) {
    .pm-variant-list { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0 6px; }
    .pm-thumbs { flex-wrap: wrap; overflow: visible; justify-content: center; }
    .theme-sections-list { flex-wrap: wrap !important; overflow: visible !important; }
    #filter-container { flex-wrap: wrap; overflow: visible !important; -webkit-mask-image: none !important; mask-image: none !important; padding-right: 0 !important; }
}

/* Akcijas procenti */
.sale-pct { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; background: #e11d48; color: #fff !important; font-size: 12px; font-style: normal; font-weight: 800; letter-spacing: 0; vertical-align: middle; }
#product-grid .store-card-price > span { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; }
.pm-price .sale-pct { font-size: 14px; }

/* ===== Variantu izvēle: krāsa → izmērs ===== */
.vp { display: grid; gap: 14px; }
.vp-step { display: grid; gap: 8px; }
.vp-step[hidden] { display: none; }
.vp-label { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.vp-label span { margin-left: 4px; font-weight: 600; opacity: .6; }
.vp-colors, .vp-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-chip { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border: 2px solid rgba(127, 127, 127, .25); border-radius: 16px; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .12s, background .12s; }
.vp-chip:hover { border-color: rgba(37, 99, 235, .55); }
.vp-chip.is-selected { border-color: #2563eb; background: rgba(37, 99, 235, .1); }
.vp-chip:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.vp-chip strong { display: block; font-size: 14px; font-weight: 800; line-height: 1.2; }
.vp-chip small { display: block; margin-top: 1px; font-size: 12px; font-weight: 600; opacity: .65; }
.vp-color { padding: 6px 14px 6px 6px; }
.vp-color img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 11px; object-fit: cover; background: rgba(127, 127, 127, .15); }
.vp-size { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; min-width: 96px; }
@media (max-width: 640px) {
    .vp-chip { min-height: 52px; }
    .vp-colors { gap: 8px; }
    .vp-size { flex: 1 1 calc(50% - 8px); }
}

.vp-note { margin: 0; font-size: 13px; font-weight: 600; opacity: .7; }
.vp-note[hidden] { display: none; }
