:root {
  --gold: #d49a63;
  --gold-hot: #e0a56b;
  --gold-rgb: 212, 154, 99;
  --black: #000;
  --panel: rgba(5, 5, 5, 0.92);
  --panel-line: rgba(255, 255, 255, 0.13);
  --text: #ffffff;
  --text-strong: #ffffff;
  --text-soft: #ffffff;
  --text-muted: #ffffff;
}

.icon-button.is-current {
  color: var(--text-strong);
}

.auth-page,
.admin-page {
  width: min(92.2vw, 1180px);
  margin: 34px auto 0;
}

.auth-heading {
  text-align: center;
  margin-bottom: 26px;
}

.auth-heading p {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 800;
}

.auth-heading h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  font-weight: 800;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: start;
}

.auth-card {
  border: 1px solid var(--panel-line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.96), rgba(2, 2, 2, 0.96));
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.44);
  padding: 26px;
}

.auth-card > span,
.admin-toolbar span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
}

.auth-card h2 {
  margin: 0 0 18px;
  color: var(--text-strong);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 22px;
  padding: 5px;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
}

.auth-tabs button {
  min-height: 46px;
  border-radius: 8px;
  color: var(--text-strong);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.auth-tabs button.is-active {
  color: #050505;
  background: var(--gold);
}

.auth-form {
  display: none;
}

.auth-form.is-active {
  display: grid;
  gap: 16px;
}

.auth-form label,
.admin-login label {
  display: grid;
  gap: 9px;
}

.auth-form label span,
.admin-login label span {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
}

.auth-form label em {
  color: var(--text-strong);
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

.auth-form input,
.admin-login input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--text-strong);
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  outline: 0;
  background: rgba(0, 0, 0, 0.56);
  font-size: 16px;
}

.auth-form input:focus,
.admin-login input:focus {
  border-color: rgba(var(--gold-rgb), 0.86);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.14);
}

.auth-form button,
.admin-login button,
.auth-profile button,
.admin-toolbar button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #050505;
  border-radius: 8px;
  background: var(--gold);
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.auth-message,
.oauth-note {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.5;
}

.auth-message[data-type="error"] {
  color: #ff9a9a;
}

.auth-message[data-type="success"] {
  color: var(--gold);
}

.oauth-buttons {
  display: grid;
  gap: 12px;
}

.oauth-button {
  display: grid;
  grid-template-columns: 30px 1fr;
  min-height: 54px;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  color: var(--text-strong);
  border: 1px solid var(--panel-line);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.52);
  font-size: 16px;
  font-weight: 800;
}

.oauth-button svg {
  width: 26px;
  height: 26px;
}

.oauth-button.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.auth-profile {
  grid-column: 1 / -1;
}

.auth-profile p {
  margin: 8px 0;
  color: var(--text-strong);
  font-size: 17px;
}

.auth-profile button {
  margin-top: 18px;
  padding-inline: 22px;
}

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

.admin-login {
  width: min(100%, 460px);
  margin-inline: auto;
}

.admin-users {
  padding: 0;
  overflow: hidden;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--panel-line);
}

.admin-toolbar strong {
  display: block;
  color: var(--text-strong);
  font-size: 34px;
  line-height: 1;
}

.admin-toolbar button {
  min-height: 46px;
  padding-inline: 18px;
}

.users-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.users-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
}

.users-table th,
.users-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--panel-line);
  text-align: left;
  vertical-align: top;
  color: var(--text-strong);
  font-size: 14px;
}

.users-table th {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.users-table tr:last-child td {
  border-bottom: 0;
}

.admin-dashboard {
  min-height: 620px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  padding: 16px 20px 0;
  overflow-x: auto;
}

.admin-tabs button {
  min-height: 42px;
  padding: 0 16px;
  color: var(--text-strong);
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.admin-tabs button.is-active {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
}

.admin-tab-panel {
  display: none;
  padding: 20px;
}

.admin-tab-panel.is-active {
  display: block;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.metric-card {
  min-height: 128px;
  padding: 18px;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.42);
}

.metric-card span,
.dashboard-card h2 {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin: 12px 0 8px;
  color: var(--text-strong);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  font-weight: 800;
}

.metric-card p {
  margin: 0;
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.4;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.38);
}

.dashboard-card-wide {
  grid-column: 1 / -1;
}

.dashboard-card h2 {
  margin: 0 0 14px;
}

.chart-row,
.funnel-row,
.live-session,
.history-session,
.product-row-admin,
.activity-row,
.privacy-list p {
  padding: 12px 0;
  border-bottom: 1px solid var(--panel-line);
}

.chart-row:last-child,
.funnel-row:last-child,
.live-session:last-child,
.history-session:last-child,
.product-row-admin:last-child,
.activity-row:last-child,
.privacy-list p:last-child {
  border-bottom: 0;
}

.chart-row div,
.funnel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.chart-row span,
.funnel-row span,
.live-session span,
.history-session span,
.product-row-admin span,
.activity-row span,
.activity-row p,
.privacy-list p {
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.45;
}

.chart-row strong,
.funnel-row strong,
.live-session strong,
.history-session strong,
.product-row-admin strong,
.activity-row strong,
.privacy-list strong {
  color: var(--text-strong);
  font-size: 14px;
}

.product-admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
}

.product-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(188, 151, 77, 0.35);
  border-radius: 18px;
  background: linear-gradient(135deg, #111 0%, #29251f 100%);
  box-shadow: 0 14px 35px rgba(20, 17, 12, 0.13);
}

.product-section-heading > div > span {
  color: #d8b66d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-section-heading h2 {
  margin: 4px 0 6px;
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
}

.product-section-heading p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.admin-new-product-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid #e2c27c;
  border-radius: 12px;
  background: linear-gradient(180deg, #d8b66d, #bd9340);
  color: #17130c;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, filter 160ms ease;
}

.admin-new-product-button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.admin-new-product-button svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 700px) {
  .product-section-heading {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .admin-new-product-button {
    width: 100%;
  }
}

.home-products-card {
  display: grid;
  gap: 16px;
}

.home-products-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  gap: 14px;
}

.home-products-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.home-products-actions strong {
  margin-right: 4px;
  color: var(--gold);
  font-size: 13px;
}

.home-products-actions button {
  min-height: 42px;
  padding: 0 13px;
  color: var(--text-strong);
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.home-products-actions button:hover {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-product-option {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: var(--text-strong);
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.46);
  cursor: default;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.home-product-select {
  position: relative;
  display: grid;
  min-width: 0;
  cursor: pointer;
}

.home-product-option:hover {
  border-color: rgba(var(--gold-rgb), 0.72);
  transform: translateY(-2px);
}

.home-product-option.is-selected {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.12);
  box-shadow: 0 0 0 2px rgba(var(--gold-rgb), 0.1);
}

.home-product-option.is-dragging {
  z-index: 3;
  opacity: 0.58;
  transform: scale(0.97);
}

.home-product-select > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.home-product-position {
  position: absolute;
  top: 9px;
  left: 9px;
  display: grid;
  width: 30px;
  height: 30px;
  z-index: 2;
  place-items: center;
  color: #050505;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.38);
  font-size: 13px;
  font-weight: 900;
}

.home-product-check {
  position: absolute;
  top: 9px;
  right: 9px;
  display: grid;
  width: 30px;
  height: 30px;
  z-index: 2;
  place-items: center;
  color: #050505;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.38);
}

.home-product-check svg {
  width: 16px;
  height: 16px;
}

.home-product-image {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--panel-line);
  background: #080808;
}

.home-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-product-image > svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.home-product-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
  padding: 11px;
}

.home-product-copy strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-copy small {
  color: var(--text);
  font-size: 11px;
  line-height: 1.35;
}

.home-product-drag-handle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-strong);
  border: 0;
  border-top: 1px solid var(--panel-line);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.home-product-drag-handle:hover,
.home-product-drag-handle:focus-visible {
  color: #050505;
  background: var(--gold);
}

.home-product-drag-handle:active,
.is-home-product-dragging .home-product-drag-handle {
  cursor: grabbing;
}

.home-product-drag-handle svg {
  width: 15px;
  height: 15px;
}

.home-products-message {
  min-height: 20px;
  margin: 0;
}

@media (max-width: 980px) {
  .home-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-products-toolbar {
    grid-template-columns: 1fr;
  }

  .home-products-actions {
    justify-content: stretch;
  }

  .home-products-actions strong {
    width: 100%;
  }

  .home-products-actions button {
    flex: 1 1 140px;
  }

  .home-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .home-product-copy {
    padding: 9px;
  }
}

.product-ai-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 14px;
}

.product-ai-card p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.product-ai-card button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: #050505;
  border-radius: 8px;
  background: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.product-ai-card button:disabled {
  opacity: 0.62;
  cursor: progress;
}

.product-ai-card small {
  grid-column: 1 / -1;
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}

.product-ai-card small[data-type="success"] {
  color: #7dffbd;
}

.product-ai-card small[data-type="error"] {
  color: #ff8585;
}

.ai-product-results {
  display: grid;
  grid-column: 1 / -1;
  min-width: 0;
  gap: 12px;
  padding-top: 4px;
}

.ai-product-results[hidden] {
  display: none;
}

.ai-product-results > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ai-product-results > header > div:first-child {
  display: grid;
  gap: 3px;
}

.ai-product-results > header strong {
  color: var(--text-strong);
  font-size: 15px;
}

.ai-product-results > header span {
  color: var(--text);
  font-size: 12px;
}

.ai-product-scroll-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.product-ai-card .ai-product-scroll-button {
  display: grid;
  width: 38px;
  min-height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.06);
}

.ai-product-scroll-button svg {
  width: 18px;
  height: 18px;
}

.ai-product-results-track {
  display: flex;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 2px 2px 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--gold) rgba(255, 255, 255, 0.08);
}

.product-ai-card .ai-product-result-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  flex: 0 0 min(310px, 82vw);
  min-height: 112px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  color: var(--text-strong);
  background: rgba(0, 0, 0, 0.42);
  text-align: left;
  text-transform: none;
  scroll-snap-align: start;
}

.product-ai-card button.ai-product-result-card {
  cursor: pointer;
}

.product-ai-card button.ai-product-result-card:hover,
.product-ai-card button.ai-product-result-card:focus-visible {
  border-color: rgba(var(--gold-rgb), 0.78);
  background: rgba(var(--gold-rgb), 0.1);
}

.ai-product-result-card.is-error {
  border-color: rgba(255, 133, 133, 0.4);
}

.ai-product-result-thumb {
  display: grid;
  width: 78px;
  height: 94px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.ai-product-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ai-product-result-thumb svg {
  width: 25px;
  height: 25px;
  color: var(--gold);
}

.ai-product-result-card.is-pending .ai-product-result-thumb svg {
  animation: ai-product-spin 1s linear infinite;
}

.ai-product-result-card.is-error .ai-product-result-thumb svg {
  color: #ff8585;
}

.ai-product-result-copy {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.product-ai-card .ai-product-result-copy small {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.ai-product-result-copy strong,
.ai-product-result-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-product-result-copy strong {
  font-size: 14px;
}

.ai-product-result-copy span {
  color: var(--text);
  font-size: 12px;
}

.ai-product-result-copy em {
  color: var(--gold);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

@keyframes ai-product-spin {
  to { transform: rotate(360deg); }
}

.ai-progress {
  display: grid;
  grid-column: 1 / -1;
  gap: 7px;
}

.ai-progress[hidden] {
  display: none;
}

.ai-progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.ai-progress-track i {
  display: block;
  width: var(--ai-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(var(--gold-rgb), 0.62);
  transition: width 260ms ease;
}

.ai-progress[data-type="error"] .ai-progress-track i {
  background: #ff8585;
  box-shadow: 0 0 16px rgba(255, 133, 133, 0.45);
}

.ai-progress span {
  color: var(--text);
  font-size: 12px;
  line-height: 1.3;
}

.product-admin-search,
.product-editor-form label {
  display: grid;
  gap: 8px;
}

.product-admin-search span,
.product-editor-form label span {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.product-admin-search small {
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
}

.product-admin-search input,
.product-editor-form input,
.product-editor-form select,
.product-editor-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--text-strong);
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  outline: 0;
  background: rgba(0, 0, 0, 0.56);
  font: inherit;
}

.product-editor-form textarea {
  min-height: 126px;
  padding-block: 12px;
  resize: vertical;
}

.product-admin-search input:focus,
.product-editor-form input:focus,
.product-editor-form select:focus,
.product-editor-form textarea:focus {
  border-color: rgba(var(--gold-rgb), 0.86);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.14);
}

.admin-product-list {
  display: grid;
  min-height: 94px;
  margin-top: 14px;
}

.admin-product-search-result {
  margin: 0;
  padding: 0 0 8px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.admin-product-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  align-items: center;
  gap: 5px;
  width: 100%;
  padding: 12px 0;
  border-bottom: 1px solid var(--panel-line);
  color: var(--text-strong);
  text-align: left;
  cursor: pointer;
}

.admin-product-item.is-active {
  padding-inline: 12px;
  border: 1px solid rgba(var(--gold-rgb), 0.72);
  border-radius: 8px;
  background: rgba(var(--gold-rgb), 0.1);
}

.admin-product-thumb {
  display: grid;
  width: 52px;
  height: 64px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--panel-line);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.48);
}

.admin-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.admin-product-thumb svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  opacity: 0.78;
}

