
:root {
  --store-bg: #f5f7fb;
  --store-surface: #ffffff;
  --store-surface-alt: #eef3ff;
  --store-border: #e5eaf2;
  --store-text: #172033;
  --store-muted: #5f6f86;
  --store-primary: #0f172a;
  --store-secondary: #2f6df6;
  --store-accent: #f8fafc;
  --store-success: #126b4a;
  --store-success-bg: #eaf8f2;
  --store-error: #9d1d1d;
  --store-error-bg: #fce9e9;
  --store-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
  --flash-sales-cta-bg: #0f172a;
  --flash-sales-cta-text: #fff;
  --flash-sales-cta-border: #0f172a;
  --flash-sales-cta-hover-bg: #2f6df6;
  --flash-sales-cta-hover-text: #fff;
  --flash-sales-cta-hover-border: #2f6df6;
  --flash-sales-banner-start: #6d28d9;
  --flash-sales-banner-pink: #db2777;
  --flash-sales-banner-orange: #f97316;
  --flash-sales-banner-teal: #0f766e;
  --flash-sales-banner-end: #7c3aed;
}

body.storefront-page {
  margin: 0;
  background: var(--store-bg);
  color: var(--store-text);
  font-family: "Poppins", Arial, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.storefront-page a {
  color: inherit;
  text-decoration: none;
}

.storefront-page .container {
  width: min(1330px, calc(100% - 32px));
  margin: 0 auto 10px;
}

.orders-page .orders-card {
  min-width: 0;
  overflow-x: auto;
}

.orders-page .orders-table {
  table-layout: fixed;
  min-width: 980px;
}

.orders-page .orders-table th,
.orders-page .orders-table td {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.orders-page .orders-table th:nth-child(1),
.orders-page .orders-table td:nth-child(1) {
  width: 17%;
}

.orders-page .orders-table th:nth-child(2),
.orders-page .orders-table td:nth-child(2) {
  width: 16%;
}

.orders-page .orders-table th:nth-child(3),
.orders-page .orders-table td:nth-child(3) {
  width: 16%;
}

.orders-page .orders-table th:nth-child(4),
.orders-page .orders-table td:nth-child(4) {
  width: 12%;
}

.orders-page .orders-table th:nth-child(5),
.orders-page .orders-table td:nth-child(5) {
  width: 24%;
}

.orders-page .orders-table th:nth-child(6),
.orders-page .orders-table td:nth-child(6) {
  width: 15%;
}

.account-transaction-form,
.order-payment-form {
  display: grid;
  gap: 7px;
}

.account-transaction-form input,
.orders-table td > input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--store-border);
  border-radius: 8px;
}

.account-transaction-form button,
.order-payment-form button,
.order-cancel-form button {
  min-height: 36px;
  padding: 7px 10px;
  border: 0;
  border-radius: 8px;
  background: var(--store-primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.orders-page .shop button.order-history-cancel-button {
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--store-error);
  border-radius: 8px;
  background: var(--store-surface);
  color: var(--store-error);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.orders-page .shop button.order-history-cancel-button:hover {
  background: var(--store-error);
  color: #fff;
}

.orders-page .shop button.order-history-cancel-button:focus-visible,
.orders-page .order-history-cancel-modal__actions button:focus-visible {
  outline: 3px solid var(--store-secondary);
  outline-offset: 3px;
}

.orders-page .shop button.order-history-cancel-button:disabled,
.orders-page .order-history-cancel-modal__actions button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.order-history-cancel-modal[hidden] {
  display: none;
}

.order-history-cancel-modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.order-history-cancel-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}

.order-history-cancel-modal__panel {
  position: relative;
  width: min(100%, 440px);
  padding: clamp(22px, 5vw, 32px);
  border: 1px solid var(--store-border);
  border-radius: 20px;
  background: var(--store-surface);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
}

.order-history-cancel-modal__panel h2 {
  margin: 0;
  color: var(--store-text);
  font-size: 1.25rem;
}

.order-history-cancel-modal__panel p {
  margin: 10px 0 22px;
  color: var(--store-muted);
  line-height: 1.55;
}

.order-history-cancel-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.orders-page .order-history-cancel-modal__actions button {
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: var(--store-surface);
  color: var(--store-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.orders-page .order-history-cancel-modal__actions button:hover {
  background: var(--store-accent);
}

.orders-page .order-history-cancel-modal__actions [data-order-cancel-confirm] {
  border-color: var(--store-error);
  background: var(--store-error);
  color: #fff;
}

.orders-page .order-history-cancel-modal__actions [data-order-cancel-confirm]:hover {
  filter: brightness(0.92);
}

.order-cancel-form button {
  background: var(--store-error);
}

.order-payment-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.order-payment-actions .order-payment-form,
.order-payment-actions .order-cancel-form {
  display: contents;
}

.order-payment-actions .checkout-field {
  grid-column: 1 / -1;
}

.order-confirmation-page .shop {
  width: min(1060px, calc(100% - 32px));
}

.order-confirmation {
  display: grid;
  gap: 18px;
  margin: 0 auto 48px;
}

.order-confirmation__header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 2px 4px;
}

.order-confirmation__icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  border: 1px solid #ccebdc;
  border-radius: 18px;
  background: var(--store-success-bg);
  color: var(--store-success);
}

.order-confirmation__icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.order-confirmation__intro h1 {
  margin: 0;
  color: var(--store-text);
  font-size: clamp(1.7rem, 4vw, 2.35rem);
  line-height: 1.2;
}

.order-confirmation__intro p:last-child {
  margin: 6px 0 0;
  color: var(--store-muted);
}

.order-confirmation__eyebrow {
  margin: 0 0 5px;
  color: var(--store-success);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.order-confirmation__number-card,
.order-confirmation__card {
  border: 1px solid var(--store-border);
  border-radius: 18px;
  background: var(--store-surface);
  box-shadow: var(--store-shadow);
}

.order-confirmation__number-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}

.order-confirmation__number-card > div,
.order-summary-item {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.order-confirmation__number-card > div > strong {
  color: var(--store-text);
  font-size: clamp(1.35rem, 3.5vw, 1.8rem);
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.order-confirmation__label,
.order-summary-item > span:first-child {
  color: var(--store-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.order-status-badge,
.payment-status-badge {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.order-status-badge {
  background: #eef3ff;
  color: #294c9f;
}

.payment-status-badge {
  background: #eef3ff;
  color: #294c9f;
}

.payment-status-badge--under_verification,
.payment-status-badge--sent {
  border-color: #f2dfb4;
  background: #fff8e8;
  color: #80550c;
}

.order-status-badge--delivered,
.order-status-badge--complete,
.order-status-badge--completed {
  border-color: #ccebdc;
  background: var(--store-success-bg);
  color: var(--store-success);
}

.order-status-badge--cancelled,
.order-status-badge--refunded {
  border-color: #f2cccc;
  background: var(--store-error-bg);
  color: var(--store-error);
}

.payment-status-badge--paid,
.payment-status-badge--complete {
  border-color: #ccebdc;
  background: var(--store-success-bg);
  color: var(--store-success);
}

.payment-status-badge--cancelled,
.payment-status-badge--failed {
  border-color: #f2cccc;
  background: var(--store-error-bg);
  color: var(--store-error);
}

.order-confirmation__card {
  min-width: 0;
  padding: clamp(18px, 3vw, 26px);
}

.order-confirmation__card h2 {
  margin: 0 0 18px;
  color: var(--store-text);
  font-size: 1.12rem;
}

.order-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.order-summary-item {
  align-content: start;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-accent);
}

.order-summary-item > strong {
  min-width: 0;
  color: var(--store-text);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.order-summary-item--total {
  background: var(--store-surface-alt);
}

.order-summary-item--total > strong {
  color: var(--store-secondary);
  font-size: 1.12rem;
}

.order-payment-details__value {
  display: grid;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-accent);
}

.order-payment-details__value strong {
  overflow-wrap: anywhere;
  color: var(--store-text);
  font-size: 0.95rem;
}

.order-items__list {
  display: grid;
  gap: 10px;
}

.order-item {
  display: grid;
  grid-template-columns: 72px minmax(150px, 1.8fr) repeat(3, minmax(95px, 1fr));
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--store-border);
  border-radius: 14px;
  background: var(--store-surface);
}

.order-item__image {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: var(--store-accent);
}

.order-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-item__name,
.order-item__quantity,
.order-item__unit-price,
.order-item__line-total {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.order-item__name strong,
.order-item__quantity strong,
.order-item__unit-price strong,
.order-item__line-total strong {
  color: var(--store-text);
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.order-item__line-total strong {
  font-weight: 750;
}

.order-history__table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.order-history table {
  width: 100%;
  border-collapse: collapse;
}

.order-history th,
.order-history td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--store-border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.order-history th {
  color: var(--store-muted);
  font-size: 0.76rem;
}

.order-confirmation__back-link {
  justify-self: start;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .order-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-item {
    grid-template-columns: 64px minmax(125px, 1.5fr) repeat(3, minmax(80px, 1fr));
    gap: 10px;
  }

  .order-item__image {
    width: 64px;
    height: 64px;
  }
}

.order-action-button {
  display: inline-flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.order-action-button svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.order-action-button--confirm {
  background: var(--store-primary);
}

.order-action-button--confirm:hover {
  background: var(--store-secondary);
  transform: translateY(-1px);
}

.order-action-button--cancel {
  border-color: var(--store-error);
  background: transparent;
  color: var(--store-error);
}

.order-action-button--cancel:hover {
  background: var(--store-error);
  color: #fff;
  transform: translateY(-1px);
}

.order-action-button:focus-visible {
  outline: 3px solid var(--store-secondary);
  outline-offset: 3px;
}

.order-action-button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.order-cancel-modal[hidden] {
  display: none;
}

.order-cancel-modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 20px;
  background: rgba(15, 23, 42, 0.58);
}

.order-cancel-modal__panel {
  width: min(100%, 440px);
  padding: clamp(22px, 5vw, 32px);
  border: 1px solid var(--store-border);
  border-radius: 20px;
  background: var(--store-surface);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.25);
  text-align: center;
}

.order-cancel-modal__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin: 0 auto 14px;
  border: 1px solid #f2cccc;
  border-radius: 16px;
  background: var(--store-error-bg);
  color: var(--store-error);
}

.order-cancel-modal__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.order-cancel-modal__panel h2 {
  margin: 0;
  color: var(--store-text);
  font-size: 1.25rem;
}

.order-cancel-modal__panel p {
  margin: 10px 0 22px;
  color: var(--store-muted);
  line-height: 1.55;
}

.order-cancel-modal__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.order-cancel-modal__actions button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-surface);
  color: var(--store-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.order-cancel-modal__actions button:hover {
  background: var(--store-accent);
}

.order-cancel-modal__actions .order-cancel-modal__confirm {
  border-color: var(--store-error);
  background: var(--store-error);
  color: #fff;
}

.order-cancel-modal__actions .order-cancel-modal__confirm:hover {
  filter: brightness(0.92);
}

.order-cancel-modal__actions button:focus-visible {
  outline: 3px solid var(--store-secondary);
  outline-offset: 3px;
}

.order-cancel-modal__actions button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .order-history-cancel-modal__actions {
    flex-direction: column-reverse;
  }

  .orders-page .order-history-cancel-modal__actions button {
    width: 100%;
  }

  .order-cancel-modal__actions {
    flex-direction: column-reverse;
  }

  .order-cancel-modal__actions button {
    width: 100%;
  }

  .order-confirmation-page .shop {
    width: calc(100% - 24px);
    padding-right: 0;
    padding-left: 0;
  }

  .order-confirmation__header {
    align-items: flex-start;
    gap: 12px;
  }

  .order-confirmation__icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 14px;
  }

  .order-confirmation__number-card {
    align-items: flex-start;
    padding: 16px;
  }

  .order-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-item {
    grid-template-columns: 58px minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  .order-item__image {
    width: 58px;
    height: 58px;
  }

  .order-item__name {
    grid-column: 2 / -1;
  }

  .order-item__quantity {
    grid-column: 2;
  }

  .order-item__unit-price {
    grid-column: 3;
  }

  .order-item__line-total {
    grid-column: 2 / -1;
  }

  .order-payment-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .order-action-button {
    width: 100%;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 720px) {
  .orders-page .shop {
    padding-left: 16px;
    padding-right: 16px;
  }

  .orders-page .orders-card {
    padding: 14px 12px;
  }

  .orders-page .orders-table {
    font-size: 0.82rem;
  }

  .orders-page .orders-table th,
  .orders-page .orders-table td {
    padding: 9px 6px;
  }
}

.orders-page .shop > h1 {
  margin: 0 0 18px;
  color: var(--store-text);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
}

.order-delivery-details address {
  margin: 0;
  color: var(--store-muted);
  font-size: .9rem;
  font-style: normal;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.orders-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.orders-summary-card {
  --orders-accent: #2563eb;
  --orders-tint: #eff6ff;
  display: flex;
  min-width: 0;
  min-height: 92px;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--orders-accent) 20%, var(--store-border));
  border-left: 4px solid var(--orders-accent);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--store-surface), var(--orders-tint));
  box-shadow: 0 4px 14px rgb(15 23 42 / 4%);
}

.orders-summary-card--all { --orders-accent: #2563eb; --orders-tint: #eff6ff; }
.orders-summary-card--pending { --orders-accent: #64748b; --orders-tint: #f1f5f9; }
.orders-summary-card--processing { --orders-accent: #2563eb; --orders-tint: #eff6ff; }
.orders-summary-card--completed { --orders-accent: #15803d; --orders-tint: #f0fdf4; }
.orders-summary-card--cancelled { --orders-accent: #b91c1c; --orders-tint: #fef2f2; }

.orders-summary-icon {
  display: grid;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  place-items: center;
  border-radius: 11px;
  background: color-mix(in srgb, var(--orders-accent) 12%, var(--store-surface));
  color: var(--orders-accent);
}

.orders-summary-icon svg,
.orders-empty__icon svg,
.order-product-thumb svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.orders-summary-card p {
  margin: 0;
  color: var(--store-muted);
  font-size: .76rem;
  font-weight: 700;
}

.orders-summary-card strong {
  display: block;
  margin-top: 4px;
  color: var(--store-text);
  font-size: 1.45rem;
  line-height: 1.15;
}

.orders-toolbar {
  margin-bottom: 16px;
  padding: 15px;
  border: 1px solid var(--store-border);
  border-radius: 15px;
  background: var(--store-surface);
  box-shadow: 0 3px 12px rgb(15 23 42 / 3%);
}

.orders-filter {
  display: grid;
  grid-template-columns: minmax(190px, 1.6fr) repeat(4, minmax(120px, 1fr)) auto;
  align-items: end;
  gap: 10px;
}

.orders-filter label {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: var(--store-muted);
  font-size: .7rem;
  font-weight: 700;
}

.orders-filter input,
.orders-filter select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--store-border);
  border-radius: 9px;
  background: var(--store-surface);
  color: var(--store-text);
  font: inherit;
  font-size: .82rem;
}

.orders-filter-actions,
.order-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.orders-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  font: inherit;
  font-size: .79rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.orders-button--primary {
  border-color: var(--store-secondary);
  background: var(--store-secondary);
  color: #fff !important;
}

.orders-button--primary:hover {
  filter: brightness(.94);
}

.orders-button--secondary {
  border-color: var(--store-border);
  background: var(--store-surface);
  color: var(--store-text) !important;
}

.orders-button:focus-visible,
.orders-page .order-history-cancel-button:focus-visible,
.orders-page .order-history-cancel-modal__actions button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--store-secondary) 40%, transparent);
  outline-offset: 2px;
}

.orders-notice {
  margin-bottom: 13px;
  padding: 12px 15px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: .86rem;
}

.orders-notice--success {
  border-color: #ccebdc;
  background: var(--store-success-bg);
  color: var(--store-success);
}

.orders-notice--error {
  border-color: #f2cccc;
  background: var(--store-error-bg);
  color: var(--store-error);
}

.orders-list {
  display: grid;
  gap: 13px;
}

.order-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--store-border);
  border-radius: 16px;
  background: var(--store-surface);
  box-shadow: 0 5px 18px rgb(15 23 42 / 4%);
}

.order-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--store-border);
  background: var(--store-accent);
}

