
.pw54-storefront .pw-account-tabs{
    display:flex;
    gap:8px;
    margin:0 auto 18px;
    max-width:1150px;
    padding:0 2px;
    border-bottom:1px solid #e5e7eb;
}
.pw54-storefront .pw-account-tab{
    appearance:none;
    border:0;
    background:transparent;
    color:#64748b;
    font-weight:700;
    padding:12px 16px;
    cursor:pointer;
    border-bottom:3px solid transparent;
    margin-bottom:-1px;
    transition:.15s ease;
}
.pw54-storefront .pw-account-tab:hover{
    color:#1d4ed8;
}
.pw54-storefront .pw-account-tab.active{
    color:#1d4ed8;
    border-bottom-color:#2563eb;
}
.pw54-storefront .pw-tab-panel{
    display:none;
}
.pw54-storefront .pw-tab-panel.active{
    display:block;
}
.pw54-storefront .pw-purchases-wrap{
    max-width:1150px;
    margin:0 auto;
}
.pw54-storefront .pw-purchases-head{
    background:linear-gradient(135deg,#f8fbff,#fff);
    border:1px solid #e5edf7;
    border-radius:16px;
    padding:22px 24px;
    margin-bottom:16px;
    box-shadow:0 8px 24px rgba(15,23,42,.05);
}
.pw54-storefront .pw-purchases-head h2{
    margin:0;
    color:#0f172a;
    font-size:26px;
    font-weight:750;
}
.pw54-storefront .pw-purchases-head p{
    margin:7px 0 0;
    color:#64748b;
}


/* v2.9.32 - Buy Domains UI only */
.pw54-storefront .pw-buy-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    padding:20px 22px;
    margin-bottom:14px;
    background:linear-gradient(135deg,#f8fbff 0%,#ffffff 100%);
    border:1px solid #dfe9f7;
    border-radius:16px;
    box-shadow:0 8px 24px rgba(15,23,42,.04);
}
.pw54-storefront .pw-buy-hero-main{
    display:flex;
    align-items:center;
    gap:14px;
}
.pw54-storefront .pw-buy-hero-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eaf2ff;
    color:#2563eb;
    font-size:22px;
    font-weight:800;
    flex:0 0 auto;
}
.pw54-storefront .pw-buy-hero h2{
    margin:0;
    font-size:25px;
    color:#0f172a;
    font-weight:760;
}
.pw54-storefront .pw-buy-hero p{
    margin:5px 0 0;
    color:#64748b;
    font-size:13px;
}
.pw54-storefront .pw-buy-features{
    display:flex;
    align-items:center;
    gap:22px;
    flex-wrap:wrap;
}
.pw54-storefront .pw-buy-feature{
    display:flex;
    align-items:center;
    gap:9px;
}
.pw54-storefront .pw-buy-feature-icon{
    width:38px;
    height:38px;
    border-radius:50%;
    border:1px solid #d9e7fb;
    background:#fff;
    color:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
}
.pw54-storefront .pw-buy-feature strong{
    display:block;
    color:#0f172a;
    font-size:13px;
}
.pw54-storefront .pw-buy-feature span{
    display:block;
    margin-top:2px;
    color:#64748b;
    font-size:11px;
}
.pw54-storefront .pw-buy-tools{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    padding:12px 14px;
    margin-bottom:10px;
    background:#fff;
    border:1px solid #e5eaf2;
    border-radius:13px;
    box-shadow:0 5px 16px rgba(15,23,42,.035);
}
.pw54-storefront .pw-buy-search{
    width:310px;
    max-width:100%;
    height:40px;
    border:1px solid #dbe4f0;
    border-radius:9px;
    padding:0 12px;
    outline:none;
}
.pw54-storefront .pw-buy-search:focus{
    border-color:#7ea7f8;
    box-shadow:0 0 0 3px rgba(37,99,235,.08);
}
.pw54-storefront .pw-buy-select{
    height:40px;
    min-width:120px;
    border:1px solid #dbe4f0;
    border-radius:9px;
    padding:0 10px;
    background:#fff;
    color:#334155;
}
.pw54-storefront .pw-buy-table{
    width:100%;
    border-collapse:separate !important;
    border-spacing:0 8px !important;
    background:transparent !important;
}
.pw54-storefront .pw-buy-table thead th{
    padding:8px 12px !important;
    border:0 !important;
    background:transparent !important;
    color:#475569 !important;
    font-size:11px !important;
    font-weight:750 !important;
    text-transform:none !important;
    letter-spacing:0 !important;
    white-space:nowrap;
}
.pw54-storefront .pw-buy-table tbody tr{
    background:#fff !important;
    box-shadow:0 4px 14px rgba(15,23,42,.04);
}
.pw54-storefront .pw-buy-table tbody tr:hover{
    transform:none !important;
    box-shadow:0 7px 20px rgba(15,23,42,.07) !important;
}
.pw54-storefront .pw-buy-table tbody td{
    padding:13px 12px !important;
    vertical-align:middle !important;
    border-top:1px solid #e7edf5 !important;
    border-bottom:1px solid #e7edf5 !important;
    color:#334155;
}
.pw54-storefront .pw-buy-table tbody td:first-child{
    border-left:1px solid #e7edf5 !important;
    border-radius:12px 0 0 12px !important;
}
.pw54-storefront .pw-buy-table tbody td:last-child{
    border-right:1px solid #e7edf5 !important;
    border-radius:0 12px 12px 0 !important;
}
.pw54-storefront .pw-buy-domain{
    font-weight:750;
    color:#0f172a;
    font-size:14px;
}
.pw54-storefront .pw-ready{
    display:inline-block;
    margin-top:5px;
    padding:2px 8px;
    border-radius:999px;
    background:#dcfce7;
    color:#15803d;
    font-size:10px;
    font-weight:750;
}
.pw54-storefront .pw-mailbox-count{
    font-weight:750;
    color:#0f172a;
}
.pw54-storefront .pw-mailbox-label{
    display:block;
    color:#64748b;
    font-size:11px;
    margin-top:2px;
}
.pw54-storefront .pw-email-pills{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
}
.pw54-storefront .pw-email-pill{
    display:inline-block;
    padding:4px 9px;
    border-radius:999px;
    background:#eff6ff;
    border:1px solid #dbeafe;
    color:#2563eb;
    font-size:11px;
    line-height:1.3;
}
.pw54-storefront .pw-price{
    font-weight:750;
    color:#0f172a;
    white-space:nowrap;
}
.pw54-storefront .pw-price small{
    display:block;
    margin-top:2px;
    color:#64748b;
    font-weight:500;
    font-size:11px;
}
.pw54-storefront .pw-price-list{
    display:block;
    color:#94a3b8;
    text-decoration:line-through;
    font-size:12px;
    font-weight:600;
    margin-bottom:1px;
    white-space:nowrap;
}
.pw54-storefront .pw-price-sale{
    display:inline-block;
    color:#dc2626;
    font-size:15px;
    font-weight:800;
    white-space:nowrap;
}
.pw54-storefront .pw-sale-badge{
    display:inline-block;
    margin-left:5px;
    padding:2px 6px;
    border-radius:999px;
    background:#fee2e2;
    color:#b91c1c;
    font-size:9px;
    font-weight:800;
    vertical-align:middle;
}