.admin-product-text {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.admin-product-item strong {
  font-size: 14px;
  line-height: 1.25;
}

.admin-product-item span,
.admin-product-item small {
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}

.product-editor-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-size-inventory {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid rgba(var(--gold-rgb), 0.34);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
}

.product-size-inventory-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 22px;
  margin-bottom: 16px;
}

.product-size-inventory-header > div:first-child {
  display: grid;
  gap: 4px;
}

.product-size-inventory-header strong,
.product-size-inventory-tools > span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.product-size-inventory-header small {
  color: var(--text);
  line-height: 1.35;
}

.product-size-inventory-tools {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.product-size-inventory-tools > span {
  grid-column: 1 / -1;
  text-align: right;
}

.product-size-inventory-tools label {
  display: grid;
  grid-template-columns: auto 68px;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid var(--panel-line);
  border-radius: 6px;
}

.product-size-inventory-tools label span {
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.product-size-inventory-tools input {
  width: 68px;
  min-height: 30px;
  padding: 4px 6px;
  text-align: center;
}

.product-size-inventory-tools button,
.product-size-inventory-stepper button {
  min-height: 34px;
  padding: 0 10px;
  color: var(--text-strong);
  border: 1px solid rgba(var(--gold-rgb), 0.48);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.42);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.product-size-inventory-tools button:hover,
.product-size-inventory-tools button:focus-visible,
.product-size-inventory-stepper button:hover,
.product-size-inventory-stepper button:focus-visible {
  color: #050505;
  background: var(--gold);
}

.product-size-inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 12px;
}

.product-size-inventory-field {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(var(--gold-rgb), 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.product-size-inventory-field span {
  color: var(--text-strong);
  text-align: left;
  font-size: 14px;
  font-weight: 800;
}

.product-size-inventory-stepper {
  display: grid;
  grid-template-columns: 36px minmax(54px, 1fr) 36px;
  gap: 6px;
  align-items: center;
}

.product-size-inventory-stepper button {
  min-height: 44px;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.product-size-inventory-stepper input {
  min-width: 0;
  min-height: 44px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .product-size-inventory {
    padding: 14px;
  }

  .product-size-inventory-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-size-inventory-tools {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    justify-content: stretch;
  }

  .product-size-inventory-tools > span {
    text-align: left;
  }

  .product-size-inventory-tools label {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .product-size-inventory-tools button {
    width: 100%;
  }

  .product-size-inventory-grid {
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 9px;
  }
}

.product-editor-form input[readonly] {
  color: var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
}

.product-editor-description,
.product-upload-box,
.product-gallery-editor-header,
.product-preview-grid,
.product-editor-actions,
.product-editor-form .auth-message {
  grid-column: 1 / -1;
}

.product-gallery-editor-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 4px;
}

.product-gallery-editor-header div {
  display: grid;
  gap: 3px;
}

.product-gallery-editor-header span,
.product-gallery-editor-header strong {
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 800;
}

.product-gallery-editor-header small {
  color: var(--text);
  font-size: 12px;
}

.product-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}

.product-preview-grid .admin-empty {
  grid-column: 1 / -1;
}

.product-preview-item {
  position: relative;
  display: grid;
  min-width: 0;
  gap: 9px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.54));
}

.product-preview-item.is-selected {
  border-color: rgba(var(--gold-rgb), 0.9);
  box-shadow: 0 0 0 1px rgba(var(--gold-rgb), 0.24);
}

.product-preview-item.is-dragging {
  z-index: 2;
  opacity: 0.52;
  border-color: rgba(var(--gold-rgb), 0.8);
}

.product-preview-item.is-drop-target[data-drop-side="before"] {
  box-shadow: inset 4px 0 0 var(--gold);
}

.product-preview-item.is-drop-target[data-drop-side="after"] {
  box-shadow: inset -4px 0 0 var(--gold);
}

.product-preview-select {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: var(--text-strong);
  border: 1px solid rgba(var(--gold-rgb), 0.32);
  border-radius: 8px;
  background: #050505;
  cursor: pointer;
}

.product-preview-select img {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 11;
  object-fit: contain;
  background: #050505;
}

.product-preview-select span {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 5px 7px;
  color: #050505;
  border-radius: 999px;
  background: var(--gold);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
}

.product-preview-caption {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 2px;
}

.product-preview-caption strong,
.product-preview-caption small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-preview-order {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.product-preview-drag {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  cursor: grab;
  touch-action: none;
}

.product-preview-drag:active {
  cursor: grabbing;
}

.product-preview-drag svg {
  width: 18px;
  height: 18px;
}

.product-preview-order label {
  display: grid;
  grid-template-columns: auto minmax(48px, 1fr);
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.product-preview-order input {
  width: 100%;
  height: 36px;
  padding: 0 8px;
  color: var(--text-strong);
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  font: inherit;
}

.product-preview-order input:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 2px rgba(var(--gold-rgb), 0.16);
}

.product-preview-caption strong {
  color: var(--text-strong);
  font-size: 12px;
}

.product-preview-caption small {
  color: var(--text);
  font-size: 10px;
}

.product-preview-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.product-preview-actions button {
  display: grid;
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.product-preview-actions button:hover,
.product-preview-actions button:focus-visible {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
  outline: none;
  transform: translateY(-1px);
}

.product-preview-actions button[data-product-image-edit] {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
}

.product-preview-actions button:last-child {
  color: #ff9f9f;
}

.product-preview-actions button:disabled {
  opacity: 0.3;
  cursor: default;
}

.product-preview-actions button:disabled:hover,
.product-preview-actions button:disabled:focus-visible {
  color: var(--gold);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  transform: none;
}

.product-preview-actions svg {
  width: 16px;
  height: 16px;
}

.product-upload-box {
  display: grid;
  gap: 9px;
}

.product-upload-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(138px, auto);
  gap: 9px;
}

.product-upload-input {
  display: none;
}

.product-upload-box button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.72);
  border-radius: 8px;
  background: rgba(var(--gold-rgb), 0.08);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.product-upload-box button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.product-upload-box .product-upload-cancel {
  color: #ffaaaa;
  border-color: rgba(255, 92, 92, 0.62);
  background: rgba(145, 20, 20, 0.18);
}

.product-upload-box .product-upload-cancel[hidden] {
  display: none;
}

.product-upload-box svg {
  width: 18px;
  height: 18px;
}

.product-upload-box small {
  color: var(--text);
  font-size: 12px;
  line-height: 1.35;
}

.product-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-editor-actions button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #050505;
  border-radius: 8px;
  background: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.product-editor-actions button[data-product-reset] {
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.68);
  background: rgba(0, 0, 0, 0.42);
}

.product-editor-actions .product-delete-button {
  gap: 8px;
  color: #fff;
  border: 1px solid rgba(255, 92, 92, 0.72);
  background: rgba(145, 24, 24, 0.72);
}

.product-editor-actions .product-delete-button:hover {
  border-color: #ff7373;
  background: #b92525;
}

.product-editor-actions .product-delete-button svg {
  width: 17px;
  height: 17px;
}

.product-crop-dialog {
  width: min(960px, calc(100vw - 32px));
  max-width: 960px;
  max-height: calc(100vh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  color: var(--text-strong);
  border: 1px solid rgba(var(--gold-rgb), 0.56);
  border-radius: 8px;
  background: #090909;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.76), 0 0 44px rgba(var(--gold-rgb), 0.1);
}

.product-crop-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(4px);
}

.product-crop-dialog-header,
.product-crop-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
}

.product-crop-dialog-header {
  border-bottom: 1px solid var(--panel-line);
}

.product-crop-dialog-header p,
.product-crop-storefront > p {
  margin: 0 0 5px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.product-crop-dialog-header h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

.product-crop-close {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.56);
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}

.product-crop-close svg {
  width: 20px;
  height: 20px;
}

.product-crop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.54fr);
  gap: 24px;
  padding: 22px;
}

.product-crop-editor {
  display: grid;
  gap: 14px;
}

.product-crop-stage {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 10 / 11;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(var(--gold-rgb), 0.64);
  border-radius: 8px;
  background:
    linear-gradient(45deg, rgba(255, 255, 255, 0.045) 25%, transparent 25%) 0 0 / 22px 22px,
    linear-gradient(-45deg, rgba(255, 255, 255, 0.045) 25%, transparent 25%) 0 0 / 22px 22px,
    #050505;
  cursor: grab;
  touch-action: none;
}

.product-crop-stage::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(to right, transparent calc(33.333% - 0.5px), rgba(255, 255, 255, 0.28) 33.333%, transparent calc(33.333% + 0.5px), transparent calc(66.666% - 0.5px), rgba(255, 255, 255, 0.28) 66.666%, transparent calc(66.666% + 0.5px)),
    linear-gradient(to bottom, transparent calc(33.333% - 0.5px), rgba(255, 255, 255, 0.28) 33.333%, transparent calc(33.333% + 0.5px), transparent calc(66.666% - 0.5px), rgba(255, 255, 255, 0.28) 66.666%, transparent calc(66.666% + 0.5px));
  pointer-events: none;
}

.product-crop-stage:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.product-crop-stage.is-dragging {
  cursor: grabbing;
}

.product-crop-stage img,
.product-crop-preview-media img {
  position: absolute;
  right: auto;
  bottom: auto;
  display: block;
  height: auto;
  max-width: none;
  max-height: none;
  object-fit: initial;
  transition: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.product-crop-controls {
  display: grid;
  gap: 10px;
  width: min(100%, 500px);
  margin-inline: auto;
  padding: 12px 14px;
  border: 1px solid var(--panel-line);
  border-radius: 7px;
  background: #111;
}

.product-crop-control {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.product-crop-control span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.product-crop-control input {
  width: 100%;
  accent-color: var(--gold);
}

.product-crop-control input:disabled {
  opacity: 0.42;
}

.product-crop-storefront {
  display: grid;
  align-content: start;
  gap: 8px;
}

.product-crop-preview-modes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.product-crop-preview-modes button {
  min-height: 34px;
  color: var(--text-muted);
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  background: #111;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.product-crop-preview-modes button.is-active {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
}

.product-crop-site-card {
  width: min(100%, 270px);
  margin-inline: auto;
  pointer-events: none;
}

.product-crop-site-card .product-body {
  min-height: 144px;
  padding: 13px;
}

.product-crop-site-card .product-body h4 {
  font-size: 13px;
}

.product-crop-site-card .product-prices {
  gap: 6px;
  margin-bottom: 0;
}

.product-crop-site-card .price-original {
  font-size: 11px;
}

.product-crop-site-card .product-prices strong {
  font-size: 14px;
}

.product-crop-preview-media {
  position: relative;
  overflow: hidden;
}

.product-crop-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  border-top: 1px solid var(--panel-line);
}

.product-crop-actions button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #050505;
  border-radius: 7px;
  background: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.product-crop-actions .product-crop-secondary {
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.62);
  background: transparent;
}

.product-crop-actions .product-crop-original {
  color: var(--text-strong);
  border: 1px solid var(--panel-line);
  background: #202020;
}

.product-crop-actions button:disabled {
  opacity: 0.6;
  cursor: progress;
}

.chart-row i {
  display: block;
  width: var(--bar);
  height: 5px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(var(--gold-rgb), 0.35);
}

.live-session small,
.history-session small {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-size: 12px;
}

.location-map-link,
.location-status {
  color: var(--gold);
  font-weight: 800;
}

.location-map-link {
  text-decoration: none;
}

.location-map-link:hover {
  text-decoration: underline;
}

.history-summary {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.history-metric {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.history-metric span,
.history-field span {
  display: block;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
}

.history-metric strong {
  display: block;
  margin-top: 5px;
  color: var(--text-strong);
  font-size: 20px;
}

.history-list-group {
  display: grid;
  gap: 12px;
}

.history-session {
  padding: 16px;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.34);
}

.history-session-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--panel-line);
}

.history-session-head strong {
  display: block;
  color: var(--text-strong);
  font-size: 16px;
}

.history-session-head small {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: 12px;
}

.history-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.history-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--panel-line);
  border-radius: 999px;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.history-badge-live,
.history-badge-ok {
  border-color: rgba(var(--gold-rgb), 0.62);
  color: var(--gold);
}

