/* RMP Shop — scoped to plugin output; adapts to the host theme's content column. */
.rmps-shop {
  --rmps-accent: #781c36;
  --rmps-ink: #172635;
  --rmps-muted: #5c646b;
  --rmps-border: #dfdcd7;
  --rmps-soft: #f1eeea;
  container-type: inline-size;
  color: var(--rmps-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  width: 100%;
  max-width: 1200px;
  margin: 24px auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow-wrap: anywhere;
}
.rmps-shop *, .rmps-shop *::before, .rmps-shop *::after { box-sizing: border-box; }
.rmps-shop h2, .rmps-shop h3, .rmps-shop h4, .rmps-shop p, .rmps-shop ul, .rmps-shop dl, .rmps-shop form { margin-top: 0; }
.rmps-shop h2, .rmps-shop h3, .rmps-shop h4 { color: var(--rmps-ink); line-height: 1.2; letter-spacing: -.02em; text-transform: none; font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
.rmps-shop h2 { font-size: clamp(28px, 6cqi, 46px); margin-bottom: 14px; }
.rmps-shop h3 { font-size: 23px; margin-bottom: 14px; }
.rmps-shop h4 { font-size: 21px; margin-bottom: 14px; }
.rmps-shop p { margin-bottom: 16px; }
.rmps-shop a { color: var(--rmps-accent); text-underline-offset: 3px; }
.rmps-shop a:hover { text-decoration-thickness: 2px; }
.rmps-shop :is(a,button,input,select,textarea):focus-visible { outline: 3px solid #b37a27; outline-offset: 3px; box-shadow: none; }
.rmps-shop .rmps-content { padding: 0; }
.rmps-shop .rmps-eyebrow { color: var(--rmps-accent); font-size: 11px; letter-spacing: .13em; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.rmps-shop .rmps-section-heading { margin-bottom: 25px; }
.rmps-shop .rmps-section-heading h2 { margin-bottom: 0; }
.rmps-shop .rmps-lead { font-size: 18px; }
.rmps-shop .rmps-small, .rmps-shop .rmps-tax-note { color: var(--rmps-muted); font-size: 13px; line-height: 1.6; }
.rmps-shop .rmps-footer { padding: 18px 0; border-top: 1px solid var(--rmps-border); color: var(--rmps-muted); font-size: 12px; }
.rmps-shop .rmps-footer a { white-space: nowrap; margin-left: 5px; }
.rmps-shop .rmps-filters { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 155px),1fr)); align-items: end; gap: 12px; padding: 18px; background: transparent; border: 1px solid var(--rmps-border); border-radius: 7px; margin-bottom: 22px; }
.rmps-shop .rmps-filters .rmps-field { margin-bottom: 0; }
.rmps-shop .rmps-filters .rmps-button { align-self: end; }
.rmps-shop .rmps-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; min-width: 0; }
.rmps-shop .rmps-field > label, .rmps-shop .rmps-cart-controls > label { color: var(--rmps-ink); font-size: 12px; font-weight: 700; line-height: 1.5; }
.rmps-shop input:not([type=hidden]):not([type=checkbox]):not([type=radio]), .rmps-shop select, .rmps-shop textarea { display: block; width: 100%; max-width: 100%; border: 1px solid #bdbdb9; border-radius: 4px; background: #fff; color: var(--rmps-ink); font: inherit; font-size: 14px; line-height: 1.5; padding: 10px 11px; min-height: 44px; margin: 0; box-shadow: none; }
.rmps-shop select { padding-right: 26px; text-overflow: ellipsis; }
.rmps-shop textarea { resize: vertical; }
.rmps-shop input[type=radio], .rmps-shop input[type=checkbox] { accent-color: var(--rmps-accent); width: 18px; height: 18px; flex: 0 0 18px; margin: 4px 0 0; }
.rmps-shop .rmps-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 1px solid var(--rmps-accent); border-radius: 4px; background: var(--rmps-accent); color: #fff; text-decoration: none; padding: 11px 17px; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: 0; text-transform: none; text-align: center; cursor: pointer; box-shadow: none; max-width: 100%; transition: filter .15s; }
.rmps-shop .rmps-button:hover { background: var(--rmps-accent); color: #fff; filter: brightness(.88); text-decoration: none; }
.rmps-shop .rmps-button-secondary { color: var(--rmps-ink); background: transparent; border-color: #b8b8b2; }
.rmps-shop .rmps-button-secondary:hover { color: var(--rmps-ink); background: var(--rmps-soft); filter: none; }
.rmps-shop .rmps-button[disabled] { opacity: .55; cursor: not-allowed; }
.rmps-shop .rmps-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin: 20px 0; }
.rmps-shop .rmps-actions > a:not(.rmps-button) { font-size: 13px; }
.rmps-shop .rmps-results-bar { display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 12px; color: var(--rmps-muted); margin-bottom: 16px; }
.rmps-shop .rmps-results-bar p { margin: 0; }
.rmps-shop .rmps-product-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,220px),1fr)); gap: 22px; }
.rmps-shop .rmps-product-card { display: flex; flex-direction: column; margin: 0; background: transparent; border: 1px solid var(--rmps-border); border-radius: 6px; overflow: hidden; min-width: 0; }
.rmps-shop .rmps-card-image { display: flex; align-items: center; justify-content: center; background: transparent; aspect-ratio: 1.1; border-bottom: 1px solid var(--rmps-border); text-decoration: none; overflow: hidden; }
.rmps-shop .rmps-product-image { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; margin: 0; border: 0; box-shadow: none; }
.rmps-shop .rmps-card-image .rmps-product-image { padding: 10px; transition: transform .2s ease; }
.rmps-shop .rmps-card-image:hover .rmps-product-image { transform: scale(1.035); }
.rmps-shop .rmps-image-placeholder { display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; color: #9a8d82; width: 100%; height: 100%; min-height: 100px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.rmps-shop .rmps-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.rmps-shop .rmps-card-body h3 { font-size: 21px; margin-bottom: 10px; }
.rmps-shop .rmps-card-body h3 a { color: var(--rmps-ink); text-decoration: none; }
.rmps-shop .rmps-card-body h3 a:hover { text-decoration: underline; }
.rmps-shop .rmps-stock { color: #346047; font-size: 11px; font-weight: 700; margin-bottom: 10px; }
.rmps-shop .rmps-stock-out { color: var(--rmps-muted); }
.rmps-shop .rmps-price { color: var(--rmps-accent); font-size: 18px; font-weight: 700; line-height: 1.4; margin-bottom: 14px; }
.rmps-shop .rmps-card-description { color: var(--rmps-muted); font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
.rmps-shop .rmps-card-body > .rmps-button, .rmps-shop .rmps-card-add { margin-top: auto; }
.rmps-shop .rmps-card-add { display: flex; align-items: stretch; gap: 8px; margin-bottom: 0; }
.rmps-shop .rmps-card-add .rmps-button { padding: 10px; flex: 1; font-size: 12px; }
.rmps-shop input.rmps-quantity { width: 65px; flex: 0 0 65px; padding: 8px; }
.rmps-shop .rmps-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; font-size: 12px; }
.rmps-shop .rmps-back-link { display: inline-block; margin-bottom: 24px; font-size: 13px; }
.rmps-shop .rmps-product-detail { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 28px; }
.rmps-shop .rmps-detail-image { background: transparent; border: 1px solid var(--rmps-border); border-radius: 5px; overflow: hidden; aspect-ratio: 1; align-self: start; }
.rmps-shop .rmps-detail-image .rmps-product-image { padding: 18px; }
.rmps-shop .rmps-detail-content h2 { font-size: clamp(28px, 5cqi, 38px); }
.rmps-shop .rmps-detail-content .rmps-price { font-size: 24px; }
.rmps-shop .rmps-add-form { margin: 24px 0; }
.rmps-shop .rmps-product-description { grid-column: 1/-1; border-top: 1px solid var(--rmps-border); padding-top: 25px; }
.rmps-shop .rmps-product-description p:last-child { margin-bottom: 0; }
.rmps-shop .rmps-notice { padding: 15px 18px; margin-bottom: 22px; background: transparent; border: 1px solid #bfcebd; border-left: 4px solid #496c4b; border-radius: 4px; color: #244227; font-size: 14px; }
.rmps-shop .rmps-notice-error { background: transparent; color: #732923; border-color: #e1b9b4; border-left-color: #a14236; }
.rmps-shop .rmps-empty { text-align: center; padding: 45px 20px; border: 1px dashed #cfc8bf; border-radius: 6px; background: transparent; }
.rmps-shop .rmps-empty p { color: var(--rmps-muted); max-width: 460px; margin-left: auto; margin-right: auto; }
.rmps-shop .rmps-cart-lines { border-top: 1px solid var(--rmps-border); }
.rmps-shop .rmps-cart-line { display: grid; grid-template-columns: 75px minmax(0,1fr) 70px 85px; gap: 15px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--rmps-border); }
.rmps-shop .rmps-cart-image { width: 75px; height: 85px; background: transparent; border-radius: 4px; overflow: hidden; }
.rmps-shop .rmps-cart-image .rmps-product-image { padding: 3px; }
.rmps-shop .rmps-cart-image .rmps-image-placeholder { min-height: 0; gap: 2px; }
.rmps-shop .rmps-cart-image .rmps-image-placeholder svg { width: 32px; height: 32px; }
.rmps-shop .rmps-cart-image .rmps-image-placeholder > span { display: none; }
.rmps-shop .rmps-cart-description h3 { font-family: inherit; font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.rmps-shop .rmps-cart-description h3 a { color: var(--rmps-ink); text-decoration: none; }
.rmps-shop .rmps-cart-description p { font-size: 13px; margin: 0 0 4px; }
.rmps-shop .rmps-cart-controls { display: flex; flex-direction: column; gap: 5px; }
.rmps-shop .rmps-cart-line-total { text-align: right; font-size: 14px; font-weight: 700; padding-top: 28px; }
.rmps-shop .rmps-text-button { appearance: none; padding: 6px 0; min-height: 32px; background: none; color: var(--rmps-accent); border: 0; border-radius: 0; text-decoration: underline; text-underline-offset: 3px; text-transform: none; font: inherit; font-size: 12px; cursor: pointer; box-shadow: none; text-align: left; }
.rmps-shop .rmps-inline-error { color: #8c2e23; }
.rmps-shop .rmps-line-error { border-left: 3px solid #a14236; padding-left: 10px; }
.rmps-shop .rmps-basket-summary { max-width: 430px; margin: 30px 0 0 auto; padding: 24px; border: 1px solid var(--rmps-border); background: transparent; border-radius: 6px; }
.rmps-shop .rmps-basket-summary > .rmps-button { width: 100%; margin: 8px 0 16px; }
.rmps-shop .rmps-basket-summary p:last-child { margin-bottom: 0; }
.rmps-shop .rmps-totals { margin: 18px 0 14px; }
.rmps-shop .rmps-totals > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; font-size: 14px; }
.rmps-shop .rmps-totals dt { font-weight: 400; }
.rmps-shop .rmps-totals dd { margin: 0; font-weight: 600; text-align: right; }
.rmps-shop .rmps-totals .rmps-grand-total { border-top: 1px solid var(--rmps-border); padding-top: 15px; margin-top: 8px; font-size: 22px; }
.rmps-shop .rmps-grand-total dt, .rmps-shop .rmps-grand-total dd { font-weight: 700; }
.rmps-shop .rmps-tax-note { text-align: right; margin-bottom: 0; }
.rmps-shop .rmps-panel { display: block; min-width: 0; padding: 23px; margin: 0 0 24px; border: 1px solid var(--rmps-border); border-radius: 6px; background: transparent; }
.rmps-shop .rmps-panel > :last-child { margin-bottom: 0; }
.rmps-shop .rmps-panel legend { float: none; display: block; width: auto; padding: 0 8px; margin-left: -8px; color: var(--rmps-ink); font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 600; line-height: 1.3; }
.rmps-shop .rmps-form-grid, .rmps-shop .rmps-review-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 0 22px; }
.rmps-shop .rmps-checkout-form { margin-top: 24px; }
.rmps-shop .rmps-payment-choice { display: flex; align-items: flex-start; gap: 13px; padding: 15px 0; cursor: pointer; }
.rmps-shop .rmps-payment-choice + .rmps-payment-choice { border-top: 1px solid var(--rmps-border); }
.rmps-shop .rmps-payment-choice small { display: block; color: var(--rmps-muted); font-size: 12px; margin-top: 4px; }
.rmps-shop .rmps-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 20px; cursor: pointer; }
.rmps-shop .rmps-review-items { list-style: none; margin: 0; padding: 0; }
.rmps-shop .rmps-review-items > li { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 15px 0; margin: 0; border-bottom: 1px solid var(--rmps-border); font-size: 14px; }
.rmps-shop .rmps-review-items > li:first-child { padding-top: 0; }
.rmps-shop .rmps-review-items > li > strong { white-space: nowrap; }
.rmps-shop .rmps-review-items small { display: block; color: var(--rmps-muted); font-size: 12px; margin-top: 3px; }
.rmps-shop .rmps-address { font-style: normal; font-size: 14px; line-height: 1.8; margin: 0; }
.rmps-shop .rmps-account-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-bottom: 22px; font-size: 13px; }
.rmps-shop .rmps-account-bar p { margin: 0; }
.rmps-shop .rmps-table-wrap { overflow-x: auto; border: 1px solid var(--rmps-border); border-radius: 5px; background: transparent; }
.rmps-shop .rmps-table { width: 100%; border: 0; border-spacing: 0; border-collapse: collapse; margin: 0; font-size: 12px; text-align: left; }
.rmps-shop .rmps-table th, .rmps-shop .rmps-table td { padding: 14px 12px; border: 0; border-bottom: 1px solid var(--rmps-border); vertical-align: top; text-align: left; }
.rmps-shop .rmps-table thead th { background: transparent; color: var(--rmps-muted); font-size: 11px; letter-spacing: .04em; font-weight: 700; text-transform: uppercase; }
.rmps-shop .rmps-table tbody tr:last-child > * { border-bottom: 0; }
.rmps-shop .rmps-table th a { white-space: nowrap; }
.rmps-shop .rmps-nowrap { white-space: nowrap; }
.rmps-shop .rmps-order-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 12px; }
.rmps-shop .rmps-order-heading h3 { margin: 0; }
.rmps-shop .rmps-order-status { display: inline-block; background: transparent; border: 1px solid #d5d6c8; border-radius: 20px; padding: 5px 12px; font-size: 11px; font-weight: 700; }
.rmps-shop .rmps-payment-panel { background: transparent; border-color: #dfcdaa; }
.rmps-shop .rmps-bank-instructions { padding: 16px; background: transparent; border: 1px solid #e3d4ba; border-radius: 4px; margin-bottom: 16px; font-size: 14px; }
.rmps-shop .rmps-inline-form { display: inline-block; margin: 0 10px 12px 0; }
.rmps-shop .rmps-order-notes { list-style: none; padding: 0; margin: 0; }
.rmps-shop .rmps-order-notes li { padding: 0 0 16px 16px; border-left: 2px solid #d6cabd; margin: 0 0 14px; }
.rmps-shop .rmps-order-notes li:last-child { margin-bottom: 0; padding-bottom: 0; }
.rmps-shop .rmps-order-notes time { display: block; color: var(--rmps-muted); font-size: 11px; margin-bottom: 5px; }
.rmps-shop .rmps-order-notes p { font-size: 14px; margin-bottom: 0; }
.rmps-shop .rmps-sr-only, .rmps-shop .rmps-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@container (max-width: 520px) {
  .rmps-shop .rmps-content { padding: 0; }
  .rmps-shop .rmps-panel, .rmps-shop .rmps-basket-summary { padding: 18px 15px; }
  .rmps-shop .rmps-filters { padding: 14px; grid-template-columns: 1fr 1fr; }
  .rmps-shop .rmps-search { grid-column: 1/-1; }
  .rmps-shop .rmps-filters .rmps-button { grid-column: 1/-1; }
  .rmps-shop .rmps-cart-line { grid-template-columns: 58px minmax(0,1fr) 65px; gap: 10px; }
  .rmps-shop .rmps-cart-image { width: 58px; height: 70px; }
  .rmps-shop .rmps-cart-description h3 { font-size: 13px; }
  .rmps-shop .rmps-cart-line-total { grid-column: 2/-1; padding-top: 0; text-align: right; }
  .rmps-shop .rmps-table th, .rmps-shop .rmps-table td { padding: 12px 8px; }
  .rmps-shop .rmps-footer { padding: 16px 0; }
}
@media (max-width: 480px) {
  .rmps-shop .rmps-content { padding: 0; }
  .rmps-shop .rmps-cart-line { grid-template-columns: 58px minmax(0,1fr) 65px; gap: 10px; }
  .rmps-shop .rmps-cart-image { width: 58px; height: 70px; }
  .rmps-shop .rmps-cart-line-total { grid-column: 2/-1; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rmps-shop *, .rmps-shop *::before, .rmps-shop *::after { transition: none !important; scroll-behavior: auto !important; }
}
