@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800&display=swap");

.look-reviews,
.look-reviews *,
.look-review-modal *,
.look-lightbox *,
.look-admin-page * {
  box-sizing: border-box;
}

.look-reviews {
  --look-text: #1d1d1f;
  --look-muted: #6e6e73;
  --look-line: #e5e5ea;
  --look-soft: #f5f5f7;
  --look-star: #ffd22e;
  --look-blue: #0071e3;
  color: var(--look-text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: clamp(48px, 8vw, 112px) clamp(18px, 4vw, 48px);
  background: #fff;
}

.look-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  max-width: 1680px;
  margin: 0 auto 28px;
}

.look-scoreline {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--look-muted);
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 700;
}

.look-scoreline strong {
  color: var(--look-text);
}

.look-stars {
  color: var(--look-star);
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.look-header h2 {
  margin: 18px 0 0;
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}

.look-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.look-view-menu {
  position: relative;
}

.look-button,
.look-icon-button {
  border: 1px solid var(--look-line);
  background: #fff;
  color: var(--look-text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.look-button:hover,
.look-icon-button:hover {
  transform: translateY(-1px);
  border-color: #c7c7cc;
}

.look-button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
}

.look-button-more {
  min-width: 230px;
}

.look-icon-button {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  gap: 3px;
}

.look-icon-button span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.look-icon-button span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.look-icon-button span:nth-child(1)::after { left: 4px; }
.look-icon-button span:nth-child(2)::after { right: 3px; }
.look-icon-button span:nth-child(3)::after { left: 11px; }

.look-view-menu.is-open .look-icon-button {
  border-color: var(--look-blue);
  background: #f0f7ff;
  color: var(--look-blue);
}

.look-view-options {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 20;
  min-width: 150px;
  border: 1px solid var(--look-line);
  border-radius: 14px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
}

.look-view-options button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 11px 12px;
  background: transparent;
  color: var(--look-text);
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  text-align: left;
}

.look-view-options button:hover,
.look-view-options button[aria-checked="true"] {
  background: #f5f5f7;
}

.look-view-options button[aria-checked="true"]::after {
  content: "✓";
  color: var(--look-blue);
  font-weight: 900;
}

.look-alert {
  max-width: 1680px;
  margin: 0 auto 24px;
  color: #b42318;
  font-weight: 700;
}

.look-grid {
  max-width: 1680px;
  margin: 0 auto;
  column-count: 5;
  column-gap: 22px;
}

.look-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .08);
  break-inside: avoid;
}

.look-card-media {
  position: relative;
  width: 100%;
  display: block;
  border: 0;
  padding: 0;
  background: #f5f5f7;
  cursor: zoom-in;
}

.look-card-media img {
  display: block;
  width: 100%;
  height: auto;
}

.look-photo-count {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.look-card-body {
  padding: 18px;
}

.look-card-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 800;
}

.look-check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.look-card-date {
  color: var(--look-muted);
  font-size: 17px;
  font-weight: 700;
}

.look-card .look-stars {
  margin: 14px 0;
  font-size: 21px;
}

.look-card-text {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 600;
  white-space: pre-line;
}

.look-card-variant {
  margin-top: 22px;
  color: #a1a1a6;
  font-size: 16px;
  font-weight: 700;
}

.look-card-variant strong {
  display: block;
  margin-top: 2px;
  color: #1d1d1f;
  font-size: 18px;
}

.look-reviews.is-list-view .look-grid {
  max-width: 1320px;
  column-count: 1;
}

.look-reviews.is-list-view .look-card {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  align-items: stretch;
  margin-bottom: 18px;
}

.look-reviews.is-list-view .look-card.has-no-image {
  grid-template-columns: 1fr;
}

.look-reviews.is-list-view .look-card-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.look-reviews.is-list-view .look-card-body {
  padding: 22px 24px;
}

.look-reviews.is-list-view .look-card-text {
  max-width: 880px;
}