.history-badge-warn {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--text-strong);
}

.history-badge-info {
  color: var(--text-strong);
}

.history-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding-top: 14px;
}

.history-category {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 9px;
}

.history-category h3 {
  margin: 0 0 2px;
  color: var(--text-strong);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}

.history-field {
  min-width: 0;
}

.history-field strong {
  display: block;
  margin-top: 3px;
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.replay-list {
  display: grid;
  gap: 10px;
}

.replay-help {
  padding: 18px;
  border: 1px solid rgba(var(--gold-rgb), 0.38);
  border-radius: 10px;
  background: rgba(var(--gold-rgb), 0.08);
}

.replay-help strong {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
}

.replay-help p {
  margin: 8px 0 0;
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.55;
}

.replay-session {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--panel-line);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.34);
}

.replay-session strong {
  display: block;
  color: var(--text-strong);
  font-size: 15px;
}

.replay-session span {
  display: block;
  margin-top: 5px;
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.45;
}

.replay-session button,
.replay-controls button {
  min-height: 42px;
  padding: 0 14px;
  color: #050505;
  border-radius: 8px;
  background: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.replay-player {
  display: grid;
  gap: 14px;
}

.replay-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-strong);
  font-size: 13px;
}

.replay-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.replay-progress {
  flex: 1 1 180px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.replay-progress i {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  box-shadow: 0 0 16px rgba(var(--gold-rgb), 0.45);
}

.replay-screen {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background: #050505;
}

.replay-screen::before {
  content: attr(data-page);
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 10px;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.34);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.72);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.replay-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  pointer-events: none;
}

.replay-frame-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.34));
}

.replay-current {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 5;
  width: min(620px, calc(100% - 40px));
  padding: 14px 16px;
  color: var(--text-strong);
  border: 1px solid rgba(var(--gold-rgb), 0.42);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.76);
  text-align: center;
  font-size: clamp(15px, 2vw, 22px);
  line-height: 1.35;
  transform: translateX(-50%);
}

.replay-cursor {
  position: absolute;
  z-index: 4;
  width: 15px;
  height: 15px;
  border: 2px solid #050505;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.75);
  transform: translate(-50%, -50%);
  transition: left 120ms linear, top 120ms linear;
}

.replay-click-ring {
  position: absolute;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
}

.replay-click-ring.is-active {
  animation: replay-click 520ms ease-out;
}

.replay-event-log {
  max-height: 240px;
  overflow: auto;
  border-top: 1px solid var(--panel-line);
}

.replay-event-log p {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--panel-line);
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.45;
}

.replay-event-log p.is-active {
  color: var(--gold);
}

@keyframes replay-click {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.65);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.45);
  }
}

.admin-empty {
  margin: 0;
  color: var(--text-strong);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  display: grid;
  width: min(720px, calc(100vw - 36px));
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(var(--gold-rgb), 0.46);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55), 0 0 28px rgba(var(--gold-rgb), 0.18);
}

.cookie-copy span,
.cookie-options span {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.cookie-copy h2 {
  margin: 6px 0 8px;
  color: var(--text-strong);
  font-size: 24px;
  line-height: 1.1;
}

.cookie-copy p,
.cookie-options small {
  margin: 0;
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-options {
  display: grid;
  gap: 10px;
}

.cookie-options label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.cookie-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}

.cookie-options small {
  grid-column: 2;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-actions button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(var(--gold-rgb), 0.55);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.48);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.cookie-actions button[data-consent-accept],
.cookie-actions button[data-consent-save] {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
}

@media (max-width: 860px) {
  .auth-page,
  .admin-page {
    width: calc(100vw - 24px);
    margin-top: 28px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 20px;
    border-radius: 12px;
  }

  .admin-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-toolbar button {
    width: 100%;
  }

  .metric-grid,
  .dashboard-grid,
  .product-admin-layout,
  .product-ai-card,
  .product-editor-form {
    grid-template-columns: 1fr;
  }

  .product-ai-card button {
    width: 100%;
  }

  .product-upload-actions {
    grid-template-columns: 1fr;
  }

  .product-editor-form .product-gallery-editor-header {
    order: -3;
  }

  .product-editor-form .product-preview-grid {
    display: flex;
    order: -2;
    gap: 9px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
  }

  .product-editor-form .product-preview-item {
    flex: 0 0 180px;
    scroll-snap-align: start;
  }

  .product-editor-form .product-upload-box {
    order: -1;
  }

  .product-size-inventory {
    padding: 10px;
  }

  .product-size-inventory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-size-inventory-field {
    gap: 5px;
    padding: 7px;
  }

  .product-size-inventory-field span {
    font-size: 12px;
  }

  .product-size-inventory-stepper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .product-size-inventory-stepper input {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 34px;
    font-size: 14px;
  }

  .product-size-inventory-stepper button {
    min-width: 0;
    min-height: 32px;
    font-size: 16px;
  }

  .product-size-inventory-stepper button:first-child {
    grid-column: 1;
    grid-row: 2;
  }

  .product-size-inventory-stepper button:last-child {
    grid-column: 2;
    grid-row: 2;
  }

  .product-crop-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .product-crop-dialog-header,
  .product-crop-layout,
  .product-crop-actions {
    padding: 16px;
  }

  .product-crop-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-crop-site-card {
    width: min(100%, 280px);
  }

  .admin-tab-panel {
    padding: 14px;
  }

  .metric-card {
    min-height: 104px;
  }

  .replay-session {
    grid-template-columns: 1fr;
  }

  .replay-screen {
    min-height: 360px;
  }

  .history-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 16px;
  }

  .cookie-actions button {
    flex: 1 1 150px;
  }
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  color: var(--text);
  background: #000;
  font-family: Montserrat, Arial, sans-serif;
  letter-spacing: 0;
}

@media (hover: hover) and (pointer: fine) {
  html,
  body {
    cursor: url("assets/cursor-bag.svg") 16 8, auto;
  }

  a,
  button,
  select,
  summary,
  label[for],
  .icon-button,
  .product-card,
  [role="button"] {
    cursor: url("assets/cursor-bag.svg") 16 8, pointer;
  }

  input,
  textarea,
  [contenteditable="true"] {
    cursor: text;
  }
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}

.site-header {
  height: 145px;
  padding: 8px 32px 0;
  background: #000;
}

.header-bar {
  display: grid;
  position: relative;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: 82px;
  justify-items: start;
}

.header-tools {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: end;
}

.search-button {
  margin-right: 0;
}

.language-picker {
  position: relative;
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: none;
  min-width: 0;
  padding: 7px;
  border: 1px solid rgba(var(--gold-rgb), 0.62);
  border-radius: 8px;
  background: rgba(3, 3, 3, 0.98);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
}

.language-menu.is-open {
  display: grid;
  gap: 3px;
}

.language-menu button {
  display: grid;
  width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 5px;
  color: var(--text);
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.language-menu button:hover,
.language-menu button[aria-checked="true"] {
  color: #050505;
  background: var(--gold);
}

.language-flag {
  font-size: 21px;
  line-height: 1;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  pointer-events: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.logo img {
  display: block;
  width: clamp(390px, 33.9vw, 520px);
  height: auto;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  transition: opacity 260ms ease;
}

body:not(.motion-enabled) .site-header .logo img {
  opacity: 0.32;
  filter: brightness(0.48);
}

body.motion-enabled .site-header .logo img {
  opacity: 1;
  filter: none;
}

.logo img.is-powering-on {
  animation: logo-power-on 1.7s steps(2, end) both;
}

@keyframes logo-power-on {
  0%, 12% {
    opacity: 0.22;
    filter: brightness(0.42);
  }
  18%, 30% {
    opacity: 1;
    filter: brightness(1.22) contrast(1.06);
  }
  42%, 54% {
    opacity: 0.36;
    filter: brightness(0.55);
  }
  64% {
    opacity: 0.82;
    filter: brightness(0.88);
  }
  100% {
    opacity: 1;
    filter: none;
  }
}

.icon-button {
  position: relative;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--gold);
  cursor: pointer;
  transition: color 180ms ease, transform 180ms ease, filter 180ms ease;
}

body.motion-enabled .icon-button:hover,
body.motion-enabled .icon-button:focus-visible {
  color: var(--gold-hot);
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 0 8px rgba(var(--gold-rgb), 0.58));
}

.icon-button svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.7;
}

.header-actions {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  width: auto;
  justify-content: flex-start;
  gap: 20px;
}

.cart-button span {
  position: absolute;
  top: 3px;
  right: 1px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  color: #020202;
  background: var(--gold);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(46px, 5vw, 75px);
  height: 55px;
  color: var(--text);
  text-transform: uppercase;
  font-size: clamp(18px, 1.35vw, 21px);
  font-weight: 500;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.main-nav .last-stock-nav {
  color: var(--gold);
  background: linear-gradient(
    105deg,
    #9d741f 0%,
    var(--gold) 32%,
    #fff2ad 48%,
    var(--gold) 64%,
    #9d741f 100%
  );
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 5px rgba(var(--gold-rgb), 0.42));
  font-weight: 800;
  animation: last-stock-nav-shine 2.8s ease-in-out infinite;
}

@keyframes last-stock-nav-shine {
  0%,
  18% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 3px rgba(var(--gold-rgb), 0.3));
  }

  50% {
    filter: drop-shadow(0 0 9px rgba(var(--gold-rgb), 0.78));
  }

  82%,
  100% {
    background-position: 0 50%;
    filter: drop-shadow(0 0 4px rgba(var(--gold-rgb), 0.38));
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav .last-stock-nav {
    animation: none;
    background-position: 50% 50%;
    filter: drop-shadow(0 0 4px rgba(var(--gold-rgb), 0.38));
  }
}

body.motion-enabled .main-nav a:not(.active):hover,
body.motion-enabled .main-nav a:not(.active):focus-visible {
  color: var(--gold);
  transform: translateY(-2px);
}

.main-nav svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
  stroke-width: 2;
}

.main-nav .active {
  color: var(--gold);
  font-weight: 800;
}

.main-nav .active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 3px;
  background: var(--gold);
  box-shadow: 0 0 9px rgba(var(--gold-rgb), 0.7);
}

.catalog-nav-menu {
  position: relative;
}

.catalog-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  font: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.catalog-nav-toggle:hover,
.catalog-nav-toggle:focus-visible {
  color: var(--gold);
}

.catalog-nav-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.catalog-nav-panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 13px);
  left: 50%;
  width: min(190px, 86vw);
  padding: 4px 0;
  border: 1px solid rgba(var(--gold-rgb), 0.58);
  border-radius: 8px;
  background: #0b0b0b;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.58);
  transform: translateX(-50%);
}

.catalog-nav-category-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.catalog-nav-category-column {
  display: grid;
  grid-auto-rows: minmax(54px, auto);
  align-content: start;
  gap: 8px;
}

.catalog-nav-category-grid button,
.catalog-browse-tile,
.catalog-search-result {
  color: var(--text);
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: #080808;
  font: inherit;
  cursor: pointer;
}

.catalog-nav-category-grid button {
  display: block;
  align-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 0 14px;
  color: var(--text-strong);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0;
  background: transparent;
  text-align: left;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  transition: color 160ms ease, padding-left 160ms ease, background 160ms ease;
}

.catalog-nav-category-grid button:last-child {
  border-bottom: 0;
}

.catalog-nav-category-grid button:hover,
.catalog-nav-category-grid button:focus-visible {
  padding-left: 17px;
  color: var(--gold);
  outline: none;
  background: rgba(var(--gold-rgb), 0.08);
}

.catalog-nav-category-grid button:hover,
.catalog-nav-category-grid button:focus-visible,
.catalog-browse-tile:hover,
.catalog-browse-tile:focus-visible,
.catalog-search-result:hover,
.catalog-search-result:focus-visible {
  border-color: var(--gold);
}

.catalog-nav-preview,
.catalog-preview-media,
.catalog-search-preview {
  display: block;
  overflow: hidden;
  border-radius: 5px;
  background: #171717;
}

.catalog-nav-preview {
  width: 44px;
  height: 44px;
}

.catalog-preview-media {
  aspect-ratio: 1;
  width: 100%;
}

.catalog-search-preview {
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
}

.catalog-nav-preview img,
.catalog-preview-media img,
.catalog-search-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-preview-empty {
  display: grid;
  place-items: center;
  color: var(--gold);
}

.catalog-browse {
  display: grid;
  gap: 24px;
}

.catalog-browse-heading {
  display: grid;
  gap: 7px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--panel-line);
}

.catalog-browse-heading p,
.catalog-browse-heading h3,
.catalog-browse-heading h2 {
  margin: 0;
  text-transform: uppercase;
}

