/* Phone detail only. All existing price IDs and application controls are retained. */
.hp-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:30px;align-items:start;margin-bottom:48px}
.hp-main{min-width:0}
.hp-main>.section-shell{width:100%;max-width:none;margin-left:0;margin-right:0}
.hp-main>.hp-product{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px!important;padding:0 0 30px!important;align-items:start}
.hp-product .detail-gallery{position:static;min-width:0;padding:20px;border:1px solid #e1e7ef;border-radius:22px;background:#fff;box-sizing:border-box}
.hp-product .detail-gallery__main{height:300px!important;min-height:300px!important;border:0!important;border-radius:16px!important;box-shadow:none!important;background:#f8fafc!important}
.hp-product .detail-gallery__main>img#mainProductImage{width:100%!important;height:100%!important;max-width:100%;max-height:300px;padding:30px!important;box-sizing:border-box;object-fit:contain!important;mix-blend-mode:multiply}
.hp-product .phone-placeholder--large{height:260px;max-width:100%}
.hp-identity{margin-top:20px}
.hp-product .detail-title h1{font-size:26px;line-height:1.3;letter-spacing:-.045em;margin:12px 0;overflow-wrap:anywhere}
.hp-product .detail-title>p{font-size:13px;color:#708198}
.hp-product .detail-title__meta{font-size:11px}
.hp-product .detail-config{padding:24px!important;border-radius:22px!important;border:1px solid #e1e7ef!important;box-shadow:none!important;background:#f7f9fc!important}
.hp-config-head>span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#2563eb}
.hp-config-head h2{margin:8px 0 24px;font-size:22px;letter-spacing:-.04em;line-height:1.4}
.hp-product .config-section{margin-top:22px;padding-top:20px;border-top:1px solid #e3e9f1}
.hp-product .config-label{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin-bottom:12px}
.hp-product .config-label>b{font-size:14px}
.hp-product .config-label>span{font-size:11px;color:#7c899c;line-height:1.5}
.hp-product .choice-grid{gap:8px}
.hp-product .choice-btn{min-width:0;min-height:44px;padding:10px 8px;font-size:13px;border-radius:12px!important;word-break:keep-all}
.hp-product .choice-grid--colors{grid-template-columns:repeat(2,minmax(0,1fr))}
.hp-product .choice-grid--capacity{grid-template-columns:repeat(2,minmax(0,1fr))}
.hp-product .choice-btn.is-active{border-color:#2563eb!important;background:#edf4ff!important;color:#1d4ed8!important;box-shadow:0 0 0 1px #2563eb!important}
.hp-product .select-wrap select{width:100%;min-width:0;font-size:13px;border-radius:12px;background-color:#fff}
.hp-product .support-switch{gap:8px}
.hp-product .support-switch button{padding:14px 8px;border-radius:12px!important;min-width:0}
.hp-product .support-switch button strong{font-size:14px}
.hp-product .support-switch button span{font-size:11px;line-height:1.5}
.hp-product .support-switch button.is-active{border-color:#2563eb!important;background:#edf4ff!important;color:#1d4ed8!important}
.hp-product .purchase-method{gap:8px}
.hp-product .purchase-method__item{padding:13px 9px;min-width:0;border-radius:12px}
.hp-product .purchase-method__item strong{font-size:13px}
.hp-product .purchase-method__item span{font-size:11px}
.hp-product .plan-spec{min-width:0;overflow-wrap:anywhere}
.hp-wing{position:sticky;top:106px;align-self:start;min-width:0;box-sizing:border-box;padding:22px;background:#fff;border:1px solid #e1e7ef;border-radius:22px;box-shadow:0 12px 32px #162a4610;max-height:calc(100dvh - 122px);overflow-y:auto;scrollbar-width:thin}
.hp-wing__heading>span{font-size:10px;font-weight:900;letter-spacing:.1em;color:#2563eb}
.hp-wing__heading h2{font-size:23px;letter-spacing:-.04em;margin:8px 0}
.hp-wing__heading p{font-size:13px;line-height:1.5;color:#66758a;margin:0 0 18px;overflow-wrap:anywhere}
.hp-wing .price-summary{margin:0;padding:20px;border-radius:16px}
.hp-wing .price-summary__hero{display:block}
.hp-wing .summary-main strong{font-size:30px;line-height:1.3}
.hp-wing .summary-main small{font-size:10px;line-height:1.5}
.hp-wing .summary-overview{margin-top:12px;min-width:0}
.hp-wing .summary-overview>p{font-size:10px;line-height:1.6}
.hp-wing .summary-metrics{display:grid;grid-template-columns:1fr;gap:8px;margin:14px 0}
.hp-wing .summary-metric{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;padding:10px 0}
.hp-wing .summary-metric>span{font-size:11px}
.hp-wing .summary-metric>strong{font-size:18px;white-space:nowrap}
.hp-wing .summary-breakdown{margin:12px 0 0}
.hp-wing .summary-breakdown>div{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0}
.hp-wing .summary-breakdown dt{font-size:11px;line-height:1.5}
.hp-wing .summary-breakdown dd{font-size:13px;margin:0;white-space:nowrap}
.hp-wing .price-formula{display:none}
.hp-wing .detail-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:14px}
.hp-wing .detail-actions .btn{min-height:46px;width:100%;padding:12px 8px;font-size:13px;box-sizing:border-box;white-space:normal}
.hp-main>.plan-price-board{margin-top:0;margin-bottom:28px;padding:24px;box-sizing:border-box;border:1px solid #e1e7ef;border-radius:22px;background:#fff}
.hp-main .plan-price-board__head h2{font-size:23px;line-height:1.4}
.hp-main .plan-price-board__controls{flex-wrap:wrap;gap:12px}
.hp-main .plan-price-board__scroll{overflow-x:auto}
.hp-main>.product-info-tabs{margin-top:28px;margin-bottom:0;min-width:0}
.hp-main .product-tab-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px!important;overflow:visible}
.hp-main .product-tab-nav>a{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;min-height:52px;padding:10px 4px;box-sizing:border-box;font-size:13px;font-weight:800;line-height:1.4;white-space:nowrap;text-decoration:none}
.hp-main .product-tab-panel{min-width:0}
@media(min-width:981px) and (max-width:1150px){.hp-layout{gap:20px}.hp-main>.hp-product{grid-template-columns:1fr}.hp-product .detail-gallery{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px}.hp-product .detail-gallery__main{height:240px!important;min-height:240px!important}.hp-identity{margin-top:0}.hp-product .detail-title h1{font-size:23px}}
@media(max-width:980px){.hp-layout{display:flex;flex-direction:column;gap:0}.hp-main{display:contents}.hp-main>.hp-product{order:1;width:100%}.hp-wing{order:2;position:static;max-height:none;overflow:visible;width:100%;margin-bottom:28px}.hp-main>.plan-price-board{order:3;width:100%}.hp-main>.product-info-tabs{order:4;width:100%}.hp-wing .summary-metrics{grid-template-columns:1fr 1fr;gap:16px}.hp-wing .detail-actions{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.hp-main>.hp-product{grid-template-columns:1fr}.hp-product .detail-gallery{padding:18px}.hp-product .detail-gallery__main{height:240px!important;min-height:240px!important}.hp-product .detail-gallery__main>img#mainProductImage{max-height:240px;padding:24px!important}.hp-product .detail-title h1{font-size:24px}.hp-product .detail-config{padding:20px!important}.hp-wing{padding:18px}.hp-wing .summary-metrics{grid-template-columns:1fr}.hp-wing .detail-actions{grid-template-columns:1fr}.hp-main>.plan-price-board{padding:18px}.hp-main .plan-price-board__head h2{font-size:21px}.hp-main .product-tab-nav>a{font-size:12px;min-height:46px;padding:8px 3px}.hp-main .product-tab-nav{gap:3px!important}}

/* Selected states use the same dark treatment as the purchase method. */
.hp-layout .hp-product .choice-btn.is-active,
.hp-layout .hp-product .support-switch button.is-active{background:#111827!important;border-color:#111827!important;color:#fff!important;box-shadow:none!important}
.hp-layout .hp-product .choice-btn.is-active strong,
.hp-layout .hp-product .choice-btn.is-active span,
.hp-layout .hp-product .support-switch button.is-active strong,
.hp-layout .hp-product .support-switch button.is-active span{color:#fff!important}
.hp-layout .hp-product #planSelect{font-weight:700;color:#111827!important}
.hp-wing .summary-overview{padding:0!important;margin:0!important;border:0!important;background:transparent!important;border-radius:0!important}
.hp-wing .summary-overview:has(#phoneBenefit[hidden]){display:none!important}
.hp-layout .hp-wing .detail-actions{display:flex!important;flex-direction:column!important;gap:8px!important}
.hp-layout .hp-wing .detail-actions>.btn{width:100%!important;flex:none!important;min-height:42px;padding:10px 8px!important}
.hp-layout .hp-wing .detail-actions>[hidden]{display:none!important}
.hp-wing .price-summary{padding:16px}
.hp-wing .summary-main{padding-bottom:12px}
.hp-wing .summary-metrics{gap:2px;margin:10px 0}
.hp-wing .summary-metric{padding:7px 0}
.hp-wing .summary-breakdown>div{padding:6px 0}
/* Only the desktop fixed price bar is redundant with the new wing. */
@media(min-width:981px){.hp-layout~#desktopSticky,.hp-layout~#desktopStickyDetail{display:none!important}}

/* Compact estimate: no nested scroll area or repeated model heading. */
.hp-layout .hp-wing{max-height:none;overflow:visible;padding:16px}
.hp-wing .hp-wing__heading{display:none}
.hp-layout .hp-wing .summary-main{padding:12px 14px!important}
.hp-layout .hp-wing .summary-main strong{margin:5px 0;font-size:28px}
.hp-layout .hp-wing .summary-breakdown{padding:12px!important;margin-top:10px!important}
.hp-layout .hp-wing .summary-breakdown>.summary-principal{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 8px;padding-bottom:10px!important}
.hp-wing .summary-principal>#principal{text-align:right;justify-self:end}
.hp-product .select-wrap.hp-plan-chosen{position:relative}
.hp-layout .hp-product .hp-plan-chosen #planSelect{border:1px solid #111827!important;background-color:#fff!important;box-shadow:0 0 0 1px #1118270a;padding-left:38px!important}
.hp-product .select-wrap.hp-plan-chosen::before{content:'✓';position:absolute;left:13px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#111827;color:#fff;font-size:11px;pointer-events:none;z-index:1}
@media(min-width:981px) and (max-height:780px){.hp-layout .hp-wing{padding:12px}.hp-wing .price-summary{padding:12px}.hp-layout .hp-wing .summary-main{padding:10px 12px!important}.hp-wing .summary-metric{padding:5px 0}.hp-wing .summary-breakdown>div{padding:5px 0}.hp-layout .hp-wing .detail-actions{margin-top:10px!important;gap:6px!important}}
/* Preserve sticky tracking; tall wings anchor their bottom after natural scrolling. */
@media(min-width:981px){.hp-layout .hp-wing{position:sticky;top:var(--hp-wing-top,106px)}}

/* Cancel the legacy important top margin inside the estimate wing. */
.hp-layout .hp-wing>.price-summary--itgo{margin:0!important}
.hp-layout .hp-wing .summary-main small{display:block;font-size:10px;line-height:1.5;word-break:keep-all}

/* Footer detail: one flowing summary instead of seven option cards. */
#mobileStickyDetail .hp-selection-source,
#desktopStickyDetail .hp-selection-source{display:none!important}
#mobileStickyDetail .hp-selection-summary,
#desktopStickyDetail .hp-selection-summary{display:block;margin:14px 0 16px;padding:0;border:0;background:transparent;color:#e4e9e5;font-size:13px;font-weight:600;line-height:1.8;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;min-width:0}
#desktopStickyDetail .desktop-sticky-detail__body{grid-template-columns:minmax(0,1fr)!important}
#desktopStickyDetail .hp-selection-summary{margin:0}
