.hvwpr-wrap,
.hvwpr-modal,
.hvwpr-empty {
  --hvwpr-star: #f5bd00;
  --hvwpr-accent: #f5bd00;
  --hvwpr-text: #111827;
  --hvwpr-muted: #6b7280;
  --hvwpr-border: #e5e7eb;
  --hvwpr-bg: #ffffff;
  --hvwpr-soft: #f8fafc;
  --hvwpr-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.hvwpr-wrap,
.hvwpr-wrap *,
.hvwpr-modal,
.hvwpr-modal * {
  box-sizing: border-box;
}

.hvwpr-wrap {
  width: 100%;
  color: var(--hvwpr-text);
  line-height: 1.5;
}


.hvwpr-wrap .hvwpr-ui-btn,
.hvwpr-wrap .hvwpr-view-btn,
.hvwpr-wrap .hvwpr-search-submit,
.hvwpr-wrap .hvwpr-card-media,
.hvwpr-wrap .hvwpr-card-title,
.hvwpr-wrap .hvwpr-read-more,
.hvwpr-wrap .hvwpr-modal button,
.hvwpr-wrap .hvwpr-write-btn,
.hvwpr-wrap .hvwpr-product-write {
  -webkit-appearance: none !important;
  appearance: none !important;
  min-width: 0 !important;
  max-width: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.hvwpr-board-head,
.hvwpr-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 22px;
}

.hvwpr-board-head h2,
.hvwpr-section-head h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: normal;
}

.hvwpr-board-head p {
  margin: 8px 0 0;
  color: var(--hvwpr-muted);
  font-size: 15px;
}

.hvwpr-toolbar {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) minmax(220px, 320px);
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--hvwpr-border);
  border-bottom: 1px solid var(--hvwpr-border);
}

.hvwpr-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hvwpr-view-btn {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  display: inline-grid !important;
  gap: 3px;
  padding: 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #9ca3af !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: .2s ease;
}

.hvwpr-view-btn span {
  display: block;
  background: currentColor;
  border-radius: 2px;
}

.hvwpr-view-btn:not(.hvwpr-grid-icon) {
  grid-template-rows: repeat(3, 1fr);
}

.hvwpr-grid-icon {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.hvwpr-view-btn.is-active,
.hvwpr-view-btn:hover {
  color: #111827;
}

.hvwpr-select-wrap,
.hvwpr-search-wrap {
  width: 100%;
  position: relative;
  margin: 0;
}

.hvwpr-select-wrap select,
.hvwpr-search-wrap input {
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  border: 1px solid var(--hvwpr-border) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--hvwpr-text) !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 14px !important;
  padding: 0 44px 0 18px !important;
}

.hvwpr-search-wrap .hvwpr-search-submit {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 48px !important;
  min-width: 48px !important;
  height: 48px !important;
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #111827 !important;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
}

.hvwpr-search-wrap .hvwpr-search-submit span {
  width: 16px;
  height: 16px;
  display: block;
  margin: 15px auto;
  border: 2px solid #111827;
  border-radius: 999px;
  position: relative;
}

.hvwpr-search-wrap .hvwpr-search-submit span:after {
  content: "";
  width: 8px;
  height: 2px;
  background: #111827;
  position: absolute;
  right: -7px;
  bottom: -4px;
  transform: rotate(45deg);
  border-radius: 99px;
}

.hvwpr-items.hvwpr-mode-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hvwpr-card {
  background: var(--hvwpr-bg);
  border: 1px solid var(--hvwpr-border);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hvwpr-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--hvwpr-shadow);
  border-color: #d1d5db;
}

.hvwpr-card-media {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / .78;
  position: relative;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #f3f4f6 !important;
  color: inherit !important;
  cursor: pointer;
  overflow: hidden;
}

.hvwpr-card-image,
.hvwpr-card-media > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transform: scale(1);
  transition: transform .28s ease;
}

