:root {
  --e8e8-control-button-radius: 999px;
  --e8e8-control-button-padding-y: .75rem;
  --e8e8-control-button-padding-x: 1.5rem;
  --e8e8-control-button-line-height: 1.5;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-btn, .button, .et_pb_button, .wp-element-button, .wp-block-button__link, button[type=submit], input[type=submit], input[type=button], input[type=reset], .custom-upload-button:not(.rt-upload-action), .checkout-button, #place_order, #bulk-grid-add-to-cart, .product-read-more, .load-more-btn, .e8e8-sticky-product-cta__button, .e8e8-account-button, .e8e8-account-links a, .e8e8-service-page__button, .e8e8-policy-page__button, .e8e8-hero-video__button, .e8e8-home-feature-card__content a, .wc-block-components-checkout-place-order-button, .wc-block-components-totals-coupon__button, .xoo-wsc-ft-btn, .xoo-wsc-empty-cart > a.xoo-wsc-btn) {
  --e8e8-btn-radius: var(--e8e8-control-button-radius);
  --e8e8-btn-padding-y: var(--e8e8-control-button-padding-y);
  --e8e8-btn-padding-x: var(--e8e8-control-button-padding-x);
  box-sizing: border-box;
  border-radius: var(--e8e8-btn-radius);
  padding: var(--e8e8-btn-padding-y) var(--e8e8-btn-padding-x) !important;
  max-width: 100%;
  line-height: var(--e8e8-control-button-line-height) !important;
  white-space: normal;
  overflow-wrap: anywhere;
  align-items: center;
  justify-content: center;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-btn, .button, .et_pb_button, .wp-element-button, .wp-block-button__link, button[type=submit], input[type=submit], input[type=button], input[type=reset], .custom-upload-button:not(.rt-upload-action), .checkout-button, #place_order, #bulk-grid-add-to-cart, .product-read-more, .load-more-btn, .e8e8-sticky-product-cta__button, .e8e8-account-button, .e8e8-account-links a, .e8e8-service-page__button, .e8e8-policy-page__button, .e8e8-hero-video__button, .e8e8-home-feature-card__content a, .wc-block-components-checkout-place-order-button, .wc-block-components-totals-coupon__button, .xoo-wsc-ft-btn, .xoo-wsc-empty-cart > a.xoo-wsc-btn):focus-visible {
  outline: 2px solid var(--e8e8-color-ink, #111) !important;
  outline-offset: 3px;
}

html body.woocommerce #payment #place_order, html body.woocommerce-page #payment #place_order {
  width: 100% !important;
  margin: 1rem 0 !important;
}