.order-card__number,
.order-card__header-meta {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.order-card__number > span,
.order-card__detail-label {
  color: var(--store-muted);
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.order-card__number strong {
  color: var(--store-text);
  font-size: .98rem;
  overflow-wrap: anywhere;
}

.order-card__number time {
  color: var(--store-muted);
  font-size: .75rem;
}

.order-card__header-meta {
  justify-items: end;
}

.order-card__total {
  color: var(--store-text);
  font-size: 1.05rem;
}

.order-card__body {
  display: grid;
  grid-template-columns: minmax(240px, 1.7fr) minmax(145px, .8fr) auto;
  align-items: center;
  gap: 18px;
  padding: 17px 18px;
}

.order-card__product {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.order-product-thumb {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--store-border);
  border-radius: 11px;
  background: var(--store-accent);
  color: var(--store-muted);
}

.order-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-card__product > div:last-child {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.order-card__product strong {
  color: var(--store-text);
  font-size: .88rem;
  overflow-wrap: anywhere;
}

.order-card__product span,
.order-card__payment > strong,
.order-card__transaction > span:last-child {
  color: var(--store-muted);
  font-size: .76rem;
}

.order-card__payment {
  display: grid;
  min-width: 0;
  justify-items: start;
  gap: 5px;
}

.order-card__payment > strong {
  color: var(--store-text);
}

.order-card__payment-update {
  color: var(--store-muted);
  font-size: .68rem;
  overflow-wrap: anywhere;
}

.orders-page .order-status-badge {
  padding: 5px 9px;
  font-size: .69rem;
}

.orders-page .order-status-badge--pending,
.orders-page .order-status-badge--under_verification {
  border-color: #d9e0e8;
  background: #f1f5f9;
  color: #475569;
}

.orders-page .order-status-badge--processing,
.orders-page .order-status-badge--confirmed,
.orders-page .order-status-badge--shipped {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.orders-page .order-status-badge--delivered {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.orders-page .order-status-badge--cancelled,
.orders-page .order-status-badge--refunded {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

.order-card__actions {
  justify-content: flex-end;
}

.orders-page .shop button.order-history-cancel-button {
  min-height: 38px;
  padding: 8px 11px;
  font-size: .76rem;
}

.order-card__transaction {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px 14px;
}

.order-card__transaction > .order-card__detail-label {
  flex: 0 0 auto;
}

.order-card__transaction .account-transaction-form {
  display: flex;
  width: min(100%, 390px);
  align-items: center;
}

.order-card__transaction .account-transaction-form input {
  min-width: 0;
  min-height: 37px;
  padding: 7px 9px;
  border: 1px solid var(--store-border);
  border-radius: 8px;
  background: var(--store-surface);
  color: var(--store-text);
  font-size: .78rem;
}

.order-card__transaction .account-transaction-form button {
  min-height: 37px;
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--store-primary);
  font-size: .74rem;
}

.orders-empty {
  display: grid;
  min-height: 240px;
  justify-items: center;
  align-content: center;
  gap: 12px;
  padding: 28px;
  border: 1px dashed var(--store-border);
  border-radius: 16px;
  background: var(--store-surface);
  text-align: center;
}

.orders-empty__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 15px;
  background: var(--store-surface-alt);
  color: var(--store-secondary);
}

.orders-empty h2 {
  margin: 0;
  color: var(--store-text);
  font-size: 1.15rem;
}

.orders-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 18px 0 30px;
}

.orders-page-link {
  display: grid;
  min-width: 38px;
  min-height: 38px;
  place-items: center;
  border: 1px solid var(--store-border);
  border-radius: 9px;
  background: var(--store-surface);
  color: var(--store-text);
  font-size: .8rem;
  font-weight: 700;
}

.orders-page-link.is-current {
  border-color: var(--store-secondary);
  background: var(--store-secondary);
  color: #fff;
}

html[data-theme="dark"] .orders-summary-card {
  background: linear-gradient(135deg, var(--store-surface), color-mix(in srgb, var(--orders-accent) 13%, var(--store-surface)));
}

html[data-theme="dark"] .order-card__header {
  background: color-mix(in srgb, var(--store-surface-alt) 55%, var(--store-surface));
}

html[data-theme="dark"] .orders-page .order-status-badge--pending,
html[data-theme="dark"] .orders-page .order-status-badge--under_verification {
  border-color: #475569;
  background: #273449;
  color: #d1d9e6;
}

@media (max-width: 950px) {
  .orders-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .orders-search {
    grid-column: span 2;
  }

  .orders-filter-actions {
    grid-column: 1 / -1;
  }

  .orders-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .order-card__body {
    grid-template-columns: minmax(0, 1fr) minmax(145px, .7fr);
  }

  .order-card__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .orders-page .shop {
    width: min(100% - 24px, 1100px);
    margin-top: 22px;
    padding: 0;
  }

  .orders-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .orders-summary-card {
    min-height: 76px;
    gap: 8px;
    padding: 10px;
    border-radius: 11px;
  }

  .orders-summary-icon {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    border-radius: 9px;
  }

  .orders-summary-icon svg {
    width: 18px;
    height: 18px;
  }

  .orders-summary-card p {
    font-size: .67rem;
  }

  .orders-summary-card strong {
    font-size: 1.2rem;
  }

  .orders-toolbar {
    padding: 11px;
  }

  .orders-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .orders-search {
    grid-column: 1 / -1;
  }

  .orders-filter-actions .orders-button {
    flex: 1;
  }

  .order-card {
    border-radius: 13px;
  }

  .order-card__header {
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
  }

  .order-card__header-meta {
    justify-items: end;
  }

  .order-card__number strong {
    font-size: .88rem;
  }

  .order-card__number time {
    font-size: .68rem;
  }

  .order-card__total {
    font-size: .9rem;
  }

  .orders-page .order-status-badge {
    max-width: 145px;
    padding: 4px 7px;
    font-size: .62rem;
  }

  .order-card__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding: 13px 12px;
  }

  .order-product-thumb {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .order-card__actions {
    grid-column: auto;
  }

  .order-card__actions .orders-button,
  .order-card__actions form {
    flex: 1;
  }

  .order-card__actions form button {
    width: 100%;
  }

  .order-card__transaction {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 0 12px 13px;
  }

  .order-card__transaction .account-transaction-form {
    width: 100%;
  }

  .orders-page .order-history-cancel-modal__actions {
    flex-direction: column-reverse;
  }
}

.storefront-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.storefront-row--compact {
  gap: 12px;
}

.storefront-header,
.storefront-nav,
.storefront-footer {
  background: var(--store-surface);
  border-bottom: 1px solid var(--store-border);
}

.storefront-topbar {
  background: #0b1220;
  color: rgba(255,255,255,0.78);
  font-size: 0.75rem;
}

.storefront-topbar__left,
.storefront-topbar__right,
.storefront-header__main,
.storefront-nav__inner,
.storefront-footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.storefront-topbar__right {
  gap: 18px;
}

.storefront-topbar__link {
  color: inherit;
  text-decoration: none;
}

.storefront-header__main {
  min-height: 94px;
  gap: 22px;
  padding: 16px 0;
}

.storefront-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--store-text);
}

.storefront-brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--store-primary), var(--store-secondary));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--store-shadow);
}

.storefront-brand__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.storefront-brand__text {
  font-size: 1.1rem;
}

.storefront-search {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 700px;
  position: relative;
  border: 1px solid var(--store-border);
  border-radius: 999px;
  background: var(--store-accent);
}

.storefront-search input {
  flex: 1;
  border: 0;
  padding: 0 20px;
  font-size: 0.96rem;
  background: transparent;
  height: 48px;
  color: var(--store-text);
}

.storefront-search button,
.btn {
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.storefront-search button {
  background: var(--store-primary);
  color: #fff;
  padding: 0 24px;
  height: 48px;
}

.storefront-search-suggestions {
  display: none;
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: 14px;
  box-shadow: var(--store-shadow);
}

.storefront-search-suggestions.is-visible {
  display: block;
}

.storefront-search-suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  color: var(--store-text);
  text-align: left;
}

.storefront-search-suggestion:hover {
  background: var(--store-accent);
}

.storefront-search-suggestion img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  object-fit: cover;
  border-radius: 8px;
}

.storefront-search-suggestion__info {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.storefront-search-suggestion__info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-search-suggestion__prices {
  display: flex;
  gap: 8px;
  color: var(--store-secondary);
  font-size: 0.85rem;
}

.storefront-search-suggestion__price-old {
  color: var(--store-muted);
  text-decoration: line-through;
}

.storefront-search-suggestion--message {
  justify-content: center;
  color: var(--store-muted);
}

.storefront-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  gap: 7px;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid var(--store-border);
  border-radius: 999px;
  background: var(--store-surface);
  color: var(--store-text);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.theme-toggle:hover {
  border-color: var(--store-secondary);
  color: var(--store-secondary);
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--store-secondary);
  outline-offset: 2px;
}

.theme-toggle__icon {
  font-size: 1rem;
  line-height: 1;
  color: #172033;
}

html[data-theme="dark"] .theme-toggle__icon {
  color: #ffe08a;
}

.storefront-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--store-border);
  color: var(--store-text);
  background: var(--store-surface);
  font-size: 0.85rem;
}

.storefront-icon-link em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 50%;
  background: var(--store-secondary);
  color: white;
  font-style: normal;
  font-size: 0.7rem;
}

.storefront-nav {
  background: #f8fafc;
}

.storefront-nav__toggle {
  display: none;
}

.storefront-nav__drawer-heading,
.storefront-nav__close {
  display: none;
}

.storefront-nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 60px;
  width: 100%;
}

.storefront-nav__link,
.storefront-nav__trigger,
.storefront-nav__menu-link {
  font-size: 0.78rem;
  color: var(--store-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.storefront-nav__link {
  position: relative;
  padding: 15px 0;
  transition: color 0.2s ease;
}

.storefront-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  background: #ff6b81;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.storefront-nav__link:hover,
.storefront-nav__link:focus-visible,
.storefront-nav__home {
  color: #ff6b81;
}

.storefront-nav__link:hover::after,
.storefront-nav__link:focus-visible::after,
.storefront-nav__home::after {
  transform: scaleX(1);
}

.storefront-nav__home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.storefront-nav__home span {
  font-size: 1.05rem;
  line-height: 1;
}

.storefront-nav__category {
  position: relative;
}

.storefront-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(900px, calc(100vw - 32px));
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 28px;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: 0 0 16px 16px;
  box-shadow: var(--store-shadow);
  transform: translate(-50%, 18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
  z-index: 20;
}

.storefront-nav__category:hover .storefront-mega-menu,
.storefront-nav__category:focus-within .storefront-mega-menu {
  display: grid;
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.storefront-mega-menu__subcategories {
  border-right: 1px solid var(--store-border);
  padding-right: 22px;
}

.storefront-mega-menu__title {
  margin: 0 0 12px;
  color: var(--store-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-mega-menu__subcategories a {
  display: block;
  padding: 8px 0;
  color: var(--store-muted);
  font-size: 0.86rem;
}

.storefront-mega-menu__subcategories a:hover {
  color: #ff6b81;
}

.storefront-mega-menu__product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.storefront-mega-menu__product {
  display: grid;
  gap: 6px;
  color: var(--store-text);
  font-size: 0.74rem;
}

.storefront-mega-menu__product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--store-accent);
}

.storefront-mega-menu__product strong {
  color: #ff6b81;
  font-size: 0.78rem;
}

.storefront-mega-menu__empty {
  margin: 0;
  color: var(--store-muted);
  font-size: 0.85rem;
}

.storefront-main {
  padding: 36px 0 48px;
}

.storefront-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--store-muted);
  font-size: 0.86rem;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.storefront-product-layout,
.storefront-cart-layout,
.storefront-account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
}

.storefront-gallery {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.storefront-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.storefront-gallery__thumb {
  padding: 0;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--store-surface);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.storefront-gallery__thumb.is-active {
  border-color: var(--store-secondary);
  transform: translateY(-1px);
}

.storefront-gallery__thumb img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.storefront-gallery__main {
  background: var(--store-surface);
  border-radius: 24px;
  border: 1px solid var(--store-border);
  box-shadow: var(--store-shadow);
  padding: 18px;
}

.storefront-gallery__main img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 16px;
}

.storefront-product-summary,
.storefront-summary-card,
.storefront-account-panel,
.storefront-form-card,
.storefront-cart-panel,
.storefront-empty-state,
.storefront-profile-card,
.storefront-account-sidebar,
.storefront-product-card {
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: 24px;
  box-shadow: var(--store-shadow);
}

.storefront-product-summary {
  padding: 28px;
}

.product-details-page main.storefront-main {
  width: min(1280px, calc(100% - 40px));
  max-width: 1280px;
  padding-top: 28px;
}

.product-details-page main .storefront-product-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: start;
  gap: clamp(24px, 4vw, 52px);
}

.product-details-page main .storefront-gallery {
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.product-details-page main .storefront-gallery__thumbs {
  gap: 10px;
}

.product-details-page main .storefront-gallery__thumb {
  width: 84px;
  height: 84px;
  border-radius: 12px;
  background: var(--store-muted-bg, #f4f6f9);
}

.product-details-page main .storefront-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-details-page main .storefront-gallery__main {
  display: grid;
  min-width: 0;
  aspect-ratio: 1 / 1;
  place-items: center;
  box-sizing: border-box;
  padding: clamp(14px, 2.5vw, 30px);
  border-radius: 20px;
  background: var(--store-muted-bg, #f4f6f9);
}

.product-details-page main .storefront-gallery__main img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: min(68vh, 620px);
  object-fit: contain;
  border-radius: 12px;
}

@media (max-width: 760px) {
  .product-details-page main .storefront-product-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .product-details-page main .storefront-gallery {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "main" "thumbs";
    gap: 12px;
  }

  .product-details-page main .storefront-gallery__main {
    grid-area: main;
    aspect-ratio: 1.08 / 1;
  }

  .product-details-page main .storefront-gallery__thumbs {
    grid-area: thumbs;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 80px));
    justify-content: start;
    gap: 8px;
  }

  .product-details-page main .storefront-gallery__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

.product-details-page main .storefront-product-summary {
  min-width: 0;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 20px;
}

.product-details-page main .storefront-product-summary h1 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.product-details-page main .storefront-product-summary > .product-rating {
  margin: 0 0 12px;
}

.product-details-page main .storefront-product-summary .storefront-price-row {
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 12px 0 16px;
}

.product-details-page main .storefront-product-summary .storefront-price {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 750;
  line-height: 1.2;
}

.product-details-page main .storefront-product-summary .storefront-price--compare {
  font-size: 1rem;
  font-weight: 500;
}

.product-details-page main .storefront-product-summary .storefront-stock {
  margin: 0 0 16px;
  line-height: 1.5;
}

.product-details-page main .storefront-product-summary__meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  padding: 12px 0;
  border-top: 1px solid var(--store-border);
  border-bottom: 1px solid var(--store-border);
  font-size: .84rem;
  overflow-wrap: anywhere;
}

.product-details-page main .storefront-product-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.product-details-page main .storefront-product-actions > .storefront-inline-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
  min-width: 0;
  margin: 0;
}

.product-details-page main .storefront-product-actions > .storefront-product-wishlist-form {
  grid-template-columns: minmax(0, 1fr);
}

.product-details-page main .storefront-product-purchase-form > .product-attribute-selector {
  grid-column: 1 / -1;
}

.product-details-page main .storefront-product-purchase-form > label:not(.product-attribute-selector) {
  grid-column: 1;
}

.product-details-page main .storefront-product-purchase-form > label {
  min-width: 0;
  gap: 6px;
  color: var(--store-text);
  font-size: .84rem;
  font-weight: 650;
}

.product-details-page main .storefront-product-purchase-form input[type="number"],
.product-details-page main .storefront-product-purchase-form select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: var(--store-surface);
  color: var(--store-text);
  font: inherit;
}

.product-details-page main .storefront-product-purchase-form > button {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 48px;
  border-radius: 11px;
  font-size: .95rem;
  font-weight: 700;
}

.product-details-page main .storefront-product-wishlist-form > button {
  width: 100%;
  min-height: 44px;
  border-radius: 10px;
}

.product-details-page main .storefront-product-purchase-form > button:focus-visible,
.product-details-page main .storefront-product-wishlist-form > button:focus-visible,
.product-details-page main .storefront-gallery__thumb:focus-visible {
  outline: 3px solid var(--store-secondary);
  outline-offset: 3px;
}

.storefront-product__eyebrow,
.storefront-product-card__eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--store-secondary);
}

.storefront-product-summary h1,
.storefront-section h2,
.storefront-category-header h1,
.storefront-empty-state h1,
.storefront-empty-state h2,
.storefront-profile-card h1,
.storefront-account-header h2 {
  margin: 0 0 12px;
  color: var(--store-text);
}

.storefront-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 18px;
}

.storefront-price-row--compact {
  margin: 10px 0 16px;
}

.storefront-price {
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--store-text);
}

.storefront-price--compare {
  font-size: 0.95rem;
  text-decoration: line-through;
  color: var(--store-muted);
}

.storefront-stock {
  margin: 0 0 18px;
  font-size: 0.9rem;
  font-weight: 600;
}

.storefront-stock.is-in-stock {
  color: var(--store-success);
}

.storefront-stock.is-out-of-stock {
  color: var(--store-error);
}

.storefront-product-summary__meta,
.storefront-account-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  font-size: 0.9rem;
  color: var(--store-muted);
}

.storefront-description {
  margin-top: 16px;
  line-height: 1.7;
  color: var(--store-muted);
}

.storefront-product-description {
  max-width: 100%;
}

.storefront-product-description__content {
  min-height: 180px;
  padding: 28px 32px;
  border: 1px solid var(--store-border);
  border-radius: 20px;
  background: var(--store-surface);
  color: var(--store-text);
  font-size: 1rem;
  line-height: 1.85;
  overflow-wrap: anywhere;
  white-space: normal;
}

.storefront-product-description__content p {
  margin: 0 0 1em;
}

.storefront-product-description__content p:last-child {
  margin-bottom: 0;
}

.storefront-product-description__empty {
  color: var(--store-muted);
}

.storefront-product-actions {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.storefront-inline-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.storefront-inline-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--store-muted);
}

.storefront-inline-form input,
.storefront-inline-form select,
.storefront-form-card input,
.storefront-form-card textarea,
.storefront-form-card select,
.storefront-sort-form select,
.storefront-cart-table input {
  border: 1px solid var(--store-border);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  background: #fff;
  color: var(--store-text);
}

.storefront-inline-form input {
  width: 100px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.25rem;
  font-size: 0.92rem;
}

.btn:hover,
.storefront-search button:hover,
.storefront-icon-link:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--store-primary);
  color: #fff;
}

.btn-secondary {
  background: var(--store-secondary);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--store-border);
  color: var(--store-text);
}

.btn-full {
  width: 100%;
}

.storefront-section {
  margin-top: 40px;
}

.storefront-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.storefront-section__header h2 {
  margin: 0;
}

.storefront-form-card {
  padding: 24px;
}

.storefront-form-card__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.storefront-form-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  color: var(--store-text);
}

.storefront-form-card textarea {
  min-height: 120px;
  resize: vertical;
}

.storefront-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.storefront-product-card {
  overflow: hidden;
}

.storefront-product-card__image {
  display: block;
  background: #f6f7fb;
  position: relative;
}

.storefront-product-card__image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.storefront-product-card__hover-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 180ms ease;
}

.storefront-product-card__image:hover .storefront-product-card__hover-image {
  opacity: 1;
}

.storefront-product-card__body {
  padding: 16px 18px 18px;
}

.storefront-product-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.storefront-product-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.storefront-product-card__actions .btn {
  padding-inline: 1rem;
}

.storefront-category-header,
.storefront-cart-actions,
.storefront-sort-bar,
.storefront-account-header,
.storefront-wishlist-actions,
.storefront-account-grid,
.storefront-metric-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.storefront-category-header {
  margin-bottom: 16px;
}