.catalog-browse-heading p {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.catalog-browse-heading h2,
.catalog-browse-heading h3 {
  color: var(--text-strong);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 800;
}

.catalog-picker {
  display: grid;
  gap: 12px;
}

.catalog-picker h4,
.catalog-results-heading,
.last-stock-category > h3,
.last-stock-brand > h4 {
  margin: 0;
  color: var(--text-strong);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
}

.catalog-browse-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
  gap: 10px;
}

.catalog-browse-tile {
  display: grid;
  min-width: 0;
  padding: 6px;
  gap: 8px;
  text-align: left;
}

.catalog-browse-tile strong,
.catalog-browse-all span {
  overflow: hidden;
  padding: 2px 3px 1px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 800;
}

.catalog-browse-all {
  display: grid;
  min-height: 100%;
  place-items: center;
  color: var(--gold);
}

.catalog-results-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 3px;
}

.catalog-results-heading button {
  color: var(--gold);
  border: 0;
  background: transparent;
  text-transform: uppercase;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.catalog-empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.last-stock-notice {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: -4px 0 13px;
  padding: 5px 7px;
  gap: 5px;
  color: #1b1208;
  border-radius: 5px;
  background: var(--gold);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
}

.last-stock-notice svg {
  width: 14px;
  height: 14px;
}

.catalog-last-stock {
  margin-top: 36px;
}

.catalog-last-stock .catalog-intro > span {
  max-width: 660px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.5;
}

.last-stock-gender {
  display: grid;
  gap: 24px;
}

.last-stock-gender + .last-stock-gender {
  margin-top: 46px;
}

.last-stock-category,
.last-stock-brand {
  display: grid;
  gap: 14px;
}

.last-stock-category {
  padding-top: 18px;
  border-top: 1px solid var(--panel-line);
}

.last-stock-brand {
  padding-top: 8px;
}

.last-stock-brand > h4 {
  color: var(--gold);
  font-size: 12px;
}

.catalog-search-dialog {
  width: min(720px, calc(100vw - 28px));
  max-height: min(760px, calc(100dvh - 24px));
  overflow: hidden;
  padding: 0;
  color: var(--text);
  border: 1px solid rgba(var(--gold-rgb), 0.68);
  border-radius: 8px;
  background: #080808;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.72);
}

.catalog-search-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
}

.catalog-search-shell {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  box-sizing: border-box;
  max-height: min(758px, calc(100dvh - 26px));
  overflow: hidden;
  gap: 15px;
  padding: 20px;
}

.catalog-search-shell header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.catalog-search-shell h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: 21px;
  font-weight: 800;
}

.catalog-search-shell header button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--text);
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.catalog-search-shell label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  padding: 0 12px;
  gap: 8px;
  border: 1px solid var(--panel-line);
  border-radius: 7px;
  background: #111;
}

.catalog-search-shell label svg {
  width: 17px;
  color: var(--gold);
}

.catalog-search-shell input {
  min-width: 0;
  height: 46px;
  color: var(--text);
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}

.catalog-search-results {
  display: grid;
  grid-auto-rows: minmax(96px, auto);
  min-height: 0;
  align-content: start;
  gap: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  scrollbar-gutter: stable;
}

.catalog-search-result {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 96px;
  overflow: hidden;
  padding: 6px;
  gap: 11px;
  isolation: isolate;
  text-align: left;
}

.product-card.is-search-match {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(var(--gold-rgb), 0.38), 0 18px 48px rgba(0, 0, 0, 0.58);
}

.catalog-search-result > span:last-child {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.catalog-search-result strong,
.catalog-search-result small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-search-result strong {
  text-transform: uppercase;
  font-size: 13px;
}

.catalog-search-result small {
  color: var(--text-muted);
  font-size: 11px;
}

.hero-slider {
  position: relative;
  height: 66.667vw;
  min-height: 0;
  overflow: hidden;
  background: #050505;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide[data-hero-video-slide].is-active {
  cursor: pointer;
}

.hero-slide > img,
.hero-slide > .hero-character-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  transition: transform 700ms ease-out, filter 500ms ease, opacity 180ms ease;
}

.hero-slide > .hero-character-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hero-slide.is-video-visible > .hero-character-video {
  visibility: visible;
  opacity: 1;
}

.hero-slide.is-video-visible > img {
  opacity: 0;
}

.hero-slide-man > img,
.hero-slide-woman > img,
.hero-slide-man > .hero-character-video,
.hero-slide-woman > .hero-character-video {
  object-position: right center;
}

.hero-slide-man > img,
.hero-slide-man > .hero-character-video {
  filter: brightness(1.16) contrast(1.04) saturate(1.04);
}

.hero-slide.has-copy::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.promo-copy {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 31%;
  display: grid;
  justify-items: center;
  width: 50%;
  opacity: 1;
  text-align: center;
  transform: none;
}

body.motion-enabled .hero-slide > img,
body.motion-enabled .hero-slide > .hero-character-video {
  transform: scale(1.025) translate3d(var(--hero-x, 0px), var(--hero-y, 0px), 0);
}

body.motion-enabled .promo-copy {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

body.motion-enabled .hero-slide.is-active .promo-copy {
  opacity: 1;
  transform: translateY(0);
}

.promo-copy h1 {
  margin: 0 0 24px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: clamp(34px, 3.9vw, 60px);
  line-height: 1.12;
  font-weight: 800;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.94);
}

.promo-copy .hero-title-stacked {
  line-height: 0.98;
}

.promo-copy p {
  margin: 0 0 40px;
  color: var(--text-strong);
  font-size: clamp(25px, 2.8vw, 43px);
  line-height: 1.46;
  font-weight: 400;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.95);
}

.promo-copy a {
  display: inline-grid;
  min-width: clamp(210px, 23vw, 360px);
  min-height: clamp(54px, 5.8vw, 86px);
  place-items: center;
  color: var(--gold);
  border: 1px solid var(--gold);
  text-transform: uppercase;
  font-size: clamp(20px, 2.3vw, 34px);
  font-weight: 800;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95);
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.motion-enabled .promo-copy a:hover,
body.motion-enabled .promo-copy a:focus-visible {
  color: #050505;
  background: var(--gold);
  box-shadow: 0 0 26px rgba(var(--gold-rgb), 0.62);
  transform: translateY(-3px);
}

.benefits {
  display: grid;
  width: min(92.2vw, 1416px);
  margin-inline: auto;
  border: 1px solid var(--panel-line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.96), rgba(2, 2, 2, 0.96));
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.benefits-main {
  grid-template-columns: repeat(3, 1fr);
  height: 120px;
}

.benefits-secondary {
  grid-template-columns: repeat(3, 1fr);
  min-height: 106px;
  margin-top: 10px;
}

.benefits article {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  padding: 18px 30px;
  transition: background 220ms ease, transform 220ms ease;
}

body.motion-enabled .benefits article:hover {
  background: rgba(var(--gold-rgb), 0.08);
  transform: translateY(-3px);
}

.benefits article + article {
  border-left: 1px solid var(--panel-line);
}

.benefits svg {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  color: var(--gold);
  stroke-width: 1.5;
}

.benefit-icon {
  position: relative;
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
}

.benefit-icon > svg {
  position: relative;
  z-index: 1;
}

body.motion-enabled .benefit-support-icon > svg {
  transform-origin: center;
  animation: support-headset-vibrate 4s ease-in-out infinite;
}

body.motion-enabled .benefit-support:hover .benefit-support-icon > svg {
  animation-duration: 0.62s;
  animation-iteration-count: infinite;
}

@keyframes support-headset-vibrate {
  0%,
  72%,
  100% {
    transform: translateX(0) rotate(0);
  }

  76% {
    transform: translateX(-1px) rotate(-2deg);
  }

  80% {
    transform: translateX(2px) rotate(2deg);
  }

  84% {
    transform: translateX(-2px) rotate(-2deg);
  }

  88% {
    transform: translateX(1px) rotate(1deg);
  }

  92% {
    transform: translateX(0) rotate(0);
  }
}

.benefits h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
}

.benefits-main h2 {
  color: var(--gold);
  margin-bottom: 10px;
  white-space: nowrap;
}

.benefit-tryon-link {
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.benefit-tryon-link:hover,
.benefit-tryon-link:focus-visible {
  color: var(--gold);
}

.benefits p {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
}

.location-delivery-banner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  width: min(92.2vw, 1416px);
  min-height: 74px;
  margin: 10px auto 0;
  padding: 15px clamp(20px, 4vw, 42px);
  gap: 18px;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.58);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(var(--gold-rgb), 0.16), rgba(0, 0, 0, 0.62), rgba(var(--gold-rgb), 0.1)),
    rgba(0, 0, 0, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42), 0 0 24px rgba(var(--gold-rgb), 0.12);
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.location-delivery-banner svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.7;
}

.location-delivery-banner span {
  color: var(--gold);
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(15px, 2.2vw, 24px);
  line-height: 1.25;
  font-weight: 800;
}

.location-delivery-banner:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(var(--gold-rgb), 0.2);
}

.location-delivery-banner:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.benefits-secondary article {
  justify-content: center;
  padding-block: 20px;
}

.benefits-secondary h2 {
  color: var(--text);
  font-size: 21px;
  line-height: 1.45;
  font-weight: 500;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(160px, 0.62fr) minmax(0, 1.5fr);
  width: min(88.3vw, 1357px);
  margin: 34px auto 0;
  padding-bottom: 22px;
}

.site-footer section + section {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links h2 {
  margin: 0 0 4px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 20px;
  line-height: 1;
  font-weight: 800;
}

.footer-trustpilot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.trustpilot-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 220px);
  min-height: 0;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid rgba(0, 182, 122, 0.52);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: border-color 160ms ease, transform 160ms ease;
}

.trustpilot-badge:hover {
  border-color: #00b67a;
  background: transparent;
  transform: translateY(-2px);
}

.trustpilot-badge img {
  display: block;
  width: 178px;
  height: auto;
}

.trustpilot-badge span {
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 861px) {
  .footer-trustpilot {
    align-items: flex-start;
  }

  .trustpilot-badge,
  .footer-logo {
    box-sizing: border-box;
    height: 100px;
  }

  .trustpilot-badge img {
    max-width: 100%;
  }
}

.footer-links a {
  width: fit-content;
  color: var(--text);
  font-size: 18px;
  line-height: 1.05;
}

.legal-page {
  min-height: 100vh;
  background: #050505;
  color: var(--text);
}

.legal-header {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  width: min(1100px, calc(100% - 40px));
  min-height: 100px;
  margin: 0 auto;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.legal-language-picker {
  position: relative;
  grid-column: 3;
  justify-self: end;
}

.legal-back {
  display: inline-flex;
  grid-column: 1;
  align-items: center;
  justify-self: start;
  gap: 9px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.legal-brand {
  grid-column: 2;
  justify-self: center;
}

.legal-brand img {
  display: block;
  width: clamp(390px, 33.9vw, 520px);
  height: auto;
}

.legal-content {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 92px;
}

.legal-content > p:first-of-type {
  max-width: 710px;
  margin: 16px 0 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.6;
}

.legal-eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-content h1 {
  margin: 9px 0 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
}

.legal-section {
  padding: 27px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.legal-section h2 {
  margin: 0 0 11px;
  color: var(--gold);
  font-size: 20px;
  line-height: 1.2;
}

.legal-section p,
.legal-section li {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.62;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p,
.legal-section ul {
  margin-top: 12px;
}

.legal-section ul {
  padding-left: 20px;
}

.legal-section a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .legal-header {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 10px;
  }

  .legal-brand img {
    width: min(58vw, 330px);
    max-width: 100%;
  }

  .legal-back span {
    display: none;
  }
}

@media (max-width: 620px) {
  .legal-header {
    width: min(100% - 28px, 1100px);
    min-height: 76px;
  }

  .legal-brand img {
    width: min(58vw, 330px);
  }

  .legal-content {
    width: min(100% - 28px, 900px);
    padding: 42px 0 66px;
  }

  .legal-content > p:first-of-type {
    font-size: 15px;
  }

  .legal-section p,
  .legal-section li {
    font-size: 15px;
  }
}

.footer-center {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-inline: 68px;
  text-align: center;
}

.footer-logo {
  position: static;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-bottom: 17px;
  border-bottom: 2px solid rgba(var(--gold-rgb), 0.9);
}

.footer-logo img {
  display: block;
  height: auto;
  width: min(100%, 430px);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 14px;
}

.social-heading {
  margin: 22px 0 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
}

.social-links a {
  display: inline-grid;
  position: relative;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--gold);
  border-radius: 50%;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.social-links svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 220ms ease;
}

body.motion-enabled .social-links a:hover,
body.motion-enabled .social-links a:focus-visible {
  color: var(--gold-hot);
  background: rgba(var(--gold-rgb), 0.13);
  box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.35);
  transform: translateY(-4px);
}

body.motion-enabled .social-links a:hover svg,
body.motion-enabled .social-links a:focus-visible svg {
  filter: drop-shadow(0 0 7px rgba(var(--gold-rgb), 0.8));
  transform: scale(1.13) rotate(-7deg);
}

body.motion-enabled .social-links a:nth-child(2):hover svg,
body.motion-enabled .social-links a:nth-child(2):focus-visible svg {
  transform: scale(1.13) rotate(7deg);
}

body.motion-enabled .social-links a:nth-child(3):hover svg,
body.motion-enabled .social-links a:nth-child(3):focus-visible svg {
  transform: scale(1.13) translate3d(2px, -2px, 0);
}

@media (prefers-reduced-motion: reduce) {
  .benefit-support-icon > svg {
    animation: none !important;
  }
}

.brand-icon {
  fill: currentColor;
  stroke: none;
}

.telegram-icon {
  width: 36px;
  height: 36px;
}

.footer-center p {
  margin: 21px 0 0;
  color: var(--gold);
  font-size: 20px;
  font-weight: 500;
}

.catalog {
  display: grid;
  gap: 34px;
  width: min(92.2vw, 1416px);
  margin: 42px auto 0;
}

.catalog-intro,
.catalog-gender-heading {
  display: grid;
  gap: 8px;
}

.catalog-intro p,
.catalog-gender-heading p {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 800;
}

.catalog-intro h2,
.catalog-gender-heading h2 {
  margin: 0;
  color: var(--text-strong);
  text-transform: uppercase;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  font-weight: 800;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.catalog-intro h2:hover {
  color: var(--gold);
  text-shadow:
    0 0 6px rgba(var(--gold-rgb), 0.95),
    0 0 18px rgba(var(--gold-rgb), 0.82),
    0 0 36px rgba(var(--gold-rgb), 0.52);
}

.catalog-intro h2 span {
  display: inline;
}

.catalog-gender {
  display: grid;
  gap: 22px;
  scroll-margin-top: 18px;
}

.catalog-gender + .catalog-gender {
  margin-top: 16px;
}

.catalog-featured {
  display: grid;
  gap: 18px;
}

.catalog-categories {
  display: grid;
  gap: 26px;
}

.catalog-category {
  display: grid;
  gap: 14px;
}

.catalog-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--panel-line);
}