html body :is(#page-container, .xoo-wsc-modal) :is(input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select) {
  box-sizing: border-box;
  border: 1px solid transparent !important;
  border-radius: var(--e8e8-control-field-radius) !important;
  background-color: var(--e8e8-control-field-background, #f1f1f1) !important;
  color: var(--e8e8-color-charcoal, #1d1d1f);
  box-shadow: none !important;
}

html body :is(#page-container, .xoo-wsc-modal) :is(input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select):focus {
  outline: 2px solid var(--e8e8-color-charcoal, #1d1d1f) !important;
  outline-offset: 2px;
}

html body :is(#page-container, .xoo-wsc-modal) :is(input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select):disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

html body :is(.af_addon_field_class, .e8e8-production-notes, .e8e8-dtf-transfer-builder, .e8e8-dtf-order-summary, .e8e8-checkout-shell, .woocommerce-MyAccount-content, .cart_totals, .checkout_coupon, .bulk-order-row, .e8e8-control-surface-grey) {
  --e8e8-control-field-background: #fff;
}

html body .e8e8-dtf-transfer-field {
  --e8e8-control-field-background: #f1f1f1;
}

html body #page-container :is(.woocommerce-invalid, .has-error) :is(input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select), html body #page-container :is(input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select):is([aria-invalid=true], :user-invalid) {
  border-color: #b42318 !important;
  outline-color: #b42318 !important;
}

html body #page-container .select2-container .select2-selection {
  border: 1px solid transparent !important;
  border-radius: var(--e8e8-control-field-radius) !important;
  background-color: var(--e8e8-control-field-background, #f1f1f1) !important;
  box-shadow: none;
}

html body #page-container .select2-container--focus .select2-selection, html body #page-container .select2-container--open .select2-selection {
  outline: 2px solid var(--e8e8-color-charcoal, #1d1d1f);
  outline-offset: 2px;
}

html body #page-container .woocommerce-invalid .select2-selection {
  border-color: #b42318 !important;
}

html body #page-container .custom-file-upload-wrapper, html body #page-container .af_addon_field_class:has(.custom-file-upload-wrapper) > [class*=addon_field_border_] {
  border: 0 !important;
  border-radius: var(--e8e8-control-field-radius) !important;
}

@media (max-width: 767px) {
  :root {
    --e8e8-control-button-padding-x: 1.25rem;
  }
}
/* Storefront UX polish: semantic actions, controls and surfaces. No layout or payment logic. */
:root {
  --e8e8-ux-pill: 999px;
  --e8e8-ux-field-radius: 12px;
  --e8e8-ux-card-radius: 20px;
  --e8e8-ux-surface: #f5f5f7;
  --e8e8-ux-field-border: #85858b;
  --e8e8-ux-focus: #1d1d1f;
  --e8e8-ux-error: #b42318;
  --e8e8-btn-radius: var(--e8e8-ux-pill);
  --e8e8-btn-weight: 600;
  --e8e8-control-field-radius: var(--e8e8-ux-field-radius);
  --e8e8-btn-red: #dd1e01;
  --e8e8-btn-red-hover: #e21f01;
  --e8e8-btn-red-active: #d51d01;
  --e8e8-btn-grey: #1d1d1f;
  --e8e8-btn-grey-hover: #303034;
  --e8e8-btn-grey-active: #111111;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-btn, .button, .et_pb_button, .wp-element-button, .wp-block-button__link, button[type=submit], input[type=submit], .custom-upload-button:not(.rt-upload-action), .checkout-button, #place_order, #bulk-grid-add-to-cart, .product-read-more, .load-more-btn, .e8e8-sticky-product-cta__button, .e8e8-account-button, .e8e8-account-links a, .e8e8-service-page__button, .e8e8-policy-page__button, .e8e8-hero-video__button, .e8e8-home-feature-card__content a, .e8e8-homepage-hero__shop, .e8e8-specific-guide__cta, .wc-block-components-checkout-place-order-button, .wc-block-components-totals-coupon__button, .xoo-wsc-ft-btn, .xoo-wsc-empty-cart > a.xoo-wsc-btn) {
  border-radius: var(--e8e8-ux-pill);
  font-weight: 600 !important;
  padding: var(--e8e8-control-button-padding-y) var(--e8e8-control-button-padding-x);
  max-width: 100%;
  box-sizing: border-box;
  line-height: var(--e8e8-control-button-line-height);
  text-decoration: none;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-homepage-hero__shop, .e8e8-btn--red, .e8e8-service-page__button--red, .e8e8-policy-page__button--red, .e8e8-hero-video__button--red, .e8e8-account-button--primary, .woocommerce-form-login__submit, .woocommerce-form-register__submit, .single_add_to_cart_button, #bulk-grid-add-to-cart, .checkout-button, #place_order, .e8e8-sticky-product-cta__button, .wc-block-components-checkout-place-order-button, .product-read-more, .load-more-btn, .xoo-wsc-empty-cart > a.xoo-wsc-btn) {
  font-weight: 700 !important;
  background-color: var(--rt-solid-fill, var(--e8e8-btn-red)) !important;
  border-color: var(--rt-solid-fill, var(--e8e8-btn-red)) !important;
  color: #fff !important;
}

@media (hover: hover) and (pointer: fine) {
  html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-homepage-hero__shop, .e8e8-btn--red, .e8e8-service-page__button--red, .e8e8-policy-page__button--red, .e8e8-hero-video__button--red, .e8e8-account-button--primary, .woocommerce-form-login__submit, .woocommerce-form-register__submit, .single_add_to_cart_button, #bulk-grid-add-to-cart, .checkout-button, #place_order, .e8e8-sticky-product-cta__button, .wc-block-components-checkout-place-order-button, .product-read-more, .load-more-btn, .xoo-wsc-empty-cart > a.xoo-wsc-btn):not(:disabled):not([aria-disabled=true]):not(.e8e8-bulk-add-disabled):hover {
    --rt-solid-fill: #e21f01;
  }
  html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.checkout-button, #place_order):not(:disabled):not([aria-disabled=true]):not(.e8e8-bulk-add-disabled):hover:where(body.woocommerce-cart #page-container .wc-proceed-to-checkout .checkout-button, body.woocommerce-checkout #page-container form.checkout #payment #place_order):where(:not(:active, .disabled, .loading, .processing, [aria-busy=true], .processing *, .loading *, [aria-busy=true] *)) {
    --rt-solid-fill: var(--e8e8-btn-grey);
  }
}
html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-homepage-hero__shop, .e8e8-btn--red, .e8e8-service-page__button--red, .e8e8-policy-page__button--red, .e8e8-hero-video__button--red, .e8e8-account-button--primary, .woocommerce-form-login__submit, .woocommerce-form-register__submit, .single_add_to_cart_button, #bulk-grid-add-to-cart, .checkout-button, #place_order, .e8e8-sticky-product-cta__button, .wc-block-components-checkout-place-order-button, .product-read-more, .load-more-btn, .xoo-wsc-empty-cart > a.xoo-wsc-btn):not(:disabled):not([aria-disabled=true]):not(.e8e8-bulk-add-disabled):active {
  --rt-solid-fill: #d51d01;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-btn--grey, .custom-upload-button:not(.rt-upload-action), .e8e8-specific-guide__cta, .e8e8-account-button--dark, .e8e8-service-page__button--dark, .e8e8-policy-page__button--dark, .e8e8-hero-video__button--dark, .e8e8-size-chart__modal-trigger) {
  background-color: var(--e8e8-btn-grey) !important;
  border-color: var(--e8e8-btn-grey) !important;
  color: #fff !important;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-btn--grey, .custom-upload-button:not(.rt-upload-action), .e8e8-specific-guide__cta, .e8e8-account-button--dark, .e8e8-service-page__button--dark, .e8e8-policy-page__button--dark, .e8e8-hero-video__button--dark, .e8e8-size-chart__modal-trigger):not(:disabled):not([aria-disabled=true]):not(.e8e8-bulk-add-disabled):hover {
  background-color: var(--e8e8-btn-grey-hover) !important;
  border-color: var(--e8e8-btn-grey-hover) !important;
  color: #fff !important;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-btn--grey, .custom-upload-button:not(.rt-upload-action), .e8e8-specific-guide__cta, .e8e8-account-button--dark, .e8e8-service-page__button--dark, .e8e8-policy-page__button--dark, .e8e8-hero-video__button--dark, .e8e8-size-chart__modal-trigger):not(:disabled):not([aria-disabled=true]):not(.e8e8-bulk-add-disabled):active {
  background-color: var(--e8e8-btn-grey-active) !important;
  border-color: var(--e8e8-btn-grey-active) !important;
  color: #fff !important;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-btn, .button, .et_pb_button, .wp-element-button, .wp-block-button__link, button[type=submit], input[type=submit], .custom-upload-button:not(.rt-upload-action), .checkout-button, #place_order, #bulk-grid-add-to-cart, .product-read-more, .load-more-btn, .e8e8-sticky-product-cta__button, .e8e8-account-button, .e8e8-account-links a, .e8e8-service-page__button, .e8e8-policy-page__button, .e8e8-hero-video__button, .e8e8-home-feature-card__content a, .e8e8-homepage-hero__shop, .e8e8-specific-guide__cta, .wc-block-components-checkout-place-order-button, .wc-block-components-totals-coupon__button, .xoo-wsc-ft-btn, .xoo-wsc-empty-cart > a.xoo-wsc-btn):focus-visible {
  outline: 2px solid var(--e8e8-ux-focus) !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #fff !important;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-btn, .button, .et_pb_button, .wp-element-button, .wp-block-button__link, button[type=submit], input[type=submit], .custom-upload-button:not(.rt-upload-action), .checkout-button, #place_order, #bulk-grid-add-to-cart, .product-read-more, .load-more-btn, .e8e8-sticky-product-cta__button, .e8e8-account-button, .e8e8-account-links a, .e8e8-service-page__button, .e8e8-policy-page__button, .e8e8-hero-video__button, .e8e8-home-feature-card__content a, .e8e8-homepage-hero__shop, .e8e8-specific-guide__cta, .wc-block-components-checkout-place-order-button, .wc-block-components-totals-coupon__button, .xoo-wsc-ft-btn, .xoo-wsc-empty-cart > a.xoo-wsc-btn):is(:disabled, [aria-disabled=true], .e8e8-bulk-add-disabled) {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select) {
  border: 1px solid var(--e8e8-ux-field-border) !important;
  border-radius: var(--e8e8-ux-field-radius) !important;
  background-color: var(--e8e8-control-field-background, #fff) !important;
  color: #1d1d1f;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select):not(:disabled):hover {
  border-color: #55555b !important;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select):focus {
  border-color: var(--e8e8-ux-focus) !important;
  outline: 2px solid var(--e8e8-ux-focus) !important;
  outline-offset: 2px;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select):is(:disabled, [readonly]) {
  background-color: var(--e8e8-ux-surface) !important;
  cursor: not-allowed;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(input[type=checkbox], input[type=radio]) {
  accent-color: var(--e8e8-ux-focus);
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) .select2-container .select2-selection {
  border: 1px solid var(--e8e8-ux-field-border) !important;
  border-radius: var(--e8e8-ux-field-radius) !important;
  background: #fff !important;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.woocommerce-invalid, .has-error) :is(input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select), html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=search], input[type=number], input[type=date], textarea, select):is([aria-invalid=true], :user-invalid), html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) .woocommerce-invalid .select2-selection {
  border-color: var(--e8e8-ux-error) !important;
  outline-color: var(--e8e8-ux-error) !important;
}

@media (forced-colors: none) {
  body.woocommerce-checkout .select2-container--default :is(#select2-billing_state-results, #select2-shipping_state-results) .select2-results__option--highlighted:not([aria-disabled=true]) {
    background-color: var(--e8e8-color-cta);
    color: var(--e8e8-color-surface);
  }
}
html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.wc-block-product-filter-chips__item, .wc-block-product-filter-checkbox-list__item, .e8e8-filter-show-more, .e8e8-applied-filter-chip, .wc-block-product-filter-removable-chips__item) {
  border-radius: var(--e8e8-ux-pill) !important;
  min-height: 44px;
  font-weight: 600 !important;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.bulk-order-row, .e8e8-production-notes, .e8e8-dtf-transfer-builder, .e8e8-dtf-order-summary, .af_addon_field_class:has(input[type=file]), .cart_totals, .checkout_coupon, .e8e8-service-page__summary, .e8e8-location-service__copy, .e8e8-location-service__process, .e8e8-location-service__areas, .e8e8-location-service__faq, .e8e8-control-surface-grey) {
  background: var(--e8e8-ux-surface) !important;
  border: 0 !important;
  border-radius: var(--e8e8-ux-card-radius) !important;
  --e8e8-control-field-background: #fff;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-specific-guide, .e8e8-order-steps--droid) {
  background-color: var(--e8e8-ux-surface) !important;
  border: 0 !important;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) .e8e8-turnaround-option__content {
  border-radius: 16px;
  border-color: #d2d2d7;
  background: var(--e8e8-ux-surface);
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) .e8e8-turnaround-option:hover .e8e8-turnaround-option__content {
  border-color: var(--e8e8-ux-focus);
  transform: none;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) .e8e8-turnaround-option input:checked + .e8e8-turnaround-option__content {
  background: #fff;
  border-color: var(--e8e8-ux-focus);
  box-shadow: inset 0 0 0 1px var(--e8e8-ux-focus);
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) .e8e8-turnaround-option input:focus-visible + .e8e8-turnaround-option__content {
  outline: 2px solid var(--e8e8-ux-focus);
  outline-offset: 3px;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) .e8e8-divi-header__icon-button {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px;
  min-height: 44px;
  padding: 0 !important;
  border-radius: var(--e8e8-ux-pill) !important;
}

