/* Account V7 — final targeted layer. Uses the active storefront theme tokens. */
/* Header: original outline icons with readable, compact count badges. */
header.main-header .g2-v4-header-actions .g2-v4-head-trigger {
  overflow: visible !important
}

header.main-header .g2-v4-header-actions .g2-v4-head-trigger .g2-v4-head-count {
  position: absolute !important;
  inset-block-start: 5px !important;
  inset-inline-start: -18px !important;
  inset-inline-end: auto !important;
  right: auto !important;
  left: 20px !important;
  display: inline-flex !important;
  justify-content: center;
  align-items: center;
  min-width: 19px !important;
  width: auto !important;
  height: 19px !important;
  max-width: 35px;
  border-radius: 999px !important;
  padding: 0 5px !important;
  margin: 0 !important;
  border: 2px solid var(--primary-color, #ed3768) !important;
  background: var(--primary-color, #ed3768) !important;
  color: #fff !important;
  box-shadow: 0 3px 9px rgba(0, 0, 0, .2) !important;
  text-shadow: none !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  pointer-events: none;
  transition: background .17s ease, color .17s ease, border-color .17s ease, transform .17s ease !important
}

header.main-header .g2-v4-header-actions .g2-v4-head-trigger:hover .g2-v4-head-count,
header.main-header .g2-v4-header-actions .g2-v4-head-trigger:focus-visible .g2-v4-head-count {
  color: var(--primary-color, #ed3768) !important;
  background: #fff !important;
  border-color: #fff !important;
  transform: translateY(-1px)
}

@media(max-width:640px) {
  header.main-header .g2-v4-header-actions .g2-v4-head-trigger .g2-v4-head-count {
    inset-block-start: 5px !important;
    left: 20px !important;
    min-width: 18px !important;
    height: 18px !important;
    font-size: 9px !important
  }
}

/* Identity: editorial header, clear account hierarchy and wallet action. */
.g2-account-suite .g2-account-identity.g2-v7-identity {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 18px !important;
  background: var(--g2-panel) !important;
  border: 1px solid var(--g2-line) !important;
  border-radius: 20px !important;
  box-shadow: var(--g2-shadow) !important;
  overflow: hidden;
  isolation: isolate
}

.g2-account-suite .g2-v7-identity::before {
  height: 3px;
  background: var(--g2-accent)
}

.g2-account-suite .g2-v7-identity-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 1px 0 16px
}

.g2-account-suite .g2-v7-identity-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 750;
  color: var(--g2-muted)
}

.g2-account-suite .g2-v7-identity-eyebrow i {
  color: var(--g2-accent);
  font-size: 14px
}

.g2-account-suite .g2-v7-identity-edit {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--g2-line);
  background: var(--g2-panel-muted);
  color: var(--g2-heading) !important;
  text-decoration: none !important;
  font-size: 18px
}

.g2-account-suite .g2-v7-identity-edit:hover {
  color: var(--g2-accent) !important;
  border-color: var(--g2-accent)
}

.g2-account-suite .g2-v7-identity-main {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0
}

.g2-account-suite .g2-v7-identity-avatar {
  display: grid !important;
  place-items: center;
  width: 58px !important;
  height: 58px !important;
  border-radius: 18px !important;
  border: 1px solid color-mix(in srgb, var(--g2-accent) 24%, var(--g2-line));
  background: color-mix(in srgb, var(--g2-accent) 11%, var(--g2-panel)) !important;
  color: var(--g2-accent) !important;
  font-size: 26px !important;
  font-weight: 850
}

.g2-account-suite .g2-v7-identity .g2-account-identity-details {
  display: flex;
  gap: 3px;
  min-width: 0
}

.g2-account-suite .g2-v7-identity .g2-account-identity-details strong {
  font-size: 16px !important;
  font-weight: 850;
  line-height: 1.7;
  color: var(--g2-heading) !important
}

.g2-account-suite .g2-v7-identity .g2-account-username {
  direction: ltr;
  text-align: right;
  overflow-wrap: anywhere;
  font-size: 11px
}

.g2-account-suite .g2-v7-identity-badges {
  display: flex !important;
  flex-wrap: wrap;
  gap: 7px;
  margin: 17px 0 !important;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--g2-line)
}

.g2-account-suite .g2-v7-identity-badges :is(.g2-account-member-badge, .g2-account-verify) {
  border: 1px solid var(--g2-line);
  min-height: 28px;
  border-radius: 9px;
  padding: 5px 9px;
  font-size: 10px;
  background: var(--g2-panel-muted);
  color: var(--g2-body)
}