.hvwpr-card:hover .hvwpr-card-image,
.hvwpr-card:hover .hvwpr-card-media > img {
  transform: scale(1.035);
}

.hvwpr-no-image {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--hvwpr-muted);
  font-size: 13px;
}

.hvwpr-thumb-strip {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  display: flex;
  gap: 5px;
  align-items: center;
  z-index: 2;
}

.hvwpr-thumb-strip span,
.hvwpr-thumb-strip em {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.8);
  background: rgba(255,255,255,.86);
  overflow: hidden;
  border-radius: 3px;
  display: inline-grid;
  place-items: center;
  font-style: normal;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
}

.hvwpr-thumb-strip img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.hvwpr-card-body {
  padding: 14px 14px 12px;
}

.hvwpr-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 0 8px !important;
  color: #111827 !important;
  text-align: left !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  cursor: pointer;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.hvwpr-card-title:hover,
.hvwpr-read-more:hover {
  color: #0057b8 !important;
}

.hvwpr-card-excerpt {
  margin: 0 0 10px !important;
  min-height: 43px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hvwpr-stars,
.hvwpr-modal-stars {
  color: var(--hvwpr-star);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1px;
  margin: 0 0 8px;
  white-space: nowrap;
}

.hvwpr-card-author {
  color: var(--hvwpr-muted);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.hvwpr-card-avatar,
.hvwpr-list-avatar,
.hvwpr-modal-avatar {
  flex: 0 0 auto;
  border-radius: 999px;
  overflow: hidden;
  background: #f3f4f6;
  object-fit: cover;
  display: block;
}

.hvwpr-card-avatar {
  width: 24px;
  height: 24px;
}

.hvwpr-card-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.hvwpr-card-author-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hvwpr-product-mini {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border-top: 1px solid var(--hvwpr-border);
  color: #4b5563 !important;
  text-decoration: none !important;
  font-size: 12px;
}

.hvwpr-product-mini:hover .hvwpr-product-mini-name {
  color: #0057b8;
}

.hvwpr-product-mini-img,
.hvwpr-list-product-img {
  background: #f3f4f6;
  overflow: hidden;
}

.hvwpr-product-mini-img img,
.hvwpr-list-product-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.hvwpr-product-mini-img {
  width: 34px;
  height: 34px;
}

.hvwpr-product-mini-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hvwpr-items.hvwpr-mode-list {
  display: block;
  border-top: 1px solid var(--hvwpr-border);
}

.hvwpr-card-list {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 190px;
  gap: 34px;
  align-items: start;
  border: 0;
  border-bottom: 1px solid var(--hvwpr-border);
  padding: 34px 0;
  box-shadow: none !important;
}

.hvwpr-card-list:hover {
  transform: none;
  border-color: var(--hvwpr-border);
}

.hvwpr-list-product {
  text-align: center;
}

.hvwpr-list-product-img {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
}

.hvwpr-list-product-name {
  color: #6b7280 !important;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none !important;
  display: block;
}

.hvwpr-thumb-strip-list {
  position: static;
  margin-bottom: 18px;
}

.hvwpr-thumb-strip-list span,
.hvwpr-thumb-strip-list em {
  width: 70px;
  height: 58px;
  border-color: var(--hvwpr-border);
  background: #fff;
}

.hvwpr-card-list .hvwpr-card-title {
  font-size: 18px !important;
  -webkit-line-clamp: 2;
  margin-bottom: 14px !important;
}

.hvwpr-card-list .hvwpr-card-excerpt {
  min-height: 0;
  max-width: 760px;
  color: #6b7280;
  font-size: 15px;
  -webkit-line-clamp: 2;
}

.hvwpr-read-more {
  border: 0 !important;
  background: transparent !important;
  color: #0057b8 !important;
  padding: 0 !important;
  margin: 8px 0 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.hvwpr-list-side {
  border-left: 1px solid var(--hvwpr-border);
  min-height: 160px;
  padding-left: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  color: var(--hvwpr-muted);
  font-size: 14px;
}

.hvwpr-list-side .hvwpr-stars {
  font-size: 19px;
  margin-bottom: 10px;
}

.hvwpr-list-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.hvwpr-list-avatar {
  width: 30px;
  height: 30px;
}

.hvwpr-list-author span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hvwpr-pagination {
  margin: 42px 0 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.hvwpr-pagination a {
  min-width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #6b7280 !important;
  text-decoration: none !important;
  font-size: 13px;
}

.hvwpr-pagination a:hover,
.hvwpr-pagination a.is-current {
  background: #111827;
  color: #fff !important;
}

.hvwpr-write-row {
  display: flex;
  justify-content: flex-end;
  margin: 20px 0 0;
}

.hvwpr-write-btn,
.hvwpr-product-write {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 22px !important;
  border: 0 !important;
  background: #111827 !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 14px !important;
  border-radius: 0 !important;
}

.hvwpr-write-btn:hover,
.hvwpr-product-write:hover {
  background: #000 !important;
  color: #fff !important;
}

.hvwpr-empty {
  padding: 28px;
  background: var(--hvwpr-soft);
  border: 1px solid var(--hvwpr-border);
  color: var(--hvwpr-muted);
  text-align: center;
}

body.hvwpr-modal-open {
  overflow: hidden !important;
}

.hvwpr-modal[hidden] {
  display: none !important;
}

.hvwpr-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
}

.hvwpr-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.66);
}

.hvwpr-modal-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100vw - 120px));
  height: min(600px, calc(100dvh - 170px));
  max-height: calc(100dvh - 170px);
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 380px);
  background: #fff;
  box-shadow: 0 25px 80px rgba(0,0,0,.35);
}

