:root {
  --vierlot-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Helvetica Neue', sans-serif;
  --vierlot-bg: #F5F2ED;
  --vierlot-text: #333333;
  --vierlot-text-light: #666666;
  --vierlot-text-muted: #999999;
  --vierlot-line: #E5E0D8;
  --vierlot-disabled: #CCCCCC;
  --vierlot-heart-active: #8C2F39;
  --vierlot-star: #C8102E;
  --vierlot-max-width: 1200px;
}

html, body {
  font-family: var(--vierlot-font);
  background-color: var(--vierlot-bg);
  color: var(--vierlot-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
.body0,
.body1,
.body2,
.body3,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--vierlot-font) !important;
}

.vierlot-section,
.vierlot-section *,
.vierlot-section *::before,
.vierlot-section *::after {
  box-shadow: none !important;
  border-radius: 0 !important;
}

.vierlot-section *,
.vierlot-section *::before,
.vierlot-section *::after {
  transition-property: color, background-color, border-color, opacity;
  transition-duration: 0.2s;
  transition-timing-function: ease;
  animation-duration: 0s;
}

.vierlot-container {
  max-width: var(--vierlot-max-width);
  margin: 0 auto;
  padding-inline: 20px;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .vierlot-container {
    padding-inline: 16px;
  }
}

.vierlot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 44px;
  padding: 0 24px;
  border: 1px solid var(--vierlot-text);
  background: transparent;
  font-family: var(--vierlot-font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: var(--vierlot-text);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
.vierlot-btn:hover,
a.vierlot-btn:hover {
  background: var(--vierlot-text);
  color: var(--vierlot-bg);
}
.vierlot-btn--sm {
  min-width: 140px;
  height: 40px;
  font-size: 14px;
}
.vierlot-btn--lg {
  min-width: 180px;
  height: 48px;
  font-size: 18px;
}

.vierlot-section-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--vierlot-text);
  line-height: 1.3;
  margin: 0;
  text-align: center;
}
.vierlot-section-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: var(--vierlot-text-light);
  margin: 12px 0 0;
  text-align: center;
}

a {
  color: inherit;
  text-decoration: none;
}

a.vca__action-btn:hover,
a.vca__more-btn:hover,
a.vca__logout-btn:hover,
a.vca__save-btn:hover,
a.vod__action:hover,
a.va__join-btn:hover,
a.vag__shop-btn:hover,
a.vfaq__inquire-btn:hover,
a.vw__card-cart:hover,
a.vw__cat:hover,
a.vsd__shop-btn:hover,
a.vsp__shop-btn:hover,
a.vpp__shop-btn:hover,
a.vtos__shop-btn:hover,
a.button--secondary:hover,
a.vc__checkout:hover,
a.vc__empty-btn:hover {
  color: var(--vierlot-bg);
}

img {
  max-width: 100%;
  display: block;
}