.catalog-category-heading h3 {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.1;
  font-weight: 800;
}

.catalog-category-heading span,
.discount-badge {
  display: inline-grid;
  min-width: 58px;
  min-height: 30px;
  place-items: center;
  color: #050505;
  border-radius: 8px;
  background: var(--gold);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 16px;
}

.product-grid-featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-grid-search-result {
  grid-template-columns: minmax(0, 360px);
  justify-content: center;
}

.product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.96), rgba(2, 2, 2, 0.96));
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.45);
  flex-direction: column;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

body.motion-enabled .product-card:hover {
  border-color: rgba(var(--gold-rgb), 0.76);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.68), 0 0 24px rgba(var(--gold-rgb), 0.13);
  transform: translate3d(0, calc(var(--product-scroll-y, 0px) - 7px), 0) rotateX(var(--product-scroll-tilt, 0deg));
}

.product-media {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 10 / 11;
  min-height: 0;
  flex: 0 0 auto;
  isolation: isolate;
  place-items: center;
  border-bottom: 1px solid var(--panel-line);
  background:
    linear-gradient(135deg, rgba(var(--gold-rgb), 0.16), rgba(0, 0, 0, 0) 46%),
    #060606;
}

.product-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 260ms ease, transform 420ms ease, filter 420ms ease;
}

.product-image.is-active,
.product-image:not([data-gallery-slide]) {
  opacity: 1;
}

.product-image.is-unavailable {
  visibility: hidden;
}

.image-placeholder[data-image-error-placeholder] {
  z-index: 0;
}

[data-gallery-click] {
  cursor: pointer;
}

[data-gallery-click],
.product-media-open {
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-drag: none;
}

.product-media-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-card-zoom-open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--text-strong);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.86);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  z-index: 5;
  padding: 0;
  cursor: zoom-in;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.product-card-zoom-open svg {
  width: 18px;
  height: 18px;
}

.product-card-zoom-open:hover,
.product-card-zoom-open:focus-visible {
  color: #050505;
  border-color: var(--gold);
  outline: none;
  background: var(--gold);
}

.product-media-open:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}

.product-gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  display: flex;
  gap: 1px;
  z-index: 3;
  transform: translateX(-50%);
}

.product-gallery-dots button {
  display: grid;
  width: 16px;
  height: 16px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  outline: none;
  background: transparent;
  cursor: pointer;
}

.product-gallery-dots button::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  content: "";
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-gallery-dots button.is-active::before {
  background: var(--gold);
  box-shadow: 0 0 7px rgba(var(--gold-rgb), 0.72);
  transform: scale(1.15);
}

.product-gallery-dots button:focus-visible::before {
  box-shadow: 0 0 0 2px rgba(var(--gold-rgb), 0.25), 0 0 7px rgba(var(--gold-rgb), 0.72);
}

body.motion-enabled .product-card:hover .product-image {
  filter: saturate(1.08) contrast(1.04);
  transform: none;
}

.product-media.is-gallery-swiping .product-image.is-active,
.product-detail-gallery.is-gallery-swiping .product-image.is-active {
  transform: translateX(var(--gallery-swipe-offset, 0));
  transition: none;
}

.discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

.image-placeholder {
  display: grid;
  width: calc(100% - 34px);
  height: calc(100% - 34px);
  place-items: center;
  border: 1px dashed rgba(var(--gold-rgb), 0.48);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
}

.image-placeholder span {
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
}

.product-body {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 268px;
  padding: 16px;
  z-index: 1;
  flex: 1;
  flex-direction: column;
}

.product-body h4 {
  min-height: 0;
  margin: 0 0 6px;
  color: var(--text-strong);
  text-transform: uppercase;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 800;
}

.product-name-link {
  color: inherit;
  text-decoration: none;
}

.product-name-link:hover,
.product-name-link:focus-visible {
  color: var(--gold);
}

.product-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 13px;
}

.price-original {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 600;
}

.product-prices strong {
  color: var(--gold);
  font-size: 21px;
  line-height: 1;
  font-weight: 800;
}

.product-sizes {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.product-sizes > span {
  color: var(--text-soft);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.product-sizes > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-sizes button {
  display: grid;
  min-width: 34px;
  height: 30px;
  place-items: center;
  color: var(--text);
  border: 1px solid rgba(var(--gold-rgb), 0.45);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.46);
  font-size: 12px;
  font-weight: 800;
}

.product-sizes button.is-selected {
  color: #080808;
  border-color: var(--gold);
  background: var(--gold);
}

.product-sizes.is-last-stock-available > span {
  color: #ffe09a;
}

.product-sizes.is-last-stock-available button.is-available-pulse {
  color: #fff9e8;
  border-color: #f3c969;
  background: linear-gradient(145deg, rgba(176, 125, 21, 0.92), rgba(76, 47, 4, 0.96));
  box-shadow:
    0 0 0 0 rgba(243, 201, 105, 0.42),
    0 0 12px rgba(243, 201, 105, 0.48),
    inset 0 0 8px rgba(255, 237, 190, 0.16);
  animation: last-stock-size-pulse 1.45s ease-in-out infinite;
}

.product-sizes.is-last-stock-available button.is-available-pulse:nth-child(2n) {
  animation-delay: 0.16s;
}

.product-sizes.is-last-stock-available button.is-available-pulse:hover,
.product-sizes.is-last-stock-available button.is-available-pulse.is-selected {
  color: #080808;
  border-color: #fff0c8;
  background: #f3c969;
}

@keyframes last-stock-size-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(243, 201, 105, 0.42),
      0 0 10px rgba(243, 201, 105, 0.42),
      inset 0 0 8px rgba(255, 237, 190, 0.14);
  }

  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 0 5px rgba(243, 201, 105, 0.08),
      0 0 22px rgba(255, 218, 125, 0.92),
      inset 0 0 11px rgba(255, 247, 224, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-sizes.is-last-stock-available button.is-available-pulse {
    animation: none;
  }
}

.product-sizes button.is-sold-out,
.product-sizes button:disabled {
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.28);
  text-decoration: line-through;
  opacity: 0.55;
  cursor: not-allowed;
}

.product-sizes.is-required > span {
  color: #ff8f8f;
}

.product-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.product-actions button {
  display: grid;
  min-height: 43px;
  place-items: center;
  border-radius: 8px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body.motion-enabled .product-actions button:hover,
body.motion-enabled .product-actions button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

body.motion-enabled .product-actions .cart-action:hover,
body.motion-enabled .product-actions .tryon-action:hover {
  border-color: var(--gold-hot);
  background: rgba(var(--gold-rgb), 0.16);
}

body.motion-enabled .product-actions .buy-action:hover {
  background: var(--gold-hot);
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.42);
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 3px;
  pointer-events: none;
  background: var(--gold-hot);
  box-shadow: 0 0 12px rgba(var(--gold-rgb), 0.9);
  transition: width 80ms linear;
}

.is-ripple-target {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.click-ripple {
  position: absolute;
  z-index: -1;
  width: 12px;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(var(--gold-rgb), 0.42);
  transform: translate(-50%, -50%) scale(0);
  animation: click-ripple 560ms ease-out forwards;
}

.cart-button.is-bumped {
  animation: cart-bump 460ms ease-out;
}

@keyframes click-ripple {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(22);
  }
}

@keyframes cart-bump {
  45% {
    transform: translateY(-3px) scale(1.18);
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.motion-enabled [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  body.motion-enabled [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  body.motion-enabled .product-card[data-reveal] {
    filter: blur(4px);
    transform: translate3d(0, 58px, 0) scale(0.94) rotateX(6deg);
    transform-origin: center bottom;
    transition:
      opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 720ms cubic-bezier(0.16, 1, 0.3, 1),
      filter 520ms ease;
  }

  body.motion-enabled .product-card[data-reveal][data-scroll-direction="up"] {
    transform: translate3d(0, -58px, 0) scale(0.94) rotateX(-6deg);
    transform-origin: center top;
  }

  body.motion-enabled .product-card[data-reveal].is-revealed {
    filter: blur(0);
    transform: translate3d(0, var(--product-scroll-y, 0px), 0) scale(1) rotateX(var(--product-scroll-tilt, 0deg));
  }

  body.motion-enabled .product-card[data-reveal].is-revealed .product-image {
    transform: translateY(var(--product-image-y, 0px)) scale(1.02);
  }

  body.motion-enabled .product-card[data-reveal].is-revealed:hover {
    transform: translate3d(0, calc(var(--product-scroll-y, 0px) - 7px), 0) scale(1.01) rotateX(var(--product-scroll-tilt, 0deg));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.product-actions .cart-action,
.product-actions button:first-child {
  color: var(--gold);
  border: 1px solid var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
}

.product-actions .buy-action {
  color: #050505;
  border: 1px solid var(--gold);
  background: var(--gold);
}

.product-actions .tryon-action {
  color: var(--text-strong);
  border: 1px solid rgba(var(--gold-rgb), 0.46);
  background: rgba(255, 255, 255, 0.035);
}

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

.tryon-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.tryon-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.tryon-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(92vw, 980px);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(var(--gold-rgb), 0.42);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.98), rgba(0, 0, 0, 0.98));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.74);
}

.tryon-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.42);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.48);
  cursor: pointer;
}

.tryon-heading {
  display: grid;
  gap: 8px;
  padding-right: 52px;
}

.tryon-heading p {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}

.tryon-heading h2 {
  margin: 0;
  color: var(--text-strong);
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
  font-weight: 800;
}

.tryon-heading span,
.tryon-message {
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.tryon-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
}

.tryon-upload,
.tryon-result {
  display: grid;
  min-height: 360px;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--panel-line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.42);
}

.tryon-upload {
  gap: 8px;
  color: var(--text-strong);
  text-align: center;
  cursor: pointer;
}

.tryon-upload input {
  display: none;
}

.tryon-upload svg {
  width: 38px;
  height: 38px;
  color: var(--gold);
}

.tryon-upload strong {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 14px;
}

.tryon-upload span,
.tryon-result span,
.tryon-result p {
  margin: 0;
  color: var(--text);
  text-align: center;
  font-size: 13px;
}

.tryon-result {
  overflow: hidden;
}

.tryon-result img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  border-radius: 8px;
}

.tryon-save-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
}

.tryon-save-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--gold);
}

.tryon-generate {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: #050505;
  border-radius: 8px;
  background: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.tryon-generate:disabled {
  opacity: 0.62;
  cursor: progress;
}

.tryon-dialog .ai-progress {
  margin-top: -2px;
}

.tryon-message {
  min-height: 20px;
  margin: 0;
}

.tryon-message[data-type="success"] {
  color: #7dffbd;
}

.tryon-message[data-type="error"] {
  color: #ff8585;
}

.site-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 85;
}