.g2-account-suite .g2-v7-identity-badges .g2-account-verify.is-ok {
  color: #16845f;
  background: color-mix(in srgb, #18a77a 10%, var(--g2-panel))
}

.g2-account-suite .g2-v7-identity-badges .g2-account-verify.is-review {
  color: #b38323;
  background: color-mix(in srgb, #e4af2f 10%, var(--g2-panel))
}

.g2-account-suite .g2-account-balance.g2-v7-identity-wallet {
  width: 100%;
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  padding: 12px;
  border-radius: 14px !important;
  background: var(--g2-panel-muted) !important;
  border: 1px solid var(--g2-line) !important;
  text-decoration: none !important
}

.g2-account-suite .g2-v7-identity-wallet-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid !important;
  place-items: center;
  background: var(--g2-panel) !important;
  border: 1px solid var(--g2-line);
  border-radius: 11px;
  color: var(--g2-accent) !important;
  font-size: 22px
}

.g2-account-suite .g2-v7-identity-wallet-text {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  flex: 1;
  color: var(--g2-heading)
}

.g2-account-suite .g2-v7-identity-wallet-text>small {
  font-size: 10px;
  color: var(--g2-muted)
}

.g2-account-suite .g2-v7-identity-wallet-text>strong {
  font-size: 15px;
  font-weight: 850;
  color: var(--g2-heading);
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere
}

.g2-account-suite .g2-v7-identity-wallet-text>strong small {
  font-size: 10px;
  color: var(--g2-muted)
}

.g2-account-suite .g2-v7-identity-wallet-arrow {
  font-size: 18px;
  color: var(--g2-muted)
}

.g2-account-suite .g2-v7-identity-wallet:hover {
  border-color: color-mix(in srgb, var(--g2-accent) 40%, var(--g2-line)) !important
}

/* Entirely new review structure: no old comment-section class selectors involved. */
.g2-account-suite .g2-account-page.g2-v7-reviews {
  --review-surface: var(--g2-panel);
  --review-soft: var(--g2-panel-muted);
  --review-line: var(--g2-line);
  --review-ink: var(--g2-heading);
  --review-subtle: var(--g2-muted);
  --review-brand: var(--g2-accent)
}

.g2-account-suite .g2-v7-reviews-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--review-soft);
  border: 1px solid var(--review-line);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 19px;
  min-width: 0
}

.g2-account-suite .g2-v7-reviews-summary-icon {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--review-brand) 11%, var(--review-surface));
  color: var(--review-brand);
  display: grid;
  place-items: center
}

.g2-account-suite .g2-v7-reviews-summary-copy {
  min-width: 0;
  flex: 1
}

.g2-account-suite .g2-v7-reviews-summary-copy strong {
  font-size: 16px;
  font-weight: 850;
  color: var(--review-ink);
  display: block
}

.g2-account-suite .g2-v7-reviews-summary-copy p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--review-subtle)
}

.g2-account-suite .g2-v7-reviews-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 8px 15px;
  border-radius: 12px;
  border: 1px solid var(--review-line);
  background: var(--review-surface);
  color: var(--review-subtle);
  white-space: nowrap
}

.g2-account-suite .g2-v7-reviews-total strong {
  font-size: 23px;
  color: var(--review-brand);
  line-height: 1.35;
  font-weight: 900
}

.g2-account-suite .g2-v7-reviews-total small {
  font-size: 10px
}

.g2-account-suite .g2-v7-reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px
}

.g2-account-suite .g2-v7-review {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid var(--review-line) !important;
  border-radius: 19px !important;
  background: var(--review-surface) !important;
  box-shadow: var(--g2-shadow);
  overflow: hidden
}

.g2-account-suite .g2-v7-review-topline {
  height: 3px;
  background: var(--review-brand)
}

.g2-account-suite .g2-v7-review-heading {
  display: flex !important;
  align-items: center;
  gap: 13px;
  padding: 19px 20px 15px !important;
  background: transparent !important;
  border: 0 !important;
  min-width: 0
}

.g2-account-suite .g2-v7-review-number {
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: var(--review-soft);
  border: 1px solid var(--review-line);
  border-radius: 13px;
  color: var(--review-brand)
}

.g2-account-suite .g2-v7-review-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0
}

.g2-account-suite .g2-v7-review-title small {
  color: var(--review-subtle);
  font-size: 10px
}

.g2-account-suite .g2-v7-review-title :is(a, strong) {
  display: block;
  color: var(--review-ink) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.8;
  overflow-wrap: anywhere
}

.g2-account-suite .g2-v7-review-title a:hover {
  color: var(--review-brand) !important
}

.g2-account-suite .g2-v7-review-status {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 7px 11px;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
  background: var(--review-soft);
  color: var(--review-ink)
}