.vwa {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #25D366;
  border-radius: 8px;
  background: #FFFFFF;
  overflow: hidden;
  font-family: var(--vierlot-font);
}
.vwa__main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.vwa__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: #25D366;
}
.vwa__icon svg { width: 32px; height: 32px; }
.vwa__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.vwa__label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vierlot-text-muted);
}
.vwa__number {
  font-size: 17px;
  font-weight: 600;
  color: var(--vierlot-text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.vwa__note {
  font-size: 11px;
  color: var(--vierlot-text-light);
  line-height: 1.45;
}
.vwa__actions {
  display: flex;
  border-top: 1px solid var(--vierlot-line);
}
.vwa .vwa__btn {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
  border: 0;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.vwa .vwa__btn--chat { color: #1FA855; }
.vwa .vwa__btn--chat:hover { background: #F0FAF3; }
.vwa .vwa__btn--copy {
  color: var(--vierlot-text-light);
  border-left: 1px solid var(--vierlot-line);
}
.vwa .vwa__btn--copy:hover { background: #EFEAE1; color: var(--vierlot-text); }
.vwa__toast {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 5px 10px;
  background: var(--vierlot-text);
  color: #fff;
  font-size: 11px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-4px);
}
.vwa__toast.is-visible { opacity: 1; transform: translateY(0); }

.vss {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--vierlot-line);
  background: #FBF9F5;
  overflow: hidden;
  font-family: var(--vierlot-font);
}
.vss__main {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.vss__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  color: #C9A86A;
}
.vss__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.vss__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--vierlot-text);
  letter-spacing: 0.02em;
}
.vss__note {
  font-size: 12px;
  color: var(--vierlot-text-light);
  line-height: 1.5;
}
.vss__actions {
  display: flex;
  border-top: 1px solid var(--vierlot-line);
}
.vss .vss__btn {
  flex: 1;
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--vierlot-text-light);
  cursor: pointer;
  font-family: inherit;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--vierlot-line);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.vss .vss__btn:last-child { border-right: 0; }
.vss .vss__btn--add { color: var(--vierlot-text); }
.vss .vss__btn:hover { background: #EFEAE1; color: var(--vierlot-text); }
.vss__toast {
  position: absolute;
  top: 8px;
  right: 12px;
  padding: 5px 10px;
  background: var(--vierlot-text);
  color: #fff;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-4px);
}
.vss__toast.is-visible { opacity: 1; transform: translateY(0); }

#plugin-product-comment,
#plugin-product-comment-collections,
#plugin-product-comment-imageTextSwiper,
.plugin-product-comment {
  max-width: var(--vierlot-max-width);
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.vsr-title {
  display: block;
  max-width: var(--vierlot-max-width);
  margin: 8px auto 28px;
  font-family: var(--vierlot-font);
  font-size: 26px;
  font-weight: 500;
  color: var(--vierlot-text);
  text-align: center;
  letter-spacing: 0.02em;
}
.plugin-product-comment-collections-title {
  display: none !important;
}

.plugin-product-comment--star-first,
.plugin-product-comment--star-first svg,
.plugin-product-comment--star-first svg path {
  fill: var(--vierlot-star) !important;
  color: var(--vierlot-star) !important;
}
.plugin-product-comment--star-second,
.plugin-product-comment--star-second svg,
.plugin-product-comment--star-second svg path {
  fill: #EAEAEA !important;
  color: #EAEAEA !important;
}
.plugin-product-comment--star-full .plugin-product-comment--star-first {
  width: 100% !important;
  opacity: 1 !important;
}
.plugin-product-comment--star-half .plugin-product-comment--star-first {
  width: 50% !important;
  opacity: 1 !important;
}
.plugin-product-comment--star-zero .plugin-product-comment--star-first {
  width: 0 !important;
  opacity: 0 !important;
}
.plugin-product-comment .isv-web-btn-primary,
#plugin-product-comment-collections .isv-web-btn-primary {
  background: transparent !important;
  color: var(--vierlot-text) !important;
  border: 1px solid var(--vierlot-text) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--vierlot-font) !important;
  letter-spacing: 0.04em;
}
.plugin-product-comment .isv-web-btn-primary:hover,
#plugin-product-comment-collections .isv-web-btn-primary:hover {
  background: var(--vierlot-text) !important;
  color: var(--vierlot-bg) !important;
}
.plugin-product-comment .plugin-product-comment-infoWrap,
.plugin-product-comment [class*="select-buttons-item"],
.plugin-product-comment [class*="select-entry"],
.plugin-product-comment [class*="progress"],
.plugin-product-comment .isv-web-btn,
#plugin-product-comment-collections [class*="infoWrap"],
#plugin-product-comment-collections [class*="card"],
#plugin-product-comment-collections .isv-web-btn {
  border-radius: 0 !important;
}
.plugin-product-comment .plugin-product-comment-infoWrap {
  border-color: var(--vierlot-line) !important;
  background: #FFFFFF;
}