.site-chat-launcher {
  position: relative;
  display: flex;
  min-width: 62px;
  height: 62px;
  align-items: center;
  gap: 9px;
  padding: 3px 15px 3px 3px;
  color: var(--text-strong);
  border: 1px solid rgba(var(--gold-rgb), 0.84);
  border-radius: 32px;
  background: #101010;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 10px rgba(var(--gold-rgb), 0.75), 0 0 0 5px rgba(var(--gold-rgb), 0.14);
  animation: chat-launcher-neon 2.8s ease-in-out infinite;
  cursor: pointer;
}

.site-chat-launcher img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.site-chat-online-copy {
  display: grid;
  gap: 1px;
  padding-right: 5px;
  text-align: left;
}

.site-chat-online-copy strong {
  font-size: 13px;
}

.site-chat-online-copy small {
  color: #66e88d;
  font-size: 10px;
  font-weight: 700;
}

.site-chat-online-dot {
  position: absolute;
  bottom: 5px;
  left: 45px;
  width: 12px;
  height: 12px;
  border: 2px solid #101010;
  border-radius: 50%;
  background: #4ade80;
}

.site-chat-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  display: grid;
  width: min(390px, calc(100vw - 32px));
  max-height: min(670px, calc(100vh - 118px));
  overflow: hidden;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  border-radius: 8px;
  background: #0c0c0c;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.68), 0 0 10px rgba(var(--gold-rgb), 0.68), 0 0 26px rgba(var(--gold-rgb), 0.28);
  animation: chat-panel-neon 2.8s ease-in-out infinite;
}

@keyframes chat-panel-neon {
  0%, 100% {
    border-color: rgba(var(--gold-rgb), 0.52);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.68), 0 0 8px rgba(var(--gold-rgb), 0.5), 0 0 20px rgba(var(--gold-rgb), 0.2);
  }
  50% {
    border-color: rgba(var(--gold-rgb), 0.95);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.68), 0 0 14px rgba(var(--gold-rgb), 0.95), 0 0 34px rgba(var(--gold-rgb), 0.38);
  }
}

@keyframes chat-launcher-neon {
  0%, 100% {
    border-color: rgba(var(--gold-rgb), 0.52);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 8px rgba(var(--gold-rgb), 0.5), 0 0 0 5px rgba(var(--gold-rgb), 0.14);
  }
  50% {
    border-color: rgba(var(--gold-rgb), 0.95);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), 0 0 14px rgba(var(--gold-rgb), 0.95), 0 0 0 5px rgba(var(--gold-rgb), 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-chat-launcher,
  .site-chat-panel {
    animation: none;
  }
}

.site-chat-panel[hidden] {
  display: none;
}

.site-chat-header {
  display: grid;
  grid-template-columns: 92px 1fr 36px;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border-bottom: 1px solid rgba(var(--gold-rgb), 0.3);
  background: #111111;
}

.site-chat-header img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.site-chat-header strong,
.site-chat-header span {
  display: block;
}

.site-chat-header strong {
  color: var(--text-strong);
  font-size: 16px;
}

.site-chat-header span,
.site-chat-profile small {
  color: var(--text);
  font-size: 11px;
}

.site-chat-header button,
.site-chat-composer button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.site-chat-profile,
.site-chat-conversation {
  min-height: 0;
}

.site-chat-profile {
  display: grid;
  gap: 11px;
  padding: 16px;
}

.site-chat-profile p {
  margin: 0 0 3px;
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.35;
}

.site-chat-profile label {
  display: grid;
  gap: 5px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.site-chat-profile em {
  color: var(--text);
  font-style: normal;
  font-weight: 400;
}

.site-chat-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.site-chat-profile input,
.site-chat-composer input {
  min-width: 0;
  min-height: 40px;
  padding: 0 11px;
  color: var(--text-strong);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
}

.site-chat-profile button {
  min-height: 42px;
  color: #0a0a0a;
  border-radius: 5px;
  background: var(--gold);
  font-weight: 800;
  cursor: pointer;
}

.site-chat-conversation {
  display: grid;
  grid-template-rows: minmax(230px, 1fr) auto auto;
  max-height: 570px;
}

.site-chat-messages {
  display: grid;
  align-content: start;
  gap: 9px;
  overflow-y: auto;
  padding: 15px;
}

.site-chat-message {
  max-width: 85%;
  margin: 0;
  padding: 10px 11px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.42;
}

.site-chat-message-assistant {
  justify-self: start;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.08);
}

.site-chat-message-user {
  justify-self: end;
  color: #080808;
  background: var(--gold);
}

.site-chat-actions {
  display: flex;
  gap: 7px;
  padding: 0 14px 10px;
}

.site-chat-actions button {
  min-height: 30px;
  padding: 0 9px;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.42);
  border-radius: 5px;
  background: transparent;
  font-size: 11px;
  cursor: pointer;
}

.site-chat-composer {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-chat-composer button {
  width: 40px;
  height: 40px;
  color: #090909;
  border: 0;
  background: var(--gold);
}

@media (max-width: 560px) {
  .main-nav {
    height: auto;
    min-height: 55px;
    flex-wrap: wrap;
    column-gap: 18px;
    row-gap: 0;
    padding: 8px 12px;
    font-size: 13px;
  }

  .main-nav .active::after {
    bottom: -4px;
  }

  .catalog-nav-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    width: min(190px, calc(100vw - 24px));
    max-height: calc(100vh - 124px);
    overflow: auto;
    transform: translateX(-50%);
  }

  .catalog-browse-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-search-shell {
    padding: 16px;
  }

  .catalog-search-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 16px);
  }

  .catalog-search-shell {
    max-height: calc(100dvh - 18px);
  }

  .catalog-search-preview {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }

  .catalog-search-results {
    grid-auto-rows: minmax(84px, auto);
  }

  .catalog-search-result {
    grid-template-columns: 72px minmax(0, 1fr);
    min-height: 84px;
  }

  .product-grid-search-result {
    grid-template-columns: minmax(0, 1fr);
  }

  .last-stock-gender + .last-stock-gender {
    margin-top: 34px;
  }

  .site-chat {
    right: 16px;
    bottom: 16px;
  }

  .site-chat-launcher {
    min-width: 56px;
    height: 56px;
  }

  .site-chat-launcher img {
    width: 50px;
    height: 50px;
  }

  .site-chat-online-dot {
    left: 40px;
  }

  .site-chat-panel {
    bottom: 70px;
    width: min(390px, calc(100vw - 24px));
    max-height: calc(100vh - 96px);
  }

  .site-chat-header {
    grid-template-columns: 76px 1fr 36px;
  }

  .site-chat-header img {
    width: 76px;
    height: 76px;
  }
}

.checkout-nav {
  gap: clamp(36px, 4vw, 64px);
}

.checkout-page {
  width: min(92vw, 1180px);
  margin: 42px auto 0;
}

.checkout-heading {
  margin-bottom: 24px;
}

.checkout-heading p {
  margin: 0 0 8px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 800;
}

.checkout-heading h1 {
  margin: 0;
  color: var(--text-strong);
  text-transform: uppercase;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  font-weight: 800;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.checkout-form,
.order-summary {
  border: 1px solid var(--panel-line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.96), rgba(2, 2, 2, 0.96));
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.45);
}

.checkout-form {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3vw, 34px);
}

.checkout-form fieldset {
  display: grid;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0 0 24px;
  border: 0;
  border-bottom: 1px solid var(--panel-line);
}

.checkout-form fieldset:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.checkout-form legend,
.order-summary h2 {
  margin: 0 0 4px;
  padding: 0;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 800;
}

.checkout-form label {
  display: grid;
  justify-items: stretch;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

.checkout-form label span {
  display: block;
  width: 100%;
  padding-left: 0;
  text-align: left;
  line-height: 1.25;
}

.checkout-form label > span > [data-i18n] {
  display: inline;
  width: auto;
}

.required-marker {
  color: var(--gold);
  font-size: 16px;
}

.checkout-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--text-strong);
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  border-radius: 8px;
  outline: none;
  background: rgba(0, 0, 0, 0.55);
  font: inherit;
  text-transform: none;
}

.checkout-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.14);
}

.checkout-form input[readonly] {
  color: rgba(255, 255, 255, 0.82);
  border-color: rgba(var(--gold-rgb), 0.22);
  background: rgba(255, 255, 255, 0.035);
  cursor: default;
}

.checkout-form input.is-invalid,
.checkout-form input:invalid:not(:placeholder-shown) {
  border-color: #e36b6b;
  box-shadow: 0 0 0 3px rgba(227, 107, 107, 0.12);
}

.checkout-form input::placeholder {
  color: var(--text-muted);
}

.address-autocomplete-control {
  position: relative;
}

.address-autocomplete-control > input {
  padding-right: 44px;
}

.address-search-spinner {
  position: absolute;
  top: 17px;
  right: 15px;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(var(--gold-rgb), 0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.address-search-spinner.is-active {
  opacity: 1;
  animation: address-spinner 700ms linear infinite;
}

@keyframes address-spinner {
  to { transform: rotate(360deg); }
}

.address-suggestions {
  position: absolute;
  z-index: 80;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  max-height: 310px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid rgba(var(--gold-rgb), 0.55);
  border-radius: 10px;
  background: #111;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.72);
}

.address-suggestions[hidden] {
  display: none;
}

.address-suggestion {
  display: block;
  width: 100%;
  padding: 12px;
  color: var(--text-strong);
  border: 0;
  border-radius: 7px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}

.address-suggestion:hover,
.address-suggestion:focus-visible,
.address-suggestion.is-active {
  color: #050505;
  outline: none;
  background: var(--gold);
}

.address-help {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
}

.address-help.is-error,
.checkout-form-message.is-error {
  color: #ff8d8d;
}

.address-attribution {
  margin: 6px 4px 2px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  text-transform: none;
}

.address-attribution a {
  color: inherit;
}

.checkout-form-message {
  min-height: 20px;
  margin: -6px 0 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 16px;
}

.discount-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 12px;
  align-items: end;
}

.discount-code button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 18px;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: rgba(var(--gold-rgb), 0.1);
  text-transform: uppercase;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.discount-code button:hover,
.discount-code button:focus-visible {
  color: #050505;
  background: var(--gold);
  box-shadow: 0 0 20px rgba(var(--gold-rgb), 0.24);
  outline: none;
}

.discount-code button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.discount-message {
  min-height: 22px;
  margin: -4px 0 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.payment-fieldset > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-option {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 16px;
  color: var(--text);
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
}

.payment-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.payment-option span {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.payment-option strong {
  color: var(--text-strong);
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 800;
}

.payment-option.is-active {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), 0.12);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.09);
}

.cod-only {
  padding: 18px;
  border: 1px solid rgba(var(--gold-rgb), 0.55);
  border-radius: 8px;
  background: rgba(var(--gold-rgb), 0.08);
}

.crypto-payment {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.crypto-payment[hidden],
.cod-only[hidden] {
  display: none;
}

.crypto-order-code {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(var(--gold-rgb), 0.55);
  border-radius: 8px;
  background: rgba(var(--gold-rgb), 0.08);
}

.crypto-order-code span,
.crypto-wallet-card span {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.crypto-order-code strong {
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 800;
}

.crypto-order-code button,
.crypto-wallet-card button,
.crypto-tracking button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: rgba(var(--gold-rgb), 0.08);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.crypto-order-code button:hover,
.crypto-wallet-card button:hover,
.crypto-tracking button:hover {
  color: #050505;
  background: var(--gold);
}

.crypto-intro {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.crypto-icons,
.crypto-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.crypto-icon {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(var(--gold-rgb), 0.2);
}

.crypto-icon svg {
  display: block;
  width: 54px;
  height: 54px;
}

.crypto-icon-btc circle {
  fill: #f7931a;
}

.crypto-icon-btc path,
.crypto-icon-usdt path {
  fill: #fff;
}

.crypto-icon-usdc circle {
  fill: #2775ca;
}

.crypto-icon-usdc path {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.2;
}

.crypto-icon-usdt circle {
  fill: #26a17b;
}

.crypto-icon-sol svg {
  padding: 9px;
  border-radius: 50%;
  background: #111;
}

.crypto-icon-sol path {
  fill: url("#solana-gradient");
}

.crypto-options button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.48);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.44);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.crypto-options button:disabled,
.crypto-wallet-card button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.crypto-options button.is-active {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
}

.crypto-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.crypto-dot-btc {
  background: #f7931a;
}

.crypto-dot-usdc {
  background: #2775ca;
}

.crypto-dot-usdt {
  background: #26a17b;
}

.crypto-mini-sol {
  display: inline-grid;
  width: 24px;
  height: 18px;
  place-items: center;
}

.crypto-mini-sol svg {
  display: block;
  width: 24px;
  height: 18px;
}

.crypto-mini-sol path {
  fill: url("#solana-mini-gradient");
}

.crypto-wallet-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
}