.g2-account-suite .g2-v7-review-status.is-approved {
  background: color-mix(in srgb, #1fa577 11%, var(--review-surface));
  color: #158362
}

.g2-account-suite .g2-v7-review-status.is-pending {
  background: color-mix(in srgb, #cf9e32 12%, var(--review-surface));
  color: #ae7e1d
}

.g2-account-suite .g2-v7-review-status.is-rejected {
  background: color-mix(in srgb, #cf5361 12%, var(--review-surface));
  color: #c44958
}

.g2-account-suite .g2-v7-review-quote {
  margin: 0 20px 15px !important;
  padding: 16px 19px !important;
  background: var(--review-soft) !important;
  border: 1px solid var(--review-line) !important;
  border-right: 3px solid var(--review-brand) !important;
  border-radius: 12px !important;
  min-width: 0
}

.g2-account-suite .g2-v7-review-quote-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--review-brand);
  display: block;
  margin-bottom: 8px
}

.g2-account-suite .g2-v7-review-quote p {
  font-size: 13px;
  line-height: 2 !important;
  color: var(--review-ink) !important;
  margin: 0 !important;
  white-space: pre-wrap;
  overflow-wrap: anywhere
}

.g2-account-suite .g2-v7-review-footer {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 20px 17px !important;
  color: var(--review-subtle);
  font-size: 11px;
  border: 0 !important;
  background: transparent !important
}

.g2-account-suite .g2-v7-review-footer :is(time, a) {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.g2-account-suite .g2-v7-review-footer a {
  color: var(--review-brand) !important;
  font-weight: 800;
  text-decoration: none !important
}

@media(max-width:640px) {
  .g2-account-suite .g2-v7-reviews-summary {
    padding: 13px;
    gap: 10px;
    flex-wrap: wrap
  }

  .g2-account-suite .g2-v7-reviews-total {
    margin-right: auto
  }

  .g2-account-suite .g2-v7-review-heading {
    flex-wrap: wrap;
    padding: 14px !important
  }

  .g2-account-suite .g2-v7-review-status {
    margin-right: auto
  }

  .g2-account-suite .g2-v7-review-quote {
    margin: 0 13px 13px !important;
    padding: 13px !important
  }

  .g2-account-suite .g2-v7-review-footer {
    padding: 0 13px 13px !important
  }

  .g2-account-suite .g2-v7-identity {
    padding: 14px !important
  }
}

@media(prefers-reduced-motion:reduce) {
  header.main-header .g2-v4-header-actions .g2-v4-head-count {
    transition: none !important
  }
}

/* The actual front.reviews.index route uses reviews/index.blade.php, not user/comments. */
.g2-account-suite .g2-v7-product-review-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
  min-width: 0
}

.g2-account-suite .g2-v7-product-review {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--review-surface) !important;
  border: 1px solid var(--review-line) !important;
  border-radius: 18px !important;
  box-shadow: var(--g2-shadow) !important;
  overflow: hidden;
  position: relative
}

.g2-account-suite .g2-v7-product-review-inner {
  padding: 17px 19px
}

.g2-account-suite .g2-v7-product-review-head {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  margin-bottom: 14px
}

.g2-account-suite .g2-v7-product-review-image {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border: 1px solid var(--review-line);
  border-radius: 13px;
  background: var(--review-soft);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--review-subtle)
}

.g2-account-suite .g2-v7-product-review-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 5px
}

.g2-account-suite .g2-v7-product-review-information {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px
}

.g2-account-suite .g2-v7-product-review-information>small {
  font-size: 10px;
  color: var(--review-subtle)
}

.g2-account-suite .g2-v7-product-review-information>a,
.g2-account-suite .g2-v7-product-review-information>strong {
  font-size: 14px;
  font-weight: 850;
  line-height: 1.75;
  color: var(--review-ink) !important;
  text-decoration: none !important;
  overflow-wrap: anywhere
}

.g2-account-suite .g2-v7-product-review-information>a:hover {
  color: var(--review-brand) !important
}

.g2-account-suite .g2-v7-product-review-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #e6aa3c;
  font-size: 16px;
  direction: ltr;
  align-self: flex-end
}

.g2-account-suite .g2-v7-product-review-stars span {
  color: var(--review-subtle);
  font-size: 11px;
  margin-left: 8px;
  font-variant-numeric: tabular-nums
}

.g2-account-suite .g2-v7-product-review .g2-v7-review-quote {
  margin: 0 0 14px !important
}

.g2-account-suite .g2-v7-product-review-reply {
  margin: 0 0 14px;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--review-line);
  background: var(--review-soft)
}

.g2-account-suite .g2-v7-product-review-reply strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--review-brand);
  margin-bottom: 6px
}

.g2-account-suite .g2-v7-product-review-reply p {
  font-size: 12px;
  line-height: 1.9;
  margin: 0;
  color: var(--review-ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere
}

.g2-account-suite .g2-v7-product-review .g2-v7-review-footer {
  padding: 0 !important;
  border-top: 1px solid var(--review-line) !important;
  padding-top: 13px !important
}

.g2-account-suite .g2-v7-product-review-feedback {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--review-subtle);
  font-size: 12px
}

.g2-account-suite .g2-v7-product-review-feedback>span {
  display: inline-flex;
  align-items: center;
  gap: 5px
}

.g2-account-suite .g2-v7-review-pagination {
  margin-top: 20px
}

@media(max-width:640px) {
  .g2-account-suite .g2-v7-product-review-inner {
    padding: 12px
  }

  .g2-account-suite .g2-v7-product-review-head {
    gap: 9px;
    flex-wrap: wrap
  }

  .g2-account-suite .g2-v7-product-review-image {
    width: 64px;
    height: 64px;
    flex-basis: 64px
  }

  .g2-account-suite .g2-v7-product-review-head>.g2-v7-review-status {
    margin-right: auto
  }
}