/* =========================================================
   STORE AGGREGATED CUSTOMER REVIEWS SECTION & POPUPS
   Design matched to brand aesthetic & user references
   ========================================================= */

.store-reviews-section {
  padding: 60px 0;
  background-color: #ffffff;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}

.store-reviews-section .site-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 1. TOP SUMMARY BAR */
.store-reviews-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid #ebebeb;
}

.store-reviews-summary-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-reviews-score {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #111111;
  letter-spacing: -0.03em;
}

.store-reviews-score-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.store-reviews-stars {
  font-size: 1.15rem;
  color: #111111;
  letter-spacing: 2px;
  line-height: 1;
}

.store-reviews-count {
  font-size: 0.85rem;
  color: #666666;
  font-weight: 400;
}

/* Image 2 Trustpilot Badge */
.store-trustpilot-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 4px;
  margin-left: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  user-select: none;
}

.store-trustpilot-badge .tp-stars {
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 2px;
  line-height: 1;
}

.store-trustpilot-badge .tp-label {
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: 3px;
  line-height: 1;
}

/* WRITE A REVIEW BUTTON */
.store-write-review-btn {
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  padding: 12px 26px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 3px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  white-space: nowrap;
}

.store-write-review-btn:hover {
  background: #27272a;
  border-color: #27272a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.store-write-review-btn:active {
  transform: translateY(0);
}

/* 2. REVIEWS LIST & CARDS */
.store-reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 2 HÀNG DỌC (2 CỘT) MỞ FULL SANG 2 BÊN TRÁI PHẢI */
.store-reviews-section.reviews-layout-2cols .site-container,
.store-reviews-section[data-reviews-layout="2-cols"] .site-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 36px !important;
  padding-right: 36px !important;
  box-sizing: border-box;
}

.store-reviews-section.reviews-layout-2cols .store-reviews-list,
.store-reviews-section[data-reviews-layout="2-cols"] .store-reviews-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px 24px !important;
}

@media (max-width: 860px) {
  .store-reviews-section.reviews-layout-2cols .site-container,
  .store-reviews-section[data-reviews-layout="2-cols"] .site-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .store-reviews-section.reviews-layout-2cols .store-reviews-list,
  .store-reviews-section[data-reviews-layout="2-cols"] .store-reviews-list {
    grid-template-columns: 1fr !important;
  }
}

/* 3 HÀNG DỌC (3 CỘT) MỞ FULL SANG 2 BÊN TRÁI PHẢI */
.store-reviews-section.reviews-layout-3cols .site-container,
.store-reviews-section[data-reviews-layout="3-cols"] .site-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  box-sizing: border-box;
}

.store-reviews-section.reviews-layout-3cols .store-reviews-list,
.store-reviews-section[data-reviews-layout="3-cols"] .store-reviews-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px 20px !important;
}

.store-reviews-section.reviews-layout-3cols .store-review-card {
  padding: 18px 20px;
}

.store-reviews-section.reviews-layout-3cols .store-review-thumbnail-wrap {
  width: 76px;
  height: 92px;
}

.store-reviews-section.reviews-layout-3cols .store-review-body {
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .store-reviews-section.reviews-layout-3cols .store-reviews-list,
  .store-reviews-section[data-reviews-layout="3-cols"] .store-reviews-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .store-reviews-section.reviews-layout-3cols .site-container,
  .store-reviews-section[data-reviews-layout="3-cols"] .site-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .store-reviews-section.reviews-layout-3cols .store-reviews-list,
  .store-reviews-section[data-reviews-layout="3-cols"] .store-reviews-list {
    grid-template-columns: 1fr !important;
  }
}


.store-review-card {
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 22px 24px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.store-review-card:hover {
  border-color: #dedede;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.store-review-main-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.store-review-content-col {
  flex: 1;
  min-width: 0;
}

.store-review-date {
  font-size: 0.8rem;
  color: #888888;
  margin-bottom: 6px;
}

.store-reviewer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.store-reviewer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111111;
}

