:root{ --rsv-emerald:#034e46; --rsv-gold:#daae71; --rsv-ink:#0b1b19; --rsv-muted:#6a7c79; }

.rsvv-wrap{
  --emerald: var(--rsv-emerald);
  --gold: var(--rsv-gold);
  --ink: var(--rsv-ink);
  --muted: var(--rsv-muted);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--ink);
}

.rsvv-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}

.rsvv-wrap[data-columns="1"] .rsvv-grid{grid-template-columns:1fr}
.rsvv-wrap[data-columns="2"] .rsvv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.rsvv-wrap[data-columns="3"] .rsvv-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.rsvv-wrap[data-columns="4"] .rsvv-grid{grid-template-columns:repeat(4,minmax(0,1fr))}

@media (max-width: 980px){
  .rsvv-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media (max-width: 640px){
  .rsvv-grid{grid-template-columns:1fr !important}
}

.rsvv-card{
  background:#fff;
  border:1px solid rgba(3,78,70,.14);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 20px rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  min-height: 330px;
  transition:.18s transform,.18s box-shadow,.18s filter;
  position:relative;
}
.rsvv-card:hover{transform:translateY(-2px); box-shadow:0 14px 36px rgba(0,0,0,.10); filter:brightness(1.01);}

.rsvv-cover{height:152px; position:relative; overflow:hidden; border-bottom:1px solid rgba(3,78,70,.12);
  background: linear-gradient(135deg, rgba(3,78,70,.20), rgba(218,174,113,.20));
}
.rsvv-cover img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.02)}
.rsvv-cover::after{
  content:""; position:absolute; inset:0;
  background: radial-gradient(520px 160px at 20% 0%, rgba(218,174,113,.28), transparent 65%),
              linear-gradient(180deg, rgba(11,27,25,.12), transparent 55%, rgba(11,27,25,.22));
  pointer-events:none;
}
.rsvv-cover-fallback{width:100%;height:100%;}
.rsvv-badge{
  position:absolute; left:12px; top:12px; z-index:2;
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:999px;
  border:1px solid rgba(218,174,113,.38);
  background: rgba(218,174,113,.16);
  color:#6b4b1c; font-size:12px; font-weight:900; letter-spacing:.25px; text-transform:uppercase;
  backdrop-filter: blur(6px);
}

.rsvv-body{padding:14px 16px 12px}
.rsvv-row{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px}
.rsvv-mini{font-size:12px;color:var(--muted);font-weight:800;white-space:nowrap}
.rsvv-title{margin:0 0 6px;font-size:18px;line-height:1.2;letter-spacing:.15px}
.rsvv-desc{margin:0;color:var(--muted);font-size:13.5px;line-height:1.45;min-height:40px}