.crypto-wallet-card img {
  display: block;
  width: 180px;
  height: 180px;
  border: 8px solid #fff;
  border-radius: 8px;
  background: #fff;
}

.crypto-wallet-card img[hidden] {
  display: none;
}

.crypto-wallet-card.is-missing-wallet {
  grid-template-columns: 1fr;
}

.crypto-wallet-card h2 {
  margin: 4px 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}

.crypto-wallet-card code {
  display: block;
  width: 100%;
  margin-bottom: 14px;
  padding: 12px;
  color: var(--text-strong);
  border: 1px solid rgba(var(--gold-rgb), 0.34);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.crypto-wallet-warning {
  margin: -4px 0 14px;
  color: var(--gold);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.crypto-tracking {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(var(--gold-rgb), 0.34);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.34);
}

.crypto-tracking h3 {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 800;
}

.crypto-tracking p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.crypto-tracking textarea {
  width: 100%;
  min-height: 172px;
  resize: vertical;
  padding: 12px;
  color: var(--text-strong);
  border: 1px solid rgba(var(--gold-rgb), 0.4);
  border-radius: 8px;
  outline: none;
  background: rgba(0, 0, 0, 0.58);
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.payment-title-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: clamp(15px, 4.35vw, 18px);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.payment-title-row span,
.payment-title-row strong {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
}

.cod-only p,
.checkout-note,
.summary-empty p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.checkout-submit {
  display: inline-grid;
  min-height: 54px;
  place-items: center;
  color: #050505;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.order-summary {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 30px);
}

.summary-empty {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--panel-line);
}

.summary-empty a {
  width: fit-content;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
}

.checkout-summary-products {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--panel-line);
}

.checkout-summary-products[hidden] {
  display: none;
}

.checkout-summary-product {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto 36px;
  gap: 12px;
  align-items: center;
}

.checkout-summary-product-image,
.checkout-summary-product-placeholder {
  position: relative;
  display: grid;
  width: 76px;
  height: 76px;
  padding: 0;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  background: #080808;
}

.checkout-summary-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkout-summary-product-image {
  cursor: zoom-in;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.checkout-summary-product-image:hover,
.checkout-summary-product-image:focus-visible {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 2px rgba(var(--gold-rgb), 0.18);
  transform: translateY(-1px);
}

.checkout-summary-product-zoom-icon {
  position: absolute;
  right: 4px;
  bottom: 4px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #050505;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.checkout-summary-product-zoom-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.checkout-summary-product-placeholder {
  color: var(--gold);
}

.checkout-summary-product-placeholder svg {
  width: 22px;
  height: 22px;
}

.checkout-summary-product-copy {
  min-width: 0;
}

.checkout-summary-product-copy h3,
.checkout-summary-product-copy p {
  margin: 0;
}

.checkout-summary-product-copy h3 {
  color: var(--text-strong);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.checkout-summary-product-copy p {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.35;
}

.checkout-summary-product > strong {
  min-width: 0;
  color: var(--gold);
  font-size: 13px;
  text-align: right;
  overflow-wrap: anywhere;
}

.checkout-summary-remove {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  color: var(--text-soft);
  border: 1px solid var(--panel-line);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.checkout-summary-remove:hover,
.checkout-summary-remove:focus-visible {
  color: #fff;
  border-color: #cf4b4b;
  background: rgba(207, 75, 75, 0.16);
  outline: none;
}

.checkout-summary-remove svg {
  width: 18px;
  height: 18px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--panel-line);
  color: var(--text);
  font-size: 15px;
}

.summary-row span {
  color: var(--text-soft);
}

.summary-row strong {
  min-width: 0;
  color: var(--gold);
  text-align: right;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.bundle-tryon {
  display: grid;
  gap: 22px;
  margin-top: 42px;
  padding: 34px 0 8px;
  border-top: 1px solid rgba(var(--gold-rgb), 0.42);
}

.bundle-tryon-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.bundle-tryon-heading p,
.bundle-tryon-heading h2,
.bundle-tryon-heading span,
.bundle-tryon-heading .bundle-tryon-limit {
  margin: 0;
}

.bundle-tryon-heading p {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}

.bundle-tryon-heading h2 {
  color: var(--text-strong);
  text-transform: uppercase;
  font-size: 32px;
  line-height: 1.05;
  font-weight: 800;
}

.bundle-tryon-heading span {
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.bundle-tryon-heading .bundle-tryon-limit {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(var(--gold-rgb), 0.58);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(var(--gold-rgb), 0.08);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bundle-tryon-products {
  display: grid;
  grid-auto-columns: 150px;
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-color: var(--gold) rgba(255, 255, 255, 0.08);
}

.bundle-tryon-product {
  position: relative;
  display: grid;
  grid-template-rows: 128px auto;
  gap: 8px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
}

.bundle-tryon-product img,
.bundle-tryon-product-placeholder {
  display: grid;
  width: 100%;
  height: 128px;
  place-items: center;
  color: var(--gold);
  border-radius: 6px;
  background: #f2f2f2;
  object-fit: contain;
}

.bundle-tryon-product-placeholder svg {
  width: 28px;
  height: 28px;
}

.bundle-tryon-product strong {
  min-width: 0;
  color: var(--text-strong);
  font-size: 11px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.bundle-tryon-number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #050505;
  border-radius: 50%;
  background: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.bundle-tryon-empty {
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.bundle-tryon-workspace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bundle-tryon-upload,
.bundle-tryon-result {
  display: grid;
  min-height: 390px;
  place-items: center;
  align-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(var(--gold-rgb), 0.38);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
  text-align: center;
}

.bundle-tryon-upload {
  color: var(--text-strong);
  cursor: pointer;
}

.bundle-tryon-upload input {
  display: none;
}

.bundle-tryon-upload svg,
.bundle-tryon-result > svg {
  width: 38px;
  height: 38px;
  color: var(--gold);
}

.bundle-tryon-upload strong {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 14px;
}

.bundle-tryon-upload span,
.bundle-tryon-result span,
.bundle-tryon-result p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}

.bundle-tryon-result img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: contain;
}

.bundle-tryon-consent {
  max-width: 820px;
}

.bundle-tryon-generate {
  display: inline-flex;
  width: fit-content;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  color: #050505;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.bundle-tryon-generate svg {
  width: 18px;
  height: 18px;
}

.bundle-tryon-generate:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.bundle-tryon .ai-progress {
  max-width: 820px;
}

.bundle-tryon-message {
  min-height: 20px;
  margin: 0;
  color: var(--text);
  font-size: 13px;
}

.bundle-tryon-message[data-type="success"] {
  color: #7dffbd;
}

.bundle-tryon-message[data-type="error"] {
  color: #ff8585;
}

.last-stock-chooser {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
  padding: 22px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: #080808;
}

.last-stock-chooser p {
  margin: 0;
  color: var(--gold);
  text-align: center;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}

.last-stock-chooser > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  justify-content: center;
  gap: 12px;
}

.last-stock-chooser button {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--text-strong);
  border: 1px solid rgba(var(--gold-rgb), 0.42);
  border-radius: 6px;
  background: #111;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
}

.last-stock-chooser button:hover,
.last-stock-chooser button:focus-visible,
.last-stock-chooser button.is-active {
  color: #050505;
  border-color: var(--gold);
  background: var(--gold);
}

.last-stock-chooser button svg {
  width: 19px;
  height: 19px;
}

.product-page {
  width: min(92vw, 1240px);
  min-height: 68vh;
  margin: 0 auto;
  padding: 48px 0 70px;
}

.product-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.product-detail-back svg {
  width: 17px;
  height: 17px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
}

.product-detail-gallery {
  position: relative;
  display: grid;
  aspect-ratio: 10 / 11;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: #060606;
}

.product-detail-gallery .discount-badge {
  z-index: 4;
}

.product-detail-zoom-open,
.product-image-zoom button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  color: var(--text-strong);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(5, 5, 5, 0.88);
  cursor: pointer;
}

.product-detail-zoom-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  backdrop-filter: blur(8px);
}

.product-detail-zoom-open:hover,
.product-detail-zoom-open:focus-visible,
.product-image-zoom button:hover,
.product-image-zoom button:focus-visible {
  color: #050505;
  border-color: var(--gold);
  outline: none;
  background: var(--gold);
}

.product-detail-zoom-open svg,
.product-image-zoom button svg {
  width: 19px;
  height: 19px;
}

body.is-product-zoom-open {
  overflow: hidden;
}

.product-image-zoom {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  color: var(--text-strong);
  border: 0;
  background: #050505;
}

.product-image-zoom::backdrop {
  background: rgba(0, 0, 0, 0.94);
}

.product-image-zoom-shell {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-image-zoom-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 3;
}

.product-image-zoom-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
}

.product-image-zoom-previous {
  left: max(16px, env(safe-area-inset-left));
}

.product-image-zoom-next {
  right: max(16px, env(safe-area-inset-right));
}

.product-image-zoom-counter {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  left: 50%;
  z-index: 3;
  padding: 7px 12px;
  color: var(--text-strong);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(5, 5, 5, 0.82);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: translateX(-50%);
}

.product-image-zoom button[hidden],
.product-image-zoom-counter[hidden] {
  display: none;
}

.product-image-zoom-stage {
  display: grid;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 72px 24px 88px;
  place-items: safe center;
  overscroll-behavior: contain;
  scrollbar-color: var(--gold) #111;
}