html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) .e8e8-divi-header__icon-button:focus-visible {
  outline: 2px solid #fff !important;
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  html body :is(#page-container, .xoo-wsc-modal, .e8e8-sticky-product-cta) :is(.e8e8-btn, .button, .et_pb_button, .wp-element-button, .wp-block-button__link, button[type=submit], input[type=submit], .custom-upload-button:not(.rt-upload-action), .checkout-button, #place_order, #bulk-grid-add-to-cart, .product-read-more, .load-more-btn, .e8e8-sticky-product-cta__button, .e8e8-account-button, .e8e8-account-links a, .e8e8-service-page__button, .e8e8-policy-page__button, .e8e8-hero-video__button, .e8e8-home-feature-card__content a, .e8e8-homepage-hero__shop, .e8e8-specific-guide__cta, .wc-block-components-checkout-place-order-button, .wc-block-components-totals-coupon__button, .xoo-wsc-ft-btn, .xoo-wsc-empty-cart > a.xoo-wsc-btn) {
    transition: none !important;
  }
}
/* The bulk CTA has legacy higher-specificity rules; preserve its disabled guard while strengthening its label. */
html body.single-product #page-container #bulk-order-actions #bulk-grid-add-to-cart {
  --e8e8-btn-weight: 700;
  font-weight: 700 !important;
}

