/* RP catalogue styles. Source order and media conditions mirror the asset router. */

/* rp-desktop.css */
@media (min-width: 768px) {
/* Desktop context styles. Unlayered intentionally: loaded after rp-base to preserve verified cascade. */
/* Enterprise desktop shell: desktop header, nav and dropdowns. */

.mobile-header,
.bottom-nav {
  display: none;
}

.desktop-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--desktop-header);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
body.rp-theme.admin-bar .desktop-header {
  top: 32px;
}
@media (min-width: 768px) and (max-width: 782px) {
  body.rp-theme.admin-bar .desktop-header {
    top: 46px;
  }
}

.desktop-header-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 18px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--text,#050505);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.02em;
  font-weight: 900;
}
.brand-mark.brand-mark-site-icon {
  border-radius: 0;
  background: transparent;
  color: inherit;
  overflow: hidden;
}
.brand-mark-site-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-logo img {
  max-height: 46px;
  width: auto;
}
.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.desktop-nav a:hover {
  border-bottom: 1px solid currentColor;
}
.desktop-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  display: grid;
  place-items: center;
  background: var(--surface);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}
.icon-button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}
.icon-button .badge,
.badge {
  position: absolute;
  transform: translate(14px, -13px);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--text,#050505);
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.desktop-search-pill {
  min-width: 170px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 0 18px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  background: var(--surface);
}

@media (min-width: 768px) and (max-width: 1140px) {
  .desktop-search-pill {
    min-width: 128px;
  }
  .product-grid,
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop header dropdown. */
body.rp-theme .desktop-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
}
body.rp-theme .desktop-nav > a,
body.rp-theme .desktop-nav-item > a {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--text,#050505);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
body.rp-theme .desktop-nav-item {
  position: relative;
}
body.rp-theme .desktop-dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.14s ease,
    transform 0.14s ease,
    visibility 0.14s ease;
  z-index: 80;
}
body.rp-theme .desktop-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}
body.rp-theme .desktop-nav-item:hover .desktop-dropdown,
body.rp-theme .desktop-nav-item:focus-within .desktop-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
body.rp-theme .desktop-dropdown a {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  color: var(--text,#050505);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body.rp-theme .desktop-dropdown a:hover,
body.rp-theme .desktop-dropdown a:focus-visible {
  background: var(--rp-cream,#f5f3ee);
}

/* Header category/account dropdowns. */
body.rp-theme .desktop-dropdown button {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text,#050505);
  display: flex;
  align-items: center;
  text-align: left;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
body.rp-theme .desktop-dropdown button:hover,
body.rp-theme .desktop-dropdown button:focus-visible {
  background: var(--rp-cream,#f5f3ee);
}
body.rp-theme .desktop-dropdown-categories {
  min-width: 560px;
  max-width: min(720px, calc(100vw - 48px));
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}
body.rp-theme .desktop-dropdown-parent {
  min-height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  color: var(--rp-brand-brown-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
body.rp-theme .desktop-dropdown-children {
  display: grid;
  gap: 2px;
  padding: 2px 0 0;
}
body.rp-theme .desktop-dropdown-children a {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 9px;
  color: var(--rp-brand-brown-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
body.rp-theme .desktop-dropdown-children a:hover,
body.rp-theme .desktop-dropdown-parent:hover {
  background: var(--rp-brand-brown-soft);
  color: var(--rp-brand-brown-dark);
}

/* Shop dropdown all categories. */
body.rp-theme .desktop-dropdown-categories {
  min-width: 760px;
  max-width: min(920px, calc(100vw - 48px));
  max-height: min(72vh, 720px);
  overflow: auto;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}
body.rp-theme .desktop-dropdown-shop-head,
body.rp-theme .desktop-dropdown-brands-head {
  border-bottom: 1px solid var(--line);
  padding: 0 0 8px;
}
body.rp-theme .desktop-dropdown-shop-head a,
body.rp-theme .desktop-dropdown-brands-head a {
  min-height: 42px;
  border: 1px solid var(--rp-brand-brown);
  border-radius: 12px;
  background: var(--rp-brand-brown);
  color: #fff;
  justify-content: center;
}
body.rp-theme .desktop-dropdown-shop-head a:hover,
body.rp-theme .desktop-dropdown-shop-head a:focus-visible,
body.rp-theme .desktop-dropdown-brands-head a:hover,
body.rp-theme .desktop-dropdown-brands-head a:focus-visible {
  border-color: var(--rp-brand-brown-dark);
  background: var(--rp-brand-brown-dark);
}
body.rp-theme .desktop-dropdown-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
body.rp-theme .desktop-dropdown-group {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 8px;
  background: #fff;
  min-width: 0;
}
body.rp-theme .desktop-dropdown-parent {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  color: var(--rp-brand-brown-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body.rp-theme .desktop-dropdown-children {
  display: grid;
  gap: 2px;
  padding: 3px 0 0;
}
body.rp-theme .desktop-dropdown-node {
  min-width: 0;
}
body.rp-theme .desktop-dropdown-child {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 9px;
  color: var(--rp-brand-brown-dark);
  display: flex;
  align-items: center;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
body.rp-theme .desktop-dropdown-child.depth-2 {
  padding-left: 18px;
  font-size: 9.5px;
}
body.rp-theme .desktop-dropdown-child.depth-3 {
  padding-left: 26px;
}
body.rp-theme .desktop-dropdown-flat {
  border-top: 1px solid var(--line);
  padding-top: 10px;
  display: grid;
  gap: 8px;
}
body.rp-theme .desktop-dropdown-flat p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
body.rp-theme .desktop-dropdown-flat > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
body.rp-theme .desktop-dropdown-flat a {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--rp-brand-brown);
  border-radius: var(--radius-pill);
  color: var(--rp-brand-brown-dark);
  font-size: 9.5px;
  white-space: nowrap;
}
body.rp-theme .desktop-dropdown-parent:hover,
body.rp-theme .desktop-dropdown-child:hover,
body.rp-theme .desktop-dropdown-flat a:hover {
  background: var(--rp-brand-brown-soft);
  color: var(--rp-brand-brown-dark);
}
body.rp-theme .desktop-dropdown :where(a, button):focus-visible {
  outline: 2px solid var(--rp-brand-brown);
  outline-offset: 2px;
}

body.rp-theme .desktop-dropdown-categories .desktop-dropdown-flat {
  display: none;
}
body.rp-theme .desktop-dropdown-category-grid-only {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Quality pass: flexible header and click-accessible dropdowns. */
@media (min-width: 768px) {
  body.rp-theme .desktop-header-inner {
    gap: clamp(12px, 2vw, 24px);
  }
  body.rp-theme .desktop-nav {
    gap: clamp(14px, 2vw, 28px);
    min-width: 0;
  }
  body.rp-theme .desktop-nav-link-group {
    min-height: var(--desktop-header);
    display: inline-flex;
    align-items: center;
    gap: 2px;
  }
  body.rp-theme .desktop-nav-link-group > a {
    min-height: var(--desktop-header);
    display: inline-flex;
    align-items: center;
  }
  body.rp-theme .desktop-dropdown-toggle {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
  }
  body.rp-theme .desktop-dropdown-toggle:hover,
  body.rp-theme .desktop-dropdown-toggle:focus-visible,
  body.rp-theme .desktop-nav-item.is-open .desktop-dropdown-toggle {
    background: var(--rp-cream,#f5f3ee);
  }
  body.rp-theme .desktop-nav-item.is-open .desktop-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }
  body.rp-theme .desktop-dropdown-categories {
    width: min(860px, calc(100vw - 48px));
    min-width: min(760px, calc(100vw - 48px));
    max-height: min(68vh, 660px);
  }
  body.rp-theme .desktop-dropdown-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 980px) {
  body.rp-theme .desktop-header-inner {
    padding-inline: 18px;
  }
  body.rp-theme .desktop-nav {
    gap: 10px;
  }
  body.rp-theme .desktop-nav > a,
  body.rp-theme .desktop-nav-item > .desktop-nav-link-group > a {
    font-size: 10px;
    letter-spacing: 0.09em;
  }
  body.rp-theme .desktop-search-pill {
    min-width: 0;
    width: 44px;
    padding: 0;
    justify-content: center;
  }
  body.rp-theme .desktop-search-pill > span:not(.rp-icon) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}
}

/* rp-mobile.css */
@media (max-width: 767px) {
/* Mobile context styles. Unlayered intentionally: loaded after rp-base to preserve verified cascade. */
/* Enterprise mobile shell: mobile header, bottom nav, drawer/mobile layout. */

@media (max-width: 767px) {
  :root {
    --desktop-header: 0px;
  }
  body {
    padding-bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom));
  }

  main.site-main {
    padding: 14px 12px 32px;
  }
  .hero {
    min-height: auto;
    display: block;
  }
  .hero-panel {
    border-radius: 22px;
  }
  .hero-copy {
    padding: 30px 22px;
    min-height: calc(100vh - var(--mobile-header) - var(--bottom-nav) - 34px);
    justify-content: center;
  }
  .hero h1 {
    font-size: clamp(48px, 16vw, 72px);
    letter-spacing: -0.07em;
  }
  .hero-copy p {
    font-size: 14px;
    line-height: 1.62;
  }
  .hero-visual {
    display: none;
  }
  .cta-row {
    display: grid;
  }
  .btn {
    width: 100%;
    min-height: 50px;
  }
  .section-head {
    display: block;
    margin: 28px 0 16px;
  }
  .section-head h1,
  .section-head h2 {
    margin-bottom: 10px;
    font-size: 36px;
  }
  .section-head p {
    font-size: 14px;
  }
  .product-grid,
  .products {
    grid-template-columns: repeat(var(--mobile-shop-cols), minmax(0, 1fr));
    gap: 10px;
  }
  /* Card V2 mobile type, geometry and cart control are centralized in rp-typography-wcag.css. */
  .like-btn {
    width: 32px;
    height: 32px;
    top: 8px;
    right: 8px;
  }

  .search-full {
    padding: calc(var(--mobile-header) + 18px) 12px 24px;
  }
  .search-box {
    margin: 0;
  }
  .search-box form {
    grid-template-columns: 1fr;
  }
  .search-box input {
    height: 54px;
    font-size: 16px;
  }
  .search-full .search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rp-theme .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .toast {
    bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom) + 16px);
  }
}

@media (max-width: 767px) {
  body.rp-theme .site-main section:not(.shop-page-shell) > .product-grid {
    grid-template-columns: repeat(var(--mobile-shop-cols), minmax(0, 1fr));
  }
  body.rp-theme.rp-shop-context .site-main .shop-main ul.products,
  body.rp-theme.rp-shop-context .site-main .shop-main .products {
    grid-template-columns: repeat(var(--mobile-shop-cols), minmax(0, 1fr));
  }
}

@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: var(--rp-touch-target);
    min-height: var(--rp-touch-target);
  }
  body.rp-theme .product-card .quick-add,
  body.rp-theme .site-main button.quick-add,
  body.rp-theme .site-main a.quick-add {
    min-height: var(--rp-touch-target);
  }
  body.rp-theme .product-card .like-btn {
    width: var(--rp-touch-target);
    height: var(--rp-touch-target);
    top: 4px;
    right: 4px;
  }
  body.rp-theme .site-footer-col {
    gap: 8px;
  }
}

/* Quality pass: six-item bottom navigation and conditional page spacing. */
@media (max-width: 767px) {
  body:not(.rp-bottom-nav-enabled) {
    padding-bottom: 0;
  }
}

/* 3.2.0 compact drawer lock: keep a WCAG-sized target despite card rules above. */
@media (max-width: 767px) {
  body.rp-theme .drawer .rp-drawer-product__wishlist,
  body.rp-theme .drawer .rp-drawer-product .like-btn {
    position: static;
    width: var(--rp-touch-target, 44px);
    height: var(--rp-touch-target, 44px);
    min-width: var(--rp-touch-target, 44px);
    min-height: var(--rp-touch-target, 44px);
    flex: 0 0 var(--rp-touch-target, 44px);
    inset: auto;
  }
}

/* Root-level mobile navigation: never participates in footer layout. */
@media (max-width: 767px) {
  body.rp-theme .section-head :is(h1, h2),
  body.rp-theme .panel :is(h1, h2),
  body.rp-theme .woocommerce-MyAccount-content :is(h1, h2, h3) {
    height: auto;
    min-height: 0;
    line-height: 1.05;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* Obsolete archive card button 9px override removed for the SVG cart control. */

  body.rp-theme.single-product .sticky-buy button[data-rp-sticky-add-to-cart] {
    min-height: 48px !important;
    border-color: var(--rp-brand-brown) !important;
    background: var(--rp-brand-brown) !important;
    color: #fff !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }
  body.rp-theme.single-product .sticky-buy button[data-rp-sticky-add-to-cart]:hover,
  body.rp-theme.single-product .sticky-buy button[data-rp-sticky-add-to-cart]:focus-visible {
    border-color: var(--rp-brand-brown-dark) !important;
    background: var(--rp-brand-brown-dark) !important;
    color: #fff !important;
  }
}
}

/* rp-shop.css */
/* UNLAYERED OVERRIDE ZONE: preserves precedence over WooCommerce/plugin CSS. */
/* Enterprise page: shop archive base/desktop-neutral. */

.category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 14px;
  scrollbar-width: none;
}
.category-strip::-webkit-scrollbar {
  display: none;
}
.pill {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rp-brand-brown);
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rp-brand-brown-dark);
  background: #fff;
}
.pill:hover,
.pill:focus-visible {
  border-color: var(--rp-brand-brown-dark);
  background: var(--rp-brand-brown-soft);
  color: var(--rp-brand-brown-dark);
}
.pill.active,
.pill[aria-current="page"] {
  background: var(--rp-brand-brown);
  color: #fff;
  border-color: var(--rp-brand-brown);
}
.shop-layout {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.sidebar {
  position: sticky;
  top: calc(var(--desktop-header) + 24px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  background: #fff;
}
.sidebar h3 {
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.filter-group {
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.filter-group label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
}
.mobile-filter-bar {
  display: none;
}
.woocommerce-result-count {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.woocommerce-ordering select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  padding: 0 14px;
}
.woocommerce-pagination {
  margin-top: 30px;
  text-align: center;
}
.rp-theme .woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  border: 0;
  padding: 0;
}
.rp-theme .woocommerce-pagination li {
  border: 0;
}
.rp-theme .woocommerce-pagination a,
.rp-theme .woocommerce-pagination span {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.woocommerce-pagination .current {
  background: var(--text,#050505);
  color: #fff;
  border-color: var(--text,#050505);
}

/* Shop alignment. */
.shop-page-shell {
  display: block;
}
.shop-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: end;
  margin-bottom: 18px;
}
.shop-hero-row h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.88;
  letter-spacing: -0.065em;
}
.shop-hero-row .muted {
  margin: 0 0 8px;
}
.shop-main {
  min-width: 0;
}
.shop-sidebar-card {
  align-self: start;
}
.shop-sidebar-card .woocommerce-ordering {
  margin: 0;
}
.shop-sidebar-card .woocommerce-ordering select {
  width: 100%;
}
.shop-sidebar-card .woocommerce-result-count {
  margin: 0;
}
.rp-theme .products::before,
.rp-theme .products::after,
.rp-theme .woocommerce ul.products::before,
.rp-theme .woocommerce ul.products::after {
  display: none;
}
.woocommerce ul.products li.product .price {
  color: inherit;
}

/* Archive product grid final. */
body.rp-theme.rp-shop-context .shop-layout {
  grid-template-columns: 244px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}
body.rp-theme.rp-shop-context .shop-main {
  min-width: 0;
}
body.rp-theme.rp-shop-context .shop-main ul.products,
body.rp-theme.rp-shop-context .shop-main .products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin: 0;
  padding: 0;
}
body.rp-theme.rp-shop-context .shop-main ul.products::before,
body.rp-theme.rp-shop-context .shop-main ul.products::after,
body.rp-theme.rp-shop-context .shop-main .products::before,
body.rp-theme.rp-shop-context .shop-main .products::after {
  display: none;
}
body.rp-theme.rp-shop-context .shop-main ul.products li.product,
body.rp-theme.rp-shop-context .shop-main .products li.product,
body.rp-theme.rp-shop-context .shop-main .product-card {
  width: auto;
  float: none;
  margin: 0;
  align-self: stretch;
}
/* Shared V2 card media, body and purchase geometry is defined in rp-typography-wcag.css. */
body.rp-theme.rp-shop-context .woocommerce-pagination {
  margin: 28px 0 0;
}
body.rp-theme.rp-shop-context .rp-shop-seo-guide {
  margin-top: 28px;
}
body.rp-theme.rp-shop-context .woocommerce-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  gap: 8px;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
}
body.rp-theme.rp-shop-context .woocommerce-pagination ul.page-numbers li {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  list-style: none;
}
body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers a,
body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers span {
  min-width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers .current {
  background: var(--text,#050505);
  color: #fff;
}
body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers a:hover {
  background: var(--rp-cream,#f5f3ee);
  color: var(--text,#050505);
}

/* Scrollable / draggable category pills. */
body.rp-theme.rp-shop-context .category-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding: 0 0 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}
body.rp-theme.rp-shop-context .category-strip.is-dragging {
  cursor: grabbing;
}
body.rp-theme.rp-shop-context .category-strip .pill {
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
}
body.rp-theme.rp-shop-context .category-strip::-webkit-scrollbar {
  height: 6px;
}
body.rp-theme.rp-shop-context .category-strip::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}
body.rp-theme.rp-shop-context .category-strip::-webkit-scrollbar-track {
  background: transparent;
}

/* Shop-wide touch targets. */
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;
}
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
  ) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body.rp-theme.rp-shop-context
  :where(
    .category-strip,
    .woocommerce-pagination ul.page-numbers,
    .mobile-filter-bar
  ) {
  gap: 8px;
}
/* Legacy full-width card CTA and wishlist geometry retired for Product Card V2. */
/* Product search/archive sizing fix. */
body.rp-theme.rp-shop-context .shop-layout > .shop-sidebar-card {
  display: none;
}
body.rp-theme.rp-shop-context .shop-layout > .desktop-filter,
body.rp-theme.rp-shop-context .filter-panel.desktop-filter,
body.rp-theme.rp-shop-context aside[data-price-filter-source] {
  grid-column: 1;
  grid-row: 1;
}
body.rp-theme.rp-shop-context .shop-main,
body.rp-theme.rp-shop-context [data-archive-products-main] {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  width: 100%;
}
body.rp-theme.rp-shop-context .shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  width: 100%;
}
body.rp-theme.rp-shop-context .shop-toolbar .woocommerce-result-count,
body.rp-theme.rp-shop-context .shop-toolbar .woocommerce-ordering {
  float: none;
  margin: 0;
}
body.rp-theme.rp-shop-context .shop-toolbar .woocommerce-ordering select {
  width: auto;
  min-width: 220px;
}
body.rp-theme.rp-shop-context .shop-main ul.products,
body.rp-theme.rp-shop-context .shop-main .products,
body.rp-theme.rp-shop-context [data-archive-products-main] ul.products,
body.rp-theme.rp-shop-context [data-archive-products-main] .products {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Product-search archive hard lock. */
body.rp-theme.rp-shop-context.search-results main.site-main,
body.rp-theme.rp-shop-context.search-no-results main.site-main {
  width: 100%;
  max-width: var(--container);
}
body.rp-theme.rp-shop-context.search-results .shop-page-shell,
body.rp-theme.rp-shop-context.search-no-results .shop-page-shell,
body.rp-theme.rp-shop-context.search-results .shop-layout,
body.rp-theme.rp-shop-context.search-no-results .shop-layout {
  width: 100%;
  max-width: 100%;
}

/* Enterprise page: shop archive desktop. */

/* Desktop archive restore. */
@media (min-width: 768px) {
  body.rp-theme.rp-shop-context .shop-page-shell {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--page-pad);
    padding-right: var(--page-pad);
  }

  body.rp-theme.rp-shop-context .mobile-filter-bar,
  body.rp-theme.rp-shop-context .filter-toggle.mobile-only,
  body.rp-theme.rp-shop-context .mobile-filter-toggle,
  body.rp-theme.rp-shop-context [data-open-drawer="filters"].mobile-only {
    display: none;
  }

  body.rp-theme.rp-shop-context .shop-layout {
    width: 100%;
    display: grid;
    grid-template-columns: 244px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }

  body.rp-theme.rp-shop-context .shop-layout > .desktop-filter,
  body.rp-theme.rp-shop-context .filter-panel.desktop-filter,
  body.rp-theme.rp-shop-context aside[data-price-filter-source] {
    display: block;
    grid-column: 1;
    width: 244px;
    min-width: 244px;
    max-width: 244px;
    align-self: start;
  }

  body.rp-theme.rp-shop-context .shop-main,
  body.rp-theme.rp-shop-context [data-archive-products-main] {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  body.rp-theme.rp-shop-context .shop-main .woocommerce-ordering,
  body.rp-theme.rp-shop-context
    [data-archive-products-main]
    .woocommerce-ordering {
    float: none;
    margin: 0;
  }

  body.rp-theme.rp-shop-context .shop-main > .woocommerce-result-count,
  body.rp-theme.rp-shop-context
    [data-archive-products-main]
    > .woocommerce-result-count {
    float: none;
    margin: 0;
  }

  body.rp-theme.rp-shop-context .shop-main ul.products,
  body.rp-theme.rp-shop-context .shop-main .products,
  body.rp-theme.rp-shop-context [data-archive-products-main] ul.products,
  body.rp-theme.rp-shop-context [data-archive-products-main] .products {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
    margin: 0;
    padding: 0;
    transform: none;
    opacity: 1;
  }

  body.rp-theme.rp-shop-context .shop-main ul.products li.product,
  body.rp-theme.rp-shop-context .shop-main .products li.product,
  body.rp-theme.rp-shop-context .shop-main .product-card,
  body.rp-theme.rp-shop-context
    [data-archive-products-main]
    ul.products
    li.product,
  body.rp-theme.rp-shop-context
    [data-archive-products-main]
    .products
    li.product,
  body.rp-theme.rp-shop-context [data-archive-products-main] .product-card {
    width: auto;
    min-width: 0;
    float: none;
    margin: 0;
    align-self: stretch;
  }

  /* Shared Product Card V2 styles replace old tablet card internals. */
  body.rp-theme.rp-shop-context .shop-main .woocommerce-pagination,
  body.rp-theme.rp-shop-context
    [data-archive-products-main]
    .woocommerce-pagination {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
}

@media (min-width: 768px) {
  body.rp-theme.rp-shop-context.search-results .shop-layout,
  body.rp-theme.rp-shop-context.search-no-results .shop-layout {
    display: grid;
    grid-template-columns: minmax(180px, 244px) minmax(0, 1fr);
  }
}

/* Desktop archive category pills: keep native links clickable; drag-scroll remains mobile-only. */
@media (min-width: 768px) {
  body.rp-theme.rp-shop-context .category-strip {
    cursor: auto;
    user-select: auto;
  }
  body.rp-theme.rp-shop-context .category-strip .pill {
    cursor: pointer;
    pointer-events: auto;
  }
}

/* Enterprise page: shop archive mobile. */

@media (max-width: 767px) {
  .shop-layout {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .mobile-filter-bar {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 6px 0 14px;
  }
  .mobile-filter-bar button,
  .mobile-filter-bar select {
    flex: 1;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: #fff;
    padding: 0 14px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
}

@media (max-width: 767px) {
  .shop-hero-row {
    display: block;
    margin-bottom: 14px;
  }
  .shop-hero-row h1 {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  body.rp-theme.rp-shop-context .shop-main ul.products,
  body.rp-theme.rp-shop-context .shop-main .products {
    grid-template-columns: repeat(var(--mobile-shop-cols), minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 767px) {
  body.rp-theme.rp-shop-context .shop-main,
  body.rp-theme.rp-shop-context [data-archive-products-main] {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }
  body.rp-theme.rp-shop-context .shop-toolbar {
    display: none;
  }
  body.rp-theme.rp-shop-context .shop-main ul.products,
  body.rp-theme.rp-shop-context .shop-main .products,
  body.rp-theme.rp-shop-context [data-archive-products-main] ul.products,
  body.rp-theme.rp-shop-context [data-archive-products-main] .products {
    grid-template-columns: repeat(var(--mobile-shop-cols), minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .category-strip {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Mobile filters/order 50-50. */
  @media (max-width: 767px) {
    body.rp-theme.rp-shop-context .mobile-filter-bar {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      gap: 12px;
      align-items: stretch;
      width: 100%;
      margin: 18px 0 24px;
    }
    body.rp-theme.rp-shop-context .mobile-filter-bar > button,
    body.rp-theme.rp-shop-context .mobile-filter-bar .woocommerce-ordering,
    body.rp-theme.rp-shop-context
      .mobile-filter-bar
      .woocommerce-ordering
      select {
      width: 100%;
      min-width: 0;
      height: 58px;
      min-height: 58px;
      margin: 0;
    }
    body.rp-theme.rp-shop-context .mobile-filter-bar > button,
    body.rp-theme.rp-shop-context
      .mobile-filter-bar
      .woocommerce-ordering
      select {
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fff;
      color: var(--text,#050505);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 18px;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      text-align: center;
    }
    body.rp-theme.rp-shop-context .mobile-filter-bar .woocommerce-ordering {
      display: block;
    }
    body.rp-theme.rp-shop-context
      .mobile-filter-bar
      .woocommerce-ordering
      select {
      appearance: auto;
      text-align-last: center;
    }
  }

  body.rp-theme.rp-shop-context .mobile-filter-bar {
    margin: 16px 0 22px;
  }
}

body.rp-theme.rp-shop-context .mobile-filter-bar > button,
body.rp-theme.rp-shop-context .mobile-filter-bar .woocommerce-ordering,
body.rp-theme.rp-shop-context .mobile-filter-bar .woocommerce-ordering select {
  height: 54px;
  min-height: 54px;
}
body.rp-theme.rp-shop-context .mobile-filter-bar > button,
body.rp-theme.rp-shop-context .mobile-filter-bar .woocommerce-ordering select {
  border-radius: 20px;
}

/* Mobile horizontal archive pager. */
@media (max-width: 767px) {
  body.rp-theme.rp-shop-context .shop-main[data-horizontal-page-swipe="1"] {
    touch-action: pan-y;
    overflow: hidden;
  }
  body.rp-theme.rp-shop-context .shop-main .products {
    transform: translateX(var(--archive-swipe-x, 0));
    transition:
      transform 0.16s ease,
      opacity 0.16s ease;
    will-change: transform;
  }
  body.rp-theme.rp-shop-context .shop-main .products.is-user-swiping {
    transition: none;
  }
  body.rp-theme.rp-shop-context .shop-main .products.is-slide-left {
    transform: translateX(-32px);
    opacity: 0.35;
  }
  body.rp-theme.rp-shop-context .shop-main .products.is-slide-right {
    transform: translateX(32px);
    opacity: 0.35;
  }
  body.rp-theme.rp-shop-context .shop-main .products.is-enter-right {
    animation: rpArchiveEnterRight 0.18s ease both;
  }
  body.rp-theme.rp-shop-context .shop-main .products.is-enter-left {
    animation: rpArchiveEnterLeft 0.18s ease both;
  }
  body.rp-theme.rp-shop-context .rp-horizontal-pager-status {
    min-height: 38px;
    margin: 22px 0 10px;
    color: var(--muted);
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  body.rp-theme.rp-shop-context
    .rp-horizontal-pager-status[data-mode="loading"]::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-top-color: var(--text,#050505);
    border-radius: 50%;
    animation: rpSpin 0.7s linear infinite;
    margin-right: 8px;
  }
  body.rp-theme.rp-shop-context
    .rp-horizontal-pager-status[data-mode="loading"] {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
@keyframes rpArchiveEnterRight {
  from {
    transform: translateX(32px);
    opacity: 0.25;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes rpArchiveEnterLeft {
  from {
    transform: translateX(-32px);
    opacity: 0.25;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Products list horizontal swipe fix. */
@media (max-width: 767px) {
  body.rp-theme.rp-shop-context [data-horizontal-page-swipe-list="1"] {
    touch-action: pan-y;
    cursor: grab;
    transform: translateX(var(--archive-swipe-x, 0));
    transition:
      transform 0.16s ease,
      opacity 0.16s ease;
    will-change: transform;
  }
  body.rp-theme.rp-shop-context
    [data-horizontal-page-swipe-list="1"].is-user-swiping {
    cursor: grabbing;
    transition: none;
  }
  body.rp-theme.rp-shop-context [data-horizontal-page-swipe-list="1"] a,
  body.rp-theme.rp-shop-context [data-horizontal-page-swipe-list="1"] img {
    -webkit-user-drag: none;
    user-select: none;
  }
}

/* Mobile pagination cleanup. */
@media (max-width: 767px) {
  body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  body.rp-theme.rp-shop-context .woocommerce-pagination {
    width: 100%;
    max-width: 100%;
    margin: 26px 0 34px;
    overflow: hidden;
  }
  body.rp-theme.rp-shop-context .woocommerce-pagination ul.page-numbers {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    padding: 0 18px 8px;
    margin: 0;
    border: 0;
    white-space: nowrap;
    scrollbar-width: none;
  }
  body.rp-theme.rp-shop-context
    .woocommerce-pagination
    ul.page-numbers::-webkit-scrollbar {
    display: none;
  }
  body.rp-theme.rp-shop-context .woocommerce-pagination ul.page-numbers li {
    flex: 0 0 auto;
    width: auto;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    list-style: none;
  }
  body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers a,
  body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers span {
    min-width: 30px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--muted);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
  }
  body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers .current {
    background: var(--text,#050505);
    color: #fff;
    border-color: var(--text,#050505);
  }
  body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers .next,
  body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers .prev {
    width: auto;
    min-width: 34px;
    border-radius: 999px;
    padding: 0 10px;
  }
}

@media (max-width: 767px) {
  body.rp-theme.rp-shop-context .woocommerce-pagination ul.page-numbers {
    gap: 8px;
  }
  body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers a,
  body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers span {
    min-width: 48px;
    min-height: 48px;
    height: 48px;
  }
}

/* Product-grid-only archive swipe. The page shell must not move on iOS. */
@media (max-width: 767px) {
  html,
  body.rp-theme.rp-shop-context {
    overflow-x: hidden;
  }

  body.rp-theme.rp-shop-context .shop-main,
  body.rp-theme.rp-shop-context .shop-main[data-horizontal-page-swipe="1"] {
    overflow: visible;
    touch-action: auto;
  }

  body.rp-theme.rp-shop-context .shop-page-shell.is-page-out-left,
  body.rp-theme.rp-shop-context .shop-page-shell.is-page-out-right,
  body.rp-theme.rp-shop-context .shop-page-shell.is-page-in-right,
  body.rp-theme.rp-shop-context .shop-page-shell.is-page-in-left {
    opacity: 1;
    transform: none;
    animation: none;
  }

  body.rp-theme.rp-shop-context [data-rp-mobile-product-grid-swipe="1"],
  body.rp-theme.rp-shop-context [data-horizontal-page-swipe-list="1"] {
    touch-action: pan-y;
    overscroll-behavior-x: contain;
    -webkit-user-select: none;
    user-select: none;
  }
}


/* Responsive filter experience 2026: desktop sidebar, tablet sheet and mobile bottom sheet. */
body.rp-theme.rp-shop-context .filter-panel.desktop-filter {
  position: sticky;
  top: calc(var(--desktop-header) + 18px);
  width: 284px;
  min-width: 284px;
  max-width: 284px;
  max-height: calc(100dvh - var(--desktop-header) - 28px);
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid color-mix(in srgb, var(--line) 88%, var(--text,#050505) 12%);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.045);
  scrollbar-width: none;
}

body.rp-theme.rp-shop-context .filter-panel.desktop-filter::-webkit-scrollbar,
body.rp-theme .mobile-shop-filter-panel::-webkit-scrollbar,
body.rp-theme .rp-filter-scroll::-webkit-scrollbar,
body.rp-theme .rp-filter-options::-webkit-scrollbar {
  display: none;
}

body.rp-theme .rp-filter-panel-head {
  min-height: 82px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  background: #fff;
}

body.rp-theme .rp-filter-panel-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: none;
}

body.rp-theme .rp-filter-result-count {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

body.rp-theme .rp-filter-reset-link {
  min-height: 36px;
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

body.rp-theme .rp-filter-reset-link.is-active,
body.rp-theme .rp-filter-reset-link:hover,
body.rp-theme .rp-filter-reset-link:focus-visible {
  color: var(--star-gold, #d6a21e);
}

body.rp-theme .rp-filter-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body.rp-theme .rp-filter-scroll > section,
body.rp-theme .rp-filter-scroll > .filter-group {
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

body.rp-theme .rp-filter-disclosure {
  margin: 0;
}

body.rp-theme .rp-filter-summary {
  position: relative;
  min-height: 58px;
  padding: 14px 28px 14px 0;
  display: grid;
  align-content: center;
  gap: 3px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

body.rp-theme .rp-filter-summary::-webkit-details-marker {
  display: none;
}

body.rp-theme .rp-filter-summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-68%) rotate(45deg);
  transition: transform 0.18s ease;
}

body.rp-theme details[open] > .rp-filter-summary::after {
  transform: translateY(-25%) rotate(225deg);
}

body.rp-theme .rp-filter-summary-title {
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

body.rp-theme .rp-filter-summary-value {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.rp-theme .rp-filter-disclosure-body {
  padding: 0 0 16px;
}

body.rp-theme .rp-filter-disclosure-body form,
body.rp-theme .rp-filter-disclosure-body .price_slider_wrapper {
  margin: 0;
}

body.rp-theme .rp-filter-disclosure-body select:not([hidden]) {
  width: 100%;
  min-height: 48px;
  padding: 0 42px 0 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  appearance: auto;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
  touch-action: manipulation;
}

body.rp-theme .rp-filter-option-search {
  width: 100%;
  min-height: 44px;
  margin: 0 0 9px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
}

body.rp-theme .rp-filter-option-search:focus-visible,
body.rp-theme .rp-filter-disclosure-body select:focus-visible {
  outline: 2px solid var(--rp-brand-brown-dark, #634721);
  outline-offset: 2px;
  border-color: var(--text,#050505);
}

body.rp-theme .rp-filter-options {
  max-height: 248px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  gap: 2px;
  scrollbar-width: none;
}

body.rp-theme .rp-filter-option {
  min-height: 42px;
  padding: 7px 0;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
  text-align: left;
}

body.rp-theme .rp-filter-option[hidden] {
  display: none;
}

body.rp-theme .rp-filter-option input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  border: 1.5px solid var(--muted,#737373);
  border-radius: 5px;
  appearance: none;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

body.rp-theme .rp-filter-option input[type="radio"] {
  border-radius: 50%;
}

body.rp-theme .rp-filter-option input::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg);
}

body.rp-theme .rp-filter-option input[type="radio"]::before {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  transform: none;
}

body.rp-theme .rp-filter-option input:checked {
  border-color: var(--star-gold, #d6a21e);
  background: var(--star-gold, #d6a21e);
}

body.rp-theme .rp-filter-option input:checked::before {
  opacity: 1;
}

body.rp-theme .rp-filter-option input:focus-visible {
  outline: 2px solid var(--text,#050505);
  outline-offset: 2px;
}

body.rp-theme .rp-filter-native-submit,
body.rp-theme .filter-panel select[hidden],
body.rp-theme .mobile-shop-filter-panel select[hidden] {
  display: none !important;
}

body.rp-theme .rp-active-filter-section {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

body.rp-theme .rp-active-filter-section h3 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

body.rp-theme .rp-active-filter-section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.rp-theme .rp-active-filter-section a {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--text);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}

body.rp-theme .rp-filter-actions {
  min-height: 76px;
  padding: 12px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  display: grid;
  grid-template-columns: minmax(84px, 0.72fr) minmax(0, 1.5fr);
  gap: 9px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.045);
}

body.rp-theme .rp-filter-reset-button,
body.rp-theme .rp-filter-apply-button {
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
}

body.rp-theme .rp-filter-reset-button {
  border: 1px solid var(--rp-brand-brown);
  color: var(--rp-brand-brown-dark);
  background: #fff;
}

body.rp-theme .rp-filter-apply-button {
  border: 1px solid var(--rp-brand-brown);
  color: #fff;
  background: var(--rp-brand-brown);
}

body.rp-theme .rp-filter-reset-button:hover,
body.rp-theme .rp-filter-reset-button:focus-visible {
  border-color: var(--rp-brand-brown-dark);
}

body.rp-theme .rp-filter-apply-button:hover,
body.rp-theme .rp-filter-apply-button:focus-visible {
  border-color: var(--rp-brand-brown-dark);
  background: var(--rp-brand-brown-dark);
}

body.rp-theme .rp-filter-reset-button:focus-visible,
body.rp-theme .rp-filter-apply-button:focus-visible {
  outline: 2px solid var(--rp-brand-brown);
  outline-offset: 2px;
}

/* Price control: use the shared brand palette and override WooCommerce defaults. */
body.rp-theme.rp-shop-context
  :is(.filter-panel, .mobile-shop-filter-panel)
  .widget_price_filter
  .price_slider {
  height: 5px;
  margin: 12px 8px 18px;
  border-radius: 999px;
  background: var(--line,#dedede);
}

body.rp-theme.rp-shop-context
  :is(.filter-panel, .mobile-shop-filter-panel)
  .widget_price_filter
  .ui-slider
  .ui-slider-range {
  background-color: var(--rp-brand-brown) !important;
}

body.rp-theme.rp-shop-context
  :is(.filter-panel, .mobile-shop-filter-panel)
  .widget_price_filter
  .ui-slider
  .ui-slider-handle {
  width: 18px;
  height: 18px;
  top: 50%;
  margin-top: -9px;
  border: 2px solid var(--rp-brand-brown) !important;
  border-radius: 50%;
  background-color: var(--rp-brand-brown) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

body.rp-theme.rp-shop-context
  :is(.filter-panel, .mobile-shop-filter-panel)
  .widget_price_filter
  .ui-slider-handle:is(:hover, :active, :focus, :focus-visible) {
  border-color: var(--rp-brand-brown-dark) !important;
  background-color: var(--rp-brand-brown-dark) !important;
  outline: 2px solid var(--rp-brand-brown-dark, #634721);
  outline-offset: 2px;
}

body.rp-theme .rp-filter-disclosure-body .price_slider_amount {
  display: block;
}

body.rp-theme .rp-filter-disclosure-body .price_label {
  min-height: 38px;
  padding: 9px 11px;
  border-radius: 11px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--text);
  background: var(--rp-cream,#f5f3ee);
  font-size: 12px;
  text-align: center;
}

body.rp-theme .rp-filter-disclosure-body .price_slider_amount::after {
  display: none;
}

/* Remove the old visible scrollbars while preserving wheel, touch and keyboard scrolling. */
body.rp-theme.rp-shop-context .category-strip {
  scrollbar-width: none;
}

body.rp-theme.rp-shop-context .category-strip::-webkit-scrollbar {
  display: none;
}

/* Desktop catalog layout. */
@media (min-width: 1024px) {
  body.rp-theme.rp-shop-context .shop-layout {
    grid-template-columns: 284px minmax(0, 1fr);
    gap: 24px;
  }

  body.rp-theme.rp-shop-context .shop-layout > .desktop-filter,
  body.rp-theme.rp-shop-context .filter-panel.desktop-filter,
  body.rp-theme.rp-shop-context aside[data-price-filter-source] {
    display: grid;
    width: 284px;
    min-width: 284px;
    max-width: 284px;
  }

  body.rp-theme.rp-shop-context .mobile-filter-bar {
    display: none !important;
  }
}

/* Tablet and mobile use the native theme drawer, never a cloned click target. */
@media (max-width: 1023px) {
  body.rp-theme.rp-shop-context .shop-layout {
    display: block;
  }

  body.rp-theme.rp-shop-context .shop-layout > .desktop-filter,
  body.rp-theme.rp-shop-context .filter-panel.desktop-filter,
  body.rp-theme.rp-shop-context aside[data-price-filter-source] {
    display: none !important;
  }

  body.rp-theme.rp-shop-context .mobile-filter-bar {
    width: 100%;
    margin: 16px 0 22px;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  body.rp-theme.rp-shop-context .mobile-filter-bar > button,
  body.rp-theme.rp-shop-context .mobile-filter-bar .woocommerce-ordering,
  body.rp-theme.rp-shop-context .mobile-filter-bar .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    height: 52px;
    margin: 0;
  }

  body.rp-theme.rp-shop-context .mobile-filter-bar > button,
  body.rp-theme.rp-shop-context .mobile-filter-bar .woocommerce-ordering select {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--text,#050505);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  body.rp-theme.rp-shop-context .mobile-filter-bar > button.has-active-filters {
    border-color: var(--rp-brand-brown);
    box-shadow: inset 0 0 0 1px var(--rp-brand-brown);
  }

  body.rp-theme .drawer-overlay {
    z-index: 900;
    background: rgba(8, 8, 8, 0.48);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    touch-action: none;
  }

  body.rp-theme .drawer-overlay.open {
    pointer-events: auto;
  }

  /* Keep every drawer type above the elevated shop overlay. */
  body.rp-theme #drawer {
    z-index: 920;
  }

  body.rp-theme #drawer[data-drawer-type="filters"] {
    z-index: 920;
    overflow: hidden;
    background: #fff;
    box-shadow: -18px 0 60px rgba(0, 0, 0, 0.16);
    pointer-events: auto;
    overscroll-behavior: contain;
  }

  body.rp-theme #drawer[data-drawer-type="filters"] .drawer-head {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    min-height: 72px;
    padding: 0 20px;
    background: #fff;
  }

  body.rp-theme #drawer[data-drawer-type="filters"] .drawer-head h2 {
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.035em;
    text-transform: none;
  }

  body.rp-theme #drawer[data-drawer-type="filters"] .drawer-head .icon-button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
  }

  body.rp-theme #drawer[data-drawer-type="filters"] .drawer-body {
    min-height: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
  }

  body.rp-theme .mobile-shop-filter-panel {
    width: 100%;
    min-height: 0;
    height: 100%;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background: #fff;
  }

  body.rp-theme .mobile-shop-filter-panel .rp-filter-panel-head {
    min-height: 48px;
    padding: 8px 20px;
    align-items: center;
  }

  body.rp-theme .mobile-shop-filter-panel .rp-filter-panel-head h2 {
    display: none;
  }

  body.rp-theme .mobile-shop-filter-panel .rp-filter-result-count {
    margin: 0;
    font-size: 12px;
  }

  body.rp-theme .mobile-shop-filter-panel .rp-filter-scroll {
    min-height: 0;
    padding: 0 20px;
    overflow-y: auto;
  }

  body.rp-theme .mobile-shop-filter-panel .rp-filter-scroll > section,
  body.rp-theme .mobile-shop-filter-panel .rp-filter-scroll > .filter-group {
    padding-left: 0;
    padding-right: 0;
  }

  body.rp-theme .mobile-shop-filter-panel .rp-filter-summary {
    min-height: 66px;
  }

  body.rp-theme .mobile-shop-filter-panel .rp-filter-actions {
    padding:
      12px 16px
      max(12px, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
  }

  body.rp-theme .mobile-shop-filter-panel .rp-filter-apply-button {
    border-color: var(--rp-brand-brown);
    background: var(--rp-brand-brown);
    color: #fff;
  }

  body.rp-theme.drawer-open {
    overflow: hidden;
    touch-action: none;
  }
}

/* Tablet: full-height side sheet and three-column catalog. */
@media (min-width: 768px) and (max-width: 1023px) {
  body.rp-theme #drawer[data-drawer-type="filters"] {
    top: 0;
    right: 0;
    bottom: auto;
    width: min(540px, 92vw);
    height: 100dvh;
    border: 0;
    border-radius: 28px 0 0 28px;
    transform: translateX(100%);
  }

  body.rp-theme #drawer[data-drawer-type="filters"].open {
    transform: translateX(0);
  }

  body.rp-theme.rp-shop-context .shop-main ul.products,
  body.rp-theme.rp-shop-context .shop-main .products,
  body.rp-theme.rp-shop-context [data-archive-products-main] ul.products,
  body.rp-theme.rp-shop-context [data-archive-products-main] .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile: modern bottom sheet without a visible operating-system scrollbar. */
@media (max-width: 767px) {
  body.rp-theme #drawer[data-drawer-type="filters"] {
    inset: auto 0 0;
    width: 100vw;
    height: min(94dvh, 900px);
    max-height: 94dvh;
    border: 0;
    border-radius: 28px 28px 0 0;
    transform: translateY(102%);
    box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.18);
  }

  body.rp-theme #drawer[data-drawer-type="filters"].open {
    transform: translateY(0);
  }

  body.rp-theme #drawer[data-drawer-type="filters"] .drawer-head {
    min-height: 76px;
    padding-top: 8px;
  }

  body.rp-theme #drawer[data-drawer-type="filters"] .drawer-head::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: #dedede;
    transform: translateX(-50%);
  }

  body.rp-theme .mobile-shop-filter-panel .rp-filter-scroll {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.rp-theme .mobile-shop-filter-panel .rp-filter-actions {
    grid-template-columns: minmax(92px, 0.8fr) minmax(0, 1.7fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.rp-theme #drawer[data-drawer-type="filters"],
  body.rp-theme .drawer-overlay,
  body.rp-theme .rp-filter-summary::after {
    transition: none;
  }
}


/* 2026-09-01 UX fixes: remove duplicate archive eyebrow and stabilize mobile pagination. */
body.rp-theme.rp-shop-context .shop-hero-row .eyebrow{display:none!important}
@media(max-width:767px){
  body.rp-theme.rp-shop-context .woocommerce-pagination{overflow:visible!important;width:100%!important;max-width:100%!important}
  body.rp-theme.rp-shop-context .woocommerce-pagination ul.page-numbers{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;overflow:visible!important;width:100%!important;max-width:100%!important;padding:0 12px!important;gap:8px!important;touch-action:pan-y!important;overscroll-behavior-x:none!important}
  body.rp-theme.rp-shop-context .woocommerce-pagination ul.page-numbers li{flex:0 0 auto!important}
  body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers a,
  body.rp-theme.rp-shop-context .woocommerce-pagination .page-numbers span{min-width:48px!important;width:48px!important;height:48px!important;min-height:48px!important}
}

/* RP-SYSTEM product search: render results without Shop sidebar or category controls.
 * Scope: search results only; ordinary Shop and taxonomy archives remain unchanged. */
body.rp-theme.rp-shop-context .shop-page-shell--search .shop-layout {
  display: block !important;
  grid-template-columns: minmax(0, 1fr) !important;
  width: 100%;
  max-width: 100%;
}
body.rp-theme.rp-shop-context .shop-page-shell--search .shop-main {
  display: block;
  grid-column: auto !important;
  grid-row: auto !important;
  width: 100% !important;
  min-width: 0;
  max-width: 100% !important;
}

/* Lazy brand/attribute option expansion, keyboard-visible native control. */
body.rp-theme.rp-shop-context .rp-filter-options .rp-filter-show-more {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  margin-top: 8px;
  border: 1px solid var(--line, var(--line,#dedede));
  border-radius: 12px;
  background: #fff;
  color: var(--rp-brand-brown-dark, #634721);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
  cursor: pointer;
}
body.rp-theme.rp-shop-context .rp-filter-options .rp-filter-show-more:focus-visible {
  outline: 3px solid var(--rp-gold,#d6a21e);
  outline-offset: 2px;
}

/* rp-header.css */
/* Canonical global header system.
 * One theme-owned header markup; responsive differences live here only.
 */

@media (min-width: 768px) {
  body.rp-theme .mobile-header {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body.rp-theme {
    padding-top: var(--mobile-header);
  }

  body.rp-theme.admin-bar {
    padding-top: calc(var(--mobile-header) + 46px);
  }

  body.rp-theme .desktop-header {
    display: none !important;
  }

  body.rp-theme .mobile-header {
    position: fixed !important;
    top: 0 !important;
    right: 0;
    left: 0;
    z-index: 150;
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    width: 100%;
    height: var(--mobile-header);
    margin: 0;
    padding: 0 8px;
    border-bottom: 1px solid var(--rp-header-border, var(--line));
    background: color-mix(in srgb, var(--rp-header-bg, #fff) 95%, transparent);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  @supports not (background: color-mix(in srgb, white 95%, transparent)) {
    body.rp-theme .mobile-header {
      background: rgba(255, 255, 255, 0.95);
    }
  }

  body.rp-theme.admin-bar .mobile-header {
    top: 46px !important;
  }

  body.rp-theme .mobile-header .brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    min-height: 44px;
    gap: 0;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0.14em !important;
    text-align: center;
    text-transform: uppercase;
  }

  body.rp-theme .mobile-header .brand-mark,
  body.rp-theme .mobile-header .brand-logo {
    display: none !important;
  }

  body.rp-theme .mobile-header .brand-text {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.rp-theme .mobile-header .mobile-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    line-height: 1;
  }

  body.rp-theme .mobile-header > :first-child {
    justify-self: start;
  }

  body.rp-theme .mobile-header > :last-child {
    justify-self: end;
  }

  body.rp-theme .mobile-header .rp-icon,
  body.rp-theme .mobile-header .rp-icon > svg {
    width: 22px;
    height: 22px;
  }
}


/* RP header utilities: B2B + Wishlist, 2026-09-23 */
@media (max-width: 767px) {
  body.rp-theme .mobile-header {
    grid-template-columns: 92px minmax(0, 1fr) 92px;
    padding-inline: 8px;
  }

  body.rp-theme .mobile-header__side {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 4px;
  }

  body.rp-theme .mobile-header__side--left {
    justify-content: flex-start;
  }

  body.rp-theme .mobile-header__side--right {
    justify-content: flex-end;
  }

  body.rp-theme .mobile-header__side .mobile-icon,
  body.rp-theme .mobile-header .rp-header-b2b-badge--mobile {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex: 0 0 44px;
  }

  body.rp-theme .mobile-header .rp-header-b2b-badge--mobile {
    display: grid;
    place-items: center;
    border: 1px solid var(--rp-header-border, var(--line));
    border-radius: 50%;
    background: var(--surface, #fff);
    color: var(--text, #050505);
    font-size: 8.5px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .04em;
    text-decoration: none;
  }

  body.rp-theme .mobile-header .rp-header-b2b-badge--mobile:hover,
  body.rp-theme .mobile-header .rp-header-b2b-badge--mobile:focus-visible {
    border-color: var(--line-strong, rgba(0,0,0,.24));
  }

  body.rp-theme .mobile-header__side--right .mobile-wishlist {
    position: relative;
  }
}


/* Wishlist header count badge: personal saved-items count only. */
body.rp-theme [data-wishlist-header] {
  position: relative;
}

body.rp-theme .wishlist-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  box-sizing: border-box;
  background: var(--text,#050505);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

body.rp-theme .wishlist-badge[hidden] {
  display: none !important;
}

/* rp-mobile-shell.css */
@media (max-width: 767px) {
/* RP Mobile Shell — canonical bottom navigation and drawer geometry.
   Loaded after page-specific styles so Home, Shop and content pages share one shell. */
@media (max-width:767px){
  :root{--bottom-nav:66px}
  body.rp-theme{padding-bottom:calc(var(--bottom-nav) + env(safe-area-inset-bottom))}
  body.rp-theme .bottom-nav{
    position:fixed!important;inset:auto 0 0 0!important;z-index:120!important;display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;width:100%!important;max-width:none!important;
    height:calc(var(--bottom-nav) + env(safe-area-inset-bottom))!important;min-height:calc(var(--bottom-nav) + env(safe-area-inset-bottom))!important;
    margin:0!important;padding:0 0 env(safe-area-inset-bottom)!important;overflow:hidden!important;transform:none!important;
    contain:layout paint;isolation:isolate;border:0!important;border-top:1px solid var(--line,#dedede)!important;
    border-radius:0!important;background:#fff!important;box-shadow:0 -6px 22px rgba(17,16,15,.06)!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important
  }
  body.rp-theme .bottom-nav>a,body.rp-theme .bottom-nav>button{
    position:relative;z-index:1;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    width:100%!important;min-width:0!important;height:var(--bottom-nav)!important;min-height:var(--bottom-nav)!important;
    margin:0!important;padding:5px 1px 4px!important;border:0!important;border-radius:0!important;background:transparent!important;
    color:var(--muted,#737373)!important;font-size:10px!important;font-weight:850!important;line-height:1.15!important;letter-spacing:0!important;
    text-align:center;text-transform:uppercase;box-shadow:none!important;touch-action:manipulation;-webkit-tap-highlight-color:transparent
  }
  body.rp-theme .bottom-nav>a:hover,body.rp-theme .bottom-nav>button:hover,
  body.rp-theme .bottom-nav>a:focus-visible,body.rp-theme .bottom-nav>button:focus-visible,
  body.rp-theme .bottom-nav .is-active{color:var(--text,#050505)!important;background:transparent!important}
  /* Keep keyboard focus unmistakable and inside the clipped mobile bar. */
  body.rp-theme .bottom-nav>a:focus-visible,
  body.rp-theme .bottom-nav>button:focus-visible,
  body.rp-theme .mobile-header .brand:focus-visible {
    outline:3px solid var(--rp-brand-brown-dark,#634721)!important;
    outline-offset:-4px!important;
    border-radius:8px!important;
  }
  body.rp-theme .bottom-nav .rp-icon{display:block;width:21px!important;height:21px!important;flex:0 0 21px}
  body.rp-theme .bottom-nav-label{display:block!important;width:100%;min-width:0;min-height:10px!important;overflow:visible;white-space:normal!important;text-overflow:clip;overflow-wrap:anywhere;line-height:1.5!important}
  body.rp-theme .rp-site-footer-block .bottom-nav,body.rp-theme .site-footer .bottom-nav{display:none!important}
  body.rp-theme #drawer.drawer{
    position:fixed!important;inset:auto 0 0 0!important;z-index:210!important;display:flex;flex-direction:column;
    width:100vw!important;max-width:none!important;height:min(82dvh,720px)!important;max-height:calc(100dvh - max(12px,env(safe-area-inset-top)))!important;
    margin:0!important;border:0!important;border-radius:24px 24px 0 0!important;background:#fff!important;
    box-shadow:0 -18px 52px rgba(17,16,15,.2)!important;overflow:hidden!important;transform:translateY(102%)!important;
    transition:transform .28s cubic-bezier(.2,.8,.2,1)!important
  }
  body.rp-theme #drawer.drawer.open{transform:translateY(0)!important}
  body.rp-theme #drawer .drawer-head{
    flex:0 0 60px!important;min-height:60px!important;height:60px!important;display:flex!important;align-items:center!important;
    gap:8px!important;padding:8px 12px!important;border-bottom:1px solid var(--line,#dedede)!important;background:#fff!important
  }
  body.rp-theme #drawer .drawer-head h2{
    flex:1;min-width:0;margin:0!important;font-size:14px!important;line-height:1!important;letter-spacing:.11em!important;
    text-transform:uppercase;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis
  }
  body.rp-theme #drawer .drawer-head .icon-button,body.rp-theme #drawer [data-drawer-back]{
    width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;flex:0 0 44px!important;
    margin:0!important;padding:0!important;border:1px solid var(--line,#dedede)!important;border-radius:999px!important;
    background:#fff!important;display:grid!important;place-items:center!important
  }
  body.rp-theme #drawer [data-drawer-back][hidden]{visibility:hidden!important;display:grid!important}
  body.rp-theme #drawer .drawer-body{
    flex:1 1 auto!important;min-width:0!important;min-height:0!important;width:100%!important;height:auto!important;
    padding:18px!important;overflow:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff!important
  }
  body.rp-theme .drawer-overlay{position:fixed!important;inset:0!important;z-index:200!important}
  body.rp-theme.drawer-open{overflow:hidden!important}
}
@media (max-width:767px){
  body.rp-theme #drawer[data-drawer-type="magazine"]{height:min(82dvh,760px)!important;background:var(--rp-cream,#f5f3ee)!important}
  body.rp-theme #drawer[data-drawer-type="magazine"] .drawer-head{background:var(--rp-cream,#f5f3ee)!important;border-bottom:0!important}
  body.rp-theme #drawer[data-drawer-type="magazine"] .drawer-body{padding:0!important;overflow:hidden!important;background:var(--rp-cream,#f5f3ee)!important}
}

/* Shared footer accordion: parity with Home on every mobile template. */
/* PRSTUDIO_FOOTER_ACCORDION_FIX_20261003 */
.site-footer .footer-accordion-trigger[hidden],
.site-footer .footer-desktop-title[hidden],
.site-footer .site-footer-col-links[hidden] {
  display: none !important;
}
@media (min-width: 768px) {
  .site-footer .footer-accordion-trigger {
    display: none !important;
  }
  .site-footer .footer-desktop-title {
    display: block;
  }
  .site-footer .site-footer-col-links {
    display: contents !important;
  }
}
@media (max-width: 767px) {
  .site-footer .site-footer-inner {
    gap: 0 !important;
  }
  .site-footer .site-footer-col {
    display: block !important;
    gap: 0 !important;
    border-top: 1px solid var(--line);
  }
  .site-footer .site-footer-col h2.footer-desktop-title {
    display: none !important;
  }
  .site-footer .footer-accordion-trigger:not([hidden]) {
    width: 100%;
    min-height: 56px;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text);
    text-align: left;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
  }
  .site-footer .footer-accordion-icon {
    position: relative;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 1px solid var(--line);
    border-radius: 50%;
  }
  .site-footer .footer-accordion-icon::before,
  .site-footer .footer-accordion-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.5px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
  }
  .site-footer .footer-accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .site-footer .footer-accordion-trigger[aria-expanded="true"] .footer-accordion-icon::after {
    opacity: 0;
  }
  .site-footer .site-footer-col-links:not([hidden]) {
    display: grid !important;
    gap: 0;
  }
  .site-footer .site-footer-col-links > :where(a, .footer-cookie-button) {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,.055);
  }
}

/* Social pills / footer accordion separation. Shared by Home, Shop and product. */
@media (max-width:767px) {
  body.rp-theme .site-footer .footer-social-links {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    max-width: 100%;
    gap: 6px;
    justify-content: flex-start;
    direction: ltr;
    margin: 14px 0 10px;
  }
  body.rp-theme .site-footer .footer-social-links :where(a, .footer-cookie-button) {
    flex: 0 0 auto;
    min-height: 36px;
    padding-inline: 10px;
    white-space: nowrap;
  }
  body.rp-theme .site-footer .site-footer-brand {
    min-width: 0;
  }
}
}

/* rp-typography-wcag.css */
/*
 * WCAG 2.2 AA typography normalization — 2026-08-05.
 *
 * WCAG does not prescribe a maximum heading size. This layer keeps headings
 * readable and restrained while preserving 200% browser zoom, reflow and
 * user-defined text spacing. It is intentionally loaded after page CSS.
 */

:root {
  --rp-type-page-title: 2.5rem;       /* 40px at the default 16px root */
  --rp-type-section-title: 1.875rem;  /* 30px */
  --rp-type-subtitle: 1.25rem;        /* 20px */
  --rp-type-minor-title: 1.125rem;    /* 18px */
  --rp-type-product-title: 1.0625rem; /* 17px */
}

body.rp-theme {
  font-size: 1rem;
  line-height: 1.6;
}

/*
 * Main content headings. Fixed relative units are used instead of viewport-only
 * sizing so browser text enlargement remains predictable.
 */
body.rp-theme main.site-main :where(h1),
body.rp-theme .wp-block-post-content :where(h1),
body.rp-theme .entry-content :where(h1) {
  max-width: 100%;
  max-height: none !important;
  overflow: visible !important;
  font-size: var(--rp-type-page-title) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.025em !important;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
}

body.rp-theme main.site-main :where(h2):not(.product-name),
body.rp-theme .wp-block-post-content :where(h2):not(.product-name),
body.rp-theme .entry-content :where(h2):not(.product-name) {
  max-width: 100%;
  max-height: none !important;
  overflow: visible !important;
  font-size: var(--rp-type-section-title) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.018em !important;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
}

body.rp-theme main.site-main :where(h3):not(.product-name),
body.rp-theme .wp-block-post-content :where(h3):not(.product-name),
body.rp-theme .entry-content :where(h3):not(.product-name) {
  max-height: none !important;
  overflow: visible !important;
  font-size: var(--rp-type-subtitle) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.008em !important;
  overflow-wrap: break-word;
  word-break: normal;
}

body.rp-theme main.site-main :where(h4):not(.product-name),
body.rp-theme .wp-block-post-content :where(h4):not(.product-name),
body.rp-theme .entry-content :where(h4):not(.product-name) {
  max-height: none !important;
  overflow: visible !important;
  font-size: var(--rp-type-minor-title) !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  overflow-wrap: break-word;
  word-break: normal;
}

/** Compact mobile scale without returning to oversized display typography. */
@media (max-width: 767px) {
  :root {
    --rp-type-page-title: 2.25rem;       /* 36px */
    --rp-type-section-title: 1.625rem;   /* 26px */
    --rp-type-subtitle: 1.1875rem;       /* 19px */
     --rp-type-minor-title: 1.0625rem;    /* 17px */
    --rp-type-product-title: 1.0625rem;  /* 17px */
  }

  body.rp-theme main.site-main :where(h1),
  body.rp-theme .wp-block-post-content :where(h1),
  body.rp-theme .entry-content :where(h1) {
    line-height: 1.16 !important;
  }

  body.rp-theme main.site-main :where(h2):not(.product-name),
  body.rp-theme .wp-block-post-content :where(h2):not(.product-name),
  body.rp-theme .entry-content :where(h2):not(.product-name) {
    line-height: 1.22 !important;
  }
}



/* RP-SYSTEM Product Card V2 — single authoritative style layer for shared native cards.
 * The legacy name/price/card-button overrides are retired below.
 * The control is SVG-only; the real cart handler stays on [data-cart-add].
 */
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card {
  display:flex !important;flex-direction:column!important;min-width:0!important;
  width:auto!important;height:100%;grid-template-rows:none!important;
  position:relative!important;isolation:isolate;
  padding:9px!important;gap:0!important;overflow:hidden!important;
  border:1px solid var(--line,#dedede)!important;border-radius:18px!important;
  background:#fff!important;box-sizing:border-box!important;
  box-shadow:none!important;transition:border-color .18s,box-shadow .18s;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card:hover {border-color:var(--line,#dedede)!important;box-shadow:0 12px 32px #44382a10!important}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card > .product-img {
  display:block!important;width:100%!important;min-width:0!important;flex:0 0 auto!important;
  aspect-ratio:1/1!important;min-height:0!important;height:auto!important;
  border-radius:11px!important;overflow:hidden!important;background:#f5f3ee!important;
  position:relative!important;margin:0!important;padding:0!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card > .product-img > img:not(.rp-product-card__second-image) {
  display:block!important;position:absolute!important;inset:0!important;
  max-width:none!important;width:100%!important;max-height:none!important;
  height:100%!important;object-fit:cover!important;object-position:center!important;
  margin:0!important;padding:0!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card > .like-btn {
  position:absolute!important;z-index:5!important;top:17px!important;right:17px!important;
  left:auto!important;bottom:auto!important;width:34px!important;height:34px!important;
  min-width:34px!important;min-height:34px!important;padding:6px!important;
  border-radius:50%!important;border:1px solid var(--line,#dedede)!important;
  background:var(--surface,#fff)!important;box-shadow:none!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card > .rp-card-v2__body,
body.rp-theme.rp-shop-context .shop-main .product-card > .rp-card-v2__body {
  display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
  grid-template-rows:none!important;min-width:0!important;width:100%!important;
  padding:13px 6px 4px!important;gap:0!important;background:transparent!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__meta {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  min-width:0!important;gap:5px!important;margin:0 0 8px!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__brand {
  font-size:9px!important;font-weight:800!important;letter-spacing:.06em!important;
  color:var(--rp-muted-on-cream,#6b6b6b)!important;white-space:nowrap!important;overflow:hidden!important;
  text-overflow:ellipsis!important;min-width:0!important;text-transform:uppercase!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__rating {
  display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;
  justify-content:flex-end!important;min-width:0!important;width:auto!important;
  min-height:20px!important;height:20px!important;padding:0!important;
  margin:0!important;border:0!important;background:none!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__rating .rp-rating-star,
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__rating .rp-rating-star svg {
  width:11px!important;height:11px!important;flex:0 0 11px!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__rating .rp-stars-svg {gap:2px!important}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__rating .rp-rating-text {display:none!important}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__title {
  display:-webkit-box!important;-webkit-line-clamp:2!important;line-clamp:2!important;
  -webkit-box-orient:vertical!important;overflow:hidden!important;
  max-height:2.6em!important;min-height:2.6em!important;height:2.6em!important;
  font-size:14px!important;line-height:1.3!important;font-weight:720!important;
  letter-spacing:-.012em!important;color:var(--text,#050505)!important;
  text-transform:none!important;white-space:normal!important;
  overflow-wrap:anywhere!important;margin:0!important;padding:0!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__title > a {
  display:initial!important;font:inherit!important;line-height:inherit!important;
  color:inherit!important;height:auto!important;max-height:none!important;
  overflow:visible!important;white-space:normal!important;letter-spacing:inherit!important;
  -webkit-line-clamp:unset!important;line-clamp:unset!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__purchase {
  display:flex!important;align-items:flex-end!important;justify-content:space-between!important;
  gap:7px!important;min-width:0!important;margin-top:auto!important;
  padding-top:15px!important;flex:0 0 auto!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__pricing {
  display:block!important;flex:1 1 0!important;width:auto!important;min-width:0!important;
  height:auto!important;margin:0!important;padding:0!important;
  overflow:visible!important;background:none!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__pricing > .product-price {
  display:block!important;width:100%!important;min-width:0!important;
  color:var(--text,#050505)!important;font-size:19px!important;font-weight:850!important;
  letter-spacing:-.035em!important;line-height:1.16!important;
  white-space:normal!important;overflow-wrap:normal!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__pricing .product-price > del {
  font-size:.66em!important;color:var(--rp-muted-on-cream,#6b6b6b)!important;opacity:1!important;
  font-weight:650!important;text-decoration:line-through!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__pricing .product-price > ins {
  text-decoration:none!important;font-weight:850!important;color:var(--text,#050505)!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__pricing .woocommerce-price-suffix {
  display:none!important; /* already displayed at product/checkout level */
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__pricing .rps-unit-price {
  display:block!important;width:100%!important;margin-top:7px!important;
  color:var(--rp-muted-on-cream,#6b6b6b)!important;font-size:12.8px!important;line-height:1.35!important;
  font-weight:540!important;letter-spacing:0!important;white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__pricing .rps-unit-price .woocommerce-Price-amount,
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__pricing .rps-unit-price > span {
  font-size:inherit!important;font-weight:700!important;line-height:inherit!important;
  white-space:normal!important;
}
body.rp-theme main#main .product-card .rp-card-v2__cart,
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__cart,
body.rp-theme.page-id-85066 .woocommerce ul.products li.product .rp-card-v2__cart {
  flex:0 0 39px!important;display:inline-flex!important;justify-content:center!important;
  align-items:center!important;width:39px!important;max-width:39px!important;
  min-width:39px!important;height:39px!important;min-height:39px!important;
  max-height:39px!important;border-radius:50%!important;
  padding:0!important;margin:0!important;
  background:var(--rp-brand-brown,#8d6c48)!important;color:white!important;border:1px solid var(--rp-brand-brown,#8d6c48)!important;
  font-size:0!important;letter-spacing:0!important;line-height:1!important;
  overflow:visible!important;text-indent:0!important;
}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__cart > svg {display:block!important;flex:0 0 20px!important;width:20px!important;height:20px!important}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__cart:is(:hover,:focus-visible) {background:var(--rp-brand-brown-dark,#634721)!important;border-color:var(--rp-brand-brown-dark,#634721)!important;color:#fff!important}
body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__cart:focus-visible {outline:3px solid var(--rp-gold,#d6a21e)!important;outline-offset:2px!important}
@media (max-width:767px) {
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card {padding:6px!important;border-radius:13px!important}
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card > .product-img {border-radius:9px!important}
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card > .like-btn {top:10px!important;right:10px!important;width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important}
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card > .rp-card-v2__body {padding:10px 5px 4px!important}
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__title {font-size:12.5px!important}
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__meta {margin-bottom:6px!important}
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__brand {font-size:8px!important}
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__rating .rp-rating-star,
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__rating .rp-rating-star svg {width:10px!important;height:10px!important;flex-basis:10px!important}
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__purchase {padding-top:12px!important;gap:4px!important}
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__pricing > .product-price {font-size:17px!important}
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__pricing .rps-unit-price {font-size:12px!important;line-height:1.35!important}
  body.rp-theme main#main .product-card .rp-card-v2__cart,
  body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__cart {width:34px!important;max-width:34px!important;min-width:34px!important;flex-basis:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important}
}
@media (max-width:359px) {
 body.rp-theme :is(.site-main, .rp-native-cart-cross-sells, .search-full) .product-card .rp-card-v2__purchase {flex-wrap:wrap!important}
}


/* RP native category pill arrow navigation — shared home and product archives. */
body.rp-theme .rp-pill-scroll-shell {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  width: 100%;
  margin: 0 0 18px;
}
body.rp-theme .rp-pill-scroll-shell .category-strip {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  margin: 0 !important;
  padding: 5px 2px 8px !important;
  overflow-x: auto !important;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-behavior: auto; /* arrow click updates scrollLeft immediately */
  scroll-snap-type: none;
}
body.rp-theme .rp-pill-scroll-shell .category-strip::-webkit-scrollbar { display: none; }
body.rp-theme .rp-pill-scroll-shell > .rp-pill-scroll-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  flex: 0 0 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--line,#dedede) !important;
  border-radius: 50% !important;
  color: var(--rp-brand-brown-dark,#634721) !important;
  background: #fff !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer;
}
body.rp-theme .rp-pill-scroll-shell > .rp-pill-scroll-arrow svg {
  width: 17px;
  height: 17px;
  display: block;
}
body.rp-theme .rp-pill-scroll-shell > .rp-pill-scroll-arrow:disabled {
  cursor: default;
  color: var(--rp-muted-on-cream,#6b6b6b) !important;
  border-color: var(--line,#dedede) !important;
  opacity: .48;
}
body.rp-theme .rp-pill-scroll-shell > .rp-pill-scroll-arrow:focus-visible {
  outline: 3px solid var(--rp-gold,#d6a21e);
  outline-offset: 2px;
}
body.rp-theme .rp-pill-scroll-shell:not(.is-scrollable) > .rp-pill-scroll-arrow {
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 767px) {
  body.rp-theme .rp-pill-scroll-shell { gap: 5px; }
  body.rp-theme .rp-pill-scroll-shell > .rp-pill-scroll-arrow {
    width: 34px !important;
    height: 38px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    flex-basis: 34px !important;
  }
}




/* RP search corrective styling: 2026-10-31.
 * Search V2 cards reuse shared typography selectors extended for .search-full.
 */
html:has(body.rp-theme.search-open) {
  overflow: hidden;
}
body.rp-theme.search-open {
  overflow: hidden;
  touch-action: auto;
}
body.rp-theme .search-full {
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
body.rp-theme .search-full .search-results {
  max-height: max(160px, calc(100dvh - 240px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  align-content: start;
  scrollbar-gutter: stable;
  padding: 4px 6px 8px;
}
body.rp-theme .search-full .search-results > .product-card {
  min-width: 0;
  list-style: none;
}
@media (max-width: 767px) {
  body.rp-theme .search-full .search-results {
    max-height: max(140px, calc(100dvh - var(--mobile-header, 64px) - 215px));
    gap: 10px;
    padding-inline: 2px;
  }
}

/* rp-design-alignment.css */
/*
 * RP-SYSTEM storefront design alignment (2026-10-09).
 * Shared commerce typography, CTA and form primitives, plus the /offerte/
 * WooCommerce shortcode grid. Uses existing theme brand and WCAG type tokens.
 */
:root {
  --rp-commerce-action: var(--rp-brand-brown, #8d6c48);
  --rp-commerce-action-hover: var(--rp-brand-brown-dark, #634721);
  --rp-commerce-action-text: #fff;
  --rp-commerce-type: var(--wp--preset--font-family--rp-sans, Inter, ui-sans-serif, system-ui, sans-serif);
  --rp-commerce-control-height: 48px;
  --rp-commerce-card-radius: 20px;
}
body.rp-theme :is(.site-main, .wp-site-blocks, .woocommerce) {
  font-family: var(--rp-commerce-type);
}
body.rp-theme :is(
  .site-main .woocommerce ul.products li.product .button,
  .site-main .woocommerce ul.products li.product .add_to_cart_button,
  .single-product .single_add_to_cart_button,
  .woocommerce-cart .wc-proceed-to-checkout .checkout-button,
  .woocommerce-checkout #place_order,
  .wc-block-cart__submit-button,
  .wc-block-components-checkout-place-order-button
) {
  min-width: 0;
  min-height: var(--rp-commerce-control-height) !important;
  box-sizing: border-box;
  padding: 10px 15px !important;
  border: 1px solid var(--rp-commerce-action) !important;
  border-radius: 999px !important;
  background: var(--rp-commerce-action) !important;
  color: var(--rp-commerce-action-text) !important;
  font-family: var(--rp-commerce-type) !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.045em !important;
  line-height: 1.25 !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: normal !important;
  overflow-wrap: normal;
  word-break: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}
body.rp-theme :is(
  .site-main .woocommerce ul.products li.product .button,
  .single-product .single_add_to_cart_button,
  .woocommerce-cart .wc-proceed-to-checkout .checkout-button,
  .woocommerce-checkout #place_order,
  .wc-block-cart__submit-button,
  .wc-block-components-checkout-place-order-button
):is(:hover, :focus-visible) {
  background: var(--rp-commerce-action-hover) !important;
  border-color: var(--rp-commerce-action-hover) !important;
  color: #fff !important;
}
body.rp-theme :is(
  .site-main .woocommerce ul.products li.product .button,
  .single-product .single_add_to_cart_button,
  .woocommerce-cart .wc-proceed-to-checkout .checkout-button,
  .woocommerce-checkout #place_order,
  .wc-block-cart__submit-button,
  .wc-block-components-checkout-place-order-button
):focus-visible {
  outline: 3px solid var(--rp-commerce-action-hover);
  outline-offset: 3px;
}
body.rp-theme :is(.site-main .woocommerce, .wc-block-cart, .wc-block-checkout) :is(
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
  input[type="password"], select, textarea
) {
  font-family: var(--rp-commerce-type);
  font-size: 1rem;
  line-height: 1.45;
}
body.rp-theme :is(.site-main .woocommerce, .wc-block-cart, .wc-block-checkout) :is(
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
  input[type="password"], select, textarea
):focus-visible {
  outline: 2px solid var(--rp-commerce-action);
  outline-offset: 2px;
}
/* The sale page uses a normal WP page + WC shortcode, not is_shop(). */
body.rp-theme.page-id-85066 .woocommerce ul.products {
  gap: 24px !important;
  align-items: stretch;
}
body.rp-theme.page-id-85066 .woocommerce ul.products li.product {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-color: var(--rp-brand-brown-line, rgba(141,108,72,.38));
  border-radius: var(--rp-commerce-card-radius);
  overflow: hidden;
}
/* Offer cards now use native shared V2 rather than page-scoped old type/CTA rules. */
body.rp-theme.page-id-85066 .woocommerce :is(.woocommerce-result-count, .woocommerce-ordering select) {
  font-family: var(--rp-commerce-type);
  font-size: 0.875rem;
}
@media (max-width: 1199px) {
  body.rp-theme.page-id-85066 .woocommerce ul.products {gap: 20px !important;}
}
@media (max-width: 767px) {
  body.rp-theme.page-id-85066 .woocommerce ul.products {gap: 12px !important;}
  /* Native V2 controls offer mobile typography and button sizing. */
}
@media (max-width: 359px) {
  body.rp-theme.page-id-85066 .woocommerce ul.products {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.rp-theme .site-main .product-card,
  body.rp-theme.page-id-85066 .woocommerce ul.products li.product {
    transition: none !important;
  }
}


/* Product Card V2 styling is centralized in rp-typography-wcag.css. */
