/* ==========================================================================
   eee.md — EEE catalog (by AVEPE): photo-style product images, product page
   (variants, spec tiles, tabs, montaj, RMax system), footer, info & legal
   pages, online payment. Loaded last.
   ========================================================================== */

/* ── Header ──────────────────────────────────── */
.brand-note { display: none; padding-left: 18px; border-left: 1px solid var(--line-2); font-size: 0.8125rem; line-height: 1.25; color: #d4d4d8; flex-shrink: 0; }
.tool--account { width: auto; padding: 0 10px; gap: 8px; display: inline-flex; align-items: center; }
.tool--account span { display: none; font-size: 0.875rem; font-weight: 600; }
.nav a { white-space: nowrap; }
@media (min-width: 1280px) { .brand-note { display: block; } .header .wrap { gap: 20px; } .nav a { padding: 0 12px; } }
@media (min-width: 1500px) { .tool--account span { display: inline; } }

/* ── Product images are studio photos now: fill their boxes ── */
.pcard-media { aspect-ratio: 1 / 0.9; overflow: hidden; background: #2a2a2d; }
.pcard-media::after { display: none; }
.pcard-media img { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.pcard-tag { position: absolute; z-index: 2; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(10, 10, 11, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 0.75rem; font-weight: 700; }
.pcard-body { gap: 4px; }
.pcard-code { font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.04em; color: var(--red-2); }
.pcard-dims { font-size: 0.8125rem; color: var(--mute); }
.pcard-foot { margin-top: 10px; }
.ctile { padding: 8px 8px 10px; }
.ctile img { height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; filter: none; }
.ctile span { display: grid; gap: 1px; }
.ctile small { font-size: 0.6875rem; color: var(--mute); font-weight: 700; letter-spacing: 0.04em; }
.sbox-tray img { object-fit: cover; border-radius: 6px; filter: none; }
.mini-list .mt img, .cart-thumb img, .calc-img img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-chip img { object-fit: cover; padding: 0; }
.search-results img { object-fit: cover; border-radius: 8px; }
.pick { align-content: start; }
.pick img { height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.pick span, .slot-card b span { display: grid; gap: 1px; text-align: center; }
.pick small, .slot-card b small { font-size: 0.6875rem; color: var(--mute); font-weight: 700; }
.slot-card b span { text-align: left; }
.slot-img { overflow: hidden; background: #2a2a2d; }
.slot-img img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.terms-visual img { border-radius: 14px; max-height: 150px; }

/* ── Product page ────────────────────────────── */
.pdp-gallery { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pdp-main { aspect-ratio: 1 / 0.86; background: #2a2a2d; }
.pdp-main img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.pdp-main img[data-kind="drawing"] { object-fit: contain; background: #fff; padding: 4%; }
.pdp-thumbs { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); order: 0; }
.thumb { aspect-ratio: 1 / 0.8; }
.thumb img, .thumb:first-child img { object-fit: cover; padding: 0; }
.thumb--drawing { background: #fff; }
.thumb--drawing img { object-fit: contain !important; padding: 6px !important; }
.code-badge { display: inline-block; padding: 4px 12px; border-radius: 8px; background: linear-gradient(145deg, var(--red-2), var(--red-dark)); font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.03em; box-shadow: 0 8px 20px -8px var(--red-glow); }
.pdp-title { margin: 12px 0 8px; }
.spec-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.spec-tiles li { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 12px; text-align: center; font-size: 0.75rem; line-height: 1.25; color: #dcdce0; border: 1px solid transparent; background: var(--field) padding-box, var(--edge-soft) border-box; }
.spec-tiles i { font-size: 1.35rem; color: #fff; }
.variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; border: 0; }
.variants legend { grid-column: 1 / -1; margin-bottom: 8px; font-size: 0.875rem; font-weight: 700; color: #dcdce0; }
.variant { position: relative; cursor: pointer; }
.variant input { position: absolute; opacity: 0; }
.variant span { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent; background: var(--field) padding-box, var(--edge-soft) border-box; transition: background 0.2s; }
.variant small { color: var(--mute); font-size: 0.8125rem; }
.variant input:checked + span { background: linear-gradient(165deg, rgba(232, 39, 42, 0.22), rgba(232, 39, 42, 0.04) 70%) padding-box, var(--field) padding-box, var(--edge-hot) border-box; }
.variant input:focus-visible + span { outline: 2px solid var(--red-2); outline-offset: 3px; }
.pdp-buy { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.pdp-buy .pdp-price { margin: 0; align-items: baseline; }
.pdp-buy .pdp-price b { color: var(--red); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); }
.pdp-buy .pdp-price span { font-size: 1.4rem; font-weight: 500; color: var(--red-2); }
.pdp-qty { display: grid; justify-items: end; gap: 6px; }
.pdp-qty small { color: #cfcfd3; }
.pdp-actions { margin-top: 16px; }
.pdp-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.pdp-benefits li { display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 0.8125rem; line-height: 1.3; color: #dcdce0; }
.pdp-benefits li:first-child { padding-left: 0; }
.pdp-benefits li + li { border-left: 1px solid var(--line); }
.pdp-benefits i { font-size: 1.4rem; color: #fff; flex-shrink: 0; }

.tabs--seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; padding: 6px; border: 0; border-radius: 14px; background: #121214; width: min(100%, 560px); }
.tabs--seg .tab { border-radius: 10px; background: #222226; text-align: center; padding: 12px 10px; }
.tabs--seg .tab[aria-selected="true"] { background: linear-gradient(180deg, var(--red-2), var(--red-dark)); }
.pdp-more { margin-top: 0; padding-top: 10px; }
.bar-title { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 4px solid var(--red); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 12px; }
.bar-title small { font-size: 1rem; font-weight: 500; color: #cfcfd3; letter-spacing: 0; }
.detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.pdp-drawing { margin: 0; padding: 14px; border-radius: 16px; background: #fff; color: #555; }
.pdp-drawing img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pdp-drawing figcaption { margin-top: 8px; font-size: 0.8125rem; text-align: center; }
.pdp-drawing--photo { background: #2a2a2d; color: #cfcfd3; padding: 0; overflow: hidden; }
.pdp-drawing--photo img { object-fit: cover; }
.pdp-drawing--photo figcaption { padding: 0 12px 12px; }
.spec-card .spec-table th, .spec-card .spec-table td { padding: 9px 0; font-size: 0.9rem; }
.sheet-link { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px 16px; border-radius: 12px; border: 1px solid transparent; background: var(--field) padding-box, var(--edge-soft) border-box; font-weight: 700; transition: background 0.2s; }
.sheet-link i:first-child { color: var(--red-2); font-size: 1.2rem; }
.sheet-link i:last-child { margin-left: auto; }
.sheet-link:hover { background: var(--field) padding-box, var(--edge-hot) border-box; }
.spec-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: start; }
.spec-figure { padding: 18px; }
.spec-figure .pdp-drawing { box-shadow: none; }

.montaj-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.montaj-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.montaj-steps li { position: relative; padding: 18px; border-radius: 14px; border: 1px solid transparent; background: var(--card) padding-box, var(--edge) border-box; }
.montaj-steps li > i { display: block; margin: 14px 0 10px; font-size: 1.9rem; background: linear-gradient(180deg, #ff6467, var(--red-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.montaj-steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.montaj-steps p { font-size: 0.875rem; color: #c9c9ce; }
.montaj-no { position: absolute; top: 14px; left: 14px; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; background: linear-gradient(145deg, var(--red-2), var(--red-dark)); }
.montaj-steps li > i { margin-top: 30px; }
.montaj-side { display: grid; gap: 14px; }
.tools li { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 0.9375rem; }
.tools i { width: 22px; text-align: center; color: #fff; }
.tip-card .co-title i { color: var(--red-2); }
.video-card { display: flex; align-items: center; gap: 14px; }
.video-thumb { position: relative; width: 96px; height: 64px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: #fff; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb i { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.1rem; color: #fff; background: rgba(0, 0, 0, 0.35); }
.video-card b { display: block; }
.video-card small { color: var(--mute); font-size: 0.8125rem; }
.video-card > i { margin-left: auto; }
.help-card { display: grid; gap: 10px; justify-items: start; }

.section--tight { padding: clamp(24px, 3vw, 40px) 0; }
.rmax-band { display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 0.8fr); gap: 28px; align-items: center; padding: clamp(20px, 3vw, 32px); }
.buckets { display: flex; align-items: center; gap: 14px; color: #cfcfd3; }
.bucket { position: relative; display: grid; justify-items: center; align-content: center; width: 110px; height: 104px; padding-top: 14px; border-radius: 10px 10px 18px 18px; background: linear-gradient(90deg, #d9d9dc, #fff 40%, #e6e6e8); color: #111; box-shadow: 0 20px 30px -16px rgba(0, 0, 0, 0.9); }
.bucket::before { content: ""; position: absolute; left: -6px; right: -6px; top: -8px; height: 18px; border-radius: 8px; background: linear-gradient(180deg, var(--red-2), var(--red-dark)); }
.bucket b { font-size: 1.15rem; line-height: 1; }
.bucket b::first-letter { color: var(--red); }
.bucket small { font-size: 0.75rem; font-weight: 700; }
.bucket em { font-style: normal; font-weight: 800; color: var(--red); font-size: 1.15rem; }

.unsure-band { display: grid; grid-template-columns: 300px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: clamp(18px, 2.6vw, 28px); background: radial-gradient(60% 120% at 10% 50%, rgba(232, 39, 42, 0.18), transparent 70%) padding-box, var(--card) padding-box, var(--edge) border-box; }
.unsure-band .sbox { max-width: 300px; }
.unsure-band .lead { margin-top: 4px; }

/* ── Home: technology + why ──────────────────── */
.tech-title { font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 0.95; letter-spacing: -0.04em; }
.tech-title small { display: block; margin-top: 8px; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); letter-spacing: -0.02em; }
.tech-ribbon { display: inline-block; margin: 16px 0 6px; padding: 7px 34px 7px 16px; font-weight: 800; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; background: linear-gradient(90deg, var(--red-dark), var(--red) 70%, transparent); clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%); }
.tech-card { padding: clamp(16px, 2.4vw, 26px); border-radius: 22px; background: #fff; color: #111; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9); }
.tech-card img { border-radius: 12px; }
.tech-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; padding-bottom: 14px; border-bottom: 1px solid #e3e3e6; }
.tech-legend span { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; }
.tech-legend b { font-size: 1rem; }
.tech-legend small { grid-column: 2; color: #555; font-size: 0.8125rem; }
.sw { grid-row: span 2; width: 44px; height: 38px; border-radius: 10px; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.4); }
.sw-eps { background: radial-gradient(circle at 30% 30%, #fff 20%, transparent 22%) 0 0 / 8px 8px, #e9edf3; }
.sw-rmax { background: linear-gradient(135deg, #f2f2f0, #d8d8d4); }
.tech-card figcaption { display: flex; gap: 14px; align-items: center; margin: 0; color: #444; font-size: 0.875rem; }
.tech-card figcaption i { font-size: 1.6rem; color: var(--red); padding-right: 14px; border-right: 2px solid var(--red); }
.tech-card figcaption b { display: block; color: #111; font-size: 1rem; }
.tech-figure:hover .tech-card { transform: none; }
.made-band { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 30px; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem); }
.made-band::before, .made-band::after { content: ""; flex: 1; max-width: 360px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2)); }
.made-band::after { background: linear-gradient(90deg, var(--line-2), transparent); }
.md-map { width: auto; height: 36px; filter: drop-shadow(0 0 10px var(--red-glow)); flex-shrink: 0; }

/* ── Footer ──────────────────────────────────── */
.footer-grid { grid-template-columns: 1.15fr repeat(4, minmax(0, 1fr)); gap: 0; }
.footer-grid > div { padding: 0 22px; }
.footer-grid > div:first-child { padding-left: 0; }
.footer-grid > div + div { border-left: 1px solid var(--line); }
.footer h4 { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 0.8125rem; }
.footer h4::before { content: ""; width: 3px; height: 16px; background: var(--red); border-radius: 2px; }
.footer-claim { margin-top: 16px !important; padding-left: 14px; border-left: 3px solid var(--red); color: #e6e6e8 !important; font-size: 1.05rem !important; line-height: 1.35; }
.footer-links li + li { margin-top: 10px; }
.footer-links a, .footer-links span { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; color: #dcdce0; }
.footer-links i { width: 18px; text-align: center; color: #cfcfd3; }
.made-in { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.made-in .md-map { height: 26px; }
.made-in > i { color: var(--red); }

/* ── Info & legal pages, projects ────────────── */
.doc-wrap { max-width: 920px; }
.doc-wrap > .lead { margin: 10px 0 22px; }
.doc { margin-top: 18px; }
.doc h2 { margin: 22px 0 8px; font-size: 1.15rem; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: #d4d4d8; }
.doc ul { display: grid; gap: 8px; padding-left: 0; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 7px; height: 7px; border-radius: 2px; background: var(--red); }
.doc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.doc-cards article { display: grid; gap: 10px; align-content: start; }
.card-logos { display: inline-flex; gap: 10px; font-size: 1.7rem; color: #fff; }
.projects { display: grid; gap: 18px; }
.project { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; border: 1px solid transparent; background: var(--card) padding-box, var(--edge) border-box; }
.project:nth-child(even) figure { order: 2; }
.project figure { margin: 0; min-height: 280px; }
.project img { width: 100%; height: 100%; object-fit: cover; }
.project-white { background: #fff; }
.project-white img { object-fit: contain; }
.project-body { display: grid; gap: 12px; align-content: center; justify-items: start; padding: clamp(20px, 3vw, 36px); }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.project-tags a { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; border: 1px solid transparent; background: var(--field) padding-box, var(--edge-soft) border-box; }
.project-tags a:hover { background: var(--field) padding-box, var(--edge-hot) border-box; }

/* ── Checkout: online payment hand-over, invoice stamp ── */
.choice .card-logos { margin-left: auto; font-size: 1.6rem; }
.bank-redirect { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; background: rgba(5, 5, 6, 0.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bank-redirect[hidden] { display: none; }
.bank-redirect .panel { display: grid; gap: 12px; justify-items: center; max-width: 440px; text-align: center; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, 0.15); border-top-color: var(--red); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.inv-paid { display: inline-block; margin: 2px 0 6px; padding: 3px 10px; border: 2px solid #1d8a52; border-radius: 6px; color: #1d8a52; font-weight: 800; letter-spacing: 0.12em; font-size: 0.8125rem; transform: rotate(-3deg); }
.inv-meta { padding-right: 0; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1180px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .detail-grid > div:first-child { grid-column: 1 / -1; }
  .montaj-grid { grid-template-columns: minmax(0, 1fr); }
  .montaj-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rmax-band { grid-template-columns: minmax(0, 1fr) auto; }
  .rmax-band .checks { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .footer-grid > div:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 980px) {
  .spec-grid, .unsure-band { grid-template-columns: minmax(0, 1fr); }
  .unsure-band { justify-items: start; }
  .unsure-band .sbox { max-width: 260px; margin: 0; }
  .montaj-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project, .doc-cards { grid-template-columns: minmax(0, 1fr); }
  .project:nth-child(even) figure { order: 0; }
  .project figure { min-height: 220px; aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .spec-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .variants { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .variant span { padding: 10px 12px; }
  .pdp-buy { align-items: flex-end; }
  .pdp-buy .pdp-price b { font-size: 2.4rem; }
  .pdp-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp-benefits li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 8px; font-size: 0.75rem; }
  .tabs--seg { width: 100%; }
  .tabs--seg .tab { padding: 10px 4px; font-size: 0.875rem; }
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .montaj-steps, .montaj-side { grid-template-columns: minmax(0, 1fr); }
  .rmax-band { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 18px; }
  .rmax-band .checks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bucket { width: 92px; height: 88px; }
  .tech-legend { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > div { padding: 0 !important; border-left: 0 !important; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .made-band::before, .made-band::after { max-width: 60px; }
}

/* ── Personalised emblems (initials in relief) ── */
.pdp-main { container-type: inline-size; }
.emblem-text {
  position: absolute; z-index: 2; left: var(--x); top: var(--y); width: var(--w); transform: translate(-50%, -50%);
  text-align: center; white-space: nowrap; pointer-events: none; line-height: 1; letter-spacing: 0.04em;
  font-size: 11cqw; color: #f1f1ef;
  /* stacked offsets read as letters raised from the plaster, lit from the top-left */
  text-shadow: -0.012em -0.012em 0 #ffffff, 0.012em 0.012em 0 #d2d2cf, 0.024em 0.024em 0 #c4c4c1, 0.036em 0.036em 0 #b8b8b5, 0.048em 0.048em 0 #adadaa, 0.06em 0.08em 0.03em rgba(0, 0, 0, 0.25), 0.1em 0.16em 0.18em rgba(0, 0, 0, 0.32);
  transition: opacity 0.2s;
}
.emblem-text.is-two-lines { white-space: pre; line-height: 1.12; }
.emblem-text.is-placeholder { opacity: 0.55; }
.st-classic { font-family: "Times New Roman", Georgia, serif; font-weight: 700; }
.st-modern { font-family: var(--font); font-weight: 800; }
.personalize { display: grid; gap: 12px; margin-top: 16px; padding: 16px; border-radius: 14px; border: 1px solid transparent; background: linear-gradient(165deg, rgba(232, 39, 42, 0.12), transparent 60%) padding-box, var(--field) padding-box, var(--edge-hot) border-box; }
.personalize-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.personalize-head i { color: var(--red-2); }
.personalize-head .pill { margin-left: auto; }
.personalize .field input { font-size: 1.1rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.style-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.style-switch label { position: relative; cursor: pointer; }
.style-switch input { position: absolute; opacity: 0; }
.style-switch span { display: block; padding: 10px; border-radius: 10px; text-align: center; font-size: 1.05rem; border: 1px solid transparent; background: var(--field) padding-box, var(--edge-soft) border-box; }
.style-switch input:checked + span { background: linear-gradient(165deg, rgba(232, 39, 42, 0.22), rgba(232, 39, 42, 0.04) 70%) padding-box, var(--field) padding-box, var(--edge-hot) border-box; }
.style-switch input:focus-visible + span { outline: 2px solid var(--red-2); outline-offset: 3px; }
.qty-note { color: var(--mute) !important; font-size: 0.75rem; }
.custom-line { display: block; color: var(--red-2) !important; font-weight: 700; }
.price { white-space: nowrap; }
@media (max-width: 640px) {
  .pcard-tag { font-size: 0.625rem; padding: 3px 8px; left: 6px; top: 6px; }
  .pcard .price b { font-size: 1.15rem; }
  .pcard .price span { font-size: 0.6875rem; }
}

/* calculator: help link */
.calc-help { display: flex; gap: 14px; align-items: flex-start; color: inherit; text-decoration: none; }
.calc-help b { color: var(--red-2); font-weight: 700; }
.calc-help i:last-child { margin-left: auto; align-self: center; font-size: 0.85rem; color: var(--red-2); transition: transform 0.2s; }
.calc-help:hover b, .calc-help:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
.calc-help:hover i:last-child { transform: translateX(4px); }

/* confirmation: bank-transfer details and what happens next */
.pay-panel > * + * { margin-top: 14px; }
.bank-rows { display: grid; gap: 0; margin: 14px 0 0; border-radius: 12px; border: 1px solid var(--line-2); background: #141417; overflow: hidden; }
.bank-rows div { display: grid; grid-template-columns: minmax(96px, 0.8fr) 2fr; gap: 10px; align-items: center; padding: 9px 12px; border-top: 1px solid var(--line); }
.bank-rows div:first-child { border-top: 0; }
.bank-rows dt { color: var(--mute); font-size: 0.8125rem; }
.bank-rows dd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; font-weight: 600; font-size: 0.9375rem; overflow-wrap: anywhere; }
.tool--sm { flex: none; width: 32px; height: 32px; font-size: 0.95rem; color: #cfcfd3; }
.tool--sm:hover { color: var(--red-2); }
.pay-steps { display: grid; gap: 12px; margin: 16px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); }
.pay-steps li { display: flex; gap: 12px; align-items: flex-start; }
.pay-steps .ps-no { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(232, 39, 42, 0.14); color: var(--red-2); font-weight: 800; font-size: 0.8125rem; }
.pay-steps b { display: flex; gap: 8px; align-items: center; font-size: 0.9375rem; }
.pay-steps b i { color: var(--red-2); font-size: 0.85rem; }
.pay-steps small { display: block; color: var(--mute); font-size: 0.8125rem; margin-top: 2px; }

/* order lookup on "my orders" and the demo bank page */
.order-lookup { margin-top: 22px; }
.order-lookup .form-grid { margin: 14px 0 18px; }
.bank-demo { display: grid; gap: 16px; max-width: 560px; margin-inline: auto; }
.bank-demo form { display: inline; }