/* Status shortcuts are cards, not pill actions; retain their completion indicators. */
html body #page-container .e8e8-order-assist {
  border-radius: var(--e8e8-ux-card-radius);
}

html body #page-container .e8e8-order-assist__item {
  border-radius: var(--e8e8-ux-field-radius);
}

html body #page-container .e8e8-order-assist__item.is-pending {
  background: var(--e8e8-ux-surface);
  border-color: transparent;
}

html body #page-container .e8e8-order-assist__item.is-pending:hover {
  background: #fff;
  border-color: var(--e8e8-ux-focus);
}

html body #page-container .e8e8-order-assist__item:focus-visible {
  outline: 2px solid var(--e8e8-ux-focus);
  outline-offset: 2px;
}

/* Disabled actions keep their resting colour even under pointer hover. */
html body #page-container :is(#bulk-grid-add-to-cart, #place_order, .single_add_to_cart_button, .e8e8-homepage-hero__shop):is(:disabled, [aria-disabled=true], .e8e8-bulk-add-disabled) {
  background-color: var(--e8e8-btn-red) !important;
  border-color: var(--e8e8-btn-red) !important;
}

/* Side-cart actions belong to the same dark and primary families. */
html body .xoo-wsc-ft-btn-continue {
  background: var(--e8e8-btn-grey) !important;
  border-color: var(--e8e8-btn-grey) !important;
  color: #fff !important;
}