.pw54-storefront .pw-buy-summary{
    position:sticky;
    bottom:14px;
    z-index:8;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
    padding:15px 18px;
    margin-top:12px;
    border:1px solid #cfe1fb;
    border-radius:14px;
    background:linear-gradient(135deg,#edf6ff 0%,#f8fbff 100%);
    box-shadow:0 10px 25px rgba(37,99,235,.10);
    color:#0f172a;
}
.pw54-storefront .pw-buy-summary strong{
    color:#0f172a;
}
.pw54-storefront .pw-buy-summary .pw-summary-divider{
    color:#94a3b8;
    padding:0 8px;
}
.pw54-storefront .pw-buy-next{
    padding:10px 20px !important;
    border-radius:9px !important;
    background:linear-gradient(135deg,#2563eb,#1d4ed8) !important;
    border-color:#2563eb !important;
    font-weight:750 !important;
}
.pw54-storefront .pw-buy-next:disabled{
    opacity:.5;
}
.pw54-storefront .pw-buy-empty{
    display:none;
    padding:18px;
    text-align:center;
    color:#64748b;
    background:#fff;
    border:1px dashed #dbe4f0;
    border-radius:12px;
    margin:10px 0;
}
@media(max-width:900px){
    .pw54-storefront .pw-buy-features{
        gap:12px;
    }
    .pw54-storefront .pw-buy-tools{
        align-items:stretch;
    }
    .pw54-storefront .pw-buy-search{
        width:100%;
    }
    .pw54-storefront .pw-buy-table{
        min-width:980px;
    }
    .pw54-storefront .pw-buy-summary{
        position:static;
    }
}


/* v2.9.6 PURE CSS PATCH — no template/logic changes */



.pw54-storefront .container, .pw54-storefront .main-content, .pw54-storefront #main-

/* Main addon wrapper */
body div[style*="max-width:1200px"]{
    max-width: 1150px !important;
    margin: 0 auto !important;
}

/* Top heading card */
.pw54-storefront div[style*="padding:20px"][style*="border:1px solid #e5e7eb"]{
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%) !important;
    border: 1px solid #e4ebf5 !important;
    border-radius: 18px !important;
    padding: 24px 26px !important;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05) !important;
}