.storefront-category-description {
  margin: 0 0 22px;
  color: var(--store-muted);
  line-height: 1.7;
}

.storefront-sort-bar {
  justify-content: flex-end;
  margin-bottom: 22px;
}

.storefront-sort-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.storefront-sort-form label {
  font-size: 0.86rem;
  color: var(--store-muted);
}

.storefront-empty-state {
  padding: 48px 28px;
  text-align: center;
}

.storefront-empty-state--large {
  padding: 56px 28px;
  margin-top: 10px;
}

.storefront-empty-state p {
  color: var(--store-muted);
  margin-bottom: 18px;
}

.storefront-cart-panel {
  padding: 24px;
  color: var(--store-text);
  min-width: 0;
}

.storefront-cart-layout--empty {
  display: flex;
  justify-content: center;
}

.storefront-cart-layout--empty .storefront-cart-panel {
  width: min(100%, 760px);
}

.storefront-cart-table {
  width: 100%;
  border-collapse: collapse;
}

.storefront-cart-table th,
.storefront-cart-table td {
  padding: 18px 12px;
  text-align: left;
  border-bottom: 1px solid var(--store-border);
  vertical-align: middle;
}

.storefront-cart-table th {
  color: var(--store-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.storefront-cart-product {
  display: flex;
  align-items: center;
  gap: 14px;
}

.storefront-cart-product__image {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #f5f7fb;
}

.storefront-cart-product__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storefront-cart-product__name {
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.storefront-cart-product__meta {
  color: var(--store-muted);
  font-size: 0.8rem;
}

.storefront-link-button {
  border: 0;
  background: transparent;
  color: var(--store-error);
  cursor: pointer;
  font-weight: 600;
}

.storefront-cart-actions {
  margin-top: 20px;
  justify-content: flex-start;
}

.storefront-summary-card {
  padding: 28px 22px;
  align-self: start;
  position: sticky;
  top: 20px;
  color: var(--store-text);
  min-width: 0;
}

.storefront-summary-card h2 {
  margin-top: 0;
  margin-bottom: 18px;
}

.storefront-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: var(--store-muted);
}

.storefront-summary-row--total {
  border-top: 1px solid var(--store-border);
  margin-top: 10px;
  padding-top: 16px;
  color: var(--store-text);
  font-size: 1.08rem;
}

.shopping-cart-page,
.shopping-cart-page main,
.shopping-cart-page .storefront-cart-layout,
.shopping-cart-page .storefront-summary-card {
  min-width: 0;
}

.shopping-cart-page .storefront-cart-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr);
  align-items: start;
}

.shopping-cart-page .storefront-summary-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.shopping-cart-page .storefront-summary-card .storefront-summary-row {
  min-width: 0;
}

.shopping-cart-page .storefront-summary-card .storefront-summary-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.shopping-cart-page .storefront-cart-recovery-consent {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-accent);
}

.shopping-cart-page .storefront-cart-recovery-consent label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  color: var(--store-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.shopping-cart-page .storefront-cart-recovery-consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 2px 0 0;
  accent-color: var(--store-secondary);
}

.shopping-cart-page .storefront-cart-recovery-consent label span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.shopping-cart-page .storefront-summary-card .storefront-cart-recovery-consent .btn,
.shopping-cart-page .storefront-summary-card > .btn-full {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.shopping-cart-page .storefront-summary-card .storefront-cart-recovery-consent .btn {
  justify-self: stretch;
}

.shopping-cart-page .storefront-summary-card > .btn-full {
  margin-top: 12px;
}

@media (min-width: 721px) and (max-width: 1199px) {
  .shopping-cart-page .storefront-cart-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(270px, 0.9fr);
    gap: 20px;
  }

  .shopping-cart-page .storefront-summary-card {
    padding: 22px 18px;
  }
}

@media (max-width: 720px) {
  .shopping-cart-page .storefront-cart-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .shopping-cart-page .storefront-summary-card {
    position: static;
    padding: 22px 18px;
  }

  .shopping-cart-page .storefront-summary-card .storefront-cart-recovery-consent .btn,
  .shopping-cart-page .storefront-summary-card > .btn-full {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .shopping-cart-page .storefront-summary-card {
    padding: 18px 14px;
  }

  .shopping-cart-page .storefront-summary-card .storefront-cart-recovery-consent {
    padding: 10px;
  }

  .shopping-cart-page .storefront-summary-card .storefront-summary-row {
    gap: 8px;
    font-size: 0.9rem;
  }
}

.storefront-cart-panel .btn-primary,
.storefront-summary-card .btn-primary {
  color: #fff;
}

.storefront-message {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.storefront-message--success {
  background: var(--store-success-bg);
  color: var(--store-success);
}

.storefront-message--error {
  background: var(--store-error-bg);
  color: var(--store-error);
}

.storefront-account-layout {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

.storefront-account-layout > * {
  min-width: 0;
}

.storefront-account-sidebar {
  padding: 18px;
}

.storefront-profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  margin-bottom: 18px;
}

.storefront-profile-card__avatar {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--store-primary), var(--store-secondary));
  color: white;
  font-weight: 700;
}

.storefront-account-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.storefront-account-nav a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  color: var(--store-muted);
  font-weight: 600;
}

.storefront-account-nav a.is-active,
.storefront-account-nav a:hover {
  background: var(--store-surface-alt);
  color: var(--store-text);
}

.storefront-account-content {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.storefront-account-content > * {
  min-width: 0;
}

.storefront-account-header {
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: 20px;
  box-shadow: var(--store-shadow);
}

.storefront-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.storefront-metric-card {
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 10px;
  box-shadow: var(--store-shadow);
}

.storefront-metric-card span {
  font-size: 0.82rem;
  color: var(--store-muted);
}

.storefront-metric-card strong {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.storefront-account-panel {
  padding: 24px;
}

.storefront-account-panel .storefront-form-card + .storefront-form-card {
  margin-top: 16px;
}

.storefront-account-panel[id="account-settings"] {
  scroll-margin-top: 100px;
}

.storefront-account-panel h3 {
  margin: 0 0 18px;
}

.storefront-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.storefront-account-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 1.2rem 1.3rem;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: 20px;
  box-shadow: var(--store-shadow);
  color: var(--store-text);
  font-weight: 600;
}

.storefront-account-tile strong {
  font-size: 1.3rem;
}

.addresses-page .storefront-breadcrumb {
  margin-bottom: 16px;
}

.addresses-page > h1 {
  margin-bottom: 24px;
}

.addresses-toolbar,
.addresses-list__heading,
.address-form-card__header,
.address-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.addresses-toolbar {
  justify-content: flex-end;
  margin-bottom: 28px;
}

.addresses-eyebrow {
  margin: 0 0 7px;
  color: var(--store-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.addresses-toolbar h2,
.addresses-list__heading h2,
.address-form-card h2,
.addresses-empty h2 {
  margin: 0;
  color: var(--store-text);
}

.addresses-intro {
  margin: 8px 0 0;
  color: var(--store-muted);
}

.addresses-add-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.addresses-add-button span {
  margin-right: 7px;
  font-size: 1.15rem;
  line-height: 0;
}

.addresses-list {
  margin-bottom: 28px;
}

.addresses-list__heading {
  margin-bottom: 14px;
}

.addresses-list__heading span {
  color: var(--store-muted);
  font-size: 0.84rem;
}

.addresses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.address-card,
.address-form-card,
.addresses-empty {
  min-width: 0;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: 20px;
  box-shadow: var(--store-shadow);
}

.address-card {
  display: flex;
  flex-direction: column;
  min-height: 255px;
  padding: 20px;
}

.address-card--default {
  border-color: var(--store-secondary);
}

.address-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.address-card__icon,
.addresses-empty__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--store-surface-alt);
  color: var(--store-secondary);
  font-size: 1.35rem;
}

.address-card__top h3 {
  margin: 7px 0 0;
  color: var(--store-text);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.address-card__identity {
  display: grid;
  justify-items: start;
  gap: 6px;
  min-width: 0;
}

.address-card__identity h2 {
  margin: 0;
  color: var(--store-text);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.address-card__type {
  color: var(--store-muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.address-card__badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--store-success-bg);
  color: var(--store-success);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.address-card__phone {
  margin: 18px 0 8px;
  color: var(--store-text);
  font-size: 0.88rem;
  font-weight: 600;
}

.address-card__company {
  margin: 16px 0 -10px;
  color: var(--store-muted);
  font-size: 0.86rem;
}

.address-card__phone span {
  color: var(--store-secondary);
}

.address-card__details {
  margin: 0;
  color: var(--store-muted);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.address-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--store-border);
}

.address-card__actions form {
  margin: 0;
}

.address-card__edit,
.address-card__set-default,
.address-card__delete {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--store-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.address-card__edit:hover,
.address-card__set-default:hover,
.address-card__edit:focus,
.address-card__set-default:focus {
  background: transparent;
  color: var(--store-primary);
  text-decoration: underline;
}

.address-card__delete {
  color: var(--store-error);
}

.address-card__delete:hover,
.address-card__delete:focus {
  background: transparent;
  color: var(--store-error);
  transform: none;
}

.address-card__delete span {
  margin-right: 4px;
  font-size: 1rem;
}

.addresses-empty {
  display: grid;
  justify-items: center;
  padding: 56px 24px;
  margin-bottom: 28px;
  text-align: center;
}

.addresses-empty__icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-size: 1.8rem;
}

.addresses-empty p {
  max-width: 380px;
  margin: 10px 0 22px;
  color: var(--store-muted);
}

.address-form-card {
  padding: 26px;
}

.address-form-card__header {
  margin-bottom: 22px;
}

.address-form-card__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--store-surface-alt);
  color: var(--store-secondary);
  font-size: 0.78rem;
  font-weight: 700;
}

.address-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.address-form label {
  display: grid;
  gap: 7px;
  color: var(--store-text);
  font-size: 0.82rem;
  font-weight: 700;
}

.address-form label > span {
  color: var(--store-muted);
  font-weight: 400;
}

.address-form input:not([type="checkbox"]),
.address-form select {
  width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--store-border);
  border-radius: 11px;
  background: #fff;
  color: var(--store-text);
}

.address-form input:not([type="checkbox"]):focus,
.address-form select:focus {
  outline: 2px solid rgba(15, 118, 110, 0.2);
  border-color: var(--store-secondary);
}

.address-form__wide {
  grid-column: 1 / -1;
}

.address-form__footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--store-border);
}

.address-form__default {
  display: inline-flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px !important;
  color: var(--store-muted) !important;
  font-weight: 600 !important;
}

.address-form__default input {
  accent-color: var(--store-secondary);
}

.address-form__buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.address-form__cancel {
  border: 1px solid var(--store-border) !important;
  border-radius: 10px;
  background: transparent !important;
  color: var(--store-text) !important;
  font-weight: 700;
}

.storefront-footer {
  background: #0b1220;
  color: rgba(255,255,255,0.85);
  border-bottom: 0;
}

.storefront-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 52px 0 32px;
}

.storefront-footer__section h3 {
  margin: 0 0 18px;
  color: white;
  font-size: 1rem;
}

.storefront-footer__section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,0.72);
}

.storefront-footer__section a {
  color: inherit;
}

.storefront-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0 26px;
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
}

.storefront-footer__credits {
  display: grid;
  gap: 4px;
}

.storefront-footer__credits a {
  color: #fff;
  text-decoration: underline;
}

/* The customer header is a single shared, non-wrapping desktop row. */
.storefront-header__main {
  min-height: 76px;
  height: 76px;
  box-sizing: border-box;
  flex-wrap: nowrap;
  gap: 16px;
}

.storefront-header,
.storefront-header *,
.storefront-header-navigation,
.storefront-header-navigation * {
  box-sizing: border-box;
}

.storefront-brand {
  flex: 0 1 215px;
  min-width: 150px;
  white-space: nowrap;
}

.storefront-brand__text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.storefront-header-navigation {
  flex: 1 1 auto;
  min-width: 0;
}

.storefront-header-navigation .storefront-nav__links {
  min-height: 0;
  height: 76px;
  width: min(1330px, calc(100% - 32px));
  margin: 0 auto;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.2vw, 22px);
  overflow: visible;
}

.storefront-header-navigation .storefront-nav__link {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: clamp(0.65rem, 0.68vw, 0.78rem);
}

.storefront-header-navigation .storefront-nav__category {
  flex: 0 1 auto;
  min-width: 0;
}

.storefront-header-navigation .storefront-nav__category > .storefront-nav__link {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.storefront-search {
  flex: 0 1 280px;
  min-width: 150px;
  max-width: 320px;
}

.storefront-search input,
.storefront-search button {
  height: 42px;
}

.storefront-search input {
  min-width: 0;
  padding: 0 14px;
}

.storefront-search button {
  padding: 0 16px;
}

.storefront-header-actions {
  flex: 0 0 auto;
  gap: 6px;
}

.storefront-icon-link {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  justify-content: center;
  background: transparent;
  font-size: 1.35rem;
}

.storefront-icon-link ion-icon {
  pointer-events: none;
}

.storefront-icon-link:hover,
.storefront-icon-link:focus-visible {
  color: #ff6b81;
  background: #fff1f3;
}

.storefront-icon-link em {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  width: 16px;
  height: 16px;
  padding: 0;
  font-size: 0.62rem;
}

.storefront-header-actions .theme-toggle {
  min-height: 36px;
  padding: 0 10px;
  border-color: var(--store-border);
  background: var(--store-surface);
  color: var(--store-text);
}

.storefront-header-actions .theme-toggle:hover {
  border-color: var(--store-secondary);
  color: var(--store-secondary);
}

.storefront-header-navigation .storefront-nav__toggle {
  display: none;
}

html[data-theme="dark"] {
  --store-bg: #111827;
  --store-surface: #1b2534;
  --store-surface-alt: #263449;
  --store-border: #344155;
  --store-text: #edf2f8;
  --store-muted: #a9b7c9;
  --store-primary: #26364c;
  --store-secondary: #78a2ff;
  --store-accent: #222e40;
  --store-success: #83dfb3;
  --store-success-bg: #15392f;
  --store-error: #ffaaaa;
  --store-error-bg: #43282f;
  --store-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  --flash-sales-cta-bg: #78a2ff;
  --flash-sales-cta-text: #111827;
  --flash-sales-cta-border: #78a2ff;
  --flash-sales-cta-hover-bg: #a4c0ff;
  --flash-sales-cta-hover-text: #111827;
  --flash-sales-cta-hover-border: #a4c0ff;
  --flash-sales-banner-start: #5b21b6;
  --flash-sales-banner-pink: #9d174d;
  --flash-sales-banner-orange: #9a3412;
  --flash-sales-banner-teal: #115e59;
  --flash-sales-banner-end: #5b21b6;
}

html[data-theme="dark"] .storefront-page {
  background: var(--store-bg);
  color: var(--store-text);
}

.product-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--store-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.product-rating__stars,
.product-review__rating > span:first-child,
.product-reviews__average-stars {
  color: #d58b00;
  letter-spacing: 0.06em;
}

.product-rating--empty {
  font-size: 0.78rem;
}

.product-reviews {
  scroll-margin-top: 100px;
}

.product-reviews__header,
.product-review__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-reviews__overview {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 6px;
}

.product-reviews__average {
  color: var(--store-text);
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1;
}

.product-reviews__average-stars {
  font-size: 0.95rem;
}

.product-reviews__summary,
.product-reviews__empty,
.product-review-form__privacy {
  color: var(--store-muted);
}

.product-reviews__summary {
  font-size: 0.87rem;
}

.product-reviews__sort,
.product-review-form,
.product-reviews__form-wrap {
  display: grid;
  gap: 10px;
}

.product-reviews__sort {
  grid-template-columns: auto minmax(130px, 175px);
  align-items: center;
  font-size: 0.88rem;
}

.product-reviews__sort select,
.product-review-form input[type="file"],
.product-review-form textarea {
  max-width: 100%;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--store-surface);
  color: var(--store-text);
  font: inherit;
}

.product-reviews__list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.product-review {
  min-width: 0;
  padding: 15px 17px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-surface);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.035);
}

.product-review__heading h3 {
  margin: 0;
  color: var(--store-text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
}

.product-review__heading time {
  display: block;
  margin-top: 3px;
  color: var(--store-muted);
  font-size: 0.8rem;
}

.product-review__rating {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 5px 9px;
  color: #d58b00;
  font-size: 0.9rem;
  white-space: normal;
}

.product-review__verified {
  padding: 3px 8px;
  border: 1px solid color-mix(in srgb, var(--store-success) 24%, transparent);
  border-radius: 999px;
  background: var(--store-success-bg);
  color: var(--store-success);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
}

.product-review__body {
  margin: 11px 0 0;
  color: var(--store-text);
  font-size: 0.93rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
  white-space: normal;
}

.product-review__photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.product-review__photo-button {
  display: block;
  width: 72px;
  height: 72px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--store-border);
  border-radius: 9px;
  background: var(--store-surface-alt);
  cursor: zoom-in;
}

.product-review__photo-button:focus-visible,
.product-reviews__page-link:focus-visible,
.product-review-lightbox__close:focus-visible {
  outline: 3px solid var(--store-secondary);
  outline-offset: 2px;
}

.product-review__photo-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 160ms ease;
}

.product-review__photo-button:hover img {
  transform: scale(1.04);
}

.product-reviews__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 8px;
}

.product-reviews__page-link {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid var(--store-border);
  border-radius: 8px;
  background: var(--store-surface);
  color: var(--store-text);
  font-size: 0.84rem;
  text-decoration: none;
}

.product-reviews__page-link:hover,
.product-reviews__page-link.is-current {
  border-color: var(--store-secondary);
  background: var(--store-secondary);
  color: #fff;
}

.product-reviews__page-count {
  margin-left: 5px;
  color: var(--store-muted);
  font-size: 0.82rem;
}

.product-review-lightbox {
  position: fixed;
  width: min(92vw, 960px);
  max-width: 92vw;
  max-height: 90vh;
  padding: 42px 12px 12px;
  overflow: visible;
  border: 1px solid var(--store-border);
  border-radius: 14px;
  background: var(--store-surface);
  color: var(--store-text);
}