.look-more-wrap {
  display: flex;
  justify-content: center;
  max-width: 1680px;
  margin: 34px auto 0;
}

.look-lightbox[hidden],
.look-review-modal[hidden],
.look-admin-lightbox[hidden] {
  display: none;
}

html.look-modal-open,
html.look-modal-open body {
  overflow: hidden;
}

html.look-review-modal-open .look-reviews {
  min-height: 100dvh;
  padding: 0;
  background: transparent;
}

html.look-review-modal-open .look-reviews > :not(.look-review-modal) {
  visibility: hidden;
}

.look-lightbox,
.look-review-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.look-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .58);
}

.look-lightbox-dialog {
  position: absolute;
  inset: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .9fr);
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  color: #000;
}

.look-lightbox-close,
.look-review-close {
  position: absolute;
  z-index: 5;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 14px;
  background: rgba(0, 0, 0, .22);
  color: #fff;
  font-size: 48px;
  line-height: 1;
  cursor: pointer;
}

.look-lightbox-close {
  left: 28px;
  top: 28px;
}

.look-lightbox-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  background: #050505;
}

.look-lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.look-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: rgba(0, 0, 0, .28);
  color: #fff;
  font-size: 42px;
  cursor: pointer;
  transform: translateY(-50%);
}

.look-lightbox-nav[hidden] {
  display: none;
}

.look-prev { left: 24px; }
.look-next { right: 24px; }

.look-thumbs {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.look-thumbs button {
  width: 64px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}

.look-thumbs button.is-active {
  border-color: #fff;
}

.look-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.look-lightbox-copy {
  padding: clamp(32px, 4vw, 56px);
  overflow: auto;
}

.look-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 26px;
}

.look-modal-top strong {
  font-size: 28px;
}

.look-verified {
  margin-left: auto;
  font-size: 20px;
  font-weight: 800;
}

.look-modal-date {
  color: #6e6e73;
  font-size: 20px;
  font-weight: 700;
}

.look-modal-stars {
  margin: 20px 0 24px;
  font-size: 32px;
}

.look-lightbox-copy p {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.28;
  font-weight: 600;
  white-space: pre-line;
}

.look-variant {
  margin-top: 30px;
  color: #6e6e73;
  font-size: 21px;
  font-weight: 700;
}

.look-variant strong {
  display: block;
  margin-top: 4px;
  color: #000;
  font-size: 27px;
}

.look-review-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  width: min(860px, calc(100vw - 48px));
  height: min(760px, calc(100dvh - 48px));
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  color: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .18);
  transform: translate(-50%, -50%);
}

.look-review-close {
  top: 22px;
  left: 22px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  color: #000;
  font-size: 32px;
}

.look-step {
  display: none;
  width: min(540px, calc(100vw - 96px));
  margin: auto;
  text-align: center;
}

.look-step.is-active {
  display: block;
}

.look-step h3 {
  margin: 0 0 44px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  font-weight: 650;
}

.look-step p {
  margin: -28px 0 34px;
  font-size: 18px;
  font-weight: 600;
}

