/* Shared request dialog and the fixed catalogue trigger chevron. */
.catalog-trigger em { display: grid; flex: 0 0 0.875rem; width: 0.875rem; height: 0.875rem; margin-left: auto; place-items: center; line-height: 0; }
.catalog-trigger em svg { display: block; width: 0.625rem; height: 0.4375rem; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; transition: transform .2s ease; }
.catalog-trigger[aria-expanded="true"] em svg { transform: rotate(180deg); }

.product-summary__services .product-summary__service-request {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5625rem;
  border: 0;
  border-radius: 0.5625rem;
  background: #fbf9f6;
  color: #92959a;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.product-summary__services .product-summary__service-request:hover { background: #fff1e9; }
.product-summary__services > span > i,
.product-summary__services .product-summary__service-request > i { display: grid; flex: 0 0 2.5rem; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: 0.5625rem; background: #fff0e9; color: #ff5c0a; font-style: normal; }
.product-summary__services .product-summary__service-request > i svg { width: 1.25rem; height: 1.25rem; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.product-summary__services .product-summary__service-request > em { min-width: 0; color: #92959a; font-size: 0.5rem; font-style: normal; line-height: 1.25; }
.product-summary__services .product-summary__service-request b { display: block; margin-bottom: 0.1875rem; color: #33363a; font-size: 0.5625rem; }
.product-page .product-final-cta-shared { margin-top: 0.625rem; padding-bottom: 0; }
.final-cta__card .button.final-cta__button,
.woocommerce .final-cta__card .button.final-cta__button {
  display: flex;
  width: 10.625rem;
  min-height: 2.5rem;
  height: 2.5rem;
  padding: 0.6875rem 1.25rem;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
  border: 0;
  border-radius: 0.5625rem;
  background: #ff5705;
  color: #fff;
  text-align: center;
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.final-cta__card .button.final-cta__button:hover,
.final-cta__card .button.final-cta__button:focus-visible,
.woocommerce .final-cta__card .button.final-cta__button:hover,
.woocommerce .final-cta__card .button.final-cta__button:focus-visible {
  background: #e94d00;
  color: #fff;
}

.product-summary__services > span > em,
.product-summary__services .product-summary__service-request > em {
  font-size: 0.6875rem;
  font-weight: 400;
}
.product-summary__services > span b,
.product-summary__services .product-summary__service-request b {
  font-size: 0.78125rem;
  font-weight: 700;
}

/* Product actions share the same 8–10px corner language. Keep these rules
   after WooCommerce styles so its default 3px buttons cannot leak through. */
.woocommerce .product-page .product-vin button,
.woocommerce .product-page .product-cart__submit,
.woocommerce .product-page .product-wishlist,
.woocommerce .product-page .product-buy-one,
.woocommerce .product-page .product-summary__service-request,
.woocommerce .product-page .product-compatibility aside a,
.woocommerce .product-page .product-reviews__actions .button {
  border-radius: 0.5625rem;
}
.woocommerce .product-page .product-qty { border-radius: 0.5625rem; }
.woocommerce .request-dialog .request-dialog__submit,
.request-dialog .request-dialog__submit {
  min-height: 3.125rem;
  border-radius: 0.5625rem;
}

.request-dialog { width: min(35rem, calc(100% - 2rem)); max-width: none; max-height: calc(100dvh - 2rem); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 1rem; background: #fff; color: #121314; box-shadow: 0 1.75rem 5.625rem rgb(0 0 0 / 28%); }
.request-dialog::backdrop { background: rgb(14 15 17 / 68%); backdrop-filter: blur(0.1875rem); }
.request-dialog__panel { position: relative; padding: 2rem; }
.request-dialog__close { position: absolute; top: 1rem; right: 1rem; display: grid; width: 2.25rem; height: 2.25rem; padding: 0; place-items: center; border: 0.0625rem solid #dddcd9; border-radius: 50%; background: #fff; color: #121314; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.request-dialog__kicker { color: #ff5c0a; font-size: 0.6875rem; font-weight: 800; letter-spacing: .08em; }
.request-dialog h2 { max-width: calc(100% - 2.75rem); margin: 0.4375rem 0 0.375rem; color: #121314; font-size: 1.8125rem; font-weight: 800; line-height: 1.18; }
.request-dialog__lead { margin: 0 0 1.375rem; color: #6b7077; font-size: 0.8125rem; line-height: 1.5; }
.request-dialog form { display: grid; gap: 0.875rem; }

/* Mobile QA fixes: expanded reviews must grow instead of clipping their text,
   and horizontal filter rails should not expose the native scrollbar. */
@media (max-width: 900px) {
  .review-grid .review-card.is-expanded,
  .reviews-grid .review-card.is-expanded,
  .product-review-grid .review-card.is-expanded {
    height: auto;
    min-height: 14rem;
    overflow: visible;
  }
}

@media (max-width: 767px) {
  .reviews-toolbar > div,
  .article-filters {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .reviews-toolbar > div::-webkit-scrollbar,
  .article-filters::-webkit-scrollbar { display: none; }

  .not-found__hero > img {
    z-index: 0;
    display: block;
    pointer-events: none;
  }
  .not-found__hero > div { height: auto; }
}
.request-dialog label { display: grid; gap: 0.375rem; color: #393d42; font-size: 0.75rem; font-weight: 700; }
.request-dialog input,.request-dialog select,.request-dialog textarea { width: 100%; min-width: 0; min-height: 2.875rem; padding: 0.6875rem 0.8125rem; border: 0.0625rem solid #d9d7d3; border-radius: 0.5rem; outline: none; background: #fff; color: #121314; font: 400 0.8125rem/1.4 Manrope,Arial,sans-serif; }
.request-dialog textarea { min-height: 5.375rem; resize: vertical; }
.request-dialog input:focus,.request-dialog select:focus,.request-dialog textarea:focus { border-color: #ff5c0a; box-shadow: 0 0 0 0.1875rem rgb(255 92 10 / 10%); }
.request-dialog__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.request-dialog .request-dialog__submit { width: 100%; min-height: 3.125rem; justify-content: space-between; border-radius: 0.5rem; font-size: 0.84375rem; }
.request-dialog form > small { color: #85898f; font-size: 0.65625rem; line-height: 1.45; }
.request-dialog form > small a { color: #ff5c0a; text-decoration: underline; }
.request-notice { position: fixed; z-index: 10000; top: 1.125rem; left: 50%; display: flex; width: min(35rem, calc(100% - 2rem)); align-items: center; justify-content: space-between; gap: 1rem; padding: 0.875rem 1rem; border: 0.0625rem solid #ffd2bd; border-radius: 0.625rem; background: #fff7f2; color: #121314; box-shadow: 0 0.9375rem 2.8125rem rgb(0 0 0 / 16%); font-size: 0.8125rem; font-weight: 600; transform: translateX(-50%); }
.request-notice button { flex: 0 0 auto; border: 0; background: transparent; color: #ff5c0a; font-size: 1.375rem; cursor: pointer; }

@media (max-width: 767px) {
  .site-search.is-mobile-open {
    position: absolute;
    z-index: 35;
    top: 4.875rem;
    right: 1rem;
    display: flex;
    width: 11.1875rem;
    height: 2.75rem;
    margin: 0;
    overflow: hidden;
    border: 0.0625rem solid #d9d8d5;
    border-radius: 0.4375rem;
    background: #fff;
    box-shadow: 0 0.375rem 1.125rem rgb(18 19 20 / 10%);
  }
  .site-search.is-mobile-open input[type="search"] { width: 8.0625rem; padding: 0 0.5625rem; font-size: 0.6875rem; }
  .site-search.is-mobile-open .site-search__button { display: grid; width: 2.625rem; flex: 0 0 2.625rem; place-items: center; padding: 0; }
  .mobile-search-trigger[aria-expanded="true"] { visibility: hidden; }
  .request-dialog { width: calc(100% - 1.5rem); max-height: calc(100dvh - 1.5rem); border-radius: 0.875rem; }
  .request-dialog__panel { padding: 1.5rem 1.125rem 1.25rem; }
  .request-dialog h2 { font-size: 1.5625rem; }
  .request-dialog__row { grid-template-columns: 1fr; }
}

.product-card__actions .button.is-in-cart,
.category-products-grid .product-card__actions .button.is-in-cart,
.woocommerce .product-card__actions a.button.is-in-cart,
.woocommerce .product-page .product-cart__submit.is-in-cart,
.product-page .product-cart__submit.is-in-cart {
  border: 0.0625rem solid #dcdad6 !important;
  background: #fff !important;
  color: #121314 !important;
}
.product-card__actions .button.is-in-cart:hover,
.woocommerce .product-card__actions a.button.is-in-cart:hover,
.woocommerce .product-page .product-cart__submit.is-in-cart:hover,
.product-page .product-cart__submit.is-in-cart:hover {
  border: 0.0625rem solid #c9c7c2 !important;
  background: #f6f4f1 !important;
  color: #121314 !important;
  transform: none;
}
.product-card__actions .button.is-in-cart::after,
.woocommerce .product-card__actions a.button.is-in-cart::after,
.woocommerce .product-page .product-cart__submit.is-in-cart::after,
.product-page .product-cart__submit.is-in-cart::after { display: none !important; content: none !important; }
.added_to_cart.wc-forward { display: none !important; }

[data-cart-add-area][hidden],
[data-cart-quantity-control][hidden] { display: none !important; }

.product-card__purchase {
  display: flex;
  min-width: 0;
  flex: 1;
}
.product-card__purchase > .button { width: 100%; }
.product-card__quantity-control,
.product-cart__quantity-control {
  display: grid;
  min-width: 0;
  align-items: center;
  overflow: hidden;
  border: 0.0625rem solid #dcdad6;
  border-radius: 0.5rem;
  background: #fff;
  color: #121314;
  grid-template-columns: 2.375rem minmax(0, 1fr) 2.375rem;
}
.product-card__quantity-control { width: 100%; height: 2.5rem; grid-template-columns: 2rem minmax(0, 1fr) 2rem; }
.product-card__quantity-control button,
.product-cart__quantity-control button {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #121314;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
}
.product-card__quantity-control button:hover,
.product-cart__quantity-control button:hover { background: #faf8f5; }
.product-card__quantity-control span,
.product-cart__quantity-control span {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}
.product-card__quantity-control b,
.product-cart__quantity-control b {
  display: inline-grid;
  min-width: 1.5625rem;
  height: 1.5625rem;
  place-items: center;
  padding: 0 0.375rem;
  border-radius: 62.4375rem;
  background: #fff0e9;
  color: #ff5c0a;
  font-size: 0.8125rem;
  line-height: 1;
}
.is-cart-updating { opacity: .62; pointer-events: none; }

.product-cart__add-area {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  align-items: stretch;
  gap: 0.625rem;
}
.woocommerce .product-page .product-cart__add-area > .product-cart__submit,
.product-page .product-cart__add-area > .product-cart__submit {
  width: 100%;
  min-width: 0;
  max-width: none;
  flex: 1 1 auto;
  justify-content: center;
}
.product-page .product-summary { position: relative; }
.woocommerce .product-page .product-wishlist--corner,
.product-page .product-wishlist--corner {
  position: absolute;
  z-index: 2;
  top: 1.375rem;
  right: 1.375rem;
  display: grid;
  width: 2.625rem;
  min-width: 2.625rem;
  height: 2.625rem;
  padding: 0;
  place-items: center;
}
.product-page .product-summary__badges { padding-right: 3.375rem; }
.product-cart__quantity-control {
  height: 3.125rem;
  min-height: 3.125rem;
  flex: 1 1 25rem;
  grid-template-columns: 3.25rem minmax(0, 1fr) 3.25rem;
  border-radius: 0.5625rem;
}
.product-cart__quantity-control span { font-size: 0.875rem; }
.product-cart__quantity-control b { min-width: 1.75rem; height: 1.75rem; font-size: 0.875rem; }

@media (max-width: 767px) {
  .woocommerce .product-page .product-wishlist--corner,
  .product-page .product-wishlist--corner { top: 1rem; right: 1rem; }
  .product-card__quantity-control {
    height: 2.125rem;
    grid-template-columns: 1.9375rem minmax(0, 1fr) 1.9375rem;
  }
  .product-card__quantity-control button { font-size: 1.0625rem; }
  .product-card__quantity-control span { gap: 0.3125rem; font-size: 0.625rem; }
  .product-card__quantity-control b { min-width: 1.3125rem; height: 1.3125rem; padding: 0 0.25rem; font-size: 0.625rem; }
  .product-cart__add-area { flex: 1 1 auto; gap: 0.4375rem; }
  .product-cart__quantity-control { flex: 1 1 auto; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; }
}