.hvwpr-modal-close,
.hvwpr-modal-close-btn {
  position: absolute !important;
  right: -18px !important;
  top: -18px !important;
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  cursor: pointer;
  z-index: 10;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.18) !important;
  overflow: hidden;
}

.hvwpr-modal-close:before,
.hvwpr-modal-close:after,
.hvwpr-modal-close-btn:before,
.hvwpr-modal-close-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 17px;
  height: 3px;
  border-radius: 999px;
  background: #111827;
  transform-origin: center;
}

.hvwpr-modal-close:before,
.hvwpr-modal-close-btn:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.hvwpr-modal-close:after,
.hvwpr-modal-close-btn:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hvwpr-modal-close:hover,
.hvwpr-modal-close-btn:hover {
  background: #f9fafb !important;
}

.hvwpr-modal-gallery {
  position: relative;
  background: #070707;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hvwpr-modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hvwpr-modal-nav,
.hvwpr-modal-nav-btn {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%);
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
  font-size: 34px !important;
  line-height: 1 !important;
  cursor: pointer;
  z-index: 3;
  padding: 0 !important;
  margin: 0 !important;
}

.hvwpr-modal-prev { left: 18px; }
.hvwpr-modal-next { right: 18px; }

.hvwpr-modal-count {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  min-width: 54px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.hvwpr-modal-info {
  overflow-y: auto;
  padding: 28px 28px 34px;
}

.hvwpr-modal-product {
  display: grid;
  grid-template-columns: 86px minmax(0,1fr);
  gap: 14px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hvwpr-border);
  margin-bottom: 20px;
}

.hvwpr-modal-product-img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  background: #f3f4f6;
}

.hvwpr-modal-product-name {
  display: block;
  color: #111827 !important;
  text-decoration: none !important;
  font-size: 15px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hvwpr-modal-product-price {
  margin-top: 8px;
  color: #111827;
  font-size: 15px;
}

.hvwpr-modal-product-link {
  display: inline-flex;
  margin-top: 10px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid var(--hvwpr-border);
  border-radius: 6px;
  color: #111827 !important;
  text-decoration: none !important;
  font-size: 13px;
}

.hvwpr-modal-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  color: #6b7280;
  font-size: 14px;
}