#plugin-product-comment-imageTextSwiper .plugin-product-comment-ImageSwiperTextItemWrap {
  background: #FFFFFF;
  border: 1px solid var(--vierlot-line);
  display: flex;
  flex-direction: column;
  height: 100%;
}
#plugin-product-comment-imageTextSwiper .plugin-product-comment-imageRadioBox {
  background: #FFFFFF;
  border-bottom: 1px solid var(--vierlot-line);
}
#plugin-product-comment-imageTextSwiper .plugin-product-comment-imageRadioBox img {
  object-fit: contain !important;
  mix-blend-mode: multiply;
}
#plugin-product-comment-imageTextSwiper .plugin-product-comment-rate {
  padding-top: 16px;
}
#plugin-product-comment-imageTextSwiper .plugin-product-comment-infoWrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 18px 20px;
  text-align: center;
}
#plugin-product-comment-imageTextSwiper .plugin-product-comment-name {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vierlot-text-muted) !important;
}
#plugin-product-comment-imageTextSwiper .plugin-product-comment-content {
  font-size: 13px;
  line-height: 1.75;
  color: var(--vierlot-text-light) !important;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(13px * 1.75 * 4);
}

#plugin-product-comment {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.vsr-write-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 34px auto 28px;
  max-width: var(--vierlot-max-width);
}
.vsr-write-wrap .isv-web-btn {
  background: transparent !important;
  color: var(--vierlot-text) !important;
  border: 1px solid var(--vierlot-text) !important;
  border-radius: 0 !important;
  font-family: var(--vierlot-font) !important;
  letter-spacing: 0.06em;
  padding: 10px 30px !important;
  height: auto !important;
  font-size: 13px !important;
}
.vsr-write-wrap .isv-web-btn:hover {
  background: var(--vierlot-text) !important;
  color: var(--vierlot-bg) !important;
}

.vsr-write-wrap[data-vsr-locked="1"] .isv-web-btn,
.vsr-write-wrap[data-vsr-locked="1"] .plugin-product-comment-empty-list-btn {
  color: var(--vierlot-text-light) !important;
  border-color: var(--vierlot-disabled) !important;
  opacity: 1 !important;
  cursor: not-allowed;
}
.vsr-write-wrap[data-vsr-locked="1"] .isv-web-btn:hover,
.vsr-write-wrap[data-vsr-locked="1"] .plugin-product-comment-empty-list-btn:hover {
  background: transparent !important;
  color: var(--vierlot-text-light) !important;
}
.vsr-write-wrap[data-vsr-tip]::after {
  content: attr(data-vsr-tip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  max-width: min(460px, calc(100vw - 32px));
  width: max-content;
  padding: 9px 14px;
  background: var(--vierlot-text);
  color: var(--vierlot-bg);
  font-family: var(--vierlot-font);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}
.vsr-write-wrap[data-vsr-tip]:hover::after,
.vsr-write-wrap[data-vsr-tip].vsr-tip-open::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#plugin-product-comment-collections .plugin-product-comment-infoWrap {
  display: flex;
  flex-direction: column;
}
#plugin-product-comment-collections .plugin-product-comment-infoWrap > .plugin-product-comment-content-title {
  order: 1;
}
#plugin-product-comment-collections .plugin-product-comment-infoWrap > *:has(> .plugin-product-comment-content-info),
#plugin-product-comment-collections .plugin-product-comment-infoWrap > .plugin-product-comment-content-info {
  order: 2;
}
#plugin-product-comment-collections .plugin-product-comment-infoWrap > *:has(.plugin-product-comment-imageBoxWrap) {
  order: 3;
  margin-top: 12px;
}
#plugin-product-comment-collections .plugin-product-comment-infoWrap > .plugin-product-comment-CommentAndHelpfulBtns-box {
  order: 4;
}
#plugin-product-comment-collections .plugin-product-comment-infoWrap > .plugin-product-comment-bgContainer {
  order: 5;
}
#plugin-product-comment-collections .plugin-product-comment-imageBoxWrap {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
}
#plugin-product-comment-collections .plugin-product-comment-imageBoxWrapItem {
  flex: 0 0 104px;
  width: 104px !important;
  height: 104px !important;
  min-width: 104px !important;
  min-height: 104px !important;
  max-width: 104px !important;
  max-height: 104px !important;
  margin: 0 !important;
  overflow: hidden;
}
#plugin-product-comment-collections .plugin-product-comment-imageBoxWrapItem img,
#plugin-product-comment-collections .plugin-product-comment-imageBoxWrapItem video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

