.rsat-panel {
    --rsat-accent: #146c5c;
    --rsat-border: #dce6e2;
    --rsat-muted: #66756f;
    direction: rtl;
    color: #182622;
}

.rsat-panel__header,
.rsat-product-card,
.rsat-tabs,
.rsat-dialog-product {
    display: flex;
    align-items: center;
}

.rsat-panel__header {
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.rsat-panel h2,
.rsat-panel h3 { margin: 0; }
.rsat-panel h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
.rsat-eyebrow { color: var(--rsat-accent); font-size: .78rem; font-weight: 800; }
.rsat-panel__lead { margin: 0 0 22px; color: var(--rsat-muted); }
.rsat-count { min-width: 38px; padding: 7px 12px; border-radius: 999px; background: #edf7f4; color: var(--rsat-accent); text-align: center; font-weight: 800; }

.rsat-card-list { display: grid; gap: 12px; }
.rsat-product-card { gap: 14px; padding: 14px; border: 1px solid var(--rsat-border); border-radius: 16px; background: #fff; }
.rsat-product-card__image { flex: 0 0 72px; width: 72px; height: 72px; overflow: hidden; border-radius: 12px; background: #f6f8f7; }
.rsat-product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.rsat-product-card__body { min-width: 0; flex: 1; }
.rsat-product-card__body h3 { font-size: .96rem; line-height: 1.75; }
.rsat-product-card__body a { color: inherit; text-decoration: none; }
.rsat-price { color: var(--rsat-accent); font-weight: 800; }
.rsat-stock { display: inline-block; margin-top: 8px; font-size: .8rem; font-weight: 700; }
.rsat-stock.is-in { color: #157347; }
.rsat-stock.is-out { color: #7a675f; }
.rsat-link-danger { border: 0; background: transparent; color: #b02a37; cursor: pointer; }

.rsat-empty { padding: 38px 20px; border: 1px dashed var(--rsat-border); border-radius: 18px; text-align: center; background: #fbfdfc; }
.rsat-empty__icon { display: block; margin-bottom: 8px; color: var(--rsat-accent); font-size: 2.5rem; }
.rsat-empty p { color: var(--rsat-muted); }

.rsat-tabs { gap: 8px; margin: 18px 0; padding: 5px; border-radius: 13px; background: #f1f5f3; }
.rsat-tab { flex: 1; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: #40524b; cursor: pointer; font-weight: 700; }
.rsat-tab.is-active { background: #fff; color: var(--rsat-accent); box-shadow: 0 3px 14px rgba(18, 62, 52, .08); }
.rsat-tab span { padding-inline: 6px; border-radius: 999px; background: #e4efeb; font-size: .75rem; }
.rsat-tab-panel:not(.is-active) { display: none; }

.rsat-notice { margin: 12px 0; padding: 11px 14px; border-radius: 10px; }
.rsat-notice.is-success { background: #e8f6ef; color: #146c43; }
.rsat-notice.is-error { background: #fdecec; color: #a11d2b; }

.rsat-feedback-dialog { width: min(560px, calc(100% - 28px)); padding: 24px; border: 0; border-radius: 20px; box-shadow: 0 24px 80px rgba(0, 0, 0, .25); }
.rsat-feedback-dialog::backdrop { background: rgba(9, 20, 17, .55); }
.rsat-dialog-close { position: absolute; top: 10px; left: 12px; border: 0; background: transparent; font-size: 1.7rem; cursor: pointer; }
.rsat-dialog-product { gap: 12px; margin: 18px 0; }
.rsat-dialog-product img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.rsat-field { display: grid; gap: 7px; margin: 15px 0; font-weight: 700; }
.rsat-field textarea { width: 100%; padding: 10px; border: 1px solid var(--rsat-border); border-radius: 10px; resize: vertical; }
.rsat-rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 3px; border: 0; padding: 0; }
.rsat-rating legend { width: 100%; margin-bottom: 8px; font-weight: 700; }
.rsat-rating input { position: absolute; opacity: 0; }
.rsat-rating label { color: #ccd3d0; font-size: 2rem; cursor: pointer; }
.rsat-rating input:checked ~ label,
.rsat-rating label:hover,
.rsat-rating label:hover ~ label { color: #f4b400; }
.rsat-stars { color: #f4b400; letter-spacing: 1px; }
.rsat-product-waitlist { margin-top: 14px; }

@media (max-width: 640px) {
    .rsat-product-card { align-items: flex-start; flex-wrap: wrap; }
    .rsat-product-card .button { width: 100%; }
    .rsat-tabs { align-items: stretch; flex-direction: column; }
}