.product-review-lightbox::backdrop {
  background: rgba(7, 12, 22, 0.82);
  backdrop-filter: blur(2px);
}

.product-review-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 58px);
  margin: 0 auto;
  border-radius: 8px;
  object-fit: contain;
}

.product-review-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--store-border);
  border-radius: 50%;
  background: var(--store-surface-alt);
  color: var(--store-text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.product-review-form fieldset {
  padding: 0;
  border: 0;
}

.product-review-form__rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.product-review-form__rating input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.product-review-form__rating label {
  color: var(--store-muted);
  font-size: 1.8rem;
  cursor: pointer;
}

.product-review-form__rating input:checked ~ label,
.product-review-form__rating label:hover,
.product-review-form__rating label:hover ~ label {
  color: #d58b00;
}

.product-review-form__rating input:focus-visible + label {
  outline: 2px solid var(--store-secondary);
  outline-offset: 3px;
}

.product-reviews__notice {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--store-success-bg);
  color: var(--store-success);
}

.product-reviews__errors {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--store-error-bg);
  color: var(--store-error);
}

@media (max-width: 600px) {
  .product-reviews__header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .product-reviews__sort {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .product-review {
    padding: 13px;
  }

  .product-review__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .product-review__rating {
    justify-content: flex-start;
  }

  .product-review__body {
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .product-review__photo-button {
    width: 64px;
    height: 64px;
  }

  .product-reviews__page-count {
    flex-basis: 100%;
    margin: 3px 0 0;
    text-align: center;
  }
}

html[data-theme="dark"] .storefront-nav,
html[data-theme="dark"] .storefront-product-card__image,
html[data-theme="dark"] .storefront-cart-product__image,
html[data-theme="dark"] .storefront-inline-form input,
html[data-theme="dark"] .storefront-inline-form select,
html[data-theme="dark"] .storefront-form-card input,
html[data-theme="dark"] .storefront-form-card textarea,
html[data-theme="dark"] .storefront-form-card select,
html[data-theme="dark"] .storefront-sort-form select,
html[data-theme="dark"] .storefront-cart-table input,
html[data-theme="dark"] .address-form input:not([type="checkbox"]),
html[data-theme="dark"] .live-chat-widget__panel,
html[data-theme="dark"] .live-chat-widget__form,
html[data-theme="dark"] .live-chat-widget__messages,
html[data-theme="dark"] .live-chat-page__composer,
html[data-theme="dark"] .live-chat-page__thread,
html[data-theme="dark"] .live-chat-thread__empty {
  background-color: var(--store-surface);
  color: var(--store-text);
}

html[data-theme="dark"] .live-chat-widget__messages,
html[data-theme="dark"] .live-chat-page__composer,
html[data-theme="dark"] .live-chat-page__thread {
  border-color: var(--store-border);
}

html[data-theme="dark"] .live-chat-widget__notice,
html[data-theme="dark"] .live-chat-widget__notice--muted {
  background: #263449;
  color: #d8e4f5;
}

html[data-theme="dark"] .live-chat-widget__notice--success {
  background: var(--store-success-bg);
  color: var(--store-success);
}

html[data-theme="dark"] .live-chat-widget__notice--error {
  background: var(--store-error-bg);
  color: var(--store-error);
}

html[data-theme="dark"] .live-chat-widget__field label,
html[data-theme="dark"] .live-chat-page__composer label,
html[data-theme="dark"] .live-chat-thread__bubble p {
  color: var(--store-text);
}

html[data-theme="dark"] .live-chat-widget__field input,
html[data-theme="dark"] .live-chat-widget__field textarea,
html[data-theme="dark"] .live-chat-page__composer input,
html[data-theme="dark"] .live-chat-page__composer textarea {
  background: #141d2a;
  border-color: var(--store-border);
  color: var(--store-text);
}

html[data-theme="dark"] .live-chat-message--customer,
html[data-theme="dark"] .live-chat-thread__bubble--customer {
  background: #263b59;
  color: var(--store-text);
}

html[data-theme="dark"] .live-chat-message--agent,
html[data-theme="dark"] .live-chat-thread__bubble--staff {
  background: #263449;
  border-color: var(--store-border);
  color: var(--store-text);
}

html[data-theme="dark"] .live-chat-thread__bubble small,
html[data-theme="dark"] .live-chat-message time {
  color: var(--store-muted);
}

html[data-theme="dark"] .storefront-page .modal .newsletter .btn-newsletter {
  background: #263449;
  border-color: #61738c;
  color: var(--store-text);
}

html[data-theme="dark"] .storefront-page .modal .newsletter .btn-newsletter:hover {
  background: #344760;
  color: #fff;
}

@media (max-width: 700px) {
  .product-collection-page main .storefront-product-grid.homepage-product-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .storefront-header-actions .theme-toggle {
    width: auto;
    min-width: 36px;
  }

  .storefront-header-actions .theme-toggle__label {
    display: none;
  }
}

/* Keep the shared header dimensions independent from page-level legacy styles. */
.storefront-header {
  font-size: 16px;
  line-height: 1.2;
}

.storefront-header .storefront-topbar {
  height: 16px;
  line-height: 16px;
}

.storefront-header .storefront-topbar .container {
  height: 16px;
  min-height: 16px;
  padding-top: 0;
  padding-bottom: 0;
}

.storefront-header .storefront-header__main {
  height: 76px;
  min-height: 76px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.storefront-header .storefront-brand__logo,
.storefront-header .storefront-brand__mark {
  width: 42px;
  height: 42px;
}

.storefront-header .storefront-brand__text {
  font-size: 1.1rem;
  line-height: 1.2;
}

.storefront-header .storefront-search,
.storefront-header .storefront-search input,
.storefront-header .storefront-search button {
  height: 42px;
  line-height: 42px;
}

.storefront-header .storefront-search input {
  font-size: 0.96rem;
}

.storefront-header .storefront-icon-link {
  width: 38px;
  height: 38px;
  min-height: 38px;
  line-height: 1;
}

.storefront-header-navigation,
.storefront-nav__links {
  height: 76px;
  min-height: 76px;
}

@media (min-width: 769px) and (max-width: 1199px) {
  .storefront-header__main {
    gap: 10px;
  }

  .storefront-header-navigation {
    flex: 0 0 auto;
    order: 3;
    position: relative;
  }

  .storefront-header-navigation .storefront-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--store-border);
    border-radius: 8px;
    background: var(--store-surface);
    color: var(--store-text);
    font-size: 0.78rem;
    font-weight: 700;
  }

  .storefront-header-navigation .storefront-nav__links {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    z-index: 30;
    display: none;
    height: auto;
    padding: 12px 16px;
    background: var(--store-surface);
    border: 1px solid var(--store-border);
    border-radius: 0 0 12px 12px;
    box-shadow: var(--store-shadow);
  }

  .storefront-header-navigation .storefront-nav__links.is-open {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: auto;
    margin: 0;
  }

  .storefront-header-navigation .storefront-nav__link {
    padding: 9px 0;
    white-space: normal;
  }

  .storefront-header-navigation .storefront-mega-menu {
    position: static;
    display: none;
    width: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 10px;
  }

  .storefront-header-navigation .storefront-nav__category:focus-within .storefront-mega-menu {
    display: grid;
  }
}

@media (max-width: 720px) {
  .storefront-header__main {
    height: auto;
    min-height: 0;
    flex-wrap: wrap;
    padding: 12px 0 14px;
  }

  .storefront-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .storefront-search {
    order: 4;
    flex: 1 1 100%;
    max-width: none;
  }

  .storefront-header-actions {
    order: 3;
  }
}

@media (max-width: 980px) {
  .storefront-product-layout,
  .storefront-cart-layout,
  .storefront-account-layout,
  .storefront-product-grid,
  .storefront-footer__grid,
  .storefront-metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .storefront-account-layout {
    grid-template-columns: 1fr;
  }

  .storefront-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 769px) and (max-width: 980px) {
  .storefront-nav__inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .storefront-nav__toggle {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--store-border);
    border-radius: 10px;
    background: var(--store-surface);
    color: var(--store-text);
    font-weight: 700;
    text-align: left;
  }

  .storefront-nav__links {
    display: none;
    padding: 12px 0 4px;
  }

  .storefront-nav__links.is-open {
    display: block;
  }

  .storefront-nav__link {
    display: block;
    padding: 11px 0;
  }

  .storefront-nav__link::after {
    bottom: 3px;
  }

  .storefront-nav__category {
    position: static;
  }

  .storefront-mega-menu,
  .storefront-nav__category:hover .storefront-mega-menu,
  .storefront-nav__category:focus-within .storefront-mega-menu {
    position: static;
    width: auto;
    display: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 10px;
  }

  .storefront-nav__category:focus-within .storefront-mega-menu {
    display: grid;
  }

  .storefront-mega-menu__subcategories {
    border-right: 0;
    padding-right: 0;
  }

  .storefront-mega-menu__product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .storefront-header__main,
  .storefront-category-header,
  .storefront-account-header,
  .storefront-sort-bar,
  .storefront-account-grid,
  .storefront-metric-grid,
  .storefront-footer__grid {
    display: block;
  }

  .storefront-header__main {
    padding: 18px 0;
  }

  .storefront-brand,
  .storefront-search,
  .storefront-header-actions {
    width: 100%;
  }


  .storefront-search,
  .storefront-header-actions {
    margin-top: 14px;
  }

  .storefront-header-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .storefront-product-layout,
  .storefront-cart-layout,
  .storefront-account-layout,
  .storefront-product-grid,
  .storefront-account-grid,
  .storefront-metric-grid,
  .storefront-footer__grid,
  .storefront-form-card__fields,
  .storefront-product-summary__meta,
  .storefront-account-details {
    grid-template-columns: 1fr;
  }

  .storefront-gallery {
    grid-template-columns: 1fr;
  }

  .storefront-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .storefront-cart-table,
  .storefront-cart-table tbody,
  .storefront-cart-table tr,
  .storefront-cart-table td,
  .storefront-cart-table th {
    display: block;
    width: 100%;
  }

  .storefront-cart-table thead {
    display: none;
  }

  .storefront-cart-table tr {
    border-bottom: 1px solid var(--store-border);
    padding: 12px 0;
  }

  .storefront-cart-table td {
    border: 0;
    padding: 8px 0;
  }
}

@media (min-width: 721px) and (max-width: 1199px) {
  .storefront-header-navigation {
    position: relative;
  }

  .storefront-header-navigation .storefront-nav__links {
    top: 100%;
    right: 0;
    left: 0;
    width: auto;
  }
}

@media (max-width: 720px) {
  .storefront-header .storefront-header__main {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .storefront-header .storefront-brand {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }

  .storefront-header .storefront-header-actions {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 4px;
    margin-top: 0;
  }

  .storefront-header .storefront-icon-link {
    flex: 0 0 38px;
  }

  .storefront-header .storefront-search {
    order: 3;
    flex: 1 1 100%;
    margin-top: 4px;
  }

  .storefront-header .storefront-header__main {
    height: auto;
    min-height: 0;
  }

  .storefront-account-header h2,
  .storefront-account-details strong {
    overflow-wrap: anywhere;
  }
}

.storefront-page button,
.storefront-page input[type="submit"],
.storefront-page input[type="button"],
.storefront-page .btn,
.storefront-page .button,
.storefront-page .category-btn,
.storefront-page .banner-btn,
.storefront-page button:hover,
.storefront-page button:focus,
.storefront-page button:active,
.storefront-page input[type="submit"]:hover,
.storefront-page input[type="submit"]:focus,
.storefront-page input[type="submit"]:active,
.storefront-page input[type="button"]:hover,
.storefront-page input[type="button"]:focus,
.storefront-page input[type="button"]:active,
.storefront-page .btn:hover,
.storefront-page .btn:focus,
.storefront-page .btn:active,
.storefront-page .btn:visited,
.storefront-page .button:hover,
.storefront-page .button:focus,
.storefront-page .button:active,
.storefront-page .button:visited,
.storefront-page .category-btn:hover,
.storefront-page .category-btn:focus,
.storefront-page .category-btn:active,
.storefront-page .category-btn:visited,
.storefront-page .banner-btn:hover,
.storefront-page .banner-btn:focus,
.storefront-page .banner-btn:active,
.storefront-page .banner-btn:visited {
  color: #fff;
}

.storefront-page main .product-grid .showcase {
  display: flex;
  flex-direction: column;
}

.storefront-page main .product-grid .showcase-banner {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.storefront-page main .product-grid .product-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.storefront-page main .product-grid .showcase-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.storefront-page main .product-grid .showcase-title {
  display: -webkit-box;
  height: 2.8em;
  overflow: hidden;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.storefront-page main .product-grid .showcase-category {
  display: block;
  height: 1.4em;
  overflow: hidden;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-page main .product-grid .price-box {
  min-width: 0;
  height: 1.5em;
  overflow: hidden;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-page .storefront-cart-layout--empty .storefront-empty-state .btn-primary,
.storefront-page .storefront-cart-layout--empty .storefront-empty-state .btn-primary:link,
.storefront-page .storefront-cart-layout--empty .storefront-empty-state .btn-primary:visited {
  color: #fff;
}

.storefront-page .storefront-cart-layout:not(.storefront-cart-layout--empty) .storefront-cart-actions .btn-ghost,
.storefront-page .storefront-cart-layout:not(.storefront-cart-layout--empty) .storefront-cart-actions .btn-ghost:link,
.storefront-page .storefront-cart-layout:not(.storefront-cart-layout--empty) .storefront-cart-actions .btn-ghost:visited {
  color: #000;
}

.storefront-page .product-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.storefront-page .product-card__wishlist {
  min-width: 0;
}

.storefront-page .product-card__actions .product-card-action,
.storefront-page .product-card__wishlist .product-card-action,
.storefront-page .storefront-product-card__actions .product-card-action,
.storefront-page .storefront-wishlist-actions .product-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.storefront-page .product-card__actions .product-card-action--primary,
.storefront-page .storefront-product-card__actions .product-card-action--primary,
.storefront-page .storefront-wishlist-actions .product-card-action--primary {
  border-color: #1d4ed8;
  background: #2563eb;
  color: #fff;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.2);
}

.storefront-page .product-card__wishlist .product-card-action--wishlist {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1e40af;
}

.storefront-page .product-card__actions .product-card-action--primary:hover,
.storefront-page .storefront-product-card__actions .product-card-action--primary:hover,
.storefront-page .storefront-wishlist-actions .product-card-action--primary:hover {
  border-color: #1e40af;
  background: #1d4ed8;
  color: #fff;
  box-shadow: 0 5px 12px rgba(37, 99, 235, 0.28);
  transform: translateY(-1px);
}

.storefront-page .product-card__wishlist .product-card-action--wishlist:hover {
  border-color: #60a5fa;
  background: #dbeafe;
  color: #1e3a8a;
  transform: translateY(-1px);
}

.storefront-page .product-card__actions .product-card-action:focus-visible,
.storefront-page .storefront-product-card__actions .product-card-action:focus-visible,
.storefront-page .storefront-wishlist-actions .product-card-action:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

html[data-theme="dark"] .storefront-page .product-card__wishlist .product-card-action--wishlist {
  border-color: #64748b;
  background: #263449;
  color: #dbeafe;
}

html[data-theme="dark"] .storefront-page .product-card__wishlist .product-card-action--wishlist:hover {
  border-color: #93c5fd;
  background: #344760;
  color: #fff;
}



.storefront-page .storefront-cart-layout .storefront-link-button,
.storefront-page .storefront-cart-layout .storefront-link-button:link,
.storefront-page .storefront-cart-layout .storefront-link-button:visited {
  color: var(--store-error);
}

.checkout-page .shop {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px 56px;
}

.checkout-page .shop > h1 {
  margin: 0 0 24px;
  color: var(--store-text);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.checkout-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.checkout-card,
.checkout-summary {
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: 20px;
  box-shadow: var(--store-shadow);
}

.checkout-card {
  padding: clamp(20px, 3vw, 30px);
}

.checkout-card__header,
.checkout-summary__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.checkout-card__header h2,
.checkout-summary h2 {
  margin: 0;
  color: var(--store-text);
  font-size: 1.25rem;
}

.checkout-step {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  background: var(--store-primary);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.checkout-eyebrow {
  margin: 0 0 4px;
  color: var(--store-secondary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-customer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.checkout-customer div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: #f8fafc;
}

.checkout-customer span,
.checkout-customer strong {
  display: block;
}

.checkout-customer span {
  margin-bottom: 5px;
  color: var(--store-muted);
  font-size: 0.76rem;
}

.checkout-customer strong {
  overflow-wrap: anywhere;
  color: var(--store-text);
  font-size: 0.9rem;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--store-text);
  font-weight: 600;
}

.checkout-field em {
  color: var(--store-muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  padding: 0.82rem 0.95rem;
  background: #fff;
  color: var(--store-text);
  font: inherit;
}

.checkout-field textarea {
  min-height: 110px;
  resize: vertical;
}

.checkout-help {
  margin: 12px 0 0;
  color: var(--store-muted);
  font-size: 0.84rem;
}

.checkout-help a {
  color: var(--store-secondary);
  font-weight: 700;
}

.checkout-payment {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-surface-alt);
  cursor: pointer;
}

.checkout-payment-options {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.checkout-payment-summary {
  display: grid;
  gap: 5px;
  margin-bottom: 22px;
  padding: 15px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-surface-alt);
}

#mobile-banking-fields[hidden] {
  display: none;
}

#mobile-banking-fields {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.checkout-payment-summary strong {
  color: var(--store-text);
}

.checkout-payment-summary span {
  color: var(--store-muted);
  font-size: 0.86rem;
}

.checkout-payment input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--store-secondary);
}

.checkout-payment__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--store-success);
  color: #fff;
  font-weight: 700;
}

.checkout-payment strong,
.checkout-payment small {
  display: block;
}

.checkout-payment strong {
  color: var(--store-text);
}

.checkout-payment small {
  margin-top: 3px;
  color: var(--store-muted);
}

.checkout-summary {
  position: sticky;
  top: 20px;
  padding: clamp(20px, 3vw, 28px);
}

.checkout-summary__header {
  justify-content: space-between;
  margin-bottom: 18px;
}

.checkout-summary__items {
  display: grid;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--store-border);
  border-bottom: 1px solid var(--store-border);
}

