/* ============================================================
   SNUGIBO REVIEWS SECTION
   ============================================================ */

.sn-rv-section { padding: 64px 0 80px; background: var(--c-cream, #faf6ee); --c-berry: #D81B3D; --c-ink: #2d2a26; --c-muted: #6f6862; --c-line: rgba(45,42,38,0.12); --c-line-soft: rgba(45,42,38,0.06); }

.sn-rv-header { text-align: center; padding: 0 0 40px; }
.sn-rv-eyebrow { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-berry); margin: 0 0 12px; font-weight: 700; }
.sn-rv-heading { font-size: clamp(28px, 5.5vw, 42px); margin: 0; font-weight: 700; letter-spacing: -0.015em; color: var(--c-ink); line-height: 1.2; }

/* === Hero cards === */
.sn-rv-heroes { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
@media (min-width: 768px) { .sn-rv-heroes { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.sn-rv-hero-card { background: #fff; border: none; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(45,42,38,0.06); }
.sn-rv-hero-img { position: relative; width: 100%; aspect-ratio: 4 / 3; background: var(--c-cream, #faf6ee); overflow: hidden; }
.sn-rv-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sn-rv-hero-quote { position: absolute; bottom: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; background: var(--c-berry); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(216,27,61,0.3); }
.sn-rv-hero-content { padding: 24px 22px 22px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.sn-rv-hero-stars { color: #f5b400; letter-spacing: 3px; font-size: 20px; margin-bottom: 12px; line-height: 1; }
.sn-rv-hero-headline { font-size: 19px; font-weight: 700; margin: 0 0 12px; color: var(--c-ink); letter-spacing: -0.005em; }
.sn-rv-hero-body { font-size: 16px; line-height: 1.65; color: var(--c-ink); margin: 0 0 18px; flex: 1; }
.sn-rv-hero-name { font-size: 16px; color: var(--c-ink); font-style: italic; font-weight: 700; padding-top: 12px; border-top: 1px solid var(--c-line-soft); display: inline-block; align-self: center; padding-left: 24px; padding-right: 24px; }

/* === Stats bar === */
.sn-rv-stats { background: #fff; border-radius: 16px; padding: 28px 28px; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; margin-bottom: 36px; box-shadow: 0 1px 4px rgba(45,42,38,0.04); }
@media (min-width: 768px) { .sn-rv-stats { grid-template-columns: 220px 1fr 200px; gap: 36px; padding: 32px 36px; } }

.sn-rv-stats-summary { text-align: center; }
@media (min-width: 768px) { .sn-rv-stats-summary { text-align: left; } }
.sn-rv-avg-num { font-size: 56px; font-weight: 700; line-height: 1; color: var(--c-ink); letter-spacing: -0.02em; }
.sn-rv-avg-meta { margin-top: 6px; }
.sn-rv-avg-stars { color: #f5b400; letter-spacing: 2px; font-size: 22px; margin-bottom: 4px; }
.sn-rv-star-empty { color: rgba(45,42,38,0.18); }
.sn-rv-avg-count { font-size: 14px; color: var(--c-muted); }

.sn-rv-histogram { display: flex; flex-direction: column; gap: 6px; }
.sn-rv-hist-row { display: grid; grid-template-columns: 36px 1fr 44px; gap: 12px; align-items: center; background: none; border: none; padding: 6px 8px; cursor: pointer; text-align: left; border-radius: 6px; transition: background .12s; }
.sn-rv-hist-row:hover { background: var(--c-cream, #faf6ee); }
.sn-rv-hist-label { font-size: 14px; font-weight: 600; color: var(--c-ink); }
.sn-rv-hist-bar { height: 10px; background: rgba(45,42,38,0.08); border-radius: 999px; overflow: hidden; }
.sn-rv-hist-fill { display: block; height: 100%; background: #f5b400; border-radius: 999px; transition: width .4s ease; }
.sn-rv-hist-count { font-size: 14px; color: var(--c-muted); text-align: right; font-variant-numeric: tabular-nums; }

.sn-rv-cta { display: flex; justify-content: center; }
@media (min-width: 768px) { .sn-rv-cta { justify-content: flex-end; } }
.sn-rv-write-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; background: var(--c-berry); color: #fff; border: none; border-radius: 999px; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 8px rgba(216,27,61,0.25); transition: background .15s, transform .12s; }
.sn-rv-write-btn:hover { background: #b8152f; transform: translateY(-1px); }

/* === Filter chips === */
.sn-rv-filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 28px; }
.sn-rv-chip { background: #fff; border: 1.5px solid var(--c-line); color: var(--c-ink); padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; white-space: nowrap; }
.sn-rv-chip:hover { border-color: var(--c-berry); color: var(--c-berry); }
.sn-rv-chip.is-active { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.sn-rv-chip-count { font-weight: 500; opacity: 0.7; margin-left: 2px; }
.sn-rv-sort { margin-left: auto; padding: 9px 14px; border: 1.5px solid var(--c-line); border-radius: 8px; background: #fff; font-size: 14px; color: var(--c-ink); font-weight: 500; cursor: pointer; }

/* === Review grid === */
.sn-rv-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
@media (min-width: 700px) { .sn-rv-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .sn-rv-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.sn-rv-card { background: #fff; border-radius: 14px; padding: 22px 22px 20px; box-shadow: 0 1px 3px rgba(45,42,38,0.05); display: flex; flex-direction: column; }
.sn-rv-card-img { width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; margin-bottom: 16px; background: var(--c-cream, #faf6ee); position: relative; }
.sn-rv-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sn-rv-card-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.sn-rv-card-stars { color: #f5b400; letter-spacing: 2px; font-size: 16px; line-height: 1; }
.sn-rv-card-date { font-size: 13px; color: var(--c-muted); }
.sn-rv-card-headline { font-size: 17px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink); letter-spacing: -0.005em; }
.sn-rv-card-body { font-size: 15px; line-height: 1.6; color: var(--c-ink); margin: 0 0 14px; flex: 1; }
.sn-rv-card-meta { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--c-line-soft); font-size: 13px; flex-wrap: wrap; }
.sn-rv-card-author { font-weight: 600; color: var(--c-ink); }
.sn-rv-card-verified { display: inline-flex; align-items: center; gap: 4px; color: #2d7a3e; font-weight: 500; }
.sn-rv-card-theme { color: var(--c-muted); }

/* === Pagination === */
.sn-rv-pagination { text-align: center; margin-top: 12px; }
.sn-rv-show-more { background: #fff; color: var(--c-ink); border: 1.5px solid var(--c-line); padding: 14px 32px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all .15s; }
.sn-rv-show-more:hover { border-color: var(--c-berry); color: var(--c-berry); }
.sn-rv-count-text { font-size: 14px; color: var(--c-muted); margin: 16px 0 0; }
.sn-rv-empty { text-align: center; padding: 60px 20px; color: var(--c-muted); }

/* ============================================================
   MODAL + FORM
   ============================================================ */
.sn-rv-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.sn-rv-modal[hidden] { display: none; }
.sn-rv-modal-backdrop { position: absolute; inset: 0; background: rgba(45,42,38,0.55); animation: sn-rv-fade-in .2s ease; }
.sn-rv-modal-card { position: relative; background: #fff; border-radius: 18px; max-width: 580px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 36px 32px 28px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); animation: sn-rv-slide-up .25s ease; }
@keyframes sn-rv-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sn-rv-slide-up { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.sn-rv-modal-close { position: absolute; top: 14px; right: 14px; background: none; border: none; padding: 8px; cursor: pointer; color: var(--c-muted, #6f6862); border-radius: 50%; transition: background .12s; }
.sn-rv-modal-close:hover { background: rgba(45,42,38,0.08); }
.sn-rv-modal-title { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: var(--c-ink, #2d2a26); padding-right: 30px; }
.sn-rv-modal-sub { font-size: 15px; color: var(--c-muted, #6f6862); margin: 0 0 24px; line-height: 1.5; }

.sn-rv-form { display: flex; flex-direction: column; gap: 18px; }
.sn-rv-field { display: flex; flex-direction: column; gap: 6px; }
.sn-rv-row-2 { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 540px) { .sn-rv-row-2 { grid-template-columns: 1fr 1fr; } }
.sn-rv-label { font-size: 14px; font-weight: 600; color: var(--c-ink, #2d2a26); }
.sn-rv-form input[type="text"], .sn-rv-form input[type="email"], .sn-rv-form select, .sn-rv-form textarea, .sn-rv-form input[type="file"] { width: 100%; padding: 12px 14px; border: 1.5px solid rgba(45,42,38,0.15); border-radius: 8px; font-size: 16px; font-family: inherit; color: var(--c-ink, #2d2a26); background: #fff; box-sizing: border-box; transition: border-color .15s; }
.sn-rv-form input[type="text"]:focus, .sn-rv-form input[type="email"]:focus, .sn-rv-form select:focus, .sn-rv-form textarea:focus { outline: none; border-color: var(--c-berry, #D81B3D); }
.sn-rv-form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.sn-rv-field-help { font-size: 12.5px; color: var(--c-muted, #6f6862); }

.sn-rv-rating-picker { display: flex; gap: 4px; padding: 6px 0; }
.sn-rv-rating-star { background: none; border: none; padding: 4px; font-size: 36px; line-height: 1; cursor: pointer; color: rgba(45,42,38,0.18); transition: color .12s, transform .1s; }
.sn-rv-rating-star:hover, .sn-rv-rating-star.is-active { color: #f5b400; transform: scale(1.08); }
.sn-rv-rating-star.is-hover { color: #f5b400; }

.sn-rv-form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.sn-rv-submit { background: var(--c-berry, #D81B3D); color: #fff; border: none; padding: 16px 28px; border-radius: 999px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .15s, transform .12s; }
.sn-rv-submit:hover:not(:disabled) { background: #b8152f; }
.sn-rv-submit:disabled { opacity: 0.55; cursor: wait; }
.sn-rv-form-msg { margin: 0; font-size: 14px; line-height: 1.5; min-height: 1.2em; }
.sn-rv-form-msg.is-error { color: var(--c-berry, #D81B3D); }
.sn-rv-form-msg.is-success { color: #2d7a3e; }