.store-verified-badge {
  font-size: 0.78rem;
  color: #059669;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.store-verified-badge svg {
  width: 12px;
  height: 12px;
  stroke: #059669;
}

.store-review-stars {
  color: #111111;
  font-size: 0.88rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.store-review-body-wrap {
  position: relative;
  display: block;
}

.store-review-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #27272a;
  word-break: break-word;
}

.store-review-readmore-btn {
  display: none;
}

.store-review-product-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.72rem;
  color: #71717a;
  background: #f4f4f5;
  padding: 3px 8px;
  border-radius: 4px;
  text-decoration: none;
}

.store-review-product-tag:hover {
  color: #000000;
  background: #e4e4e7;
}

/* THUMBNAIL PHOTO */
.store-review-media-col {
  flex-shrink: 0;
}

.store-review-thumbnail-wrap {
  width: 84px;
  height: 102px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: #f4f4f5;
}

.store-review-thumbnail-wrap:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.store-review-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-review-thumb-zoom {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 10px;
  opacity: 0;
  transition: opacity 0.2s;
}

.store-review-thumbnail-wrap:hover .store-review-thumb-zoom {
  opacity: 1;
}

/* 3. FOOTER ACTION: XEM THÊM NÚT (LOAD ALL / OPEN POPUP) */
.store-reviews-footer-action {
  text-align: center;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.store-view-all-reviews-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 32px;
  background: #ffffff;
  color: #111111;
  border: 1.5px solid #111111;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.store-view-all-reviews-btn:hover {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.store-view-all-reviews-btn:active {
  transform: translateY(0);
}

.store-reviews-status-text {
  font-size: 0.8rem;
  color: #71717a;
}

/* =========================================================
   4. MODALS & POPUPS
   ========================================================= */

/* Backdrop overlay */
.store-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.store-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Content Box */
.store-modal-box {
  background: #ffffff;
  border-radius: 12px;
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.store-modal-overlay.active .store-modal-box {
  transform: scale(1) translateY(0);
}

/* Single Review Detail Modal */
.store-single-review-modal-box {
  max-width: 580px;
}

.store-single-review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.store-single-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f4f4f5;
}

.store-single-review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-single-review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #18181b;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-single-review-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-single-review-name {
  font-size: 1rem;
  font-weight: 700;
  color: #111111;
}

.store-single-review-date {
  font-size: 0.8rem;
  color: #71717a;
}

.store-single-review-stars {
  color: #111111;
  font-size: 1.05rem;
  letter-spacing: 3px;
}

.store-single-review-text {
  font-size: 0.95rem;
  line-height: 1.68;
  color: #27272a;
  white-space: pre-line;
  word-break: break-word;
}

.store-single-review-media-box {
  margin-top: 6px;
}

.store-single-review-prod-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: #52525b;
  background: #f4f4f5;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  width: fit-content;
  transition: background 0.15s, color 0.15s;
}

.store-single-review-prod-tag:hover {
  background: #e4e4e7;
  color: #000000;
}

/* Modal Header */
.store-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #ebebeb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

.store-modal-title-group h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111111;
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
}

.store-modal-title-group p {
  font-size: 0.82rem;
  color: #71717a;
  margin: 0;
}

.store-modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4f4f5;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52525b;
  cursor: pointer;
  transition: all 0.15s;
  flex-shrink: 0;
}

.store-modal-close-btn:hover {
  background: #e4e4e7;
  color: #000000;
  transform: rotate(90deg);
}

/* Filter bar in All Reviews Modal */
.store-modal-filter-bar {
  padding: 12px 24px;
  background: #fafafa;
  border-bottom: 1px solid #ebebeb;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  flex-shrink: 0;
}

.store-filter-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  border: 1px solid #e4e4e7;
  background: #ffffff;
  color: #3f3f46;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  font-family: inherit;
}

.store-filter-pill:hover {
  border-color: #a1a1aa;
  color: #111111;
}