.hvwpr-modal-meta .hvwpr-modal-stars {
  margin: 0 auto 0 0;
  font-size: 20px;
}

.hvwpr-modal-author-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
}

.hvwpr-modal-avatar {
  width: 34px;
  height: 34px;
}

.hvwpr-modal-author {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hvwpr-modal-title {
  margin: 0 0 14px !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  color: #111827 !important;
}

.hvwpr-modal-content {
  color: #111827;
  font-size: 15px;
  line-height: 1.75;
}

.hvwpr-modal-content p {
  margin: 0 0 12px !important;
}

.hvwpr-modal-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--hvwpr-border);
}

.hvwpr-modal-actions .hvwpr-modal-action-btn {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #4b5563 !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  cursor: pointer;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}


.hvwpr-form-row {
  margin: 0 0 14px !important;
}

.hvwpr-form-row label {
  display: block;
  margin-bottom: 7px;
  font-weight: 700;
}

.hvwpr-form-row input[type="text"],
.hvwpr-form-row input[type="file"] {
  width: 100% !important;
}

.hvwpr-form-note {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 12px;
}

.hvwpr-comment-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.hvwpr-comment-gallery-item {
  width: 72px;
  height: 72px;
  display: block;
  border: 1px solid var(--hvwpr-border);
  overflow: hidden;
}

.hvwpr-comment-gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}


@media (max-height: 800px) and (min-width: 861px) {
  .hvwpr-modal-dialog {
    width: min(940px, calc(100vw - 120px));
    height: min(540px, calc(100dvh - 150px));
    max-height: calc(100dvh - 150px);
    min-height: 390px;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, 360px);
  }
  .hvwpr-modal-info {
    padding: 22px 24px 28px;
  }
  .hvwpr-modal-product {
    grid-template-columns: 70px minmax(0,1fr);
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
  }
  .hvwpr-modal-product-img {
    width: 70px;
    height: 70px;
  }
  .hvwpr-modal-content {
    line-height: 1.65;
  }
}

@media (max-width: 1100px) {
  .hvwpr-items.hvwpr-mode-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hvwpr-card-list {
    grid-template-columns: 130px minmax(0, 1fr) 150px;
    gap: 22px;
  }
}

@media (max-width: 860px) {
  .hvwpr-toolbar {
    grid-template-columns: 1fr;
  }
  .hvwpr-items.hvwpr-mode-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hvwpr-card-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hvwpr-list-product {
    display: grid;
    grid-template-columns: 80px minmax(0,1fr);
    gap: 14px;
    text-align: left;
    align-items: center;
  }
  .hvwpr-list-product-img {
    width: 80px;
    height: 80px;
    margin: 0;
  }
  .hvwpr-list-side {
    border-left: 0;
    min-height: 0;
    padding-left: 0;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .hvwpr-modal-dialog {
    width: calc(100vw - 32px);
    height: calc(100dvh - 48px);
    max-height: calc(100dvh - 48px);
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(260px, 44dvh) minmax(0, 1fr);
  }
  .hvwpr-modal-close,
  .hvwpr-modal-close-btn {
    right: 10px !important;
    top: 10px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.95) !important;
  }
}

@media (max-width: 520px) {
  .hvwpr-modal-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    grid-template-rows: minmax(220px, 40dvh) minmax(0, 1fr);
  }
  .hvwpr-modal-nav,
  .hvwpr-modal-nav-btn {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 28px !important;
  }
  .hvwpr-board-head,
  .hvwpr-section-head {
    display: block;
  }
  .hvwpr-items.hvwpr-mode-grid {
    grid-template-columns: 1fr;
  }
  .hvwpr-modal-info {
    padding: 20px;
  }
  .hvwpr-modal-product {
    grid-template-columns: 70px minmax(0, 1fr);
  }
  .hvwpr-modal-product-img {
    width: 70px;
    height: 70px;
  }
  .hvwpr-thumb-strip-list span,
  .hvwpr-thumb-strip-list em {
    width: 54px;
    height: 48px;
  }
}