.pw54-storefront div[style*="padding:20px"][style*="border:1px solid #e5e7eb"] h2{
    color: #0f172a;
    font-size: 30px;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.pw54-storefront div[style*="padding:20px"][style*="border:1px solid #e5e7eb"] p{
    color: #64748b;
    font-size: 14px;
}

/* Step 2 card */
.pw54-storefront .pw-card{
    background: #ffffff;
    border: 1px solid #e4ebf5;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.pw54-storefront .pw-card h3{
    color: #0f172a;
    font-size: 23px;
    font-weight: 750;
}

.pw54-storefront .pw-card label{
    color: #334155;
}

/* Inputs */
.pw54-storefront .form-control{
    min-height: 42px;
    border-radius: 10px !important;
    border: 1px solid #d9e2ef !important;
    box-shadow: none !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.pw54-storefront .form-control:focus{
    border-color: #6da0ff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .10) !important;
}

/* Main inventory table container appearance */
.pw54-storefront .table{
    background: transparent;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.pw54-storefront .table thead th{
    border: 0 !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 8px 14px !important;
}

.pw54-storefront .table tbody tr{
    background: #fff !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .045);
    transition: transform .15s ease, box-shadow .15s ease;
}

.pw54-storefront .table tbody tr:hover{
    transform: translateY(-1px);
    box-shadow: 0 9px 24px rgba(15, 23, 42, .08);
}

.pw54-storefront .table tbody td{
    border-top: 1px solid #e8eef7 !important;
    border-bottom: 1px solid #e8eef7 !important;
    padding: 14px 14px !important;
    vertical-align: middle !important;
    color: #334155;
}

.pw54-storefront .table tbody td:first-child{
    border-left: 1px solid #e8eef7 !important;
    border-radius: 12px 0 0 12px;
}

.pw54-storefront .table tbody td:last-child{
    border-right: 1px solid #e8eef7 !important;
    border-radius: 0 12px 12px 0;
}

/* Domain name */
.pw54-storefront .table tbody td strong{
    color: #0f172a;
}

/* Mailbox list chips */
.pw54-storefront .table tbody td div{
    line-height: 1.55;
}

.pw54-storefront .table tbody td:nth-child(4) > div{
    display: inline-block;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 3px 8px;
    margin: 2px 4px 2px 0;
    font-size: 12px;
}

/* Checkbox */
.pw54-storefront .pwdomaincheck{
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2563eb;
}

/* Summary bar */
.pw54-storefront div[style*="background:#1f2937"]{
    background: linear-gradient(135deg, #0f172a 0%, #172554 100%) !important;
    border-radius: 16px !important;
    padding: 18px 20px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .22);
    position: sticky;
    bottom: 14px;
    z-index: 8;
}

/* Buttons */
.pw54-storefront .btn{
    border-radius: 10px !important;
    font-weight: 650 !important;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.pw54-storefront .btn:hover{
    transform: translateY(-1px);
}

.pw54-storefront .btn-primary{
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    border-color: #2563eb !important;
    box-shadow: 0 7px 16px rgba(37, 99, 235, .22);
}

.pw54-storefront .btn-primary:disabled, .pw54-storefront .btn-primary[disabled]{
    opacity: .55;
    box-shadow: none;
    transform: none;
}

.pw54-storefront .btn-default{
    border-color: #d6deeb !important;
    background: #fff !important;
    color: #334155 !important;
}

/* Pagination */
.pw54-storefront div[style*="text-align:center"][style*="margin:20px"]{
    background: #fff;
    border: 1px solid #e8eef7;
    display: table;
    margin: 22px auto !important;
    padding: 8px 10px;
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .04);
}

/* Alerts */
.pw54-storefront .alert{
    border-radius: 12px !important;
    border-width: 1px !important;
}

/* Purchased domains */
.pw54-storefront h3[style*="margin-top:30px"]{
    color: #0f172a;
    font-weight: 750;
    margin-top: 34px !important;
}

/* Responsive */
@media (max-width: 900px) {
    .pw54-storefront div[style*="max-width:1200px"]{
        padding: 0 8px;
    }

    .pw54-storefront .table{
        border-spacing: 0 8px;
        font-size: 13px;
    }

    .pw54-storefront .table thead th, .pw54-storefront .table tbody td{
        padding: 10px !important;
    }

    .pw54-storefront div[style*="background:#1f2937"]{
        position: static;
    }
}

@media (max-width: 650px) {
    .pw54-storefront .table thead th:nth-child(3), .pw54-storefront .table tbody td:nth-child(3){
        display: none;
    }

    .pw54-storefront div[style*="display:grid"]{
        grid-template-columns: 1fr !important;
    }
}


.pw54-storefront .pw-step2-shell{
    max-width:1150px;
    margin:0 auto;
}
.pw54-storefront .pw-step2-card{
    background:#fff;
    border:1px solid #dfe8f5;
    border-radius:18px;
    padding:26px 28px;
    box-shadow:0 10px 28px rgba(15,23,42,.05);
}
.pw54-storefront .pw-step2-title{
    margin:0;
    color:#0f172a;
    font-size:28px;
    font-weight:780;
}
.pw54-storefront .pw-step2-sub{
    margin:7px 0 0;
    color:#64748b;
    font-size:14px;
}
.pw54-storefront .pw-selected-box{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin:18px 0 22px;
    padding:14px 16px;
    background:#f6faff;
    border:1px solid #dce8f7;
    border-radius:12px;
}
.pw54-storefront .pw-selected-label{
    font-weight:750;
    color:#0f172a;
}
.pw54-storefront .pw-domain-pill{
    display:inline-block;
    padding:6px 11px;
    border-radius:999px;
    background:#fff;
    border:1px solid #cfe0f8;
    color:#2563eb;
    font-weight:700;
    font-size:12px;
}
.pw54-storefront .pw-step2-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);
    gap:28px;
    align-items:start;
}
.pw54-storefront .pw-fields{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}
.pw54-storefront .pw-field{
    min-width:0;
}
.pw54-storefront .pw-field.full{
    grid-column:1 / -1;
}
.pw54-storefront .pw-label{
    display:block;
    margin-bottom:7px;
    color:#1e293b;
    font-size:13px;
    font-weight:750;
}
.pw54-storefront .pw-input, .pw54-storefront .pw-select{
    width:100%;
    height:46px;
    border:1px solid #d5e1ef;
    border-radius:10px;
    padding:0 13px;
    background:#fff;
    color:#0f172a;
    outline:none;
    box-shadow:none;
}
.pw54-storefront .pw-input:focus, .pw54-storefront .pw-select:focus{
    border-color:#7aa2f7;
    box-shadow:0 0 0 3px rgba(37,99,235,.08);
}
.pw54-storefront .pw-help{
    margin-top:6px;
    color:#64748b;
    font-size:11px;
    line-height:1.45;
}
.pw54-storefront .pw-access-card{
    border:1px solid #dce6f3;
    border-radius:14px;
    padding:16px;
    background:#fbfdff;
}
.pw54-storefront .pw-access-head{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:14px;
}
.pw54-storefront .pw-access-icon{
    width:42px;
    height:42px;
    border-radius:12px;
    background:#eaf2ff;
    color:#2563eb;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    font-weight:800;
    flex:0 0 auto;
}
.pw54-storefront .pw-access-head h4{
    margin:0;
    color:#0f172a;
    font-size:18px;
    font-weight:780;
}
.pw54-storefront .pw-access-head p{
    margin:4px 0 0;
    color:#64748b;
    font-size:12px;
}
.pw54-storefront .pw-access-options{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}
.pw54-storefront .pw-access-option{
    display:block;
    border:1px solid #d8e4f2;
    border-radius:12px;
    padding:13px;
    background:#fff;
    cursor:pointer;
}
.pw54-storefront .pw-access-option.active{
    border-color:#76a4ff;
    background:#f5f9ff;
    box-shadow:0 0 0 2px rgba(37,99,235,.06);
}
.pw54-storefront .pw-access-option-title{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:750;
    color:#0f172a;
    font-size:13px;
}
.pw54-storefront .pw-access-option-title input{
    margin:0;
}
.pw54-storefront .pw-credentials{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:12px;
}
.pw54-storefront .pw-invite-copy{
    margin-top:10px;
    color:#64748b;
    font-size:12px;
    line-height:1.55;
}
.pw54-storefront .pw-invite-copy strong{
    color:#2563eb;
}
.pw54-storefront .pw-note{
    margin-top:18px;
    padding:14px 16px;
    border-radius:12px;
    background:#f6faff;
    border:1px solid #dce8f7;
    color:#475569;
    font-size:12px;
    line-height:1.5;
}
.pw54-storefront .pw-note strong{
    color:#0f172a;
}
.pw54-storefront .pw-payment-row{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    margin-top:20px;
}
.pw54-storefront .pw-payment-method{
    width:320px;
    max-width:100%;
}
.pw54-storefront .pw-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.pw54-storefront .pw-btn{
    border-radius:10px !important;
    font-weight:750 !important;
    padding:11px 18px !important;
}
.pw54-storefront .pw-btn-primary{
    background:linear-gradient(135deg,#2563eb,#1d4ed8) !important;
    border-color:#2563eb !important;
}
.pw54-storefront .pw-btn-back{
    background:#fff !important;
    border:1px solid #d5e1ef !important;
    color:#334155 !important;
}
@media(max-width:980px){
    .pw54-storefront .pw-step2-grid{
        grid-template-columns:1fr;
    }
}
@media(max-width:700px){
    .pw54-storefront .pw-fields, .pw54-storefront .pw-access-options, .pw54-storefront .pw-credentials{
        grid-template-columns:1fr;
    }
    .pw54-storefront .pw-step2-card{
        padding:20px;
    }
}

/* v2.9.55: Match the Purchases width, and inherit the WHMCS page background. */
.pw54-storefront{width:100%;max-width:1150px;margin:12px auto 30px;min-width:0;font-family:inherit;box-sizing:border-box;color:#233b58;float:none}
.pw54-storefront *{box-sizing:border-box}
.pw54-storefront .pw-account-tabs{width:100%;max-width:1150px;margin:0 auto 18px}
.pw54-storefront .pw-buy-shell,.pw54-storefront .pw-step2-shell{width:100%;max-width:1150px;margin-left:auto;margin-right:auto;min-width:0}
.pw54-storefront .pw-buy-hero,.pw54-storefront .pw-step2-card{background:#fff;box-shadow:none}
.pw54-storefront .pw-buy-summary{background:#f4f8ff;box-shadow:0 5px 16px rgba(20,55,95,.04);max-width:100%}
.pw54-storefront .pw-buy-tools{box-shadow:none}
.pw54-storefront .pw-access-option{display:block;font-weight:400;min-width:0}
.pw54-storefront .pw-credentials,.pw54-storefront .pw-fields,.pw54-storefront .pw-step2-grid>div{min-width:0}
.pw54-storefront .pw-input,.pw54-storefront .pw-select{max-width:100%;min-width:0}
.pw54-storefront .pw-access-options{align-items:start}
.pw54-storefront .pw-account-tab{text-decoration:none;display:inline-flex;align-items:center}
.pw54-storefront .pw-buy-table tbody tr:hover{transform:none!important}
@media(max-width:760px){.pw54-storefront .pw-buy-features{gap:12px}.pw54-storefront .pw-buy-hero-main{min-width:0}.pw54-storefront .pw-buy-hero h2{font-size:23px}.pw54-storefront .pw-buy-hero{padding:18px}.pw54-storefront .pw-step2-card{padding:18px}}

/* v2.9.59: scoped background-search states; no changes to purchase/order screens. */
.pw54-storefront [hidden]{display:none!important}
.pw54-storefront .pw-buy-status{padding:8px 12px;margin:0 0 10px;border-radius:9px;background:#f1f5f9;color:#475569;font-size:13px}
.pw54-storefront .pw-buy-status-error{background:#fff7ed;color:#9a3412}
.pw54-storefront .pw-buy-status .btn{margin-left:8px}
.pw54-storefront .pw-buy-loading{opacity:.55}
.pw54-storefront .pw-buy-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:20px 0}

/* v2.9.64: customer notes and explicit pre-payment consent. */
.pw54-storefront .pw-additional-notes{margin-top:20px}
.pw54-storefront .pw-optional{font-weight:400;color:#64748b}
.pw54-storefront .pw-notes-input{display:block;box-sizing:border-box;height:auto;min-height:100px;padding:12px 13px;line-height:1.5;resize:vertical;font:inherit}
.pw54-storefront .pw-checkout-confirmation{flex:0 1 474px;max-width:100%;min-width:0}
.pw54-storefront .pw-terms-box{padding:13px 14px;border:1px solid #d5e1ef;border-radius:10px;background:#f8fbff;margin-bottom:14px}
.pw54-storefront .pw-terms-label{display:flex;align-items:flex-start;gap:9px;margin:0;font-size:13px;line-height:1.5;font-weight:500;color:#334155;cursor:pointer}
.pw54-storefront .pw-terms-label input{flex:0 0 auto;width:14px;height:14px;margin:3px 0 0;accent-color:#2563eb}
.pw54-storefront .pw-terms-label a{color:#2563eb;text-decoration:underline;text-underline-offset:2px}
.pw54-storefront .pw-terms-box .pw-help{margin-left:23px}
.pw54-storefront .pw-checkout-confirmation .pw-actions{justify-content:flex-end}
.pw54-storefront #pwContinuePayment:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:760px){
    .pw54-storefront .pw-checkout-confirmation{flex-basis:100%;width:100%}
    .pw54-storefront .pw-payment-method{width:100%}
    .pw54-storefront .pw-checkout-confirmation .pw-actions{justify-content:space-between;gap:8px}
    .pw54-storefront .pw-checkout-confirmation .pw-btn{padding:11px 13px !important;font-size:13px}
}

/* v2.9.65: separate Setup and Checkout steps with WHMCS-aware tax summary. */
.pw54-storefront .pw-checkout-progress{
    display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;
    margin:4px auto 18px;color:#64748b;font-size:14px;font-weight:500;
}
.pw54-storefront .pw-flow-step{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#64748b}
.pw54-storefront .pw-flow-step.is-done{color:#334155}
.pw54-storefront .pw-flow-step.is-active{color:#2563eb;font-weight:800}
.pw54-storefront .pw-flow-mark{font-weight:800;color:#0f172a}
.pw54-storefront .pw-flow-number{font-weight:800}
.pw54-storefront .pw-flow-arrow{color:#94a3b8}
.pw54-storefront .pw-step2-footer-actions{
    display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px;
}
.pw54-storefront .pw-step3-grid{
    display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.8fr);gap:18px;align-items:start;
}
.pw54-storefront .pw-checkout-card,.pw54-storefront .pw-order-summary-card{
    background:#fff;border:1px solid #dce6f3;border-radius:14px;padding:22px;box-shadow:none;min-width:0;
}
.pw54-storefront .pw-step3-title{margin:0;color:#0f172a;font-size:29px;line-height:1.15;font-weight:500}
.pw54-storefront .pw-step3-sub{margin:8px 0 16px;color:#64748b;font-size:13px}
.pw54-storefront .pw-due-card{
    padding:16px;margin-bottom:18px;border:1px solid #cfe0f6;border-radius:12px;background:#eef6ff;
}
.pw54-storefront .pw-due-eyebrow,.pw54-storefront .pw-renewal-kicker{
    margin-bottom:12px;color:#6b7fa0;font-size:10px;font-weight:500;letter-spacing:.01em;text-transform:uppercase;
}
.pw54-storefront .pw-total-row{
    display:flex;align-items:center;justify-content:space-between;gap:16px;padding:7px 0;color:#475569;font-size:13px;
}
.pw54-storefront .pw-total-row strong{color:#0f172a;font-weight:750;white-space:nowrap}
.pw54-storefront .pw-tax-row small{font-size:10px;color:#64748b}
.pw54-storefront .pw-total-divider{height:1px;background:#c9d8ea;margin:6px 0 7px}
.pw54-storefront .pw-grand-total{font-size:14px;font-weight:750;color:#0f172a}
.pw54-storefront .pw-grand-total strong{font-size:23px;font-weight:850}
.pw54-storefront .pw-checkout-payment{margin:2px 0 14px}
.pw54-storefront .pw-step3-help{margin:-2px 0 8px;color:#64748b;font-size:11px}
.pw54-storefront .pw-checkout-payment .pw-select{height:44px}
.pw54-storefront .pw-checkout-main .pw-terms-box{margin:0 0 14px}
.pw54-storefront .pw-payment-submit,.pw54-storefront .pw-payment-back{display:block;width:100%;text-align:center;margin-top:12px}
.pw54-storefront .pw-payment-submit{min-height:44px}
.pw54-storefront .pw-order-summary-card h3{margin:0 0 18px;color:#0f172a;font-size:22px;font-weight:500}
.pw54-storefront .pw-summary-section{padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid #e5edf6}
.pw54-storefront .pw-summary-head{
    display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:8px;color:#0f172a;font-size:13px;
}
.pw54-storefront .pw-summary-head strong{font-weight:800}
.pw54-storefront .pw-summary-head span{font-weight:800;text-align:right;white-space:nowrap}
.pw54-storefront .pw-summary-list{display:grid;gap:6px;max-height:190px;overflow:auto;padding-right:2px}
.pw54-storefront .pw-summary-mailboxes{max-height:230px}
.pw54-storefront .pw-summary-item{
    display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 9px;border:1px solid #e5edf6;border-radius:8px;background:#fff;
    color:#64748b;font-size:11px;
}
.pw54-storefront .pw-summary-item span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pw54-storefront .pw-summary-item span:last-child{white-space:nowrap;color:#64748b}
.pw54-storefront .pw-summary-more{padding:4px 2px;color:#64748b;font-size:11px;font-weight:650}
.pw54-storefront .pw-renewal-box{margin-top:18px;padding:12px;border-radius:10px;background:#f8fbff;border-top:1px solid #e3ecf6}
.pw54-storefront .pw-renewal-kicker{margin:0 0 5px}
.pw54-storefront .pw-renewal-row{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#0f172a;font-size:12px}
.pw54-storefront .pw-renewal-row strong:last-child{text-align:right;white-space:nowrap}
.pw54-storefront .pw-renewal-separator{height:1px;background:#e1e9f2;margin:12px 0}
@media(max-width:900px){
    .pw54-storefront .pw-step3-grid{grid-template-columns:1fr}
    .pw54-storefront .pw-order-summary-card{order:-1}
}
@media(max-width:620px){
    .pw54-storefront .pw-checkout-progress{gap:7px;font-size:12px;margin-bottom:13px}
    .pw54-storefront .pw-flow-arrow{font-size:11px}
    .pw54-storefront .pw-checkout-card,.pw54-storefront .pw-order-summary-card{padding:16px;border-radius:12px}
    .pw54-storefront .pw-step3-title{font-size:25px}
    .pw54-storefront .pw-grand-total strong{font-size:20px}
    .pw54-storefront .pw-step2-footer-actions{display:grid;grid-template-columns:1fr;width:100%}
    .pw54-storefront .pw-step2-footer-actions .pw-btn{width:100%;text-align:center}
    .pw54-storefront .pw-summary-head{font-size:12px}
}