html body .xoo-wsc-ft-btn-continue:hover {
  background: var(--e8e8-btn-grey-hover) !important;
  border-color: var(--e8e8-btn-grey-hover) !important;
  color: #fff !important;
}

html body .xoo-wsc-ft-btn-continue:active {
  background: var(--e8e8-btn-grey-active) !important;
  border-color: var(--e8e8-btn-grey-active) !important;
  color: #fff !important;
}

html body .xoo-wsc-ft-btn-checkout {
  font-weight: 700 !important;
  background: var(--e8e8-btn-red) !important;
  color: #fff !important;
}

html body .xoo-wsc-ft-btn-checkout:hover {
  background: var(--e8e8-btn-red-hover) !important;
  color: #fff !important;
}

html body .xoo-wsc-ft-btn-checkout:active {
  background: var(--e8e8-btn-red-active) !important;
  color: #fff !important;
}

/* Keyboard access for the sidecart removal control. */
.xoo-wsc-smr-del[role=button]:focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 4px;
  border-radius: 4px;
}

/* The modal close control and cart opener share the keyboard focus treatment. */
.xoo-wsch-close[role=button]:focus-visible, .xoo-wsc-cart-close[role=button]:focus-visible, .xoo-wsc-cart-trigger[role=button]:focus-visible, .xoo-wsc-basket[role=button]:focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 4px;
  border-radius: 4px;
}

/* STG customer content disclosures. Navigation menus and third-party widgets
 intentionally retain their own component styles and interaction owners. */
body.rt-customer-ui :is(.e8e8-service-page__faq, .e8e8-location-service__faq) details {
  border: 0 !important;
  border-bottom: 1px solid #d2d2d7 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.rt-customer-ui :is(.e8e8-service-page__faq, .e8e8-location-service__faq) summary, body.rt-customer-ui .e8e8-product-disclosure > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  list-style: none !important;
  padding: 20px 0 !important;
  min-height: 60px !important;
  color: #242424 !important;
  font-weight: 500 !important;
  cursor: pointer;
}

/* Shared native FAQ indicators: service pages and product method dialogs.
 Keep native details/summary keyboard and expanded-state semantics. */
:is(.e8e8-service-page__faq, .e8e8-location-service__faq, .rt-method-faq) > details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
}