.look-rating-picker {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.look-rating-picker button {
  border: 0;
  background: transparent;
  color: var(--look-star, #ffd22e);
  cursor: pointer;
  font-size: clamp(44px, 5vw, 58px);
  line-height: 1;
}

.look-rating-labels {
  display: flex;
  justify-content: space-between;
  width: min(390px, 78vw);
  margin: 12px auto 0;
  font-size: 18px;
  font-weight: 700;
}

.look-upload-box {
  display: block;
  width: min(540px, calc(100vw - 96px));
  margin: 0 auto;
  padding: 18px;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  cursor: pointer;
}

.look-upload-box input {
  display: none;
}

.look-upload-box span {
  display: block;
  padding: 16px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.look-step .look-upload-box > span {
  color: #fff;
}

.look-upload-preview {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.look-upload-preview img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.look-step textarea,
.look-step input {
  width: 100%;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  padding: 14px;
  color: #1d1d1f;
  font: inherit;
  font-size: 16px;
}

.look-step textarea {
  resize: vertical;
}

.look-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.look-step label {
  display: block;
  margin-bottom: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 800;
}

.look-step label span {
  color: #d70015;
}

.look-terms {
  max-width: 860px;
  margin: 12px auto 0 !important;
  color: #515154;
  font-size: 14px !important;
  line-height: 1.35;
}

.look-thanks h3 {
  font-size: clamp(34px, 6vw, 52px);
}

.look-form-message {
  min-height: 22px;
  margin: 0 auto 8px;
  color: #b42318;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.look-review-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 32px 28px;
}

.look-back,
.look-next {
  border: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
}

.look-next {
  justify-self: end;
  min-width: 134px;
  min-height: 46px;
  border-radius: 10px;
  background: #111;
  color: #fff;
}

.look-next:disabled {
  background: #d2d2d7;
  color: #777;
  cursor: not-allowed;
}

.look-progress {
  display: flex;
  gap: 8px;
}

.look-progress span {
  display: block;
  width: 64px;
  height: 7px;
  border-radius: 999px;
  background: #e5e5e5;
}

.look-progress span.is-active {
  background: #000;
}

.look-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.look-admin-page {
  margin: 0;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.look-admin-shell {
  width: min(1120px, calc(100vw - 32px));
  margin: 40px auto;
  padding: 32px;
  border-radius: 18px;
  background: #fff;
}

.look-admin-shell h1 {
  margin-top: 0;
  font-size: 42px;
}

.look-admin-form {
  display: grid;
  gap: 18px;
}

.look-admin-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.look-admin-form input {
  min-height: 48px;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  padding: 0 14px;
  font: inherit;
}

.look-admin-form button,
.look-admin-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: #0071e3;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.look-admin-check {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}

.look-admin-check input {
  width: 20px;
  min-height: 20px;
}

.look-admin-alert,
.look-admin-success,
.look-admin-pre {
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
}

.look-admin-alert {
  background: #fff1f0;
  color: #b42318;
}

.look-admin-success {
  background: #ecfdf3;
  color: #067647;
}

.look-admin-pre {
  overflow: auto;
  background: #f5f5f7;
}

.look-admin-list {
  display: grid;
  gap: 18px;
}

.look-admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
}

.look-admin-filters a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid #d2d2d7;
  border-radius: 999px;
  padding: 0 16px;
  color: #1d1d1f;
  font-weight: 800;
  text-decoration: none;
}

.look-admin-filters a.is-active {
  border-color: #0071e3;
  background: #0071e3;
  color: #fff;
}

.look-admin-panel {
  margin: 0 0 28px;
  padding: 18px;
  border: 1px solid #e5e5ea;
  border-radius: 14px;
  background: #fff;
}

.look-admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.look-admin-section-head h2,
.look-admin-subtitle {
  margin: 0;
  font-size: 26px;
  line-height: 1.12;
}

.look-admin-section-head span {
  color: #6e6e73;
  font-size: 14px;
  font-weight: 800;
}

.look-admin-table-wrap {
  overflow-x: auto;
}

.look-admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.look-admin-table th,
.look-admin-table td {
  border-bottom: 1px solid #e5e5ea;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.look-admin-table th {
  color: #6e6e73;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.look-admin-table td,
.look-admin-table a {
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 700;
}

.look-admin-table a {
  color: #0071e3;
}

.look-admin-empty {
  margin: 0;
  color: #6e6e73;
  font-weight: 700;
}

.look-admin-subtitle {
  margin: 0 0 14px;
}

.look-admin-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid #e5e5ea;
  border-radius: 14px;
}

.look-admin-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}

.look-admin-images a,
.look-admin-images button {
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: #f5f5f7;
  cursor: zoom-in;
}

.look-admin-images img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 10px;
  object-fit: cover;
  transition: transform .2s ease;
}

.look-admin-images a:hover img,
.look-admin-images button:hover img {
  transform: scale(1.04);
}

.look-admin-lightbox .look-lightbox-dialog {
  grid-template-columns: 1fr;
  inset: 28px;
}

.look-admin-lightbox .look-lightbox-media {
  height: calc(100dvh - 56px);
  min-height: 0;
  overflow: hidden;
}

.look-admin-lightbox .look-lightbox-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.look-admin-lightbox .look-lightbox-backdrop {
  border: 0;
  padding: 0;
  cursor: zoom-out;
}

.look-admin-no-image {
  display: grid;
  min-height: 112px;
  place-items: center;
  border-radius: 10px;
  background: #f5f5f7;
  color: #86868b;
  font-weight: 800;
}

.look-admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.look-admin-status {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff1f0;
  color: #b42318;
  font-size: 13px;
  font-weight: 800;
}

.look-admin-status.is-published {
  background: #ecfdf3;
  color: #067647;
}

.look-admin-actions {
  margin-top: 14px;
}

.look-admin-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e5ea;
}