.checkout-summary__item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.checkout-summary__thumb {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: #f8fafc;
}

.checkout-summary__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkout-summary__product {
  min-width: 0;
}

.checkout-summary__product strong,
.checkout-summary__product span {
  display: block;
}

.checkout-summary__product strong {
  overflow: hidden;
  color: var(--store-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-summary__product span,
.checkout-summary__item > b {
  color: var(--store-muted);
  font-size: 0.82rem;
}

.checkout-summary__item > b {
  color: var(--store-text);
  white-space: nowrap;
}

.checkout-coupon {
  margin: 18px 0;
}

.checkout-totals {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.checkout-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--store-muted);
}

.checkout-totals b {
  color: var(--store-text);
}

.checkout-total {
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--store-border);
}

.checkout-total span {
  color: var(--store-text);
  font-weight: 700;
}

.checkout-total strong {
  color: var(--store-primary);
  font-size: 1.45rem;
}

.checkout-mobile-banking {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #bfeafa;
  border-radius: 12px;
  background: #f1fbff;
}

.checkout-mobile-banking[hidden] {
  display: none;
}

.checkout-mobile-banking__message,
.checkout-mobile-banking__missing {
  margin: 0;
  color: var(--store-text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.checkout-mobile-banking__number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid var(--store-border);
  border-radius: 9px;
  background: #fff;
}

.checkout-mobile-banking__label {
  flex: 1 0 100%;
  color: var(--store-muted);
  font-size: 0.78rem;
}

.checkout-mobile-banking__number strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--store-primary);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.checkout-mobile-banking__copy {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 0;
  border-radius: 8px;
  background: var(--store-primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.checkout-mobile-banking__copy:hover {
  filter: brightness(0.94);
}

.checkout-mobile-banking__status {
  min-height: 1.25em;
  margin: 6px 0 0;
  color: var(--store-success);
  font-size: 0.82rem;
}

.checkout-place-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 24px;
  padding: 0.95rem 1.2rem;
  border: 0;
  border-radius: 12px;
  background: var(--store-primary);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.checkout-place-order:hover {
  transform: translateY(-1px);
}

.checkout-place-order:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
}

.checkout-modal[hidden] {
  display: none;
}

.checkout-modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 20px;
  background: rgba(8, 15, 28, 0.68);
}

.checkout-modal__dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid var(--store-border);
  border-radius: 20px;
  background: var(--store-surface);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.checkout-modal__dialog h2 {
  margin: 0 32px 16px 0;
  color: var(--store-text);
  font-size: clamp(1.35rem, 4vw, 1.7rem);
}

.checkout-modal__instruction {
  margin: 0 0 22px;
  color: var(--store-text);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.checkout-modal__instruction strong {
  color: var(--store-primary);
}

.checkout-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--store-border);
  border-radius: 50%;
  background: var(--store-surface);
  color: var(--store-text);
  font-size: 1.45rem;
  cursor: pointer;
}

