/* Pinglo 2026 storefront redesign (design_handoff_pinglo_redesign/README.md): paper ground, ink text, Readex Pro +
 * IBM Plex Mono, blue #1A6FE0 / green #17A864 / red sun #E0453A, pure-CSS Japan art (rings, sun, Fuji, city bars).
 * Loaded last on index, plans, product, cart and checkout — it re-themes the shared components through the tokens and
 * adds the new layouts. Logical properties throughout, so RTL (default) and LTR mirror. */

:root {
  --paper: #F6F5F1;
  --ink: #262A33;
  --line: #E3E0D8;
  --line-strong: #D6D2C8;
  --divider: #EEEBE4;
  --seg: #EAE7E0;
  --red: #E0453A;
  --sky: #B3CDEE;
  --mountain: #D5E1F2;
  --blue-tint: #EAF0F9;
  --ring-faint: #DCE6F4;
  --sel-bg: #F3F7FE;
  --star: #E0A21A;
  --green-tint: #E7F5EE;

  /* existing tokens, re-pointed at the new palette */
  --blue: #1A6FE0;
  --blue-deep: #1557B3;
  --green: #17A864;
  --green-text: #0F7A48;
  --blue-50: #F3F7FE;
  --blue-100: #EAF0F9;
  --blue-200: #B3CDEE;
  --blue-soft: rgba(26, 111, 224, 0.1);
  --green-50: #E7F5EE;
  --green-100: #CFEBDD;
  --green-soft: rgba(23, 168, 100, 0.12);
  --surface-tint: #FFFFFF;
  --border: #E3E0D8;
  --border-strong: #D6D2C8;
  --text: #4A4F5C;
  --muted: #5B6070;
  --danger: #E0453A;
  --gradient-brand: linear-gradient(135deg, #1A6FE0 0%, #17A864 100%);
  --gradient-brand-soft: linear-gradient(135deg, #EAF0F9 0%, #E7F5EE 100%);
  --font-display: "Readex Pro", "Noto Sans JP", system-ui, sans-serif;
  --font-body: "Readex Pro", "Noto Sans JP", system-ui, sans-serif;
  --font-arabic: "Readex Pro", "Noto Sans JP", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --shadow-soft: 0 1px 2px rgba(38, 42, 51, 0.04);
  --shadow-raised: 0 14px 34px rgba(38, 42, 51, 0.13);
  --shadow-glow-blue: 0 10px 24px rgba(26, 111, 224, 0.22);
  --shadow-glow-green: 0 0 16px rgba(23, 168, 100, 0.35);
  --pad-x: clamp(18px, 4.4vw, 56px);
}
html[dir="rtl"] { --font-display: var(--font-arabic); --font-body: var(--font-arabic); }

body { background: var(--paper); color: var(--text); line-height: 1.7; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.01em; line-height: 1.2; font-weight: 600; }
::selection { background: rgba(26, 111, 224, .18); }
.container { max-width: 1280px; padding-inline: var(--pad-x); }
section { padding-block: clamp(56px, 7vw, 96px); }
.bg-tint { background: #fff; border-block: 1px solid var(--line); }
.eyebrow { font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.eyebrow .jp { font-family: "Noto Sans JP", var(--font-body); letter-spacing: .1em; opacity: 1; }
.section-head h2 { font-size: clamp(24px, 3vw, 36px); }
.section-head p { color: var(--text); }

/* buttons */
.btn { border-radius: 14px; font-weight: 600; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--blue-deep); transform: none; }
.btn-ghost-dark, .btn-ghost-light { background: #fff; color: var(--ink); border: 1px solid var(--line); font-weight: 500; }
.btn-ghost-dark:hover, .btn-ghost-light:hover { background: #fff; border-color: var(--line-strong); }
.btn-dark { background: var(--ink); color: #fff; border: none; }
.btn-dark:hover { background: #111; color: #fff; }

/* status dot pulse (hero badge, connected card, live network) */
@keyframes pgPulse { 0% { box-shadow: 0 0 0 0 rgba(23, 168, 100, .5); } 100% { box-shadow: 0 0 0 10px rgba(23, 168, 100, 0); } }
.pg-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; animation: pgPulse 1.8s infinite; }
.live-dot { background: var(--green); animation: pgPulse 1.8s infinite; }

/* ---------- header ---------- */
.site-header { padding: 14px 0; background: rgba(246, 245, 241, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.scrolled { background: rgba(246, 245, 241, .94); padding: 10px 0; border-bottom-color: var(--line); box-shadow: none; }
.brand-logo { height: clamp(26px, 2.6vw, 34px); }
.site-header.scrolled .brand-logo { height: clamp(24px, 2.4vw, 30px); }
.nav-links { gap: 28px; color: var(--ink); font-size: 15px; font-weight: 500; }
.nav-links a::after { display: none; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.header-actions { gap: 10px; }
.site-header .lang-currency { gap: 6px; }
.lang-toggle-btn { border: none; background: transparent; padding: 8px 6px; font-weight: 600; font-size: 13px; color: var(--ink); }
.lang-toggle-btn:hover { background: transparent; color: var(--blue); }
.lang-toggle-btn .globe { display: none; }
.site-header .currency-select { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .06em; border-color: var(--line); padding-block: 6px; }
.cart-btn.cart-pill { width: auto; height: auto; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 500; }
.cart-btn.cart-pill:hover { border-color: var(--line-strong); background: #fff; }
.cart-btn.cart-pill svg { display: none; }
.cart-pill .cart-count { position: static; min-width: 20px; height: 20px; line-height: 20px; font-size: 12px; background: var(--red); box-shadow: none; }
.header-actions > .btn-primary { border-radius: 999px; padding: 12px 20px; font-size: 14px; }
.nav-toggle { width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: #fff; border: none; }
.mobile-nav { background: var(--paper); }
.mobile-nav a { color: var(--ink); }
@media (max-width: 959px) {
  .header-actions > .btn-primary { display: none; }
  .site-header .lang-currency { display: flex; }
  .site-header .currency-select { display: none; }
  .cart-pill .cart-label { display: none; }
  .cart-btn.cart-pill svg { display: block; }
  .cart-btn.cart-pill { padding: 8px 10px; }
}

/* ---------- home hero ---------- */
.hero2 { position: relative; padding: calc(78px + clamp(4px, 2vw, 20px)) 0 0; background-color: var(--paper); background-image: radial-gradient(rgba(38, 42, 51, .08) 1px, transparent 1.3px); background-size: 24px 24px; container-type: inline-size; overflow: hidden; }
.hero2-grid { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(8px, 3cqw, 40px); max-width: 1280px; margin: 0 auto; padding-inline: var(--pad-x); }
.hero2-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: clamp(16px, 1.8cqw, 24px); padding-bottom: 12px; }
.status-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px 8px 14px; font: 600 11px var(--font-mono); letter-spacing: .14em; color: var(--ink); }
.hero2 h1 { margin: 0; font-size: clamp(40px, 5.2cqw, 68px); line-height: 1.12; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
.hero2 h1 .red { color: var(--red); }
.hero2-p { margin: 0; font-size: clamp(16px, 1.45cqw, 19px); line-height: 1.75; color: var(--text); max-width: 500px; text-wrap: pretty; }
.hero2-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero2-actions .btn { padding: 16px 28px; font-size: 16px; }
.hero2-actions .btn-ghost-dark { padding: 15px 24px; }
.hero2-stats { display: flex; flex-wrap: wrap; gap: clamp(18px, 2.6cqw, 36px); padding-top: 4px; }
.hero2-stats div { display: flex; flex-direction: column; gap: 2px; }
.hero2-stats strong { font-size: 22px; font-weight: 600; color: var(--ink); }
.hero2-stats span { font-size: 13px; color: var(--muted); }
.hero2-art { flex: 1 1 480px; max-width: 600px; min-width: 0; margin-inline: auto; position: relative; aspect-ratio: 1; container-type: inline-size; overflow: hidden; }
.jp-art > * { position: absolute; }
.hero2-art .r0 { left: -2%; top: -6%; width: 104%; aspect-ratio: 1; border-radius: 50%; border: .4cqw solid var(--ring-faint); }
.hero2-art .r1 { left: 7%; top: 3%; width: 86%; aspect-ratio: 1; border-radius: 50%; border: 2.4cqw solid var(--sky); }
.hero2-art .r2 { left: 17%; top: 13%; width: 66%; aspect-ratio: 1; border-radius: 50%; border: 3cqw solid var(--green); }
.hero2-art .sun { left: 30%; top: 26%; width: 40%; aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.hero2-art .fuji, .hero2-art .snow { left: -10%; top: 52%; width: 120%; height: 48%; }
.hero2-art .fuji { background: var(--mountain); clip-path: polygon(41% 0, 59% 0, 100% 100%, 0 100%); }
.hero2-art .snow { background: #fff; clip-path: polygon(41% 0, 59% 0, 70.5% 28%, 64% 23%, 57% 30%, 50% 24%, 43% 30%, 36% 23%, 29.5% 28%); }
.conn-card { top: 6%; inset-inline-end: 0; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-raised); display: flex; flex-direction: column; gap: 2px; }
.conn-card .conn-l { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.conn-card .pg-dot { width: 8px; height: 8px; }
.conn-card .conn-v { font-size: 24px; font-weight: 600; color: var(--ink); }
.conn-card .conn-v small { font-size: 13px; color: var(--muted); font-weight: 500; }
.hero2-bars { display: flex; align-items: flex-end; gap: clamp(4px, .9cqw, 12px); height: 300px; padding: 0 clamp(12px, 2cqw, 24px); margin-top: clamp(-90px, -6cqw, -20px); position: relative; z-index: 2; max-width: 1280px; margin-inline: auto; }
.hero2-bars .bar { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero2-bars .bar i { display: block; width: 100%; height: 0; border-radius: 8px 8px 0 0; transition: height 1.1s cubic-bezier(.2, .8, .2, 1); }
.hero2-bars .lbl { font: 600 11px var(--font-mono); letter-spacing: .14em; color: var(--ink); white-space: nowrap; }
.hero2-bars .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero2-bars .dot.red { background: var(--red); }
.hero2-trust { background: #fff; border-top: 1px solid var(--line); position: relative; z-index: 3; }
.hero2-trust .inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 28px; padding: 24px var(--pad-x); }
.hero2-trust .it { display: flex; gap: 12px; align-items: flex-start; }
.hero2-trust .sq { width: 10px; height: 10px; border-radius: 3px; margin-top: 6px; flex: none; }
.hero2-trust .it div { display: flex; flex-direction: column; gap: 2px; }
.hero2-trust strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.hero2-trust span:not(.sq) { font-size: 13px; color: var(--muted); }
@media (max-width: 700px) {
  .hero2-bars { height: 200px; }
  .hero2-bars .bar i { border-radius: 5px 5px 0 0; }
  .hero2-bars .lbl { font-size: 8px; }
  .hero2-actions .btn { flex: 1 1 100%; text-align: center; }
}

/* ---------- shared: cards on paper ---------- */
.benefit-card, .step, .testi-card, .device-card, .faq-item, .status-card, .cta-banner, .prod-card, .prod-benefit, .prod-details, .compare-wrap, .summary-card, .cart-line, .checkout-form, .empty-state, .day-picker, .prod-specs, .chip, .dc-modal { border-color: var(--line); box-shadow: none; }
.benefit-card, .step, .testi-card, .device-card, .status-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.benefit-card .ic, .device-card .ic { color: var(--blue); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.cta-banner { background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.stars { color: var(--star); }
.fup-note { color: var(--muted); }
.site-footer { background: #fff; border-top: 1px solid var(--line); }
.site-footer h4 { color: var(--ink); }
.pay-icons span { font-family: var(--font-mono); font-weight: 600; font-size: 11px; letter-spacing: .08em; color: #4A4F5C; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.shop-page { background: var(--paper); padding-block: calc(78px + clamp(8px, 2vw, 28px)) clamp(32px, 4vw, 56px); }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs span:last-child { color: var(--ink); font-weight: 500; }

/* product tiles (home plans section) */
.prod-card { border-radius: 24px; }
.prod-card:hover { box-shadow: var(--shadow-raised); }
.prod-card.is-featured { border: 2px solid var(--blue); box-shadow: none; }
.prod-badge { color: var(--blue); }
.art-max, .art-lite, .art-fixed, .prod-card-art { background: var(--blue-tint); color: var(--ink); }
.prod-card-art .pa-big, .prod-art .pa-big { color: var(--ink); }
.prod-card-art .pa-unit, .prod-art .pa-unit, .prod-card-art .pa-brand { color: var(--muted); opacity: 1; }
.prod-card-art .pa-5g { background: #fff; border-color: var(--line); color: var(--green-text); }
.prod-card-art::after { border-color: var(--sky); box-shadow: 0 0 0 36px rgba(179, 205, 238, .25), 0 0 0 72px rgba(179, 205, 238, .12); }
.prod-card-art::before { content: ""; position: absolute; z-index: -1; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--red); inset-inline-end: 12%; top: 16%; }
.prod-card-validity { background: var(--blue-tint); border-color: var(--ring-faint); color: var(--blue-deep); }
.prod-ticks li::before { background-color: var(--green-tint); border-color: #CFEBDD; }
.prod-card-price strong { color: var(--ink); }

/* ---------- plans configurator ---------- */
.pc { display: flex; flex-direction: column; gap: clamp(22px, 2.4vw, 32px); }
.pc-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.pc-head h1 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.2; text-wrap: balance; }
.pc-head p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--text); text-wrap: pretty; }
.pc-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.pc-type { text-align: start; cursor: pointer; background: #fff; border: 2px solid var(--line); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); font: inherit; transition: border-color .2s; }
.pc-type:hover { border-color: var(--line-strong); }
.pc-type[aria-pressed="true"] { border-color: var(--blue); }
.pc-type .t { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
.pc-type .t i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); flex: none; }
.pc-type[aria-pressed="true"] .t i { background: var(--blue); }
.pc-type .s { font-size: 13px; color: var(--muted); }
.pc-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.pc-row > strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.pc-curs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pc-curs > span { font-size: 13px; color: var(--muted); margin-inline-end: 4px; }
.cur-chip { cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 11px; font: 600 11px var(--font-mono); letter-spacing: .06em; transition: background .2s, color .2s; }
.cur-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pc-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pc-opt { cursor: pointer; text-align: start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; font: inherit; transition: background .25s, color .25s, transform .2s, border-color .2s; }
.pc-opt:hover { border-color: var(--line-strong); }
.pc-opt .top { display: flex; flex-direction: column; gap: 2px; }
.pc-opt .top b { font-size: 18px; font-weight: 600; }
.pc-opt .top small { font-size: 12px; color: var(--muted); }
.pc-opt .price { font-size: 22px; font-weight: 600; }
.pc-opt[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-3px); }
.pc-opt[aria-pressed="true"] .top small { color: rgba(255, 255, 255, .88); }
.pc-opt .pop { align-self: flex-start; font: 600 10px var(--font-mono); letter-spacing: .1em; color: var(--blue); background: var(--blue-tint); border-radius: 999px; padding: 2px 8px; }
.pc-opt[aria-pressed="true"] .pop { background: rgba(255, 255, 255, .2); color: #fff; }
.pc-bar { background: var(--ink); color: #fff; border-radius: 22px; padding: 18px 20px 18px clamp(18px, 2vw, 28px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.pc-bar .l { display: flex; flex-direction: column; gap: 2px; }
.pc-bar .l span { font-size: 13px; color: #C9CCD4; }
.pc-bar .l strong { font-size: 18px; font-weight: 600; color: #fff; }
.pc-bar .r { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pc-bar .price { font-size: 26px; font-weight: 600; }
.pc-bar .btn { padding: 14px 24px; font-size: 15px; }
.pc-bar .btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.pc-bar .btn-ghost-dark:hover { border-color: #fff; background: transparent; }
.pc-foot { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.pc-qp { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.pc-qp h2 { font-size: clamp(22px, 2.2vw, 28px); }
.pc-qp .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.pc-qp .card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.pc-qp .n { font: 600 11px var(--font-mono); letter-spacing: .14em; color: var(--blue); }
.pc-qp .card strong { font-size: 16px; font-weight: 600; color: var(--ink); }
.pc-qp .card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text); }

/* ---------- product ---------- */
.pd-grid { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.pd-left { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pd-right { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.pd-art { position: relative; aspect-ratio: 1 / .9; border-radius: 28px; background: var(--blue-tint); overflow: hidden; container-type: inline-size; }
.pd-art .r1 { left: 14%; top: 4%; width: 72%; aspect-ratio: 1; border-radius: 50%; border: 2.2cqw solid var(--sky); }
.pd-art .r2 { left: 24%; top: 15%; width: 52%; aspect-ratio: 1; border-radius: 50%; border: 2.6cqw solid var(--green); }
.pd-art .sun { left: 33%; top: 25%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.pd-art .fuji, .pd-art .snow { left: -10%; top: 55%; width: 120%; height: 45%; }
.pd-art .fuji { background: var(--mountain); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); }
.pd-art .snow { background: #fff; clip-path: polygon(42% 0, 58% 0, 67.4% 26%, 62% 21%, 56% 27%, 50% 21%, 44% 27%, 38% 21%, 32.6% 26%); }
.esim-card2 { left: 23%; top: 36%; width: 54%; background: #fff; border-radius: 4.5cqw; padding: 5cqw; box-shadow: 0 30px 60px rgba(38, 42, 51, .2); transform: rotate(-5deg); display: flex; flex-direction: column; gap: 3.4cqw; }
.esim-card2 .row1 { display: flex; justify-content: space-between; align-items: center; }
.esim-card2 img { height: 7cqw; width: auto; display: block; }
.esim-card2 .mono { font: 600 2.3cqw var(--font-mono); letter-spacing: .16em; color: var(--muted); }
.esim-card2 .chipx { width: 13cqw; height: 10cqw; border-radius: 2cqw; background: #F0EDE6; border: 1px solid var(--line); }
.esim-card2 .nm { display: flex; flex-direction: column; gap: .6cqw; }
.esim-card2 .nm b { font-size: 4.2cqw; font-weight: 600; color: var(--ink); font-family: "Readex Pro", system-ui, sans-serif; }
.esim-card2 .nm span { font: 600 2.3cqw var(--font-mono); letter-spacing: .12em; color: var(--green); }
.pd-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pd-spec { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.pd-spec span { font-size: 12px; color: var(--muted); }
.pd-spec b { font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.pd-intro { display: flex; flex-direction: column; gap: 10px; }
.pill-green { align-self: flex-start; background: var(--green-tint); color: var(--green-text); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 600; }
.pd-intro h1 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.2; }
.pd-intro p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--text); text-wrap: pretty; }
.pd-opts { display: flex; flex-direction: column; gap: 10px; }
.pd-opts > strong { font-size: 14px; font-weight: 600; color: var(--ink); }
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-chip { cursor: pointer; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font: 600 14px var(--font-body); transition: background .2s, color .2s, border-color .2s; }
.pd-chip:hover { border-color: var(--line-strong); }
.pd-chip[aria-checked="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.pd-chip small { font-weight: 500; opacity: .8; margin-inline-start: 4px; }
.pd-exact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.pd-exact .stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.pd-exact .stepper button { width: 36px; height: 36px; border: none; background: var(--paper); font-size: 16px; color: var(--ink); cursor: pointer; }
.pd-exact .stepper button:disabled { opacity: .35; cursor: not-allowed; }
.pd-exact .day-value { display: inline-flex; gap: 4px; align-items: baseline; min-width: 70px; justify-content: center; padding-inline: 6px; }
.pd-exact .day-value strong { font-size: 15px; color: var(--ink); }
.pd-exact .day-value span { font-size: 13px; }
.pd-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.pd-box .top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.pd-box .sum { display: flex; flex-direction: column; gap: 2px; }
.pd-box .sum > span { font-size: 13px; color: var(--muted); }
.pd-box .buy-price strong { font-size: 36px; font-weight: 600; line-height: 1.1; color: var(--ink); font-family: var(--font-body); }
.pd-box .buy-price { display: block; text-align: start; }
.qty2 { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty2 button { cursor: pointer; width: 42px; height: 42px; border: none; background: var(--paper); font-size: 18px; color: var(--ink); }
.qty2 strong { min-width: 44px; text-align: center; font-weight: 600; color: var(--ink); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-actions .js-buy-now { flex: 1 1 200px; padding: 16px; font-size: 16px; }
.pd-actions .js-add { flex: 1 1 160px; padding: 15px; font-size: 16px; font-weight: 500; background: #fff; color: var(--ink); border: 1px solid var(--line-strong); }
.pd-actions .js-add:hover { background: #fff; border-color: var(--ink); }
.pd-note { font-size: 12px; color: var(--muted); text-align: center; }
.pd-incl { display: flex; flex-direction: column; gap: 10px; }
.pd-incl span { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink); }
.pd-incl span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.pd-compat { background: var(--blue-tint); border-radius: 18px; padding: 16px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.pd-compat div { display: flex; flex-direction: column; gap: 2px; }
.pd-compat strong { font-size: 15px; font-weight: 600; color: var(--ink); }
.pd-compat span { font-size: 13px; color: var(--text); }
.pd-compat .btn { padding: 10px 16px; font-size: 14px; font-weight: 500; border-radius: 12px; }
.pd-right .dc-slot { margin-top: 0; }
.pd-right .fup-note { margin: 0; text-align: start; font-size: 12.5px; }
.prod-benefits, .prod-hotspot, .prod-details, .prod-compare { margin-top: clamp(40px, 5vw, 64px); }
.prod-hotspot { background: #fff; border-color: var(--line); }
.prod-tabs button.active { color: var(--blue); border-bottom-color: var(--blue); }
.pb-ic { background: var(--blue-tint); }
.best-for { background: var(--green-tint); border-color: #CFEBDD; }
.compat-check { background: var(--blue-tint); border-color: var(--ring-faint); }

/* ---------- cart + checkout ---------- */
.co-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.co-step { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 8px; font-size: 13px; font-weight: 500; }
html[dir="rtl"] .co-step { padding: 7px 8px 7px 14px; }
.co-step b { width: 22px; height: 22px; border-radius: 50%; background: var(--seg); color: var(--ink); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.co-step.done b { background: var(--green); color: #fff; }
.co-step.current { background: var(--ink); border-color: var(--ink); color: #fff; }
.co-step.current b { background: #fff; color: var(--ink); }
.page-title { font-size: clamp(28px, 3vw, 40px); color: var(--ink); }
.cart-grid { gap: clamp(20px, 3vw, 40px); }
.cart-line { background: #fff; border: 1px solid var(--line); border-radius: 22px; }
.cart-line-art { width: 64px; height: 64px; border-radius: 16px; background: var(--blue-tint); position: relative; overflow: hidden; padding: 0; }
.cart-line-art::before { content: ""; position: absolute; inset-inline-start: 14px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); }
.cart-line-art::after { content: ""; position: absolute; left: -6px; top: 36px; width: 76px; height: 28px; background: var(--mountain); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); }
.cart-line-art span { display: none; }
@media (max-width: 560px) { .cart-line-art { width: 48px; height: 48px; } .cart-line-art::before { width: 26px; height: 26px; top: 8px; inset-inline-start: 11px; } .cart-line-art::after { top: 27px; width: 60px; height: 22px; } }
.cart-line-name { color: var(--ink); }
.cart-line-total, .mini-line-total, .mini-total strong, .sum-row.total strong { color: var(--ink); font-family: var(--font-body); }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.summary-card h2 { font-size: 16px; }
.sum-row { font-size: 14px; }
.sum-row .free, .sum-row .co-free { color: var(--green-text); font-weight: 500; }
.sum-row.total { border-top: 1px solid var(--divider); font-size: 18px; color: var(--ink); }
.sum-row.total strong { font-size: 18px; }
.summary-card .charge-note { color: var(--blue-deep); }
.checkout-form { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(18px, 2.4vw, 32px); }
.checkout-form label { font-size: 13px; color: var(--text); font-weight: 500; }
.checkout-form input { border: 1px solid var(--line-strong); border-radius: 12px; padding: 14px; font-size: 15px; color: var(--ink); }
.checkout-form input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.step-title { font-size: 16px; font-weight: 600; color: var(--ink); gap: 10px; }
.step-title span { border-radius: 50%; width: 24px; height: 24px; font-size: 12px; background: var(--ink); }
.co-pay-info { background: var(--sel-bg); border: 1px solid var(--ring-faint); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; color: var(--text); line-height: 1.7; }
.js-pay { padding: 17px; font-size: 17px; border-radius: 14px; }
.co-secure { text-align: center; font-size: 12px; color: var(--muted); margin-top: 10px; }
.summary-lines li { align-items: center; }
.summary-lines .sl-art { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-tint); position: relative; overflow: hidden; flex: none; }
.summary-lines .sl-art::before { content: ""; position: absolute; inset-inline-start: 10px; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--red); }
.summary-lines .sl-art::after { content: ""; position: absolute; left: -4px; top: 25px; width: 52px; height: 20px; background: var(--mountain); clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); }
.summary-lines li > .sl-main { display: flex; gap: 12px; align-items: flex-start; flex: 1; min-width: 0; }
.coupon-form input { border-radius: 12px; border-color: var(--line-strong); }
.coupon-form .btn { border: 1px solid var(--ink); color: var(--ink); border-radius: 12px; }
.qty-row button { border-color: var(--line); color: var(--ink); background: var(--paper); border-radius: 10px; }
.qty-row button:hover { background: #fff; border-color: var(--line-strong); }
.qty-row .qty-del { color: var(--red); }
.secure-line { color: var(--muted); }
.drawer, .toast { border-color: var(--line); }
.mini-list li { background: var(--paper); border-color: var(--line); }
.continue-link { color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  .pg-dot, .live-dot { animation: none; }
  .hero2-bars .bar i, .pc-opt, .pd-chip { transition: none; }
  .pc-opt[aria-pressed="true"] { transform: none; }
}
.pd-chip .chip-badge { position: static; background: none; color: inherit; padding: 0; font-size: 11px; font-weight: 600; opacity: .85; }
.pd-chip.chip { display: inline-flex; align-items: center; gap: 6px; }
.pd-exact .day-rate { margin: 0; font-size: 12.5px; color: var(--muted); }
.pd-box .charged { font-size: 12px; color: var(--blue-deep); }
.summary-lines .sl-main > div { display: grid; gap: 2px; justify-items: start; }
.summary-lines .sl-main > div > span { font-size: 12.5px; color: var(--muted); }
@media (min-width: 700px) { .hero2-stats { flex-wrap: nowrap; } .hero2-stats div { flex: 0 1 auto; min-width: 0; } }
.hero2-stats strong { white-space: nowrap; }
/* Arabic must never be letter-spaced (it breaks the joining between letters): mono + tracking for Latin only */
html[dir="rtl"] .eyebrow, html[dir="rtl"] .prod-card-body .eyebrow { letter-spacing: 0; font-family: var(--font-body); font-size: 13px; }
html[dir="rtl"] .eyebrow .jp { letter-spacing: .06em; }
.prod-card-art::before { inset-inline-end: auto; inset-inline-start: 9%; top: 30%; width: 20%; }
.site-header .currency-select, .pay-icons span { letter-spacing: 0; }
.pc > * { min-width: 0; max-width: 100%; }  /* a flex column must not grow to the compare table: it scrolls inside its own box */
.hero2-copy { padding-bottom: clamp(12px, 8cqw, 104px); } /* the bars rise into the hero: keep them clear of the text when the copy is the taller column (English) */