.store-filter-pill.active {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

/* Modal Body (Scrollable) */
.store-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.store-modal-body .store-reviews-list {
  gap: 14px;
}

/* Modal Footer */
.store-modal-footer {
  padding: 14px 24px;
  border-top: 1px solid #ebebeb;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 12px;
}

/* =========================================================
   5. WRITE A REVIEW MODAL
   ========================================================= */
.store-write-modal-box {
  max-width: 580px;
}

.store-form-group {
  margin-bottom: 18px;
}

.store-form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  color: #18181b;
}

.store-form-input,
.store-form-textarea,
.store-form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d4d4d8;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  box-sizing: border-box;
  color: #18181b;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.store-form-input:focus,
.store-form-textarea:focus,
.store-form-select:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.store-rating-stars-picker {
  display: inline-flex;
  gap: 4px;
  font-size: 1.6rem;
  cursor: pointer;
  color: #d4d4d8;
  margin-top: 4px;
}

.store-rating-stars-picker .star-item {
  transition: color 0.15s, transform 0.15s;
}

.store-rating-stars-picker .star-item.selected,
.store-rating-stars-picker .star-item.hovered {
  color: #111111;
  transform: scale(1.1);
}

.store-photo-upload-zone {
  border: 2px dashed #d4d4d8;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
}

.store-photo-upload-zone:hover {
  border-color: #111111;
  background: #f4f4f5;
}

