/**
 * Accessibility touch targets.
 * Printed at the historical wp_head priority to preserve the cascade.
 */
body.rp-theme {
  --rp-touch-target:48px;
  --rp-touch-gap:8px;
}
body.rp-theme :where(
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  select,
  summary,
  [role="button"],
  [role="tab"],
  [role="menuitem"],
  .desktop-nav a,
  .desktop-dropdown a,
  .desktop-dropdown button,
  .desktop-actions button,
  .mobile-header button,
  .bottom-nav a,
  .bottom-nav button,
  .drawer a,
  .drawer button,
  .search-box button,
  .search-full .search-results a,
  .search-full .search-results button,
  .cta-row a,
  .cta-row button,
  .site-footer a,
  .site-footer button,
  .footer-social-links a,
  .home-social-links a,
  .footer-cookie-button,
  .product-name a,
  .product-card button,
  .quick-add,
  .like-btn,
  .wishlist-single,
  .cart-remove,
  .wishlist-actions a,
  .wishlist-actions button,
  .rp-mag-tabs a,
  .rp-review-actions a,
  .rp-web-stories-link,
  .rp-mobile-mag-tabs a,
  .rp-mobile-mag-tabs button,
  .rp-mobile-mag-row,
  .rp-link-card,
  .wp-block-button__link,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce .button,
  .added_to_cart,
  .page-numbers,
  .woocommerce-pagination a,
  .woocommerce-pagination span,
  .woocommerce-MyAccount-navigation a,
  .cm__btn,
  .cm__link,
  .cc-btn,
  .cc-link,
  .cky-btn,
  .cky-policy,
  [data-cc],
  [data-role="show"],
  [data-open-search],
  [data-open-drawer],
  [data-cart-link],
  [data-wishlist-toggle],
  [data-rp-age-open],
  [data-rp-cc-preferences]
) {
  min-width:var(--rp-touch-target);
  min-height:var(--rp-touch-target);
}
body.rp-theme :where(
  .desktop-nav a,
  .desktop-dropdown a,
  .desktop-dropdown button,
  .desktop-actions button,
  .mobile-header button,
  .bottom-nav a,
  .bottom-nav button,
  .drawer a,
  .drawer button,
  .search-box button,
  .search-full .search-results a,
  .search-full .search-results button,
  .cta-row a,
  .cta-row button,
  .site-footer a,
  .site-footer button,
  .footer-social-links a,
  .home-social-links a,
  .footer-cookie-button,
  .quick-add,
  .like-btn,
  .wishlist-single,
  .cart-remove,
  .wishlist-actions a,
  .wishlist-actions button,
  .rp-mag-tabs a,
  .rp-review-actions a,
  .rp-web-stories-link,
  .rp-mobile-mag-tabs a,
  .rp-mobile-mag-tabs button,
  .wp-block-button__link,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce .button,
  .added_to_cart,
  .page-numbers,
  .woocommerce-pagination a,
  .woocommerce-pagination span,
  .woocommerce-MyAccount-navigation a,
  .cm__btn,
  .cm__link,
  .cc-btn,
  .cc-link,
  .cky-btn,
  .cky-policy,
  [data-cc],
  [data-role="show"],
  [data-open-search],
  [data-open-drawer],
  [data-cart-link],
  [data-wishlist-toggle],
  [data-rp-age-open],
  [data-rp-cc-preferences]
) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
body.rp-theme :where(
  .desktop-nav,
  .desktop-actions,
  .desktop-dropdown,
  .cta-row,
  .wishlist-actions,
  .footer-social-links,
  .home-social-links,
  .rp-mag-tabs,
  .rp-review-actions,
  .rp-mobile-mag-tabs,
  .category-strip,
  .mobile-filter-bar,
  .woocommerce-pagination ul.page-numbers
) {
  gap:max(var(--rp-touch-gap), 8px);
}
body.rp-theme :where(
  .site-footer-col,
  .drawer-body,
  .cart-drawer-lines,
  .rp-web-stories-list,
  .rp-faq-list,
  .woocommerce-MyAccount-navigation ul
) {
  gap:max(var(--rp-touch-gap), 8px);
}
body.rp-theme :where(.site-footer a, .site-footer button, .footer-cookie-button) {
  width:fit-content;
  padding-left:12px;
  padding-right:12px;
  margin-left:-12px;
  margin-right:-12px;
}
body.rp-theme :where(.like-btn, .icon-button, .mobile-icon, .product-lightbox-close, .product-lightbox-nav) {
  width:var(--rp-touch-target);
  height:var(--rp-touch-target);
}
body.rp-theme :where(
  .desktop-search-pill,
  .product-card .quick-add,
  .site-main button.quick-add,
  .site-main a.quick-add,
  .single_add_to_cart_button,
  .gallery-open-hint,
  .footer-cookie-button,
  .rp-mag-card-cta
) {
  min-height:var(--rp-touch-target);
}
body.rp-theme :where(.cm__btn, .cc-btn, .cky-btn, [data-role="show"], .search-box button) {
  padding-left:18px;
  padding-right:18px;
}
body.rp-theme :where(.cm__link, .cc-link, .cky-policy) {
  padding-left:8px;
  padding-right:8px;
}
body.rp-theme.rp-shop-context :where(
  .category-strip .pill,
  .filter-group label,
  .mobile-filter-bar > button,
  .mobile-filter-bar select,
  .woocommerce-ordering select,
  .woocommerce-pagination a,
  .woocommerce-pagination span,
  .page-numbers a,
  .page-numbers span,
  .filter-panel a,
  .filter-panel button,
  .filter-panel input[type="submit"],
  .filter-panel .button
) {
  min-width:48px;
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
body.rp-theme.single-product :where(
  .thumb,
  .single-actions a,
  .single-actions button,
  .single-actions input[type="submit"],
  form.cart button,
  form.cart .button,
  .quantity input,
  .wishlist-single,
  .sticky-buy a,
  .sticky-buy button,
  .product-lightbox-close,
  .product-lightbox-nav,
  .comment-form-rating .stars a,
  .rp-review-actions a
) {
  min-width:48px;
  min-height:48px;
}
body.rp-theme :where(
  .woocommerce-cart-form a,
  .woocommerce-cart-form button,
  .woocommerce-cart-form input[type="submit"],
  .woocommerce-cart-form .button,
  .woocommerce-checkout a,
  .woocommerce-checkout button,
  .woocommerce-checkout input[type="submit"],
  .woocommerce-checkout .button,
  .woocommerce-MyAccount-content a.button,
  .woocommerce-MyAccount-content button,
  .woocommerce-MyAccount-content input[type="submit"],
  .woocommerce-MyAccount-content .button,
  .wc-proceed-to-checkout a,
  .woocommerce #payment #place_order,
  .woocommerce-page #payment #place_order,
  .rp-wishlist-page a,
  .rp-wishlist-page button,
  .rp-wishlist-page .quick-add,
  .rp-wishlist-page .like-btn
) {
  min-width:48px;
  min-height:48px;
}
@media (max-width:767px) {
  body.rp-theme :where(
    .mobile-header button,
    .bottom-nav a,
    .bottom-nav button,
    .quick-add,
    .like-btn,
    .site-footer a,
    .site-footer button,
    .footer-cookie-button,
    .cart-remove,
    .rp-mobile-mag-tabs a,
    .rp-mobile-mag-tabs button
  ) {
    min-width:48px;
    min-height:48px;
  }
  body.rp-theme .product-card .like-btn {
    width:48px;
    height:48px;
    top:4px;
    right:4px;
  }
  body.rp-theme.single-product .product-lightbox-nav,
  body.rp-theme.single-product .product-lightbox-close {
    width:48px;
    height:48px;
  }
}