.rsvv-status{display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:900; color:var(--muted)}
.rsvv-status i{width:8px;height:8px;border-radius:50%; background:var(--emerald); box-shadow:0 0 0 3px rgba(3,78,70,.12)}
.rsvv-status-expired{color:#6b4b1c}
.rsvv-status-expired i{background:var(--gold); box-shadow:0 0 0 3px rgba(218,174,113,.18)}
.rsvv-status-notyet{color:#2b1d0a}
.rsvv-status-notyet i{background:var(--gold); box-shadow:0 0 0 3px rgba(218,174,113,.18)}
.rsvv-status-active{color:var(--muted)}

.rsvv-foot{
  margin-top:auto;
  padding:14px 16px 16px;
  border-top:1px dashed rgba(3,78,70,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(3,78,70,.03));
}
.rsvv-price{display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:12px}
.rsvv-price-val{font-size:26px;font-weight:1000;color:var(--emerald);letter-spacing:.2px}
.rsvv-price-note{font-size:12px;color:var(--muted);font-weight:800;text-align:right}

.rsvv-actions{display:flex; gap:10px; flex-wrap:wrap}
.rsvv-btn{
  border:0; border-radius:12px; padding:10px 12px;
  font-weight:900; letter-spacing:.2px;
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px; user-select:none; text-decoration:none; cursor:pointer;
  transition:.18s transform,.18s filter,.18s box-shadow;
}
.rsvv-btn:active{transform:translateY(1px)}
.rsvv-btn:focus{outline:none; box-shadow: 0 0 0 3px rgba(218,174,113,.28)}
.rsvv-btn-more{
  background: rgba(3,78,70,.07);
  color: var(--emerald);
  border:1px solid rgba(3,78,70,.14);
  flex:1 1 140px;
}
.rsvv-btn-buy{
  background: linear-gradient(135deg, var(--emerald), #0a6a60);
  color:#fff;
  box-shadow: 0 10px 18px rgba(3,78,70,.22);
  flex:1 1 140px;
}
.rsvv-btn-buy:hover{filter:brightness(1.03)}
.rsvv-btn-more:hover{filter:brightness(1.02)}
.rsvv-disabled{opacity:.55; cursor:not-allowed; box-shadow:none}

.rsvv-empty{padding:14px;border:1px solid rgba(3,78,70,.14);border-radius:14px;background:#fff;color:var(--muted)}

/* Toolbar - Filter & Search */
.rsvv-toolbar{
  display:flex; gap:12px; flex-wrap:wrap; align-items:flex-end;
  margin:0 0 12px;
}
.rsvv-tool{display:flex; flex-direction:column; gap:6px; min-width:180px}
.rsvv-tool-grow{flex:1 1 260px}
.rsvv-tool label{font-size:12px; font-weight:900; color:var(--muted); letter-spacing:.2px}
.rsvv-tool select, .rsvv-tool input{
  border:1px solid rgba(3,78,70,.16);
  border-radius:12px;
  padding:10px 12px;
  background:#fff;
  outline:none;
}
.rsvv-tool select:focus, .rsvv-tool input:focus{
  box-shadow:0 0 0 3px rgba(218,174,113,.24);
}
.rsvv-clear{
  border-radius:12px; padding:10px 12px;
  font-weight:900; cursor:pointer;
  border:1px solid rgba(3,78,70,.16);
  background: rgba(3,78,70,.06);
  color: var(--emerald);
}
.rsvv-count{margin:0 0 10px; color:var(--muted); font-weight:800}
.rsvv-hidden{display:none !important}

/* Modal & Lightbox created by JS */
.rsvv-modal-backdrop, .rsvv-lightbox{
  position:fixed; inset:0; display:none; align-items:center; justify-content:center;
  padding:18px; z-index:999999;
  background: rgba(11,27,25,.55);
  overflow-y:auto;
}
.rsvv-modal-backdrop.show, .rsvv-lightbox.show{display:flex}

.rsvv-modal, .rsvv-lightbox-inner{
  width:min(980px, 100%);
  max-height:calc(100vh - 36px);
  background:#fff;
  border-radius:22px;
  border:1px solid rgba(3,78,70,.18);
  box-shadow:0 24px 70px rgba(0,0,0,.22);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  margin:auto;
}

.rsvv-modal-head{
  padding:16px 18px;
  background: radial-gradient(520px 220px at 12% 10%, rgba(218,174,113,.26), transparent 60%),
              radial-gradient(520px 220px at 88% 20%, rgba(3,78,70,.20), transparent 60%),
              #fff;
  border-bottom:1px solid rgba(3,78,70,.14);
  display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
  flex-shrink:0;
}
.rsvv-modal-head h2{margin:0 0 6px;font-size:20px;color:var(--emerald);letter-spacing:.2px;line-height:1.2}
.rsvv-modal-head p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.45;max-width:78ch}
.rsvv-x{
  border:1px solid rgba(3,78,70,.16);
  background:rgba(3,78,70,.06);
  color:var(--emerald);
  width:42px;height:42px;border-radius:14px;font-weight:1000;cursor:pointer;
  flex-shrink:0;
}
.rsvv-modal-body{
  padding:16px 18px 18px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  overflow-y:auto;
  flex:1 1 auto;
}
@media (max-width: 860px){ .rsvv-modal-body{grid-template-columns:1fr} }

.rsvv-box{
  border:1px solid rgba(3,78,70,.14);
  border-radius:18px;
  background: linear-gradient(180deg, #fff, rgba(3,78,70,.03));
  padding:14px;
}
.rsvv-mcover{
  border-radius:18px; overflow:hidden;
  border:1px solid rgba(3,78,70,.14);
  margin-bottom:12px; position:relative;
}
.rsvv-mcover img{width:100%; height:250px; object-fit:cover; display:block}
@media (max-width:520px){ .rsvv-mcover img{height:190px} }
.rsvv-kv{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (max-width:520px){ .rsvv-kv{grid-template-columns:1fr} }
.rsvv-item{border:1px solid rgba(3,78,70,.12);border-radius:14px;background:#fff;padding:12px}
.rsvv-k{font-size:11px;color:var(--muted);font-weight:900;letter-spacing:.35px;text-transform:uppercase;margin:0 0 6px}
.rsvv-v{margin:0;font-weight:900;color:var(--ink);line-height:1.25;word-break:break-word}
.rsvv-list{margin:10px 0 0;padding:0 0 0 18px;color:#214542;line-height:1.5;font-size:13.5px}
.rsvv-list li{margin:5px 0}

.rsvv-pricebig{font-size:32px;font-weight:1000;color:var(--emerald);margin:0 0 6px}
.rsvv-tag{
  display:inline-flex;align-items:center;gap:8px;padding:8px 10px;border-radius:999px;
  background: rgba(218,174,113,.16);
  border: 1px solid rgba(218,174,113,.35);
  color:#6b4b1c;font-size:12px;font-weight:1000;text-transform:uppercase;letter-spacing:.35px;
  margin-bottom:12px;
}
.rsvv-sub{color:var(--muted);font-size:13.5px;line-height:1.45;margin:0 0 12px}
.rsvv-modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.rsvv-modal-actions .rsvv-btn{flex:1 1 170px}
.rsvv-buy2{
  background: linear-gradient(135deg, var(--gold), #f0cf96);
  color:#2b1d0a;
  box-shadow: 0 10px 18px rgba(218,174,113,.22);
}
.rsvv-outline{background:#fff;color:var(--emerald);border:1px solid rgba(3,78,70,.18)}

.rsvv-media-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.rsvv-media{background:rgba(3,78,70,.06);color:var(--emerald);border:1px solid rgba(3,78,70,.14);flex:1 1 170px}

/* Lightbox viewer */
.rsvv-lb-top{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid rgba(3,78,70,.14);background: linear-gradient(180deg, #fff, rgba(3,78,70,.03))}
.rsvv-lb-title{margin:0;font-weight:1000;color:var(--emerald);font-size:14px;letter-spacing:.2px}
.rsvv-lb-content{padding:14px;background:#fff}
.rsvv-viewer{width:100%;border-radius:18px;border:1px solid rgba(3,78,70,.14);overflow:hidden;background:#fff}
.rsvv-viewer img{width:100%;max-height:520px;object-fit:contain;display:block;background:#fff}
.rsvv-viewer iframe, .rsvv-viewer video{width:100%;height:min(520px,60vh);display:block;border:0;background:#000}
.rsvv-thumbs{margin-top:12px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
@media (max-width:860px){ .rsvv-thumbs{grid-template-columns:repeat(4,minmax(0,1fr))} }
@media (max-width:520px){ .rsvv-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))} }
.rsvv-thumb{border-radius:14px;overflow:hidden;border:1px solid rgba(3,78,70,.14);cursor:pointer;background:#fff}
.rsvv-thumb img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}

/* toast */
.rsvv-toast{
  position:fixed; right:16px; bottom:16px; z-index:9999999;
  padding:12px 14px; border-radius:14px; background:#fff;
  border:1px solid rgba(3,78,70,.18); box-shadow:0 10px 20px rgba(0,0,0,.08);
  display:none; align-items:center; gap:10px;
  max-width:min(420px, calc(100vw - 32px));
}
.rsvv-toast.show{display:flex}
.rsvv-toast i{width:10px;height:10px;border-radius:50%;background:var(--emerald);box-shadow:0 0 0 4px rgba(3,78,70,.12)}
