/* Uniform card shells: long copy/choices scroll inside; actions stay at the bottom. */
.plan-card-3d-wrapper{height:650px!important;min-height:650px!important;max-height:650px!important;box-sizing:border-box}
.plan-card-3d-inner{height:650px!important;min-height:650px!important}
.card-face{height:650px!important;min-height:650px!important;overflow:hidden!important}
.card-face-front{position:absolute!important;padding:18px!important;gap:10px!important}
.plan-card-image-wrap{height:116px!important;min-height:116px;flex:0 0 116px;margin:0!important}.plan-card-image{height:116px!important;max-height:116px!important;object-fit:contain}
.plan-card-image-placeholder{display:block;background:linear-gradient(135deg,#fff7ed,#f1f5f9);border-radius:12px}
.plan-header{margin:0!important;flex:0 0 auto;min-width:0}.plan-name{font-size:19px!important;line-height:1.25!important;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:48px!important}
.plan-target{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4!important;font-size:13px!important;margin:6px 0 0!important;min-height:36px}
.plan-price-box{margin:0!important;flex:0 0 auto}.plan-price-amount{font-size:23px!important}.plan-price-note{font-size:12px!important;line-height:1.4!important}
.plan-features{margin:0!important;flex:0 1 50px!important;min-height:0;overflow:auto;font-size:12px;gap:5px!important}
.plan-accessories{min-height:0;flex:1 1 150px;display:flex;flex-direction:column;gap:5px;overflow:auto}.plan-accessories fieldset{margin:0;border:0;padding:0;min-width:0}.plan-accessories legend{font-size:13px;font-weight:700}.accessory-options{max-height:100px;overflow-y:auto;overscroll-behavior:contain}.accessory-option{display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 0;font-size:13px;cursor:pointer}.accessory-option input{accent-color:#c2410c;width:18px;height:18px;flex-shrink:0}.accessory-option span{min-width:0;overflow-wrap:anywhere}.accessory-option small{display:block;color:#475569;font-size:11px}.accessory-empty{font-size:12px;color:#64748b;margin:4px 0}
.billing-choice{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.billing-choice select{min-height:36px;max-width:120px;padding:4px;border:1px solid #cbd5e1;border-radius:8px;font-size:16px}.accessory-total{font-size:12px;line-height:1.45;color:#0f766e;margin:0}
.plan-card-actions{flex:0 0 auto;margin-top:auto!important;gap:6px!important}.btn-select-plan{min-height:44px;font-size:14px!important;padding:10px!important}.card-face-back p{overflow:auto;min-height:0;overflow-wrap:anywhere}.service-plan-grid{align-items:start}
@media(max-width:767px){#plans-3d-stage:not(.catalog-empty),#plans-3d-stage:not(.catalog-empty) #plans-slider-track{height:690px!important;min-height:690px!important}.plan-card-3d-wrapper.is-center{height:650px!important;min-height:650px!important;max-height:650px!important}.plan-card-3d-wrapper .card-face{padding:16px!important}}
@media(min-width:768px){#plans-3d-stage:not(.catalog-empty),#plans-3d-stage:not(.catalog-empty) #plans-slider-track{height:720px!important;min-height:720px!important}.service-plan-grid .plan-card-3d-wrapper{width:100%!important;max-width:100%!important;flex:none!important;transform:none!important}}

/* The image owns exactly 30% of the 650px card; the body owns the remaining space. */
.plan-card-3d-wrapper .card-face-front{padding:0!important;gap:0!important;border-radius:24px;display:flex;flex-direction:column}
.plan-card-3d-wrapper .plan-card-image-wrap{width:100%;height:195px!important;min-height:195px;flex:0 0 195px;border-radius:0!important;overflow:hidden;margin:0!important;background:#fff7ed}
.plan-card-3d-wrapper .plan-card-image{display:block;width:100%!important;height:195px!important;max-height:195px!important;object-fit:cover;border-radius:0!important;margin:0}
.plan-card-body{padding:16px;display:flex;flex-direction:column;gap:9px;min-height:0;flex:1;box-sizing:border-box;width:100%;overflow:hidden}
.plan-card-3d-wrapper .plan-tag-badge{position:absolute;z-index:2;top:12px;left:12px;right:auto;max-width:calc(100% - 24px);white-space:normal;font-size:11px;line-height:1.25;padding:6px 10px}
.plan-speed-line{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#475569;margin:4px 0 0;gap:8px}.plan-speed-line strong{color:#0f172a;font-size:14px}
.plan-card-3d-wrapper .plan-price-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;flex-wrap:wrap}.plan-card-3d-wrapper .plan-price-amount{font-size:22px!important;min-width:0;overflow-wrap:anywhere;line-height:1.3;font-variant-numeric:tabular-nums}
.billing-choice select{min-height:44px;max-width:104px;border-color:#cbd5e1;font-size:14px;border-radius:10px;background:#fff;padding:6px}
.plan-card-3d-wrapper .plan-name{min-height:44px!important;font-size:18px!important;margin:0!important;line-height:1.25!important}
.plan-card-3d-wrapper .plan-accessories{flex:1;min-height:70px;overflow:auto}.plan-accessories .accessory-options{max-height:none}.accessory-option strong{font-size:12px}.accessory-option small{font-size:11px}.accessory-option em{display:block;font-style:normal;color:#9a3412}.accessory-option del{color:#64748b}.accessory-option b{color:#c2410c}
.plan-card-3d-wrapper .accessory-total{font-size:11px;margin:0}.plan-equipment-block{flex:0 0 auto;max-height:66px;overflow:auto}.plan-equipment-block h4{font-size:12px;margin:0 0 4px}.plan-equipment-block .plan-features{font-size:12px;max-height:none;list-style:none;padding:0;margin:0!important}
.plan-card-3d-wrapper .plan-card-actions{display:flex!important;flex-direction:column!important;gap:4px!important;width:100%}.plan-card-3d-wrapper .btn-flip-trigger{min-height:38px;padding:7px;font-size:13px;width:100%;border:1px solid #fed7aa;border-radius:10px;background:#fff7ed;color:#9a3412}
.plan-details-dialog{width:min(620px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #e2e8f0;border-radius:24px;box-shadow:0 24px 80px #0f172a40;color:#0f172a;z-index:9999;box-sizing:border-box}
.plan-details-dialog::backdrop{background:#0f172a90;backdrop-filter:blur(3px)}.plan-details-dialog[open]{display:flex;flex-direction:column}.plan-details-dialog header,.plan-details-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;flex-shrink:0;border-bottom:1px solid #e2e8f0}.plan-details-dialog footer{border-bottom:0;border-top:1px solid #e2e8f0}.plan-details-dialog h2{font-size:21px;margin:4px 0;overflow-wrap:anywhere}.detail-eyebrow{font-size:11px;color:#9a3412;letter-spacing:.08em}.detail-close{width:44px;height:44px;border:0;background:#f1f5f9;border-radius:50%;font-size:26px;flex-shrink:0;cursor:pointer}
.plan-details-content{overflow:auto;overscroll-behavior:contain;padding:18px 20px;min-height:0;font-size:14px;line-height:1.6}.plan-details-content h3{font-size:16px}.plan-details-content img{width:100%;max-height:220px;object-fit:contain;border-radius:16px}.plan-details-content dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#fff7ed;padding:16px;border-radius:16px}.plan-details-content dt{color:#475569}.plan-details-content dd{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}.plan-details-content p{white-space:pre-line;overflow-wrap:anywhere}.detail-note{color:#475569;font-size:12px}.detail-accessory{padding:10px 0;border-bottom:1px solid #e2e8f0}.detail-accessory small{display:block;color:#475569}
@media(max-width:767px){.plan-card-3d-wrapper .card-face-front{padding:0!important}.plan-card-body{padding:14px}.plan-details-dialog footer{padding:12px;gap:8px}.plan-details-dialog footer button{min-width:0;flex:1;font-size:13px}}
.custom-mega-menu{padding:20px!important;min-width:260px}.custom-mega-menu .mega-link-item{display:block;min-height:44px;padding:12px}.plan-details-dialog [hidden]{display:none!important}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

.plan-card-3d-wrapper .plan-header{padding-bottom:6px!important;margin:0!important}.plan-card-3d-wrapper .plan-card-body{gap:7px}.plan-card-3d-wrapper .plan-price-box{padding:8px 10px!important;margin:0!important;min-height:0!important}.plan-card-3d-wrapper .plan-accessories{min-height:44px}.plan-card-3d-wrapper .accessory-total{flex:0 0 auto;line-height:1.35;max-height:32px;overflow:auto}.plan-card-3d-wrapper .plan-equipment-block{max-height:46px}
