/*
Theme Name: Razzi Child
Theme URI: https://demo4.drfuri.com/razzi/
Author: DrFuri
Author URI: http://drfuri.com
Description: Razzi Child Theme.
Version: 1.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: razzi
Domain Path: /lang/
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: razzi
*/

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

/*
 * Home content edge-to-edge (image modules full-bleed).
 * Do NOT zero .container globally — footer row-flex uses -15px margins
 * that require container padding, otherwise the page scrolls sideways on mobile.
 */
body.home #content>.razzi-container {
  padding-left: 0;
  padding-right: 0;
}

/*
* razzi products tabs
*/
.razzi-products-tabs .tabs-header {
  margin-bottom: 35px !important;
}

/*
size chart table
*/
.woo_sc_view_table {
  border: none !important;
}

/**
 * Adidas-like PDP layout for Razzi layout-v5
 * Keep overrides in child theme only.
 */
@media (min-width: 960px) {

  .single-product div.product.layout-v5 .product-gallery-summary.razzi-container,
  .single-product div.product.layout-v5 .product-gallery-summary.razzi-container-wide {
    padding-left: 0;
    padding-right: 0;
  }

  .single-product div.product.layout-v5 .product-gallery-summary {
    display: flex;
    align-items: flex-start;
    overflow: visible;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery {
    width: calc(100% - 370px);
    flex: 1 1 auto;
    float: none;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.razzi-product-video {
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image img,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.razzi-product-video video,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.razzi-product-video iframe,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.razzi-product-video .razzi-video-wrapper {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.razzi-product-video .wp-video,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.razzi-product-video .wp-video-shortcode {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.razzi-product-video .wp-video video,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper>.razzi-product-video .wp-video-shortcode video {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery .rz-gallery-toggle-wrap {
    position: relative;
    z-index: 4;
    display: block;
    width: 100%;
    clear: both;
    margin-top: -20px;
    padding-top: 0;
    background: transparent;
    pointer-events: none;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery #navigation-target-gallery.rz-gallery-toggle {
    display: flex;
    justify-content: center;
    margin-top: 0;
    padding-bottom: 0;
    pointer-events: none;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery .rz-gallery-toggle__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 40px;
    min-width: 132px;
    padding: 0 16px;
    border: 1px solid #000;
    background-color: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    cursor: pointer;
    pointer-events: auto;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery .rz-gallery-toggle__button::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    transform: rotate(45deg) translateY(-1px);
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery:not(.rz-gallery-expanded) .woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:nth-child(n+5),
  .single-product div.product.layout-v5 .woocommerce-product-gallery:not(.rz-gallery-expanded) .woocommerce-product-gallery__wrapper>.razzi-product-video:nth-child(n+5) {
    display: none;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery.rz-gallery-expanded .rz-gallery-toggle__button::after {
    transform: rotate(-135deg) translateY(-1px);
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs {
    width: 100%;
    margin-top: 40px;
    padding: 0 40px 0 40px;
    box-sizing: border-box;
  }

  .single-product div.product.layout-v5 .entry-summary {
    width: 370px;
    flex: 0 0 370px;
    box-sizing: border-box;
    padding: 0 32px 32px 32px !important;
    padding-left: 32px;
    float: none;
    align-self: flex-start;
    position: -webkit-sticky;
    position: sticky;
    top: var(--rz-summary-sticky-top, 121px);
    height: fit-content;
    min-height: 0;
    border-left: 1px solid var(--gl-color-grey-100);
  }

  /* Override parent dynamic CSS (sticky_height + 30 / + 62). */
  .header-sticky.single-product div.product.layout-v5 .entry-summary,
  .header-sticky.single-product.admin-bar div.product.layout-v5 .entry-summary,
  .header-sticky.rz-scroll-down.single-product div.product.layout-v5 .entry-summary,
  .admin-bar.header-sticky.rz-scroll-down.single-product div.product.layout-v5 .entry-summary {
    top: var(--rz-summary-sticky-top, 10px);
  }

  .admin-bar.single-product:not(.header-sticky) div.product.layout-v5 .entry-summary {
    top: var(--rz-summary-sticky-top, 153px);
  }

  /*
   * Beat parent inline dynamic CSS once JS sets --rz-summary-sticky-top.
   * No fallback: an unset variable drops this declaration so 10/121/153 apply.
   */
  body.single-product div.product.layout-v5 .summary.entry-summary {
    top: var(--rz-summary-sticky-top);
  }

  .single-product div.product.layout-v5 .product-gallery-summary>.rz-product-short-description {
    margin: 24px 40px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #111;
  }
}

@media (max-width: 959px) {
  .single-product div.product.layout-v5 .woocommerce-product-gallery .rz-gallery-toggle {
    display: none;
  }

  .single-product div.product.layout-v5 .flex-control-nav {
    margin: -25px 0 0 !important;
  }


  /*
   * Parent theme sets layout-v5 .entry-summary { position: sticky } globally.
   * Theme options also output .header-sticky... .entry-summary { top: ... }.
   * Force static on mobile so summary does not stick while scrolling.
   */
  body.single-product div.product.layout-v5 .summary.entry-summary,
  body.header-sticky.single-product div.product.layout-v5 .summary.entry-summary,
  body.header-sticky.single-product.admin-bar div.product.layout-v5 .summary.entry-summary {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
  }

  /* Adidas-like edge-to-edge gallery on mobile */
  body.single-product {
    overflow-x: clip;
  }

  /*
   * Consistent mobile PDP stack (Fig 1): gallery → summary → extras.
   * JS moves extras after summary; flex order keeps visual order stable.
   */
  .single-product div.product.layout-v5 .product-gallery-summary {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }

  .single-product div.product.layout-v5 .product-gallery-summary>.woocommerce-product-gallery {
    order: 1;
    float: none;
  }

  .single-product div.product.layout-v5 .product-gallery-summary>.entry-summary {
    order: 2;
    width: 100%;
    float: none;
  }

  .single-product div.product.layout-v5 .product-gallery-summary>.woocommerce-tabs,
  .single-product div.product.layout-v5 .product-gallery-summary>.rz-lookbook,
  .single-product div.product.layout-v5 .product-gallery-summary>.rz-product-short-description,
  .single-product div.product.layout-v5 .product-gallery-summary>#razzi-history-products {
    order: 3;
    width: 100%;
    float: none;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__image,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__image a,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .woocommerce-product-gallery__image img,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .razzi-product-video {
    width: 100%;
  }

  /*
   * WP video shortcode outputs inline width:640px on .wp-video.
   * Do not set !important width on .razzi-product-video itself —
   * flexslider controls slide width via inline style.
   */
  .single-product div.product.layout-v5 .woocommerce-product-gallery .razzi-product-video {
    overflow: hidden;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery .razzi-product-video .razzi-video-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery .razzi-product-video .wp-video,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .razzi-product-video .wp-video-shortcode {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }

  .single-product div.product.layout-v5 .woocommerce-product-gallery .razzi-product-video video,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .razzi-product-video .wp-video video,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .razzi-product-video .wp-video-shortcode video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    display: block;
  }

  /*
   * Video/iframe capture touch events and block FlexSlider swipes.
   * The corner play/pause button stays clickable.
   */
  .single-product div.product.layout-v5 .woocommerce-product-gallery .razzi-product-video video,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .razzi-product-video iframe,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .razzi-product-video .wp-video,
  .single-product div.product.layout-v5 .woocommerce-product-gallery .razzi-product-video .wp-video-shortcode {
    pointer-events: none;
  }

  /* While zoomed, prefer panning the magnified image over gallery swipes. */
  .single-product div.product.layout-v5 .woocommerce-product-gallery.rz-gallery-is-zoomed,
  .single-product div.product.layout-v5 .woocommerce-product-gallery.rz-gallery-is-zoomed .flex-viewport,
  .single-product div.product.layout-v5 .woocommerce-product-gallery.rz-gallery-is-zoomed .woocommerce-product-gallery__image {
    touch-action: none;
  }

  /* Outer .razzi-container already provides 15px gutters — avoid double padding. */
  .single-product div.product.layout-v5 .entry-summary,
  .single-product div.product.layout-v5 .woocommerce-tabs,
  .single-product div.product.layout-v5 .rz-product-short-description,
  .single-product div.product.layout-v5 .rz-lookbook,
  .single-product div.product.layout-v5 #razzi-history-products {
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  body.single-product div.product.layout-v5 .product-gallery-summary>#razzi-history-products,
  body.single-product div.product.layout-v5 .product-gallery-summary>section#razzi-history-products {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .single-product .product-gallery-summary .rz-lookbook {
    padding-left: 0;
    padding-right: 0;
  }

  .single-product .product-gallery-summary .rz-lookbook__header,
  .single-product .product-gallery-summary .rz-lookbook__track {
    padding-left: 0;
    padding-right: 0;
  }
}

.single-product .razzi-video-wrapper,
.single-product .razzi-video-wrapper video,
.single-product .razzi-video-wrapper iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Adidas video-view: custom play/pause, no native control bar.
   Do not set display:none on video::-webkit-media-controls. In Chrome that
   pseudo-element wraps the picture, so the file keeps playing with no frame. */
.single-product .razzi-video-wrapper.rz-video-view {
  position: relative;
}

.single-product .rz-video-view__btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 6;
  display: block;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  appearance: none;
}

.single-product .rz-video-view__btn svg {
  display: block;
  width: 40px;
  height: 40px;
  pointer-events: none;
}

.single-product .rz-video-view__pause {
  display: none;
}

.single-product .razzi-video-wrapper.rz-video-view--playing .rz-video-view__play {
  display: none;
}

.single-product .razzi-video-wrapper.rz-video-view--playing .rz-video-view__pause {
  display: block;
}

@media (min-width: 1280px) {
  .single-product div.product.layout-v5 .woocommerce-product-gallery {
    width: calc(100% - 434px);
  }

  .single-product div.product.layout-v5 .entry-summary {
    width: 434px;
    flex-basis: 434px;
  }
}

@media (min-width: 1440px) {
  .single-product div.product.layout-v5 .woocommerce-product-gallery {
    width: calc(100% - 480px);
  }

  .single-product div.product.layout-v5 .entry-summary {
    width: 480px;
    flex-basis: 480px;
  }
}

@media (min-width: 1500px) {

  .single-product:not(.full-content).product-full-width div.product.layout-v5 .entry-summary,
  .single-product div.product.layout-v5 .entry-summary {
    padding: 32px;
    padding-left: 32px;
  }
}

@media (min-width: 960px) {
  .header-sticky #site-header {
    transition: transform 0.35s ease;
    will-change: transform;
  }

  .header-sticky.rz-scroll-down #site-header {
    transform: translateY(-100%);
  }

  .header-sticky.rz-scroll-up #site-header {
    transform: translateY(0);
  }
}

/**
 * Adidas-like size selector style for layout-v5 summary.
 * Applies on both mobile and desktop.
 */
.single-product div.product.layout-v5 .entry-summary form.variations_form table.variations tr {
  display: block;
  margin-bottom: 20px;
}

.single-product div.product.layout-v5 .entry-summary form.variations_form table.variations td.label {
  margin: 0 0 12px;
}

.single-product div.product.layout-v5 .entry-summary form.variations_form table.variations td.label label {
  font-family: var(--gl-body-font-set-family-functional-8, "Helvetica", "Arial", sans-serif);
  font-size: 16px !important;
  font-style: var(--gl-body-font-set-style-functional-8, normal);
  font-weight: var(--gl-body-font-set-weight-functional-8, 700);
  letter-spacing: var(--gl-body-font-set-letterspacing-functional-8, 0);
  line-height: var(--gl-body-font-set-lineheight-functional-8, 1.05);
  text-decoration: var(--gl-body-font-set-decoration-functional-8, none);
  text-transform: capitalize;
}

.single-product div.product.layout-v5 .entry-summary form.variations_form table.variations td.label .wcboost-variation-swatches__selected-label {
  display: none;
}

.single-product div.product.layout-v5 .entry-summary form.variations_form table.variations td.value {
  margin-bottom: 18px;
}

.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches.wcboost-variation-swatches--button .wcboost-variation-swatches__wrapper,
.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches.wcboost-variation-swatches--label .wcboost-variation-swatches__wrapper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches.wcboost-variation-swatches--button .wcboost-variation-swatches__item,
.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches.wcboost-variation-swatches--label .wcboost-variation-swatches__item,
.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches .swatch-label {
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  background: var(--gl-color-grey-100, #f3f5f6);
  color: #111;
  font-feature-settings: "frac";
  font-size: var(--gl-link-font-set-size-functional-1, 14px);
  font-weight: 500;
  line-height: 1em;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  margin: 0;
}

.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches.wcboost-variation-swatches--button .wcboost-variation-swatches__item:hover,
.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches.wcboost-variation-swatches--label .wcboost-variation-swatches__item:hover,
.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches .swatch-label:hover {
  border-color: #111;
  background: #eceff1;
}

.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches.wcboost-variation-swatches--button .wcboost-variation-swatches__item.selected,
.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches.wcboost-variation-swatches--label .wcboost-variation-swatches__item.selected,
.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches .swatch-label.selected {
  font-weight: 700;
  border-color: var(--gl-color-background-inverse, #111);
  box-shadow: inset 0 0 0 1px var(--gl-color-background-inverse, #111);
  background: var(--gl-color-background-inverse, #111);
  color: var(--gl-color-text-inverse, #fff);
}

.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches.wcboost-variation-swatches--button .wcboost-variation-swatches__item.disabled,
.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches.wcboost-variation-swatches--label .wcboost-variation-swatches__item.disabled,
.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches .swatch-label.disabled,
.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches__item.is-out-stock {
  color: var(--gl-color-grey-700, #767677);
  background-color: #f7f9f9;
  text-decoration: line-through;
}

.single-product div.product.layout-v5 .entry-summary .wcboost-variation-swatches__error,
.single-product div.product.layout-v5 .entry-summary .woocommerce-variation-error {
  font-size: 14px;
  margin-top: 8px;
}

.single-product div.product.layout-v5 .entry-summary .rz-variation-required-error {
  display: block;
  font-family: var(--gl-body-font-set-family-functional-8, "Helvetica", "Arial", sans-serif);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  margin-top: 8px;
  color: #e32b2b;
}

.single-product div.product.layout-v5 .entry-summary form.variations_form table.variations {
  overflow: visible;
}

.single-product div.product.layout-v5 .entry-summary form.variations_form table.variations.rz-variation-shake {
  animation: rz-variation-shake 0.8s ease;
}

@keyframes rz-variation-shake {
  0%,
  100% {
    transform: translateX(0);
  }

  12% {
    transform: translateX(-5px);
  }

  24% {
    transform: translateX(5px);
  }

  36% {
    transform: translateX(-5px);
  }

  48% {
    transform: translateX(5px);
  }

  60% {
    transform: translateX(-4px);
  }

  72% {
    transform: translateX(4px);
  }

  84% {
    transform: translateX(-2px);
  }
}

/**
 * Adidas-like ATC + Wishlist row, Buy Now on second row (layout-v5).
 */
.single-product div.product.layout-v5.has-buy-now .entry-summary,
.single-product div.product.layout-v5 .entry-summary {
  padding-left: 32px;
}

.single-product div.product.layout-v5 .product-button-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
  padding-top: 15px;
}

.single-product div.product.layout-v5 .product-button-wrapper>* {
  margin-bottom: 0;
  margin-right: 0;
}

.single-product div.product.layout-v5 .product-button-wrapper .quantity {
  order: 0;
  flex: 0 0 100%;
  width: 100%;
  margin-bottom: 4px;
}

.single-product div.product.layout-v5 .product-button-wrapper .single_add_to_cart_button,
.single-product div.product.layout-v5.has-buy-now .product-button-wrapper .single_add_to_cart_button {
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin-right: 0;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  box-sizing: border-box;
}

.single-product div.product.layout-v5 .product-button-wrapper .rz-wishlist-button,
.single-product div.product.layout-v5.has-buy-now .product-button-wrapper .rz-wishlist-button:not(.show-wishlist-title) {
  order: 2;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  min-width: 50px;
  padding: 0;
  border: 1px solid #000;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-product div.product.layout-v5 .product-button-wrapper .rz-wishlist-button .wcboost-wishlist-button,
.single-product div.product.layout-v5 .product-button-wrapper .rz-wishlist-button a.wcboost-wishlist-button,
.single-product div.product.layout-v5.has-buy-now .product-button-wrapper .rz-wishlist-button:not(.show-wishlist-title) .rz-loop_button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0 !important;
  margin: 0;
  border: none !important;
  border-radius: 0;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: #000;
}

.single-product div.product.layout-v5 .product-button-wrapper .rz-wishlist-button .wcboost-wishlist-button__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.single-product div.product.layout-v5 .product-button-wrapper .rz-wishlist-button .wcboost-wishlist-button__icon,
.single-product div.product.layout-v5.has-buy-now .product-button-wrapper .rz-wishlist-button:not(.show-wishlist-title) .rz-loop_button .wcboost-wishlist-button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 24px;
  line-height: 1;
  background: transparent;
}

.single-product div.product.layout-v5 .product-button-wrapper .rz-wishlist-button .wcboost-wishlist-button__icon img,
.single-product div.product.layout-v5 .product-button-wrapper .rz-wishlist-button .wcboost-wishlist-button__icon svg {
  display: block;
  width: 24px;
  height: 24px;
  background: transparent;
}

.single-product div.product.layout-v5 .product-button-wrapper .rz-buy-now-button,
.single-product div.product.layout-v5.has-buy-now .product-button-wrapper .rz-buy-now-button {
  order: 3;
  flex: 1 1 100%;
  width: 100%;
  min-width: 100%;
  height: 50px;
  margin-right: 0;
  padding: 0 16px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  box-shadow: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  text-transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.single-product div.product.layout-v5 .product-button-wrapper .rz-buy-now-button:hover,
.single-product div.product.layout-v5.has-buy-now .product-button-wrapper .rz-buy-now-button:hover {
  background: #f5f5f5;
  color: #000;
  transform: none;
  box-shadow: none;
}

.single-product div.product.layout-v5 .product-button-wrapper .rz-compare-button {
  order: 4;
}

@media (max-width: 959px) {

  .single-product div.product.layout-v5.has-buy-now .entry-summary,
  .single-product div.product.layout-v5 .entry-summary {
    padding-left: 0;
  }
}

/**
 * Shop category link: same bordered flex row on mobile and desktop.
 */
.single-product div.product.layout-v5 .entry-summary .rz-shop-category-link {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 32px 0 0;
  padding: 0 16px;
  min-height: 48px;
  border: 1px solid #8f9399;
  background: #fff;
  color: #111;
  text-decoration: none;
  box-sizing: border-box;
  text-align: left;
}

.single-product div.product.layout-v5 .entry-summary .rz-shop-category-link:hover {
  border-color: #111;
  color: #111;
}

.single-product div.product.layout-v5 .entry-summary .rz-shop-category-link__image-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.single-product div.product.layout-v5 .entry-summary .rz-shop-category-link__image {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.single-product div.product.layout-v5 .entry-summary .rz-shop-category-link__text {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.single-product div.product .entry-summary .product_meta .posted_in {
  display: none;
}

/*
Linked variation cards are razzi-linked-variation-cards.
Do not force these terms back into a thumbnail strip.
*/

/**
* Product Story/Product Tab of Details Care Description
**/

:root {
  --bannerstatement-main-mbs-onlight-typography-bannertitle-family: adidasFG;
  --bannerstatement-main-mbs-onlight-typography-bannertitle-size: 30px;
  --bannerstatement-main-mbs-onlight-typography-bannertitle-style: normal;
  --bannerstatement-main-mbs-onlight-typography-bannertitle-weight: 700;
  --bannerstatement-main-mbs-onlight-typography-bannertitle-letterspacing: 3px;
  --bannerstatement-main-mbs-onlight-typography-bannertitle-lineheight: 32px;
  --bannerstatement-main-mbs-onlight-typography-bannertitle-decoration: none;
  --bannerstatement-main-mbs-onlight-typography-bannertitle-case: uppercase;
  --bannerstatement-main-dts-onlight-typography-bannertitle-family: adidasFG;
  --bannerstatement-main-dts-onlight-typography-bannertitle-size: 38px;
  --bannerstatement-main-dts-onlight-typography-bannertitle-style: normal;
  --bannerstatement-main-dts-onlight-typography-bannertitle-weight: 700;
  --bannerstatement-main-dts-onlight-typography-bannertitle-letterspacing: 3px;
  --bannerstatement-main-dts-onlight-typography-bannertitle-lineheight: 40px;
  --bannerstatement-main-dts-onlight-typography-bannertitle-decoration: none;
  --bannerstatement-main-dts-onlight-typography-bannertitle-case: uppercase;

  --bannersplit-main-dts-onlight-typography-headline-size: 38px;
  --bannersplit-main-dts-onlight-typography-headline-style: normal;
  --bannersplit-main-dts-onlight-typography-headline-weight: 700;
  --bannersplit-main-dts-onlight-typography-headline-letterspacing: 3px;
  --bannersplit-main-dts-onlight-typography-headline-lineheight: 40px;
  --bannersplit-main-dts-onlight-typography-headline-decoration: none;
  --bannersplit-main-dts-onlight-typography-headline-case: uppercase;

  --bannersplit-main-onlight-color-text: rgb(0, 0, 0);
  --bannersplit-main-ondark-color-text: rgb(0, 0, 0);
  --bannersplit-main-onlight-color-collab-logos: rgb(0, 0, 0);
  --bannersplit-main-ondark-color-collab-logos: rgb(0, 0, 0);
  --bannersplit-main-onlight-color-logo-divider: rgb(0, 0, 0);
  --bannersplit-main-ondark-color-logo-divider: rgb(0, 0, 0);
  --bannerhero-main-onlight-color-background-textblocks: rgb(255, 255, 255);
  --bannerhero-main-ondark-color-background-textblocks-copy: rgb(0, 0, 0);
  --bannerhero-main-onlight-color-text: rgb(0, 0, 0);
  --bannerhero-main-ondark-color-text-copy: rgb(255, 255, 255);
  --banneremail-main-ondark-color-text: rgb(255, 255, 255);
  --banneremail-main-ondark-color-background: rgb(64, 130, 103);
  --cardteaser-main-onlight-color-background: rgb(255, 255, 255);
  --cardteaser-main-onlight-color-text: rgb(0, 0, 0);
  --cardteaser-main-onlight-color-border-hover: rgb(0, 0, 0);


}

@keyframes description_error-shake__HBfQg {
  0% {
    transform: translate(0)
  }

  20% {
    transform: translate(-5px)
  }

  40% {
    transform: translate(5px)
  }

  60% {
    transform: translate(-5px)
  }

  80% {
    transform: translate(5px)
  }

  to {
    transform: translate(0)
  }
}

.description_description__laxrX {
  display: flex;
  flex-flow: column
}

@media(min-width:960px) {
  .description_description__laxrX {
    flex-flow: row;
    align-items: center;
    justify-content: space-between
  }
}

.description_description__laxrX .description_margin__cBW26 {
  font-family: var(--label-l-family), "Helvetica", "Arial", sans-serif;
  font-size: var(--label-l-size);
  font-style: var(--label-l-style);
  font-weight: var(--label-l-weight);
  letter-spacing: var(--label-l-letterspacing);
  line-height: var(--label-l-lineheight);
  -webkit-text-decoration: var(--label-l-decoration);
  text-decoration: var(--label-l-decoration);
  text-transform: var(--label-l-case);
  margin-top: var(--spacing-xs)
}

.description_description__laxrX .description_subtitle__5h3_L {
  font-family: var(--headline-s-mobile-family), "Helvetica", "Arial", sans-serif;
  font-size: var(--headline-s-mobile-size);
  font-style: var(--headline-s-mobile-style);
  font-weight: var(--headline-s-mobile-weight);
  letter-spacing: var(--headline-s-mobile-letterspacing);
  line-height: var(--headline-s-mobile-lineheight);
  -webkit-text-decoration: var(--headline-s-mobile-decoration);
  text-decoration: var(--headline-s-mobile-decoration);
  text-transform: var(--headline-s-mobile-case)
}

@media(min-width:960px) {
  .description_description__laxrX .description_subtitle__5h3_L {
    font-family: var(--headline-s-desktop-family), "Helvetica", "Arial", sans-serif;
    font-size: var(--headline-s-desktop-size);
    font-style: var(--headline-s-desktop-style);
    font-weight: var(--headline-s-desktop-weight);
    letter-spacing: var(--headline-s-desktop-letterspacing);
    line-height: var(--headline-s-desktop-lineheight);
    -webkit-text-decoration: var(--headline-s-desktop-decoration);
    text-decoration: var(--headline-s-desktop-decoration);
    text-transform: var(--headline-s-desktop-case)
  }
}

.description_text-content__zFrZJ {
  font-family: var(--label-l-family), "Helvetica", "Arial", sans-serif;
  font-size: var(--label-l-size);
  font-style: var(--label-l-style);
  font-weight: var(--label-l-weight);
  letter-spacing: var(--label-l-letterspacing);
  line-height: var(--label-l-lineheight);
  -webkit-text-decoration: var(--label-l-decoration);
  text-decoration: var(--label-l-decoration);
  text-transform: var(--label-l-case);
  white-space: pre-line
}

.description_media__QUtul,
.description_text-content__zFrZJ {
  width: 100%
}

@media(min-width:960px) {

  .description_media__QUtul,
  .description_text-content__zFrZJ {
    width: calc(1/2*100% - 5px)
  }
}

@media(min-width:960px)and (min-width:1280px) {

  .description_media__QUtul,
  .description_text-content__zFrZJ {
    width: calc(1/2*100% - 15px)
  }
}

.description_media__QUtul {
  margin-top: var(--spacing-xs)
}

.description_media__QUtul.description_is-mobile__8BI9K {
  display: none
}

@media(min-width:960px) {
  .description_media__QUtul {
    margin-top: 0
  }
}

.description_media__QUtul img {
  max-width: 100%
}


@keyframes care_error-shake__dLBn0 {
  0% {
    transform: translate(0)
  }

  20% {
    transform: translate(-5px)
  }

  40% {
    transform: translate(5px)
  }

  60% {
    transform: translate(-5px)
  }

  80% {
    transform: translate(5px)
  }

  to {
    transform: translate(0)
  }
}

.care_care__am9FQ {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 20px
}

@media(min-width:768px) {
  .care_care__am9FQ {
    flex-direction: row
  }
}

.care_care__am9FQ h4 {
  width: 100%
}

.care_care-instructions__fvK_1 .item-list,
.care_extra-instructions__aHvzY .item-list {
  list-style: disc
}

.care_care-instructions__fvK_1 .item-list li,
.care_extra-instructions__aHvzY .item-list li {
  margin-left: 18px
}

@media(min-width:768px) {

  .care_care-instructions__fvK_1,
  .care_extra-instructions__aHvzY {
    width: calc(1/2*100% - 5px)
  }
}

@media(min-width:768px)and (min-width:1280px) {

  .care_care-instructions__fvK_1,
  .care_extra-instructions__aHvzY {
    width: calc(1/2*100% - 15px)
  }
}

.care_care-instructions__fvK_1 ul,
.care_extra-instructions__aHvzY ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-left: 10px
}

@media(min-width:768px) {

  .care_care-instructions__fvK_1 ul,
  .care_extra-instructions__aHvzY ul {
    flex-direction: row;
    padding-left: 0
  }
}

.care_care-instructions__fvK_1 li,
.care_extra-instructions__aHvzY li {
  font-family: var(--label-l-family), "Helvetica", "Arial", sans-serif;
  font-size: var(--label-l-size);
  font-style: var(--label-l-style);
  font-weight: var(--label-l-weight);
  letter-spacing: var(--label-l-letterspacing);
  line-height: var(--label-l-lineheight);
  -webkit-text-decoration: var(--label-l-decoration);
  text-decoration: var(--label-l-decoration);
  text-transform: var(--label-l-case)
}

@media(min-width:768px) {

  .care_care-instructions__fvK_1 li,
  .care_extra-instructions__aHvzY li {
    width: calc(1/2*100% - 5px)
  }
}

@media(min-width:768px)and (min-width:1280px) {

  .care_care-instructions__fvK_1 li,
  .care_extra-instructions__aHvzY li {
    width: calc(1/2*100% - 15px)
  }
}

.care_care-instructions__fvK_1 li {
  position: relative;
  padding-left: 32px
}

.care_care-instructions__fvK_1 li img,
.care_care-instructions__fvK_1 li svg {
  position: absolute;
  top: 0;
  left: 0
}

.care_care-title__HyCk4 {
  font-family: var(--headline-s-mobile-family), "Helvetica", "Arial", sans-serif;
  font-size: var(--headline-s-mobile-size);
  font-style: var(--headline-s-mobile-style);
  font-weight: var(--headline-s-mobile-weight);
  letter-spacing: var(--headline-s-mobile-letterspacing);
  line-height: var(--headline-s-mobile-lineheight);
  -webkit-text-decoration: var(--headline-s-mobile-decoration);
  text-decoration: var(--headline-s-mobile-decoration);
  text-transform: var(--headline-s-mobile-case)
}

@media(min-width:960px) {
  .care_care-title__HyCk4 {
    font-family: var(--headline-s-desktop-family), "Helvetica", "Arial", sans-serif;
    font-size: var(--headline-s-desktop-size);
    font-style: var(--headline-s-desktop-style);
    font-weight: var(--headline-s-desktop-weight);
    letter-spacing: var(--headline-s-desktop-letterspacing);
    line-height: var(--headline-s-desktop-lineheight);
    -webkit-text-decoration: var(--headline-s-desktop-decoration);
    text-decoration: var(--headline-s-desktop-decoration);
    text-transform: var(--headline-s-desktop-case)
  }
}

@media(min-width:768px) {
  .care_extra-instructions__aHvzY {
    margin-top: 0
  }
}

@media(max-width:959px) {
  .care_extra-instructions__aHvzY {
    margin-top: 0
  }
}

@media(max-width:767px) {
  .care_extra-instructions__aHvzY {
    margin-top: var(--spacing-xl)
  }
}

.care_regular-care__PllCv li {
  list-style-type: none
}

.specifications-table_specifications__table__Bcgdr {
  padding: 20px 0
}

.specifications-table_specifications__table__modal__D8ruJ {
  z-index: calc(var(--header-mf-z-index) + 13)
}

.specifications-table_specifications__table__modal__content__JxV7W :last-child {
  padding: 15px 0
}

.specifications-table_specifications__table__modal__image__xoj9R {
  width: 100%;
  object-fit: contain
}

.specifications-table_specifications__table__image__cOcGg {
  width: 100%
}

.specifications-table_specifications__table__Bcgdr .gl-table__inner {
  border-width: 1px 1px 0;
  border-style: solid;
  border-color: var(--gl-color-grey-700)
}

.specifications-table_specifications__table__Bcgdr .gl-table__row {
  border-bottom: 1px solid var(--gl-color-grey-700)
}

.specifications-table_specifications__table__Bcgdr .gl-table__cell {
  border-right: 1px solid var(--gl-color-grey-700)
}

.specifications-table_specifications__table__Bcgdr .gl-table__cell:last-child {
  border: none
}

@keyframes specifications_error-shake__daQwj {
  0% {
    transform: translate(0)
  }

  20% {
    transform: translate(-5px)
  }

  40% {
    transform: translate(5px)
  }

  60% {
    transform: translate(-5px)
  }

  80% {
    transform: translate(5px)
  }

  to {
    transform: translate(0)
  }
}

.specifications_heading___OCYA {
  margin-bottom: var(--spacing-none)
}

.specifications_bullets__y3Sdm {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  word-wrap: break-word;
  padding: 0 var(--spacing-s)
}

.specifications_bullets__y3Sdm .item-list {
  list-style: disc
}

.specifications_bullets__y3Sdm .item-list li {
  margin-left: 18px
}

@media(min-width:960px) {
  .specifications_bullets__y3Sdm {
    flex-direction: row
  }

  .specifications_bullets__y3Sdm ul {
    width: calc(1/2*100% - 5px)
  }
}

@media(min-width:960px)and (min-width:1280px) {
  .specifications_bullets__y3Sdm ul {
    width: calc(1/2*100% - 15px)
  }
}

@media(min-width:960px) {
  .specifications_bullets__y3Sdm li {
    font-family: var(--label-l-family), "Helvetica", "Arial", sans-serif;
    font-size: var(--label-l-size);
    font-style: var(--label-l-style);
    font-weight: var(--label-l-weight);
    letter-spacing: var(--label-l-letterspacing);
    line-height: var(--label-l-lineheight);
    -webkit-text-decoration: var(--label-l-decoration);
    text-decoration: var(--label-l-decoration);
    text-transform: var(--label-l-case)
  }
}

.vertical-space-small {
  margin-top: 16px;
}

.vertical-space-medium {
  margin-top: 40px;
}

.vertical-space-large {
  margin-top: 64px;
}


._content_v9fcw_81 {
  width: 100%;
  padding-left: var(--gl-spacing-0150);
  padding-right: var(--gl-spacing-0150);
  text-align: justify
}

._content_v9fcw_81 ._main-heading_v9fcw_87 {
  font-family: var(--gl-heading-font-set-family-standard-19), var(--gl-font-family-fallback);
  font-size: var(--gl-heading-font-set-size-standard-19);
  font-style: var(--gl-heading-font-set-style-standard-19);
  font-weight: var(--gl-heading-font-set-weight-standard-19);
  letter-spacing: var(--gl-heading-font-set-letterspacing-standard-19);
  line-height: var(--gl-heading-font-set-lineheight-standard-19);
  -webkit-text-decoration: var(--gl-heading-font-set-decoration-standard-19);
  text-decoration: var(--gl-heading-font-set-decoration-standard-19);
  text-transform: var(--gl-heading-font-set-case-standard-19);
  margin-bottom: var(--gl-spacing-0200);
  margin-top: var(--gl-spacing-0200);
  text-transform: uppercase
}

@media (min-width:960px) {
  ._content_v9fcw_81 ._main-heading_v9fcw_87 {
    margin-top: var(--gl-spacing-0400);
    font-size: 36px;
    line-height: 1.2
  }
}

._content_v9fcw_81 ._sub-title_v9fcw_108 {
  font-family: var(--gl-body-font-set-family-functional-7), var(--gl-font-family-fallback);
  font-size: var(--gl-body-font-set-size-functional-7);
  font-style: var(--gl-body-font-set-style-functional-7);
  font-weight: var(--gl-body-font-set-weight-functional-7);
  letter-spacing: var(--gl-body-font-set-letterspacing-functional-7);
  line-height: var(--gl-body-font-set-lineheight-functional-7);
  -webkit-text-decoration: var(--gl-body-font-set-decoration-functional-7);
  text-decoration: var(--gl-body-font-set-decoration-functional-7);
  text-transform: var(--gl-body-font-set-case-functional-7);
  font-size: 18px;
  line-height: 1.22;
  margin-bottom: var(--gl-spacing-0300)
}

@media (min-width:960px) {
  ._content_v9fcw_81 ._sub-title_v9fcw_108 {
    font-size: 20px;
    line-height: 1.11
  }
}

._content_v9fcw_81 .table {
  margin: 0;
  padding: 0;
  display: block;
  overflow-x: auto;
  white-space: nowrap;
  max-width: 100%
}

._statement_5zff0_81 {
  position: relative;
  max-height: 100vh
}

@media (min-width:480px) {
  ._statement_5zff0_81 ._content-row_5zff0_86 {
    justify-content: center
  }
}

._statement_5zff0_81 ._content-row_5zff0_86._has-background-media_5zff0_90 {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1
}

._statement_5zff0_81 ._content_5zff0_86 {
  display: flex;
  flex-direction: column;
  gap: var(--bannerstatement-main-onlight-spacing-gap-all-contentwrapper);
  max-width: 560px;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  margin: 0 auto;
  padding: var(--gl-spacing-0200) 0;
  text-wrap: balance
}

@media (min-width:768px) {
  ._statement_5zff0_81 ._content_5zff0_86 {
    padding: var(--gl-spacing-0600) 0;
    justify-content: center
  }
}

._statement_5zff0_81 ._content_5zff0_86 ._logo_5zff0_114 img {
  max-height: 130px;
  width: auto
}

._statement_5zff0_81 ._content_5zff0_86 ._timer_5zff0_118 {
  display: flex;
  gap: var(--timercountdown-main-onlight-spacing-gap);
  color: var(--timercountdown-main-onlight-color-text)
}

._statement_5zff0_81 ._content_5zff0_86 ._timer_5zff0_118,
._statement_5zff0_81 ._content_5zff0_86 ._timer_5zff0_118 .gl-time__container {
  font-family: var(--timercountdown-main-onlight-typography-label-family), var(--gl-font-family-fallback);
  font-size: var(--timercountdown-main-onlight-typography-label-size);
  font-style: var(--timercountdown-main-onlight-typography-label-style);
  font-weight: var(--timercountdown-main-onlight-typography-label-weight);
  letter-spacing: var(--timercountdown-main-onlight-typography-label-letterspacing);
  line-height: var(--timercountdown-main-onlight-typography-label-lineheight);
  -webkit-text-decoration: var(--timercountdown-main-onlight-typography-label-decoration);
  text-decoration: var(--timercountdown-main-onlight-typography-label-decoration);
  text-transform: var(--timercountdown-main-onlight-typography-label-case)
}

._statement_5zff0_81 ._content_5zff0_86 ._title_5zff0_141 {
  text-align: center;
  color: var(--bannerstatement-main-onlight-color-text);
  font-family: var(--bannerstatement-main-mbs-onlight-typography-bannertitle-family), var(--gl-font-family-fallback);
  font-size: var(--bannerstatement-main-mbs-onlight-typography-bannertitle-size);
  font-style: var(--bannerstatement-main-mbs-onlight-typography-bannertitle-style);
  font-weight: var(--bannerstatement-main-mbs-onlight-typography-bannertitle-weight);
  letter-spacing: var(--bannerstatement-main-mbs-onlight-typography-bannertitle-letterspacing);
  line-height: var(--bannerstatement-main-mbs-onlight-typography-bannertitle-lineheight);
  -webkit-text-decoration: var(--bannerstatement-main-mbs-onlight-typography-bannertitle-decoration);
  text-decoration: var(--bannerstatement-main-mbs-onlight-typography-bannertitle-decoration);
  text-transform: var(--bannerstatement-main-mbs-onlight-typography-bannertitle-case)
}

@media (min-width:1024px) {
  ._statement_5zff0_81 ._content_5zff0_86 ._title_5zff0_141 {
    font-family: var(--bannerstatement-main-dts-onlight-typography-bannertitle-family), var(--gl-font-family-fallback);
    font-size: var(--bannerstatement-main-dts-onlight-typography-bannertitle-size);
    font-style: var(--bannerstatement-main-dts-onlight-typography-bannertitle-style);
    font-weight: var(--bannerstatement-main-dts-onlight-typography-bannertitle-weight);
    letter-spacing: var(--bannerstatement-main-dts-onlight-typography-bannertitle-letterspacing);
    line-height: var(--bannerstatement-main-dts-onlight-typography-bannertitle-lineheight);
    -webkit-text-decoration: var(--bannerstatement-main-dts-onlight-typography-bannertitle-decoration);
    text-decoration: var(--bannerstatement-main-dts-onlight-typography-bannertitle-decoration);
    text-transform: var(--bannerstatement-main-dts-onlight-typography-bannertitle-case)
  }
}

._statement_5zff0_81 ._content_5zff0_86 ._summary_5zff0_165 {
  color: var(--bannerstatement-main-onlight-color-text);
  text-align: center;
  font-family: var(--bannerstatement-main-mbs-onlight-typography-text-statement-family), var(--gl-font-family-fallback);
  font-size: var(--bannerstatement-main-mbs-onlight-typography-text-statement-size);
  font-style: var(--bannerstatement-main-mbs-onlight-typography-text-statement-style);
  font-weight: var(--bannerstatement-main-mbs-onlight-typography-text-statement-weight);
  letter-spacing: var(--bannerstatement-main-mbs-onlight-typography-text-statement-letterspacing);
  line-height: var(--bannerstatement-main-mbs-onlight-typography-text-statement-lineheight);
  -webkit-text-decoration: var(--bannerstatement-main-mbs-onlight-typography-text-statement-decoration);
  text-decoration: var(--bannerstatement-main-mbs-onlight-typography-text-statement-decoration);
  text-transform: var(--bannerstatement-main-mbs-onlight-typography-text-statement-case)
}

@media (min-width:1024px) {
  ._statement_5zff0_81 ._content_5zff0_86 ._summary_5zff0_165 {
    font-family: var(--bannerstatement-main-dts-onlight-typography-text-statement-family), var(--gl-font-family-fallback);
    font-size: var(--bannerstatement-main-dts-onlight-typography-text-statement-size);
    font-style: var(--bannerstatement-main-dts-onlight-typography-text-statement-style);
    font-weight: var(--bannerstatement-main-dts-onlight-typography-text-statement-weight);
    letter-spacing: var(--bannerstatement-main-dts-onlight-typography-text-statement-letterspacing);
    line-height: var(--bannerstatement-main-dts-onlight-typography-text-statement-lineheight);
    -webkit-text-decoration: var(--bannerstatement-main-dts-onlight-typography-text-statement-decoration);
    text-decoration: var(--bannerstatement-main-dts-onlight-typography-text-statement-decoration);
    text-transform: var(--bannerstatement-main-dts-onlight-typography-text-statement-case)
  }
}

._statement_5zff0_81 ._content_5zff0_86 ._summary_5zff0_165 em,
._statement_5zff0_81 ._content_5zff0_86 ._summary_5zff0_165 i {
  font-style: italic
}

._statement_5zff0_81 ._content_5zff0_86 ._cta-list-container_5zff0_193 {
  display: flex;
  gap: var(--groupbuttons-main-onlight-spacing-gap-buttongroup);
  flex-flow: wrap;
  justify-content: flex-start
}

@media (min-width:480px) {
  ._statement_5zff0_81 ._content_5zff0_86 ._cta-list-container_5zff0_193 {
    justify-content: center
  }
}

._statement_5zff0_81 ._content_5zff0_86 ._cta-list-container_5zff0_193>div {
  margin: 0 !important
}

._statement_5zff0_81 ._content_5zff0_86 ._cta-list-container_5zff0_193 .gl-cta-wrapper {
  max-width: 90vw;
  text-transform: unset
}

._statement_5zff0_81._color-theme-white_5zff0_211 ._summary_5zff0_165,
._statement_5zff0_81._color-theme-white_5zff0_211 ._timer_5zff0_118,
._statement_5zff0_81._color-theme-white_5zff0_211 ._title_5zff0_141 {
  text-shadow: none;
  color: var(--bannerstatement-main-ondark-color-text)
}

._statement_5zff0_81._color-theme-white_5zff0_211 ._summary_5zff0_165 .gl-time__container,
._statement_5zff0_81._color-theme-white_5zff0_211 ._timer_5zff0_118 .gl-time__container,
._statement_5zff0_81._color-theme-white_5zff0_211 ._title_5zff0_141 .gl-time__container {
  color: var(--timercountdown-main-ondark-color-text);
  font-family: var(--timercountdown-main-onlight-typography-label-family), var(--gl-font-family-fallback);
  font-size: var(--timercountdown-main-onlight-typography-label-size);
  font-style: var(--timercountdown-main-onlight-typography-label-style);
  font-weight: var(--timercountdown-main-onlight-typography-label-weight);
  letter-spacing: var(--timercountdown-main-onlight-typography-label-letterspacing);
  line-height: var(--timercountdown-main-onlight-typography-label-lineheight);
  -webkit-text-decoration: var(--timercountdown-main-onlight-typography-label-decoration);
  text-decoration: var(--timercountdown-main-onlight-typography-label-decoration);
  text-transform: var(--timercountdown-main-onlight-typography-label-case)
}

._statement_5zff0_81._color-theme-white_5zff0_211 #subtitle-container p span:not(:empty) {
  background-color: var(--gl-color-white);
  color: var(--gl-color-black)
}

._wrapper_lj2kc_81 {
  position: relative;
  display: flex;
  flex-direction: column
}

@media (min-width:960px) {
  ._wrapper_lj2kc_81 {
    flex-direction: row
  }
}

._wrapper_lj2kc_81 ._cell_lj2kc_91 {
  position: relative;
  width: 100%
}

@media (min-width:960px) {
  ._wrapper_lj2kc_81 ._cell_lj2kc_91 {
    width: 50%
  }
}

._wrapper_lj2kc_81 ._cell_lj2kc_91._with-content_lj2kc_100 {
  display: flex
}

._fill-image_53wku_61 {
  height: 100%
}

._fill-image_53wku_61 img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%
}

@media (min-width:768px) {
  ._fill-image_53wku_61._fit-contain-tablet_53wku_71 img {
    object-fit: contain
  }
}

@media (min-width:960px) {
  ._fill-image_53wku_61._fit-contain-tablet_53wku_71 img {
    object-fit: contain
  }
}

@media (min-width:1024px) {
  ._fill-image_53wku_61._fit-contain-tablet_53wku_71 img {
    object-fit: cover
  }
}

._banner-split_lj2kc_104 {
  display: flex;
  flex-direction: column;
  gap: var(--bannersplit-main-onlight-spacing-gap);
  justify-content: center;
  padding: 15px 15px 15px 15px;
  width: 100%
}

@media (min-width:768px) {
  ._banner-split_lj2kc_104 {
    padding: 15px 15px 15px 15px;
  }
}

@media (min-width:1024px) {
  ._banner-split_lj2kc_104 {
    padding: 15px 15px 15px 15px;
  }
}

@media (min-width:1440px) {
  ._banner-split_lj2kc_104 {
    padding-right: 15px;
    padding-left: 15px;
  }
}

._banner-split-background_lj2kc_128 {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  display: flex
}

._banner-split-fit-image_lj2kc_134 {
  width: 100%
}

._banner-split-logo_lj2kc_137 {
  display: flex;
  justify-content: center
}

._banner-split-logo__image_lj2kc_141 {
  max-width: 100%
}

._banner-split-logo__image_lj2kc_141 img {
  height: auto;
  max-height: 130px
}

._banner-split-title_lj2kc_148 {
  display: flex;
  color: var(--bannersplit-main-onlight-color-text);
  font-family: var(--bannersplit-main-mbs-onlight-typography-headline-family), var(--gl-font-family-fallback);
  font-size: var(--bannersplit-main-mbs-onlight-typography-headline-size);
  font-style: var(--bannersplit-main-mbs-onlight-typography-headline-style);
  font-weight: var(--bannersplit-main-mbs-onlight-typography-headline-weight);
  letter-spacing: var(--bannersplit-main-mbs-onlight-typography-headline-letterspacing);
  line-height: var(--bannersplit-main-mbs-onlight-typography-headline-lineheight);
  -webkit-text-decoration: var(--bannersplit-main-mbs-onlight-typography-headline-decoration);
  text-decoration: var(--bannersplit-main-mbs-onlight-typography-headline-decoration);
  text-transform: var(--bannersplit-main-mbs-onlight-typography-headline-case)
}

@media (min-width:1024px) {
  ._banner-split-title_lj2kc_148 {
    font-family: var(--bannersplit-main-dts-onlight-typography-headline-family), var(--gl-font-family-fallback);
    font-size: var(--bannersplit-main-dts-onlight-typography-headline-size);
    font-style: var(--bannersplit-main-dts-onlight-typography-headline-style);
    font-weight: var(--bannersplit-main-dts-onlight-typography-headline-weight);
    letter-spacing: var(--bannersplit-main-dts-onlight-typography-headline-letterspacing);
    line-height: var(--bannersplit-main-dts-onlight-typography-headline-lineheight);
    -webkit-text-decoration: var(--bannersplit-main-dts-onlight-typography-headline-decoration);
    text-decoration: var(--bannersplit-main-dts-onlight-typography-headline-decoration);
    text-transform: var(--bannersplit-main-dts-onlight-typography-headline-case)
  }
}

._banner-split-summary_lj2kc_172 {
  display: flex;
  color: var --bannersplit-main-onlight-color-text;
  font-family: var(--bannersplit-main-mbs-onlight-typography-bodycopy-family), var(--gl-font-family-fallback);
  font-size: var(--bannersplit-main-mbs-onlight-typography-bodycopy-size);
  font-style: var(--bannersplit-main-mbs-onlight-typography-bodycopy-style);
  font-weight: var(--bannersplit-main-mbs-onlight-typography-bodycopy-weight);
  letter-spacing: var(--bannersplit-main-mbs-onlight-typography-bodycopy-letterspacing);
  line-height: var(--bannersplit-main-mbs-onlight-typography-bodycopy-lineheight);
  -webkit-text-decoration: var(--bannersplit-main-mbs-onlight-typography-bodycopy-decoration);
  text-decoration: var(--bannersplit-main-mbs-onlight-typography-bodycopy-decoration);
  text-transform: var(--bannersplit-main-mbs-onlight-typography-bodycopy-case)
}

@media (min-width:1024px) {
  ._banner-split-summary_lj2kc_172 {
    font-family: var(--bannersplit-main-dts-onlight-typography-bodycopy-family), var(--gl-font-family-fallback);
    font-size: var(--bannersplit-main-dts-onlight-typography-bodycopy-size);
    font-style: var(--bannersplit-main-dts-onlight-typography-bodycopy-style);
    font-weight: var(--bannersplit-main-dts-onlight-typography-bodycopy-weight);
    letter-spacing: var(--bannersplit-main-dts-onlight-typography-bodycopy-letterspacing);
    line-height: var(--bannersplit-main-dts-onlight-typography-bodycopy-lineheight);
    -webkit-text-decoration: var(--bannersplit-main-dts-onlight-typography-bodycopy-decoration);
    text-decoration: var(--bannersplit-main-dts-onlight-typography-bodycopy-decoration);
    text-transform: var(--bannersplit-main-dts-onlight-typography-bodycopy-case)
  }
}

._banner-split-ctas_lj2kc_196 {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: var(--bannersplit-main-onlight-spacing-gap)
}

._banner-split-ctas_lj2kc_196 a {
  font-weight: var(--buttonlink-text-onlight-typography-label-weight)
}

._color-theme-white_lj2kc_206 ._banner-split-summary_lj2kc_172,
._color-theme-white_lj2kc_206 ._banner-split-title_lj2kc_148 {
  color: var(--bannersplit-main-ondark-color-text)
}

._color-theme-white_lj2kc_206 #subtitle-container p span:not(:empty) {
  background-color: var(--gl-color-white);
  color: var(--gl-color-black)
}

._has-background_lj2kc_215 ._banner-split_lj2kc_104 {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100%
}

._dynamic-alignment_lj2kc_222 {
  justify-content: left;
  text-align: left
}

._right-aligned_lj2kc_227 {
  flex-direction: column-reverse
}

@media (min-width:960px) {
  ._right-aligned_lj2kc_227 {
    flex-direction: row-reverse
  }
}

._left-aligned_lj2kc_236,
._left-bottom-aligned_lj2kc_237 {
  flex-direction: column-reverse
}

@media (min-width:960px) {

  ._left-aligned_lj2kc_236,
  ._left-bottom-aligned_lj2kc_237 {
    flex-direction: row
  }
}

._wrapper_kprqk_81 {
  --ul-padding-spacing: calc(var(--spacing-s) + var(--spacing-2xs));
  position: relative;
  padding: 0 0 var(--gl-spacing-0150) 0;
  overflow: hidden
}

._wrapper_kprqk_81 ._arrow-next_kprqk_88,
._wrapper_kprqk_81 ._arrow-prev_kprqk_87 {
  transform: none;
  top: 30%
}

@media (max-width:959px) {

  ._wrapper_kprqk_81 ._arrow-next_kprqk_88,
  ._wrapper_kprqk_81 ._arrow-prev_kprqk_87 {
    display: none
  }
}

@media (min-width:1024px) {
  ._wrapper_kprqk_81 ._arrow-prev_kprqk_87 {
    margin-left: var(--spacing-3xl)
  }
}

@media (min-width:1366px) {
  ._wrapper_kprqk_81 ._arrow-prev_kprqk_87 {
    margin-left: calc(var(--spacing-4xl) + var(--spacing-l))
  }
}

@media (min-width:1024px) {
  ._wrapper_kprqk_81 ._arrow-next_kprqk_88 {
    margin-right: var(--spacing-3xl)
  }
}

@media (min-width:1366px) {
  ._wrapper_kprqk_81 ._arrow-next_kprqk_88 {
    margin-right: calc(var(--spacing-4xl) + var(--spacing-l))
  }
}

@media (min-width:768px) {
  ._wrapper_kprqk_81 {
    padding: 0 0 var(--gl-spacing-0200) 0
  }
}

._wrapper_kprqk_81 ._product-portfolio-title_kprqk_123 {
  display: block;
  font-family: var(--headline-m-mobile-family), var(--gl-font-family-fallback);
  font-size: var(--headline-m-mobile-size);
  font-style: var(--headline-m-mobile-style);
  font-weight: var(--headline-m-mobile-weight);
  letter-spacing: var(--headline-m-mobile-letterspacing);
  line-height: var(--headline-m-mobile-lineheight);
  -webkit-text-decoration: var(--headline-m-mobile-decoration);
  text-decoration: var(--headline-m-mobile-decoration);
  text-transform: var(--headline-m-mobile-case);
  margin-bottom: var(--spacing-m);
  padding-left: var(--spacing-l)
}

@media (min-width:1024px) {
  ._wrapper_kprqk_81 ._product-portfolio-title_kprqk_123 {
    padding-left: 0
  }
}

@media (min-width:1366px) {
  ._wrapper_kprqk_81 ._product-portfolio-title_kprqk_123 {
    font-family: var(--headline-m-desktop-family), var(--gl-font-family-fallback);
    font-size: var(--headline-m-desktop-size);
    font-style: var(--headline-m-desktop-style);
    font-weight: var(--headline-m-desktop-weight);
    letter-spacing: var(--headline-m-desktop-letterspacing);
    line-height: var(--headline-m-desktop-lineheight);
    -webkit-text-decoration: var(--headline-m-desktop-decoration);
    text-decoration: var(--headline-m-desktop-decoration);
    text-transform: var(--headline-m-desktop-case)
  }
}

._wrapper_kprqk_81 ._product-portfolio-title_kprqk_123._masked_kprqk_153 {
  color: transparent;
  background-color: var(--color-fill-secondary);
  word-break: break-all;
  white-space: nowrap;
  width: 25%
}

._wrapper_kprqk_81 ._product-portfolio-container_kprqk_160 {
  gap: var(--spacing-2xs)
}

@media (min-width:1024px) {
  ._wrapper_kprqk_81 ._product-portfolio-container_kprqk_160 {
    gap: var(--spacing-xs)
  }
}

._wrapper_kprqk_81 ._product-portfolio-carousel-scroll_kprqk_168 {
  gap: var(--spacing-2xs);
  padding: 0 var(--spacing-l)
}

@media (min-width:768px) {
  ._wrapper_kprqk_81 ._product-portfolio-carousel-scroll_kprqk_168 {
    gap: var(--spacing-xs)
  }
}

@media (min-width:1024px) {
  ._wrapper_kprqk_81 ._product-portfolio-carousel-scroll_kprqk_168 {
    padding: 0
  }
}

._wrapper_kprqk_81 ul:last-child {
  height: var(--spacing-2xs)
}

._wrapper_1dbgg_81 {
  position: relative
}

.product-story_container__6EPKb {
  position: relative
}

.product-story_wayfinding-wrapper__C5cCc {
  margin-bottom: var(--spacing-4xl)
}

/**
 * Adidas-like reviews block alignment for layout-v5 left column.
 * Single comprehensive pass — replaces all previous review passes.
 */
/* ── Tabs wrapper ──────────────────────────────────────────────── */
@media (min-width: 960px) {
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs {
    margin-top: 48px;
    padding-left: 48px;
    padding-right: 48px;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs>ul.tabs {
    display: flex;
    gap: 24px;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs>ul.tabs>li {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs>ul.tabs>li>a {
    padding: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #767677;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs>ul.tabs>li.active>a {
    color: #111;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs>ul.tabs>li.active>a::after {
    height: 2px;
    background: #111;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .panel {
    margin: 0;
    padding: 0;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews {
    margin-top: 8px;
  }
}

@media (max-width: 959px) {
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs {
    margin-top: 32px;
    padding-left: 0;
    padding-right: 0;
  }
}

/* ── Reviews title: hide WooCommerce default heading ─────────── */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews-title {
  display: none !important;
}

/* ── Overall rating block ─────────────────────────────────────── */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-and-rating-count {
  padding: 0 0 24px !important;
  margin: 0 0 24px !important;
  border: 0 !important;
  border-bottom: 1px solid #eceff1 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* JS injects .rz-rating-top-row to wrap score + write-review button */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-rating-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating {
  flex: 0 0 auto;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating h2 {
  display: none !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-main {
  display: flex !important;
  align-items: flex-end;
  gap: 14px;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-left {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 80px;
  padding: 8px 12px;
  background: #111 !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-left-average {
  display: block;
  font-size: 48px !important;
  font-weight: 700;
  line-height: 1;
  color: #fff !important;
  mix-blend-mode: normal !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-right {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 6px;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-right .star-rating {
  margin: 0 !important;
  color: #111;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-right-total {
  font-size: 14px !important;
  font-weight: 500;
  color: #111;
  line-height: 1.3;
}

/* Write a review button (injected by JS) */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-write-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
  cursor: pointer;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-write-review-btn:hover {
  background: #111;
  color: #fff;
}

/* Filter + Write actions (Filter sits before Write). */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-review-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  flex-wrap: wrap;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-filter-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  white-space: nowrap;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-filter-toggle:hover,
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-filter-toggle.is-active {
  background: #111;
  color: #fff;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-filter-toggle__icon {
  display: none;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: left !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container.rz-filter-expanded {
  margin: 0 0 24px !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container::before {
  display: none !important;
  content: none !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-filter-panel {
  display: block;
  width: 100% !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container.rz-filter-expanded .rz-filter-panel {
  max-height: 480px;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-filter-panel__inner {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 16px;
  padding: 16px !important;
  border: 1px solid #eceff1 !important;
  background: transparent;
  box-sizing: border-box !important;
}

/* ── Rating distribution bars ─────────────────────────────────── */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-stars-count {
  margin-top: 0 !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-stars-count .wcpr-row {
  display: grid !important;
  grid-template-columns: 14px 56px 1fr 22px;
  align-items: center;
  column-gap: 8px;
  margin-top: 8px !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-stars-count .wcpr-col-number {
  font-size: 13px;
  color: #555;
  text-align: center;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-stars-count .wcpr-col-star .star-rating {
  font-size: 10px !important;
  width: auto !important;
  overflow: visible !important;
  margin: 0 !important;
  float: none !important;
  color: #111;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-stars-count .wcpr-col-process {
  overflow: hidden;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-stars-count .rate-percent-bg {
  position: relative !important;
  width: 100%;
  height: 8px !important;
  background: #eceff1 !important;
  overflow: hidden;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-stars-count .rate-percent {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 8px !important;
  background: #767677 !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-stars-count .rate-percent-bg-1 {
  display: none !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-stars-count .wcpr-col-rank-count {
  font-size: 13px;
  color: #555;
}

/* ── Filter container ─────────────────────────────────────────── */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container {
  display: block !important;
  margin: 0 0 24px !important;
  padding: 16px !important;
  border: 1px solid #eceff1 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container::before {
  content: "Filter reviews by";
  display: block;
  margin: 0 0 12px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2;
  color: #111 !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container .wcpr-filter-button {
  display: inline-flex !important;
  align-items: center;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  margin: 0 6px 6px 0 !important;
  border: 1px solid #c8c8c8 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container .wcpr-filter-button.wcpr-active {
  border-color: #111 !important;
  font-weight: 700 !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container .wcpr-filter-button:hover {
  border-color: #111 !important;
}

/* Star rating filter section (inside the filter-button-wrap) */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-wrap {
  display: block !important;
  border: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
  color: inherit !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-rating-placeholder {
  display: block;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 0 10px !important;
  color: #111 !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-li {
  display: inline-block !important;
  margin: 0 6px 6px 0 !important;
}

/* ── Review form (Write a review) ─────────────────────────────── */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #tab-reviews #review_form_wrapper,
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #reviews #review_form_wrapper {
  display: none !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #tab-reviews #review_form_wrapper:target,
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #reviews #review_form_wrapper:target {
  display: block !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews #review_form_wrapper {
  margin-top: 0;
  margin-bottom: 28px;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews #reply {
  border: 1px solid #111;
  padding: 18px 20px;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews #reply .comment-reply-title {
  display: block;
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  color: #111;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews #reply .comment-form-rating {
  margin-bottom: 14px;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews #reply .form-submit {
  margin: 16px 0 0;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews #reply .form-submit .submit {
  min-height: 46px;
  min-width: 180px;
  padding: 0 22px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}

/* ── Review item list ─────────────────────────────────────────── */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li {
  padding: 22px 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-top: 1px solid #eceff1 !important;
  list-style: none !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li:last-child {
  border-bottom: 1px solid #eceff1 !important;
}

/* Hide avatar — Adidas doesn't show user photos */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li img.avatar {
  display: none !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .comment_container {
  display: block !important;
}

/*
 * comment-text 2-col grid:
 *   col 1 (140px): star-rating + p.meta (author + date)
 *   col 2 (1fr):   .rz-review-title (row 1) + .description (auto → row 2)
 *
 * DOM order inside comment-text:
 *   1. .rz-review-title  (grid-column:2 grid-row:1)
 *   2. .star-rating      (grid-column:1 → auto-placed row 1)
 *   3. p.meta            (grid-column:1 → auto-placed row 2)
 *   4. .description      (grid-column:2 → auto-placed row 2 since row 1 col 2 is taken)
 */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .comment-text {
  display: grid !important;
  grid-template-columns: 140px 1fr !important;
  column-gap: 24px !important;
  row-gap: 8px !important;
  align-items: start !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* col 1, row 1: stars */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .comment-text .star-rating {
  grid-column: 1 !important;
  margin: 0 !important;
  color: #111;
  font-size: 16px;
  align-self: start;
}

/* col 1, row 2: author + date */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .comment-text p.meta {
  grid-column: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px;
  margin: 0 !important;
  padding: 0 !important;
}

/* col 2, row 1: review title */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .comment-text .rz-review-title {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #111 !important;
}

/* col 2, auto row: description */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .comment-text .description {
  grid-column: 2 !important;
  margin: 0 !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .comment-text .description p {
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.55;
  color: #111;
}

/* author name */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .woocommerce-review__author {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111 !important;
  display: block !important;
}

/* hide the " – " dash between author and date */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .woocommerce-review__dash {
  display: none !important;
}

/* date */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .woocommerce-review__published-date {
  font-size: 12px !important;
  color: #767677 !important;
  display: block !important;
}

/* review photos (Photo Reviews basic mode thumbnails) */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .kt-reviews-image-container {
  margin-top: 12px;
  grid-column: 2 !important;
  justify-self: start;
  text-align: left;
}

/* ── Masonry/grid review items (if display mode = masonry) ──────── */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-grid-item {
  border-top: 1px solid #eceff1 !important;
  padding: 22px 0 !important;
  margin-top: 0 !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-grid-item:first-child {
  margin-top: 0 !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-content {
  display: grid !important;
  grid-template-columns: 140px 1fr !important;
  column-gap: 24px;
  align-items: start;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .reviews-images-container {
  grid-column: 1 / -1 !important;
}

/* wcpr-review-title (our injected h4) → col 2 row 1 */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-review-title {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 0 6px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111 !important;
}

/* review-content-container transparent to grid, children fill cols directly */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .review-content-container {
  display: contents !important;
}

/* review-content-container-top → col 1 */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .review-content-container-top {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 6px !important;
}

/* flip order: stars first, then author */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-comment-author {
  order: 2;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111 !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-review-rating {
  order: 1;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-review-rating .star-rating {
  margin: 0 !important;
  font-size: 16px !important;
  color: #111;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-review-date {
  font-size: 12px !important;
  color: #767677 !important;
  font-weight: 400 !important;
}

/* wcpr-review-content → col 2 */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-review-content {
  grid-column: 2 !important;
  margin-top: 6px !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #111 !important;
}

/* Load more / fewer controls (shared) */
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-reviews-load-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-reviews-load-controls[hidden] {
  display: none !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-reviews-load-more,
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-reviews-show-fewer {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid #111;
  border-radius: 0;
  background: #fff;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-reviews-load-more::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-reviews-show-fewer::after {
  content: "–";
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-reviews-load-more:hover,
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-reviews-show-fewer:hover {
  background: #111;
  color: #fff;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-reviews-load-more[hidden],
.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-reviews-show-fewer[hidden] {
  display: none !important;
}

.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-review-item--hidden {
  display: none !important;
}

/**
 * Mobile reviews: Adidas-like summary + stacked review cards.
 */
@media (max-width: 959px) {
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-and-rating-count {
    padding: 0 0 20px !important;
    margin: 0 0 20px !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-main {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    width: 100%;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-left {
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    justify-content: flex-start !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-left-average {
    color: #111 !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 0.95 !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-right {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding: 0 !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-right .star-rating,
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-right-star .star-rating {
    margin: 0 !important;
    font-size: 16px !important;
    color: #111 !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-right-total {
    display: none !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-stars-count {
    display: none !important;
  }

  /* Put score + stars on one row; Filter + Write on the next full-width row. */
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-main {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    column-gap: 12px !important;
    row-gap: 16px !important;
    align-items: center !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-left {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-right {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-review-actions {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    display: flex !important;
    width: 100% !important;
    margin-left: 0 !important;
    gap: 10px;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-filter-toggle,
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-write-review-btn,
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-main .rz-write-review-btn {
    flex: 1 1 0;
    width: auto !important;
    max-width: none !important;
    min-height: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    justify-content: center !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container {
    margin: 0 0 20px !important;
    overflow: visible;
    box-sizing: border-box;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-filter-panel__inner {
    margin-top: 12px;
    padding: 14px !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-filter-panel .wcpr-filter-row {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-filter-panel .wcpr-filter-row--stars {
    margin-top: 16px !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-primary-title {
    display: none !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-by-star-title {
    display: block !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    color: #767677 !important;
    text-align: left !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-verified {
    display: none !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-row--primary .wcpr-filter-button-images {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid #c8c8c8 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
  }

  /* Override plugin dropdown defaults (125px wrap + absolute hidden list). */
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container .wcpr-filter-button-wrap,
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-row--stars .wcpr-filter-button-wrap {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container ul.wcpr-filter-button-ul,
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-wrap ul.wcpr-filter-button-ul {
    display: flex !important;
    position: static !important;
    left: auto !important;
    z-index: auto !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-wrap .wcpr-filter-button-li {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
    display: block !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-wrap .wcpr-filter-button-li a,
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-wrap .wcpr-filter-button-li a.wcpr-filter-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 4px !important;
    margin: 0 !important;
    border: 1px solid #c8c8c8 !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #111 !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    white-space: nowrap;
  }

  /* Stacked review card: stars → date → title → body → author */
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .comment-text {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .comment-text .star-rating {
    order: 1;
    grid-column: auto !important;
    font-size: 14px !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .comment-text p.meta {
    order: 2;
    display: contents !important;
    grid-column: auto !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .woocommerce-review__published-date {
    order: 2;
    font-size: 13px !important;
    color: #767677 !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .comment-text .rz-review-title {
    order: 3;
    grid-column: auto !important;
    grid-row: auto !important;
    font-size: 16px !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .comment-text .description {
    order: 4;
    grid-column: auto !important;
    width: 100%;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .woocommerce-review__author {
    order: 5;
    margin-top: 4px;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .woocommerce-Reviews ol.commentlist>li .kt-reviews-image-container {
    order: 6;
    grid-column: auto !important;
    width: 100%;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .review-content-container-top {
    display: contents !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-review-rating {
    order: 1;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-review-date {
    order: 2;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-review-title {
    order: 3;
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-review-content {
    order: 4;
    grid-column: auto !important;
    margin-top: 0 !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .wcpr-comment-author {
    order: 5;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-grid .reviews-images-container {
    order: 6;
    grid-column: auto !important;
  }
}

/**
 * Reviews final alignment (no JS DOM injection).
 */
@media (min-width: 960px) {
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-main {
    display: flex !important;
    align-items: center;
    gap: 16px;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-review-actions {
    display: inline-flex;
    margin-left: auto;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-main .rz-write-review-btn {
    margin-left: 0;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .razzi-accordion-title.tab-title-reviews {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .razzi-accordion-title.tab-title-reviews .rz-tab-reviews-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-tab-reviews-rating {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #111;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .rz-tab-reviews-rating__stars .star-rating {
    margin: 0 !important;
    color: #111;
    font-size: 12px;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-and-rating-count {
    border-bottom: 0 !important;
    padding-bottom: 8px !important;
    margin-bottom: 20px !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-main {
    display: flex !important;
    align-items: center;
    gap: 16px;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating {
    width: 100%;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-left {
    min-width: auto;
    min-height: auto;
    padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-left-average {
    color: #111 !important;
    font-size: 52px !important;
    line-height: 0.95;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-right {
    display: flex !important;
    align-items: center;
    padding-bottom: 0 !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-right-star .star-rating {
    font-size: 18px !important;
    margin: 0 !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-stars-count {
    display: none !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-right-total {
    display: none !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container {
    border: 0 !important;
    padding: 0 !important;
    margin: 10px 0 24px !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container::before {
    display: none !important;
    content: none !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container .wcpr-filter-button-images,
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container .wcpr-filter-button-verified {
    border: 1px solid #d5d8dc !important;
    background: #fff !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-primary-title {
    display: inline-block;
    text-align: left;
    flex: 0 0 100%;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    white-space: nowrap;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-row--stars {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 18px;
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100%;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-row--primary {
    align-items: flex-start;
    row-gap: 10px;
    width: 100%;
  }

  /* Second row: star rating filter */
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-wrap {
    display: block !important;
    position: static !important;
    width: 100%;
    margin-top: 0 !important;
    margin-left: 0 !important;
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    font-size: inherit !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-by-star-title {
    display: block;
    margin: 0 0 10px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-container .wcpr-filter-button.wcpr-active {
    border: none !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-wrap .wcpr-filter-button-ul {
    position: static !important;
    left: auto !important;
    z-index: auto !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    padding-inline-start: 0 !important;
    list-style: none !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-wrap .wcpr-filter-button-li {
    margin: 0 !important;
    display: inline-flex !important;
    flex: 0 0 auto;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-wrap .wcpr-filter-button,
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-button-wrap .wcpr-filter-button-li a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 64px !important;
    min-width: 64px !important;
    height: 58px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #d5d8dc !important;
    border-radius: 0 !important;
    background: #fff !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-main .rz-filter-toggle,
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-main .rz-write-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 26px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 0;
  }

  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-main .rz-filter-toggle:hover,
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-main .rz-filter-toggle.is-active,
  .single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-overall-rating-main .rz-write-review-btn:hover {
    background: #111;
    color: #fff;
  }
}

/* Force hide review form by default, only show when targeted. */
body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #reviews #review_form_wrapper,
body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #tab-reviews #review_form_wrapper {
  display: none !important;
}

body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #reviews #review_form_wrapper:target,
body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #tab-reviews #review_form_wrapper:target {
  display: block !important;
}

/* Align "Filter by star rating" title and stars row. */
body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-row.wcpr-filter-row--stars {
  align-items: flex-start !important;
  justify-content: flex-start !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  width: 100% !important;
}

body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-row.wcpr-filter-row--stars .wcpr-filter-by-star-title {
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  text-align: left !important;
}

body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-row.wcpr-filter-row--stars .wcpr-filter-button-wrap {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .wcpr-filter-row.wcpr-filter-row--stars .wcpr-filter-button-ul {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-inline-start: 0 !important;
}

/* Final review form overrides: keep hidden by default and align upload field. */
html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #reviews.woocommerce-Reviews #review_form_wrapper:not(:target),
html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #tab-reviews #review_form_wrapper:not(:target) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #reviews.woocommerce-Reviews #review_form_wrapper:target,
html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #tab-reviews #review_form_wrapper:target {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #review_form_wrapper .wcpr-form-description {
  display: block !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  text-align: center !important;
}

html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #review_form_wrapper .wcpr-comment-form-image,
html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #review_form_wrapper .wcpr-comment-form-images {
  display: block !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  text-align: left !important;
}

html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #review_form_wrapper .wcpr-comment-form-image>label,
html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #review_form_wrapper .wcpr-comment-form-images>label {
  display: block !important;
  width: 100% !important;
  margin: 0 0 10px !important;
  padding: 0 0 0 16px !important;
  text-align: left !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #111 !important;
}

html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #review_form_wrapper .wcpr-input-file-container,
html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #review_form_wrapper .wcpr-input-file-wrap {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 0 8px !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #review_form_wrapper input#wcpr_image_upload.wcpr_image_upload {
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
}

/* Avoid double dividers when the review form is hidden. */
html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #reviews #comments ol.commentlist>li:last-child {
  border-bottom: 0 !important;
}

/* When opened via Write a review, the form itself becomes the divider. */
html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #reviews #review_form_wrapper:target,
html body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs #tab-reviews #review_form_wrapper:target {
  margin-top: 28px !important;
  padding-top: 28px !important;
  border-top: 1px solid #eceff1 !important;
}

/* Align Recently Viewed with Adidas-like recommendation section. */
body.single-product div.product.layout-v5 .product-gallery-summary>#razzi-history-products,
body.single-product div.product.layout-v5 .product-gallery-summary>section#razzi-history-products {
  margin: 48px 0 0 !important;
  padding: 0 40px !important;
}

body.single-product div.product.layout-v5 .product-gallery-summary>#razzi-history-products>.razzi-container,
body.single-product div.product.layout-v5 .product-gallery-summary>section#razzi-history-products>.razzi-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product div.product.layout-v5 .product-gallery-summary #razzi-history-products .recently-header,
body.single-product div.product.layout-v5 .product-gallery-summary #razzi-history-products .recently-header.no-button {
  display: block !important;
  width: 100% !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  text-align: left !important;
  color: #111 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/*
 * Desktop: JS nests #razzi-history-products inside .woocommerce-product-gallery,
 * so the direct-child rules above do not match. Keep mobile cascade unchanged.
 */
@media (min-width: 960px) {
  body.single-product div.product.layout-v5 .product-gallery-summary #razzi-history-products,
  body.single-product div.product.layout-v5 .product-gallery-summary section#razzi-history-products {
    margin: 48px 0 0 !important;
    padding: 0 48px !important;
  }

  body.single-product div.product.layout-v5 .product-gallery-summary #razzi-history-products > .razzi-container,
  body.single-product div.product.layout-v5 .product-gallery-summary section#razzi-history-products > .razzi-container {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/*
 * Recently Viewed hover title sits inside the slide. Later slides paint
 * on top and cover the title, so the hovered slide has to stack higher.
 */
#razzi-history-products .product-list > li.product {
  position: relative;
  z-index: 1;
}

#razzi-history-products .product-list > li.product:hover {
  z-index: 5;
}

/* Keep Reviews accordion title visually consistent with other tab titles. */
body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .razzi-accordion-title.tab-title-reviews {
  justify-content: space-between !important;
}

body.single-product div.product.layout-v5 .product-gallery-summary .woocommerce-tabs .razzi-accordion-title.tab-title-reviews .rz-tab-reviews-rating {
  display: none !important;
}

/**
 * National, Club, and International Teams Mega Menu catalogs.
 * Limit overrides to the catalog menu items to preserve other menus.
 */
.main-navigation ul ul {
  box-shadow: none !important;
}

#primary-menu .rz-mega-catalog .menu-item-mega>.sub-menu {
  display: block;
  width: max-content;
  min-width: 0;
  height: auto;
}

#primary-menu .rz-mega-catalog .menu-item-mega>.sub-menu>li {
  float: none;
  width: auto;
  height: auto;
  min-height: 0;
  padding: 0;
  margin-bottom: 9px;
}

/* Crest/label gap: any mega-menu link that has an icon, not menu-item IDs.
   Space comes from margin on the image. Flex gap stays 0 so the two do not stack. */
#primary-menu .menu-item-mega>.sub-menu>li>a:has(img) {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: normal;
}

#primary-menu .menu-item-mega .sub-menu li>a>img,
#primary-menu .razzi-menu-cat-icon {
  width: 20px;
  height: 20px;
  max-width: 20px;
  object-fit: contain;
  flex: 0 0 20px;
  margin-right: 12px;
}

/*
 * Groups size to their labels and sit together. Equal percentage columns
 * left UEFA as one tall list and stretched the shorter confederations.
 * Twenty or more teams (UEFA, Premier League) flow into two columns under
 * one heading. League columns stay on one row; the desktop rule below
 * scrolls that row instead of wrapping a seventh league such as Others.
 */
#primary-menu .rz-mega-catalog .mega-menu-content>.menu-item-mega {
  flex: 0 0 auto;
  width: max-content;
  max-width: none;
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

#primary-menu .rz-mega-catalog .menu-item-mega>.sub-menu>li>a {
  white-space: nowrap;
}

#primary-menu .rz-mega-catalog .menu-item-mega:has(>.sub-menu>li:nth-child(20))>.sub-menu {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(14, auto);
  align-items: start;
  column-gap: 24px;
  width: max-content;
  height: auto;
}

/*
 * Clubs keeps the National Teams column gap (24px). A league cannot grow
 * past 160px — widest national column, plus room for the longest club
 * word and its crest — so one long name cannot open a wider gap.
 * Shorter leagues still shrink to their labels.
 */
#primary-menu .rz-mega-catalog.rz-mega-cols-7 .mega-menu-content>.menu-item-mega {
  width: max-content;
  max-width: 160px;
  min-width: 0;
}

#primary-menu .rz-mega-catalog.rz-mega-cols-7 .menu-item-mega:has(>.sub-menu>li:nth-child(20)) {
  max-width: 344px;
}

#primary-menu .rz-mega-catalog.rz-mega-cols-7 .menu-item-mega>.sub-menu {
  width: auto;
  max-width: 100%;
  min-width: 0;
}

#primary-menu .rz-mega-catalog.rz-mega-cols-7 .menu-item-mega>.sub-menu>li {
  max-width: 100%;
}

#primary-menu .rz-mega-catalog.rz-mega-cols-7 .menu-item-mega>.sub-menu>li>a {
  white-space: normal;
  max-width: 100%;
}

#primary-menu .rz-mega-catalog.rz-mega-cols-7 .menu-item-mega:has(>.sub-menu>li:nth-child(20))>.sub-menu {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 24px;
}

/*
 * Mega Menu Open Settings. A directory with data-rz-open-mode leaves the
 * automatic 20-item grid and the clubs width cap. Column and row counts
 * come from --rz-open-cols / --rz-open-rows on that group.
 */
#primary-menu .rz-mega-catalog .mega-menu-content>div.menu-item-mega:has(>a[data-rz-open-mode]) {
  width: max-content;
  max-width: none;
  min-width: 0;
}

#primary-menu .rz-mega-catalog.rz-mega-cols-7 .mega-menu-content>div.menu-item-mega:has(>a[data-rz-open-mode]) {
  max-width: none;
}

#primary-menu .rz-mega-catalog .mega-menu-content>div.menu-item-mega:has(>a[data-rz-open-mode])>ul.sub-menu {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--rz-open-rows, 1), auto);
  grid-template-columns: repeat(var(--rz-open-cols, 1), max-content);
  align-items: start;
  column-gap: 24px;
  width: max-content;
  max-width: none;
  min-width: 0;
  height: auto;
}

#primary-menu .rz-mega-catalog.rz-mega-cols-7 .mega-menu-content>div.menu-item-mega:has(>a[data-rz-open-mode])>ul.sub-menu {
  width: max-content;
  max-width: none;
  grid-template-columns: repeat(var(--rz-open-cols, 1), max-content);
}

#primary-menu .rz-mega-catalog .mega-menu-content>div.menu-item-mega:has(>a[data-rz-open-mode])>ul.sub-menu>li {
  max-width: none;
}

#primary-menu .rz-mega-catalog .mega-menu-content>div.menu-item-mega:has(>a[data-rz-open-mode])>ul.sub-menu>li>a {
  white-space: nowrap;
  max-width: none;
}

#primary-menu .rz-mega-open-hidden {
  display: none !important;
}

#primary-menu .rz-mega-all>a {
  font-weight: 600;
}

/*
 * Display on a top-level item uses the same grid as a directory.
 * Automatic items have no data-rz-open-mode, so this stays off.
 * This selector beats #primary-menu .rz-mega-catalog .dropdown-submenu
 * (same classes, plus ul/li/ul), so catalog panels need the override
 * below to stay 100vw. The inner column grid is unchanged.
 */
#primary-menu > ul > li.rz-open-mode > ul.dropdown-submenu {
  width: max-content !important;
  max-width: min(1240px, calc(100vw - 64px));
  overflow-x: auto;
}

#primary-menu > ul > li.rz-mega-catalog.rz-open-mode > ul.dropdown-submenu {
  width: 100vw !important;
  max-width: none;
  overflow-x: visible;
}

#primary-menu > ul > li.rz-open-mode > ul.dropdown-submenu > li.mega-menu-content {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--rz-open-rows, 1), auto);
  grid-template-columns: repeat(var(--rz-open-cols, 1), max-content);
  align-items: start;
  column-gap: 24px;
  row-gap: 28px;
  width: max-content;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  float: none;
  justify-content: start;
}

/*
 * Catalog + columns: the rule above pins the grid to the left.
 * Center it like Automatic catalog menus, and keep the same max width.
 * The column grid itself stays.
 */
#primary-menu > ul > li.rz-mega-catalog.rz-open-mode > ul.dropdown-submenu > li.mega-menu-content {
  width: max-content;
  max-width: min(1240px, calc(100vw - 64px));
  margin-left: auto;
  margin-right: auto;
  /* Same rhythm as catalog team rows (.sub-menu > li margin-bottom). */
  row-gap: 9px;
}

/*
 * Flat catalog columns are .menu-item-mega > a, so the theme treats them
 * as column headings (16px / 500 / margin-bottom 10px). Match team links.
 */
#primary-menu > ul > li.rz-mega-catalog.rz-open-mode > ul.dropdown-submenu > li.mega-menu-content > .menu-item-mega > a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}

#primary-menu > ul > li.rz-open-mode > ul.dropdown-submenu > li.mega-menu-content > .menu-item-mega {
  flex: none;
  width: max-content;
  max-width: none;
  min-width: 0;
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

#primary-menu > ul > li.rz-open-mode > ul.dropdown-submenu:not(:has(> li.mega-menu-content)) {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(var(--rz-open-rows, 1), auto);
  grid-template-columns: repeat(var(--rz-open-cols, 1), max-content);
  align-items: start;
  column-gap: 24px;
  float: none;
}

/*
 * Hidden second-level columns preserve desktop mega-menu layout.
 * Scope to #primary-menu so mobile bottom-nav / hamburger menus are not broken.
 */
#primary-menu .rz-hidden-menu-column>a {
  display: none !important;
}

#primary-menu .rz-hidden-menu-column>.sub-menu {
  padding: 0;
}

/*
 * Mobile menus: hidden column titles stay hidden, but team links under those
 * columns must show when the parent league item is expanded.
 */
#mobile-category-menu-modal .rz-hidden-menu-column>a,
#mobile-menu-modal .rz-hidden-menu-column>a,
#hamburger-modal .rz-hidden-menu-column>a,
#mobile-category-menu-modal .hide-text>a,
#mobile-menu-modal .hide-text>a,
#hamburger-modal .hide-text>a {
  display: none !important;
}

#mobile-category-menu-modal li.active>.sub-menu>.rz-hidden-menu-column>.sub-menu,
#mobile-menu-modal li.active>.sub-menu>.rz-hidden-menu-column>.sub-menu,
#mobile-category-menu-modal li.active>.sub-menu>.hide-text>.sub-menu,
#mobile-menu-modal li.active>.sub-menu>.hide-text>.sub-menu,
#mobile-category-menu-modal li.active>.dropdown-submenu>.rz-hidden-menu-column>.sub-menu,
#mobile-menu-modal li.active>.dropdown-submenu>.rz-hidden-menu-column>.sub-menu,
#mobile-category-menu-modal li.active>.dropdown-submenu>.hide-text>.sub-menu,
#mobile-menu-modal li.active>.dropdown-submenu>.hide-text>.sub-menu,
#hamburger-modal li.active>.sub-menu>.rz-hidden-menu-column>.sub-menu,
#hamburger-modal li.active>.sub-menu>.hide-text>.sub-menu,
#hamburger-modal li.active>.dropdown-submenu>.rz-hidden-menu-column>.sub-menu,
#hamburger-modal li.active>.dropdown-submenu>.hide-text>.sub-menu {
  display: block !important;
  padding: 0;
}

#mobile-category-menu-modal .rz-hidden-menu-column,
#mobile-menu-modal .rz-hidden-menu-column,
#hamburger-modal .rz-hidden-menu-column {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/*
 * Mobile top hamburger + bottom-nav menus: compact menu icons (team badges).
 * Parent theme leaves <img> unconstrained, so icons render at upload size.
 */
#mobile-menu-modal .nav-menu a,
#mobile-category-menu-modal .nav-menu a,
#hamburger-modal .nav-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
}

#mobile-menu-modal .nav-menu a img,
#mobile-category-menu-modal .nav-menu a img,
#hamburger-modal .nav-menu a img {
  display: block;
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

#mobile-menu-modal .nav-menu a .razzi-svg-icon,
#mobile-category-menu-modal .nav-menu a .razzi-svg-icon,
#hamburger-modal .nav-menu a .razzi-svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  font-size: 22px;
  line-height: 1;
}

#mobile-menu-modal .nav-menu a .razzi-svg-icon svg,
#mobile-category-menu-modal .nav-menu a .razzi-svg-icon svg,
#hamburger-modal .nav-menu a .razzi-svg-icon svg {
  width: 22px;
  height: 22px;
}

#mobile-menu-modal .nav-menu>li>a img,
#mobile-category-menu-modal .nav-menu>li>a img,
#hamburger-modal .nav-menu>li>a img,
#mobile-menu-modal .nav-menu>li>a .razzi-svg-icon,
#mobile-category-menu-modal .nav-menu>li>a .razzi-svg-icon,
#hamburger-modal .nav-menu>li>a .razzi-svg-icon,
#mobile-menu-modal .nav-menu>li>a .razzi-svg-icon svg,
#mobile-category-menu-modal .nav-menu>li>a .razzi-svg-icon svg,
#hamburger-modal .nav-menu>li>a .razzi-svg-icon svg {
  width: 24px;
  height: 24px;
  max-width: 24px;
  max-height: 24px;
  flex-basis: 24px;
}

#primary-menu .rz-mega-catalog .mega-menu-content {
  float: none;
  justify-content: flex-start;
  align-items: flex-start;
  column-gap: 24px;
  row-gap: 28px;
  width: max-content;
  max-width: min(1240px, calc(100vw - 64px));
  margin-left: auto;
  margin-right: auto;
}

/*
 * Desktop catalog headings stay on one row. A 1240px cap wrapped Clubs'
 * seventh league (Others) while wider viewports still had room. Scroll the
 * row when it is wider than the viewport. Team lists stay in the columns,
 * so the panel still opens. Mobile nav is not #primary-menu.
 */
@media (min-width: 992px) {
  #primary-menu .rz-mega-catalog .mega-menu-content {
    flex-wrap: nowrap;
    width: max-content;
    max-width: calc(100vw - 64px);
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
  }
}

/*
 * Header stacking: stay above page content, below Razzi drawers (.rz-modal = 1042).
 * Fullscreen module overlays use ~1050 (see team-favorites / gender-shop CSS).
 */
#site-header {
  position: relative;
  z-index: 999;
}

#primary-menu .rz-mega-catalog .dropdown-submenu {
  width: 100vw !important;
  left: 50%;
  z-index: 1000;
}

/*
 * Catalog product photos: transparent pixels read as white.
 * The link holds the loop image and, when present, the hover/secondary image.
 * Opaque pixels are unchanged. Wishlist icons sit outside this link.
 */
body.razzi-catalog-page ul.products li.product .product-thumbnail .woocommerce-LoopProduct-link img,
body.razzi-catalog-page ul.products li.product .product-thumbnail .woocommerce-loop-product__link img {
  background-color: #fff;
}

/*
 * Single product gallery: transparent pixels read as white.
 * Main image, image thumbnails, the jquery-zoom enlarged image (.zoomImg),
 * and the PhotoSwipe image. The mobile gallery is a clone of this markup,
 * so the same selectors cover it. Opaque pixels stay unchanged.
 * Do not paint .flex-control-thumbs li: under 992px those items are the
 * 8px pager dots, not the thumbnail pictures.
 */
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image:not(.razzi-product-video),
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image:not(.razzi-product-video) > a,
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image > .zoomImg,
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img,
body.single-product .pswp img.pswp__img {
  background-color: #fff;
}

/*
 * Product loop icon buttons (wishlist / quick view / compare): keep 40x40 squares.
 * WP .wp-element-button padding + column flex stretch was widening them into ovals.
 */
ul.products li.product .product-loop__buttons {
  align-items: center;
  width: auto;
}

ul.products li.product .product-loop__buttons .rz-loop_button {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  max-width: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 0 !important;
  box-sizing: border-box;
  flex: 0 0 40px;
  line-height: 1;
  /* Override WP .wp-element-button { color:#fff } — white heart on white circle. */
  color: var(--rz-color-dark, #111);
}

ul.products li.product .product-loop__buttons .rz-loop_button:hover {
  color: var(--rz-background-text-color-primary, #fff);
}

ul.products li.product .product-loop__buttons .wcboost-wishlist-button__icon,
ul.products li.product .product-loop__buttons .wcboost-products-compare-button__icon {
  margin: 0 !important;
}

ul.products li.product .product-loop__buttons .wcboost-wishlist-button .wcboost-wishlist-button__icon svg {
  stroke: currentColor;
  fill: none;
}

/* -------------------------------------------------------------------------
 * Topbar: vertically align truck icon with free-shipping text.
 * ------------------------------------------------------------------------- */
.razzi-topbar__text {
  align-items: center;
}

.razzi-topbar__text p {
  margin: 0;
  line-height: 1;
}

.razzi-topbar__text .razzi-svg-icon {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

/* -------------------------------------------------------------------------
 * Footer newsletter: label left-aligned; email + submit one aligned row.
 * ------------------------------------------------------------------------- */
.site-footer .footer-newsletter .mc4wp-form-fields {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 570px;
  margin: 0 auto;
  text-align: left;
}

.site-footer .footer-newsletter .mc4wp-form-fields>label,
.site-footer .footer-newsletter .mc4wp-form-fields>p>label {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  text-align: left;
  color: inherit;
}

.site-footer .footer-newsletter .mc4wp-form-fields .rz-newsletter-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 5px;
  width: 100%;
}

.site-footer .footer-newsletter .mc4wp-form-fields .rz-newsletter-row input[type="email"] {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 52px;
  margin: 0;
  padding: 0 20px;
  line-height: 52px;
  box-sizing: border-box;
}

.site-footer .footer-newsletter .mc4wp-form-fields .rz-newsletter-row input[type="submit"] {
  flex: 0 0 auto;
  height: 52px;
  margin: 0;
  padding: 0 28px;
  line-height: 52px;
  box-sizing: border-box;
  align-self: stretch;
}

/* Mobile: prevent parent theme width:100% from crushing email + overflowing submit. */
@media (max-width: 767px) {

  .site-footer .footer-newsletter .footer-container,
  .site-footer .footer-newsletter .newsletter-content,
  .site-footer .footer-newsletter .mc4wp-form,
  .site-footer .footer-newsletter .mc4wp-form-fields {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .site-footer .footer-newsletter .mc4wp-form-fields {
    padding-left: 0;
    padding-right: 0;
  }

  .site-footer .footer-newsletter .mc4wp-form-fields .rz-newsletter-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 5px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .site-footer .footer-newsletter .mc4wp-form-fields .rz-newsletter-row input[type="email"] {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
    max-width: 100%;
    margin: 0 !important;
    box-sizing: border-box;
  }

  .site-footer .footer-newsletter .mc4wp-form-fields .rz-newsletter-row input[type="submit"] {
    flex: 0 0 auto;
    width: auto !important;
    max-width: none;
    margin: 0 !important;
    padding: 0 18px;
    box-sizing: border-box;
    white-space: nowrap;
  }
}

/* -------------------------------------------------------------------------
 * Footer payment icons: smaller, single row, no wrap.
 * ------------------------------------------------------------------------- */
.site-footer .footer-payments .payments {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.site-footer .footer-payments .payments li {
  display: flex;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.site-footer .footer-payments .payments li a,
.site-footer .footer-payments .payments li span {
  display: flex;
  align-items: center;
  line-height: 1;
}

.site-footer .footer-payments .payments img {
  display: block;
  width: auto;
  height: 18px;
  max-height: 18px;
  max-width: 42px;
  object-fit: contain;
}

@media (max-width: 782px) {
  .footer-main .footer-right {
    text-align: center;
    justify-content: center;
  }

  .site-footer .footer-payments .payments {
    justify-content: center;
  }

  .site-footer .footer-payments .payments img {
    height: 16px;
    max-height: 16px;
    max-width: 38px;
  }
}

/* -------------------------------------------------------------------------
 * Recoup return portal: light theme (white bg, no rounded card shell).
 * Overrides plugin dark-theme tokens without changing return flow markup.
 * ------------------------------------------------------------------------- */
.recoup-portal {
  --recoup-primary: #4338CA;
  --recoup-primary-hover: #3730A3;
  --recoup-primary-light: rgba(67, 56, 202, 0.1);
  --recoup-primary-text: #4338CA;

  --recoup-success: #059669;
  --recoup-success-hover: #047857;
  --recoup-success-light: rgba(5, 150, 105, 0.1);
  --recoup-success-text: #047857;
  --recoup-danger: #DC2626;
  --recoup-danger-light: rgba(220, 38, 38, 0.08);
  --recoup-warning: #D97706;
  --recoup-warning-light: rgba(217, 119, 6, 0.1);
  --recoup-info: #2563EB;
  --recoup-info-light: rgba(37, 99, 235, 0.08);

  --recoup-text: #111827;
  --recoup-text-muted: #4B5563;
  --recoup-text-light: #6B7280;
  --recoup-bg: #fff;
  --recoup-bg-subtle: #F9FAFB;
  --recoup-bg-muted: #F3F4F6;
  --recoup-border: rgba(17, 24, 39, 0.12);
  --recoup-border-light: rgba(17, 24, 39, 0.06);

  --recoup-shadow-sm: none;
  --recoup-shadow: none;
  --recoup-shadow-md: none;
  --recoup-shadow-lg: none;

  --recoup-radius-sm: 0;
  --recoup-radius: 0;
  --recoup-radius-lg: 0;
  --recoup-radius-xl: 0;

  background: #fff;
  border-radius: 0;
  border: none;
  box-shadow: none;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.recoup-portal .recoup-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Status toggle: allow wrapping so long label does not overflow on mobile. */
.recoup-portal .recoup-status-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  white-space: normal;
  text-align: left;
  line-height: 1.4;
  max-width: 100%;
  box-sizing: border-box;
}

.recoup-portal .recoup-status-toggle-icon {
  justify-self: end;
}

@media (max-width: 768px) {
  .recoup-portal {
    border-radius: 0;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .recoup-portal .recoup-status-section {
    padding: var(--recoup-space-md);
    max-width: 100%;
    box-sizing: border-box;
  }

  .recoup-portal .recoup-btn {
    white-space: normal;
    height: auto;
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
  }

  .recoup-portal .recoup-field-inline {
    flex-wrap: wrap;
  }

  .recoup-portal .recoup-field-inline .recoup-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .recoup-portal {
    border-radius: 0;
  }
}

/*
 * Footer extra menu (mobile): two columns.
 * Left: About Us / Contact Us / FAQs / Delivery & Shipping / Refund and Returns
 * Right: Terms / Privacy / Cookies / Cookie Preferences
 */
@media (max-width: 959px) {
  #footer-menu.footer-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
    grid-template-rows: repeat(6, auto);
    column-gap: 16px;
    row-gap: 10px;
    margin: 0;
    text-align: left;
  }

  #footer-menu.footer-menu>li {
    display: block;
    padding: 0;
    width: auto;
  }
}

/* Category thumbnail fallback for desktop Mega Menu items without a custom icon. */
.main-navigation .razzi-menu-cat-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
}

/*
 * Topbar currency switcher (WOOCS selectron23)
 * Desktop (#topbar) + mobile (#topbar-mobile):
 * match topbar height (50px), spacing, hover, and a subtle loader.
 */
#topbar [data-woocs-sd],
#topbar .selectron23,
#topbar-mobile [data-woocs-sd],
#topbar-mobile .selectron23 {
  width: 135px !important;
  min-width: 135px !important;
  max-width: 100%;
  flex-basis: 135px !important;
  height: 50px !important;
}

#topbar .selectron23-container,
#topbar-mobile .selectron23-container {
  width: 135px !important;
}

/*
 * Mobile topbar items get 20px of horizontal padding from the parent theme
 * (.mobile-topbar-items > *). This control is already 135px, so that padding
 * paints about 20px past #topbar-mobile and the page pans sideways.
 * Clear it on the currency item only. overflow-x on #topbar-mobile would also
 * clip the open list: .selectron23-container is position:absolute and grows
 * below the 45px bar.
 */
#topbar-mobile .mobile-topbar-items > [data-woocs-sd] {
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

/*
 * Keep currency below Razzi slide-out modals (z-index: 1042).
 * Closed: stay under header so cart/search are not covered.
 * Open: sit above topbar/header border (~99-999) but still under modals.
 */
#topbar [data-woocs-sd],
#topbar .selectron23,
#topbar .selectron23-container,
#topbar-mobile [data-woocs-sd],
#topbar-mobile .selectron23,
#topbar-mobile .selectron23-container {
  z-index: 20 !important;
}

#topbar [data-woocs-sd]:has(.selectron23-container[data-opened="1"]),
#topbar .selectron23:has(.selectron23-container[data-opened="1"]),
#topbar .selectron23-container[data-opened="1"],
#topbar-mobile [data-woocs-sd]:has(.selectron23-container[data-opened="1"]),
#topbar-mobile .selectron23:has(.selectron23-container[data-opened="1"]),
#topbar-mobile .selectron23-container[data-opened="1"] {
  z-index: 1030 !important;
}

#topbar .selectron23-container[data-opened="0"],
#topbar-mobile .selectron23-container[data-opened="0"] {
  min-height: 50px !important;
  max-height: 50px !important;
  height: 50px !important;
}

#topbar .selectron23-container .selectron23-option,
#topbar-mobile .selectron23-container .selectron23-option {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 28px 0 14px;
  margin-bottom: 0 !important;
}

#topbar .selectron23-container .selectron23-option:hover,
#topbar-mobile .selectron23-container .selectron23-option:hover {
  background: #408267 !important;
}

#topbar .selectron23-option > div,
#topbar-mobile .selectron23-option > div {
  order: 1;
  flex: 0 0 auto;
  min-width: 0;
}

#topbar .selectron23-option img,
#topbar .selectron23-option .selectron23-img,
#topbar-mobile .selectron23-option img,
#topbar-mobile .selectron23-option .selectron23-img {
  order: 2;
  float: none !important;
  margin: 0 !important;
  max-height: 16px !important;
  height: 16px !important;
  width: auto !important;
  flex: 0 0 auto;
}

#topbar .selectron23-option-title,
#topbar-mobile .selectron23-option-title {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

#topbar .selectron23-container > span,
#topbar-mobile .selectron23-container > span {
  right: 10px;
  top: 50%;
  margin-top: -2px;
}

/* Subtle loader: tiny low-contrast dots instead of large blue ellipsis */
#topbar .woocs-lds-ellipsis,
#topbar-mobile .woocs-lds-ellipsis {
  display: block;
  position: relative;
  width: 28px;
  height: 50px;
  margin: 0 auto;
  opacity: 0.35;
}

#topbar .woocs-lds-ellipsis div,
#topbar-mobile .woocs-lds-ellipsis div {
  position: absolute;
  top: 23px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

#topbar .woocs-lds-ellipsis div:nth-child(1),
#topbar-mobile .woocs-lds-ellipsis div:nth-child(1) {
  left: 2px;
  animation: razzi-woocs-lds-ellipsis1 0.7s infinite;
}

#topbar .woocs-lds-ellipsis div:nth-child(2),
#topbar-mobile .woocs-lds-ellipsis div:nth-child(2) {
  left: 2px;
  animation: razzi-woocs-lds-ellipsis2 0.7s infinite;
}

#topbar .woocs-lds-ellipsis div:nth-child(3),
#topbar-mobile .woocs-lds-ellipsis div:nth-child(3) {
  left: 10px;
  animation: razzi-woocs-lds-ellipsis2 0.7s infinite;
}

#topbar .woocs-lds-ellipsis div:nth-child(4),
#topbar-mobile .woocs-lds-ellipsis div:nth-child(4) {
  left: 18px;
  animation: razzi-woocs-lds-ellipsis3 0.7s infinite;
}

@keyframes razzi-woocs-lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes razzi-woocs-lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(8px, 0);
  }
}

@keyframes razzi-woocs-lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

/* -------------------------------------------------------------------------
 * Checkout payment icons stay inside the method row and marquee slowly.
 * ------------------------------------------------------------------------- */
.wc-block-checkout__main,
.wp-block-woocommerce-checkout-fields-block,
.wc-block-checkout__payment-method,
.wp-block-woocommerce-checkout-payment-block {
  min-width: 0 !important;
  max-width: 100%;
}

.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__option,
.wc-block-checkout__payment-method .wc-block-components-radio-control__option,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__label-group,
.wc-block-checkout__payment-method .wc-block-components-radio-control__label-group,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-radio-control__label,
.wc-block-checkout__payment-method .wc-block-components-radio-control__label {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.payf-unified-label {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.payf-unified-icons {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* -------------------------------------------------------------------------
 * Checkout place order button: full width, label left, arrow right.
 * The selector needs four classes to outrank woocommerce.css, which loads
 * after this file and pins the button to width: auto, and Woo's own
 * body:not(...) rule that caps the height at 3em.
 * ------------------------------------------------------------------------- */
.wp-block-woocommerce-checkout .wc-block-checkout__actions .wc-block-checkout__actions_row {
  flex-wrap: wrap;
  row-gap: 16px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__actions .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
  flex: 1 0 100%;
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  justify-content: space-between;
  border: 0;
  border-radius: 0;
  background-color: rgb(64, 130, 103);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.wp-block-woocommerce-checkout .wc-block-checkout__actions .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover,
.wp-block-woocommerce-checkout .wc-block-checkout__actions .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:focus {
  background-color: rgb(48, 110, 86);
  color: #fff;
}

.wp-block-woocommerce-checkout .wc-block-checkout__actions .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button::after {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 10px;
  margin-left: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="10" fill="none"><path d="M0 5h23M18.5.5 23.5 5l-5 4.5" stroke="%23ffffff"/></svg>') no-repeat center / contain;
}

.wp-block-woocommerce-checkout .wc-block-checkout__actions .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button--loading::after {
  visibility: hidden;
}
/* -------------------------------------------------------------------------
 * Pay for order page (email recall links land here).
 * The form-pay.php override carries .woocommerce-checkout-payment so the
 * theme's payment styles apply, leaving only what the theme itself has no
 * rule for: the list reset WooCommerce's own stylesheet would have provided
 * if the theme had not dropped it, and the submit button, which form-pay.php
 * renders outside the .place-order wrapper the theme styles.
 * ------------------------------------------------------------------------- */
form#order_review .payment_methods {
  list-style: none;
}

form#order_review .payment_methods > li {
  padding: 16px 20px;
}

form#order_review .payment_methods > li > label {
  font-size: 13px;
  font-weight: 500;
  color: #525252;
}

/* The icon rail fills its container on the block checkout, but here that
   would squeeze the label text out of one line, so it is sized to its icons
   and pushed to the end of the row instead. */
form#order_review .payment_methods > li > label .payf-icons {
  flex: 0 0 auto;
  width: auto;
  margin-left: auto;
}

form#order_review .payment_methods > li:has(input:checked) {
  border-color: #1c1c1c;
}

form#order_review > .form-row,
form#order_review #payment > .form-row {
  width: 100%;
  padding: 0;
  margin: 20px 0 0;
}

form#order_review #place_order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 56px;
  margin-top: 20px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background-color: rgb(64, 130, 103);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

form#order_review #place_order:hover,
form#order_review #place_order:focus {
  background-color: rgb(48, 110, 86);
  color: #fff;
}

form#order_review #place_order::after {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 10px;
  margin-left: 16px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="10" fill="none"><path d="M0 5h23M18.5.5 23.5 5l-5 4.5" stroke="%23ffffff"/></svg>') no-repeat center / contain;
}

/* -------------------------------------------------------------------------
 * Payment-options error rail: black banner, no icon, no dismiss control.
 * The gateway message itself is unchanged; only the chrome around it.
 * ------------------------------------------------------------------------- */
.wc-block-checkout__payment-method .wc-block-components-notice-banner.is-error,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-notice-banner.is-error {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 16px;
  padding: 24px 28px !important;
  border: 0;
  border-radius: 0;
  background-color: #000;
  color: #fff;
  text-align: left;
}

.wc-block-checkout__payment-method .wc-block-components-notice-banner.is-error::before,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-notice-banner.is-error::before {
  content: "PAYMENT FAILED";
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

html[lang^="de"] .wc-block-checkout__payment-method .wc-block-components-notice-banner.is-error::before,
html[lang^="de"] .wp-block-woocommerce-checkout-payment-block .wc-block-components-notice-banner.is-error::before {
  content: "ZAHLUNG FEHLGESCHLAGEN";
}

.wc-block-checkout__payment-method .wc-block-components-notice-banner.is-error > svg,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-notice-banner.is-error > svg,
.wc-block-checkout__payment-method .wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__image,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-notice-banner.is-error .wc-block-components-notice-banner__image,
.wc-block-checkout__payment-method .wc-block-components-notice-banner.is-error > .wc-block-components-button,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-notice-banner.is-error > .wc-block-components-button {
  display: none !important;
}

.wc-block-checkout__payment-method .wc-block-components-notice-banner.is-error > .wc-block-components-notice-banner__content,
.wp-block-woocommerce-checkout-payment-block .wc-block-components-notice-banner.is-error > .wc-block-components-notice-banner__content {
  align-self: stretch;
  width: 100%;
  padding: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}