#plugin-product-comment-collections .plugin-product-comment-bgContainer,
.plugin-product-comment-modal .plugin-product-comment-bgContainer {
  position: relative;
}

.plugin-product-comment-product-card {
  flex-wrap: wrap;
}

#plugin-product-comment-collections .plugin-product-comment-product-card::before,
.plugin-product-comment-modal .plugin-product-comment-product-card::before {
  content: "Purchased item";
  flex: 0 0 100%;
  order: -1;
  margin-bottom: 4px;
  font-family: var(--vierlot-font);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vierlot-text-muted);
}

.plugin-product-comment-product-card > .vsr-price {
  flex: 0 0 100%;
  width: 100%;
  box-sizing: border-box;
  padding-left: 8px;
  margin-top: 2px;
  font-family: var(--vierlot-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--vierlot-text);
}

.isv-web-pagination .isv-web-pagination-jump-prev,
.isv-web-pagination .isv-web-pagination-jump-next {
  font-family: var(--vierlot-font);
  color: var(--vierlot-text-muted);
  min-width: 28px;
  text-align: center;
}

.plugin-product-comment-modal .plugin-product-comment-commentListRate-start {
  color: var(--vierlot-star) !important;
}

.plugin-product-comment-writeCommentModal .plugin-product-comment-stars .star .icon svg,
.plugin-product-comment-writeCommentModal .plugin-product-comment-stars .star .icon svg path,
.plugin-product-comment-writeCommentModal .plugin-product-comment-stars .star .icon svg g {
  fill: var(--vierlot-star) !important;
}
.plugin-product-comment-writeCommentModal .plugin-product-comment-stars .star .iconText {
  color: var(--vierlot-text-light) !important;
  font-family: var(--vierlot-font) !important;
}
.plugin-product-comment-writeCommentModal .plugin-product-comment-title {
  font-family: var(--vierlot-font) !important;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  #plugin-product-comment-collections article > div {
    display: flex;
    flex-direction: column;
  }
  #plugin-product-comment-collections article > div > .plugin-product-comment-userInfo {
    order: 1;
  }
  #plugin-product-comment-collections article > div > .plugin-product-comment-content-title {
    order: 2;
  }
  #plugin-product-comment-collections article > div > .plugin-product-comment-content-info {
    order: 3;
  }
  #plugin-product-comment-collections article > div > .plugin-product-comment-imageBoxWrap {
    order: 4;
    margin-top: 12px;
  }
  #plugin-product-comment-collections article > div > .plugin-product-comment-CommentAndHelpfulBtns-box {
    order: 5;
  }
  #plugin-product-comment-collections article > div > .plugin-product-comment-bgContainer {
    order: 6;
  }
}

.vsr-img-more {
  display: none;
}
@media (max-width: 768px) {
  #plugin-product-comment-collections .plugin-product-comment-imageBoxWrap {
    position: relative;
    flex-wrap: nowrap !important;
  }
  #plugin-product-comment-collections .plugin-product-comment-imageBoxWrapItem {
    flex: 0 0 calc((100% - 16px) / 3) !important;
    width: calc((100% - 16px) / 3) !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
  }
  #plugin-product-comment-collections .plugin-product-comment-imageBoxWrapItem:nth-of-type(n+4) {
    display: none !important;
  }
  #plugin-product-comment-collections .plugin-product-comment-residueImage {
    display: none !important;
  }
  #plugin-product-comment-collections .plugin-product-comment-imageBoxWrap .vsr-img-more {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    width: calc((100% - 16px) / 3);
    aspect-ratio: 1 / 1;
    background: rgba(30, 28, 25, 0.52);
    color: #FFFFFF;
    font-family: var(--vierlot-font);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.02em;
    pointer-events: none;
  }
}
