/* Device page, layout B (story scroll). Prefix sc-dev. */
.sc-dev { --sc-dev-red: var(--sc-red, #bf1421); --sc-dev-ink: #16181d; color: var(--sc-dev-ink); font-size: 16px; }
.sc-dev * { box-sizing: border-box; }
.sc-dev-wrap { width: min(1180px, 100% - 48px); margin: 0 auto; }
.sc-dev-hero { background: linear-gradient(135deg, #f7f4f1, #e8e2dc); padding: clamp(32px, 6vw, 72px) 0; overflow: hidden; }
.sc-dev-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.sc-dev-brand { display: block; font-size: 13px; font-weight: 800; letter-spacing: .22em; color: var(--sc-dev-red); }
.sc-dev-hero h1 { margin: 10px 0 18px; font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.12; font-weight: 800; color: var(--sc-dev-ink); }
.sc-dev-chip { display: inline-block; background: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; margin: 0 8px 8px 0; }
.sc-dev-photo { width: 100%; height: auto; max-height: 460px; object-fit: contain; justify-self: end; filter: drop-shadow(0 28px 30px rgba(0, 0, 0, .18)); }
.sc-dev-bar { position: sticky; top: var(--sc-dev-sticky, 0px); z-index: 30; background: #1d1d1f; color: #fff; }
.sc-dev-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; flex-wrap: wrap; }
.sc-dev-bar-price { font-size: 20px; font-weight: 800; margin-left: auto; }
.sc-dev-bar-price, .sc-dev-bar-price * { color: #fff !important; }
.sc-dev-bar-cart form.cart { display: flex; align-items: center; gap: 10px; margin: 0; }
.sc-dev-bar-cart .quantity { margin: 0; }
.sc-dev-bar-cart .single_add_to_cart_button { background: var(--sc-dev-red) !important; color: #fff !important; border-radius: 8px; padding: 10px 22px; font-weight: 700; }
.sc-dev-st { padding: clamp(32px, 5vw, 64px) 0; }
.sc-dev-st.is-light { background: #f4f1ee; }
.sc-dev-st.is-dark { background: #1d1d1f; color: #fff; }
.sc-dev-st .sc-dev-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.sc-dev-st.is-light .sc-dev-wrap { grid-template-columns: 1fr; }
.sc-dev-big { margin: 0; font-size: clamp(1.3rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.25; }
.sc-dev-steps { display: flex; gap: 10px; }
.sc-dev-step { flex: 1; border: 1px solid #444; border-radius: 12px; padding: 16px 8px; text-align: center; }
.sc-dev-step b { display: block; font-size: 1.6rem; }
.sc-dev-step.is-top { background: var(--sc-dev-red); border-color: var(--sc-dev-red); }
.sc-dev-list { padding: clamp(28px, 4vw, 56px) 0 8px; }
.sc-dev-list h2, .sc-dev-attrs h2 { font-size: 1.1rem; margin: 0 0 14px; font-weight: 800; }
.sc-dev-list ul { columns: 2; column-gap: 40px; margin: 0; padding-left: 18px; line-height: 1.75; }
.sc-dev-list li { break-inside: avoid; }
.sc-dev-info { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 80px); }
.sc-dev-info-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.sc-dev-attrs table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sc-dev-attrs th, .sc-dev-attrs td { padding: 9px 4px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; }
.sc-dev-attrs td { text-align: right; font-weight: 600; }
.sc-dev-docs { display: flex; flex-direction: column; gap: 10px; }
.sc-dev-dl { display: flex; align-items: center; gap: 12px; border: 1.5px solid #e1dcd7; border-radius: 14px; padding: 12px 14px; background: #fff; color: var(--sc-dev-ink); transition: border-color .2s, transform .2s; }
.sc-dev-dl:hover { border-color: var(--sc-dev-red); transform: translateY(-1px); }
.sc-dev-dl u { text-decoration: none; width: 42px; height: 42px; border-radius: 10px; color: #fff; font-weight: 800; font-size: 11px; display: grid; place-items: center; flex: none; background: #333; }
.sc-dev-dl.is-ce u { background: #1f6f54; } .sc-dev-dl.is-manual u { background: #b71c1c; } .sc-dev-dl.is-specs u { background: #e0731a; } .sc-dev-dl.is-label u { background: #2e7d32; }
.sc-dev-dl-name { flex: 1; font-weight: 600; font-size: 14px; }
.sc-dev-dl-btn { background: var(--sc-dev-red); color: #fff; border-radius: 8px; padding: 8px 12px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.sc-dev-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.sc-dev-badge { flex: 1 1 180px; border: 1px solid #e1dcd7; border-radius: 12px; padding: 12px 14px; font-size: 13px; background: #fbf4dc; }
@media (max-width: 900px) {
	.sc-dev-hero-in, .sc-dev-st .sc-dev-wrap, .sc-dev-info-in { grid-template-columns: 1fr; }
	.sc-dev-photo { justify-self: center; max-height: 300px; }
	.sc-dev-list ul { columns: 1; }
	.sc-dev-bar-in { justify-content: center; }
}

/* K5 flip photo and K9 phase block */
.sc-dev-st.has-media .sc-dev-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.sc-dev-flip { background: #fff; border-radius: 18px; padding: 16px; text-align: center; }
.sc-dev-flip img { max-width: 100%; height: auto; max-height: 240px; }
.sc-dev-phase { background: #1d1d1f; color: #fff; padding: clamp(32px, 5vw, 64px) 0; }
.sc-dev-phase-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.sc-dev-phase .sc-dev-brand { color: #ff6b6b; }
.sc-dev-phase h2 { margin: 8px 0 14px; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.15; font-weight: 800; color: #fff !important; }
.sc-dev-phase-copy p { margin: 0; color: #ccc; line-height: 1.6; }
.sc-dev-phase-cmp { display: flex; gap: 14px; }
.sc-dev-phase-box { flex: 1; background: #2a2a2d; border-radius: 14px; padding: 16px; font-size: 13px; }
.sc-dev-phase-box.is-on { box-shadow: 0 0 0 2px var(--sc-dev-red); }
.sc-dev-phase-box span { display: block; color: #aaa; font-size: 11px; margin-top: 10px; }
.sc-dev-phase-box i { display: block; height: 14px; border-radius: 7px; background: #e9e4df33; margin: 6px 0 2px; position: relative; }
.sc-dev-phase-box i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 7px; background: var(--sc-dev-red); }
.sc-dev-phase-box small { display: block; color: #aaa; margin-top: 8px; }
.sc-dev-phase-notice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: center; margin-top: 34px; background: #f7f5f3; color: var(--sc-dev-ink); border-radius: 16px; padding: 20px; }
.sc-dev-phase-img img { width: 100%; height: auto; border-radius: 10px; display: block; }
.sc-dev-phase-notice p { margin: 0 0 14px; font-size: 16px; line-height: 1.5; font-weight: 600; }
.sc-dev-phase-btn { display: inline-block; background: var(--sc-dev-red); color: #fff !important; font-weight: 700; border-radius: 8px; padding: 10px 20px; font-size: 13px; }
@media (max-width: 900px) { .sc-dev-st.has-media .sc-dev-wrap, .sc-dev-phase-top, .sc-dev-phase-notice { grid-template-columns: 1fr; } }

/* fan page */
.sc-fp-pick { margin: 0 0 8px; }
.sc-fp-chip { border: 1px solid #d8d3ce; cursor: pointer; font: inherit; font-size: 13px; }
.sc-fp-chip.is-on { background: var(--sc-dev-ink); color: #fff; border-color: var(--sc-dev-ink); }
.sc-fp-band .sc-dev-wrap { grid-template-columns: 1fr; }
.sc-fp-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sc-fp-num { background: #2a2a2d; border-radius: 14px; padding: 20px 10px; text-align: center; }
.sc-fp-num b { display: block; font-size: clamp(1.3rem, 2.6vw, 2rem); }
.sc-fp-num small { color: #aaa; }
.sc-fanpg .sc-dev-bar-cart .variations, .sc-fanpg .sc-dev-bar-cart .reset_variations { display: none !important; }
.sc-fanpg .sc-dev-bar-cart .woocommerce-variation-price, .sc-fanpg .sc-dev-bar-cart .woocommerce-variation-description { display: none; }
@media (max-width: 700px) { .sc-fp-nums { grid-template-columns: repeat(2, 1fr); } }
.sc-fanpg .sc-fp-chip { border-radius: 999px !important; text-transform: none !important; background: #fff !important; border: 1px solid #d8d3ce !important; font-weight: 400 !important; letter-spacing: 0 !important; min-height: 0 !important; box-shadow: none !important; color: #16181d !important; padding: 7px 16px !important; }
.sc-fanpg .sc-fp-chip.is-on { background: #16181d !important; border-color: #16181d !important; color: #fff !important; font-weight: 700 !important; }

/* the flip photo keeps its proportions (width/height attributes plus max-height used to squash it) */
.sc-dev-flip img { width: auto !important; height: auto !important; max-width: 100%; max-height: 260px; object-fit: contain; }
.sc-dev-flip img { height: 240px !important; width: auto !important; max-height: none; aspect-ratio: 1332 / 1099; }

/* T18 max-power calculator */
.sc-dev-t18 { margin-top: 14px; background: #f7f5f3; border: 1px solid #e1dcd7; border-radius: 16px; padding: 18px 20px; }
.sc-dev-t18 h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 800; }
.sc-t18-lead { margin: 0 0 12px; color: #555; font-size: 13px; }
.sc-t18-pick { display: flex; align-items: center; gap: 14px; }
.sc-t18-btn { width: 40px; height: 40px; border-radius: 50% !important; border: 1px solid #d8d3ce !important; background: #fff !important; color: #16181d !important; font-size: 20px; line-height: 1; padding: 0 !important; cursor: pointer; }
.sc-t18-btn:hover { border-color: var(--sc-dev-red) !important; }
.sc-t18-kw { font-size: 1.1rem; }
.sc-t18-kw b { font-size: 2rem; margin-right: 2px; }
.sc-t18-out { margin-top: 12px; display: flex; align-items: baseline; gap: 12px; }
.sc-t18-out small { font-weight: 800; letter-spacing: .14em; color: var(--sc-dev-red); font-size: 11px; }
.sc-t18-out b { font-size: 2.6rem; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.sc-t18-brk { margin: 4px 0 10px; font-weight: 700; font-size: 14px; min-height: 1.3em; }
.sc-t18-steps { margin: 0 0 10px; padding-left: 18px; font-size: 13px; line-height: 1.5; color: #333; }
.sc-t18-warn { margin: 0; font-size: 12px; color: #7a3a00; background: #fbf4dc; border: 1px solid #ecd78a; border-radius: 10px; padding: 8px 10px; }
