/* Royal 1.0.24. Layered after the existing plugin; never loaded in checkout,
   cart or account. Defaults stay usable without JavaScript or animations. */
body.rhc-modern {
  --rhc-blue: #0b5ddb; --rhc-blue-dark: #08479f; --rhc-navy: #10182e;
  --rhc-gold: #c9a247; --rhc-ink: #151d30; --rhc-muted: #536071;
  --rhc-line: #e3e7ec; --rhc-page: #f7f8fa;
  color: var(--rhc-ink); background: #fff;
}
.rhc-modern :where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #0b5ddb !important; outline-offset: 4px;
}
.rhc-modern .rhc-offer-bar { background: var(--rhc-navy); border-bottom: 2px solid var(--rhc-gold); }
.rhc-modern .rhc-offer-bar__link { min-height: 38px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding: 8px 20px; font-size: 13px; line-height: 1.5; color: #fff; }
.rhc-modern .rhc-offer-bar__action { color: #ead18d; font-weight: 600; }
.rhc-modern .rhc-offer-bar .dashicons { font-size: 17px; width: 17px; height: 17px; color: #ead18d; }
/* Disable the old movement even when enhancement is unavailable. */
.rhc-modern .rhc-offer-bar__track { animation: none !important; transform: none !important; display: block; width: 100%; min-width: 0; }
.rhc-modern .rhc-offer-bar__copy { white-space: normal; width: 100%; min-width: 0; padding: 0; }
.rhc-modern .rhc-offer-bar__copy + .rhc-offer-bar__copy,
.rhc-modern .rhc-offer-bar__separator { display: none; }
.rhc-modern .rhc-ticker { display: flex; align-items: stretch; min-width: 0; }
.rhc-ticker__viewport { flex: 1; min-width: 0; overflow: hidden; }
.rhc-ticker__track { display: flex; width: max-content; animation: rhc-offer-scroll 48s linear infinite; }
.rhc-ticker__group { display: flex; align-items: center; flex: 0 0 auto; min-width: calc(100vw - 130px); justify-content: space-around; }
.rhc-modern .rhc-ticker__item { display: flex; align-items: center; gap: 12px; white-space: nowrap; padding: 13px 30px; color: #fff; font-size: 13px; text-decoration: none; }
.rhc-ticker__tag { color: #ead18d; font-weight: 600; }
.rhc-modern .rhc-ticker__pause { flex-shrink: 0; min-width: 110px; border: 0; border-left: 1px solid #ffffff38; border-radius: 0; background: #10182e; color: #ead18d; padding: 10px 16px; font: inherit; font-size: 12px; cursor: pointer; }
.rhc-modern .rhc-ticker__pause {
  font-family: Arial, sans-serif !important;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.rhc-ticker--paused .rhc-ticker__track, .rhc-ticker__viewport:hover .rhc-ticker__track { animation-play-state: paused; }
.rhc-ticker__viewport:focus-within { overflow-x: auto; }
.rhc-ticker__viewport:focus-within .rhc-ticker__track { animation: none; transform: none; }
.rhc-ticker__item:focus-visible { outline-offset: -4px !important; outline-color: #ead18d !important; }
@keyframes rhc-offer-scroll { to { transform: translateX(-50%); } }
.rhc-modern :is(.woocommerce a.button, .woocommerce button.button, .wp-block-button__link, .ast-custom-button, .rhc-modern-primary, .srfm-submit-button) {
  border-radius: 8px !important; text-transform: none !important; letter-spacing: 0 !important;
  font-size: 14px; font-weight: 600; line-height: 1.35; box-shadow: none !important;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.rhc-modern :is(.woocommerce a.button, .woocommerce button.button, .rhc-modern-primary) { background: var(--rhc-blue); color: #fff; }
.rhc-modern :is(.woocommerce a.button, .woocommerce button.button, .rhc-modern-primary):hover { background: var(--rhc-blue-dark); color: #fff; }
.rhc-modern :is(.woocommerce a.button, .woocommerce button.button, .rhc-modern-primary):active { box-shadow: inset 0 2px 4px #0003 !important; }
.rhc-modern .rhc-modern-primary { display: inline-flex; width: fit-content; min-height: 48px; align-items: center; justify-content: center; padding: 13px 26px; text-decoration: none; }
.rhc-modern.home .site-content > .ast-container { max-width: none; padding: 0; }
.rhc-modern.home #primary { margin: 0; padding: 0; width: 100%; }
.rhc-modern.home article { padding: 0; margin: 0; background: #fff; }
.rhc-modern-home { width: 100%; margin: 0; }
.rhc-modern .rhc-modern-hero {
  width: min(100%, 1320px); margin: 0 auto !important; display: grid;
  grid-template-columns: 1fr 1fr; min-height: 420px; align-items: center;
  padding: 0 36px !important; gap: 24px; background: #fff;
}
/* Astra constrains children of non-group blocks with automatic side margins.
   Explicit track width prevents the absolutely positioned product art collapsing. */
.rhc-modern.home .entry-content .rhc-modern-hero > div { width: 100%; min-width: 0; max-width: none; margin-left: 0 !important; margin-right: 0 !important; }
.rhc-modern .rhc-modern-hero__text { padding: 48px 0; position: relative; z-index: 1; }
.rhc-modern .rhc-modern-hero h1 { max-width: 560px; margin: 0 0 22px; color: var(--rhc-navy); font-size: clamp(34px, 3.7vw, 54px); font-weight: 700; letter-spacing: -1.6px; line-height: 1.12; }
.rhc-modern .rhc-modern-hero p { max-width: 440px; margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: #414d60; }
.rhc-modern .rhc-modern-hero__media { align-self: stretch; min-width: 0; position: relative; min-height: 440px; isolation: isolate; background: transparent; }
.rhc-modern .rhc-modern-hero__product { position: absolute; display: block; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.rhc-modern .rhc-modern-hero__product--1 { width: 49%; left: 4%; top: 9%; z-index: 2; transform: rotate(-12deg); }
.rhc-modern .rhc-modern-hero__product--2 { width: 60%; right: -1%; bottom: 2%; z-index: 3; transform: rotate(10deg); }
.rhc-modern .rhc-modern-hero__product--3 { width: 32%; right: 2%; top: 9%; z-index: 1; transform: rotate(14deg); }
.rhc-modern .rhc-modern-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; margin: 0; background: transparent; mix-blend-mode: multiply; }
.rhc-modern .rhc-modern-hero__product { mix-blend-mode: multiply; transition: translate 180ms ease; }
.rhc-modern .rhc-modern-hero__product:hover { translate: 0 -5px; }
/* Category navigation deliberately uses small symbols and prominent names. */
.rhc-modern .rhc-modern-categories { max-width: 1320px; margin: 0 auto !important; padding: 36px 36px 40px; border-top: 1px solid var(--rhc-line); }
.rhc-modern .rhc-modern-categories h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.5px; color: var(--rhc-navy); margin: 0 0 10px; }
.rhc-modern .rhc-modern-categories__intro { margin: 0 0 26px; color: var(--rhc-muted); font-size: 16px; line-height: 1.5; }
.rhc-modern-categories__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rhc-modern .rhc-modern-category { display: flex; align-items: center; gap: 16px; min-height: 116px; min-width: 0; padding: 22px 20px; background: #f5f7fa; border: 1px solid #e3e7ec; border-radius: 8px; color: var(--rhc-navy); text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease; }
.rhc-modern .rhc-modern-category:hover { background: #edf3fc; border-color: #91afd8; color: var(--rhc-navy); }
.rhc-modern-category__icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; }
.rhc-modern .rhc-modern-category__icon img { display: block; width: 32px; height: 32px; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.rhc-modern-category__icon .dashicons { width: 32px; height: 32px; font-size: 32px; }
.rhc-modern-category__text { flex: 1; min-width: 0; }
.rhc-modern-category__label { display: block; padding: 0; font-size: 19px; font-weight: 600; line-height: 1.35; overflow-wrap: break-word; }
.rhc-modern-category__action { display: block; margin-top: 7px; color: var(--rhc-muted); font-size: 13px; line-height: 1.4; }
.rhc-modern-category > .dashicons { flex: 0 0 20px; width: 20px; height: 20px; font-size: 20px; color: #916d20; }
.rhc-modern .rhc-modern-categories > .rhc-modern-all-categories { display: flex; align-items: center; min-height: 44px; margin: 18px auto 0; font-weight: 600; font-size: 15px; text-underline-offset: 4px; }
.rhc-modern-category-details dt { font-weight: 600; margin-top: 16px; }
.rhc-modern-category-details dd { margin: 4px 0 0; }
.rhc-modern.home .entry-content > .rhc-modern-section {
  margin: 0 !important; padding: 40px max(36px, calc((100vw - 1248px) / 2)) 52px !important;
  background: #fff !important; border-top: 1px solid var(--rhc-line);
}
.rhc-modern.home .entry-content > .rhc-modern-section > * { max-width: 1248px !important; margin-left: auto; margin-right: auto; }
.rhc-modern.home .rhc-modern-section > h2 { color: var(--rhc-navy); font-size: 29px; letter-spacing: -.5px; line-height: 1.25; margin-top: 0; margin-bottom: 22px; }
.rhc-modern.home .entry-content > .rhc-modern-offers { background: var(--rhc-page) !important; }
.rhc-modern.home .rhc-modern-category-details summary { font-size: 20px; font-weight: 600; cursor: pointer; padding: 12px 0; color: var(--rhc-navy); }
.rhc-modern.home .rhc-modern-category-details[open] > :not(summary) { margin-top: 24px; }
.rhc-modern.home .rhc-modern-section .wp-block-columns { gap: 32px; }
.rhc-modern.home .rhc-modern-section h3 { font-size: 20px; }
.rhc-modern .woocommerce ul.products, .rhc-modern.woocommerce ul.products {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px !important; margin: 0 !important;
}
.rhc-modern .woocommerce.columns-3 ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rhc-modern .rhc-modern-offers .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rhc-modern .woocommerce ul.products::before, .rhc-modern .woocommerce ul.products::after,
.rhc-modern.woocommerce ul.products::before, .rhc-modern.woocommerce ul.products::after { display: none !important; }
.rhc-modern :is(.woocommerce ul.products, ul.products) li.product {
  width: 100% !important; min-width: 0; margin: 0 !important; padding: 0 0 18px !important;
  display: flex !important; flex-direction: column; background: #fff; border: 1px solid var(--rhc-line);
  border-radius: 12px; box-shadow: none; transition: transform 180ms ease, box-shadow 180ms ease;
}
.rhc-modern ul.products li.product .astra-shop-thumbnail-wrap { overflow: hidden; border: 0; border-radius: 12px 12px 0 0; background: #f7f8fa; }
.rhc-modern ul.products li.product :is(a img, img.attachment-woocommerce_thumbnail) { width: 100% !important; height: auto; aspect-ratio: 1; object-fit: contain !important; padding: 16px; margin: 0 !important; transform: none !important; background: #f7f8fa; border-radius: 12px 12px 0 0; }
.rhc-modern ul.products li.product > .woocommerce-loop-product__link { display: block; }
.rhc-modern ul.products li.product .astra-shop-summary-wrap { display: flex; flex-direction: column; flex: 1; padding: 18px 16px 0; }
.rhc-modern ul.products li.product .ast-woo-product-category { color: var(--rhc-muted); font-size: 12px; margin: 0 0 7px; }
.rhc-modern ul.products li.product .woocommerce-loop-product__title { color: var(--rhc-navy); font-size: 15px; line-height: 1.45; min-height: 44px; margin: 0 0 13px; font-weight: 600; display: block; -webkit-line-clamp: unset; overflow: visible; }
.rhc-modern ul.products li.product .price { color: var(--rhc-ink); font-size: 18px; font-weight: 700; margin-top: auto; margin-bottom: 13px; }
.rhc-modern ul.products li.product .price .woocommerce-price-suffix { font-size: 11px; font-weight: 400; color: #465368; }
.rhc-modern ul.products li.product :is(.button, .added_to_cart) { min-height: 44px; padding: 12px 10px !important; align-self: stretch; text-align: center; margin: 0; width: 100%; white-space: normal !important; font-size: 13px !important; }
.rhc-modern ul.products li.product > .button { width: calc(100% - 32px); margin: auto 16px 0 !important; }
.rhc-modern .rhc-shop-tools { border-radius: 12px; background: #fff; border-color: var(--rhc-line); }
.rhc-modern .rhc-category-nav__link { font-weight: 600; }
.rhc-modern .rhc-category-nav__link.is-active::after { background: var(--rhc-gold); }
.rhc-modern .rhc-product-search__field { border-radius: 8px 0 0 8px; }
.rhc-modern .rhc-product-search__button { border-radius: 0 8px 8px 0; }
.rhc-modern .rhc-editorial-hero__inner { padding-top: 42px; padding-bottom: 44px; }
.rhc-modern .rhc-editorial-hero__title { font-size: clamp(34px, 4vw, 48px); }
.rhc-modern .rhc-editorial-hero__eyebrow { color: #e4c878; }
.rhc-modern.page-id-1494 .srfm-form-container, .rhc-modern.page-id-1494 .srfm-form { box-shadow: none !important; background: #fff !important; border-radius: 12px !important; }
.rhc-modern.page-id-1494 .srfm-form { border: 0 !important; }
.rhc-modern .rhc-modern-field-label { display: block !important; position: static !important; width: auto !important; height: auto !important; clip: auto !important; clip-path: none !important; overflow: visible !important; margin: 0 0 8px !important; color: #253148; font-size: 14px; font-weight: 600; }
.rhc-modern :is(input,textarea)::placeholder { color: #647184; opacity: 1; }
.rhc-modern #colophon { background: #10182e; }
.rhc-modern #colophon .widget-title { font-size: 19px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .rhc-modern ul.products li.product:hover { transform: translateY(-3px); box-shadow: 0 10px 26px #10182e0d; }
}
@media (prefers-reduced-motion: no-preference) {
  .rhc-modern-ready .rhc-modern-hero__text { animation: rhc-gentle-entry 400ms ease-out both; }
  .rhc-modern-ready .rhc-modern-hero__media { animation: rhc-gentle-entry 500ms ease-out both; }
  @keyframes rhc-gentle-entry { from { opacity: .7; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1024px) {
  .rhc-modern .rhc-modern-hero { min-height: 360px; padding: 0 28px !important; }
  .rhc-modern .rhc-modern-hero h1 { font-size: 42px; letter-spacing: -1px; }
  .rhc-modern .rhc-modern-categories { padding: 28px; }
  .rhc-modern-categories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .rhc-modern .woocommerce ul.products, .rhc-modern.woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .rhc-modern .rhc-modern-hero { grid-template-columns: 1fr; gap: 0; padding: 0 20px !important; }
  .rhc-modern .rhc-modern-hero__text { padding: 36px 0 26px; }
  .rhc-modern .rhc-modern-hero h1 { font-size: clamp(32px, 8.7vw, 43px); max-width: 440px; margin-bottom: 18px; }
  .rhc-modern .rhc-modern-hero p { font-size: 16px; margin-bottom: 22px; }
  .rhc-modern .rhc-modern-hero__media { margin: 0; min-height: 0; height: auto; aspect-ratio: 1.38; }
  .rhc-modern .rhc-modern-categories { padding: 28px 20px; }
  .rhc-modern .rhc-modern-categories h2 { font-size: 23px; }
  .rhc-modern-categories__grid { grid-template-columns: 1fr; gap: 10px; }
  .rhc-modern .rhc-modern-category { min-height: 92px; padding: 18px 16px; gap: 12px; }
  .rhc-modern .rhc-modern-categories__intro { font-size: 15px; margin-bottom: 22px; }
  .rhc-modern-category__label { font-size: 18px; }
  .rhc-modern.home .entry-content > .rhc-modern-section { padding: 30px 20px 38px !important; }
  .rhc-modern.home .rhc-modern-section > h2 { font-size: 26px; }
  .rhc-modern .woocommerce ul.products, .rhc-modern.woocommerce ul.products,
  .rhc-modern .woocommerce.columns-3 ul.products, .rhc-modern .rhc-modern-offers .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px !important; }
  .rhc-modern ul.products li.product { padding-bottom: 12px !important; }
  .rhc-modern ul.products li.product .astra-shop-summary-wrap { padding: 12px 10px 0; }
  .rhc-modern ul.products li.product .woocommerce-loop-product__title { font-size: 13px; min-height: 57px; }
  .rhc-modern ul.products li.product .price { font-size: 16px; }
  .rhc-modern ul.products li.product .button { font-size: 12px !important; padding: 11px 5px !important; }
  .rhc-modern ul.products li.product :is(a img, img.attachment-woocommerce_thumbnail) { padding: 10px; }
  .rhc-modern .rhc-offer-bar__link { font-size: 12px; gap: 4px 10px; padding: 7px 12px; }
  .rhc-modern .rhc-offer-bar__action { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .rhc-ticker__track { animation: none !important; transform: none !important; }
  .rhc-ticker__viewport { overflow-x: auto; }
  .rhc-ticker__group[aria-hidden], .rhc-ticker__pause { display: none; }
  .rhc-modern .rhc-modern-hero__product { transition: none; translate: none; }
  .rhc-modern :is(.rhc-modern-hero__text, .rhc-modern-hero__media, .rhc-modern-category img, .rhc-modern-category .dashicons, ul.products li.product, ul.products li.product img, a.button, button.button, .rhc-modern-primary) { animation: none !important; transition: none !important; transform: none !important; }
}
