/* Rabi's Catalog — prices, badges, segmented switch, size guide modal.
   The theme styles everything else; these keep working with any theme. */
.rc-price ins { text-decoration: none; }
.rc-price del { opacity: .6; font-weight: 400; font-size: .75em; margin-left: 6px; }
.rc-ask { font-size: .8em; font-weight: 500; }
.rc-badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; line-height: 1.4; }
.rc-badge-sale { background: #A0302A; color: #fff; }

.rc-seg { display: inline-flex; background: #F1E7D6; border-radius: 999px; padding: 4px; }
.rc-seg button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #3D473F; font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; transition: background-color .16s cubic-bezier(.22,1,.36,1), color .16s cubic-bezier(.22,1,.36,1); }
.rc-seg button[aria-pressed="true"] { background: #0B4D2C; color: #fff; }
.rc-seg button:focus-visible { outline: 2px solid #0B4D2C; outline-offset: 2px; }

.rc-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.rc-modal[hidden] { display: none; }
.rc-modal-backdrop { position: absolute; inset: 0; background: rgba(15,30,20,.5); }
.rc-modal-box { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 48px); overflow: auto; background: #FBF6EE; border-radius: 16px; padding: 32px; box-shadow: 0 8px 24px rgba(0,0,0,.12); display: flex; flex-direction: column; gap: 20px; color: #1F2A22; }
.rc-modal-head { display: flex; align-items: center; justify-content: space-between; }
.rc-modal-head h2 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 34px; color: #0B4D2C; }
.rc-modal-close { width: 44px; height: 44px; border: 0; border-radius: 10px; background: #F1E7D6; color: #1F2A22; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rc-stitch { display: block; width: 64px; border-top: 2px dashed #B8892E; margin-top: 8px; }
.rc-size-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.rc-size-table th, .rc-size-table td { padding: 12px 8px; text-align: right; border-bottom: 1px solid rgba(31,42,34,.08); }
.rc-size-table th:first-child, .rc-size-table thead th:first-child { text-align: left; }
.rc-size-table thead th { color: #5E554A; font-weight: 600; border-bottom-color: rgba(31,42,34,.25); }
.rc-modal-note { margin: 0; font-size: 13px; line-height: 1.6; color: #5E554A; }
body.rc-modal-open { overflow: hidden; }
