.rtr-purchase .variations { width: 100%; margin: 0 0 1rem; text-align: left; }
.rtr-purchase .variations label { margin-right: .75rem; }
.rtr-purchase select, .rtr-purchase input.qty {
  max-width: 100%;
  padding: .55rem .7rem;
  color: inherit;
  background: #171411;
  border: 1px solid #80632b;
}
.rtr-purchase .reset_variations { display: inline-block; margin-left: .75rem; }
.rtr-purchase .quantity { margin-bottom: .75rem; }
.rtr-purchase button.disabled { opacity: .55; cursor: not-allowed; }
.rtr-commerce { min-height: 45vh; }
.rtr-commerce .woocommerce a { text-decoration: underline; text-underline-offset: .2em; }
.rtr-commerce .woocommerce table { border-color: #68502b; }

:is(.rtr-commerce, .rtr-purchase) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
  color: var(--cream);
  background: var(--surface);
  border-top-color: var(--gold);
}

:is(.rtr-commerce, .rtr-purchase) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before,
:is(.rtr-commerce, .rtr-purchase) :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) a:not(.button) {
  color: var(--gold);
}

:is(.rtr-commerce .woocommerce, .rtr-purchase) :is(a, button, input).button {
  color: var(--bg);
  background: var(--gold);
  border: 1px solid var(--gold);
  text-decoration: none;
}

:is(.rtr-commerce .woocommerce, .rtr-purchase) :is(a, button, input).button:not(:disabled, .disabled, [aria-disabled="true"]):is(:hover, :focus-visible, :active) {
  color: var(--gold);
  background: var(--bg);
}

:is(.rtr-commerce .woocommerce, .rtr-purchase) :is(a, button, input).button:is(:disabled, .disabled, [aria-disabled="true"]) {
  color: var(--bg);
  background: var(--gold);
  opacity: .55;
}

.rtr-commerce .woocommerce a.remove {
  color: var(--gold) !important;
  text-decoration: none;
}

.rtr-commerce .woocommerce a.remove:is(:hover, :focus-visible) {
  color: var(--bg) !important;
  background: var(--gold);
}

/* ===== Premium basket and checkout (4 Dec 2026) =====
   One system for both pages: dark panels, one hairline colour,
   3px corners, every control 48px tall, gold only for the main action. */
