/* Remainskally 5.5.0 — customer portal and digital checkout UI */
:root{
  --rs550-bg:#0b1020;
  --rs550-panel:rgba(255,255,255,.065);
  --rs550-panel-strong:rgba(255,255,255,.095);
  --rs550-border:rgba(185,198,231,.24);
  --rs550-text:#f7f8ff;
  --rs550-muted:#b9c4dc;
  --rs550-violet:#8874ff;
  --rs550-violet-2:#6d57ed;
  --rs550-cyan:#56e2ec;
  --rs550-green:#31d49a;
  --rs550-radius:20px;
}

/* Shared account and checkout primitives */
body.rs-550-account,
body.rs-550-service-checkout{color:var(--rs550-text)}
body.rs-550-account #content,
body.rs-550-service-checkout #content{min-width:0;overflow:visible}
body.rs-550-account .site-main,
body.rs-550-service-checkout .site-main{height:auto!important;min-height:0;overflow:visible!important}
.rs-550-eyebrow{display:inline-block;color:var(--rs550-cyan);font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
.rs-550-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 16px;border-radius:999px;font-size:12px;font-weight:800;line-height:1.2;text-decoration:none!important;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;white-space:nowrap}
.rs-550-button:hover{transform:translateY(-2px);filter:brightness(1.06)}
.rs-550-button-primary{color:#fff!important;background:linear-gradient(115deg,#9b87ff,#7059ef);border:1px solid rgba(255,255,255,.24);box-shadow:0 9px 24px rgba(111,89,239,.26)}
.rs-550-button-outline{color:#f7f8ff!important;background:rgba(255,255,255,.055);border:1px solid rgba(205,214,241,.32)}

/* ACCOUNT LAYOUT — WooCommerce endpoints remain native and functional. */
body.rs-550-account #content .woocommerce{width:min(1240px,calc(100% - 48px));max-width:1240px;margin:0 auto;padding:42px 0 58px;display:grid;grid-template-columns:226px minmax(0,1fr);gap:22px;align-items:start;box-sizing:border-box}
body.rs-550-account .woocommerce-MyAccount-navigation{float:none!important;width:100%!important;max-width:100%!important;margin:0;padding:12px;border:1px solid var(--rs550-border);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.035));box-shadow:0 18px 55px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.1);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);box-sizing:border-box}
body.rs-550-account .woocommerce-MyAccount-navigation ul{list-style:none!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;gap:4px}
body.rs-550-account .woocommerce-MyAccount-navigation li{list-style:none!important;margin:0!important;padding:0!important}
body.rs-550-account .woocommerce-MyAccount-navigation li:before{display:none!important;content:none!important}
body.rs-550-account .woocommerce-MyAccount-navigation a{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 12px;border:1px solid transparent;border-radius:12px;color:#dce4f8!important;font-size:13px;font-weight:700;text-decoration:none!important;transition:background .18s ease,border-color .18s ease,color .18s ease}
body.rs-550-account .woocommerce-MyAccount-navigation a:hover{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.12);color:#fff!important}
body.rs-550-account .woocommerce-MyAccount-navigation .is-active a{background:linear-gradient(110deg,rgba(139,119,255,.28),rgba(82,218,232,.09));border-color:rgba(157,143,255,.48);color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}
body.rs-550-account .woocommerce-MyAccount-content{float:none!important;width:100%!important;max-width:100%!important;min-width:0;margin:0;padding:24px;border:1px solid var(--rs550-border);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.035));box-shadow:0 18px 55px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.1);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);color:var(--rs550-text);box-sizing:border-box;overflow:hidden}
body.rs-550-account .woocommerce-MyAccount-content p{color:#c4cde1;line-height:1.65}
body.rs-550-account .woocommerce-MyAccount-content a:not(.button):not(.rs-550-button){color:#c9c0ff;text-underline-offset:3px}
body.rs-550-account .woocommerce-MyAccount-content h2,
body.rs-550-account .woocommerce-MyAccount-content h3{color:#fff;letter-spacing:-.035em}
body.rs-550-account-dashboard .woocommerce-MyAccount-content>p:first-of-type,
body.rs-550-account-dashboard .woocommerce-MyAccount-content>p:nth-of-type(2){display:none!important}

/* Customer dashboard hero and profile */
.rs-550-dashboard{display:flex;flex-direction:column;gap:18px;min-width:0}
.rs-550-account-hero{margin:0 0 2px}
.rs-550-account-hero h1{margin:8px 0 7px;color:#fff;font-size:clamp(27px,3.3vw,40px);font-weight:850;letter-spacing:-.055em;line-height:1.08}
.rs-550-account-hero p{margin:0;color:var(--rs550-muted);font-size:14px}
.rs-550-profile-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;min-width:0;padding:17px 19px;border:1px solid rgba(185,198,231,.28);border-radius:18px;background:linear-gradient(120deg,rgba(125,107,255,.17),rgba(255,255,255,.045));box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}
.rs-550-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 54px;width:54px;height:54px;border-radius:16px;background:linear-gradient(145deg,#8e7bff,#5b49d7);color:#fff;font-size:22px;font-weight:900;box-shadow:0 10px 28px rgba(99,79,230,.3)}
.rs-550-profile-copy{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
.rs-550-profile-copy strong{color:#fff;font-size:17px;font-weight:850}
.rs-550-profile-copy span{overflow-wrap:anywhere;color:#cbd4e9;font-size:12px}
.rs-550-profile-copy small{color:#94a3c1;font-size:10px}
.rs-550-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.rs-550-stat-card{display:flex;align-items:center;gap:12px;min-width:0;padding:15px;border:1px solid rgba(185,198,231,.22);border-radius:17px;background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.03));box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.rs-550-stat-icon{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:13px;background:rgba(136,116,255,.22);border:1px solid rgba(166,151,255,.22);color:#d4ccff}
.rs-550-stat-icon:before{font-size:20px;font-weight:800;line-height:1}
.rs-550-icon-box:before{content:"◇"}.rs-550-icon-card:before{content:"▤"}.rs-550-icon-check:before{content:"✓"}.rs-550-icon-list:before{content:"≡"}
.rs-550-stat-card>div{display:flex;flex-direction:column;min-width:0;gap:1px}
.rs-550-stat-label{color:#c4cde1;font-size:11px;font-weight:700;line-height:1.25}
.rs-550-stat-card strong{color:#fff;font-size:24px;font-weight:900;line-height:1.15}
.rs-550-stat-card small{color:#91a0bd;font-size:9px;line-height:1.3}
.rs-550-orders-panel{padding:18px;border:1px solid rgba(185,198,231,.24);border-radius:20px;background:rgba(255,255,255,.045)}
.rs-550-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:15px}
.rs-550-section-heading h2{margin:4px 0;color:#fff;font-size:23px;font-weight:850;letter-spacing:-.045em}
.rs-550-section-heading p{margin:0;color:#aebbd3;font-size:12px}
.rs-550-section-heading>a{color:#c9c0ff!important;font-size:12px;font-weight:800;text-decoration:none!important;white-space:nowrap}
.rs-550-order-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}
.rs-550-order-card{min-width:0;padding:14px 15px;border:1px solid rgba(185,198,231,.23);border-radius:15px;background:linear-gradient(120deg,rgba(255,255,255,.075),rgba(255,255,255,.025));}
.rs-550-order-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.rs-550-order-number{color:#fff;font-size:12px;font-weight:850}
.rs-550-status,.rs-550-project-status{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;background:rgba(135,116,255,.18);border:1px solid rgba(164,148,255,.27);color:#ded8ff;font-size:10px;font-weight:800}
.rs-550-status-processing{background:rgba(135,116,255,.18);color:#ded8ff}
.rs-550-status-pending,.rs-550-status-on-hold{background:rgba(255,190,80,.12);border-color:rgba(255,190,80,.28);color:#ffe0a1}
.rs-550-status-completed{background:rgba(49,212,154,.12);border-color:rgba(49,212,154,.26);color:#a7f2d6}
.rs-550-status-cancelled,.rs-550-status-failed,.rs-550-status-refunded{background:rgba(255,105,125,.1);border-color:rgba(255,105,125,.24);color:#ffc0cb}
.rs-550-order-card-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:15px;min-width:0}
.rs-550-order-product{display:flex;flex-direction:column;gap:4px;min-width:0}
.rs-550-order-product strong{color:#f8f9ff;font-size:13px;overflow-wrap:anywhere}
.rs-550-order-product>span{color:#9eabc6;font-size:10px}
.rs-550-order-total{display:flex;flex-direction:column;align-items:flex-end;flex:0 0 auto;gap:3px}
.rs-550-order-total small{color:#aab6ce;font-size:10px}
.rs-550-order-total strong{color:#fff;font-size:15px;font-weight:850}
.rs-550-order-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:11px;padding-top:10px;border-top:1px solid rgba(255,255,255,.08)}
.rs-550-order-actions .rs-550-button{min-height:34px;padding:8px 13px;font-size:10px}
.rs-550-empty-orders{padding:23px;border:1px dashed rgba(185,198,231,.28);border-radius:15px;text-align:center}
.rs-550-empty-orders strong{color:#fff}.rs-550-empty-orders p{font-size:12px}
.rs-550-support-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;border:1px solid rgba(185,198,231,.24);border-radius:18px;background:linear-gradient(120deg,rgba(112,91,230,.17),rgba(255,255,255,.035))}
.rs-550-support-card>div:first-child{display:flex;align-items:center;gap:12px;min-width:0}
.rs-550-support-icon{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:13px;background:rgba(139,119,255,.25);color:#d6ceff;font-size:20px}
.rs-550-support-card h2{margin:0 0 4px;color:#fff;font-size:15px;font-weight:850}
.rs-550-support-card p{margin:0;color:#aebbd3;font-size:11px}
.rs-550-support-card .rs-social-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.rs-550-support-card .rs-social-link{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:8px 12px;border:1px solid rgba(185,198,231,.25);border-radius:999px;background:rgba(255,255,255,.055);color:#fff!important;text-decoration:none!important;font-size:10px;font-weight:800}
.rs-550-support-card .rs-social-icon svg{width:15px;height:15px}

/* Orders endpoint — table remains native, actions still use WooCommerce URLs. */
.rs-550-orders-page-heading{margin:0 0 17px}
.rs-550-orders-page-heading h2{margin:5px 0;color:#fff;font-size:27px;font-weight:850;letter-spacing:-.05em}
.rs-550-orders-page-heading p{margin:0;color:#b9c4dc;font-size:12px}
body.rs-550-account .woocommerce-orders-table{width:100%;border-collapse:separate!important;border-spacing:0;overflow:hidden;border:1px solid rgba(185,198,231,.22);border-radius:15px;background:rgba(8,14,30,.2);color:#f7f8ff}
body.rs-550-account .woocommerce-orders-table thead th{padding:13px 12px;background:rgba(255,255,255,.075);border:0;border-bottom:1px solid rgba(185,198,231,.22);color:#dce4f8;font-size:11px;font-weight:850}
body.rs-550-account .woocommerce-orders-table tbody td{padding:13px 12px;border:0;border-bottom:1px solid rgba(185,198,231,.15);color:#d4dced;font-size:12px;vertical-align:middle}
body.rs-550-account .woocommerce-orders-table tbody tr:last-child td{border-bottom:0}
body.rs-550-account .woocommerce-orders-table td:before{color:#92a0bd;font-size:10px;font-weight:800}
body.rs-550-account .woocommerce-orders-table a.woocommerce-button,
body.rs-550-account .woocommerce-orders-table .button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin:2px 4px 2px 0;padding:7px 12px;border:1px solid rgba(185,198,231,.28);border-radius:999px;background:rgba(255,255,255,.07);color:#fff!important;font-size:10px;font-weight:800;text-decoration:none!important}
body.rs-550-account .woocommerce-orders-table a.woocommerce-button.pay{background:linear-gradient(110deg,#9b87ff,#7059ef);border-color:rgba(255,255,255,.25)}
body.rs-550-account .woocommerce-pagination{display:flex;justify-content:space-between;gap:12px;margin-top:16px}
body.rs-550-account .woocommerce-pagination a{display:inline-flex;padding:9px 13px;border:1px solid var(--rs550-border);border-radius:999px;background:rgba(255,255,255,.055);color:#fff!important;text-decoration:none}
.rs-550-customer-project-details{margin-top:20px;padding:18px;border:1px solid rgba(185,198,231,.24);border-radius:17px;background:rgba(255,255,255,.045)}
.rs-550-customer-project-details h3{margin:5px 0 12px;color:#fff;font-size:18px}
.rs-550-customer-project-details p{margin:7px 0;color:#c6d0e4;font-size:12px;overflow-wrap:anywhere}
.rs-550-customer-project-details a{overflow-wrap:anywhere}
.rs-550-project-detail{margin:10px 0;padding:11px 13px;border:1px solid rgba(185,198,231,.14);border-radius:11px;background:rgba(255,255,255,.035)}
.rs-550-project-detail strong{color:#fff;font-size:11px}.rs-550-project-detail p{margin:5px 0 0}

/* CHECKOUT — contact/project details span the page; order summary and actual gateway sit side by side. */
body.rs-550-service-checkout #content .woocommerce{width:min(1180px,calc(100% - 40px));max-width:1180px;margin:0 auto;padding:32px 0 54px;box-sizing:border-box}
body.rs-550-service-checkout .rs-checkout-intro{max-width:1180px;margin:0 auto 18px;padding:25px 28px;border:1px solid rgba(157,143,255,.42);border-radius:21px;background:linear-gradient(115deg,rgba(119,100,255,.2),rgba(52,203,220,.1)),rgba(255,255,255,.045);box-shadow:0 18px 48px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
body.rs-550-service-checkout .rs-checkout-intro h2{margin:7px 0 8px;color:#fff;font-size:clamp(25px,3vw,36px);font-weight:900;letter-spacing:-.055em;line-height:1.08}
body.rs-550-service-checkout .rs-checkout-intro p{max-width:760px;margin:0;color:#c7d1e7;font-size:13px;line-height:1.6}
body.rs-550-service-checkout .rs-checkout-steps{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
body.rs-550-service-checkout .rs-checkout-steps span{padding:7px 11px;border:1px solid rgba(202,211,237,.25);border-radius:999px;background:rgba(255,255,255,.055);color:#e9edfb;font-size:10px;font-weight:800}
body.rs-550-service-checkout form.checkout.woocommerce-checkout{display:grid!important;grid-template-columns:minmax(0,1fr);gap:17px;width:100%;margin:0!important}
body.rs-550-service-checkout #customer_details{grid-column:1/-1;grid-row:1;float:none!important;width:100%!important;max-width:100%;margin:0!important;padding:21px 23px;border:1px solid rgba(185,198,231,.26);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035));box-shadow:0 16px 42px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.09);box-sizing:border-box}
body.rs-550-service-checkout #customer_details .col-1,
body.rs-550-service-checkout #customer_details .col-2{float:none!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
body.rs-550-service-checkout #customer_details .col-2{display:none!important}
body.rs-550-service-checkout #customer_details .woocommerce-billing-fields>h3{margin:0 0 12px;color:#fff;font-size:19px;font-weight:850;letter-spacing:-.035em}
body.rs-550-service-checkout #customer_details .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px;margin:0}
body.rs-550-service-checkout #customer_details .woocommerce-billing-fields__field-wrapper>.form-row{float:none!important;width:auto!important;max-width:100%;min-width:0;margin:0!important;padding:0!important;box-sizing:border-box}
body.rs-550-service-checkout #customer_details .woocommerce-billing-fields__field-wrapper label{display:block;margin:0 0 6px;color:#f0f3ff;font-size:11px;font-weight:800}
body.rs-550-service-checkout #customer_details .woocommerce-billing-fields__field-wrapper input,
body.rs-550-service-checkout #customer_details .woocommerce-billing-fields__field-wrapper select{width:100%!important;max-width:100%!important;min-width:0;min-height:44px;padding:10px 12px!important;border:1px solid #b9c7df!important;border-radius:10px!important;background:#f7f9ff!important;color:#172238!important;font-size:13px!important;box-shadow:none!important;box-sizing:border-box!important}
body.rs-550-service-checkout #customer_details .woocommerce-billing-fields__field-wrapper .description{display:block;margin-top:4px;color:#aebbd3;font-size:10px;line-height:1.45}
body.rs-550-service-checkout .rs-547-checkout-social{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 0;padding:12px 14px;border:1px solid rgba(185,198,231,.18);border-radius:13px;background:rgba(7,13,30,.18)}
body.rs-550-service-checkout .rs-547-checkout-social>div strong{display:block;color:#fff;font-size:11px}
body.rs-550-service-checkout .rs-547-checkout-social>div p{margin:3px 0 0;color:#aebbd3;font-size:10px}
body.rs-550-service-checkout .rs-547-checkout-social .rs-social-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
body.rs-550-service-checkout .rs-547-checkout-social .rs-social-link{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:7px 10px;border:1px solid rgba(185,198,231,.24);border-radius:999px;background:rgba(255,255,255,.055);color:#fff!important;font-size:10px;font-weight:800;text-decoration:none!important}
body.rs-550-service-checkout .rs-547-checkout-social .rs-social-icon svg{width:14px;height:14px}
body.rs-550-service-checkout #order_review_heading{grid-column:1/-1;grid-row:2;margin:2px 0 -8px;padding:0;color:#fff;font-size:22px;font-weight:900;letter-spacing:-.045em}
body.rs-550-service-checkout #order_review{grid-column:1/-1;grid-row:3;display:grid!important;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:16px;align-items:stretch;float:none!important;width:100%!important;max-width:100%;margin:0!important;padding:18px;border:1px solid rgba(185,198,231,.26);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.035));box-shadow:0 16px 42px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.09);box-sizing:border-box}
body.rs-550-service-checkout #order_review>table.shop_table{grid-column:1;align-self:start;width:100%;margin:0!important;border:1px solid rgba(185,198,231,.19)!important;border-radius:13px;overflow:hidden;background:rgba(7,13,30,.2);color:#f5f7ff;border-collapse:separate!important;border-spacing:0}
body.rs-550-service-checkout #order_review>table.shop_table th,
body.rs-550-service-checkout #order_review>table.shop_table td{padding:12px 11px;border:0;border-bottom:1px solid rgba(185,198,231,.14);color:#e8edfb;font-size:11px}
body.rs-550-service-checkout #order_review>table.shop_table tr:last-child th,
body.rs-550-service-checkout #order_review>table.shop_table tr:last-child td{border-bottom:0}
body.rs-550-service-checkout #order_review>table.shop_table th{font-weight:800;color:#cbd4e9}
body.rs-550-service-checkout #order_review #payment{grid-column:2;align-self:stretch;margin:0!important;padding:16px!important;border:1px solid rgba(185,198,231,.22)!important;border-radius:15px!important;background:rgba(8,14,30,.35)!important;color:#f7f8ff!important}
body.rs-550-service-checkout #payment ul.payment_methods{margin:0!important;padding:0 0 12px!important;border:0!important}
body.rs-550-service-checkout #payment ul.payment_methods>li{padding:11px 10px!important;margin:0 0 8px!important;border:1px solid rgba(185,198,231,.2);border-radius:11px;background:rgba(255,255,255,.045);color:#f7f8ff}
body.rs-550-service-checkout #payment ul.payment_methods>li label{color:#fff;font-size:12px;font-weight:800}
body.rs-550-service-checkout #payment .payment_box{margin:10px 0 0!important;padding:13px!important;border:1px solid rgba(185,198,231,.22)!important;border-radius:11px!important;background:#f6f8ff!important;color:#24324b!important;font-size:11px!important}
body.rs-550-service-checkout #payment .payment_box:before{border-bottom-color:#f6f8ff!important}
body.rs-550-service-checkout #payment .payment_box p,
body.rs-550-service-checkout #payment .payment_box label{color:#334155!important}
body.rs-550-service-checkout #payment .place-order{display:flex;flex-direction:column;gap:10px;margin:0!important;padding:13px 0 0!important;border-top:1px solid rgba(185,198,231,.15)}
body.rs-550-service-checkout #payment .place-order .button,
body.rs-550-service-checkout #place_order{width:100%!important;min-height:48px!important;padding:13px 18px!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:999px!important;background:linear-gradient(110deg,#9c88ff,#7059ef)!important;color:#fff!important;font-size:13px!important;font-weight:900!important;box-shadow:0 10px 25px rgba(111,89,239,.25)!important}
body.rs-550-service-checkout #payment .place-order .button:hover{filter:brightness(1.07);transform:translateY(-1px)}
body.rs-550-service-checkout #payment .woocommerce-privacy-policy-text,
body.rs-550-service-checkout #payment .woocommerce-terms-and-conditions-wrapper{color:#aebbd3;font-size:10px;line-height:1.5}
body.rs-550-service-checkout .woocommerce-form-coupon-toggle,
body.rs-550-service-checkout form.checkout_coupon{max-width:1180px;margin:0 auto 13px}
body.rs-550-service-checkout .woocommerce-info,
body.rs-550-service-checkout .woocommerce-error,
body.rs-550-service-checkout .woocommerce-message{border-radius:12px;background:rgba(255,255,255,.08);border-top-color:var(--rs550-violet);color:#edf1ff}
body.rs-550-service-checkout .woocommerce-info:before{color:var(--rs550-cyan)}
body.rs-550-service-checkout .rmpb-project-brief{margin:16px 0 0!important;padding:17px 18px!important;border:1px solid rgba(157,143,255,.32)!important;border-radius:16px!important;background:rgba(8,14,30,.24)!important;box-sizing:border-box}
body.rs-550-service-checkout .rmpb-project-brief .rmpb-section-heading{margin-bottom:12px}
body.rs-550-service-checkout .rmpb-project-brief .rmpb-section-heading h3{color:#fff;font-size:17px}
body.rs-550-service-checkout .rmpb-project-brief .rmpb-section-heading p{color:#b8c4dc}
body.rs-550-service-checkout .rmpb-project-brief label{color:#eef2ff;font-size:11px;font-weight:800}
body.rs-550-service-checkout .rmpb-project-brief input,
body.rs-550-service-checkout .rmpb-project-brief select,
body.rs-550-service-checkout .rmpb-project-brief textarea{box-sizing:border-box!important;max-width:100%!important}
body.rs-550-service-checkout .rmpb-project-brief .rmpb-core-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);gap:12px}
body.rs-550-service-checkout .rmpb-project-brief .rmpb-core-description textarea{height:88px;min-height:88px}
body.rs-550-service-checkout .rmpb-project-brief .rmpb-extra-details{margin-top:10px}
body.rs-550-service-checkout .rmpb-project-brief .rmpb-extra-details>summary{min-height:44px}
body.rs-550-service-checkout .rs-social-email-cta{margin:0!important}

/* Tablet and phone: stack without horizontal overflow. */
@media(max-width:1050px){
 body.rs-550-account #content .woocommerce{grid-template-columns:200px minmax(0,1fr);gap:16px;width:min(calc(100% - 32px),980px);padding:30px 0 42px}
 .rs-550-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.rs-550-service-checkout #content .woocommerce{width:calc(100% - 32px)}
 body.rs-550-service-checkout #order_review{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr)}
}
@media(max-width:760px){
 body.rs-550-account #content .woocommerce{display:flex;flex-direction:column;gap:13px;width:calc(100% - 28px);padding:22px 0 36px}
 body.rs-550-account .woocommerce-MyAccount-navigation{width:100%;max-width:100%;padding:8px;border-radius:15px;overflow-x:auto;scrollbar-width:thin}
 body.rs-550-account .woocommerce-MyAccount-navigation ul{flex-direction:row;align-items:center;gap:6px;width:max-content;min-width:100%}
 body.rs-550-account .woocommerce-MyAccount-navigation li{flex:0 0 auto}
 body.rs-550-account .woocommerce-MyAccount-navigation a{min-height:38px;padding:8px 11px;font-size:10px;white-space:nowrap}
 body.rs-550-account .woocommerce-MyAccount-content{width:100%;padding:17px 14px;border-radius:17px}
 .rs-550-dashboard{gap:13px}
 .rs-550-account-hero h1{font-size:28px}
 .rs-550-account-hero p{font-size:12px}
 .rs-550-profile-card{gap:10px;padding:13px}
 .rs-550-avatar{flex-basis:44px;width:44px;height:44px;border-radius:13px;font-size:18px}
 .rs-550-profile-copy strong{font-size:13px}
 .rs-550-profile-copy span{font-size:10px}
 .rs-550-profile-card .rs-550-button{min-height:34px;padding:7px 9px;font-size:9px}
 .rs-550-stat-grid{gap:8px}
 .rs-550-stat-card{gap:8px;padding:11px;border-radius:13px}
 .rs-550-stat-icon{flex-basis:32px;width:32px;height:32px;border-radius:10px}
 .rs-550-stat-icon:before{font-size:16px}
 .rs-550-stat-label{font-size:9px}
 .rs-550-stat-card strong{font-size:20px}
 .rs-550-stat-card small{font-size:8px}
 .rs-550-orders-panel{padding:13px;border-radius:15px}
 .rs-550-section-heading{align-items:flex-start;flex-direction:column;gap:7px}
 .rs-550-section-heading h2{font-size:21px}
 .rs-550-section-heading p{font-size:10px}
 .rs-550-order-card{padding:12px;border-radius:13px}
 .rs-550-order-card-main{align-items:flex-start}
 .rs-550-order-product strong{font-size:11px}
 .rs-550-order-total strong{font-size:13px}
 .rs-550-order-actions .rs-550-button{flex:1;min-width:0}
 .rs-550-support-card{align-items:flex-start;flex-direction:column;padding:14px;gap:12px}
 .rs-550-support-card .rs-social-links{justify-content:flex-start;width:100%}
 .rs-550-support-card .rs-social-link{flex:1;justify-content:center}
 body.rs-550-account .woocommerce-orders-table{display:block;overflow:visible;border:0;background:transparent}
 body.rs-550-account .woocommerce-orders-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 body.rs-550-account .woocommerce-orders-table tbody{display:flex;flex-direction:column;gap:10px}
 body.rs-550-account .woocommerce-orders-table tbody tr{display:block;padding:9px 12px;border:1px solid rgba(185,198,231,.22);border-radius:14px;background:linear-gradient(135deg,rgba(255,255,255,.075),rgba(255,255,255,.025))}
 body.rs-550-account .woocommerce-orders-table tbody td{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:8px 2px;border-bottom:1px solid rgba(185,198,231,.12);text-align:right;font-size:11px}
 body.rs-550-account .woocommerce-orders-table tbody td:before{content:attr(data-title);flex:0 0 82px;text-align:left;color:#9eabc6;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
 body.rs-550-account .woocommerce-orders-table tbody td:last-child{border-bottom:0}
 body.rs-550-account .woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions{justify-content:flex-end;flex-wrap:wrap}
 body.rs-550-account .woocommerce-orders-table td.woocommerce-orders-table__cell-order-actions:before{margin-right:auto}
 body.rs-550-service-checkout #content .woocommerce{width:calc(100% - 24px);padding:18px 0 34px}
 body.rs-550-service-checkout .rs-checkout-intro{margin-bottom:12px;padding:18px 16px;border-radius:16px}
 body.rs-550-service-checkout .rs-checkout-intro h2{font-size:25px}
 body.rs-550-service-checkout .rs-checkout-intro p{font-size:11px}
 body.rs-550-service-checkout .rs-checkout-steps{gap:6px}
 body.rs-550-service-checkout .rs-checkout-steps span{font-size:9px;padding:6px 8px}
 body.rs-550-service-checkout #customer_details{padding:15px 13px;border-radius:16px}
 body.rs-550-service-checkout #customer_details .woocommerce-billing-fields>h3{font-size:17px}
 body.rs-550-service-checkout #customer_details .woocommerce-billing-fields__field-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.rs-550-service-checkout #billing_phone_field{grid-column:1/-1}
 body.rs-550-service-checkout #customer_details .woocommerce-billing-fields__field-wrapper label{font-size:10px}
 body.rs-550-service-checkout #customer_details .woocommerce-billing-fields__field-wrapper input{min-height:42px;font-size:12px!important}
 body.rs-550-service-checkout .rs-547-checkout-social{align-items:flex-start;flex-direction:column;padding:11px}
 body.rs-550-service-checkout .rs-547-checkout-social .rs-social-links{justify-content:flex-start;width:100%}
 body.rs-550-service-checkout .rs-547-checkout-social .rs-social-link{flex:1;justify-content:center}
 body.rs-550-service-checkout #order_review_heading{font-size:20px}
 body.rs-550-service-checkout #order_review{grid-template-columns:1fr;gap:12px;padding:12px;border-radius:16px}
 body.rs-550-service-checkout #order_review>table.shop_table,
 body.rs-550-service-checkout #order_review #payment{grid-column:1}
 body.rs-550-service-checkout #order_review #payment{padding:13px!important}
 body.rs-550-service-checkout .rmpb-project-brief{padding:14px 12px!important;border-radius:13px!important}
 body.rs-550-service-checkout .rmpb-project-brief .rmpb-core-grid{grid-template-columns:1fr;gap:9px}
 body.rs-550-service-checkout .rmpb-project-brief .rmpb-core-description textarea{height:90px;min-height:90px}
}
@media(max-width:380px){
 body.rs-550-account #content .woocommerce{width:calc(100% - 20px)}
 .rs-550-stat-card{padding:9px;gap:6px}
 .rs-550-stat-icon{flex-basis:28px;width:28px;height:28px}
 .rs-550-stat-card strong{font-size:18px}
 .rs-550-order-card-main{flex-direction:column;gap:8px}
 .rs-550-order-total{align-items:flex-start}
 body.rs-550-service-checkout #customer_details .woocommerce-billing-fields__field-wrapper{grid-template-columns:1fr}
 body.rs-550-service-checkout #billing_phone_field{grid-column:auto}
}
@media(prefers-reduced-motion:reduce){.rs-550-button,.rs-550-order-card,.rs-550-support-card{transition:none!important}}

/* Final grid placement: WooCommerce's form-row-wide class must not force every field onto a new row. */
body.rs-550-service-checkout #customer_details .woocommerce-billing-fields__field-wrapper>.form-row{grid-column:auto!important}
body.rs-550-service-checkout #customer_details #billing_phone_field{grid-column:auto!important}
@media(max-width:760px){
 body.rs-550-service-checkout #customer_details #billing_phone_field{grid-column:1/-1!important}
 body.rs-550-service-checkout #order_review>table.shop_table{grid-row:1!important;order:0!important}
 body.rs-550-service-checkout #order_review #payment{grid-row:2!important;order:1!important}
}
body.rs-550-service-checkout .rs-checkout-contact-intro{margin:0 0 13px;padding:0}
body.rs-550-service-checkout .rs-checkout-contact-intro h3{margin:0 0 5px;color:#fff;font-size:18px;font-weight:850;letter-spacing:-.03em}
body.rs-550-service-checkout .rs-checkout-contact-intro p{max-width:720px;margin:0;color:#b9c4dc;font-size:11px;line-height:1.5}
body.rs-550-service-checkout #order_review_heading{margin:10px 0 -2px}
@media(max-width:380px){
 .qr-site-header-inner{grid-template-columns:minmax(0,1fr) auto auto!important;gap:6px!important;padding:10px 12px!important}
 .qr-fallback-logo{font-size:18px!important;letter-spacing:-.8px!important}
 .qr-header-cta{min-height:34px!important;padding:0 8px!important;font-size:9px!important}
 .qr-menu-toggle{width:34px!important;height:34px!important;border-radius:11px!important}
}


/* 5.5.1 — make auth/account screens feel native and stop narrow-column collapse. */
.woocommerce-account:not(.logged-in) #content .woocommerce{width:min(1180px,calc(100% - 40px));max-width:1180px;margin:0 auto;padding:34px 0 54px}
.woocommerce-account:not(.logged-in) .woocommerce-form-login,
.woocommerce-account:not(.logged-in) .woocommerce-form-register{padding:20px;border:1px solid rgba(185,198,231,.24);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.03));box-shadow:0 18px 55px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.08)}
.woocommerce-account:not(.logged-in) .woocommerce h2{color:#fff;letter-spacing:-.04em}
.woocommerce-account:not(.logged-in) .woocommerce form .form-row label{color:#eef2ff;font-size:12px;font-weight:800}
.woocommerce-account:not(.logged-in) .woocommerce form .input-text{min-height:46px;padding:11px 13px!important;border:1px solid #c0cbdf!important;border-radius:10px!important;background:#f7f9ff!important;color:#172238!important}
.rs-551-auth-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 18px;padding:24px 26px;border:1px solid rgba(157,143,255,.42);border-radius:21px;background:linear-gradient(115deg,rgba(119,100,255,.2),rgba(52,203,220,.1)),rgba(255,255,255,.045);box-shadow:0 18px 48px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.12);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.rs-551-auth-copy{max-width:720px}
.rs-551-auth-intro h1{margin:8px 0 8px;color:#fff;font-size:clamp(26px,3vw,38px);font-weight:900;letter-spacing:-.055em;line-height:1.08}
.rs-551-auth-intro p{margin:0;color:#c7d1e7;font-size:13px;line-height:1.6}
.rs-551-auth-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.rs-551-auth-actions .rs-550-button{min-height:44px;padding-inline:18px}
@media(max-width:920px){
 .rs-550-order-list{grid-template-columns:1fr}
 .rs-551-auth-intro{flex-direction:column;align-items:flex-start;padding:20px 18px}
 .rs-551-auth-actions{justify-content:flex-start;width:100%}
}
@media(max-width:760px){
 body.rs-550-account .woocommerce-MyAccount-content{padding:18px 14px!important}
 .rs-550-profile-card{grid-template-columns:auto minmax(0,1fr);align-items:start}
 .rs-550-profile-card .rs-550-button{grid-column:1/-1;justify-self:flex-start;margin-top:4px}
 .rs-550-stat-grid{grid-template-columns:1fr 1fr}
 .rs-550-order-list{grid-template-columns:1fr}
 .rs-550-order-card-top{align-items:flex-start;flex-direction:column}
 .rs-550-order-card-main{grid-template-columns:1fr}
 .rs-550-order-total{align-items:flex-start}
 .rs-550-order-actions{flex-wrap:wrap;justify-content:flex-start}
 .woocommerce-account:not(.logged-in) #content .woocommerce{width:calc(100% - 24px);padding:20px 0 36px}
 .woocommerce-account:not(.logged-in) .u-columns{display:flex;flex-direction:column;gap:14px}
}
@media(max-width:420px){
 .rs-550-stat-grid{grid-template-columns:1fr}
}
