/* Shop pages of the reproduced titles (public/ria-shop.js). Sizes in px: the
   themes set the root font size to 10px. Colours follow each theme. */

/* Offers */
.rs-save{display:inline-block;margin:6px auto 0;background:#e3f4ea;color:#1f6b45;font-weight:700;font-size:13px;padding:3px 10px;border-radius:999px}

/* Product page: one subscription per order, tabs that work */
.rs-product form.cart .quantity{display:none!important}
.rs-pay{margin:14px 0 0;font-size:14px;line-height:1.5;color:#333}
.rs-pay span{display:block;color:#666;font-size:13px}
.rs-upsell{display:block;margin:12px 0 0;padding:12px 14px;border:1px solid #f0d58a;background:#fff8e6;color:#1d1d1f!important;text-decoration:none!important;font-size:14px;line-height:1.45}
.rs-upsell:hover{border-color:var(--primarycolor,#c00)}
.rs-product .woocommerce-tabs ul.tabs li.active a{color:var(--primarycolor,#c00);border-bottom:2px solid var(--primarycolor,#c00)}

/* Cart: nothing that does nothing here */
.rs-cart td.product-quantity .quantity{pointer-events:none}
.rs-cart td.product-quantity .qty-btn,.rs-cart td.product-quantity .minus,.rs-cart td.product-quantity .plus{display:none!important}
.rs-cart td.product-quantity input.qty{border:0;background:transparent;text-align:center;width:40px;-moz-appearance:textfield}
.rs-cart tr td.actions,.rs-cart .woocommerce-shipping-destination,.rs-cart .woocommerce-shipping-calculator{display:none!important}
.rs-upsell-cart{display:flex;gap:16px;align-items:center;justify-content:space-between;border:1px solid #f0d58a;background:#fff8e6;padding:14px 18px;margin:0 0 16px;font-size:14px;line-height:1.45}
.rs-upsell-cart div{display:grid;gap:2px}
.rs-upsell-cart strong{font-size:16px}
.rs-upsell-cart .button{white-space:nowrap}
.rs-next{border:1px solid #e3e3e6;background:#fff;padding:16px 18px;margin:16px 0 0;font-size:14px;line-height:1.5}
.rs-next h3{font-size:16px;margin:0 0 8px}
.rs-next ol{margin:0;padding-left:20px;display:grid;gap:4px}
.rs-small{font-size:13px;color:#666;margin:8px 0 0}
@media (min-width:900px){
  .rs-cart .cart-collaterals{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:24px;align-items:start}
  .rs-cart .cart-collaterals .cart_totals{grid-column:2;grid-row:1 / span 3;width:auto!important;float:none!important}
  .rs-cart .cart-collaterals .rs-upsell-cart,.rs-cart .cart-collaterals .rs-next{grid-column:1;margin:0}
}
/* Phones: the theme labels each total cell, the headers then appear twice */
@media (max-width:768px){
  .rs-cart .cart_totals table th{display:none}
  .rs-upsell-cart{flex-direction:column;align-items:stretch}
}

/* Checkout */
.rs-checkout .woocommerce-form-coupon-toggle,.rs-checkout form.checkout_coupon,.rs-checkout .ria-register-link{display:none!important}
.rs-checkout li.wc_payment_method{cursor:pointer;border-left:3px solid transparent;transition:background .15s,border-color .15s}
.rs-checkout li.wc_payment_method.rs-selected{border-left-color:var(--primarycolor,#c00);background:#fafafb}
.rs-checkout li.wc_payment_method.rs-selected>label,.rs-checkout li.wc_payment_method.rs-selected label[for^=payment_method]{color:var(--primarycolor,#c00)}
.rs-field-error{display:block;color:#a3122a;font-size:13px;font-weight:600;margin-top:4px}
.rs-checkout .woocommerce-invalid input.input-text,.rs-checkout .woocommerce-invalid select{border-color:#a3122a!important}
.rs-more-cards{margin:-6px 0 12px;font-size:13px}
.rs-more-cards summary{cursor:pointer;color:#555;margin-bottom:6px}
.rs-mini-summary{display:none}
@media (min-width:1000px){
  .rs-checkout #order_review{position:sticky;top:16px}
}
@media (max-width:999px){
  .rs-mini-summary{display:flex;gap:10px;align-items:center;justify-content:space-between;border:1px solid #e3e3e6;background:#fff;padding:12px 64px 12px 14px;margin:0 0 14px;font-size:14px}
  .rs-mini-summary span{flex:1;min-width:0}
  .rs-mini-summary strong{white-space:nowrap}
  .rs-mini-summary a{white-space:nowrap;font-size:13px}
}
/* Cart: thumbnail and checkout button sized the same on every theme */
.rs-cart td.product-thumbnail img{width:96px!important;max-width:96px;height:auto}
.rs-cart .wc-proceed-to-checkout a.checkout-button{display:block;padding:14px 18px!important;font-size:16px;font-weight:700;text-align:center;line-height:1.3}
