/* Motyw Klasyczny korzysta z bazowej stylizacji sklepu. */

.theme-category-tile-fallback {
  background-color: #1e293b;
}

.theme-category-tile-overlay {
  background-color: rgb(2 6 23 / 68%);
}

.group:hover .theme-category-tile-overlay {
  background-color: rgb(2 6 23 / 78%);
}

.theme-payment-header-amber {
  background-color: #b45309;
}

.theme-return-type-select {
  width: 100%;
  max-width: 100%;
}

.theme-return-type-select.sr-only {
  width: 1px;
  min-width: 1px;
  max-width: 1px;
}

.theme-search-query {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.classic-account-auth-page,
.classic-account-page {
  background: #f8fafc;
}

.classic-account-eyebrow {
  letter-spacing: 0.18em;
}

.classic-account-auth-card {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  background: #fff;
  box-shadow: 0 24px 60px -36px rgb(15 23 42 / 42%);
}

.classic-account-auth-primary {
  padding: 1.5rem;
}

.classic-account-auth-form {
  display: grid;
  gap: 1.25rem;
}

.classic-account-secondary-button {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #bfdbfe;
  border-radius: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.classic-account-secondary-button:hover {
  border-color: #93c5fd;
  background: #dbeafe;
  color: #1e40af;
}

.classic-account-input {
  box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
}

.classic-account-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgb(37 99 235 / 12%);
  outline: 2px solid rgb(37 99 235 / 45%);
  outline-offset: 2px;
}

.classic-account-primary-button {
  background: #2563eb;
  box-shadow: 0 10px 24px -14px rgb(37 99 235 / 70%);
}

.classic-account-primary-button:hover {
  background: #1d4ed8;
}

.classic-account-submit-row {
  padding-top: 0.25rem;
}

.classic-account-auth-switch {
  display: grid;
  gap: 0.875rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.classic-account-auth-switch p {
  margin: 0;
  color: #64748b;
  font-size: 0.875rem;
  text-align: center;
}

.classic-account-consent {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.classic-account-consent:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.classic-account-notice {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.classic-account-notice--error {
  background: #fff1f2;
  color: #be123c;
}

.classic-account-notice--success {
  background: #ecfdf5;
  color: #047857;
}

.classic-account-topbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.classic-account-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
}

.classic-account-avatar {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.875rem;
  font-weight: 800;
}

.classic-account-workspace {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

.classic-account-sidebar {
  min-width: 0;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  background: #fff;
  box-shadow: 0 10px 35px -28px rgb(15 23 42 / 55%);
}

.classic-account-nav {
  display: flex;
  min-width: max-content;
  align-items: center;
  padding: 0.375rem;
}

.classic-account-nav__item {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.625rem;
  border-radius: 0.625rem;
  padding: 0.625rem 0.875rem;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.25rem;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease;
}

.classic-account-nav__item svg {
  width: 1.125rem;
  height: 1.125rem;
  flex: 0 0 auto;
}

.classic-account-nav__item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.classic-account-nav__item.is-active {
  background: #eff6ff;
  color: #1d4ed8;
}

.classic-account-nav__logout {
  display: contents;
}

.classic-account-nav__button {
  width: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.classic-account-content {
  min-width: 0;
}

.classic-account-dashboard-grid {
  display: grid;
  gap: 1.5rem;
}

.classic-account-order-list {
  display: grid;
  gap: 0.75rem;
}

.classic-account-order-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.875rem;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 0.875rem;
  padding: 1rem;
  background: #fff;
  box-shadow: 0 8px 25px -24px rgb(15 23 42 / 65%);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.classic-account-order-row:hover {
  border-color: #bfdbfe;
  box-shadow: 0 14px 35px -25px rgb(37 99 235 / 45%);
  transform: translateY(-1px);
}

.classic-account-order-row__icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: #eff6ff;
  color: #2563eb;
}

.classic-account-order-row__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.classic-account-order-row__details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: #0f172a;
}

.classic-account-order-row__details strong {
  overflow: hidden;
  text-overflow: ellipsis;
}

.classic-account-order-row__details small {
  margin-top: 0.2rem;
  color: #64748b;
  font-size: 0.75rem;
}

.classic-account-order-row__status {
  grid-column: 2;
  justify-self: start;
  border-radius: 999px;
  padding: 0.25rem 0.625rem;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.7rem;
  font-weight: 700;
}

.classic-account-order-row__total {
  grid-column: 3;
  grid-row: 1;
  color: #0f172a;
  font-size: 0.875rem;
  white-space: nowrap;
}

.classic-account-order-row__arrow {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
  color: #94a3b8;
  transition: color 160ms ease, transform 160ms ease;
}

.classic-account-order-row:hover .classic-account-order-row__arrow {
  color: #2563eb;
  transform: translateX(0.2rem);
}

.classic-account-shortcuts {
  display: grid;
  align-content: start;
  gap: 0.625rem;
}

.classic-account-shortcuts a {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  background: #fff;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 700;
  transition: border-color 160ms ease, color 160ms ease;
}

.classic-account-shortcuts a:hover {
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.classic-account-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 0.875rem;
  padding: 2.5rem 1.25rem;
  background: #fff;
  text-align: center;
}

.classic-account-primary-button:focus-visible,
.classic-account-secondary-button:focus-visible,
.classic-account-nav__item:focus-visible,
.classic-account-order-row:focus-visible,
.classic-account-shortcuts a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.classic-account-settings-layout,
.classic-account-order-layout {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .classic-account-auth-primary {
    padding: 2.5rem;
  }

  .classic-account-topbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .classic-account-workspace {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 3rem;
    margin-top: 2rem;
  }

  .classic-account-sidebar {
    align-self: start;
    overflow: visible;
  }

  .classic-account-nav {
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem;
  }

  .classic-account-nav__item {
    width: 100%;
  }

  .classic-account-nav__logout {
    display: block;
    margin-top: 0.375rem;
    padding-top: 0.375rem;
    border-top: 1px solid #e2e8f0;
  }

  .classic-account-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 13rem;
    gap: 2rem;
  }

  .classic-account-settings-layout {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 1.7fr);
    column-gap: 3rem;
  }
}

@media (min-width: 1280px) {
  .classic-account-order-layout {
    grid-template-columns: minmax(0, 2fr) minmax(18rem, 1fr);
  }
}
.classic-account-consent-content a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #cbd5e1;
  text-underline-offset: 0.25rem;
}

.classic-account-consent-content a:focus-visible {
  border-radius: 0.25rem;
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