.look-admin-upload label {
  display: grid;
  gap: 6px;
  color: #515154;
  font-size: 13px;
  font-weight: 800;
}

.look-admin-upload input {
  max-width: 320px;
  font: inherit;
}

.look-admin-upload button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: #1d1d1f;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .look-grid {
    column-count: 4;
  }
}

@media (max-width: 980px) {
  .look-header {
    flex-direction: column;
  }

  .look-grid {
    column-count: 2;
  }

  .look-lightbox-dialog {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .look-lightbox-media {
    min-height: 56vh;
  }

  .look-review-dialog {
    width: calc(100vw - 24px);
    height: min(680px, calc(100dvh - 24px));
    max-height: calc(100dvh - 24px);
  }

  .look-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .look-progress span {
    width: 52px;
  }
}

@media (max-width: 640px) {
  .look-reviews {
    padding-inline: 14px;
  }

  .look-review-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
  }

  .look-review-close {
    top: 24px;
    left: 24px;
  }

  .look-header h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .look-grid {
    column-count: 2;
    column-gap: 12px;
  }

  .look-reviews.is-list-view .look-card {
    grid-template-columns: 1fr;
  }

  .look-card {
    margin-bottom: 12px;
    border-radius: 7px;
  }

  .look-card-body {
    padding: 12px;
  }

  .look-card-name {
    gap: 6px;
    font-size: 18px;
  }

  .look-check {
    width: 14px;
    height: 14px;
    font-size: 9px;
  }

  .look-card-date {
    font-size: 14px;
  }

  .look-card .look-stars {
    margin: 10px 0;
    font-size: 16px;
  }

  .look-card-text {
    font-size: 16px;
    line-height: 1.22;
  }

  .look-card-variant {
    margin-top: 16px;
    font-size: 13px;
  }

  .look-card-variant strong {
    font-size: 15px;
  }

  .look-photo-count {
    right: 8px;
    top: 8px;
    padding: 4px 8px;
    font-size: 14px;
  }

  .look-lightbox-dialog {
    inset: 0;
    border-radius: 0;
  }

  .look-lightbox-copy {
    padding: 24px;
  }

  .look-review-footer {
    grid-template-columns: 1fr;
    padding: 18px 24px max(18px, env(safe-area-inset-bottom));
  }

  .look-step {
    width: calc(100vw - 48px);
  }

  .look-step h3 {
    margin-bottom: 28px;
    font-size: 24px;
  }

  .look-rating-picker {
    gap: 6px;
  }

  .look-rating-picker button {
    font-size: 42px;
  }

  .look-upload-box {
    width: calc(100vw - 48px);
  }

  .look-progress {
    order: -1;
    justify-content: center;
  }

  .look-next {
    justify-self: stretch;
  }

  .look-back {
    justify-self: start;
  }

  .look-admin-card {
    grid-template-columns: 1fr;
  }
}
