/* RFS PDP tabs: orange, black and white. */
.rfs-pdp-tabs-enabled .woocommerce-tabs .tabs li.rfs_size_guide_tab a,
.rfs-pdp-tabs-enabled .woocommerce-tabs .tabs li.rfs_delivery_tab a,
.rfs-pdp-tabs-enabled .woocommerce-tabs .tabs li.rfs_returns_tab a { color: #151515; }
.rfs-pdp-tabs-enabled .woocommerce-tabs .tabs li.rfs_size_guide_tab.active a,
.rfs-pdp-tabs-enabled .woocommerce-tabs .tabs li.rfs_delivery_tab.active a,
.rfs-pdp-tabs-enabled .woocommerce-tabs .tabs li.rfs_returns_tab.active a { color: #111; border-color: #f47c20; }
.rfs-pdp-tabs-panel { color: #171717; background: #fff; }
.rfs-pdp-tabs-panel h2 { color: #111; font-size: clamp(1.5rem, 2vw, 2rem); margin: 0 0 0.85rem; }
.rfs-pdp-tabs-panel a { color: #d95f00; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.rfs-pdp-tabs-panel a:hover, .rfs-pdp-tabs-panel a:focus { color: #111; }
.rfs-pdp-tabs-size-table-wrap { border: 1px solid #e1e1e1; margin: 1.15rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.rfs-pdp-tabs-size-table { border-collapse: collapse; font-size: 0.92rem; margin: 0; min-width: 670px; width: 100%; }
.rfs-pdp-tabs-size-table caption { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.rfs-pdp-tabs-size-table th, .rfs-pdp-tabs-size-table td { border: 1px solid #e1e1e1; padding: 0.72rem 0.62rem; text-align: center; vertical-align: middle; }
.rfs-pdp-tabs-size-table thead th { background: #151515; color: #fff; font-size: 0.8rem; white-space: nowrap; }
.rfs-pdp-tabs-size-table tbody th { background: #fff4e9; color: #111; font-weight: 700; text-align: left; white-space: nowrap; }
.rfs-pdp-tabs-size-table tbody tr:nth-child(even) td { background: #fcfcfc; }
.rfs-pdp-tabs-chart-link { margin-top: 0.95rem; }
.rfs-pdp-tabs-delivery-callout, .rfs-pdp-tabs-returns-callout { background: #fff4e1; border-left: 4px solid #f47c20; display: flex; flex-direction: column; gap: 0.2rem; margin: 1rem 0; padding: 0.9rem 1rem; }
.rfs-pdp-tabs-delivery-callout strong, .rfs-pdp-tabs-returns-callout strong { color: #111; }
.rfs-pdp-tabs-delivery-grid { display: grid; gap: 0.7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1rem 0; }
.rfs-pdp-tabs-delivery-grid div { border: 1px solid #e5e5e5; padding: 0.8rem; }
.rfs-pdp-tabs-delivery-grid dt { color: #111; font-weight: 700; }
.rfs-pdp-tabs-delivery-grid dd { margin: 0.15rem 0 0; }
.rfs-pdp-tabs-policy-list { padding-left: 1.25rem; }
.rfs-pdp-tabs-policy-list li { margin: 0.45rem 0; }
@media (max-width: 767px) {
  /* RFS uses Minimog's horizontally scrolling tab header. Turn it into the RFK-style stacked selector. */
  .rfs-pdp-tabs-enabled .minimog-tabs__header-inner { overflow: visible !important; }
  .rfs-pdp-tabs-enabled .minimog-tabs__header { border: 1px solid #e1e1e1; display: block !important; width: 100%; }
  .rfs-pdp-tabs-enabled .minimog-tabs__header .tab-title {
    align-items: center;
    background: #fff;
    border: 0 !important;
    border-bottom: 1px solid #e1e1e1 !important;
    box-shadow: none !important;
    color: #222;
    display: flex !important;
    font-weight: 700;
    justify-content: space-between;
    margin: 0 !important;
    min-height: 46px;
    padding: 0.7rem 0.9rem !important;
    position: relative !important;
    text-transform: uppercase;
    transform: none !important;
    width: 100%;
  }
  .rfs-pdp-tabs-enabled .minimog-tabs__header .tab-title:last-child { border-bottom: 0; }
  .rfs-pdp-tabs-enabled .minimog-tabs__header .tab-title::before { content: none !important; display: none !important; }
  .rfs-pdp-tabs-enabled .minimog-tabs__header .tab-title::after {
    background: none !important;
    border: 0 !important;
    color: #111;
    content: '+' !important;
    font-size: 1.25rem;
    font-weight: 700;
    height: auto !important;
    left: auto !important;
    line-height: 1;
    margin: 0 0 0 auto !important;
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: auto !important;
  }
  .rfs-pdp-tabs-enabled .minimog-tabs__header .tab-title.active {
    background: #fff4df;
    border: 0 !important;
    border-bottom: 1px solid #e1e1e1 !important;
    border-left: 4px solid #f47c20 !important;
    color: #111;
    padding-left: calc(0.9rem - 4px) !important;
  }
  .rfs-pdp-tabs-enabled .minimog-tabs__header .tab-title.active::after { content: '−' !important; }
  .rfs-pdp-tabs-enabled .minimog-tabs__header .tab-title .tab-title__text { color: #111 !important; flex: 1; margin: 0 !important; padding: 0 !important; }
  .rfs-pdp-tabs-enabled .minimog-tabs__header .tab-title.active { border-left-color: #bd342f !important; }
  .rfs-pdp-tabs-enabled .minimog-tabs__header .tab-title.active .tab-title__text,
  .rfs-pdp-tabs-enabled .minimog-tabs__header .tab-title.active::after { color: #bd342f !important; }
  .rfs-pdp-tabs-enabled .minimog-tabs__header-inner .ps__rail-x,
  .rfs-pdp-tabs-enabled .minimog-tabs__header-inner .ps__rail-y { display: none !important; }
  .rfs-pdp-tabs-delivery-grid { grid-template-columns: 1fr; }
  .rfs-pdp-tabs-size-table { font-size: 0.84rem; }
  .rfs-pdp-tabs-size-table th, .rfs-pdp-tabs-size-table td { padding: 0.58rem 0.5rem; }
}
