/* Customer account application layout. Native WooCommerce endpoints and forms remain in use. */
.rpb-theme .rpb-account-page{padding-block:28px 64px}
.rpb-theme .rpb-account-page>.woocommerce{width:100%;max-width:none;margin:0}
.rpb-theme .rpb-account-page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:30px 0}
.rpb-theme .rpb-account-page-header .eyebrow{margin-bottom:10px}
.rpb-theme .rpb-account-page-header h1{font-size:36px;line-height:1.15;letter-spacing:-.04em;margin:0}
.rpb-theme .rpb-account-page-header p:not(.eyebrow){font-size:14px;line-height:1.8;color:var(--muted);margin-top:12px;max-width:680px}
.rpb-theme .rpb-account-page-header .btn{font-size:13px;min-height:46px;flex-shrink:0}
.rpb-theme .rpb-account-shell{display:grid;grid-template-columns:250px minmax(0,1fr);gap:26px;align-items:start}
.rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation{float:none;width:100%;padding:18px;border:1px solid #e0e6f1;border-radius:18px;background:#fff;position:sticky;top:168px}
.rpb-theme .rpb-account-profile{display:flex;align-items:center;gap:12px;padding:4px 2px 22px;border-bottom:1px solid var(--line);margin-bottom:22px}
.rpb-theme .rpb-account-avatar{display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:14px;background:var(--blue);color:#fff;font-size:23px;font-weight:650;text-transform:uppercase}
.rpb-theme .rpb-account-profile>div{min-width:0}
.rpb-theme .rpb-account-profile small{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}
.rpb-theme .rpb-account-profile strong{display:block;font-size:15px;overflow-wrap:anywhere}
.rpb-theme .rpb-account-nav-label{font-size:9px;letter-spacing:.08em;color:#65728a;font-weight:650;margin:0 12px 12px}
.rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation li{padding:0;border-radius:10px;background:none}
.rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation li>a{display:flex;align-items:center;gap:11px;min-height:48px;padding:12px;border-radius:10px;color:#526079;font-size:13px;line-height:1.5;text-decoration:none;transition:background .18s,color .18s}
.rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation li>a>span{flex:1}
.rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation li .icon{width:19px;height:19px;flex:0 0 19px}
.rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation li .icon:last-child{width:13px;height:13px;flex-basis:13px;opacity:.5}
.rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation li.is-active>a{background:var(--blue);color:#fff;font-weight:650;box-shadow:0 5px 14px #2457f526}
.rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation li:not(.is-active)>a:hover{background:var(--pale);color:var(--blue)}
.rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{margin-top:12px;border-top:1px solid var(--line);padding-top:12px}
.rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout>a{color:#b92a3c}
.rpb-theme .rpb-account-nav-help{padding:18px 14px;background:#f1f5ff;border-radius:12px;margin-top:22px}
.rpb-theme .rpb-account-nav-help>.icon{width:24px;height:24px;color:var(--blue);margin-bottom:12px}
.rpb-theme .rpb-account-nav-help strong{display:block;font-size:13px}
.rpb-theme .rpb-account-nav-help p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:8px}
.rpb-theme .rpb-account-nav-help a{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:650;margin-top:14px;color:var(--blue)}
.rpb-theme .rpb-account-nav-help a .icon{width:15px;height:15px}
.rpb-theme .rpb-account-shell .woocommerce-MyAccount-content{float:none;width:auto;min-width:0;max-width:none;margin:0;border:1px solid #e0e6f1;border-radius:18px;background:#fff;box-shadow:0 8px 30px #172b5705;font-size:14px;line-height:1.7}
.rpb-theme .rpb-account-content-heading{padding:26px 28px;background:#f7f9fd;border-bottom:1px solid var(--line);border-radius:18px 18px 0 0}
.rpb-theme .rpb-account-content-heading>div{display:flex;align-items:center;gap:12px}
.rpb-theme .rpb-account-content-heading h2{font-size:25px;letter-spacing:-.03em;line-height:1.3}
.rpb-theme .rpb-account-content-heading p{font-size:13px;line-height:1.8;color:var(--muted);margin-top:10px}
.rpb-theme .rpb-account-section-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--pale);color:var(--blue);flex:0 0 34px}
.rpb-theme .rpb-account-section-icon .icon{width:18px;height:18px}
.rpb-theme .rpb-account-content-body{padding:26px 28px;min-width:0}
.rpb-theme .rpb-account-content-body>.woocommerce-notices-wrapper:empty{display:none}
.rpb-theme .rpb-account-content-body :is(.woocommerce-info,.woocommerce-message,.woocommerce-error){font-size:13px;line-height:1.8;border-radius:10px}
.rpb-theme .rpb-account-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.rpb-theme .rpb-account-metrics article{position:relative;border:1px solid #e1e7f2;border-radius:14px;padding:22px;background:linear-gradient(145deg,#fff,#f7f9ff)}
.rpb-theme .rpb-account-metrics article>span{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eaf0ff;color:var(--blue);margin-bottom:14px}
.rpb-theme .rpb-account-metrics article:nth-child(2)>span{background:#fff2dc;color:#8a5905}
.rpb-theme .rpb-account-metrics article:nth-child(3)>span{background:#e4f5ec;color:#1c6d45}
.rpb-theme .rpb-account-metrics article .icon{width:19px;height:19px}
.rpb-theme .rpb-account-metrics strong{display:block;font-size:34px;line-height:1.2;letter-spacing:-.04em}
.rpb-theme .rpb-account-metrics p{font-size:12px;line-height:1.5;color:var(--muted);margin-top:7px}
.rpb-theme .rpb-account-panel{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-bottom:24px}
.rpb-theme .rpb-account-panel>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;border-bottom:1px solid var(--line)}
.rpb-theme .rpb-account-panel h3{font-size:17px;line-height:1.5}
.rpb-theme .rpb-account-panel .link{font-size:11px;white-space:nowrap}
.rpb-theme .rpb-recent-orders>article{display:grid;grid-template-columns:38px minmax(85px,1fr) auto auto 32px;align-items:center;gap:14px;padding:18px 22px;border-bottom:1px solid var(--line)}
.rpb-theme .rpb-recent-orders>article:last-child{border-bottom:0}
.rpb-theme .rpb-recent-order-icon{display:grid;place-items:center;width:38px;height:42px;background:var(--surface);border-radius:10px;color:var(--blue)}
.rpb-theme .rpb-recent-order-icon .icon{width:22px;height:22px}
.rpb-theme .rpb-recent-orders strong{font-size:14px}
.rpb-theme .rpb-recent-orders small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.rpb-theme .rpb-recent-order-total{white-space:nowrap}
.rpb-theme .rpb-recent-order-view{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:var(--blue);background:var(--pale)}
.rpb-theme .rpb-recent-order-view .icon{width:17px;height:17px}
.rpb-theme .rpb-order-status{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;font-size:11px;font-weight:600;line-height:1.4;border-radius:30px;padding:7px 10px;background:#edf0f5;color:#536176}
.rpb-theme .rpb-order-status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}
.rpb-theme :is(.rpb-order-status-pending,.rpb-order-status-on-hold){background:#fff1d8;color:#835506}
.rpb-theme .rpb-order-status-processing{background:#e8efff;color:#214cbd}
.rpb-theme .rpb-order-status-completed{background:#e3f4eb;color:#246b47}
.rpb-theme :is(.rpb-order-status-failed,.rpb-order-status-cancelled){background:#fdebee;color:#a52c42}
.rpb-theme .rpb-account-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.rpb-theme .rpb-account-shortcuts>a{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:14px;padding:22px;transition:border-color .18s,background .18s}
.rpb-theme .rpb-account-shortcuts>a:hover{border-color:#a5baff;background:#f8faff}
.rpb-theme .rpb-account-shortcuts>a>span{display:grid;place-items:center;width:38px;height:38px;background:var(--pale);border-radius:11px;color:var(--blue);flex:0 0 38px}
.rpb-theme .rpb-account-shortcuts>a>div{flex:1;min-width:0}
.rpb-theme .rpb-account-shortcuts h3{font-size:14px;line-height:1.5}
.rpb-theme .rpb-account-shortcuts p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:6px}
.rpb-theme .rpb-account-shortcuts>a>.icon{width:16px;height:16px;color:var(--blue);flex:0 0 16px}
.rpb-theme .rpb-account-empty{text-align:center;padding:38px 22px}
.rpb-theme .rpb-account-empty>.icon{width:42px;height:42px;color:var(--blue);margin-bottom:16px}
.rpb-theme .rpb-account-empty h4{font-size:18px}
.rpb-theme .rpb-account-empty p{color:var(--muted);font-size:13px;margin-top:9px}
.rpb-theme .rpb-account-empty .btn{margin-top:20px;font-size:13px}
.rpb-theme .rpb-account-content-body .woocommerce-orders-table{width:100%;max-width:none;border-collapse:collapse;font-size:13px;text-align:left}
.rpb-theme .rpb-account-content-body .woocommerce-orders-table thead th{background:#f5f7fc;color:#59677e;font-size:11px;font-weight:600;text-align:left;white-space:nowrap;padding:14px 12px;border-bottom:1px solid #e0e6f1}
.rpb-theme .rpb-account-content-body .woocommerce-orders-table :is(th,td){padding:19px 12px;text-align:left;vertical-align:middle;border-bottom:1px solid #e8edf5;font-weight:400}
.rpb-theme .rpb-account-content-body .woocommerce-orders-table tbody tr:hover{background:#fafbfe}
.rpb-theme .rpb-account-content-body .woocommerce-orders-table .woocommerce-orders-table__cell-order-number>a{font-weight:650}
.rpb-theme .rpb-account-content-body .woocommerce-orders-table .woocommerce-orders-table__cell-order-total{font-size:12px}
.rpb-theme .rpb-account-content-body .woocommerce-orders-table .woocommerce-orders-table__cell-order-total .amount{font-size:14px;font-weight:600;white-space:nowrap}
.rpb-theme .rpb-account-content-body .woocommerce-orders-table .button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;font-size:12px;padding:9px 14px;margin:3px 3px 3px 0;border-radius:8px}
.rpb-theme .rpb-account-content-body .woocommerce-pagination{display:flex;justify-content:space-between;gap:14px;margin-top:24px}
.rpb-theme .rpb-account-content-body .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}
.rpb-theme .rpb-account-content-body .woocommerce-Address{float:none;width:auto;background:#f7f9fd;border:1px solid var(--line);padding:22px;border-radius:14px}
.rpb-theme .rpb-account-content-body .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.rpb-theme .rpb-account-content-body .woocommerce-Address-title h2,.rpb-theme .rpb-account-content-body .woocommerce-Address-title h3{font-size:18px}
.rpb-theme .rpb-account-content-body .woocommerce-Address-title .edit{font-size:12px;color:var(--blue)}
.rpb-theme .rpb-account-content-body address{font-style:normal;line-height:1.9;font-size:14px}
.rpb-theme .rpb-account-content-body form .form-row{margin-bottom:20px}
.rpb-theme .rpb-account-content-body form label{font-size:13px;line-height:1.6;margin-bottom:7px}
.rpb-theme .rpb-account-content-body form :is(input.input-text,select,textarea){width:100%;min-height:48px;font-size:15px;border-radius:9px}
.rpb-theme .rpb-account-content-body form fieldset{border:1px solid var(--line);border-radius:12px;padding:22px;margin:26px 0}
.rpb-theme .rpb-account-content-body form legend{font-size:17px;font-weight:600;padding:0 8px}
.rpb-theme .rpb-account-content-body form button.button{min-height:46px;font-size:13px;border-radius:9px}
.rpb-theme .rpb-account-content-body :is(.woocommerce-order-details,.woocommerce-customer-details){margin-top:28px}
.rpb-theme .rpb-account-content-body :is(.woocommerce-order-details,.woocommerce-customer-details) h2{font-size:22px;margin-bottom:18px}
.rpb-theme .rpb-account-content-body .woocommerce-table--order-details{width:100%;font-size:13px;border-collapse:collapse}
.rpb-theme .rpb-account-content-body .woocommerce-table--order-details :is(td,th){padding:14px 10px;text-align:left;border-bottom:1px solid var(--line)}
.rpb-theme .rpb-account-content-body .woocommerce-order-downloads{max-width:100%;overflow:auto}
.rpb-theme .rpb-account-signed-out>.woocommerce>h2{font-size:24px;max-width:560px;margin:30px auto 20px}
.rpb-theme .rpb-account-signed-out>.woocommerce>form{max-width:560px;margin-inline:auto;background:#f8faff;padding:32px;border-radius:16px;border-color:#e0e6f1}
.rpb-theme .rpb-account-signed-out>.woocommerce>form input.input-text{min-height:48px;font-size:16px}
.rpb-theme .rpb-account-page a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
@media(max-width:1100px){
 .rpb-theme .rpb-account-shell{grid-template-columns:220px minmax(0,1fr);gap:20px}
 .rpb-theme .rpb-account-content-heading,.rpb-theme .rpb-account-content-body{padding:24px}
 .rpb-theme .rpb-account-shortcuts{grid-template-columns:1fr}
 .rpb-theme .rpb-recent-orders>article{grid-template-columns:32px minmax(90px,1fr) auto 32px;gap:10px;padding:18px}
 .rpb-theme .rpb-recent-order-total{grid-column:2;grid-row:2}
 .rpb-theme .rpb-recent-order-view{grid-column:4;grid-row:1/3}
 .rpb-theme .rpb-account-metrics article{padding:18px}
 .rpb-theme .rpb-account-content-body .woocommerce-orders-table thead{display:none}
 .rpb-theme .rpb-account-content-body .woocommerce-orders-table tbody{display:grid;gap:16px}
 .rpb-theme .rpb-account-content-body .woocommerce-orders-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;border:1px solid var(--line);border-radius:12px;padding:20px}
 .rpb-theme .rpb-account-content-body .woocommerce-orders-table tbody :is(th,td){display:flex;flex-direction:column;align-items:flex-start;gap:7px;border:0;padding:0;text-align:left}
 .rpb-theme .rpb-account-content-body .woocommerce-orders-table tbody :is(th,td):before{content:attr(data-title);font-size:11px;color:var(--muted);font-weight:400}
 .rpb-theme .rpb-account-content-body .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions{grid-column:1/-1;flex-direction:row;align-items:center;flex-wrap:wrap}
 .rpb-theme .rpb-account-content-body .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions:before{display:none}
}
@media(max-width:760px){
 .rpb-theme .rpb-account-shell{grid-template-columns:minmax(0,1fr)}
 .rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation{position:static;top:auto}
 .rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout{padding:0;margin:0;border:0}
 .rpb-theme .rpb-account-nav-help{display:none}
 .rpb-theme .rpb-account-profile{padding-bottom:16px;margin-bottom:16px}
 .rpb-theme .rpb-account-page-header{align-items:flex-start;flex-direction:column}
 .rpb-theme .rpb-account-page-header h1{font-size:30px}
 .rpb-theme .rpb-account-content-body .woocommerce-Addresses{grid-template-columns:1fr}
}
@media(max-width:480px){
 .rpb-theme .rpb-account-page{padding-top:20px}
 .rpb-theme .rpb-account-content-heading,.rpb-theme .rpb-account-content-body{padding:22px 18px}
 .rpb-theme .rpb-account-content-heading h2{font-size:22px}
 .rpb-theme .rpb-account-metrics{gap:9px}
 .rpb-theme .rpb-account-metrics article{padding:14px 11px}
 .rpb-theme .rpb-account-metrics article>span{width:28px;height:28px;margin-bottom:12px}
 .rpb-theme .rpb-account-metrics strong{font-size:28px}
 .rpb-theme .rpb-account-metrics p{font-size:10px}
 .rpb-theme .rpb-account-panel>header{padding:18px;align-items:start;flex-direction:column;gap:8px}
 .rpb-theme .rpb-recent-orders>article{grid-template-columns:32px minmax(0,1fr) 32px;gap:10px}
 .rpb-theme .rpb-recent-orders .rpb-order-status{grid-column:2;grid-row:2;justify-self:start}
 .rpb-theme .rpb-recent-order-total{grid-column:2;grid-row:3}
 .rpb-theme .rpb-recent-order-view{grid-column:3;grid-row:1/4}
 .rpb-theme .rpb-account-shortcuts>a{padding:18px}
 .rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation li>a{font-size:12px;padding:10px;gap:8px}
 .rpb-theme .rpb-account-shell .woocommerce-MyAccount-navigation li .icon:last-child{display:none}
 .rpb-theme .rpb-account-content-body form :is(input.input-text,select,textarea){font-size:16px}
 .rpb-theme .rpb-account-content-body form fieldset{padding:18px}
}


/* Compact account forms without altering native fields, validation or save actions. */
.rpb-theme .rpb-account-content-body{container-type:inline-size;container-name:rpb-account-form}
.rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm>.woocommerce-form-row{float:none;min-width:0;width:auto;grid-column:auto;margin:0}
.rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm>:not(.woocommerce-form-row){grid-column:1/-1}
.rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm>.clear{display:none}
.rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm>fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:4px 0 0;min-width:0}
.rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm>fieldset legend{grid-column:1/-1}
.rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm>fieldset>.form-row{float:none;width:auto;min-width:0;margin:0}
.rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm>fieldset>.form-row:has(#password_current){grid-column:1/-1;width:calc((100% - 20px)/2)}
.rpb-theme .rpb-account-content-body #account_display_name_description{display:block;color:var(--muted);font-size:11px;line-height:1.7;margin-top:7px}
.rpb-theme .rpb-account-content-body .woocommerce-address-fields__field-wrapper>.form-row{margin:0}
.rpb-theme .rpb-account-content-body .woocommerce-address-fields>p{margin-top:24px}
@container rpb-account-form (max-width:580px){
 .rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm,.rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm>fieldset,.rpb-theme .rpb-account-content-body .woocommerce-address-fields__field-wrapper{grid-template-columns:minmax(0,1fr)}
 .rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm>fieldset>.form-row:has(#password_current){width:auto}
}
@media(max-width:600px){
 .rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm,.rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm>fieldset{grid-template-columns:minmax(0,1fr);gap:20px}
 .rpb-theme .rpb-account-content-body form.woocommerce-EditAccountForm>fieldset>.form-row:has(#password_current){width:auto}
}