.product-image-zoom-stage img {
  display: block;
  max-width: none;
  max-height: none;
  opacity: 0;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.product-image-zoom-stage img[data-zoom-ready="true"] {
  opacity: 1;
}

.product-image-zoom-controls {
  position: absolute;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  gap: 8px;
  z-index: 3;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
}

@media (max-width: 767px), (hover: none) and (pointer: coarse) {
  .product-image-zoom-stage {
    overflow: hidden;
    padding: max(60px, env(safe-area-inset-top)) 0 max(88px, env(safe-area-inset-bottom));
    touch-action: none;
  }

  .product-image-zoom-stage img {
    touch-action: none;
  }
}

.product-detail-info {
  display: grid;
  gap: 20px;
  padding-top: 12px;
}

.product-detail-kicker {
  margin: 0;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
}

.product-detail-info h1 {
  margin: 0;
  color: var(--text-strong);
  text-transform: uppercase;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 800;
}

.product-detail-prices {
  gap: 12px;
  font-size: 22px;
}

.product-detail-prices strong {
  color: var(--gold);
  font-size: 30px;
}

.product-detail-copy {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
}

.product-detail-copy h2,
.product-detail-copy p {
  margin: 0;
}

.product-detail-copy h2 {
  color: var(--text-strong);
  text-transform: uppercase;
  font-size: 14px;
}

.product-detail-copy p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.product-detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.product-detail-actions .tryon-action {
  grid-column: 1 / -1;
}

.product-detail-empty {
  display: grid;
  min-height: 48vh;
  place-content: center;
  gap: 18px;
  text-align: center;
}

.product-detail-empty p {
  margin: 0;
  color: var(--text-strong);
  font-size: 24px;
  font-weight: 800;
}

.product-detail-empty a {
  color: var(--gold);
}

.checkout-footer {
  width: min(92vw, 1180px);
  margin: 34px auto 0;
  padding: 0 0 28px;
  color: var(--gold);
  text-align: center;
  font-size: 15px;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    padding: 8px 14px 6px;
  }

  .header-bar {
    grid-template-columns: 1fr auto;
    height: 68px;
    gap: 8px;
  }

  .search-button {
    margin-right: 0;
  }

  .logo img {
    width: min(58vw, 330px);
  }

  .main-nav {
    justify-content: flex-start;
    gap: 28px;
    height: 46px;
    overflow-x: auto;
    padding: 0 4px 4px;
    font-size: 15px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-slider {
    height: 66.667vw;
    min-height: 0;
  }

  .hero-slide-man > img {
    object-position: right center;
  }

  .hero-slide-woman > img {
    object-position: right center;
  }

  .promo-copy {
    left: clamp(22px, 6vw, 54px);
    top: 39%;
    width: min(50vw, 420px);
  }

  .promo-copy h1 {
    font-size: clamp(25px, 5.4vw, 38px);
  }

  .promo-copy p {
    font-size: clamp(19px, 4vw, 26px);
    margin-bottom: 26px;
  }

  .promo-copy a {
    min-width: 190px;
    min-height: 48px;
    font-size: 17px;
  }

  .benefits-main,
  .benefits-secondary {
    grid-template-columns: 1fr;
  }

  .benefits-main {
    height: auto;
  }

  .benefits article + article {
    border-top: 1px solid var(--panel-line);
    border-left: 0;
  }

  .benefits article {
    min-height: 104px;
  }

  .location-delivery-banner {
    position: relative;
    z-index: 1;
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 92px;
    text-align: center;
  }

  .benefits-secondary article {
    justify-content: flex-start;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .catalog {
    gap: 28px;
    margin-top: 34px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
  }

  .product-grid-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .product-grid-featured .product-media {
    min-height: 0;
  }

  .product-grid-featured .product-body {
    min-height: 0;
    padding: 10px;
  }

  .product-grid-featured .product-body h4 {
    min-height: 0;
    margin-bottom: 5px;
    font-size: 12px;
  }

  .product-grid-featured .product-actions button {
    min-height: 34px;
    padding-inline: 7px;
    font-size: 10px;
    line-height: 1.1;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .crypto-wallet-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .crypto-wallet-card img {
    width: 160px;
    height: 160px;
  }

  .order-summary {
    position: static;
  }

  .site-footer section + section {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 0;
    padding-top: 24px;
  }

  .footer-center {
    padding-left: 0;
    padding-right: 0;
  }

  .footer-trustpilot {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 0 0;
  }

  .trustpilot-badge {
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
    background: transparent;
  }

  .trustpilot-badge img {
    width: 180px;
  }

  .trustpilot-badge span {
    display: none;
  }
}

@media (max-width: 560px) {
  html,
  body {
    touch-action: pan-y pinch-zoom;
  }

  .site-header,
  main,
  .site-footer {
    max-width: 100vw;
    overflow-x: hidden;
  }

  @supports (overflow: clip) {
    .site-header,
    main,
    .site-footer {
      overflow-x: clip;
    }
  }

  .history-summary,
  .history-category-grid {
    grid-template-columns: 1fr;
  }

  .history-session-head {
    flex-direction: column;
  }

  .history-badges {
    justify-content: flex-start;
  }

  .site-header {
    padding-inline: 10px;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .icon-button svg {
    width: 25px;
    height: 25px;
  }

  .header-actions {
    gap: 4px;
  }

  .checkout-site-header .header-bar {
    grid-template-columns: 36px minmax(0, 1fr) 76px;
    grid-template-rows: 76px;
    height: 76px;
    min-height: 76px;
    gap: 6px;
  }

  .checkout-site-header .header-bar > .icon-button {
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    justify-self: start;
  }

  .checkout-site-header .header-actions {
    grid-column: 3;
    grid-row: 1;
    z-index: 2;
    justify-self: end;
  }

  .checkout-site-header .header-actions .cart-button {
    display: none;
  }

  .checkout-site-header .checkout-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 82px;
    padding: 8px 4px 10px;
    column-gap: 8px;
    row-gap: 0;
    overflow: visible;
  }

  .checkout-site-header .checkout-nav a {
    justify-content: center;
  }

  .cart-button span {
    top: -1px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .main-nav {
    gap: 22px;
    height: 42px;
    font-size: 13px;
  }

  .hero-slider {
    height: 66.667vw;
  }

  .hero-slide > img {
    object-position: right center;
  }

  .hero-slide-man > img {
    object-position: right center;
  }

  .hero-slide-woman > img {
    object-position: right center;
  }

  .benefits {
    width: calc(100vw - 24px);
    border-radius: 12px;
  }

  .location-delivery-banner {
    width: calc(100vw - 24px);
    padding: 15px 18px;
    gap: 10px;
    border-radius: 10px;
  }

  .location-delivery-banner svg {
    width: 30px;
    height: 30px;
  }

  .benefits article {
    gap: 18px;
    min-height: 94px;
    padding: 17px 18px;
  }

  .benefits svg {
    width: 44px;
    height: 44px;
  }

  .benefits h2 {
    font-size: 14px;
  }

  .benefits-main h2 {
    white-space: normal;
  }

  .benefits p,
  .footer-links a {
    font-size: 16px;
  }

  .benefits-secondary h2 {
    font-size: 18px;
  }

  .catalog {
    width: calc(100vw - 24px);
    gap: 26px;
  }

  .catalog-intro h2,
  .catalog-gender-heading h2 {
    font-size: 34px;
  }

  .catalog-category-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .catalog-category-heading h3 {
    font-size: 20px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-grid-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .product-grid-featured .product-card {
    border-radius: 7px;
  }

  .product-grid-featured .product-media {
    min-height: 0;
  }

  .product-grid-featured .product-card-zoom-open {
    right: 6px;
    bottom: 8px;
    width: 34px;
    height: 34px;
  }

  .product-grid-featured .product-card-zoom-open svg {
    width: 15px;
    height: 15px;
  }

  .product-grid:not(.product-grid-featured) .product-media {
    min-height: 260px;
  }

  .tryon-modal {
    padding: 10px;
  }

  .tryon-dialog {
    width: calc(100vw - 20px);
    padding: 18px;
  }

  .tryon-layout {
    grid-template-columns: 1fr;
  }

  .tryon-upload,
  .tryon-result {
    min-height: 240px;
  }

  .product-body {
    min-height: 0;
  }

  .product-grid-featured .product-body {
    padding: 8px;
  }

  .product-grid-featured .product-body h4 {
    min-height: 0;
    margin-bottom: 4px;
    font-size: 10px;
    line-height: 1.25;
  }

  .product-grid-featured .product-prices {
    gap: 4px;
    margin-bottom: 6px;
    align-items: flex-start;
    flex-direction: column;
  }

  .product-grid-featured .price-original {
    font-size: 10px;
  }

  .product-grid-featured .product-prices strong {
    font-size: 13px;
  }

  .product-grid-featured .discount-badge {
    top: 6px;
    right: 6px;
    min-width: 36px;
    min-height: 22px;
    border-radius: 6px;
    font-size: 10px;
  }

  .product-grid-featured .product-sizes {
    display: none;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }

  .product-grid-featured .product-actions {
    gap: 5px;
  }

  .product-grid-featured .product-actions button {
    min-height: 30px;
    padding: 7px 5px;
    border-radius: 6px;
    font-size: 9px;
    line-height: 1.1;
  }

  .product-grid-featured .image-placeholder {
    width: calc(100% - 12px);
    height: calc(100% - 12px);
  }

  .product-grid-featured .image-placeholder span {
    font-size: 8px;
  }

  .logo img {
    width: min(54vw, 202px);
    max-width: calc(100vw - 168px);
  }

  .logo:not(.footer-logo) {
    max-width: calc(100% - 152px);
  }

  .footer-logo img {
    width: min(100%, 250px);
  }

  .promo-copy {
    left: 0;
    top: 14%;
    width: 53%;
    padding-inline: 10px;
    text-align: center;
    transform: none;
  }

  .promo-copy h1,
  .promo-copy p {
    width: 100%;
  }

  body.motion-enabled .promo-copy {
    transform: translateY(22px);
  }

  body.motion-enabled .hero-slide.is-active .promo-copy {
    transform: translateY(0);
  }

  .promo-copy h1 {
    margin-bottom: 14px;
    font-size: clamp(20px, 6.45vw, 26px);
    line-height: 1.08;
  }

  .promo-copy .hero-title-stacked {
    line-height: 1.02;
  }

  .promo-copy p {
    font-size: clamp(14px, 3.95vw, 16px);
    line-height: 1.32;
    margin-bottom: 12px;
  }

  .promo-copy a {
    display: inline-grid;
    min-width: 128px;
    min-height: 34px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .site-footer {
    width: calc(100vw - 32px);
    min-width: 0;
    margin-top: 26px;
    margin-right: auto;
    margin-left: auto;
  }

  .footer-links {
    width: 100%;
    min-width: 0;
    gap: 10px;
  }

  .footer-center {
    width: 100%;
    min-width: 0;
    align-items: center;
    text-align: center;
  }

  .social-links {
    width: 100%;
    justify-content: center;
    gap: 24px;
    padding-top: 12px;
  }

  .social-heading {
    margin-top: 18px;
    font-size: 12px;
  }

  .footer-center p {
    font-size: 15px;
    line-height: 1.4;
  }

  .checkout-page {
    width: calc(100vw - 24px);
    margin-top: 28px;
  }

  .checkout-heading h1 {
    font-size: 38px;
  }

  .checkout-form,
  .order-summary {
    border-radius: 12px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .discount-code {
    grid-template-columns: 1fr;
  }

  .payment-methods,
  .crypto-order-code,
  .crypto-wallet-card {
    grid-template-columns: 1fr;
  }

  .crypto-order-code {
    align-items: start;
  }

  .crypto-wallet-card img {
    width: min(100%, 220px);
    height: auto;
    aspect-ratio: 1;
  }

  .crypto-wallet-card h2 {
    font-size: 24px;
  }

  .crypto-icon,
  .crypto-icon svg {
    width: 50px;
    height: 50px;
  }

  .summary-row {
    display: grid;
  }

  .summary-row strong {
    text-align: left;
  }

  .bundle-tryon {
    margin-top: 30px;
    padding-top: 26px;
  }

  .bundle-tryon-heading h2 {
    font-size: 26px;
  }

  .bundle-tryon-workspace {
    grid-template-columns: 1fr;
  }

  .bundle-tryon-upload,
  .bundle-tryon-result {
    min-height: 280px;
  }

  .bundle-tryon-generate {
    width: 100%;
  }

  .checkout-footer {
    width: calc(100vw - 24px);
  }
}

@media (max-width: 980px) {
  .catalog .product-grid.product-grid-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .main-nav {
    justify-content: center;
    height: auto;
    min-height: 94px;
    overflow: visible;
    flex-wrap: wrap;
    column-gap: 18px;
    row-gap: 0;
    padding: 8px 12px 10px;
  }

  .catalog-intro {
    justify-items: center;
    text-align: center;
  }

  .catalog-intro h2 {
    line-height: 1.08;
  }

  .catalog-intro h2 span {
    display: block;
  }

  .main-nav > .last-stock-nav {
    flex: 0 0 100%;
    order: 10;
    justify-content: center;
    margin-top: 7px;
    padding-top: 10px;
    border-top: 1px solid rgba(var(--gold-rgb), 0.22);
    text-align: center;
  }

  .main-nav > .last-stock-nav.active::after {
    right: 35%;
    left: 35%;
  }

  .last-stock-chooser {
    padding: 18px 14px;
  }

  .last-stock-chooser > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-info h1 {
    font-size: 30px;
  }

  .product-detail-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-detail-actions .tryon-action {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .product-page {
    width: min(94vw, 620px);
    padding: 28px 0 50px;
  }

  .product-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .product-detail-info {
    padding-top: 0;
  }

  .product-detail-gallery {
    width: 100%;
  }
}

/* Stable three-zone header for account, checkout and admin pages. */
.utility-site-header .header-bar {
  grid-template-columns: minmax(116px, 1fr) auto minmax(116px, 1fr);
}

.utility-site-header .header-bar > .icon-button {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  justify-self: start;
}

.utility-site-header .logo {
  position: static;
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  justify-self: center;
  transform: none;
}

.utility-site-header .header-actions {
  grid-column: 3;
  grid-row: 1;
  z-index: 2;
  justify-self: end;
}

.account-site-header .account-current-action,
.admin-site-header .admin-secondary-action {
  display: none;
}

@media (max-width: 560px) {
  .site-header:not(.utility-site-header) .logo img {
    width: min(52vw, 260px);
  }

  /* Keep every utility header at the same mobile logo size as the home page. */
  .utility-site-header .logo {
    grid-column: 2;
    width: min(52vw, 260px);
    max-width: 260px;
  }

  .utility-site-header .logo img {
    width: 100%;
    max-width: 100%;
  }

  .utility-site-header:not(.checkout-site-header) .header-bar {
    grid-template-columns: 36px minmax(0, 1fr) 76px;
    grid-template-rows: 76px;
    height: 76px;
    min-height: 76px;
    gap: 6px;
  }

  .utility-site-header:not(.checkout-site-header) .logo {
    grid-column: 2;
    width: 100%;
    max-width: 260px;
  }

  .utility-site-header:not(.checkout-site-header) .logo img {
    width: 100%;
    max-width: 100%;
  }

  .utility-site-header:not(.checkout-site-header) .header-actions {
    grid-column: 3;
    width: 76px;
    justify-content: flex-end;
  }

  .checkout-site-header .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    grid-column: auto;
    width: min(52vw, 260px);
    max-width: calc(100vw - 168px);
    transform: translate(-50%, -50%);
  }

  .checkout-site-header .logo img {
    width: 100%;
    max-width: 100%;
  }

  .legal-header {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 10px;
  }

  .legal-back {
    grid-column: 1;
    justify-self: start;
  }

  .legal-brand {
    grid-column: 2;
    justify-self: center;
  }

  .legal-brand img {
    width: min(52vw, 260px);
    max-width: 100%;
  }

  .legal-language-picker {
    grid-column: 3;
    justify-self: end;
  }
}
