/* Repair readability and interaction without replacing the existing design. */
body { color: #454b54; }
main p, main label, main table, main .woocommerce-result-count,
.woocommerce form .form-row label, .woocommerce .variations label,
.woocommerce table.shop_table, .woocommerce .woocommerce-info,
.woocommerce .woocommerce-error, .woocommerce .woocommerce-message { color: #454b54; }
main a:not(.button):not(.woocommerce-loop-product__link),
.woocommerce .woocommerce-info a, .woocommerce .woocommerce-error a,
.woocommerce nav.woocommerce-pagination ul li a { color: #a31d35; }
.woocommerce td.product-name a, .woocommerce .woocommerce-info a,
.woocommerce .woocommerce-error a, .woocommerce-privacy-policy-text a { text-decoration: underline !important; }
.woocommerce div.product p.stock { color: #28612d; }
.woocommerce div.product p.stock.out-of-stock { color: #a31d35; }
.woocommerce form .form-row .required { color: #a31d35; }
.woocommerce input, .woocommerce textarea, .woocommerce select { color: #343a42; }
.woocommerce input::placeholder, .woocommerce textarea::placeholder { color: #60666e; opacity: 1; }
.xoo-wsc-container p, .xoo-wsc-container .xoo-wsc-bar-progress + *,
.xoo-wsc-container .xoo-wsc-bar-milestone-label { color: #454b54; }
/* Two-tone focus remains visible on both the blue header and white content. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #172c46 !important; outline-offset: 3px !important;
  box-shadow: 0 0 0 3px #fff !important;
}
.skip-link:focus { z-index: 1000001; background: #fff; color: #172c46; padding: 14px; }
button.closebtn { display: none; border: 0; background: #fff; }
.rm-submenu-toggle { display: none; }
.xoo-wsch-close, .xoo-wsc-smr-del, .xoo-wsc-save, .xoo-wsch-savelater,
.xoo-wsc-toggle-slider, .yith-quick-view-close { min-width: 44px; min-height: 44px; }
.yith-quick-view-close { display: inline-flex; align-items: center; justify-content: center; }
.yith-quick-view-close svg { width: 24px; height: 24px; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; min-height: 44px; }
.xoo-wsc-markup [aria-hidden="true"], #mySidenav[aria-hidden="true"] { pointer-events: none; }
@media (max-width: 1000px) {
  #mySidenav { cursor: auto; }
  #mySidenav #site-navigation { padding-top: 60px; }
  #mySidenav .closebtn { display: block; min-width: 44px; min-height: 44px; }
  #mySidenav .main-menu ul li > a { display: inline-block; min-height: 44px; padding: 12px; }
  #mySidenav .rm-submenu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; background: #fff; color: #172c46; border: 1px solid #657185; margin: 2px 6px; }
  #mySidenav li > ul.sub-menu { display: none !important; }
  #mySidenav li.rm-submenu-open > ul.sub-menu { display: block !important; height: auto !important; opacity: 1 !important; }
  .woocommerce input:not([type="checkbox"]):not([type="radio"]),
  .woocommerce select, .woocommerce textarea { font-size: 16px; min-height: 44px; }
  .woocommerce #shipping_method li label { display: inline-block; padding: 8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  #mySidenav, .xoo-wsc-container, .xoo-wsc-slider, #yith-quick-view-modal * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.xoo-wsc-container .xoo-wsc-bar-potitle, .xoo-wsc-markup .xoo-wsc-slider .xoo-wsc-savl-empty { color: #454b54; }
/* Keep every suggestion reachable without keyboard focus moving off-slide. */
.xoo-wsc-sp-container { max-height: 180px; overflow-y: auto; }
.xoo-wsc-sp-container .lSSlideWrapper { overflow: visible; }
.xoo-wsc-sp-container .xoo-wsc-sp-slider { transform: none !important; width: 100% !important; height: auto !important; display: flex; flex-direction: column; gap: 12px; }
.xoo-wsc-sp-container .xoo-wsc-sp-slider > li { width: 100% !important; margin: 0 !important; }
.xoo-wsc-sp-container .xoo-wsc-sp-slider > .clone { display: none !important; }
.xoo-wsc-sp-container .lSAction, .xoo-wsc-sp-container .lSPager { display: none !important; }

.xoo-wsc-container .xoo-wsc-bar-potitle > span { opacity: 1; }

.xoo-wsc-markup .xoo-wsc-savl-empty { opacity: 1; }

/* Small count text needs normal-text contrast, even when axe defers one digit. */
.xoo-wsc-markup .xoo-wsc-basket .xoo-wsc-items-count,
.xoo-wsc-markup .xoo-wsch-items-count,
.xoo-wsc-markup .xoo-wsch-save-count { background-color: #a31d35; color: #fff; }
/* Keep this section below the floated gallery/summary instead of behind them. */
.woocommerce div.product > section.up-sells { clear: both; }
/* Preserve the review badge below shop content without covering merchandise. */
body.woocommerce #cr_floatingtrustbadge,
body.woocommerce #cr_floatingtrustbadge.cr-floatingbadge-big {
  position: relative; inset: auto !important; margin: 24px auto; z-index: auto;
}
/* Native disclosure keeps the full visual description available without JS. */
.retromania-video-description {
    clear: both;
    margin: 1rem 0;
    border: 1px solid #555;
    border-radius: 4px;
    color: #242424;
    background: #fff;
    overflow-wrap: anywhere;
    text-align: left;
}
.retromania-video-description summary {
    cursor: pointer;
    padding: .8rem;
    min-height: 44px;
    font-weight: 700;
}
.retromania-video-description summary:focus-visible {
    outline: 3px solid #174d8c;
    outline-offset: 2px;
}
.retromania-video-description p,
.retromania-video-description dl {
    margin: .8rem;
    text-align: left;
}
.retromania-video-description dt { font-weight: 700; }
.retromania-video-description dd { margin: 0 0 1rem; }
.retromania-caption-draft {
    color: #242424;
    background: #f5f5f5;
    border-left: 3px solid #555;
    padding: .75rem;
}
/* Keep caption choices readable against the player, including long labels. */
:is(main,#yith-quick-view-modal) .mejs-captions-selector {
    background: #222;
    width: 220px;
    max-width: 75vw;
    height: auto !important;
    right: 0;
    left: auto;
    text-align: left;
}
:is(main,#yith-quick-view-modal) .mejs-captions-selector-list-item { height: auto; }
:is(main,#yith-quick-view-modal) label.mejs-captions-selector-label {
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    min-height: 44px;
    padding: 10px;
    box-sizing: border-box;
}
:is(main,#yith-quick-view-modal) label.mejs-captions-selected { color: #8ff; }