.checkout-modal__notice {
  margin: 12px 0 0;
  color: var(--store-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.checkout-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.checkout-modal__actions .checkout-place-order {
  width: auto;
  min-width: 150px;
  margin: 0;
}

.checkout-modal__cancel {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--store-border);
  border-radius: 12px;
  background: var(--store-surface);
  color: var(--store-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.checkout-secure {
  margin: 12px 0 0;
  color: var(--store-muted);
  font-size: 0.76rem;
  text-align: center;
}

@media (max-width: 900px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .checkout-page .shop {
    padding-right: 12px;
    padding-left: 12px;
  }

  .checkout-card,
  .checkout-summary {
    border-radius: 16px;
  }

  .checkout-customer {
    grid-template-columns: 1fr;
  }

  .checkout-summary__item {
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .checkout-summary__thumb {
    width: 52px;
    height: 52px;
  }

  .checkout-modal {
    padding: 12px;
  }

  .checkout-modal__dialog {
    max-height: calc(100vh - 24px);
    border-radius: 16px;
  }

  .checkout-modal__actions {
    flex-direction: column-reverse;
  }

  .checkout-modal__actions .checkout-place-order,
  .checkout-modal__cancel {
    width: 100%;
  }
}

.checkout-page .storefront-footer__section a,
.checkout-page .storefront-footer__section li {
  overflow-wrap: anywhere;
}

@media (max-width: 479px) {
  .storefront-page main .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.storefront-page main .product-container > .container {
  display: block;
  width: min(1330px, calc(100% - 32px));
}

.storefront-page main .product-container .product-main {
  width: 100%;
  min-width: 0;
}

.storefront-page main .top-selection {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
  margin: 0 0 28px;
}

.storefront-page main .top-selection__viewport {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  overflow: clip;
  touch-action: pan-y;
}

.storefront-page main .top-selection__track {
  display: flex;
  align-items: stretch;
}

.storefront-page main .top-selection__slide {
  flex: 0 0 16.666667%;
  min-width: 0;
  padding: 0 4px;
}

.storefront-page main .top-selection__slide .showcase-content > p:not(.price) {
  margin: 2px 0;
  font-size: 0.68rem;
}

.storefront-page main .top-selection__slide .product-card__actions {
  gap: 4px;
}

.storefront-page main .top-selection__slide .product-card-action {
  min-height: 34px;
  padding: 5px 3px;
  font-size: 0.68rem;
}

.storefront-page main .top-selection .best-selling-card {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--store-border, #dedede);
  border-radius: 10px;
  background: var(--store-surface, #fff);
  color: var(--store-text, #222);
  box-shadow: 0 4px 14px rgb(0 0 0 / 6%);
}

.storefront-page main .top-selection .best-selling-card__image {
  display: block;
  height: 92px;
  flex: 0 0 92px;
  overflow: hidden;
  background: var(--store-muted-bg, #f4f4f4);
}

.storefront-page main .top-selection .best-selling-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}

.storefront-page main .top-selection .best-selling-card__image:hover img {
  transform: scale(1.04);
}

.storefront-page main .top-selection .best-selling-card__content {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  padding: 8px;
}

.storefront-page main .top-selection .best-selling-card__content h3 {
  display: -webkit-box;
  min-height: 2.3em;
  margin: 0;
  overflow: hidden;
  color: var(--store-text, #222);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.15;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.storefront-page main .top-selection .best-selling-card__content h3 a {
  color: inherit;
  text-decoration: none;
}

.storefront-page main .top-selection .best-selling-card__category {
  min-height: 1.1em;
  margin: 0;
  overflow: hidden;
  color: var(--store-muted, #666);
  font-size: .65rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-page main .top-selection .best-selling-card__prices {
  display: flex;
  min-width: 0;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 4px;
  white-space: nowrap;
}

.storefront-page main .top-selection .best-selling-card__prices del {
  color: #b42318;
  font-size: .64rem;
}

.storefront-page main .top-selection .best-selling-card__prices strong {
  color: var(--store-text, #222);
  font-size: .82rem;
}

.storefront-page main .top-selection .best-selling-card__sold {
  margin: auto 0 0;
  padding-top: 2px;
  color: var(--store-muted, #666);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.wishlist-page main .storefront-product-card__body {
  min-width: 0;
}

.wishlist-page main .storefront-product-card__body h3 {
  overflow-wrap: anywhere;
}

.wishlist-page main .storefront-wishlist-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.wishlist-page main .storefront-wishlist-actions > form:not(.storefront-inline-form--compact) {
  box-sizing: border-box;
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.wishlist-page main .storefront-wishlist-actions > form > .product-card-action {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 8px 6px;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.wishlist-page main .storefront-wishlist-actions .storefront-inline-form--compact > button {
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 6px;
  overflow-wrap: anywhere;
  font-size: 0.78rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  border: 1px solid #b42318;
  background: #fff1f0;
  color: #8f1d16;
}

.wishlist-page main .storefront-wishlist-actions .storefront-inline-form--compact > button:hover {
  border-color: #8f1d16;
  background: #ffe1df;
  color: #741811;
}

.wishlist-page main .storefront-wishlist-actions > form > button:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 2px;
}

.wishlist-page main .storefront-wishlist-actions .storefront-inline-form--compact > button:active {
  background: #ffd2cf;
}

html[data-theme="dark"] .wishlist-page main .storefront-wishlist-actions .storefront-inline-form--compact > .product-card-action {
  border-color: #f28b82;
  background: #3a2023;
  color: #ffc9c4;
}

html[data-theme="dark"] .wishlist-page main .storefront-wishlist-actions .storefront-inline-form--compact > .product-card-action:hover {
  background: #4b282c;
  color: #ffe2df;
}

html[data-theme="dark"] .wishlist-page main .storefront-wishlist-actions .storefront-inline-form--compact > .product-card-action:active {
  background: #5b3035;
}

.storefront-page main .top-selection--static .top-selection__track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  row-gap: 8px;
}

.storefront-page main .top-selection--static .top-selection__slide {
  width: auto;
}

.storefront-page main .promotional-banner-container > .container {
  margin-bottom: 18px;
}

.storefront-page main .promotional-banner {
  display: flex;
  width: 100%;
  max-height: 120px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: var(--store-surface);
}

.storefront-page main .promotional-banner img {
  display: block;
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

.storefront-page main .product-container .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) and (max-width: 1023px) {
  .storefront-page main .top-selection__slide {
    flex-basis: 33.333333%;
  }

  .storefront-page main .top-selection--static .top-selection__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .storefront-page main .product-container .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .storefront-page main .top-selection__slide {
    flex-basis: 50%;
    padding: 0 4px;
  }

  .storefront-page main .top-selection--static .top-selection__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (min-width: 1024px) and (max-width: 1199px) {
  .storefront-page main .top-selection__slide {
    flex-basis: 16.666667%;
  }

  .storefront-page main .top-selection--static .top-selection__track {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .storefront-page main .product-container .product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
  }

  .storefront-page main .product-container .showcase-content {
    padding: 10px 11px 12px;
  }

  .storefront-page main .product-container .showcase-title {
    height: 2.7em;
    margin-bottom: 6px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .storefront-page main .product-container .showcase-category {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  .storefront-page main .product-container .price-box {
    height: 1.4em;
    margin-bottom: 6px;
    font-size: 0.82rem;
  }

  .storefront-page main .product-container .showcase-content > p {
    margin: 0 0 6px;
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .storefront-page main .product-container .product-card__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 6px;
  }

  .storefront-page main .product-container .product-card__actions .product-card-action {
    min-height: 38px;
    padding: 6px 4px;
    border-radius: 8px;
    font-size: 0.68rem;
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  .storefront-page main .top-selection {
    margin-bottom: 20px;
  }

  .storefront-page main .top-selection .best-selling-card__image {
    height: 82px;
    flex-basis: 82px;
  }

  .storefront-page main .top-selection .best-selling-card__content {
    gap: 4px;
    padding: 9px;
  }

  .storefront-page main .top-selection .best-selling-card__content h3 {
    font-size: .82rem;
  }

  .storefront-page main .top-selection__slide {
    flex-basis: 50%;
    padding: 0 5px;
  }

  .storefront-page main .top-selection--static .top-selection__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 12px;
  }

}

.storefront-listing-layout {
  display: grid;
  grid-template-columns: minmax(170px, 210px) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.storefront-listing-layout .storefront-listing-content {
  min-width: 0;
}

.storefront-filter-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--store-border);
  border-radius: 14px;
  background: var(--store-surface);
}

.storefront-filter-form {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.storefront-filter-group {
  display: grid;
  min-width: 0;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.storefront-filter-group > label,
.storefront-filter-group > h2 {
  margin: 0;
  color: var(--store-text);
  font-size: 0.92rem;
  font-weight: 700;
}

.storefront-filter-group select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: var(--store-surface);
  color: var(--store-text);
}

.storefront-price-filter__values,
.storefront-price-filter__bounds {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--store-text);
  font-size: 0.8rem;
  font-weight: 600;
}

.storefront-price-filter__values output {
  min-width: 0;
  overflow-wrap: anywhere;
}

.storefront-price-filter__sliders {
  position: relative;
  height: 28px;
  margin: 2px 0;
}

.storefront-price-filter__sliders::before {
  position: absolute;
  top: 12px;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: 999px;
  background: var(--store-border);
  content: "";
}

.storefront-price-filter__sliders input[type="range"] {
  position: absolute;
  inset: 0;
  z-index: 1;
  height: 28px;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.storefront-price-filter__sliders input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

.storefront-price-filter__sliders input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
}

.storefront-price-filter__sliders input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -7px;
  appearance: none;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--store-secondary);
  box-shadow: 0 0 0 1px var(--store-secondary);
  pointer-events: auto;
}

.storefront-price-filter__sliders input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--store-secondary);
  box-shadow: 0 0 0 1px var(--store-secondary);
  pointer-events: auto;
}

.storefront-price-filter__sliders input[type="range"]:focus-visible {
  outline: none;
}

.storefront-price-filter__sliders input[type="range"]:focus-visible::-webkit-slider-thumb {
  outline: 3px solid var(--store-text);
  outline-offset: 3px;
}

.storefront-price-filter__sliders input[type="range"]:focus-visible::-moz-range-thumb {
  outline: 3px solid var(--store-text);
  outline-offset: 3px;
}

.storefront-price-filter__sliders input[type="range"]:disabled {
  opacity: .5;
}

.storefront-price-filter__sliders input[type="range"]:disabled::-webkit-slider-thumb {
  pointer-events: none;
}

.storefront-price-filter__sliders input[type="range"]:disabled::-moz-range-thumb {
  pointer-events: none;
}

.storefront-price-filter__sliders input[type="range"][id="maximum-price"] {
  z-index: 2;
}

.storefront-price-filter__sliders input[type="range"] {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.storefront-price-filter__bounds {
  color: var(--store-muted);
  font-size: 0.72rem;
  font-weight: 400;
}

.storefront-filter-actions {
  display: grid;
  gap: 12px;
}

.storefront-filter-actions .btn {
  width: 100%;
  min-height: 42px;
}

.storefront-filter-actions > a {
  color: var(--store-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.storefront-listing-toolbar {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--store-muted);
  font-size: 0.86rem;
}

.storefront-listing-toolbar > span {
  min-width: 0;
}

.storefront-listing-toolbar .storefront-sort-form {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0;
}

.storefront-listing-toolbar .storefront-sort-form label {
  flex: 0 0 auto;
}

.storefront-listing-toolbar .storefront-sort-form select {
  box-sizing: border-box;
  width: auto;
  min-width: 170px;
  max-width: 100%;
}

.storefront-sort-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--store-border);
  border-radius: 14px;
  background: var(--store-surface);
}

.storefront-sort-panel .storefront-sort-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 9px;
}

.storefront-sort-panel .storefront-sort-form label {
  color: var(--store-text);
  font-weight: 700;
}

.storefront-sort-panel .storefront-sort-form select {
  width: 100%;
  min-width: 0;
}

.storefront-sort-panel .storefront-sort-form select,
.storefront-pagination a {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: var(--store-surface);
  color: var(--store-text);
}

.storefront-search-result-count {
  margin: -10px 0 18px;
  color: var(--store-muted);
}

.storefront-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.storefront-pagination a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
}

.product-collection-page .product-collection-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 22px;
  padding: 14px 18px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 16px;
  background: linear-gradient(112deg, var(--flash-sales-banner-start), var(--flash-sales-banner-pink) 26%, var(--flash-sales-banner-orange) 52%, var(--flash-sales-banner-teal) 76%, var(--flash-sales-banner-end));
  background-size: 240% 240%;
  animation: homepage-section-heading-gradient 28s ease-in-out infinite;
  box-shadow: 0 8px 22px rgb(91 54 210 / 18%), inset 0 1px rgb(255 255 255 / 14%);
  color: #fff;
}

.product-collection-page .product-collection-heading h1 {
  margin: 2px 0 0;
  color: inherit;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.product-collection-page .product-collection-heading > span {
  flex: 0 0 auto;
  font-size: .86rem;
  font-weight: 600;
}

.product-collection-page .product-collection-heading .flash-sales-section__eyebrow {
  color: rgb(255 255 255 / 86%);
}

.product-collection-page .product-collection-filter-toggle,
.product-collection-page .product-collection-filters__close {
  display: none;
}

.product-collection-page .product-collection-layout {
  position: relative;
}

.product-collection-page .product-collection-filters__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-collection-page .product-collection-filters__heading h2 {
  margin: 0;
  color: var(--store-text);
  font-size: 1.05rem;
}

.product-collection-page .storefront-filter-form select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--store-border);
  border-radius: 9px;
  background: var(--store-surface);
  color: var(--store-text);
}

.product-collection-page .product-collection-filter-backdrop {
  display: none;
}

.product-collection-page .product-collection-active-filter {
  display: inline-flex;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--store-surface-alt);
  color: var(--store-text);
  font-size: .72rem;
}

.product-collection-page .product-collection-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -6px 0 16px;
}

.product-collection-page .product-collection-active-filters > span {
  padding: 5px 9px;
  border: 1px solid var(--store-border);
  border-radius: 999px;
  background: var(--store-surface);
  color: var(--store-text);
  font-size: .76rem;
}

.product-collection-page .product-collection-active-filters > a {
  color: var(--store-secondary);
  font-size: .8rem;
  font-weight: 700;
}

.product-collection-page .product-collection-card {
  min-width: 0;
}

.product-collection-page .product-collection-card .storefront-product-card__body {
  min-width: 0;
}

.product-collection-page .product-collection-card .storefront-product-card__body h2 {
  margin: 0;
  font-size: .98rem;
}

.product-collection-page .product-collection-card .storefront-product-card__body h2 a {
  color: var(--store-text);
}

.product-collection-page .product-collection-card__description {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--store-muted);
  font-size: .78rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-collection-page .product-collection-card__stock {
  margin: 0;
  color: var(--store-muted);
  font-size: .76rem;
}

.product-collection-page .product-collection-card .storefront-product-card__actions form {
  display: flex;
  min-width: 0;
  margin: 0;
}

.product-collection-page .product-collection-card .storefront-product-card__actions .btn {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 7px;
  font-size: .76rem;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .product-collection-page .product-collection-heading {
    animation: none;
    background-position: 50% 50%;
  }
}

@media (max-width: 767px) {
  .product-collection-page .product-collection-heading {
    align-items: flex-start;
    padding: 12px 14px;
  }

  .product-collection-page .product-collection-heading > span {
    padding-top: 6px;
  }

  .product-collection-page .product-collection-filter-toggle {
    display: inline-flex;
    min-height: 44px;
    margin-bottom: 14px;
  }

  .product-collection-page .product-collection-filters[hidden] {
    display: none;
  }

  .product-collection-page .product-collection-filters:not([hidden]) {
    position: fixed;
    z-index: 121;
    inset: 0 auto 0 0;
    display: block;
    width: min(88vw, 360px);
    max-height: 100dvh;
    overflow-y: auto;
    border-radius: 0 16px 16px 0;
    background: var(--store-surface);
    box-shadow: 0 14px 45px rgb(0 0 0 / 28%);
  }

  .product-collection-page .product-collection-filters__close {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--store-border);
    border-radius: 50%;
    background: var(--store-surface);
    color: var(--store-text);
    font-size: 1.4rem;
  }

  .product-collection-page .product-collection-filter-backdrop:not([hidden]) {
    position: fixed;
    z-index: 120;
    inset: 0;
    display: block;
    background: rgb(15 23 42 / 55%);
  }

  .product-collection-page .storefront-listing-layout {
    gap: 0;
  }

  .product-collection-page .storefront-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.storefront-product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.storefront-product-grid .storefront-product-card__image img {
  height: 165px;
}

.storefront-product-grid .storefront-product-card__body {
  padding: 12px 11px 13px;
}

.storefront-product-grid .storefront-product-card__actions {
  flex-wrap: wrap;
  gap: 6px;
}

.storefront-product-grid .storefront-product-card__actions > *,
.storefront-product-grid .storefront-product-card__actions .btn {
  min-width: 0;
  flex: 1 1 70px;
}

.storefront-product-grid .storefront-product-card__actions .btn {
  padding-inline: 7px;
  font-size: 0.78rem;
}

.storefront-page main .product-container .product-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.storefront-page main .product-container .product-grid .showcase-content {
  min-width: 0;
  padding: 10px 9px 11px;
}

.storefront-page main .product-container .product-grid .showcase-title {
  min-height: 2.7em;
  font-size: 0.82rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.storefront-page main .product-container .product-grid .showcase-category,
.storefront-page main .product-container .product-grid .showcase-content > p {
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.storefront-page main .product-container .product-grid .price-box {
  font-size: 0.82rem;
}

.storefront-page main .product-container .product-grid .product-card__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.storefront-page main .product-container .product-grid .product-card__actions form,
.storefront-page main .product-container .product-grid .product-card__actions .product-card-action {
  min-width: 0;
  width: 100%;
}

.storefront-page main .product-container .product-grid .product-card__actions .product-card-action {
  min-height: 36px;
  padding: 5px 3px;
  font-size: 0.68rem;
  line-height: 1.2;
  white-space: normal;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .storefront-listing-layout,
  .storefront-listing-layout:not(.storefront-listing-layout--search) {
    grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
    gap: 18px;
  }

  .storefront-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .storefront-page main .product-container .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .storefront-listing-layout,
  .storefront-listing-layout:not(.storefront-listing-layout--search) {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .storefront-filter-panel {
    padding: 12px;
  }

  .storefront-listing-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .storefront-listing-toolbar .storefront-sort-form {
    width: 100%;
    justify-content: space-between;
  }

  .storefront-listing-toolbar .storefront-sort-form select {
    min-width: 0;
    flex: 1 1 auto;
  }

  .storefront-product-grid,
  .storefront-page main .product-container .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .storefront-product-grid .storefront-product-card__image img {
    height: 145px;
  }

  .wishlist-page main .storefront-wishlist-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .storefront-page main .promotional-banner-container > .container {
    margin-bottom: 14px;
  }

  .storefront-page main .promotional-banner,
  .storefront-page main .promotional-banner img {
    max-height: 84px;
  }
}

.addresses-page .address-card__delete,
.addresses-page .address-card__delete:hover,
.addresses-page .address-card__delete:focus,
.addresses-page .address-card__delete:active {
  background: transparent;
  color: var(--store-error);
}

.addresses-page .storefront-footer .storefront-footer__section {
  min-width: 0;
}

.addresses-page .storefront-footer .storefront-footer__section ul,
.addresses-page .storefront-footer .storefront-footer__section li,
.addresses-page .storefront-footer .storefront-footer__section a {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.addresses-page .storefront-footer .storefront-footer__section a {
  display: block;
}

@media (max-width: 980px) {
  .addresses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

  .storefront-footer {
    box-sizing: border-box;
    width: 100%;
    overflow-x: clip;
  }

  .storefront-footer__grid,
  .storefront-footer__grid *,
  .storefront-footer__bottom,
  .storefront-footer__bottom * {
    box-sizing: border-box;
  }

  .storefront-footer__section {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .storefront-footer__section h3 {
    line-height: 1.4;
  }

  .storefront-footer__section ul,
  .storefront-footer__section li,
  .storefront-footer__section a {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .storefront-footer__social-heading {
    margin-top: 22px !important;
    margin-bottom: 12px !important;
  }

  .storefront-footer__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .storefront-footer__social-link {
    display: inline-grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    background: #253149;
    color: #fff !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  }

  .storefront-footer__social-link--facebook { background: #1877f2; }
  .storefront-footer__social-link--whatsapp { background: #25d366; }
  .storefront-footer__social-link--instagram { background: #fff; }

  .storefront-footer__social-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 5px 14px rgba(0, 0, 0, .28);
  }

  .storefront-footer__social-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }

  .storefront-footer__social-link svg {
    width: 23px;
    height: 23px;
    fill: #fff;
  }

  .storefront-footer__social-link--instagram svg {
    fill: none;
  }

  .storefront-footer__bottom .container {
    min-width: 0;
    gap: 12px 24px;
    flex-wrap: wrap;
  }

  @media (max-width: 980px) {
    .storefront-footer__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 30px 24px;
    }
  }

  @media (max-width: 720px) {
    .storefront-footer__grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 26px;
      padding: 36px 0 28px;
    }

    .storefront-footer__section h3 {
      margin-bottom: 12px;
    }

    .storefront-footer__section ul {
      gap: 8px;
    }

    .storefront-footer__bottom {
      padding: 18px 0 22px;
    }

    .storefront-footer__bottom .container {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      justify-content: start;
      gap: 10px;
    }
  }

@media (max-width: 720px) {
  .storefront-product-description__content {
    min-height: 140px;
    padding: 22px 20px;
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .addresses-toolbar,
  .address-form-card__header,
  .address-form__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .addresses-add-button {
    width: 100%;
  }

  .addresses-grid,
  .address-form__fields {
    grid-template-columns: 1fr;
  }

  .address-form__wide {
    grid-column: auto;
  }

  .address-form-card {
    padding: 20px;
  }

  .address-form__footer .btn {
    width: 100%;
  }

  .address-form__buttons {
    width: 100%;
  }

  .address-form__buttons > * {
    flex: 1;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .storefront-header .storefront-header__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .storefront-header .storefront-brand {
    width: auto;
    grid-column: 1;
    grid-row: 1;
    flex: none;
    min-width: 0;
  }

  .storefront-header .storefront-header-actions {
    width: auto;
    display: flex;
    grid-column: 2;
    grid-row: 1;
    flex: none;
    margin-top: 0;
  }

  .storefront-header .storefront-search {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

.storefront-page main .product-grid > .showcase,
.storefront-page main .storefront-product-grid > .showcase,
.storefront-page main .storefront-product-grid > .storefront-product-card {
  display: flex;
  box-sizing: border-box;
  height: 430px;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}

.storefront-page main .product-grid .showcase-banner,
.storefront-page main .storefront-product-grid .showcase-banner,
.storefront-page main .storefront-product-card__image {
  position: relative;
  display: flex;
  box-sizing: border-box;
  height: 180px;
  min-height: 180px;
  flex: 0 0 180px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.storefront-page main .product-grid .showcase-banner > a,
.storefront-page main .storefront-product-grid .showcase-banner > a,
.storefront-page main .storefront-product-card__image {
  width: 100%;
}

.storefront-page main .product-grid .showcase-banner > a {
  height: 100%;
}

.storefront-page main .product-grid .product-img,
.storefront-page main .storefront-product-grid .product-img,
.storefront-page main .storefront-product-card__image img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.storefront-page main .storefront-product-card__image img {
  position: static;
  inset: auto;
  flex: 0 0 100%;
}

.storefront-page main .storefront-product-card__image .storefront-product-card__hover-image {
  position: absolute;
  inset: 0;
  flex: none;
}

.storefront-page main .product-grid .showcase-content,
.storefront-page main .storefront-product-grid .showcase-content,
.storefront-page main .storefront-product-card__body {
  display: flex;
  box-sizing: border-box;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 12px;
}

.storefront-page main .product-grid .showcase-content > a,
.storefront-page main .storefront-product-grid .showcase-content > a {
  display: block;
  flex: 0 0 auto;
}

.storefront-page main .showcase-title,
.storefront-page main .storefront-product-card__body h3 {
  display: -webkit-box;
  box-sizing: border-box;
  height: 2.8em;
  min-height: 2.8em;
  max-height: 2.8em;
  margin: 0 0 6px;
  overflow: hidden;
  line-height: 1.4;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.storefront-page main .showcase-title--placeholder {
  visibility: hidden;
}

.storefront-page main .product-grid .showcase-category,
.storefront-page main .storefront-product-grid .showcase-category,
.storefront-page main .storefront-product-card__eyebrow {
  display: block;
  box-sizing: border-box;
  height: 1.5em;
  min-height: 1.5em;
  margin: 0 0 6px;
  overflow: hidden;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-page main .showcase-category--placeholder {
  visibility: hidden;
}

.storefront-page main .product-grid .price-box,
.storefront-page main .storefront-product-grid .price-box,
.storefront-page main .storefront-product-card__body .storefront-price-row {
  display: flex;
  box-sizing: border-box;
  min-width: 0;
  height: 2.8em;
  min-height: 2.8em;
  align-items: center;
  margin: 0 0 6px;
  overflow: hidden;
}

.storefront-page main .product-grid .price-box > *,
.storefront-page main .storefront-product-grid .price-box > *,
.storefront-page main .storefront-product-card__body .storefront-price-row > * {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-page main .product-grid .showcase-content > p:not(.price),
.storefront-page main .storefront-product-grid .showcase-content > p:not(.price),
.storefront-page main .storefront-product-card__body > p:not(.storefront-product-card__eyebrow) {
  box-sizing: border-box;
  height: 1.5em;
  min-height: 1.5em;
  margin: 0 0 6px;
  overflow: hidden;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-page main .product-grid .product-card__actions,
.storefront-page main .storefront-product-grid .product-card__actions,
.storefront-page main .top-selection__slide .product-card__actions,
.storefront-page main .storefront-product-card__actions,
.storefront-page main .storefront-product-card__body > .btn,
.storefront-page main .storefront-product-card__body > .storefront-wishlist-actions {
  margin-top: auto;
}

.storefront-page main .product-grid .product-card__actions,
.storefront-page main .storefront-product-grid .product-card__actions,
.storefront-page main .storefront-product-card__actions,
.storefront-page main .top-selection__slide .product-card__actions,
.storefront-page main .storefront-wishlist-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.storefront-page main .product-grid .product-card__actions form,
.storefront-page main .storefront-product-grid .product-card__actions form,
.storefront-page main .storefront-product-card__actions form,
.storefront-page main .storefront-wishlist-actions form {
  display: flex;
  min-width: 0;
  margin: 0;
}

.storefront-page main .product-grid .product-card__actions .product-card-action,
.storefront-page main .storefront-product-grid .product-card__actions .product-card-action,
.storefront-page main .storefront-product-card__actions .product-card-action,
.storefront-page main .storefront-wishlist-actions .product-card-action,
.storefront-page main .storefront-product-card__body > .btn {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 5px;
  overflow-wrap: anywhere;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .storefront-page main .product-grid > .showcase,
  .storefront-page main .storefront-product-grid > .showcase,
  .storefront-page main .storefront-product-grid > .storefront-product-card {
    height: 410px;
  }

  .storefront-page main .product-grid .showcase-banner,
  .storefront-page main .storefront-product-grid .showcase-banner,
  .storefront-page main .storefront-product-card__image {
    height: 165px;
    min-height: 165px;
    flex-basis: 165px;
  }
}

@media (max-width: 767px) {
  .storefront-page main .product-grid > .showcase,
  .storefront-page main .storefront-product-grid > .showcase,
  .storefront-page main .storefront-product-grid > .storefront-product-card {
    height: 390px;
  }

  .storefront-page main .product-grid .showcase-banner,
  .storefront-page main .storefront-product-grid .showcase-banner,
  .storefront-page main .storefront-product-card__image {
    height: 145px;
    min-height: 145px;
    flex-basis: 145px;
  }
}

@media (max-width: 767px) {
  .wishlist-page main .storefront-wishlist-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
.flash-sales-section {
  padding: 30px 0;
  background: var(--store-surface, #fff);
  color: var(--store-text, #222);
}
.flash-sales-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.flash-sales-section__header--with-all {
  box-sizing: border-box;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 16px;
  background: linear-gradient(112deg, var(--flash-sales-banner-start), var(--flash-sales-banner-pink) 26%, var(--flash-sales-banner-orange) 52%, var(--flash-sales-banner-teal) 76%, var(--flash-sales-banner-end));
  color: #fff;
  box-shadow: 0 8px 22px rgb(91 54 210 / 18%), inset 0 1px rgb(255 255 255 / 14%);
}
.homepage-product-section__header {
  background-size: 240% 240%;
  animation: homepage-section-heading-gradient 28s ease-in-out infinite;
}
.flash-sales-section__header--with-all > div {
  min-width: 0;
}
.flash-sales-section__header h2 {
  margin: 2px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.flash-sales-section__header--with-all h2,
.homepage-product-section__header h2 {
  color: inherit;
}
.storefront-page main .flash-sales-section .flash-sales-show-all,
.storefront-page main .flash-sales-section .flash-sales-show-all:visited,
.storefront-page main .homepage-product-section .flash-sales-show-all,
.storefront-page main .homepage-product-section .flash-sales-show-all:visited {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 44px;
  background: var(--flash-sales-cta-bg);
  color: var(--flash-sales-cta-text);
  box-shadow: inset 0 0 0 1px var(--flash-sales-cta-border);
}
.storefront-page main .flash-sales-section .flash-sales-show-all:hover,
.storefront-page main .flash-sales-section .flash-sales-show-all:focus,
.storefront-page main .flash-sales-section .flash-sales-show-all:active,
.storefront-page main .homepage-product-section .flash-sales-show-all:hover,
.storefront-page main .homepage-product-section .flash-sales-show-all:focus,
.storefront-page main .homepage-product-section .flash-sales-show-all:active {
  background: var(--flash-sales-cta-hover-bg);
  color: var(--flash-sales-cta-hover-text);
  box-shadow: inset 0 0 0 1px var(--flash-sales-cta-hover-border);
}
.storefront-page main .flash-sales-section .flash-sales-show-all:focus-visible,
.storefront-page main .homepage-product-section .flash-sales-show-all:focus-visible {
  outline: 3px solid var(--flash-sales-cta-hover-bg);
  outline-offset: 3px;
}
.flash-sales-section__header p,
.flash-sales-section__eyebrow {
  margin: 0;
  color: var(--store-muted, #666);
}
.flash-sales-section__header--with-all .flash-sales-section__eyebrow {
  color: rgb(255 255 255 / 86%);
}
@keyframes homepage-section-heading-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .homepage-product-section__header {
    animation: none;
    background-position: 50% 50%;
  }
}
.flash-sales-section__eyebrow {
  color: #b42318;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.flash-sales-store-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.flash-sale-store-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--store-border, #dedede);
  border-radius: 12px;
  background: var(--store-surface, #fff);
  box-shadow: 0 8px 24px rgb(0 0 0 / 7%);
}
.homepage-product-section .product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.product-collection-page main .storefront-product-grid.homepage-product-section {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.storefront-page main .homepage-product-section .product-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.storefront-page main .homepage-flash-style-card {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--store-border, #dedede);
  border-radius: 12px;
  background: var(--store-surface, #fff);
  color: var(--store-text, #222);
  box-shadow: 0 8px 24px rgb(0 0 0 / 7%);
  transition: box-shadow .2s ease, transform .2s ease;
}
.storefront-page main .homepage-product-section .homepage-flash-style-card {
  height: auto;
  min-height: 369px;
}
.storefront-page main .homepage-flash-style-card:hover {
  box-shadow: 0 12px 28px rgb(0 0 0 / 12%);
  transform: translateY(-2px);
}
.storefront-page main .homepage-flash-style-card .showcase-banner {
  position: relative;
  display: block;
  height: 130px;
  min-height: 130px;
  flex: 0 0 130px;
  aspect-ratio: auto;
  overflow: hidden;
  background: var(--store-muted-bg, #f4f4f4);
}
.storefront-page main .homepage-flash-style-card .showcase-banner > a {
  display: block;
  width: 100%;
  height: 100%;
}
.storefront-page main .homepage-flash-style-card .showcase-banner .product-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .2s ease, opacity .2s ease;
}
.storefront-page main .homepage-flash-style-card:hover .showcase-banner .product-img {
  transform: scale(1.04);
}
.storefront-page main .homepage-flash-style-card .homepage-flash-style-card__discount {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  border-radius: 999px;
  padding: 4px 7px;
  background: #b42318;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
}
.storefront-page main .homepage-flash-style-card .showcase-content {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  padding: 11px;
  color: var(--store-text, #222);
}
.storefront-page main .homepage-flash-style-card .showcase-content > a {
  display: block;
  min-width: 0;
}
.storefront-page main .homepage-flash-style-card .showcase-title {
  display: -webkit-box;
  height: 2.5em;
  min-height: 2.5em;
  margin: 0;
  overflow: hidden;
  color: var(--store-text, #222);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.storefront-page main .homepage-flash-style-card .showcase-category {
  position: absolute;
  z-index: 4;
  top: -22px;
  left: 0;
  display: block;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100% - 12px);
  height: auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgb(15 23 42 / 78%);
  color: #fff;
  font-size: .62rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.storefront-page main .homepage-flash-style-card .showcase-rating {
  min-height: 1.2em;
  margin: 0;
  font-size: .78rem;
}
.storefront-page main .homepage-flash-style-card .price-box {
  display: flex;
  min-width: 0;
  min-height: 1.6em;
  align-items: baseline;
  gap: 6px;
  margin: 0;
  overflow: hidden;
}
.storefront-page main .homepage-flash-style-card .price-box > * {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.storefront-page main .homepage-flash-style-card .price-box del {
  color: #b42318;
  font-size: .72rem;
}
.storefront-page main .homepage-flash-style-card .price-box .price {
  color: var(--store-text, #222);
  font-size: .98rem;
  font-weight: 700;
}
.storefront-page main .homepage-flash-style-card .flash-sale-card-timer {
  margin: 0;
}
.storefront-page main .homepage-flash-style-card .showcase-content > p:not(.price):not(.flash-sale-card-timer) {
  min-height: 1.2em;
  margin: 0;
  color: var(--store-muted, #666);
  font-size: .68rem;
  line-height: 1.2;
}
.storefront-page main .homepage-flash-style-card .product-card__actions {
  margin-top: auto;
}
.storefront-page main .homepage-product-section .homepage-flash-style-card .product-card__actions .product-card-action {
  min-height: 34px;
  font-size: .7rem;
}
.flash-sale-store-card__image {
  position: relative;
  display: block;
  height: 130px;
  aspect-ratio: auto;
  overflow: hidden;
  isolation: isolate;
  background: var(--store-muted-bg, #f4f4f4);
}
.flash-sale-store-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.flash-sale-store-card__discount {
  position: absolute;
  top: 8px;
  left: 8px;
  border-radius: 999px;
  padding: 4px 7px;
  background: #b42318;
  color: #fff;
  font-weight: 700;
  font-size: .7rem;
}
.flash-sale-store-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  padding: 11px;
  flex: 1;
}
.flash-sale-store-card__body h3 {
  margin: 0;
  min-height: 2.5em;
  font-size: .9rem;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.flash-sale-store-card__body h3 a {
  color: inherit;
  text-decoration: none;
}
.flash-sale-store-card__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: baseline;
  box-sizing: border-box;
  min-height: 1.6em;
  margin: 0;
}
.flash-sale-store-card__prices del,
.storefront-price--compare {
  color: var(--store-muted, #666);
}
.flash-sale-store-card__prices strong {
  color: #b42318;
  font-size: .98rem;
}
.flash-sale-store-card__prices del {
  font-size: .72rem;
}
.flash-sale-timer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  box-sizing: border-box;
  gap: 3px;
  color: var(--store-text, #222);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.flash-sale-countdown__label {
  color: var(--store-muted, #666);
  font-size: .72rem;
  font-weight: 600;
}
.flash-sale-countdown__units {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  gap: 3px;
}
.flash-sale-countdown__unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  min-width: 0;
  box-sizing: border-box;
  padding: 3px 1px;
  border: 1px solid var(--store-border, #dedede);
  border-radius: 6px;
  line-height: 1.1;
}
.flash-sale-countdown__unit strong {
  min-width: 0;
  font-size: .8rem;
}
.flash-sale-countdown__unit small {
  max-width: 100%;
  min-width: 0;
  color: var(--store-muted, #666);
  font-size: .5rem;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
}
.flash-sale-store-card__body > .btn {
  box-sizing: border-box;
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  margin-top: auto;
  font-size: .72rem;
  text-align: center;
}
.flash-sale-store-card__body > .btn:disabled {
  cursor: not-allowed;
  opacity: .65;
}
.flash-sale-stock {
  display: grid;
  min-width: 0;
  gap: 4px;
  margin-top: 2px;
}
.flash-sale-stock__label {
  color: var(--store-muted, #666);
  font-size: .68rem;
  font-weight: 600;
  line-height: 1.2;
}
.flash-sale-stock__track {
  display: block;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--store-border, #dedede);
}
.flash-sale-stock__fill {
  display: block;
  width: var(--flash-sale-stock-percent, 0%);
  height: 100%;
  border-radius: inherit;
  background: #16845b;
  transition: width .2s ease;
}
.flash-sale-stock.is-sold-out .flash-sale-stock__label {
  color: #b42318;
}
.flash-sale-stock.is-sold-out .flash-sale-stock__fill {
  background: #b42318;
}
.flash-sale-timer.is-ended {
  color: var(--store-muted, #666);
}
.flash-sales-section__header--with-all {
  flex-direction: row;
  align-items: center;
}
.flash-deals-page .flash-deals-banner {
  position: relative;
  display: grid;
  min-height: clamp(220px, 31vw, 360px);
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  margin: 10px 0 32px;
  border: 1px solid rgb(255 255 255 / 40%);
  border-radius: 24px;
  background: linear-gradient(120deg, #ff315d, #ff9a3c, #f4d03f, #32d5a4, #4388ff, #bd50ed, #ff315d);
  background-size: 320% 320%;
  animation: flash-deals-rgb 22s ease-in-out infinite;
  box-shadow: 0 20px 55px rgb(91 54 210 / 22%);
}
.flash-deals-page .flash-deals-banner::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 20%, rgb(255 255 255 / 36%), transparent 35%),
    radial-gradient(ellipse at 82% 82%, rgb(255 255 255 / 24%), transparent 38%);
  content: "";
}
.flash-deals-page .flash-deals-banner__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}
.flash-deals-page .flash-deals-banner__content {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 28px;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 18px rgb(17 24 39 / 55%);
}
.flash-deals-page .flash-deals-banner__content p,
.flash-deals-page .flash-deals-banner__content span {
  margin: 0;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.flash-deals-page .flash-deals-banner__content p {
  font-size: clamp(.72rem, 1.5vw, .95rem);
}
.flash-deals-page .flash-deals-banner__content h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5.8rem);
  line-height: 1;
}
.flash-deals-page .flash-deals-banner__content span {
  font-size: .78rem;
}
.flash-deals-page .flash-deals-listing {
  padding: 4px 0 48px;
}
.flash-deals-page .flash-deals-listing__heading {
  margin-bottom: 18px;
}
.flash-deals-page .flash-deals-listing__heading h2 {
  margin: 3px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.flash-deals-page .flash-deals-store-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 205px), 1fr));
  gap: 18px;
}
.flash-deals-page .flash-sale-store-card__image {
  height: auto;
  aspect-ratio: 4 / 3;
}
.flash-deals-page .flash-sale-store-card__body {
  padding: 15px;
}
.flash-deals-page .flash-sale-store-card__body h3 {
  font-size: 1rem;
}
.flash-deals-page .flash-sale-store-card__body > .btn {
  font-size: .82rem;
}
.flash-deals-page .flash-deals-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: clamp(28px, 7vw, 64px) 20px;
  border: 1px solid var(--store-border);
  border-radius: 16px;
  background: var(--store-surface);
  text-align: center;
}
.flash-deals-page .flash-deals-empty h2,
.flash-deals-page .flash-deals-empty p {
  margin: 0;
}
.flash-deals-page .flash-deals-empty p {
  color: var(--store-muted);
}
@keyframes flash-deals-rgb {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .flash-deals-page .flash-deals-banner {
    animation: none;
    background-position: 50% 50%;
  }
  .flash-deals-page .flash-sale-stock__fill {
    transition: none;
  }
}
@media (max-width: 520px) {
  .flash-deals-page .flash-deals-banner {
    min-height: 210px;
    margin-top: 4px;
    border-radius: 16px;
  }
  .flash-deals-page .flash-deals-banner__content {
    gap: 8px;
    padding: 20px 12px;
  }
  .flash-deals-page .flash-deals-banner__content h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }
  .flash-deals-page .flash-deals-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .flash-deals-page .flash-sale-store-card__body {
    padding: 9px;
  }
}
.flash-sale-card-timer {
  margin: 0 0 8px;
}
.flash-sale-product-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid #f0b4ad;
  border-radius: 8px;
  background: color-mix(in srgb, #b42318 8%, var(--store-surface, #fff));
  color: var(--store-text, #222);
}
.flash-sale-product-banner > strong {
  color: #b42318;
}

.storefront-page main .sliding-products {
  padding-top: 16px;
}

.storefront-page main .sliding-products.top-selection--static .top-selection__track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.storefront-page main .sliding-products .top-selection__slide {
  min-width: 0;
  flex: 0 0 20%;
  padding: 0 5px;
}

@media (max-width: 1000px) {
  .homepage-product-section .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .storefront-page main .homepage-product-section .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .storefront-page main .homepage-product-section .homepage-flash-style-card {
    min-height: 347px;
  }

  .storefront-page main .sliding-products .top-selection__slide {
    flex-basis: 33.333333%;
    padding-right: 4px;
    padding-left: 4px;
  }

  .storefront-page main .sliding-products.top-selection--static .top-selection__track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .storefront-page main .homepage-flash-style-card .showcase-banner {
    height: 120px;
    min-height: 120px;
    flex-basis: 120px;
  }

  .flash-sales-section__header {
    align-items: start;
    flex-direction: column;
  }
  .flash-sales-section__header--with-all {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
  .flash-sales-section__header--with-all > div {
    flex: 1 1 140px;
  }
  .flash-sales-section__header--with-all .flash-sales-show-all {
    margin-left: auto;
  }
  .flash-sales-store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .flash-sale-store-card__image {
    height: 120px;
  }
  .flash-sale-store-card__body {
    padding: 9px;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .product-collection-page main .storefront-product-grid.homepage-product-section {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .product-collection-page main .storefront-product-grid.homepage-product-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

.shopping-cart-page main.storefront-main {
  padding-top: 24px;
}

.shopping-cart-page .storefront-breadcrumb {
  margin-bottom: 12px;
}

.shopping-cart-page .shopping-cart-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
}

.shopping-cart-page .shopping-cart-heading p {
  margin: 0 0 3px;
  color: var(--store-muted);
  font-size: .76rem;
  font-weight: 600;
}

.shopping-cart-page .shopping-cart-heading h1 {
  margin: 0;
  color: var(--store-text);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.2;
}

.shopping-cart-page .shopping-cart-heading > span {
  padding: 6px 10px;
  border: 1px solid var(--store-border);
  border-radius: 999px;
  color: var(--store-muted);
  font-size: .78rem;
  white-space: nowrap;
}

.shopping-cart-page .storefront-cart-layout {
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, .85fr);
  align-items: start;
  gap: 22px;
}

.shopping-cart-page .storefront-cart-panel,
.shopping-cart-page .storefront-summary-card {
  border-radius: 18px;
}

.shopping-cart-page .storefront-cart-panel {
  padding: 20px;
}

.shopping-cart-page .shopping-cart-items-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.shopping-cart-page .shopping-cart-items-heading h2 {
  margin: 0;
  color: var(--store-text);
  font-size: 1rem;
}

.shopping-cart-page .shopping-cart-items-heading span {
  color: var(--store-muted);
  font-size: .78rem;
}

.shopping-cart-page .shopping-cart-items {
  table-layout: fixed;
}

.shopping-cart-page .shopping-cart-items th,
.shopping-cart-page .shopping-cart-items td {
  padding: 12px 8px;
  font-size: .82rem;
}

.shopping-cart-page .shopping-cart-items th:first-child {
  width: 42%;
}

.shopping-cart-page .shopping-cart-items th:nth-child(2) {
  width: 14%;
}

.shopping-cart-page .shopping-cart-items th:nth-child(3) {
  width: 20%;
}

.shopping-cart-page .shopping-cart-items th:nth-child(4) {
  width: 16%;
}

.shopping-cart-page .shopping-cart-items th:last-child {
  width: 8%;
}

.shopping-cart-page .storefront-cart-product {
  gap: 10px;
}

.shopping-cart-page .storefront-cart-product__image {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: var(--store-muted-bg, #f5f7fb);
}

.shopping-cart-page .storefront-cart-product__name {
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.shopping-cart-page .storefront-cart-product__meta {
  margin-top: 3px;
  overflow-wrap: anywhere;
  font-size: .73rem;
}

.shopping-cart-page .shopping-cart-stock-warning {
  margin-top: 6px;
  color: var(--store-error, #b42318);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.35;
}

.shopping-cart-page .shopping-cart-unit-prices {
  display: grid;
  justify-items: start;
  gap: 2px;
}

.shopping-cart-page .shopping-cart-unit-prices del {
  color: #b42318;
  font-size: .7rem;
}

.shopping-cart-page .shopping-cart-unit-prices strong {
  color: var(--store-text);
  white-space: nowrap;
}

.shopping-cart-page .shopping-cart-quantity {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--store-border);
  border-radius: 9px;
  background: var(--store-surface);
}

.shopping-cart-page .shopping-cart-quantity button {
  width: 30px;
  height: 34px;
  flex: 0 0 30px;
  border: 0;
  background: var(--store-accent);
  color: var(--store-text);
  cursor: pointer;
  font: inherit;
  font-size: 1rem;
}

.shopping-cart-page .shopping-cart-quantity button:hover {
  background: var(--store-border);
}

.shopping-cart-page .shopping-cart-quantity input {
  box-sizing: border-box;
  width: 38px;
  min-width: 0;
  height: 34px;
  padding: 2px;
  border: 0;
  border-right: 1px solid var(--store-border);
  border-left: 1px solid var(--store-border);
  border-radius: 0;
  background: transparent;
  color: var(--store-text);
  font: inherit;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.shopping-cart-page .shopping-cart-quantity input::-webkit-inner-spin-button,
.shopping-cart-page .shopping-cart-quantity input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.shopping-cart-page .shopping-cart-quantity button:focus-visible,
.shopping-cart-page .shopping-cart-quantity input:focus-visible,
.shopping-cart-page .storefront-link-button:focus-visible {
  outline: 2px solid var(--store-secondary);
  outline-offset: 2px;
}

.shopping-cart-page .shopping-cart-line-total {
  color: var(--store-text);
  font-weight: 700;
  white-space: nowrap;
}

.shopping-cart-page .storefront-link-button {
  padding: 7px 0;
  font-size: .78rem;
  white-space: nowrap;
}

.shopping-cart-page .storefront-cart-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.shopping-cart-page .storefront-cart-actions .btn {
  min-height: 42px;
  border-radius: 10px;
}

.shopping-cart-page .storefront-summary-card {
  padding: 20px;
}

.shopping-cart-page .storefront-summary-card h2 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.shopping-cart-page .storefront-summary-row {
  padding: 9px 0;
  font-size: .88rem;
}

.shopping-cart-page .storefront-summary-row--total {
  margin-top: 7px;
  padding-top: 13px;
  font-size: .96rem;
}

.shopping-cart-page .storefront-summary-row--total strong {
  color: var(--store-text);
  font-size: 1.12rem;
}

.shopping-cart-page .shopping-cart-discount-row strong {
  color: var(--store-success, #16794b);
}

.shopping-cart-page .storefront-summary-card > .btn-full {
  justify-content: center;
  min-height: 46px;
  text-decoration: none;
}

.shopping-cart-page .storefront-cart-layout--empty .storefront-cart-panel {
  padding: 28px;
}

.shopping-cart-page .storefront-empty-state--large {
  margin: 0;
  padding: 28px 20px;
  border: 0;
  box-shadow: none;
}

.shopping-cart-page .shopping-cart-empty-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--store-accent);
  color: var(--store-secondary);
}

.shopping-cart-page .shopping-cart-empty-icon svg {
  width: 36px;
  height: 36px;
}

.shopping-cart-page .storefront-empty-state--large h2 {
  margin: 0 0 8px;
  color: var(--store-text);
  font-size: 1.2rem;
}

.shopping-cart-page .storefront-empty-state--large p {
  max-width: 420px;
  margin: 0 auto 16px;
  color: var(--store-muted);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .shopping-cart-page .storefront-cart-layout:not(.storefront-cart-layout--empty) {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .shopping-cart-page .storefront-summary-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .shopping-cart-page main.storefront-main {
    padding-top: 18px;
  }

  .shopping-cart-page .shopping-cart-heading {
    margin-bottom: 14px;
  }

  .shopping-cart-page .storefront-cart-panel {
    padding: 14px;
  }

  .shopping-cart-page .shopping-cart-items,
  .shopping-cart-page .shopping-cart-items tbody {
    display: block;
    width: 100%;
  }

  .shopping-cart-page .shopping-cart-items thead {
    display: none;
  }

  .shopping-cart-page .shopping-cart-items tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    margin: 0 0 12px;
    padding: 10px;
    border: 1px solid var(--store-border);
    border-radius: 12px;
    background: var(--store-surface);
  }

  .shopping-cart-page .shopping-cart-items td {
    display: flex;
    width: auto;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 0;
    border: 0;
    font-size: .8rem;
  }

  .shopping-cart-page .shopping-cart-items td::before {
    flex: 0 0 auto;
    color: var(--store-muted);
    content: attr(data-label);
    font-size: .7rem;
    font-weight: 600;
  }

  .shopping-cart-page .shopping-cart-items td[data-label="Product"] {
    grid-column: 1 / -1;
    justify-content: flex-start;
    align-items: flex-start;
    border-bottom: 1px solid var(--store-border);
  }

  .shopping-cart-page .shopping-cart-items td[data-label="Product"]::before {
    content: none;
  }

  .shopping-cart-page .shopping-cart-items td[data-label="Quantity"] {
    justify-content: flex-end;
  }

  .shopping-cart-page .shopping-cart-items td[data-label="Remove"] {
    justify-content: flex-end;
  }

  .shopping-cart-page .shopping-cart-items td[data-label="Remove"]::before {
    content: none;
  }

  .shopping-cart-page .storefront-summary-card {
    padding: 18px;
  }
}

@media (max-width: 380px) {
  .shopping-cart-page .shopping-cart-items tr {
    gap: 0 8px;
    padding: 8px;
  }

  .shopping-cart-page .shopping-cart-quantity button {
    width: 28px;
    flex-basis: 28px;
  }

  .shopping-cart-page .storefront-cart-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .shopping-cart-page .storefront-cart-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .homepage-product-section .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .storefront-page main .homepage-product-section .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .storefront-page main .homepage-product-section .homepage-flash-style-card {
    min-height: 297px;
  }

  .storefront-page main .homepage-flash-style-card .showcase-content {
    gap: 5px;
    padding: 6px;
  }

  .storefront-page main .homepage-flash-style-card .showcase-category {
    top: -18px;
  }

  .storefront-page main .sliding-products .top-selection__slide {
    flex-basis: 50%;
    padding-right: 2px;
    padding-left: 2px;
  }

  .storefront-page main .sliding-products.top-selection--static .top-selection__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .storefront-page main .homepage-flash-style-card .showcase-banner {
    height: 112px;
    min-height: 112px;
    flex-basis: 112px;
  }

  .flash-sales-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .flash-sale-store-card__body {
    gap: 6px;
    padding: 8px;
  }
  .flash-sale-store-card__image {
    height: 112px;
  }
  .flash-sales-section__header--with-all {
    padding: 11px 12px;
  }
  .flash-sale-store-card__body h3 {
    font-size: .82rem;
  }
  .flash-sale-store-card__prices {
    gap: 3px;
    font-size: .78rem;
  }
  .flash-sale-store-card__prices strong {
    font-size: .88rem;
  }
  .flash-sale-countdown__unit strong {
    font-size: .72rem;
  }
  .flash-sale-countdown__unit {
    padding: 3px 1px;
  }
  .flash-sale-countdown__units {
    gap: 2px;
  }
  .flash-sale-countdown__unit small {
    font-size: .46rem;
  }
  .flash-sale-countdown__label {
    font-size: .66rem;
  }
}
@media (max-width: 380px) {
  .storefront-page main .homepage-flash-style-card .showcase-banner {
    height: 96px;
    min-height: 96px;
    flex-basis: 96px;
  }

  .flash-sales-section__header--with-all {
    align-items: flex-start;
    flex-direction: column;
  }
  .flash-sales-section__header--with-all > div {
    flex-basis: auto;
  }
  .flash-sales-section__header--with-all .flash-sales-show-all {
    margin-left: 0;
  }
  .flash-sales-store-card__body {
    gap: 5px;
    padding: 6px;
  }
  .flash-sale-store-card__image {
    height: 96px;
  }
  .flash-sale-countdown__units {
    gap: 2px;
  }
  .flash-sale-countdown__unit strong {
    font-size: .68rem;
  }
  .flash-sale-countdown__unit small {
    font-size: .42rem;
  }
}

@media (max-width: 768px) {
  .storefront-header .storefront-header__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .storefront-header .storefront-brand {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    min-width: 0;
    flex: none;
  }

  .storefront-header .storefront-header-actions {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    width: auto;
    min-width: 0;
    flex: none;
    gap: 2px;
    margin: 0;
  }

  .storefront-header .storefront-icon-link {
    flex: 0 0 36px;
    width: 36px;
    height: 38px;
    min-height: 38px;
  }

  .storefront-header .storefront-search {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    width: 100%;
    max-width: none;
    margin: 2px 0 0;
  }

  .storefront-header-navigation {
    position: static;
    z-index: auto;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 9px 16px;
    border-top: 1px solid var(--store-border);
    background: var(--store-surface);
  }

  .storefront-header-navigation .storefront-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 144px;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 9px;
    background: var(--store-primary);
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
  }

  .storefront-header-navigation .storefront-nav__toggle ion-icon {
    font-size: 1.2rem;
  }

  .storefront-header-navigation .storefront-nav__toggle:focus-visible,
  .storefront-header-navigation .storefront-nav__close:focus-visible,
  .storefront-header-navigation .storefront-nav__link:focus-visible {
    outline: 3px solid #e0a400;
    outline-offset: 3px;
  }

  .storefront-header-navigation .storefront-nav__backdrop:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(5, 10, 20, .56);
    cursor: default;
  }

  .storefront-header-navigation .storefront-nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(360px, 88vw);
    max-width: calc(100vw - 40px);
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    margin: 0;
    padding: 0 20px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    border-left: 1px solid var(--store-border);
    border-radius: 0;
    background: var(--store-surface);
    box-shadow: var(--store-shadow);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .22s ease, visibility .22s ease;
  }

  .storefront-header-navigation .storefront-nav__links.is-open {
    display: flex;
    width: min(360px, 88vw);
    margin: 0;
    transform: translateX(0);
    visibility: visible;
  }

  .storefront-nav__drawer-heading {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    margin: 0 -20px 10px;
    padding: 0 20px;
    border-bottom: 1px solid var(--store-border);
    background: var(--store-surface);
    color: var(--store-text);
    font-size: 1rem;
    font-weight: 750;
  }

  .storefront-header-navigation .storefront-nav__close {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--store-border);
    border-radius: 10px;
    background: var(--store-accent);
    color: var(--store-text);
    cursor: pointer;
  }

  .storefront-header-navigation .storefront-nav__close span {
    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1;
  }

  .storefront-header-navigation .storefront-nav__link {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 11px 4px;
    border-bottom: 1px solid var(--store-border);
    color: var(--store-text);
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    text-transform: none;
  }

  .storefront-header-navigation .storefront-nav__link ion-icon {
    flex: 0 0 auto;
    margin-right: 10px;
  }

  .storefront-header-navigation .storefront-nav__category {
    position: static;
    width: 100%;
    flex: 0 0 auto;
  }

  .storefront-header-navigation .storefront-nav__category > .storefront-nav__link {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .storefront-header-navigation .storefront-mega-menu {
    display: none !important;
  }

  body.storefront-nav-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-header-navigation .storefront-nav__links {
    transition: none;
  }
}

.category-page main.storefront-main {
  padding-top: 12px;
  padding-bottom: 28px;
}

.category-page .storefront-breadcrumb {
  margin-bottom: 6px;
  gap: 6px;
  font-size: .78rem;
}

.category-page .storefront-category-header {
  display: block;
  margin-bottom: 10px;
}

.category-page .storefront-category-header .storefront-product__eyebrow {
  margin-bottom: 2px;
}

.category-page .storefront-category-header h1 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
  line-height: 1.2;
}

.category-page .storefront-category-description {
  max-width: 720px;
  margin: 4px 0 0;
  font-size: .9rem;
  line-height: 1.45;
}

.category-page .storefront-listing-layout {
  gap: 16px;
}

.category-page .storefront-filter-panel {
  padding: 13px;
}

.category-page .storefront-filter-panel__title {
  margin: 0 0 12px;
  color: var(--store-text);
  font-size: .95rem;
  font-weight: 700;
}

.category-page .storefront-filter-form {
  gap: 12px;
}

.category-page .storefront-filter-group {
  gap: 6px;
}

.category-page .storefront-listing-toolbar {
  min-height: 36px;
  margin-bottom: 8px;
  gap: 8px;
  font-size: .8rem;
}

.category-page .storefront-listing-toolbar .storefront-sort-form {
  gap: 7px;
}

.category-page .storefront-listing-toolbar .storefront-sort-form select {
  min-height: 36px;
  min-width: 145px;
  padding: 6px 9px;
  border-radius: 8px;
  font-size: .8rem;
}

.category-page .storefront-filter-toggle {
  display: none;
}

@media (max-width: 767px) {
  .category-page main.storefront-main {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .category-page .storefront-breadcrumb {
    margin-bottom: 5px;
  }

  .category-page .storefront-category-header {
    margin-bottom: 8px;
  }

  .category-page .storefront-category-header h1 {
    font-size: 1.35rem;
  }

  .category-page .storefront-category-description {
    margin-top: 3px;
    font-size: .84rem;
  }

  .category-page .storefront-listing-layout {
    gap: 8px;
  }

  .category-page .storefront-filter-panel {
    padding: 7px 10px;
  }

  .category-page .storefront-filter-panel__title {
    display: none;
  }

  .category-page .storefront-filter-toggle {
    display: flex;
    width: 100%;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: var(--store-text);
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
  }

  .category-page .storefront-filter-toggle__indicator {
    color: var(--store-secondary);
    font-size: 1.15rem;
    line-height: 1;
  }

  .category-page .storefront-filter-form {
    display: none;
    gap: 11px;
    margin-top: 8px;
  }

  .category-page .storefront-filter-panel.is-open .storefront-filter-form {
    display: grid;
  }

  .category-page .storefront-listing-toolbar {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    min-height: 34px;
    margin-bottom: 6px;
    gap: 6px;
  }

  .category-page .storefront-listing-toolbar > span {
    flex: 0 1 auto;
    font-size: .74rem;
    white-space: nowrap;
  }

  .category-page .storefront-listing-toolbar .storefront-sort-form {
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 5px;
  }

  .category-page .storefront-listing-toolbar .storefront-sort-form label {
    font-size: .72rem;
  }

  .category-page .storefront-listing-toolbar .storefront-sort-form select {
    min-width: 0;
    width: auto;
    max-width: 160px;
    flex: 1 1 110px;
    padding: 6px 7px;
    font-size: .74rem;
  }
}

@media (max-width: 360px) {
  .category-page .storefront-listing-toolbar > span {
    font-size: .68rem;
  }

  .category-page .storefront-listing-toolbar .storefront-sort-form label {
    display: none;
  }
}

.live-chat-standalone main.live-chat-main {
  width: min(100% - 32px, 980px);
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 0 36px;
}

.live-chat-standalone .live-chat-page__breadcrumb {
  margin: 0 0 12px;
  gap: 7px;
  font-size: .8rem;
}

.live-chat-standalone .live-chat-page {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.live-chat-page__hero {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 17px 20px;
  border: 1px solid var(--store-border);
  border-radius: 16px;
  background: var(--store-surface);
  color: var(--store-text);
}

.live-chat-page__hero-icon,
.live-chat-panel__avatar,
.live-chat-page__welcome-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
}

.live-chat-page__hero-icon {
  width: 46px;
  height: 46px;
  background: var(--store-primary);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
}

.live-chat-page__hero-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.live-chat-page__eyebrow {
  margin: 0 0 3px;
  color: var(--store-secondary);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.live-chat-page__hero h1 {
  margin: 0;
  color: var(--store-text);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.25;
}

.live-chat-page__hero-copy > p:last-child {
  margin: 4px 0 0;
  color: var(--store-muted);
  font-size: .86rem;
  line-height: 1.45;
}

.live-chat-page__back {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--store-border);
  border-radius: 9px;
  color: var(--store-text);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

.live-chat-panel {
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--store-border);
  border-radius: 16px;
  background: var(--store-surface);
  box-shadow: var(--store-shadow);
}

.live-chat-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 68px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--store-border);
}

.live-chat-panel__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.live-chat-panel__avatar {
  width: 40px;
  height: 40px;
  background: color-mix(in srgb, var(--store-primary) 12%, var(--store-surface));
  color: var(--store-primary);
  font-size: 1rem;
  font-weight: 800;
}

.live-chat-panel__identity strong,
.live-chat-panel__identity small {
  display: block;
  overflow: hidden;
  color: var(--store-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-chat-panel__identity strong {
  font-size: .93rem;
}

.live-chat-panel__identity small {
  margin-top: 3px;
  color: var(--store-muted);
  font-size: .74rem;
}

.live-chat-panel__status {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid var(--store-border);
  border-radius: 999px;
  color: var(--store-muted);
  font-size: .72rem;
  font-weight: 700;
}

.live-chat-panel__status--open,
.live-chat-panel__status--pending {
  border-color: color-mix(in srgb, var(--store-success) 28%, var(--store-border));
  background: var(--store-success-bg);
  color: var(--store-success);
}

.live-chat-panel__status--closed {
  background: var(--store-accent);
  color: var(--store-muted);
}

.live-chat-page__messages {
  display: flex;
  min-height: 300px;
  max-height: min(54vh, 520px);
  flex-direction: column;
  gap: 10px;
  padding: 20px clamp(14px, 4vw, 28px);
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--store-accent);
  scroll-behavior: smooth;
}

.live-chat-page__welcome {
  display: grid;
  align-content: center;
  justify-items: center;
  width: min(100%, 360px);
  min-height: 220px;
  align-self: center;
  padding: 20px;
  color: var(--store-text);
  text-align: center;
}

.live-chat-page__welcome-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  background: color-mix(in srgb, var(--store-primary) 12%, var(--store-surface));
  color: var(--store-primary);
  font-size: 1.2rem;
}

.live-chat-page__welcome strong {
  font-size: 1rem;
}

.live-chat-page__welcome p {
  margin: 6px 0 0;
  color: var(--store-muted);
  font-size: .86rem;
  line-height: 1.5;
}

.live-chat-page__message {
  width: fit-content;
  max-width: min(78%, 620px);
  padding: 10px 13px 8px;
  border: 1px solid var(--store-border);
  border-radius: 14px 14px 14px 4px;
  background: var(--store-surface);
  color: var(--store-text);
  overflow-wrap: anywhere;
}

.live-chat-page__message--customer {
  align-self: flex-end;
  border-color: transparent;
  border-radius: 14px 14px 4px 14px;
  background: var(--store-primary);
  color: #fff;
}

.live-chat-page__message > strong {
  display: block;
  margin-bottom: 4px;
  font-size: .72rem;
  opacity: .82;
}

.live-chat-page__message > p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.live-chat-page__message > time {
  display: block;
  margin-top: 5px;
  font-size: .66rem;
  opacity: .68;
}

.live-chat-page__connection {
  margin: 0;
  padding: 8px 18px;
  border-top: 1px solid var(--store-border);
  background: var(--store-error-bg);
  color: var(--store-error);
  font-size: .8rem;
}

.live-chat-page__connection[hidden] {
  display: none;
}

.live-chat-page__connection.is-success {
  background: var(--store-success-bg);
  color: var(--store-success);
}

.live-chat-page__composer {
  display: grid;
  gap: 12px;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--store-border);
  background: var(--store-surface);
}

.live-chat-page__visitor {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 360px;
  gap: 10px;
}

.live-chat-page__visitor[hidden] {
  display: none;
}

.live-chat-page__visitor label {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: var(--store-text);
  font-size: .74rem;
  font-weight: 700;
}

.live-chat-page__visitor label > span small {
  color: var(--store-muted);
  font-weight: 400;
}

.live-chat-page__subject {
  grid-column: 1 / -1;
}

.live-chat-page__visitor input,
.live-chat-page__message-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--store-border);
  border-radius: 9px;
  background: var(--store-surface);
  color: var(--store-text);
  font: inherit;
}

.live-chat-page__visitor input {
  min-height: 38px;
  padding: 8px 10px;
  font-size: .84rem;
}

.live-chat-page__message-field {
  display: block;
  min-width: 0;
}

.live-chat-page__message-field textarea {
  display: block;
  min-height: 52px;
  max-height: 160px;
  padding: 11px 12px;
  resize: vertical;
  font-size: .9rem;
  line-height: 1.45;
}

.live-chat-page__visitor input:focus,
.live-chat-page__message-field textarea:focus {
  border-color: var(--store-secondary);
  outline: 3px solid color-mix(in srgb, var(--store-secondary) 20%, transparent);
}

.live-chat-page__composer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.live-chat-page__composer-footer > span {
  color: var(--store-muted);
  font-size: .72rem;
}

.live-chat-page__send {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 15px;
  border: 0;
  border-radius: 9px;
  background: var(--store-primary);
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
}

.live-chat-page__send:disabled {
  cursor: wait;
  opacity: .65;
}

.live-chat-page__privacy {
  margin: -4px 0 0;
  color: var(--store-muted);
  font-size: .72rem;
  text-align: center;
}

.live-chat-standalone .live-chat-widget {
  display: none;
}

html[data-theme="dark"] .live-chat-page__message--customer {
  background: var(--store-primary);
  color: #fff;
}

html[data-theme="dark"] .live-chat-panel__avatar,
html[data-theme="dark"] .live-chat-page__welcome-icon {
  background: #26364c;
  color: #d8e4f5;
}

html[data-theme="dark"] .live-chat-page__visitor input,
html[data-theme="dark"] .live-chat-page__message-field textarea {
  background: #141d2a;
}

@media (max-width: 700px) {
  .live-chat-standalone main.live-chat-main {
    width: min(100% - 24px, 980px);
    padding-top: 14px;
    padding-bottom: 24px;
  }

  .live-chat-standalone .live-chat-page {
    gap: 10px;
  }

  .live-chat-page__hero {
    gap: 11px;
    padding: 13px;
    border-radius: 13px;
  }

  .live-chat-page__hero-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .live-chat-page__hero-copy > p:last-child {
    font-size: .78rem;
  }

  .live-chat-page__back {
    padding: 7px 9px;
    font-size: .72rem;
  }

  .live-chat-panel {
    grid-template-rows: auto minmax(240px, 1fr) auto auto;
    border-radius: 13px;
  }

  .live-chat-panel__header {
    min-height: 60px;
    padding: 10px 12px;
  }

  .live-chat-page__messages {
    min-height: 240px;
    max-height: 48vh;
    padding: 14px 12px;
  }

  .live-chat-page__message {
    max-width: 88%;
    padding: 9px 11px 7px;
  }

  .live-chat-page__composer {
    gap: 10px;
    padding: 11px 12px 13px;
  }

  .live-chat-page__composer-footer > span {
    max-width: 46%;
    line-height: 1.3;
  }
}

@media (max-width: 420px) {
  .live-chat-page__hero {
    flex-wrap: wrap;
  }

  .live-chat-page__hero-copy {
    flex-basis: calc(100% - 52px);
  }

  .live-chat-page__back {
    margin-left: 49px;
  }

  .live-chat-page__composer-footer > span {
    font-size: .66rem;
  }

  .live-chat-page__send {
    min-height: 38px;
    padding: 0 11px;
    font-size: .78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-chat-page__messages {
    scroll-behavior: auto;
  }
}
