:root {
  --vr-green: #173f2a;
  --vr-green-2: #245c3a;
  --vr-gold: #c69b52;
  --vr-ink: #18201b;
  --vr-muted: #667068;
  --vr-line: #dce3dc;
  --vr-soft: #f4f6f2;
  --vr-white: #fff;
  --vr-danger: #a53939;
}

.vr-wrap { width: min(1180px, calc(100% - 32px)); margin: 42px auto; color: var(--vr-ink); }
.vr-narrow { width: min(760px, calc(100% - 32px)); }
.vr-wrap *, .vr-wrap *::before, .vr-wrap *::after { box-sizing: border-box; }
.vr-wrap h1, .vr-wrap h2, .vr-wrap h3 { color: var(--vr-ink); line-height: 1.22; }
.vr-wrap h1 { margin: 0 0 8px; font-size: clamp(30px, 5vw, 46px); }
.vr-wrap a { color: var(--vr-green-2); }

.vr-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 190px; padding: 34px 38px; margin-bottom: 28px; border-radius: 15px; background: #0c3e2b; box-shadow: 0 12px 30px rgba(10,45,29,.14); }
.vr-hero__title span { display: block; margin-bottom: 12px; color: #d5ae66; font-size: 12px; font-weight: 850; letter-spacing: .18em; }
.vr-hero__title h1 { margin: 0; color: #fff; font-size: clamp(38px, 5vw, 58px); line-height: 1; }
.vr-hero__actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.vr-hero-btn { display: inline-flex; min-height: 54px; padding: 14px 22px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.56); border-radius: 9px; font-weight: 780; line-height: 1.15; text-decoration: none !important; box-shadow: 0 4px 14px rgba(0,0,0,.09); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.vr-hero-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.15); }
.vr-hero-btn--light { background: rgba(255,255,255,.96); color: #253228 !important; }
.vr-hero-btn--light:hover { background: #fff; }
.vr-hero-btn--gold { border-color: #c99d51; background: linear-gradient(135deg, #d5ac66, #bd8d3f); color: #2b281e !important; }
.vr-hero-btn--gold:hover { background: linear-gradient(135deg, #e0ba78, #c99a4d); }
.vr-btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border: 1px solid var(--vr-green); border-radius: 7px; background: var(--vr-green); color: #fff !important; font-weight: 700; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: .18s ease; }
.vr-btn:hover { background: var(--vr-green-2); border-color: var(--vr-green-2); transform: translateY(-1px); }
.vr-btn--outline { background: transparent; color: var(--vr-green) !important; }
.vr-btn--danger { background: transparent; border-color: #d9b4b4; color: var(--vr-danger) !important; }
.vr-btn--danger:hover { background: #fff1f1; border-color: var(--vr-danger); }
.vr-back { display: inline-block; margin-bottom: 22px; font-weight: 700; text-decoration: none; }

.vr-filters { display: grid; grid-template-columns: 2fr 1.2fr 1fr auto; gap: 10px; padding: 14px; margin-bottom: 28px; border: 1px solid var(--vr-line); border-radius: 10px; background: var(--vr-soft); }
.vr-filters input, .vr-filters select, .vr-form input[type="text"], .vr-form input[type="search"], .vr-form input[type="file"], .vr-form select, .vr-form textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #cdd6ce; border-radius: 7px; background: #fff; color: var(--vr-ink); font: inherit; }
.vr-form textarea { resize: vertical; }
.vr-form input:focus, .vr-form select:focus, .vr-form textarea:focus, .vr-filters input:focus, .vr-filters select:focus { outline: 3px solid rgba(36,92,58,.14); border-color: var(--vr-green-2); }

.vr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.vr-card { overflow: hidden; border: 1px solid var(--vr-line); border-radius: 10px; background: var(--vr-white); box-shadow: 0 6px 24px rgba(18, 45, 29, .06); transition: transform .2s ease, box-shadow .2s ease; }
.vr-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(18, 45, 29, .11); }
.vr-card__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--vr-soft); }
.vr-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.vr-card:hover .vr-card__image img { transform: scale(1.025); }
.vr-card__body { padding: 18px; }
.vr-card h2 { margin: 6px 0 4px; font-size: 21px; }
.vr-card h2 a { color: var(--vr-ink); text-decoration: none; }
.vr-kicker { color: var(--vr-green-2); font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.vr-brand { margin: 0 0 10px; color: var(--vr-muted); }
.vr-brand--large { font-size: 18px; }
.vr-rating-row, .vr-rating-summary { display: flex; align-items: center; gap: 8px; }
.vr-rating-row span:last-child, .vr-rating-summary span:last-child { color: var(--vr-muted); }
.vr-stars { position: relative; display: inline-block; color: #d8d8d0; font-size: 18px; line-height: 1; letter-spacing: 1px; white-space: nowrap; }
.vr-stars > span { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--vr-gold); }

.vr-panel { padding: clamp(22px, 4vw, 36px); border: 1px solid var(--vr-line); border-radius: 11px; background: #fff; box-shadow: 0 8px 30px rgba(18,45,29,.07); }
.vr-panel h1, .vr-panel h2 { margin-top: 0; }
.vr-form { display: grid; gap: 9px; }
.vr-form label, .vr-rating-input legend { margin-top: 10px; font-weight: 750; }
.vr-form small { margin-top: -5px; color: var(--vr-muted); }
.vr-form .vr-btn { justify-self: start; margin-top: 14px; }
.vr-check { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 500 !important; }
.vr-check input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.vr-login { text-align: center; }

.vr-product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: 26px 0 42px; border-bottom: 1px solid var(--vr-line); }
.vr-product-hero__image { overflow: hidden; min-height: 280px; border-radius: 11px; background: var(--vr-soft); }
.vr-product-hero__image img { display: block; width: 100%; height: 100%; max-height: 480px; object-fit: contain; }
.vr-product-hero__content h1 { margin-top: 8px; }
.vr-rating-summary { margin: 20px 0; }
.vr-rating-summary .vr-stars { font-size: 25px; }
.vr-rating-summary strong { font-size: 22px; }
.vr-description { color: #424a44; }
.vr-detail-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, .8fr); gap: 34px; padding-top: 38px; }
.vr-reviews-list > h2 { display: flex; align-items: center; gap: 10px; margin-top: 0; }
.vr-reviews-list > h2 span { display: inline-flex; min-width: 28px; height: 28px; padding: 0 8px; align-items: center; justify-content: center; border-radius: 20px; background: var(--vr-soft); color: var(--vr-green); font-size: 14px; }
.vr-sticky { position: sticky; top: 24px; }

.vr-review { padding: 24px 0; border-bottom: 1px solid var(--vr-line); }
.vr-review header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.vr-user { display: flex; align-items: center; gap: 11px; }
.vr-user img { border-radius: 50%; }
.vr-user strong, .vr-user time { display: block; }
.vr-user time { color: var(--vr-muted); font-size: 13px; }
.vr-review h3 { margin: 18px 0 7px; }
.vr-review__text p { margin: 0 0 10px; }
.vr-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.vr-pros, .vr-cons { padding: 13px; border-radius: 8px; background: #f1f7f2; }
.vr-cons { background: #faf2f1; }
.vr-pros strong { color: #26703a; }
.vr-cons strong { color: #9b3c3c; }
.vr-pros p, .vr-cons p { margin: 5px 0 0; }
.vr-review-images { display: flex; gap: 9px; margin-top: 16px; }
.vr-review-images img { width: 92px; height: 76px; object-fit: cover; border-radius: 7px; }
.vr-review footer { display: flex; gap: 14px; margin-top: 15px; font-size: 13px; }
.vr-review footer form { margin: 0; }
.vr-link-button { padding: 0; border: 0; background: none; color: var(--vr-muted); font: inherit; cursor: pointer; text-decoration: underline; }

.vr-rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 3px; margin: 8px 0 5px; padding: 0; border: 0; }
.vr-rating-input legend { width: 100%; margin-bottom: 5px; }
.vr-rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.vr-rating-input label { margin: 0 !important; color: #d5d7d1; font-size: 34px; line-height: 1; cursor: pointer; }
.vr-rating-input label:hover, .vr-rating-input label:hover ~ label, .vr-rating-input input:checked ~ label { color: var(--vr-gold); }

.vr-my-review { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px; margin-bottom: 12px; border: 1px solid var(--vr-line); border-radius: 9px; background: #fff; }
.vr-my-review h2 { margin: 5px 0 1px; font-size: 21px; }
.vr-my-review p { margin: 0; color: var(--vr-muted); }
.vr-my-review__actions { display: flex; align-items: center; gap: 8px; }
.vr-my-review__actions form { margin: 0; }

.vr-notice { padding: 13px 16px; margin-bottom: 22px; border: 1px solid; border-radius: 8px; }
.vr-notice--success { background: #edf8ef; border-color: #b7d9bd; color: #215b2b; }
.vr-notice--error { background: #fff0ef; border-color: #e7c1bd; color: #8c3029; }
.vr-empty { padding: 48px 22px; border: 1px dashed #bdc8bf; border-radius: 10px; background: var(--vr-soft); text-align: center; }
.vr-empty--small { padding: 24px 18px; text-align: left; }
.vr-pagination ul { display: flex; justify-content: center; gap: 6px; padding: 0; margin: 28px 0 0; list-style: none; }
.vr-pagination a, .vr-pagination span { display: grid; min-width: 38px; height: 38px; place-items: center; border: 1px solid var(--vr-line); border-radius: 6px; text-decoration: none; }
.vr-pagination .current { border-color: var(--vr-green); background: var(--vr-green); color: #fff; }

@media (max-width: 860px) {
  .vr-hero { align-items: flex-start; flex-direction: column; }
  .vr-hero__actions { justify-content: flex-start; }
  .vr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vr-filters { grid-template-columns: 1fr 1fr; }
  .vr-filters input { grid-column: 1 / -1; }
  .vr-product-hero, .vr-detail-grid { grid-template-columns: 1fr; }
  .vr-sticky { position: static; }
}

@media (max-width: 580px) {
  .vr-wrap { width: min(100% - 22px, 1180px); margin: 26px auto; }
  .vr-hero { min-height: 0; padding: 27px 20px 22px; border-radius: 12px; }
  .vr-hero__title h1 { font-size: 40px; }
  .vr-hero__actions { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: 8px; }
  .vr-hero-btn { min-height: 47px; padding: 11px 10px; font-size: 13px; text-align: center; }
  .vr-hero-btn:first-child { grid-column: 1 / -1; }
  .vr-filters, .vr-grid, .vr-pros-cons { grid-template-columns: 1fr; }
  .vr-filters input { grid-column: auto; }
  .vr-card__body { padding: 15px; }
  .vr-panel { padding: 20px 16px; }
  .vr-product-hero { gap: 22px; padding-top: 10px; }
  .vr-product-hero__image { min-height: 220px; }
  .vr-detail-grid { padding-top: 26px; }
  .vr-review header { align-items: flex-start; flex-direction: column; }
  .vr-my-review { align-items: flex-start; flex-direction: column; }
  .vr-my-review__actions, .vr-my-review__actions .vr-btn { width: 100%; }
  .vr-my-review__actions { flex-direction: column; }
  .vr-my-review__actions form { width: 100%; }
}