.store-photo-previews {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.store-photo-preview-item {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  position: relative;
  border: 1px solid #e4e4e7;
}

/* =========================================================
   6. PHOTO LIGHTBOX MODAL
   ========================================================= */
.store-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.store-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.store-lightbox-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-lightbox-box img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.store-lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.store-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* =========================================================
   7. RESPONSIVE MOBILE STYLING
   ========================================================= */
@media (max-width: 768px) {
  .store-reviews-section {
    padding: 40px 0;
  }

  .store-reviews-summary-bar {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    grid-template-areas: 
      "score meta"
      "badge btn";
    column-gap: 20px !important;
    row-gap: 12px !important;
    align-items: center !important;
    margin-bottom: 24px !important;
    padding-bottom: 20px !important;
  }

  .store-reviews-summary-left {
    display: contents !important;
  }

  .store-reviews-score {
    grid-area: score;
    font-size: 2.8rem !important;
    font-weight: 800;
    line-height: 1;
    color: #111111;
    letter-spacing: -0.03em;
    margin: 0;
  }

  .store-reviews-score-meta {
    grid-area: meta;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .store-reviews-stars {
    font-size: 1.15rem;
    color: #111111;
    letter-spacing: 2px;
    line-height: 1;
  }

  .store-reviews-count {
    font-size: 0.84rem;
    color: #555555;
    font-weight: 500;
    line-height: 1.2;
  }

  .store-trustpilot-badge {
    grid-area: badge;
    margin-left: 0 !important;
    align-self: start;
    justify-self: start;
    padding: 6px 12px;
  }

  .store-write-review-btn {
    grid-area: btn;
    width: auto !important;
    padding: 10px 18px !important;
    font-size: 0.78rem !important;
    font-weight: 800;
    letter-spacing: 0.08em;
    align-self: center;
    justify-self: start;
    text-align: center;
    border-radius: 2px;
  }

  .store-review-card {
    padding: 16px 16px;
  }

  .store-review-body-wrap {
    position: relative;
    cursor: pointer;
  }

  .store-review-body {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.55;
    max-height: 3.1em;
    font-size: 0.88rem;
    position: relative;
  }

  .store-review-readmore-btn {
    display: inline-flex;
    align-items: center;
    position: absolute;
    right: 0;
    bottom: 0;
    line-height: 1.55;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0284c7;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 24%, #ffffff 100%);
    padding-left: 28px;
    padding-right: 2px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    z-index: 2;
    white-space: nowrap;
  }

  .store-review-readmore-btn:hover,
  .store-review-readmore-btn:active {
    color: #0369a1;
    text-decoration: underline;
  }

  .store-review-thumbnail-wrap {
    width: 68px;
    height: 82px;
  }

  .store-modal-box {
    max-height: 94vh;
    border-radius: 8px;
  }

  .store-modal-header {
    padding: 16px;
  }

  .store-modal-body {
    padding: 16px;
  }

  .store-modal-filter-bar {
    padding: 10px 16px;
  }
}

/* Also support mobile-mode class inside Admin Customizer preview */
body.mobile-mode .store-review-body-wrap,
[data-device-mode="mobile"] .store-review-body-wrap {
  position: relative;
  cursor: pointer;
}

body.mobile-mode .store-review-body,
[data-device-mode="mobile"] .store-review-body {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
  max-height: 3.1em;
  font-size: 0.88rem;
  position: relative;
}

body.mobile-mode .store-review-readmore-btn,
[data-device-mode="mobile"] .store-review-readmore-btn {
  display: inline-flex;
  align-items: center;
  position: absolute;
  right: 0;
  bottom: 0;
  line-height: 1.55;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0284c7;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 24%, #ffffff 100%);
  padding-left: 28px;
  padding-right: 2px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  z-index: 2;
  white-space: nowrap;
}

body.mobile-mode .store-reviews-summary-bar,
[data-device-mode="mobile"] .store-reviews-summary-bar {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  grid-template-areas: 
    "score meta"
    "badge btn";
  column-gap: 20px !important;
  row-gap: 12px !important;
  align-items: center !important;
  margin-bottom: 24px !important;
  padding-bottom: 20px !important;
}

body.mobile-mode .store-reviews-summary-left,
[data-device-mode="mobile"] .store-reviews-summary-left {
  display: contents !important;
}

body.mobile-mode .store-reviews-score,
[data-device-mode="mobile"] .store-reviews-score {
  grid-area: score;
  font-size: 2.8rem !important;
  font-weight: 800;
  line-height: 1;
  color: #111111;
  letter-spacing: -0.03em;
  margin: 0;
}

body.mobile-mode .store-reviews-score-meta,
[data-device-mode="mobile"] .store-reviews-score-meta {
  grid-area: meta;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

body.mobile-mode .store-reviews-stars,
[data-device-mode="mobile"] .store-reviews-stars {
  font-size: 1.15rem;
  color: #111111;
  letter-spacing: 2px;
  line-height: 1;
}

body.mobile-mode .store-reviews-count,
[data-device-mode="mobile"] .store-reviews-count {
  font-size: 0.84rem;
  color: #555555;
  font-weight: 500;
  line-height: 1.2;
}

body.mobile-mode .store-trustpilot-badge,
[data-device-mode="mobile"] .store-trustpilot-badge {
  grid-area: badge;
  margin-left: 0 !important;
  align-self: start;
  justify-self: start;
  padding: 6px 12px;
}

body.mobile-mode .store-write-review-btn,
[data-device-mode="mobile"] .store-write-review-btn {
  grid-area: btn;
  width: auto !important;
  padding: 10px 18px !important;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  align-self: center;
  justify-self: start;
  text-align: center;
  border-radius: 2px;
}

body.mobile-mode .store-review-readmore-btn:hover,
[data-device-mode="mobile"] .store-review-readmore-btn:hover {
  color: #0369a1;
  text-decoration: underline;
}

/* Modal Infinite Scroll & Load More Controls */
.store-modal-loadmore-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0 10px;
  width: 100%;
}

.store-modal-loadmore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f4f4f5;
  color: #18181b;
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.store-modal-loadmore-btn:hover:not(:disabled) {
  background: #18181b;
  color: #ffffff;
  border-color: #18181b;
  transform: translateY(-1px);
}

.store-modal-loadmore-btn svg {
  transition: transform 0.2s ease;
}

.store-modal-loadmore-btn:hover:not(:disabled) svg {
  transform: translateY(2px);
}

@keyframes storeSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