:is(.e8e8-service-page__faq, .e8e8-location-service__faq, .rt-method-faq) > details > summary:focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 3px;
}

:is(.e8e8-service-page__faq, .e8e8-location-service__faq, .rt-method-faq) > details > summary::-webkit-details-marker, body.rt-customer-ui .e8e8-product-disclosure > summary::-webkit-details-marker {
  display: none;
}

:is(.e8e8-service-page__faq, .e8e8-location-service__faq, .rt-method-faq) > details > summary::marker {
  content: "";
}

:is(.e8e8-service-page__faq, .e8e8-location-service__faq, .rt-method-faq) > details > summary::before {
  content: none;
}

:is(.e8e8-service-page__faq, .e8e8-location-service__faq, .rt-method-faq) > details > summary::after, body.rt-customer-ui .e8e8-product-disclosure > summary::after {
  content: "+" !important;
  color: #626262 !important;
  font: 400 22px/1 -apple-system, sans-serif !important;
  flex: none;
}

:is(.e8e8-service-page__faq, .e8e8-location-service__faq, .rt-method-faq) > details[open] > summary::after, body.rt-customer-ui .e8e8-product-disclosure[open] > summary::after {
  content: "−" !important;
}

body.rt-customer-ui .e8e8-product-disclosure:not(#tab-reviews) {
  padding: 0 24px !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #d2d2d7 !important;
  box-shadow: none !important;
}

body.rt-customer-ui .e8e8-product-disclosure:not(#tab-reviews) > .e8e8-product-disclosure__content {
  padding: 0 0 24px !important;
}

body.rt-customer-ui #page-container #et-boc .et-l .et_pb_accordion .et_pb_toggle_title {
  padding-right: 40px !important;
  position: relative;
  min-height: 44px !important;
  display: flex;
  align-items: center;
}

body.rt-customer-ui #page-container #et-boc .et-l .et_pb_accordion .et_pb_toggle_title::before {
  content: "+" !important;
  font: 400 22px/1 -apple-system, sans-serif !important;
  color: #626262 !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: transparent !important;
  border: 0 !important;
}

body.rt-customer-ui #page-container #et-boc .et-l .et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title::before {
  content: "−" !important;
}

body.rt-customer-ui :is(summary, .et_pb_toggle_title):focus-visible {
  outline: 2px solid #dd1e01 !important;
  outline-offset: 4px !important;
}

/* Explicitly owned dialog families, leaving payment, side-cart and PhotoSwipe
 outside the selector list. Focus/close handling stays with each component. */
body.rt-customer-ui :is(.e8e8-size-chart-modal__panel, .e8e8-checkout-mockup-modal__panel, .e8e8-print-job-warning__panel) {
  border: 0 !important;
  border-radius: 24px !important;
  background: #fff !important;
  color: #242424 !important;
  max-width: calc(100vw - 32px) !important;
  box-sizing: border-box !important;
}

body.rt-customer-ui :is(.e8e8-size-chart-modal__close, .e8e8-checkout-mockup-modal__close, .e8e8-print-job-warning__close, .e8e8-gallery-lightbox__close) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #e8e8ed !important;
  color: #6e6e73 !important;
  box-shadow: none !important;
  font: 400 28px/1 -apple-system, sans-serif !important;
}

body.rt-customer-ui :is(.e8e8-size-chart-modal__close, .e8e8-checkout-mockup-modal__close, .e8e8-print-job-warning__close, .e8e8-gallery-lightbox__close):focus-visible {
  outline: 2px solid #dd1e01 !important;
  outline-offset: 4px !important;
}

