/* ============================================================
   PRODUCT — typography and small components specific to this
   page (buybox price, reviews, gallery captions).
   ============================================================ */

.site-shell .price-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px 20px;
}

.site-shell .pack-facts {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 500 0.75rem/1.3 var(--font-sans);
  color: var(--text);
}

.site-shell .pack-facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  white-space: nowrap;
  border-left: 1px solid var(--line);
}

.site-shell .pack-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.site-shell .pack-facts__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mist, var(--paper));
  color: var(--text);
}

.site-shell .pack-facts__icon svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 600px) {
  .site-shell .price-row { flex-wrap: wrap; }
}

.site-shell .price-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.site-shell .price-now {
  font: 600 clamp(1.625rem, 2.4vw, 2rem)/1 var(--font-sans);
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.site-shell .price-was {
  font: 400 1.0625rem/1 var(--font-sans);
  color: var(--text-2);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.site-shell .price-unit {
  flex-basis: 100%;
}

.site-shell .tier-card__save {
  margin-top: 2px;
  align-self: flex-start;
}

.site-shell .review__quote {
  font: 400 1rem/1.5 var(--font-sans);
}

.site-shell .review__avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--text);
  font: 600 0.875rem/40px var(--font-sans);
  text-align: center;
}

.site-shell .review__name {
  font: 600 0.875rem/1.3 var(--font-sans);
}

.site-shell .review__role {
  font: 400 0.8125rem/1.3 var(--font-sans);
  color: var(--text-2);
}

/* ---------- Write a review ---------- */

.site-shell .reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-shell .review-form__text {
  height: auto;
  min-height: 140px;
  resize: vertical;
}

.site-shell .modal [data-step] {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-shell .modal [hidden] {
  display: none;
}

.site-shell .modal .input {
  width: 100%;
  box-sizing: border-box;
}

.site-shell .modal {
  max-width: 480px;
  width: calc(100% - 40px);
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: var(--white);
  color: var(--text);
  font: 400 1rem/1.5 var(--font-sans);
}

.site-shell .modal::backdrop {
  background: rgba(31, 69, 71, 0.6);
}

.site-shell .modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.site-shell .modal__delete {
  margin-left: auto;
}

.site-shell .btn--danger {
  background: transparent;
  border-color: var(--error, #a3172b);
  color: var(--error, #a3172b);
}

.site-shell .btn--danger:hover {
  background: var(--error, #a3172b);
  color: #fff;
}

/* ---------- Review likes & pagination ---------- */

.site-shell .review__title {
  font: 600 1rem/1.3 var(--font-sans);
}

.site-shell .review__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.site-shell .review__footer .review__who {
  margin-top: 0;
}

.site-shell .like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text-2);
  font: 500 0.8125rem/1 var(--font-sans);
  cursor: pointer;
}

.site-shell .like-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Liked: the design system's Blush accent (#f1cfd0, deeper step #e6b8ba) with ink text. */
.site-shell .like-btn[aria-pressed="true"] {
  background: #f1cfd0;
  border-color: #e6b8ba;
  color: var(--ink-text);
}

.site-shell .like-btn[aria-pressed="true"] svg {
  fill: #e6b8ba;
}

.site-shell .like-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.site-shell .reviews-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(20px, 2.5vw, 28px);
  color: var(--text-2);
  font: 400 0.875rem/1.3 var(--font-sans);
}

.site-shell .reviews-empty {
  margin-top: clamp(28px, 3vw, 40px);
}

/* No reviews yet: one honest line, not an empty proof block. */
.site-shell .reviews--empty .reviews-grid,
.site-shell .reviews--empty #reviews-lede {
  display: none;
}

.site-shell .reviews--empty .reviews-empty {
  margin-top: 12px;
}

.site-shell .reviews--empty .reviews-head .btn {
  width: auto;
}

.site-shell .pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.site-shell .pager-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-shell .pager-btn:hover:not(:disabled) {
  background: var(--mist);
}

.site-shell .pager-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ---------- Star rating ---------- */

.site-shell .star-input {
  border: 0;
  padding: 0;
  margin: 0;
}

.site-shell .star-input legend {
  padding: 0;
  margin-bottom: 6px;
  font: 500 0.875rem/1.3 var(--font-sans);
}

.site-shell .star-input__row {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 2px;
}

.site-shell .star-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.site-shell .star-input label {
  display: inline-flex;
  cursor: pointer;
  color: var(--line);
}

.site-shell .star-input svg,
.site-shell .stars svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.site-shell .star-input input:checked ~ label,
.site-shell .star-input label:hover,
.site-shell .star-input label:hover ~ label {
  color: #e0a100;
}

.site-shell .star-input input:focus-visible + label {
  outline: 2px solid var(--text);
  outline-offset: 2px;
  border-radius: 0;
}

.site-shell .stars {
  display: inline-flex;
  gap: 2px;
  color: var(--line);
}

.site-shell .stars svg {
  width: 16px;
  height: 16px;
}

.site-shell .stars .is-on {
  color: #e0a100;
}

.site-shell .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-shell .modal:focus {
  outline: none;
}

.site-shell .review-form__intro {
  margin: 0;
  color: var(--text-2);
  font: 400 0.875rem/1.5 var(--font-sans);
}

/* ---------- Long reviews: clamp + read full ---------- */

.site-shell .review__title,
.site-shell .review__quote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.site-shell .review__title {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.site-shell .review__quote {
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.site-shell .review__more {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: 600 0.8125rem/1.3 var(--font-sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.site-shell .review-read {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-shell .review-read h3,
.site-shell .review-read p {
  margin: 0;
  overflow-wrap: anywhere;
}

.site-shell .review-read__text {
  max-height: 50vh;
  overflow-y: auto;
  white-space: pre-wrap;
  font: 400 1rem/1.5 var(--font-sans);
}
