/* The RK catalogue uses the same colours, controls and typography as the main site. */
.rk-shop-page { background: var(--cream); }
.shop-hero { padding-block: 58px 48px; color: #fff; background: linear-gradient(120deg, var(--brown-dark), var(--brown)); }
.shop-hero h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(44px, 6vw, 76px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.shop-hero p:not(.eyebrow) { margin: 22px 0 0; color: #e5d0c3; font-size: 16px; line-height: 1.7; }
.shop-content { padding-block: 36px 80px; }
#rk-status:empty, .rk-dialog .form-status:empty { display: none; }
#rk-status:not(:empty) { margin: 0 0 24px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--control-radius); background: var(--surface); font-size: 14px; font-weight: 600; }
#rk-search { grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); align-items: end; margin: 0 0 28px; box-shadow: var(--card-shadow); border-radius: var(--radius); }
.rk-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--card-shadow); }
.rk-card > img { width: 100%; aspect-ratio: 1.3; object-fit: cover; background: var(--cream); }
.rk-card > img.rk-placeholder { object-fit: contain; padding: 38px; }
.rk-card-body { display: flex; flex-direction: column; flex: 1; gap: 12px; min-width: 0; padding: 24px; }
.rk-card-body > small { color: var(--brown-soft); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.rk-card-body h2 { margin: 0; font-family: Georgia, serif; font-size: 28px; font-weight: 500; line-height: 1.15; overflow-wrap: anywhere; }
.rk-card-body > p { margin: 0; color: var(--muted); font-size: 14px; }
.rk-card-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.rk-card-actions > strong { color: var(--brown); font-size: 22px; white-space: nowrap; }
.rk-card-actions .button { padding-inline: 18px; }
.rk-muted { color: var(--muted); }
.rk-order-panel h2, #rk-checkout h2 { margin: 0 0 8px; font-family: Georgia, serif; font-size: clamp(28px, 3vw, 36px); font-weight: 500; line-height: 1.15; }
.rk-order-panel, #rk-checkout { padding: 28px; border-radius: var(--radius); box-shadow: var(--card-shadow); }
.rk-cart-row { display: grid; gap: 18px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.rk-cart-info { display: grid; gap: 5px; min-width: 0; }
.rk-cart-info > strong { font-size: 17px; font-weight: 700; line-height: 1.4; }
.rk-cart-info > :is(span,small) { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.rk-cart-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.rk-cart-controls label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.rk-cart-controls input { width: 80px; text-align: center; }
.rk-cart-price { display: flex; align-items: center; min-height: var(--control-height); margin-left: auto; color: var(--brown); font-size: 20px; white-space: nowrap; }
.rk-cart-controls .button { padding-inline: 16px; }
.rk-cart-summary { display: grid; gap: 12px; padding-top: 24px; font-size: 14px; color: var(--muted); }
.rk-cart-summary > div { display: flex; justify-content: space-between; gap: 18px; }
.rk-cart-summary strong { color: var(--ink); white-space: nowrap; }
.rk-cart-summary .rk-cart-total { padding-top: 12px; color: var(--ink); font-size: 22px; }
.rk-add-more { width: 100%; margin-top: 24px; }
.rk-empty { padding-block: 20px; color: var(--muted); }
#rk-checkout { gap: 18px; }
#rk-checkout label { gap: 8px; }
#rk-checkout label small { font-size: 12px; font-weight: 400; line-height: 1.5; }
#rk-pay { width: 100%; }
.rk-payment-note { margin: 0; padding: 16px; border-radius: var(--control-radius); color: var(--muted); background: var(--cream); font-size: 13px; }
body.rk-dialog-open { overflow: hidden; }
.rk-dialog { width: min(580px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.rk-dialog::backdrop { background: rgba(29, 10, 3, .65); backdrop-filter: blur(4px); }
.rk-dialog > form { display: flex; flex-direction: column; max-height: calc(100dvh - 34px); }
.rk-dialog header { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 28px; border-bottom: 1px solid var(--line); }
.rk-dialog header > div { min-width: 0; }
.rk-dialog h2 { margin: 0; font-family: Georgia, serif; font-size: 32px; font-weight: 500; line-height: 1.15; overflow-wrap: anywhere; }
.rk-dialog-price { margin: 10px 0 0; color: var(--brown); font-size: 20px; font-weight: 700; }
.rk-dialog .dialog-close { border-radius: var(--control-radius); background: var(--cream); }
.rk-dialog-body { padding: 24px 28px; overflow-y: auto; overscroll-behavior: contain; }
.rk-dialog fieldset { margin: 0 0 24px; padding: 0; border: 0; }
.rk-dialog legend { margin-bottom: 10px; color: var(--brown); font-size: 14px; font-weight: 700; }
.rk-option { display: flex; align-items: center; gap: 12px; min-height: var(--control-height); margin-bottom: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--control-radius); font-size: 14px; cursor: pointer; }
.rk-option:has(input:checked) { border-color: var(--gold); background: var(--cream); }
.rk-option:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.rk-option input { flex: 0 0 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--brown); }
.rk-field { display: grid; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.rk-dialog textarea { min-height: 96px; resize: vertical; }
.rk-dialog .form-status { margin-bottom: 0; font-size: 14px; }
.rk-dialog-actions { padding: 18px 28px; border-top: 1px solid var(--line); background: var(--cream); }
.rk-dialog-actions .button { width: 100%; }
@media (max-width: 820px) {
  .shop-hero { padding-block: 42px 36px; }
  .shop-content { padding-block: 24px 56px; }
  .rk-order-panel, #rk-checkout { padding: 24px; }
}
@media (max-width: 560px) {
  .shop-hero p:not(.eyebrow) { font-size: 14px; }
  #rk-search { position: static; grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 16px; }
  .rk-card-body { padding: 22px; }
  .rk-order-panel, #rk-checkout { padding: 20px; }
  .rk-cart-controls { gap: 10px; }
  .rk-cart-controls input { width: 70px; }
  .rk-cart-controls .button { padding-inline: 12px; }
  .rk-cart-price { font-size: 18px; }
  .rk-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .rk-dialog > form { max-height: calc(100dvh - 26px); }
  .rk-dialog header, .rk-dialog-body { padding: 22px; }
  .rk-dialog h2 { font-size: 28px; }
  .rk-dialog-actions { padding: 16px 22px; }
}
