/* PC configurator, stage 3. Phone first (from 360 px). Every selector starts with .pcc : nothing here can touch the shop.
 * The page lives inside the shop layout, whose style sheets set generic rules (* { font-size: 11px }, .centercol button { ... },
 * label { font-weight: 700 } ...). So every rule below is written as ".pcc .pcc-x" (stronger than ".centercol button"), and the
 * block "shop layout guard" puts the plain elements back to what this file expects. */
.pcc-body { margin: 0; background: #f4f5f7; color: #1c2430; font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.pcc-noscroll, .pcc-noscroll body { overflow: hidden; }
.pcc { max-width: 1100px; margin: 0 auto; padding: 12px 12px 24px; box-sizing: border-box; }
.pcc *, .pcc *::before, .pcc *::after { box-sizing: border-box; }
/* shop layout guard */
.pcc { font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: #1c2430; text-align: left; }
.pcc * { font-family: inherit; font-size: inherit; }
.pcc p, .pcc li, .pcc label, .pcc legend, .pcc summary, .pcc strong, .pcc span { font-size: inherit; line-height: inherit; color: inherit; }
.pcc label { font-weight: 400; margin: 0; max-width: none; }
.pcc legend { display: block; width: auto; border: 0; color: inherit; line-height: inherit; }
.pcc ul { margin: 0; padding: 0; list-style: none; }
.pcc button, .pcc input, .pcc select { font-family: inherit; font-size: inherit; line-height: inherit; margin: 0; text-transform: none; letter-spacing: normal; box-shadow: none; }
.pcc input[type=checkbox], .pcc input[type=radio] { margin: 0; }
.pcc h1, .pcc h2 { font-weight: 700; line-height: 1.25; color: inherit; padding: 0; border: 0; text-transform: none; }
/* the shop has sticky bars at the top: what is scrolled into view must not hide under them */
.pcc, .pcc .pcc-results { scroll-margin-top: 72px; }
.pcc h1 { font-size: 1.35rem; margin: 0; }
.pcc h2 { font-size: 1.05rem; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pcc p { margin: 6px 0; }
.pcc a { color: #0b57d0; }

.pcc .pcc-head__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pcc .pcc-langs { font-size: .9rem; white-space: nowrap; }
.pcc .pcc-langs a, .pcc .pcc-langs strong { padding: 6px 4px; display: inline-block; }
.pcc .pcc-desc { color: #46505e; }
.pcc .pcc-note { background: #e9eef6; border-left: 4px solid #5b7bb5; padding: 8px 10px; border-radius: 4px; font-size: .92rem; }
.pcc .pcc-note--warn { background: #fff4d6; border-left-color: #b7791f; }
.pcc .pcc-note--err { background: #fde8e8; border-left-color: #b42318; }
.pcc .pcc-hint { color: #5a6472; font-size: .88rem; }

.pcc .pcc-tabs { display: flex; gap: 6px; margin: 10px 0 4px; }
.pcc .pcc-tab { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 6px 4px; border: 1px solid #b9c1cc; background: #fff; color: #1c2430; border-radius: 8px; font-size: .9rem; font-weight: 400; line-height: 1.25; cursor: pointer; overflow-wrap: anywhere; }
.pcc .pcc-tab--on { background: #1c2430; color: #fff; border-color: #1c2430; font-weight: 600; }
.pcc .pcc-tab__n { display: inline-block; min-width: 1.4em; border-radius: 1em; background: rgba(127, 127, 127, .25); font-weight: 700; }

.pcc .pcc-card { background: #fff; border: 1px solid #dde1e7; border-radius: 10px; padding: 12px; margin: 10px 0; }
.pcc .pcc-field { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.pcc .pcc-field legend, .pcc .pcc-field > label { font-weight: 600; padding: 0; margin-bottom: 4px; }
.pcc .pcc-tasks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pcc .pcc-task { border: 1px solid #b9c1cc; border-radius: 8px; padding: 10px 8px; min-height: 44px; cursor: pointer; display: flex; gap: 6px; align-items: center; }
.pcc .pcc-task--on { border-color: #0b57d0; background: #eaf1fe; }
.pcc .pcc-input { font-size: 1rem; color: #1c2430; padding: 9px 10px; border: 1px solid #98a2b3; border-radius: 8px; background: #fff; max-width: 100%; min-height: 44px; }
.pcc .pcc-check { display: flex; gap: 8px; align-items: center; min-height: 40px; cursor: pointer; }
.pcc .pcc-check input, .pcc .pcc-task input { width: 20px; height: 20px; flex: 0 0 auto; }
.pcc .pcc-shares { margin: 0 0 12px; }
.pcc .pcc-shares > summary { cursor: pointer; font-weight: 600; min-height: 40px; display: flex; align-items: center; gap: 8px; list-style: none; }
.pcc .pcc-shares > summary::-webkit-details-marker, .pcc .pcc-faq summary::-webkit-details-marker { display: none; }
.pcc .pcc-shares > summary::before, .pcc .pcc-faq summary::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-right: 2px solid #46505e; border-bottom: 2px solid #46505e; transform: rotate(-45deg); margin: 0 4px 0 2px; }
.pcc .pcc-shares[open] > summary::before, .pcc .pcc-faq details[open] > summary::before { transform: rotate(45deg); }
.pcc .pcc-slider { display: grid; grid-template-columns: 1fr; gap: 2px; margin: 8px 0; }
.pcc .pcc-slider input { width: 100%; height: 32px; }
.pcc .pcc-slider__val { color: #46505e; font-size: .88rem; }

.pcc .pcc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pcc .pcc-btn { font-size: 1rem; font-weight: 400; line-height: 1.25; min-height: 44px; padding: 8px 14px; border-radius: 8px; border: 1px solid #1c2430; background: #fff; color: #1c2430; cursor: pointer; }
.pcc .pcc-btn--main { background: #0b57d0; border-color: #0b57d0; color: #fff; font-weight: 600; }
.pcc .pcc-btn--ghost { border-color: #b9c1cc; }
.pcc .pcc-btn:disabled { opacity: .5; cursor: not-allowed; }
.pcc .pcc-btn:focus-visible, .pcc .pcc-tab:focus-visible, .pcc .pcc-input:focus-visible, .pcc summary:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }

.pcc .pcc-price { font-weight: 700; white-space: nowrap; }
.pcc .pcc-days, .pcc .pcc-delta { color: #46505e; font-size: .88rem; white-space: nowrap; }
.pcc .pcc-over { color: #b42318; font-weight: 600; }
.pcc .pcc-build__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.pcc .pcc-why { font-style: italic; color: #2d3948; }
.pcc .pcc-lines { list-style: none; margin: 8px 0; padding: 0; }
.pcc .pcc-lines li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 6px 0; border-top: 1px solid #eceff3; }
.pcc .pcc-lines__slot { grid-column: 1 / -1; color: #5a6472; font-size: .82rem; }
.pcc .pcc-lines__name { overflow-wrap: anywhere; }

.pcc .pcc-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; }
.pcc .pcc-chip { background: #eef1f5; border-radius: 6px; padding: 1px 7px; font-size: .8rem; color: #2d3948; }
.pcc .pcc-badge { display: inline-block; border-radius: 6px; padding: 2px 8px; font-size: .82rem; font-weight: 600; border: 1px solid transparent; }
.pcc .pcc-badge--ok { background: #e3f5e8; color: #14532d; border-color: #86c79a; }
.pcc .pcc-badge--check, .pcc .pcc-badge--warn { background: #fff4d6; color: #713f12; border-color: #e0b354; }
.pcc .pcc-badge--block { background: #fde8e8; color: #7a1a12; border-color: #e79a94; }
.pcc .pcc-badge--info { background: #e9eef6; color: #23395d; border-color: #a9bbd8; }

.pcc .pcc-slot--locked { background: #f7f8fa; }
.pcc .pcc-slot__empty { color: #5a6472; }
.pcc .pcc-slot__part strong { overflow-wrap: anywhere; }
.pcc .pcc-findings, .pcc .pcc-reasons { list-style: none; margin: 6px 0; padding: 0; }
.pcc .pcc-finding { padding: 6px 0; border-top: 1px solid #eceff3; }
.pcc .pcc-reasons li { font-size: .88rem; color: #7a1a12; }
.pcc .pcc-item--check .pcc-reasons li { color: #713f12; }

.pcc .pcc-summary { position: sticky; bottom: 0; background: #fff; border: 1px solid #c5ccd6; border-radius: 10px 10px 0 0; padding: 10px 12px; box-shadow: 0 -4px 14px rgba(0, 0, 0, .08); z-index: 5; }
.pcc .pcc-summary__row { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.pcc .pcc-summary__total { font-size: 1.1rem; }
.pcc .pcc-summary__meta { color: #46505e; font-size: .9rem; margin-top: 4px; }

.pcc .pcc-tip { display: inline-block; position: relative; font-weight: 400; }
.pcc .pcc-tip > summary { list-style: none; cursor: pointer; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #5b7bb5; color: #23395d; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-style: italic; }
.pcc .pcc-tip > summary::-webkit-details-marker { display: none; }
.pcc .pcc-tip[open] { display: block; }
.pcc .pcc-tip > p { background: #e9eef6; border-radius: 6px; padding: 8px 10px; font-size: .9rem; margin: 6px 0 0; }
.pcc .pcc-faq details { border-top: 1px solid #eceff3; padding: 4px 0; }
.pcc .pcc-faq summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; gap: 8px; font-weight: 600; list-style: none; }

.pcc .pcc-sheet { position: fixed; inset: 0; background: rgba(20, 26, 34, .55); z-index: 2147483000; display: flex; align-items: flex-end; justify-content: center; }
.pcc .pcc-sheet__box { background: #fff; width: 100%; max-width: 820px; height: 100%; max-height: 100%; display: flex; flex-direction: column; }
.pcc .pcc-sheet__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-bottom: 1px solid #dde1e7; }
.pcc .pcc-sheet__head h2 { margin: 0; }
/* filters and list scroll together: on a phone the filters must not take the screen away from the list, nor be squeezed by it */
.pcc .pcc-sheet__head { flex: 0 0 auto; }
.pcc .pcc-sheet__body { flex: 1 1 auto; min-height: 0; overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.pcc .pcc-sheet__filters { padding: 10px 12px; border-bottom: 1px solid #dde1e7; display: grid; gap: 8px; }
.pcc .pcc-sheet__filters .pcc-field .pcc-check { display: inline-flex; margin-right: 14px; }
.pcc .pcc-sheet__list { padding: 6px 12px 16px; }
.pcc .pcc-list { list-style: none; margin: 0; padding: 0; }
.pcc .pcc-item { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 10px 0; border-top: 1px solid #eceff3; }
.pcc .pcc-item--block { opacity: .8; }
.pcc .pcc-item__main strong { overflow-wrap: anywhere; }
.pcc .pcc-item__side { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.pcc .pcc-item__side .pcc-btn { margin-left: auto; }

@media (min-width: 700px) {
  .pcc { padding: 20px; }
  .pcc h1 { font-size: 1.7rem; }
  .pcc .pcc-tasks { grid-template-columns: repeat(3, 1fr); }
  .pcc .pcc-slider { grid-template-columns: 180px 1fr 150px; align-items: center; gap: 10px; }
  .pcc .pcc-builds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: start; }
  .pcc .pcc-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .pcc .pcc-item { grid-template-columns: 1fr auto; }
  .pcc .pcc-item__side { flex-direction: column; align-items: flex-end; }
  .pcc .pcc-item__side .pcc-btn { margin-left: 0; }
  .pcc .pcc-sheet { align-items: center; }
  .pcc .pcc-sheet__box { height: 92%; border-radius: 12px; overflow: hidden; }
  .pcc .pcc-sheet__filters { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .pcc .pcc-btn, .pcc .pcc-tab { transition: background-color .12s; }
}

/* no suitable build: the honest answer and the clearly marked weaker option (never a recommendation) */
.pcc .pcc-nomatch .pcc-build--weaker { border: 2px dashed #b7791f; border-radius: 8px; padding: 12px; margin-top: 12px; }
.pcc .pcc-limit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pcc .pcc-cap { width: 5.5em; font: inherit; padding: 4px 6px; border: 1px solid #9aa4b2; border-radius: 6px; }
.pcc .pcc-link { background: none; border: 0; padding: 0; color: #0b57d0; font: inherit; text-decoration: underline; cursor: pointer; }
@media print {
  body * { visibility: hidden !important; }
  .pcc, .pcc * { visibility: visible !important; }
  .pcc { position: absolute; left: 0; top: 0; width: 100%; max-width: none; }
  .pcc .pcc-actions, .pcc .pcc-langs, .pcc .pcc-tabs, .pcc .pcc-faq, .pcc button { display: none !important; }
}
.pcc .pcc-specs { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.pcc .pcc-specs .pcc-field { display: flex; flex-direction: column; gap: 2px; font-size: .88rem; }
.pcc .pcc-photo { display: block; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid #e1e5ea; margin-bottom: 8px; max-width: 160px; }
.pcc .pcc-photo--big { max-width: 320px; }
.pcc .pcc-photo img { display: block; width: 100%; height: auto; object-fit: contain; }
.pcc a.pcc-btn { display: inline-block; text-decoration: none; }
.pcc .pcc-view--small { padding: 4px 10px; font-size: .85rem; }
/* 26.11.2026: a small photo next to each row of a part list (the main picture of the product card; no picture = no box) */
.pcc .pcc-item__top--pic { display: flex; gap: 10px; align-items: flex-start; }
.pcc .pcc-item__title { min-width: 0; flex: 1 1 auto; }
.pcc .pcc-thumb { flex: 0 0 80px; width: 80px; height: 60px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #d8e4ea; border-radius: 8px; overflow: hidden; }
.pcc .pcc-thumb img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* ---- theme of the storefront v2 (25.11.2026, owner: "in the style of all the current pages of the live site"):
 * the colours, radii, shadow and weights of storefront-v2-preview/styles.css (--navy #063f63, --blue #007ccc, --ink #182a36, --muted #647782,
 * --line #d8e4ea, --soft #eef6f9, radius 16, soft shadow). Written last: it only changes looks, not layout. */
.pcc-wrap { background: #f5f9fb; border-radius: 16px; }
.pcc, .pcc button, .pcc input, .pcc select { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
.pcc { color: #182a36; }
.pcc a { color: #007ccc; }
.pcc .pcc-desc, .pcc .pcc-hint, .pcc .pcc-days, .pcc .pcc-delta, .pcc .pcc-slider__val, .pcc .pcc-summary__meta, .pcc .pcc-slot__empty, .pcc .pcc-lines__slot { color: #647782; }
.pcc .pcc-head__row { background: linear-gradient(135deg, #063f63 0%, #0a6a9f 58%, #14a1c7 100%); color: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 12px 34px rgba(13, 55, 77, .10); }
.pcc .pcc-head h1 { color: #fff; font-weight: 800; font-size: 1.5rem; letter-spacing: -.01em; }
.pcc .pcc-langs a, .pcc .pcc-langs strong { color: #fff; opacity: .85; }
.pcc .pcc-langs strong { opacity: 1; border-bottom: 2px solid #fff; }
.pcc .pcc-note { background: #eef6f9; border-left: 4px solid #007ccc; border-radius: 10px; color: #182a36; }
.pcc .pcc-note--warn { background: #fff4d6; border-left-color: #b7791f; }
.pcc .pcc-note--err { background: #fde8e8; border-left-color: #b42318; }
.pcc .pcc-tab { border: 1px solid #d8e4ea; border-radius: 12px; color: #063f63; background: #fff; font-weight: 600; }
.pcc .pcc-tab--on { background: #063f63; border-color: #063f63; color: #fff; }
.pcc .pcc-card { background: #fff; border: 1px solid #d8e4ea; border-radius: 16px; box-shadow: 0 12px 34px rgba(13, 55, 77, .10); padding: 16px; }
.pcc .pcc-task { border: 1px solid #d8e4ea; border-radius: 12px; background: #fff; }
.pcc .pcc-task--on { border-color: #007ccc; background: #eef6f9; box-shadow: inset 0 0 0 1px #007ccc; }
.pcc .pcc-input, .pcc .pcc-cap { border: 1px solid #c6d6de; border-radius: 12px; color: #182a36; background: #fff; }
.pcc .pcc-input:focus-visible, .pcc .pcc-cap:focus-visible { outline: 3px solid rgba(0, 124, 204, .35); outline-offset: 1px; border-color: #007ccc; }
.pcc .pcc-btn { border: 1px solid #c6d6de; border-radius: 12px; background: #fff; color: #063f63; font-weight: 700; }
.pcc .pcc-btn:hover:not(:disabled) { border-color: #007ccc; color: #007ccc; }
.pcc .pcc-btn--main { background: #007ccc; border-color: #007ccc; color: #fff; }
.pcc .pcc-btn--main:hover:not(:disabled) { background: #063f63; border-color: #063f63; color: #fff; }
.pcc .pcc-btn--ghost { border-color: #d8e4ea; }
.pcc .pcc-btn:focus-visible, .pcc .pcc-tab:focus-visible, .pcc summary:focus-visible { outline: 3px solid rgba(0, 124, 204, .35); outline-offset: 2px; }
.pcc .pcc-price { color: #063f63; font-weight: 800; }
.pcc .pcc-chip { background: #eef6f9; color: #063f63; border-radius: 8px; }
.pcc .pcc-badge { border-radius: 999px; padding: 2px 10px; }
.pcc .pcc-badge--info { background: #eef6f9; color: #063f63; border-color: #c6d6de; }
.pcc .pcc-lines li, .pcc .pcc-finding, .pcc .pcc-item, .pcc .pcc-faq details { border-top-color: #e3edf2; }
.pcc .pcc-slot--locked { background: #f1f6f8; }
.pcc .pcc-summary { border: 1px solid #d8e4ea; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 24px rgba(13, 55, 77, .10); }
.pcc .pcc-tip > summary { border-color: #007ccc; color: #007ccc; }
.pcc .pcc-tip > p { background: #eef6f9; border-radius: 10px; }
.pcc .pcc-sheet { background: rgba(6, 63, 99, .55); }
.pcc .pcc-sheet__head { border-bottom-color: #d8e4ea; }
.pcc .pcc-sheet__filters { border-bottom-color: #d8e4ea; background: #f5f9fb; }
.pcc .pcc-sheet__box { border-radius: 16px 16px 0 0; }
.pcc .pcc-link { color: #007ccc; }
.pcc .pcc-photo { border-color: #d8e4ea; border-radius: 12px; }
@media (min-width: 700px) { .pcc .pcc-head h1 { font-size: 1.9rem; } .pcc .pcc-sheet__box { border-radius: 16px; } }
/* the old-layout banner "Open the new site" (a.storefront-v2-entry) is shown on every page of the old layout; it is not wanted over the configurator */
.storefront-v2-entry { display: none !important; }
/* inside the new storefront the page is as wide as its header and its home page (main: max 1380 px with 28 px of padding): the configurator fills that width, it is not a narrower column */
.pcc-v2 .pcc { max-width: none; padding-left: 0; padding-right: 0; }
.pcc-v2 .pcc-wrap { background: transparent; }
@media (min-width: 1180px) { .pcc-v2 .pcc .pcc-slots { grid-template-columns: repeat(3, 1fr); } .pcc-v2 .pcc .pcc-builds { gap: 16px; } }
/* phone: the three tabs one under another (their labels were torn into pieces), the tasks one per row */
@media (max-width: 560px) {
  .pcc .pcc-summary { padding: 6px 10px; }
  .pcc .pcc-summary__meta { display: none; }
  .pcc .pcc-tabs { flex-direction: column; gap: 6px; }
  .pcc .pcc-tab { flex: none; width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: flex-start; gap: 10px; text-align: left; padding: 6px 14px; overflow-wrap: normal; word-break: normal; }
  .pcc .pcc-tab__n { flex: 0 0 auto; }
  .pcc .pcc-tasks { grid-template-columns: 1fr; }
  .pcc .pcc-head__row { padding: 14px 16px; }
  .pcc .pcc-head h1 { font-size: 1.35rem; }
  .pcc .pcc-thumb { flex-basis: 64px; width: 64px; height: 48px; }
  .pcc .pcc-photo, .pcc .pcc-photo--big { max-width: 140px; }
}
