/* Reusable WHMCS billing-duration control for product plan cards. */
.ls-billing-choice { --billing-accent: #bf7526; --billing-tint: #fff5e8; position: relative; margin: auto 0 14px; }
.ls-billing-label { display: block; margin-bottom: 8px; color: #687b8d; font: 800 10px var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.ls-billing-dropdown { position: relative; }
.ls-billing-dropdown summary { display: flex; align-items: center; gap: 10px; min-height: 59px; padding: 8px 11px; border: 1px solid #d4e0e9; border-radius: 10px; background: linear-gradient(145deg,#f9fbfc,#eef4f8); color: #1c3048; box-shadow: inset 0 1px 0 #fff; cursor: pointer; list-style: none; transition: border-color .2s,box-shadow .2s,background .2s; }
.ls-billing-dropdown summary::-webkit-details-marker { display: none; }
.ls-billing-dropdown summary::marker { content: ''; }
.ls-billing-dropdown summary:hover,.ls-billing-dropdown[open] summary { border-color: var(--billing-accent); background: #fff; box-shadow: 0 0 0 3px var(--billing-tint); }
.ls-billing-dropdown summary:focus-visible,.ls-billing-option:focus-visible,.ls-billing-reset:focus-visible { outline: 2px solid var(--billing-accent); outline-offset: 2px; }
.ls-billing-icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 8px; background: #e5eef5; color: var(--billing-accent); }
.ls-billing-icon svg { width: 19px; height: 19px; }
.ls-billing-selection { display: grid; gap: 2px; min-width: 0; }
.ls-billing-selection strong { color: #1a3049; font: 800 12px var(--font-head); }
.ls-billing-selection small { color: #74879a; font: 600 10px var(--font-head); }
.ls-billing-chevron { margin-left: auto; color: #637d92; font-size: 24px; line-height: .7; transition: transform .2s; }
.ls-billing-dropdown[open] .ls-billing-chevron { transform: rotate(180deg); }
.ls-billing-menu { position: absolute; z-index: 10; right: 0; bottom: calc(100% + 8px); left: 0; display: grid; gap: 4px; max-height: min(360px,60vh); overflow-y: auto; padding: 7px; border: 1px solid #d9e3ec; border-radius: 12px; background: #fff; box-shadow: 0 19px 42px rgba(23,45,66,.18); }
.ls-billing-option { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 10px 9px; border: 1px solid transparent; border-radius: 8px; background: #fff; text-align: left; cursor: pointer; }
.ls-billing-option:hover,.ls-billing-option[aria-pressed="true"] { border-color: #e4d5c3; background: var(--billing-tint); }
.ls-billing-option > span { display: grid; gap: 2px; }
.ls-billing-option strong { color: #1b3048; font: 800 12px var(--font-head); }
.ls-billing-option small { color: #8293a3; font: 600 10px var(--font-head); }
.ls-billing-option b { display: grid; gap: 3px; color: var(--billing-accent); font: 800 12px var(--font-head); text-align: right; white-space: nowrap; }
.ls-billing-option b small { color: #71879a; font: 600 10px var(--font-head); }
.ls-billing-option b .ls-option-after { color: #16734e; font: 800 10px/1.35 var(--font-head); white-space: normal; }
.ls-billing-reset { width: 100%; padding: 9px 5px 5px; border: 0; border-top: 1px solid #e7edf2; background: none; color: #60778b; font: 700 10px var(--font-head); text-align: center; cursor: pointer; }
.ls-billing-reset:hover { color: #203b53; }
.ls-billing-choice + .ls-plan-cta { margin-top: 0; }
.ls-plan.ls-plan-menu-open { z-index: 5; }
.ls-plan-cycle-selected .ls-old-price,.ls-plan-cycle-selected .ls-discount { visibility: hidden; }
.ls-plan-cycle-selected .ls-plan-price strong { font-size: clamp(27px,2.4vw,35px); letter-spacing: -.045em; }
.ls-plan-cycle-selected .ls-plan-price small { font-size: 11px; }
.ls-plan-cycle-selected .ls-plan-price > span:last-child { display: grid; gap: 3px; }
.ls-plan-cycle-selected .ls-term-line { color: #40596f; font: 800 11px/1.4 var(--font-head); }
.ls-plan-cycle-selected .ls-monthly-line { color: #75889a; font: 600 11px/1.4 var(--font-head); }

/* Expanded specifications stay inside each plan card without hiding the purchase controls. */
.ls-plan-grid:has(.ls-plan-specs[open]) { align-items: start; }
.ls-plan-specs { margin: -8px 0 18px; border: 1px solid #dbe5eb; border-radius: 10px; background: #f9fbfc; overflow: hidden; }
.ls-plan-specs summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 9px 12px; color: #213950; cursor: pointer; list-style: none; }
.ls-plan-specs summary::-webkit-details-marker { display: none; }
.ls-plan-specs summary::marker { content: ''; }
.ls-plan-specs summary:hover,.ls-plan-specs[open] summary { background: #edf5f9; }
.ls-plan-specs summary:focus-visible { outline: 2px solid #2c8dbc; outline-offset: -3px; }
.ls-plan-specs summary span { display: grid; gap: 2px; }
.ls-plan-specs summary strong { font: 800 12px/1.3 var(--font-head); }
.ls-plan-specs summary small { color: #70869a; font: 600 10px/1.4 var(--font-head); }
.ls-plan-specs summary::after { content: '+'; display: grid; place-items: center; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 7px; background: #e5eff5; color: #1d78a9; font: 700 19px/1 var(--font-head); }
.ls-plan-specs[open] summary::after { content: '−'; }
.ls-spec-content { padding: 2px 13px 15px; border-top: 1px solid #e3ebf0; }
.ls-spec-group h4 { margin: 15px 0 5px; color: #aa6b24; font: 800 10px/1.4 var(--font-head); letter-spacing: .09em; text-transform: uppercase; }
.ls-spec-group dl { margin: 0; }
.ls-spec-group dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid #e6edf1; }
.ls-spec-group dl > div:last-child { border-bottom: 0; }
.ls-spec-group dt { color: #5e7284; font: 600 11px/1.4 var(--font-head); }
.ls-spec-group dd { margin: 0; color: #213950; font: 800 11px/1.4 var(--font-head); text-align: right; }
.windows-page .ls-spec-group h4 { color: #278fc4; }