body.rt-customer-ui :is(.e8e8-size-chart-modal__body, .e8e8-checkout-mockup-modal__content) :is(.e8e8-decoration-method-guide, .e8e8-size-chart) {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  body.rt-customer-ui :is(.et_pb_toggle_content, .e8e8-product-disclosure__content) {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
/* Owned customer gallery close: same neutral X surface, preserve native owner. */
body.rt-customer-ui .e8e8-gallery-lightbox__close:hover {
  background: #f2f2f2 !important;
  color: #333336 !important;
  transform: none !important;
}

body.rt-customer-ui .e8e8-gallery-lightbox__close:focus-visible {
  transform: none !important;
}

/* Keep the owned gallery close control above the existing sticky site header. */
body.rt-customer-ui .e8e8-gallery-lightbox {
  z-index: 2147483000;
}

/* Rush Tees modal family: supplied SVG glyph, no Apple class names. Keep
 full-screen filters, third-party payment frames and side-cart geometry native. */
body.rt-customer-ui .rt-modal-surface {
  background: #fff !important;
  color: #1d1d1f !important;
  border: 0 !important;
  border-radius: 24px !important;
  box-sizing: border-box !important;
  font-family: var(--e8e8-font-body, "Google Sans Flex", Arial, sans-serif);
}

body.rt-customer-ui :is(button, [role=button]).rt-modal-close-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #e8e8ed !important;
  background-image: none !important;
  color: #6e6e73 !important;
  box-shadow: none !important;
  line-height: 0 !important;
  cursor: pointer;
  flex: none;
}

body.rt-customer-ui .rt-modal-close-button::before, body.rt-customer-ui .rt-modal-close-button::after {
  content: none !important;
  background: none !important;
}

body.rt-customer-ui .rt-modal-close-glyph {
  display: grid !important;
  place-items: center !important;
  width: 21px;
  height: 21px;
  pointer-events: none;
  line-height: 0;
}

body.rt-customer-ui .rt-modal-close-icon {
  display: block !important;
  width: 21px !important;
  height: 21px !important;
  fill: currentColor;
  pointer-events: none;
}

body.rt-customer-ui .rt-modal-close-button:hover {
  color: #333336 !important;
  background: #f2f2f2 !important;
  transform: none !important;
}

body.rt-customer-ui .rt-modal-close-button:focus-visible {
  outline: 2px solid #1d1d1f !important;
  outline-offset: 3px !important;
  transform: none !important;
}

body.rt-customer-ui dialog.customer-email-review > [data-rt-review-close] {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
}

body.rt-customer-ui .customer-email-review-body > :is(.eyebrow, h2) {
  padding-right: 52px;
}

@media (prefers-reduced-motion: reduce) {
  body.rt-customer-ui .rt-modal-close-button {
    transition: none !important;
  }
}
.rt-colour-help-dialog .rt-colour-help-devices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rt-colour-help-dialog .rt-colour-help-device {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.rt-colour-help-dialog .rt-colour-help-device h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: #1d1d1f;
}

.rt-colour-help-dialog .rt-colour-help-icon {
  display: block;
  flex: none;
  width: 24px;
  height: 24px;
  color: #dd1e01;
}

.rt-colour-help-dialog .rt-colour-help-device p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #626262;
}

.rt-colour-help-dialog p.rt-colour-help-keyboard {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #e8e8ed;
  font-size: 14px;
  line-height: 1.5;
  color: #626262;
}

.rt-colour-help-dialog .rt-colour-help-keyboard .rt-colour-help-icon {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .rt-colour-help-dialog .rt-colour-help-device--mouse {
    order: -1;
  }
}
@media (max-width: 767px) {
  .rt-colour-help-dialog .rt-colour-help-devices {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}
/* Search text belongs inside the input. Icon-hosting forms can increase --e8e8-search-inset. */
html body #page-container :is(.wp-block-search__input, .woocommerce-product-search input.search-field, .widget_product_search input[type=search], .et_pb_search input.et_pb_s, .e8e8-divi-header__search input[type=search], .e8e8-divi-header__mobile-search input[type=search], .e8e8-header__search input[type=search], .e8e8-header__mobile-search input[type=search]) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  padding-inline-start: var(--e8e8-search-inset, 16px) !important;
  padding-inline-end: var(--e8e8-search-end-inset, 44px) !important;
}

html body #page-container :is(li.product .button, .wc-block-grid__product .add_to_cart_button) {
  width: fit-content;
  max-width: 100%;
  font-size: 14px !important;
  font-weight: 600 !important;
  background: var(--rt-card-fill, #dd1e01) !important;
  border-color: var(--rt-card-fill, #dd1e01) !important;
  color: #fff !important;
  opacity: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (hover: hover) and (pointer: fine) {
  html body #page-container :is(li.product .button, .wc-block-grid__product .add_to_cart_button):not(:disabled):not([aria-disabled=true]):not(.disabled):hover {
    --rt-card-fill: #e21f01;
  }
}
html body #page-container :is(li.product .button, .wc-block-grid__product .add_to_cart_button):not(:disabled):not([aria-disabled=true]):not(.disabled):active {
  --rt-card-fill: #d51d01;
}
