/** Shopify CDN: Minification failed

Line 158:0 Unexpected "1"

**/
/* ==========================================================================
   Stamped Reviews — theme overrides
   Loaded from snippets/head.liquid only when settings.stamped_enabled is on.
   Scoped to Stamped's own widget classes so nothing here affects the theme
   when Stamped is disabled or not yet configured.
   ========================================================================== */

/* Match the store's typography (Stamped ships its own default font stack) */
.stamped-container *,
#stamped-main-widget *,
.stamped-product-reviews-badge * {
  font-family: var(--font-secondary);
  font-weight: 400;
}

/* Star rating badge (block: star_rating) — align with product text, tidy spacing */
.stamped-product-reviews-badge.stamped-main-badge {
  display: block;
  margin: 0 0 12px -3px;
  min-height: 18px;

  .stamped-fa {
    &::before {
      color: var(--c--text);
    }
  }
}
.stamped-product-reviews-badge .stamped-badge-caption {
  color: var(--c--text-secondary, currentColor);
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Product-listing star rating (product cards — collection / search) */
.product-item__reviews-badge {
  margin: 4px 0 0;
  min-height: 16px;
}

/* Main reviews widget (section: stamped-reviews) */
#stamped-main-widget {
  --stamped-color-primary: var(--COLOR-BADGE-BG, #2c2825);
}
#stamped-main-widget .stamped-header-title{

  font-family: var(--font-primary);
  letter-spacing: var(--ltsp--serif);
}

/* Use the theme's button styling for Stamped's write-a-review button */
#stamped-main-widget .stamped-summary-actions-newquestion,
#stamped-main-widget .stamped-summary-actions-writereview {
  font-family: var(--BTN-FONT-STACK, var(--font-secondary));
  border-radius: var(--btn-radius, 0);
}

