/* Scoped to native WooCommerce pages; service and gallery layouts stay separate. */
.rmd-commerce{min-height:60vh;background:radial-gradient(ellipse at 85% 0,#0b2940,transparent 45%),var(--rmd-surface)}
.rmd-commerce-nav{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.rmd-commerce-nav a{display:inline-flex;align-items:center;min-height:44px;padding:9px 0;color:var(--rmd-muted);font-size:14px}
.rmd-commerce-nav a:first-child{font-weight:700}.rmd-commerce-nav a:last-child{font-size:13px}
.rmd-commerce-nav a:hover,.rmd-commerce-nav a[aria-current="page"]{color:#83caff;text-decoration:underline;text-underline-offset:4px}
.rmd-shop-preview{padding:18px 22px;margin-bottom:28px;border:1px solid #3b6585;border-left:4px solid #55b7ff;border-radius:8px;background:#0c2234;color:#d6e6f2;font-size:14px}
.rmd-shop-preview strong{color:#f5f8fb}.rmd-shop-preview p{max-width:900px;margin:6px 0 0}
.rmd-shop-intro{max-width:760px;margin:12px 0 30px}.rmd-shop-intro h1,.rmd-commerce-heading h1,.rmd-commerce .woocommerce-products-header h1{font-size:clamp(44px,6vw,72px);margin-bottom:14px}
.rmd-shop-description{font-size:18px;color:var(--rmd-muted);margin-bottom:20px}.rmd-commerce-heading{margin:12px 0 30px}
.rmd-category-jumps{display:flex;flex-wrap:wrap;gap:10px}
.rmd-category-jumps a{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--rmd-border);border-radius:7px;color:#83caff;font-size:14px;font-weight:700}
.rmd-category-jumps a:hover{background:#123550;border-color:#46abff;color:var(--rmd-text)}
.rmd-collection-count{margin-bottom:24px;font-size:14px;color:var(--rmd-muted)}
.rmd-shop-collection{margin-bottom:44px}.rmd-collection-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:22px}
.rmd-collection-heading h2{margin:0;font-size:clamp(30px,3.2vw,40px)}.rmd-collection-heading a{display:inline-flex;align-items:center;gap:5px;min-height:44px;font-size:14px;color:#83caff}
.rmd-collection-heading a:hover{text-decoration:underline;text-underline-offset:4px}
.rmd-commerce .woocommerce-breadcrumb{margin:0 0 24px;color:var(--rmd-muted);font-size:14px;overflow-wrap:anywhere}
.rmd-commerce .woocommerce-breadcrumb a,.rmd-commerce .product_meta a,.rmd-commerce .woocommerce-info a,.rmd-commerce .woocommerce-message a,.rmd-commerce .woocommerce-error a,.rmd-commerce .woocommerce-MyAccount-content a:not(.button){color:#83caff;text-decoration:underline;text-underline-offset:3px}
.rmd-commerce .woocommerce-result-count{color:var(--rmd-muted);padding-block:10px;margin-bottom:24px}
.rmd-commerce .woocommerce-ordering{margin-bottom:24px}.rmd-commerce .woocommerce-ordering select{min-height:44px;max-width:100%}
.rmd-commerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0 0 40px;padding:0}
.rmd-commerce ul.products::before,.rmd-commerce ul.products::after{display:none}
.rmd-commerce ul.products li.product,.rmd-commerce ul.products li.product:nth-child(n){position:relative;display:flex;flex-direction:column;float:none;width:auto;min-width:0;margin:0;padding:18px;border:1px solid var(--rmd-border);border-radius:12px;background:#091925;box-shadow:0 8px 28px #0003}
.rmd-commerce ul.products li.product .woocommerce-loop-product__link{display:flex;flex:1;flex-direction:column}
.rmd-commerce ul.products li.product a img,.rmd-product-image-placeholder{width:100%;aspect-ratio:1;object-fit:contain;margin:0 0 20px;border:1px solid #24425c;border-radius:8px;background:#0d2233}
.rmd-product-image-placeholder{display:flex;align-items:center;justify-content:center;padding:20px;color:var(--rmd-muted);font-size:13px;text-align:center}
.rmd-commerce ul.products li.product .woocommerce-loop-product__title{padding:0;margin:0 0 22px;color:var(--rmd-text)}
.rmd-product-name{display:block;margin-bottom:8px;font:800 32px/1.05 var(--rmd-heading);text-transform:uppercase}
.rmd-product-type{display:block;font:400 15px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:0;text-transform:none;color:var(--rmd-muted)}
.rmd-product-badge{position:absolute;top:30px;left:30px;padding:5px 10px;border:1px solid #567994;border-radius:5px;background:#102b40;color:#d8edfc;font-size:12px;font-weight:700}
.rmd-commerce ul.products li.product .price{margin-top:auto;margin-bottom:18px;color:#86caff;font-size:20px;font-weight:750}
.rmd-commerce ul.products li.product .button{align-self:flex-start;margin-top:0}
.rmd-loop-purchase{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:46px minmax(44px,auto);align-items:start;justify-items:start;gap:4px;min-height:94px;width:100%}
.rmd-loop-purchase>a.ajax_add_to_cart,.rmd-loop-purchase>.rmd-cart-stepper{grid-column:1;grid-row:1}
.rmd-commerce ul.products li.product .rmd-loop-purchase [hidden]{display:none!important}
.rmd-commerce ul.products li.product .rmd-loop-purchase .rmd-cart-view{grid-column:1;grid-row:2;display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0;color:#83caff;text-decoration:underline;text-underline-offset:4px}
.rmd-commerce ul.products li.product .rmd-loop-purchase .added_to_cart:not(.rmd-cart-view){display:none}
.rmd-cart-stepper{display:grid;grid-template-columns:44px minmax(48px,64px) 44px;max-width:100%;min-height:46px;border:1px solid #53738c;border-radius:7px;background:#06111b;color:var(--rmd-text)}
.rmd-cart-stepper button{display:grid;place-items:center;width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:6px;background:transparent;color:inherit;font:500 23px/1 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;cursor:pointer}
.rmd-commerce .rmd-loop-purchase .rmd-cart-stepper input.qty{width:100%;min-width:0;min-height:44px;margin:0;padding:0 4px;border:0;border-inline:1px solid #53738c;border-radius:0;background:transparent;color:inherit;font:700 16px/1.3 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;text-align:center;appearance:textfield;-moz-appearance:textfield}
.rmd-cart-stepper input.qty::-webkit-inner-spin-button,.rmd-cart-stepper input.qty::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}
.rmd-cart-stepper button:hover:not(:disabled){background:#123550;color:#83caff}
.rmd-cart-stepper button:focus-visible,.rmd-commerce .rmd-loop-purchase .rmd-cart-stepper input.qty:focus-visible{position:relative;outline:2px solid #83caff;outline-offset:2px}
.rmd-cart-stepper button:disabled,.rmd-cart-stepper input.qty:disabled{opacity:.45;cursor:default}
.rmd-loop-purchase[aria-busy="true"] .rmd-cart-stepper{cursor:wait}
.rmd-cart-error{grid-column:1;grid-row:3;max-width:100%;margin:0;color:#ffa4a4;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.rmd-cart-error:empty{display:none}
.rmd-commerce ul.products li.product a.rmd-product-details{border-color:#53738c;background:transparent;color:#c8e6fb}
.rmd-commerce ul.products li.product a.rmd-product-details:hover{border-color:#83caff;background:#123550;color:var(--rmd-text)}
.rmd-commerce .woocommerce a.button,.rmd-commerce .woocommerce button.button,.rmd-commerce .woocommerce input.button,.rmd-commerce a.button,.rmd-commerce button.button,.rmd-commerce input.button,.rmd-commerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;border:1px solid #49b1ff;border-radius:7px;background:#35a6ff;color:#03090e;font:750 15px/1.3 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;text-align:center;white-space:normal}
.rmd-commerce .woocommerce a.button:hover,.rmd-commerce .woocommerce button.button:hover,.rmd-commerce .woocommerce input.button:hover,.rmd-commerce a.button:hover,.rmd-commerce button.button:hover,.rmd-commerce input.button:hover,.rmd-commerce #respond input#submit:hover{background:#77c6ff;color:#03090e}
.rmd-commerce a.button.alt,.rmd-commerce button.button.alt,.rmd-commerce input.button.alt,.rmd-commerce #respond input#submit.alt{background:#35a6ff;color:#03090e}
.rmd-commerce a.button.alt:hover,.rmd-commerce button.button.alt:hover,.rmd-commerce input.button.alt:hover,.rmd-commerce #respond input#submit.alt:hover{background:#77c6ff;color:#03090e}
.rmd-commerce .woocommerce button.button:disabled,.rmd-commerce .woocommerce button.button:disabled[disabled],.rmd-commerce button.button:disabled,.rmd-commerce button.button:disabled[disabled]{padding:12px 18px;color:#03090e;opacity:.55}
.rmd-commerce span.onsale{min-height:40px;min-width:40px;background:#55b7ff;color:#03090e;font-weight:800;line-height:40px}
.rmd-commerce .woocommerce-message,.rmd-commerce .woocommerce-info,.rmd-commerce .woocommerce-error{border-radius:8px;background:#102638;color:var(--rmd-text);overflow-wrap:anywhere}
.rmd-commerce .woocommerce-message{border-top-color:#60d4a0}.rmd-commerce .woocommerce-message::before{color:#60d4a0}
.rmd-commerce .woocommerce-info{border-top-color:#55b7ff}.rmd-commerce .woocommerce-info::before{color:#55b7ff}
.rmd-commerce .woocommerce-error{border-top-color:#ff8e8e}.rmd-commerce .woocommerce-error::before{color:#ff8e8e}
.rmd-commerce nav.woocommerce-pagination ul{border-color:var(--rmd-border)}.rmd-commerce nav.woocommerce-pagination ul li{border-color:var(--rmd-border)}
.rmd-commerce nav.woocommerce-pagination ul li a,.rmd-commerce nav.woocommerce-pagination ul li span{display:grid;place-items:center;min-width:44px;min-height:44px;background:#0a1c2a;color:#d8eaf8}
.rmd-commerce nav.woocommerce-pagination ul li a:hover,.rmd-commerce nav.woocommerce-pagination ul li span.current{background:#35a6ff;color:#03090e}
/* Keep Woo's gallery, variations, tabs, and purchasing forms intact. */
.rmd-commerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px 48px}
.rmd-commerce div.product::before,.rmd-commerce div.product::after{display:none}
.rmd-commerce div.product div.images,.rmd-commerce div.product div.summary{float:none;width:100%;min-width:0;margin:0}
.rmd-commerce div.product div.images img{border-radius:10px;background:#0d2233}
.rmd-commerce div.product .product_title{font-size:clamp(38px,4.8vw,58px);margin-bottom:18px;overflow-wrap:anywhere}
.rmd-commerce div.product p.price,.rmd-commerce div.product span.price{color:#86caff;font-size:28px;font-weight:750}
.rmd-commerce .woocommerce-product-details__short-description{color:var(--rmd-muted);line-height:1.7;margin-bottom:26px}
.rmd-commerce div.product form.cart{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:28px}
.rmd-commerce div.product form.cart div.quantity{float:none;margin:0}.rmd-commerce .quantity .qty{width:78px;min-height:46px}
.rmd-commerce div.product form.cart .variations,.rmd-commerce div.product form.cart .single_variation_wrap{width:100%}
.rmd-commerce div.product form.cart .variations label{font-weight:700}.rmd-commerce div.product form.cart .variations select{min-height:44px}
.rmd-commerce div.product .stock{color:#8ddbb5}.rmd-commerce div.product .out-of-stock{color:#ffa4a4}
.rmd-commerce .product_meta{display:grid;gap:7px;padding-top:20px;border-top:1px solid var(--rmd-border);font-size:14px;color:var(--rmd-muted);overflow-wrap:anywhere}
.rmd-commerce div.product .woocommerce-tabs,.rmd-commerce div.product .related,.rmd-commerce div.product .upsells{grid-column:1/-1;min-width:0}
.rmd-commerce div.product .woocommerce-tabs ul.tabs{padding-left:0;margin-bottom:25px}.rmd-commerce div.product .woocommerce-tabs ul.tabs::before{border-color:var(--rmd-border)}
.rmd-commerce div.product .woocommerce-tabs ul.tabs li{margin:0 8px 0 0;padding:0;border:1px solid var(--rmd-border);border-radius:7px 7px 0 0;background:#0a1c2a}
.rmd-commerce div.product .woocommerce-tabs ul.tabs li::before,.rmd-commerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.rmd-commerce div.product .woocommerce-tabs ul.tabs li a{min-height:44px;padding:12px 18px;color:var(--rmd-muted)}
.rmd-commerce div.product .woocommerce-tabs ul.tabs li.active{background:#123550;border-bottom-color:#123550}.rmd-commerce div.product .woocommerce-tabs ul.tabs li.active a{color:#fff}
.rmd-commerce div.product .woocommerce-tabs .panel{padding:24px;border:1px solid var(--rmd-border);border-radius:10px;background:#091925;color:var(--rmd-muted)}
.rmd-commerce div.product .woocommerce-tabs .panel h2{color:var(--rmd-text);font-size:32px}.rmd-commerce .related>h2,.rmd-commerce .upsells>h2{margin-bottom:24px}
.rmd-commerce #reviews #comments ol.commentlist li .comment-text{border-color:var(--rmd-border)}.rmd-commerce .star-rating,.rmd-commerce p.stars a{color:#8bd0ff}
/* Classic cart, checkout, and account shortcodes. */
.rmd-commerce input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),.rmd-commerce select,.rmd-commerce textarea{max-width:100%;min-height:44px;padding:10px 12px;border:1px solid #53738c;border-radius:5px;background:#06111b;color:var(--rmd-text);font:inherit}
.rmd-commerce .woocommerce form .form-row textarea{min-height:120px;background:#06111b;color:var(--rmd-text)}.rmd-commerce input::placeholder,.rmd-commerce textarea::placeholder{color:#aabccb;opacity:1}
.rmd-commerce input[type="checkbox"],.rmd-commerce input[type="radio"]{accent-color:#35a6ff;width:18px;height:18px;vertical-align:middle}
.rmd-commerce .woocommerce form .form-row label{color:#dbe7f0}.rmd-commerce .woocommerce form .form-row .required{color:#ffa4a4}
.rmd-commerce .select2-container .select2-selection--single{min-height:44px;border:1px solid #53738c;border-radius:5px;background:#06111b}
.rmd-commerce .select2-container--default .select2-selection--single .select2-selection__rendered{padding:7px 12px;color:var(--rmd-text)}
.rmd-commerce .select2-container--default .select2-selection--single .select2-selection__arrow{top:9px}
body:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .select2-dropdown{border-color:#53738c;background:#0a1c2a;color:var(--rmd-text)}
body:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .select2-container--default .select2-search--dropdown .select2-search__field{background:#06111b;color:var(--rmd-text);border-color:#53738c}
body:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .select2-container--default .select2-results__option[data-selected=true]{background:#193d59;color:#fff}
body:is(.woocommerce-cart,.woocommerce-checkout,.woocommerce-account) .select2-container--default .select2-results__option--highlighted[aria-selected]{background:#35a6ff;color:#03090e}
.rmd-commerce .woocommerce table.shop_table,.rmd-commerce table.shop_attributes{border:1px solid var(--rmd-border);border-radius:10px;background:#091925;color:var(--rmd-text);border-collapse:separate}
.rmd-commerce .woocommerce table.shop_table th,.rmd-commerce .woocommerce table.shop_table td{padding:16px 14px;border-color:var(--rmd-border)}
.rmd-commerce table.shop_attributes td,.rmd-commerce table.shop_attributes th{padding:12px;border-color:var(--rmd-border)}
.rmd-commerce table.shop_attributes tr:nth-child(even) td,.rmd-commerce table.shop_attributes tr:nth-child(even) th{background:#0d2233}
.rmd-commerce .woocommerce-cart-form td.product-name a{color:#8bd0ff}.rmd-commerce .woocommerce a.remove{display:grid;place-items:center;min-width:36px;min-height:36px;color:#ffaaaa!important}
.rmd-commerce .woocommerce a.remove:hover{background:#6f2634;color:#fff!important}.rmd-commerce .woocommerce table.cart img{width:80px;border-radius:6px}
.rmd-commerce .woocommerce table.cart td.actions .coupon .input-text{width:170px;margin-right:10px}.rmd-commerce .woocommerce table.cart td.actions .coupon{display:flex;flex-wrap:wrap;gap:10px}
.rmd-commerce .woocommerce .cart-collaterals .cart_totals{padding:24px;border:1px solid var(--rmd-border);border-radius:10px;background:#091925}
.rmd-commerce .woocommerce .cart-collaterals .cart_totals h2{font-size:32px}.rmd-commerce .woocommerce .cart-collaterals .cart_totals table{border:0;background:transparent}
.rmd-commerce .woocommerce .cart-collaterals .cart_totals th,.rmd-commerce .woocommerce .cart-collaterals .cart_totals td{padding:14px 8px}
.rmd-commerce .woocommerce .wc-proceed-to-checkout a.checkout-button{display:flex;margin-bottom:0;font-size:17px}
.rmd-commerce .woocommerce form.checkout .col2-set{margin-bottom:30px}.rmd-commerce .woocommerce form.checkout h3{font-size:30px;margin-bottom:20px}
.rmd-commerce .woocommerce-checkout #payment{border:1px solid var(--rmd-border);border-radius:10px;background:#091925}
.rmd-commerce .woocommerce-checkout #payment ul.payment_methods{border-color:var(--rmd-border)}.rmd-commerce .woocommerce-checkout #payment div.payment_box{background:#17364d;color:#e4edf4}
.rmd-commerce .woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#17364d}
.rmd-commerce .woocommerce-privacy-policy-text,.rmd-commerce .woocommerce-terms-and-conditions-wrapper{color:var(--rmd-muted);font-size:14px}.rmd-commerce .woocommerce-privacy-policy-text a{color:#83caff;text-decoration:underline}
.rmd-commerce .woocommerce form.login,.rmd-commerce .woocommerce form.register,.rmd-commerce .woocommerce form.checkout_coupon{padding:24px;border-color:var(--rmd-border);border-radius:10px;background:#091925}
.rmd-commerce .woocommerce-MyAccount-navigation{padding:12px;border:1px solid var(--rmd-border);border-radius:10px;background:#091925}
.rmd-commerce .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}.rmd-commerce .woocommerce-MyAccount-navigation a{display:flex;align-items:center;min-height:46px;padding:10px 14px;border-radius:6px;color:var(--rmd-muted)}
.rmd-commerce .woocommerce-MyAccount-navigation a:hover,.rmd-commerce .woocommerce-MyAccount-navigation .is-active a{background:#123550;color:#fff}
.rmd-commerce .woocommerce-MyAccount-content{overflow-wrap:anywhere}.rmd-commerce .woocommerce-MyAccount-content h2,.rmd-commerce .woocommerce-MyAccount-content h3{font-size:30px}
.rmd-commerce .woocommerce-MyAccount-content fieldset{margin-block:20px;padding:20px;border:1px solid var(--rmd-border);border-radius:8px}.rmd-commerce .woocommerce-MyAccount-content legend{padding-inline:8px;font-weight:700}
.rmd-commerce .woocommerce .woocommerce-customer-details address{border-color:var(--rmd-border);padding:18px;background:#091925}
@media(max-width:899px){
    .rmd-commerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
    .rmd-commerce div.product{gap:28px}.rmd-commerce div.product .product_title{font-size:42px}
}
@media(max-width:768px){
    .rmd-commerce div.product{grid-template-columns:minmax(0,1fr)}
    .rmd-commerce .woocommerce-MyAccount-navigation,.rmd-commerce .woocommerce-MyAccount-content{float:none;width:100%}.rmd-commerce .woocommerce-MyAccount-navigation{margin-bottom:25px}
    .rmd-commerce .woocommerce table.shop_table_responsive tr td,.rmd-commerce .woocommerce table.shop_table_responsive tr:nth-child(2n) td{background:#091925}
    .rmd-commerce .woocommerce table.shop_table_responsive tr{border-bottom:1px solid var(--rmd-border)}
    .rmd-commerce .woocommerce table.cart td.actions .coupon{float:none;margin-bottom:16px}.rmd-commerce .woocommerce table.cart td.actions .coupon .input-text,.rmd-commerce .woocommerce table.cart td.actions .coupon .button{width:100%;margin:0}
    .rmd-commerce .woocommerce .cart-collaterals .cart_totals{float:none;width:100%;padding:20px}
    .rmd-commerce .woocommerce .woocommerce-message .button,.rmd-commerce .woocommerce .woocommerce-info .button,.rmd-commerce.woocommerce .woocommerce-message .button{float:none;margin:0 10px 12px 0}
}
@media(max-width:599px){
    .rmd-commerce ul.products{grid-template-columns:minmax(0,1fr);gap:20px}.rmd-commerce ul.products li.product{padding:18px}
    .rmd-commerce .woocommerce-ordering,.rmd-commerce .woocommerce-result-count{float:none;width:100%;margin:0 0 16px}.rmd-commerce .woocommerce-ordering select{width:100%}
    .rmd-shop-preview{padding:16px;margin-bottom:24px}.rmd-category-jumps{gap:7px}.rmd-category-jumps a{padding-inline:12px;font-size:13px}
    .rmd-commerce div.product .woocommerce-tabs ul.tabs li{margin-right:4px}.rmd-commerce div.product .woocommerce-tabs ul.tabs li a{padding-inline:12px;font-size:14px}
    .rmd-commerce div.product .woocommerce-tabs .panel{padding:18px}.rmd-commerce .woocommerce table.shop_table th,.rmd-commerce .woocommerce table.shop_table td{padding:12px 10px}
    .rmd-commerce .woocommerce form .form-row-first,.rmd-commerce .woocommerce form .form-row-last{float:none;width:100%}.rmd-commerce .woocommerce form.login,.rmd-commerce .woocommerce form.register{padding:18px}
    .rmd-commerce .woocommerce table.woocommerce-checkout-review-order-table{font-size:14px}.rmd-commerce .woocommerce table.woocommerce-checkout-review-order-table th,.rmd-commerce .woocommerce table.woocommerce-checkout-review-order-table td{overflow-wrap:anywhere}
}