.rtr-commerce, .select2-container { --panel:#131310; --field:#17150f; --hair:#3a3428; --hair-strong:#5a4b2c; --pad:clamp(16px,2.2vw,28px); }
.rtr-commerce h1 { margin-bottom:clamp(20px,3vw,36px); }
.rtr-commerce .woocommerce :is(h2,h3) { font-family:var(--display); text-transform:uppercase; font-weight:600; font-size:clamp(22px,2.2vw,28px); letter-spacing:.01em; line-height:1; max-width:none; margin:0 0 18px; }

/* Fields */
.rtr-commerce :is(select, textarea, input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"])),
.rtr-commerce .woocommerce form .form-row :is(.input-text, select, textarea),
.rtr-commerce .select2-container .select2-selection--single {
  box-sizing:border-box; width:100%; min-height:48px; padding:12px 14px; font:inherit; font-size:15px; line-height:1.4;
  color:var(--cream); background:var(--field); border:1px solid var(--hair-strong); border-radius:3px; box-shadow:none;
}
.rtr-commerce textarea { min-height:120px; resize:vertical; }
.rtr-commerce :is(select, textarea, input):focus-visible,
.rtr-commerce .select2-container--focus .select2-selection--single { outline:2px solid var(--gold); outline-offset:1px; border-color:var(--gold); }
.rtr-commerce ::placeholder { color:#8a8274; opacity:1; }
.rtr-commerce .form-row { margin:0 0 16px; padding:0; }
.rtr-commerce .form-row label { display:block; margin-bottom:6px; font-size:13px; color:var(--muted); line-height:1.3; }
.rtr-commerce .select2-container .select2-selection--single { display:flex; align-items:center; padding:0 40px 0 14px; height:48px; }
.rtr-commerce .select2-container .select2-selection--single .select2-selection__rendered { padding:0; color:var(--cream); line-height:1.4; }
.rtr-commerce .select2-container .select2-selection--single .select2-selection__arrow { height:46px; right:10px; }
.rtr-commerce .select2-container .select2-selection--single .select2-selection__arrow b { border-top-color:var(--gold); }
.select2-container .select2-dropdown { color:var(--cream); background:var(--field); border-color:var(--hair-strong); border-radius:3px; }
.select2-container .select2-search--dropdown .select2-search__field { color:var(--cream); background:#0f0e0b; border:1px solid var(--hair-strong); border-radius:3px; min-height:40px; }
.select2-container .select2-results__option--highlighted[aria-selected], .select2-container .select2-results__option--highlighted[data-selected] { color:#0d0b07; background:var(--gold); }
.select2-container .select2-results__option[aria-selected="true"], .select2-container .select2-results__option[data-selected="true"] { color:var(--cream); background:#2a251b; }

/* Buttons: one height, one corner; gold = main action, outline = secondary */
.rtr-commerce .woocommerce :is(a, button, input).button { min-height:48px; padding:0 22px; border-radius:3px; display:inline-flex; align-items:center; justify-content:center; font-size:12px; letter-spacing:.08em; text-transform:uppercase; font-weight:700; line-height:1; }
.rtr-commerce .woocommerce :is(button[name="update_cart"], button[name="apply_coupon"], .checkout_coupon button).button { color:var(--gold); background:transparent; }
.rtr-commerce .woocommerce :is(button[name="update_cart"], button[name="apply_coupon"], .checkout_coupon button).button:not(:disabled):is(:hover, :focus-visible) { color:#0d0b07; background:var(--gold); }
.rtr-commerce .woocommerce button[name="update_cart"].button:disabled { color:var(--muted); background:transparent; border-color:var(--hair); opacity:1; cursor:default; }
.rtr-commerce .woocommerce :is(a.checkout-button, #place_order) { width:100%; min-height:56px; font-size:13px; margin:0; }

/* Tables: one panel, hairline rows, same type size everywhere */
.rtr-commerce .woocommerce table.shop_table { width:100%; margin:0; border:1px solid var(--hair); border-radius:3px; border-collapse:separate; border-spacing:0; background:var(--panel); font-size:15px; }
.rtr-commerce .woocommerce table.shop_table :is(th, td) { padding:16px var(--pad); border:0; border-top:1px solid var(--hair); vertical-align:middle; font-size:15px; line-height:1.4; }
.rtr-commerce .woocommerce table.shop_table thead th { border-top:0; padding-block:14px; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); }
.rtr-commerce .woocommerce table.shop_table :is(td.product-price, td.product-subtotal, .amount) { font-size:15px; margin:0; }
.rtr-commerce .woocommerce table.shop_table .product-name a { color:var(--cream); text-decoration:none; font-weight:600; }
.rtr-commerce .woocommerce table.shop_table .product-name a:is(:hover, :focus-visible) { color:var(--gold); text-decoration:underline; }

/* Basket */
.rtr-commerce .woocommerce:has(.woocommerce-cart-form) { display:grid; gap:28px; }
.rtr-commerce .woocommerce-cart-form { margin:0; }
.rtr-commerce table.cart :is(th, td).product-remove { width:56px; padding-right:0; }
.rtr-commerce table.cart :is(th, td).product-thumbnail { width:104px; padding-right:0; }
.rtr-commerce table.cart td.product-thumbnail img { display:block; width:88px; height:88px; max-width:none; object-fit:cover; border:1px solid var(--hair); border-radius:3px; }
.rtr-commerce table.cart :is(th, td):is(.product-price, .product-quantity, .product-subtotal) { text-align:right; white-space:nowrap; }
.rtr-commerce table.cart td.product-subtotal { font-weight:700; }
.rtr-commerce .woocommerce table.cart a.remove { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; font-size:20px; line-height:1; font-weight:400; border:1px solid var(--hair-strong); border-radius:3px; }
.rtr-commerce table.cart .quantity { display:inline-block; margin:0; }
.rtr-commerce table.cart .quantity input.qty { width:76px; text-align:center; padding:12px 6px; }
.rtr-commerce table.cart td.actions { padding:var(--pad); text-align:left; }
.rtr-commerce table.cart td.actions .coupon { display:flex; gap:12px; float:left; }
.rtr-commerce table.cart td.actions .coupon::before, .rtr-commerce table.cart td.actions .coupon::after { display:none; }
.rtr-commerce table.cart td.actions .coupon input#coupon_code { width:220px; margin:0; float:none; }
.rtr-commerce table.cart td.actions .coupon .button { float:none; }
.rtr-commerce table.cart td.actions { display:table-cell; }
.rtr-commerce table.cart td.actions > .button { float:right; }
.rtr-commerce table.cart td.actions::after { content:""; display:block; clear:both; }
.rtr-commerce .cart-collaterals { width:100%; }
.rtr-commerce .cart-collaterals .cart_totals { float:none; width:100%; padding:var(--pad); background:var(--panel); border:1px solid var(--hair); border-radius:3px; box-sizing:border-box; }
.rtr-commerce .cart_totals table.shop_table { background:transparent; border:0; border-radius:0; margin-bottom:20px; }
.rtr-commerce .cart_totals table.shop_table :is(th, td) { padding:14px 0; }
.rtr-commerce .cart_totals table.shop_table tr:first-child :is(th, td) { border-top:0; }
.rtr-commerce .cart_totals table.shop_table th { font-weight:400; color:var(--muted); width:auto; }
.rtr-commerce .cart_totals table.shop_table td { text-align:right; }
.rtr-commerce .cart_totals .order-total :is(th, td) { font-size:18px; color:var(--cream); font-weight:700; border-top-color:var(--hair-strong); }
.rtr-commerce .cart_totals .order-total .amount { font-size:18px; }
.rtr-commerce .wc-proceed-to-checkout { padding:0; }
@media (min-width:1000px) {
  .rtr-commerce .woocommerce:has(.woocommerce-cart-form) { grid-template-columns:minmax(0,1fr) 360px; align-items:start; gap:32px; }
  .rtr-commerce .woocommerce:has(.woocommerce-cart-form) > .woocommerce-notices-wrapper { grid-column:1 / -1; }
  .rtr-commerce .woocommerce:has(.woocommerce-cart-form) > .woocommerce-notices-wrapper:empty { display:none; }
}

/* Checkout */
.rtr-commerce .woocommerce-form-coupon-toggle .woocommerce-info { margin:0 0 20px; border-radius:3px; border:1px solid var(--hair); border-top:2px solid var(--gold); }
.rtr-commerce form.checkout_coupon { margin:0 0 24px; padding:var(--pad); border:1px solid var(--hair); border-radius:3px; background:var(--panel); }
.rtr-commerce form.checkout_coupon .form-row { margin:0; }
.rtr-commerce form.checkout { display:grid; gap:28px; }
.rtr-commerce form.checkout #customer_details { display:grid; gap:28px; }
.rtr-commerce form.checkout #customer_details :is(.col-1, .col-2) { float:none; width:auto; }
.rtr-commerce form.checkout #customer_details::before, .rtr-commerce form.checkout #customer_details::after { display:none; }
.rtr-commerce form.checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields:not(:empty), .woocommerce-additional-fields) { padding:var(--pad); background:var(--panel); border:1px solid var(--hair); border-radius:3px; }
.rtr-commerce form.checkout .woocommerce-shipping-fields:empty { display:none; }
.rtr-commerce form.checkout .woocommerce-billing-fields__field-wrapper { display:grid; grid-template-columns:1fr 1fr; column-gap:16px; }
.rtr-commerce form.checkout .woocommerce-billing-fields__field-wrapper .form-row { float:none; width:auto; grid-column:1 / -1; }
.rtr-commerce form.checkout .woocommerce-billing-fields__field-wrapper :is(.form-row-first) { grid-column:1; }
.rtr-commerce form.checkout .woocommerce-billing-fields__field-wrapper :is(.form-row-last) { grid-column:2; }
.rtr-commerce form.checkout .woocommerce-additional-fields .form-row { margin-bottom:0; }
.rtr-commerce form.checkout #order_review_heading { margin:0 0 -10px; }
.rtr-commerce form.checkout #order_review { display:grid; gap:20px; }
.rtr-commerce .woocommerce-checkout-review-order-table :is(th, td):last-child { text-align:right; }
.rtr-commerce .woocommerce-checkout-review-order-table tfoot th { font-weight:400; color:var(--muted); }
.rtr-commerce .woocommerce-checkout-review-order-table .order-total :is(th, td) { font-size:18px; font-weight:700; color:var(--cream); border-top-color:var(--hair-strong); }
.rtr-commerce .woocommerce-checkout-review-order-table .order-total .amount { font-size:18px; }
.rtr-commerce .woocommerce #payment { background:var(--panel); border:1px solid var(--hair); border-radius:3px; color:var(--cream); }
.rtr-commerce .woocommerce #payment ul.payment_methods { padding:var(--pad); border-bottom:1px solid var(--hair); }
.rtr-commerce .woocommerce #payment ul.payment_methods li { line-height:1.5; }
.rtr-commerce .woocommerce #payment div.payment_box { color:var(--cream); background:var(--field); border:1px solid var(--hair); border-radius:3px; font-size:14px; }
.rtr-commerce .woocommerce #payment div.payment_box::before { border-bottom-color:var(--hair); }
.rtr-commerce .woocommerce #payment div.form-row.place-order { padding:var(--pad); margin:0; }
.rtr-commerce .woocommerce #payment .woocommerce-privacy-policy-text { font-size:13px; color:var(--muted); margin-bottom:16px; }
.rtr-commerce .woocommerce #payment input[type="radio"] { accent-color:var(--gold); }
@media (min-width:1000px) {
  .rtr-commerce form.checkout { grid-template-columns:minmax(0,1fr) 420px; grid-template-rows:auto 1fr; gap:24px 40px; align-items:start; }
  .rtr-commerce form.checkout #customer_details { grid-column:1; grid-row:1 / span 2; }
  .rtr-commerce form.checkout #order_review_heading { grid-column:2; grid-row:1; margin:0; }
  .rtr-commerce form.checkout #order_review { grid-column:2; grid-row:2; }
}

/* Phones and tablets (WooCommerce turns the basket table into stacked rows here) */
@media (max-width:768px) {
  .rtr-commerce .woocommerce table.shop_table_responsive.cart tr.cart_item { display:block; padding:6px var(--pad) 10px; position:relative; }
  .rtr-commerce .woocommerce table.shop_table_responsive.cart tr.cart_item + tr.cart_item, .rtr-commerce .woocommerce table.shop_table_responsive.cart tr:not(.cart_item) { border-top:1px solid var(--hair); }
  .rtr-commerce .woocommerce table.shop_table_responsive.cart tr.cart_item td { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:12px 0; text-align:right; background:transparent; }
  .rtr-commerce .woocommerce table.shop_table_responsive.cart tr.cart_item td::before { float:none; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); text-align:left; }
  .rtr-commerce .woocommerce table.shop_table_responsive.cart tr.cart_item td.product-remove { position:absolute; top:16px; right:var(--pad); padding:0; border:0; width:auto; }
  .rtr-commerce .woocommerce table.shop_table_responsive.cart tr.cart_item td.product-name { padding-right:48px; border-top:0; text-align:left; justify-content:flex-start; }
  .rtr-commerce .woocommerce table.shop_table_responsive.cart tr.cart_item td.product-name::before { display:none; }
  .rtr-commerce .woocommerce table.shop_table_responsive.cart tr.cart_item td.product-thumbnail { display:flex; justify-content:flex-start; width:auto; padding:10px 0 4px; border-top:0; }
  .rtr-commerce .woocommerce table.shop_table_responsive.cart tr.cart_item td.product-thumbnail::before { display:none; }
  .rtr-commerce .woocommerce table.shop_table_responsive.cart tr.cart_item td.product-thumbnail img { width:72px; height:72px; }
  .rtr-commerce table.cart td.actions { display:block; padding:var(--pad); }
  .rtr-commerce table.cart td.actions .coupon { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; float:none; width:100%; margin:0 0 10px; padding:0; border:0; }
  .rtr-commerce table.cart td.actions .coupon .button { white-space:nowrap; padding:0 16px; }
  .rtr-commerce table.cart td.actions .coupon :is(input#coupon_code, .button) { float:none; width:100%; margin:0; }
  .rtr-commerce table.cart td.actions .coupon .button { width:auto; }
  .rtr-commerce table.cart td.actions .coupon input#coupon_code { width:100%; }
  .rtr-commerce table.cart td.actions > .button { float:none; width:100%; }
  .rtr-commerce .cart_totals table.shop_table tr { display:flex; justify-content:space-between; border-top:1px solid var(--hair); }
  .rtr-commerce .cart_totals table.shop_table tr:first-child { border-top:0; }
  .rtr-commerce .cart_totals table.shop_table tr :is(th, td) { display:block; border:0; padding:14px 0; }
  .rtr-commerce .cart_totals table.shop_table tr td::before { display:none; }
  .rtr-commerce .cart_totals table.shop_table tr th { display:block; }
}
@media (max-width:560px) {
  .rtr-commerce form.checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns:1fr; }
  .rtr-commerce form.checkout .woocommerce-billing-fields__field-wrapper :is(.form-row-first, .form-row-last) { grid-column:1; }
}