#stamped-main-widget [data-widget-type=minimal] {
  .stamped-header {
    margin-bottom: 25px;

     .summary-overview {
        width: auto !important;
        display: flex;
        align-items: center;
        text-align: left;
        margin-bottom: 0;
        @media screen and (max-width: 480px) {
          flex-direction: column;
          align-items: flex-start;
        }
    }
  }
  .stamped-summary {
    display: flex;
    align-items: center;
  }
  .stamped-summary-caption {
    display: block !important;
  }
  .stamped-summary-text {
    margin-top: 0 !important;
    display: block !important;

  }
  .stamped-summary-actions {
    display: block;
    margin-left: auto;
    margin-bottom: 0;

    .stamped-summary-actions-newreview {
      margin-bottom: 0;
      @media screen and (max-width: 480px) {
        line-height: 18px;
        padding-block: 8px;
      }
    }
  }
  .stamped-tabs {
    border-bottom: none;
  }
  select#stamped-sort-select {
    border: solid 1px var(--c--border) !important;
  }

  .stamped-reviews-filter {
    border-bottom: none;
    &[data-show-filters=part],
    &[data-show-filters=true] {
      padding-bottom: 0;
    }
  }
  .stamped-reviews-filter-label {
    margin-top: 8px;
  }

  .stamped-summary-keywords {
    .stamped-summary-keywords-list {
      width: 100%;
      max-width: none;

      @media screen and (max-width: 480px) {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-y: hidden;
        max-height: none;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;   /* room for the scrollbar below the pills */
        padding-right: 8px;    /* breathing room after the last pill at scroll end */

        /* Scrollbar — Firefox */
        scrollbar-width: thin;
        scrollbar-color: var(--c--text-subtle, #8a8a8a) transparent;

        /* Scrollbar — WebKit (Chrome, Safari, Edge) */
        &::-webkit-scrollbar {
          height: 4px;
        }
        &::-webkit-scrollbar-track {
          background: transparent;
          border-radius: 999px;
        }
        &::-webkit-scrollbar-thumb {
          background: var(--c--text-subtle, #8a8a8a);
          border-radius: 999px;
        }
        &::-webkit-scrollbar-thumb:hover {
          background: var(--c--text, #2c2825);
        }
1
        li {
          flex: 0 0 auto;      /* don't shrink — each pill keeps its width */
          white-space: nowrap;
          margin: 0;
        }
      }
    }
    li {
      padding: 8px 24px;
      border-radius: 20px;
      background-color: #fff;
      border: solid 1px var(--c--btn-2--inverse--border);
      text-transform: uppercase;
      color: var(--c--text);
      font-weight: 500;
      font-size: 14px;
    }
  }

  .stamped-fa {
    &::before {
      color: var(--c--surface-brand);
    }
  }
  .stamped-starrating {
    margin-left: -4px;
  }

  /* Review Form */
  .new-review-form {
    padding: 2rem 2rem !important;
    background-color: var(--c--surface);  

    @media screen and (min-width: 750px) {
      padding: 4rem 5rem !important;
    }

    .stamped-form-label {
      display: block;
      text-transform: uppercase;
      letter-spacing: var(--ltsp--label);
      color: var(--c--text);
      margin-bottom: .5rem;
    }

    .stamped-form-label + input.stamped-form-input,
    textarea.stamped-form-input {
      background-color: #fff;
    }
    input#stamped-button-submit {
      background: #000 !important;
      letter-spacing: var(--ltsp--uppercase);
    }
  }

  /* Reviews */

  .stamped-review {
    border-top: solid 1px var(--c--border);
    margin-bottom: 32px;
    padding-top: 32px;
  }
  
  .stamped-review-header {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    align-content: center;
    column-gap: 10px;
    padding-left: 64px;   /* avatar (48px) + 16px gap */
    min-height: 48px;

    .stamped-review-avatar {
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 48px;
      height: 48px;
      margin: 0;

      &::before {
        color: var(--c--text-subtle);
      }
    }
    .stamped-review-avatar,
    .stamped-review-avatar-content,
    .stamped-review-avatar img {
      border-radius: 50%;
    }
    .stamped-review-avatar-content,
    .stamped-review-avatar img {
      width: 48px;
      height: 48px;
      object-fit: cover;
    }
    .stamped-review-avatar-content {
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--c--surface-secondary, #f0eee9);
      color: var(--c--text);
      font-weight: 500;
    }

    /* Row 1 — name first (DOM order is date-first, so reorder with `order`) */
    .author {
      order: 0;
      text-transform: uppercase;
      color: var(--c--text);
      font-weight: 500;
      letter-spacing: var(--ltsp--uppercase);
    }
    .created { order: 2; color: var(--c--text-secondary, currentColor); }
    .stamped-verified-badge { 
      order: 1; 
      color: var(--c--text);
      font-size: 11px;
      padding: 2px 6px;
      background-color: var(--c--surface);
    }
    .review-location { order: 1; }

    /* Row 2 — force the stars onto their own line beneath the name */
    .stamped-starratings {
      order: 2;
      flex-basis: 100%;
    }

    /* Stamped emits an empty spacer <div> — collapse it so it adds no gap */
    > div:empty { display: none; }
  }
  .stamped-review-header-title {
    font-family: var(--serif);
    letter-spacing: 0;
    font-size: 16px;
  }

  .stamped-review-content {
    margin-left: 0 !important;
  }
  .stamped-review-content-body {
    color: #3E3E59;
    font-weight: 400;
  }
  .stamped-review-product a,
  .stamped-review-variant {
    color: var(--c--text-subtle) !important;
  }

  .stamped-review-footer {
    margin-top: 0;
  }
}

#stamped-main-widget div[data-count="0"] {
  .stamped-summary-starrating {
    text-align: left;
  }
  .stamped-summary-text {
    @media screen and (min-width: 750px) {
      width: 250px !important;
    }
  }
  .summary-overview {
    margin-inline: 0;
  }
  .stamped-empty-state {
    display: none !important;
  }
}
  