@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;500;700&display=swap');

:root {
  --bg: #f1f1f1;
  --surface: #ffffff;
  --line: #d6d6d6;
  --ink: #131313;
  --muted: #5f6670;
  --accent: #e32c72;
  --logo-font: "Roboto Condensed", "Helvetica Neue Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
  --ui-font: "Roboto Condensed", "Helvetica Neue Condensed", "Arial Narrow", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ui-font);
}

html {
  scrollbar-gutter: stable;
}

.shop-shell {
  width: min(1600px, calc(100% - 28px));
  margin: 14px auto 26px;
}

.shop-header {
  text-align: left;
  padding-top: 14px;
  margin-bottom: 28px;
}

.shop-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.admin-header-actions {
  position: relative;
}

.admin-page .admin-header-actions {
  position: relative;
}

.admin-page .admin-header-drawer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-page .admin-header-tabs {
  display: inline-flex;
  gap: 8px;
  margin-right: 6px;
}

.header-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid #c8ceda;
  border-radius: 8px;
  background: #f3f4f7;
  color: #2f3748;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-actions.has-drawer .header-menu-toggle {
  display: inline-flex;
}

.header-actions.has-drawer .admin-header-drawer {
  position: fixed;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(360px, calc(100vw - 24px));
  z-index: 1210;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  overflow: auto;
  transform: translateX(calc(100% + 14px));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.header-actions.has-drawer .admin-header-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.header-actions.has-drawer .admin-header-tabs {
  margin-right: 0;
  width: 100%;
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.header-actions.has-drawer .admin-header-drawer .header-icon-link {
  width: 100%;
  min-height: 46px;
  border-radius: 0;
  justify-content: flex-start;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  transition: transform 0.16s ease, color 0.16s ease;
}

.header-actions.has-drawer .admin-header-drawer .header-icon-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.header-actions.has-drawer .admin-header-drawer .header-icon-link::after {
  content: attr(title);
  font-size: 1rem;
  font-weight: 500;
}

.header-actions.has-drawer .menu-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}

.header-actions.has-drawer .admin-header-drawer .header-icon-link:hover,
.header-actions.has-drawer .admin-header-drawer .header-icon-link:focus-visible,
.header-actions.has-drawer .admin-header-drawer .header-icon-link.is-active {
  background: transparent;
  color: #c81b5a;
  border: 0;
  transform: translateX(3px);
}

.menu-user-name {
  margin: 4px 0 0;
  padding-right: 44px;
  color: #2a3140;
  font-size: 1.16rem;
  font-weight: 700;
  text-align: left;
}

.header-actions.has-drawer .menu-logout {
  margin-top: auto;
}

.header-menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-header-drawer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-header-backdrop {
  display: none;
}

.menu-close-btn {
  display: none;
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #3d475c;
  font-family: var(--ui-font);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.admin-header-backdrop[hidden] {
  display: none !important;
}

.admin-header-tabs {
  display: inline-flex;
  gap: 8px;
  margin-right: 6px;
}

.admin-header-tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f4f6fa;
  color: #3d475c;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
}

.admin-header-tab.is-active {
  border-color: #c81b5a;
  background: var(--accent);
  color: #fff;
}

.header-icon-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #c8ceda;
  background: #f3f4f7;
  color: #2f3748;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-icon-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-icon-link:hover,
.header-icon-link:focus-visible {
  background: #eef2f8;
  outline: none;
}

.header-icon-link.is-active {
  border-color: #d2447d;
  background: #fcecf3;
  color: #c81b5a;
}

.shop-logo {
  margin: 0;
  display: inline-flex;
  align-items: center;
  font-family: var(--logo-font);
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
  color: #1b2230;
  font-weight: 400;
}

.shop-logo-link {
  text-decoration: none;
}

.shop-logo-link:hover,
.shop-logo-link:focus-visible {
  text-decoration: none;
  outline: none;
}

.search-wrap {
  margin-bottom: 14px;
}

.search-form input[type="text"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd2d8;
  border-radius: 14px;
  background: #f7f7f7;
  padding: 0 16px;
  color: #2a2f39;
  font-size: 0.9rem;
  font-family: var(--ui-font);
}

.empty-state {
  border: 1px dashed #cfd2d8;
  border-radius: 10px;
  background: #f7f7f7;
  color: #5f6670;
  padding: 16px;
}

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

.product-card {
  position: relative;
  background: var(--surface);
  border: none;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}

.product-open-trigger:focus-visible {
  outline: 2px solid #8ca3d6;
  outline-offset: 2px;
}

.card-top {
  min-height: 34px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  min-height: 26px;
  padding: 0 10px;
  background: var(--accent);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  font-family: var(--ui-font);
  text-transform: uppercase;
}

.status-badge[hidden] {
  display: none !important;
}

.image-wrap {
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
}

.image-wrap img {
  max-width: 80%;
  max-height: 200px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.card-body h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  font-family: var(--ui-font);
  color: #121a2a;
  font-weight: 500;
}

.original-name {
  margin: 4px 0 0;
  font-size: 0.92rem;
  line-height: 1.34;
  color: #2b3140;
  font-weight: 400;
}

.price {
  margin: 9px 0 0;
  font-family: var(--ui-font);
  font-size: 1.02rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 500;
}

.price-original {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9em;
  margin-right: 4px;
}

.price-discounted {
  color: #e05050;
  font-weight: 600;
}

.discount-badge {
  display: inline-block;
  background: #e05050;
  color: #fff;
  font-size: 0.72em;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  vertical-align: middle;
  margin: 0 3px;
  letter-spacing: 0.02em;
}

.discount-pct-badge {
  display: inline-block;
  background: #e05050;
  color: #fff;
  font-size: 0.78em;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 5px;
  letter-spacing: 0.01em;
}

/* Karte mit aktivem Rabatt – leichter Akzentrahmen */
.product-card.has-discount {
  outline: 1.5px solid #e05050;
  outline-offset: -1px;
}

/* Preis-Badges auf .card-top für Rabatt-%-Hinweis */
.card-top .discount-pct-badge {
  font-size: 0.76rem;
  padding: 3px 9px;
}

/* Datumszeile im Admin-Sortiment */
.discount-date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 6px;
}

.discount-date-row label {
  font-size: 0.83rem;
  margin-bottom: 2px;
  display: block;
}

.discount-date-row input {
  width: 100%;
}

.field-hint {
  font-size: 0.78em;
  font-weight: 400;
  opacity: 0.65;
}

.discount-status-note {
  margin: 4px 0 6px;
  font-size: 0.84rem;
}

.volume {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
}

.card-notify-form {
  margin-top: 8px;
}

.card-notify-btn {
  min-height: 32px;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f4f6fa;
  color: #3d475c;
  font-family: var(--ui-font);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0 10px;
  cursor: pointer;
}

.card-notify-btn.is-active {
  border-color: #d2447d;
  background: #fcecf3;
  color: #c81b5a;
}

body.has-modal-open {
  overflow: hidden;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
}

.auth-shell {
  width: min(460px, 100%);
}

.auth-logo {
  margin-bottom: 12px;
}

.auth-card {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(25, 31, 45, 0.06);
}

.auth-head h2 {
  margin: 0;
  font-size: 1.16rem;
  color: #1f2634;
  font-weight: 500;
}

.auth-head p {
  margin: 4px 0 0;
  color: #657188;
  font-size: 0.9rem;
}

.auth-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #9e1f4a;
}

.auth-note.success {
  color: #2a3140;
}

.auth-form {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.auth-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 2px;
}

.auth-toggle-btn {
  min-height: 38px;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f4f6fa;
  color: #3d475c;
  font-family: var(--ui-font);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
}

.auth-toggle-btn.is-active {
  border-color: #c81b5a;
  background: var(--accent);
  color: #fff;
}

.auth-form label {
  color: #4e5a72;
  font-size: 0.84rem;
}

.auth-form input[type="text"],
.auth-form input[type="password"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f9fafc;
  padding: 0 12px;
  color: #2a3140;
  font-family: var(--ui-font);
  font-size: 0.9rem;
}

.auth-submit {
  margin-top: 4px;
  min-height: 40px;
  border: 1px solid #c81b5a;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ui-font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}

.auth-submit:hover,
.auth-submit:focus-visible {
  background: #c81b5a;
  outline: none;
}

.auth-footnote {
  margin: 12px 0 0;
  color: #657188;
  font-size: 0.82rem;
}

.admin-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-tab {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f4f6fa;
  color: #3d475c;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
}

.admin-tab.is-active {
  border-color: #c81b5a;
  background: var(--accent);
  color: #fff;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.admin-requests-grid {
  gap: 44px;
}

.admin-requests-grid .admin-user-groups {
  gap: 38px;
}

.admin-overview-section {
  margin-top: 44px;
}

.admin-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: 0;
}

.admin-card h2 {
  margin: 0 0 8px;
  color: #2a3140;
  font-size: 1rem;
  font-weight: 500;
}

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

.admin-user-groups {
  display: grid;
  gap: 14px;
}

.admin-user-group {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.admin-user-title {
  margin: 0;
  width: max-content;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 500;
}

.admin-user-group .cart-list {
  gap: 10px;
}

.admin-user-group .cart-item {
  border: 0;
}

.admin-user-group .cart-summary {
  margin-top: 0;
}

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

.admin-overview-item {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  border-left: 3px solid transparent;
}

.admin-overview-item--shortage {
  border-left-color: #e05c2a;
  background: #fff9f7;
}

.admin-overview-item--shortage .admin-overview-title {
  color: #b83d14;
}

.admin-overview-item--shortage .cart-item-note {
  color: #b83d14;
  opacity: 0.85;
}

.admin-overview-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.admin-overview-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #1e2634;
}

.admin-overview-qty {
  color: #1e2634;
  font-size: 1.02rem;
  font-weight: 500;
  white-space: nowrap;
}

.admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

.admin-row-stack {
  align-items: center;
}

.admin-meta {
  margin: 4px 0 0;
  color: #657188;
  font-size: 0.86rem;
}

.admin-row-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.admin-row-actions form {
  margin: 0;
}

.admin-open-modal-btn {
  min-height: 36px;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f4f6fa;
  color: #3d475c;
  font-family: var(--ui-font);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0 12px;
}

.admin-open-modal-btn:hover,
.admin-open-modal-btn:focus-visible {
  background: #e8ecf4;
  outline: none;
}

.admin-row-actions button,
.admin-form button,
.admin-inline-actions button {
  min-height: 36px;
  border: 1px solid #c81b5a;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ui-font);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0 10px;
}

.admin-row-actions .btn-delete,
.admin-form .btn-delete,
.admin-inline-actions .btn-delete {
  border-color: #c5cad6;
  background: #f4f6fa;
  color: #3a455d;
}

.admin-row-actions .btn-delete:hover,
.admin-row-actions .btn-delete:focus-visible,
.admin-form .btn-delete:hover,
.admin-form .btn-delete:focus-visible,
.admin-inline-actions .btn-delete:hover,
.admin-inline-actions .btn-delete:focus-visible {
  background: #e8ecf4;
  outline: none;
}

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

.admin-form label {
  color: #4e5a72;
  font-size: 0.82rem;
}

.admin-form input[type="text"] {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f9fafc;
  padding: 0 10px;
  color: #2a3140;
  font-family: var(--ui-font);
  font-size: 0.88rem;
}

.admin-form select,
.admin-form input[type="number"] {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f9fafc;
  padding: 0 10px;
  color: #2a3140;
  font-family: var(--ui-font);
  font-size: 0.88rem;
}

.admin-form textarea {
  width: 100%;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f9fafc;
  padding: 8px 10px;
  color: #2a3140;
  font-family: var(--ui-font);
  font-size: 0.88rem;
  resize: vertical;
  box-sizing: border-box;
}

.admin-user-select-form {
  gap: 8px;
}

.admin-user-actions-form {
  margin-top: 12px;
}

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

.admin-pending-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 12px;
}

.admin-pending-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #dfe3eb;
  padding-top: 10px;
}

.admin-pending-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.admin-pending-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1b2230;
}

.admin-card h2.admin-users-manage-title {
  margin: 50px 0 8px;
}

.admin-pending-row .admin-user-actions-form {
  margin: 0;
}

.admin-inline-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.admin-submit-row {
  display: flex;
  justify-content: flex-end;
}

.admin-submit-btn {
  width: auto;
  min-width: 132px;
  padding: 0 12px;
}

.admin-inline-actions .btn-delete {
  border-color: #c5cad6;
  background: #f4f6fa;
  color: #3a455d;
}

.admin-inline-actions .btn-delete:hover,
.admin-inline-actions .btn-delete:focus-visible {
  background: #e8ecf4;
  outline: none;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
}

.admin-modal.is-open {
  display: block;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 32, 0.5);
}

#confirm-modal .admin-modal-backdrop {
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(16, 22, 32, 0.35);
}

.admin-modal-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(520px, calc(100vw - 20px));
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 10px;
  padding: 14px;
}

.admin-modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 1px solid #d2d7e1;
  border-radius: 8px;
  background: #f4f6fa;
  color: #3d475c;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.admin-modal-title {
  margin: 0 0 4px;
  color: #1e2634;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.admin-modal-user {
  margin: 10px 0 0;
  color: #1e2634;
  font-size: 0.96rem;
  font-weight: 500;
}

.admin-modal-meta {
  margin: 4px 0 0;
  color: #657188;
  font-size: 0.86rem;
}

.admin-modal-actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-modal-actions form {
  margin: 0;
}

.admin-modal-actions button {
  width: 100%;
  min-height: 38px;
  border: 1px solid #c81b5a;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ui-font);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
}

.admin-modal-actions button:hover,
.admin-modal-actions button:focus-visible {
  background: #c81b5a;
  outline: none;
}

.admin-modal-actions .btn-cancel {
  border-color: #c5cad6;
  background: #f4f6fa;
  color: #3a455d;
}

.admin-modal-actions .btn-cancel:hover,
.admin-modal-actions .btn-cancel:focus-visible {
  background: #e8ecf4;
  outline: none;
}

.confirm-modal-actions {
  margin-top: 20px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f2f4f9;
  color: #4f5b72;
  font-size: 0.78rem;
  font-weight: 500;
}

.notify-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2px 0 0;
}

.notify-table tbody tr {
  border-bottom: 1px solid #dfe3eb;
}

.notify-table tbody tr:first-child {
  border-top: 1px solid #dfe3eb;
}

.notify-table td {
  padding: 11px 0;
  vertical-align: middle;
  font-size: 0.88rem;
  font-weight: 500;
  color: #2a3140;
}

.notify-table td:last-child {
  width: 1%;
  text-align: right;
}

.notify-switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
}

.notify-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.notify-switch-slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #dadde5;
  transition: background-color 0.18s ease;
}

.notify-switch-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease;
}

.notify-switch input:checked + .notify-switch-slider {
  background: var(--accent);
}

.notify-switch input:checked + .notify-switch-slider::before {
  transform: translateX(20px);
}

.notify-switch input:focus-visible + .notify-switch-slider {
  outline: 2px solid #d2447d;
  outline-offset: 2px;
}

.notifications-card .admin-form {
  max-width: 100%;
}

.notifications-card .admin-submit-row {
  margin-top: 22px;
}

.admin-notification-users {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.admin-notification-users li {
  background: #ffffff;
  border-radius: 8px;
  padding: 9px 10px;
  color: #1e2634;
  font-size: 0.9rem;
  font-weight: 500;
}

.notifications-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.notifications-actions .admin-submit-btn {
  border: 1px solid #c81b5a;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ui-font);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0 12px;
  min-height: 40px;
}

.notifications-actions .admin-submit-btn:hover,
.notifications-actions .admin-submit-btn:focus-visible {
  background: #c81b5a;
  outline: none;
}

.perfume-modal-notify-icon {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f4f6fa;
  color: #3d475c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.perfume-modal-notify-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.perfume-modal-notify-icon:hover,
.perfume-modal-notify-icon:focus-visible {
  background: #e8ecf4;
  outline: none;
}

.perfume-modal-notify-icon.is-active {
  border-color: #d2447d;
  background: #fcecf3;
  color: #c81b5a;
}

.perfume-modal-notify-icon[hidden] {
  display: none !important;
}

@media (max-width: 980px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

.perfume-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.perfume-modal.is-open {
  display: block;
}

.perfume-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 32, 0.5);
}

.perfume-modal-sheet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(980px, calc(100vw - 22px));
  max-height: calc(100vh - 22px);
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  overflow: auto;
}

.perfume-modal-close {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 1px solid #d2d7e1;
  border-radius: 8px;
  background: #f4f6fa;
  color: #3d475c;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.perfume-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.perfume-modal-info h2 {
  margin: 4px 0 0;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 500;
}

.detail-shell {
  max-width: 980px;
}

.detail-back-row {
  margin-bottom: 10px;
}

.detail-back-link {
  color: #3f4d66;
  text-decoration: none;
  font-size: 0.9rem;
}

.detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: #fff;
  border-radius: 10px;
  padding: 14px;
}

.detail-card-top {
  min-height: 34px;
  display: flex;
  align-items: flex-start;
}

.detail-image-wrap {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-image-wrap img {
  max-width: 86%;
  max-height: 320px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.detail-info-col h2 {
  margin: 4px 0 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

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

.detail-meta-grid div {
  background: #f5f6f8;
  border-radius: 8px;
  padding: 8px;
}

.detail-meta-grid dt {
  color: #647089;
  font-size: 0.76rem;
  font-weight: 400;
}

.detail-meta-grid dd {
  margin: 2px 0 0;
  color: #232a37;
  font-size: 0.84rem;
  font-weight: 400;
}

.detail-request-form {
  margin-top: 14px;
}

.detail-request-form label {
  display: block;
  color: #4e5a72;
  margin-bottom: 6px;
  font-size: 0.82rem;
}

.detail-request-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px;
}

.detail-request-row.has-notify {
  grid-template-columns: 90px 1fr 40px;
}

.detail-request-row input[type="number"] {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f9fafc;
  text-align: center;
  font-family: var(--ui-font);
  font-size: 0.9rem;
}

.detail-request-row button {
  width: 100%;
  min-height: 40px;
  border: 1px solid #c81b5a;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ui-font);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}

.detail-request-row button:disabled {
  opacity: 0.75;
  cursor: wait;
}

.modal-feedback {
  margin-top: 8px;
  min-height: 20px;
  font-size: 0.84rem;
  line-height: 1.2;
}

.modal-feedback.success {
  color: #1f7a45;
}

.modal-feedback.error {
  color: #a11f3f;
}

.modal-request-note {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #657188;
}

.detail-request-row button:hover,
.detail-request-row button:focus-visible {
  background: #c81b5a;
  outline: none;
}

.notice {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: fit-content;
  max-width: calc(100vw - 24px);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #c81b5a;
  background: var(--accent);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(195, 27, 90, 0.18);
  z-index: 1400;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.notice.success {
  border-color: #c81b5a;
  background: var(--accent);
  color: #fff;
}

.notice.error {
  border-color: #b31b51;
  background: #c81b5a;
  color: #fff;
}

.notice.is-hiding {
  opacity: 0;
  transform: translate(-50%, -4px);
}

.requests-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 500;
  color: #2a3140;
}

.requests-section-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #2a3140;
}

.requests-section-title-spaced {
  margin-top: 22px;
}

.wishlist-intro {
  margin: 6px 0 0;
  color: #657188;
  font-size: 0.9rem;
}


.wishlist-picker-form {
  background: #fff;
  border: 1px solid #e3e7ef;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
}

.wishlist-picker-label {
  display: block;
  color: #5d687f;
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.wishlist-picker-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.wishlist-picker-row select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f9fafc;
  color: #2a3140;
  padding: 0 10px;
  font-family: var(--ui-font);
  font-size: 0.88rem;
}

.wishlist-picker-row button {
  min-height: 38px;
  border: 1px solid #c81b5a;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ui-font);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0 12px;
}

.wishlist-picker-row button:hover,
.wishlist-picker-row button:focus-visible {
  background: #c81b5a;
  outline: none;
}

.wishlist-block {
  margin-top: 14px;
}

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

.wishlist-item {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}

.wishlist-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.wishlist-item-head strong {
  color: #1e2634;
  font-size: 1rem;
  font-weight: 500;
}

.wishlist-action-row {
  margin-top: 10px;
  display: inline-flex;
}

.wishlist-action-row button,
.wishlist-action-row .btn-delete {
  min-height: 38px;
  border-radius: 8px;
  font-family: var(--ui-font);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0 12px;
}

.wishlist-action-row button {
  border: 1px solid #c81b5a;
  background: var(--accent);
  color: #fff;
}

.wishlist-action-row button:hover,
.wishlist-action-row button:focus-visible {
  background: #c81b5a;
  outline: none;
}

.wishlist-action-row .btn-delete {
  border: 1px solid #c5cad6;
  background: #f4f6fa;
  color: #3a455d;
}

.wishlist-action-row .btn-delete:hover,
.wishlist-action-row .btn-delete:focus-visible {
  background: #e8ecf4;
  outline: none;
}

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

.cart-item {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
}

.cart-item-delivered {
  border: 1px solid #e4e8f0;
}

.cart-item .card-top {
  margin-bottom: 10px;
}

.cart-item-head {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.cart-item-head img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cart-item-head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #1e2634;
}

.cart-item-note {
  margin: 6px 0 0;
  color: #657188;
  font-size: 0.84rem;
}

.cart-item-total {
  color: #1e2634;
  font-size: 1.02rem;
  font-weight: 500;
  white-space: nowrap;
}

.cart-item-actions {
  display: grid;
  grid-template-columns: max-content auto;
  align-items: center;
  gap: 8px;
  justify-content: end;
}

.admin-request-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.admin-request-actions form {
  margin: 0;
}

.admin-request-actions .admin-open-modal-btn,
.admin-request-actions button {
  min-height: 38px;
  border-radius: 8px;
  font-family: var(--ui-font);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0 12px;
}

.admin-request-actions button {
  border: 1px solid #c81b5a;
  background: var(--accent);
  color: #fff;
}

.admin-request-actions button:hover,
.admin-request-actions button:focus-visible {
  background: #c81b5a;
  outline: none;
}

.admin-request-actions .btn-delete {
  border: 1px solid #c5cad6;
  background: #f4f6fa;
  color: #3a455d;
}

.admin-request-actions .btn-delete:hover,
.admin-request-actions .btn-delete:focus-visible {
  background: #e8ecf4;
  outline: none;
}

.cart-qty-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-form input[type="number"] {
  width: 82px;
  min-height: 38px;
  border: 1px solid #cfd5e0;
  border-radius: 8px;
  background: #f9fafc;
  text-align: center;
  font-family: var(--ui-font);
  font-size: 0.88rem;
}

.cart-qty-form button,
.cart-delete-form button {
  width: auto;
  min-height: 38px;
  border: 1px solid #c81b5a;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ui-font);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0 12px;
}

.cart-delete-form {
  display: inline-flex;
}

.cart-qty-form button:hover,
.cart-qty-form button:focus-visible,
.cart-delete-form button:hover,
.cart-delete-form button:focus-visible {
  background: #c81b5a;
  outline: none;
}

.cart-delete-form .btn-delete {
  border-color: #c5cad6;
  background: #f4f6fa;
  color: #3a455d;
}

.cart-delete-form .btn-delete:hover,
.cart-delete-form .btn-delete:focus-visible {
  background: #e8ecf4;
}

.cart-summary {
  margin-top: 12px;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.cart-summary-row span {
  color: #657188;
  font-size: 0.9rem;
}

.cart-summary-row strong {
  color: #1e2634;
  font-size: 1.18rem;
  font-weight: 600;
}

.cart-list .cart-item + .cart-item {
  margin-top: 2px;
}

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

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

  .card-body h2 {
    font-size: 0.96rem;
  }

  .price {
    font-size: 0.98rem;
  }

}

@media (max-width: 700px) {
  .shop-shell {
    width: calc(100% - 14px);
    margin-top: 10px;
  }

  .shop-header {
    padding-top: 6px;
    margin-bottom: 18px;
  }

  .shop-header-row {
    min-height: 44px;
    align-items: center;
  }

  .shop-logo {
    font-size: 1.72rem;
    line-height: 1;
  }

  .header-actions {
    gap: 6px;
    justify-content: flex-end;
  }

  .header-actions.has-drawer,
  .header-actions.has-drawer .admin-header-drawer {
    justify-content: flex-start;
  }

  .header-actions.has-drawer .header-menu-toggle {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 7px;
  }

  .header-actions.has-drawer .header-menu-toggle svg {
    width: 18px;
    height: 18px;
  }

  .header-actions.has-drawer .admin-header-backdrop {
    display: none;
  }

  .header-actions.has-drawer .admin-header-drawer {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    z-index: 1210;
    background: #fff;
    border: 0;
    border-radius: 0;
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    box-shadow: none;
    transform: translateX(calc(100% + 14px));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .header-actions.has-drawer .admin-header-drawer.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-actions.has-drawer .admin-header-tabs {
    margin-right: 0;
    width: 100%;
    display: grid;
    gap: 14px;
    margin-top: 18px;
  }

  .header-actions.has-drawer .admin-header-drawer .header-icon-link {
    width: 100%;
    min-height: 48px;
    border-radius: 0;
    justify-content: flex-start;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    transition: transform 0.16s ease, color 0.16s ease;
  }

  .header-actions.has-drawer .admin-header-drawer .header-icon-link svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }

  .header-actions.has-drawer .admin-header-drawer .header-icon-link::after {
    content: attr(title);
    font-size: 1.06rem;
    font-weight: 600;
  }

  .header-actions.has-drawer .menu-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 1.7rem;
  }

  .menu-user-name {
    margin: 2px 0 0;
    padding-right: 44px;
    font-size: 1.28rem;
    font-weight: 700;
    text-align: left;
  }

  .notice {
    top: 10px;
    max-width: calc(100vw - 14px);
    padding: 11px 12px;
    font-size: 0.92rem;
    white-space: normal;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .requests-page .shop-shell {
    width: calc(100% - 14px);
  }

  .cart-item-head {
    grid-template-columns: 56px 1fr;
  }

  .cart-item-head img {
    width: 56px;
    height: 56px;
  }

  .cart-item-total {
    grid-column: 1 / -1;
  }

  .cart-item-actions {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 10px;
  }

  .admin-request-actions {
    justify-content: flex-end;
    gap: 8px;
  }

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

  .admin-overview-qty {
    align-self: flex-end;
  }

  .cart-qty-form {
    display: grid;
    grid-template-columns: 96px 1fr;
    width: 100%;
    gap: 10px;
    align-items: stretch;
  }

  .cart-qty-form input[type="number"] {
    width: 100%;
    min-height: 44px;
    font-size: 1rem;
  }

  .cart-qty-form button,
  .cart-delete-form button {
    min-height: 44px;
    font-size: 0.94rem;
    padding: 0 14px;
  }

  .cart-delete-form {
    width: 100%;
  }

  .cart-delete-form button {
    width: 100%;
  }

  .detail-request-row {
    grid-template-columns: 96px 1fr;
    gap: 10px;
  }

  .detail-request-row.has-notify {
    grid-template-columns: 96px 1fr 40px;
  }

  .detail-request-row input[type="number"],
  .detail-request-row button {
    min-height: 44px;
    font-size: 0.94rem;
  }

  .image-wrap {
    min-height: 240px;
  }

  .image-wrap img {
    max-height: 220px;
  }

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

  .detail-image-wrap {
    min-height: 240px;
  }


  .detail-image-wrap img {
    max-height: 220px;
  }

  .perfume-modal-sheet {
    width: calc(100vw - 12px);
    max-height: calc(100vh - 12px);
    padding: 10px;
  }

  .perfume-modal-body {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111520;
    --surface: #191e2d;
    --line: #2b3245;
    --ink: #dde1ec;
    --muted: #8892a6;
    --accent: #e32c72;
  }

  html, body {
    color-scheme: dark;
  }

  /* nav / header buttons */
  .header-icon-link {
    border-color: #2b3245;
    background: #1f2638;
    color: #c5cee0;
  }
  .header-icon-link:hover,
  .header-icon-link:focus-visible {
    background: #252d42;
  }
  .header-icon-link.is-active {
    border-color: #8c2c50;
    background: #2d1825;
    color: #e0547d;
  }

  .header-menu-toggle {
    border-color: #2b3245;
    background: #1f2638;
    color: #c5cee0;
  }

  /* drawer */
  .header-actions.has-drawer .admin-header-drawer {
    background: #191e2d;
    border-color: #2b3245;
  }

  /* nav tabs */
  .admin-header-tab {
    border-color: #2b3245;
    background: #1f2638;
    color: #c0c9dc;
  }

  /* search */
  .search-form input[type="text"] {
    border-color: #2b3245;
    background: #1f2638;
    color: #dde1ec;
  }

  /* product cards */
  .product-card {
    background: var(--surface);
  }

  /* auth */
  .auth-card {
    background: #191e2d;
  }
  .auth-head h2 { color: #dde1ec; }
  .auth-head p { color: #8892a6; }
  .auth-form label { color: #8892a6; }
  .auth-form input[type="text"],
  .auth-form input[type="password"] {
    border-color: #2b3245;
    background: #111520;
    color: #dde1ec;
  }
  .auth-toggle-btn {
    border-color: #2b3245;
    background: #1f2638;
    color: #c0c9dc;
  }
  .auth-footnote { color: #8892a6; }
  .auth-note { color: #e0547d; }

  /* admin forms */
  .admin-form label { color: #8892a6; }
  .admin-form input[type="text"],
  .admin-form select,
  .admin-form input[type="number"] {
    border-color: #2b3245;
    background: #111520;
    color: #dde1ec;
  }

  .admin-row-actions button,
  .admin-form button:not(.btn-delete),
  .admin-inline-actions button:not(.btn-delete) {
    border-color: #a81a4a;
  }

  .admin-row-actions .btn-delete,
  .admin-form .btn-delete,
  .admin-inline-actions .btn-delete {
    border-color: #2b3245;
    background: #1f2638;
    color: #c0c9dc;
  }
  .admin-row-actions .btn-delete:hover,
  .admin-form .btn-delete:hover,
  .admin-inline-actions .btn-delete:hover {
    background: #252d42;
  }

  .admin-open-modal-btn {
    border-color: #2b3245;
    background: #1f2638;
    color: #c0c9dc;
  }
  .admin-open-modal-btn:hover { background: #252d42; }

  .admin-pending-card {
    background: #1f2638;
  }
  .admin-pending-row { border-color: #2b3245; }
  .admin-pending-name { color: #dde1ec; }

  .admin-badge {
    background: #1f2638;
    color: #8892a6;
  }

  /* modal */
  .admin-modal-sheet,
  .perfume-modal-sheet {
    background: #191e2d;
  }
  .admin-modal-close,
  .perfume-modal-close {
    border-color: #2b3245;
    background: #1f2638;
    color: #c0c9dc;
  }
  .admin-modal-title,
  .admin-modal-user { color: #dde1ec; }
  .admin-modal-meta { color: #8892a6; }
  .admin-modal-actions button:not(.btn-delete) { border-color: #a81a4a; }

  /* notify table */
  .notify-table tbody tr { border-color: #2b3245; }
  .notify-table td { color: #c0c9dc; }
  .notify-switch-slider { background: #2b3245; }

  /* detail card */
  .detail-card { background: var(--surface); }
  .detail-back-link { color: #8892a6; }
  .detail-meta-grid div { background: #1f2638; }
  .detail-meta-grid dt { color: #8892a6; }
  .detail-meta-grid dd { color: #c0c9dc; }
  .detail-request-form label { color: #8892a6; }
  .detail-request-row input[type="number"] {
    border-color: #2b3245;
    background: #111520;
    color: #dde1ec;
  }
  .modal-feedback.success { color: #4db87a; }
  .modal-feedback.error { color: #e0547d; }
  .modal-request-note { color: #8892a6; }

  /* perfume modal notify icon */
  .perfume-modal-notify-icon {
    border-color: #2b3245;
    background: #1f2638;
    color: #c0c9dc;
  }
  .perfume-modal-notify-icon:hover { background: #252d42; }
  .perfume-modal-notify-icon.is-active {
    border-color: #8c2c50;
    background: #2d1825;
    color: #e0547d;
  }

  /* cart */
  .cart-item { background: var(--surface); }
  .cart-item-delivered { border-color: #2b3245; }
  .cart-item-head h3 { color: #dde1ec; }
  .cart-item-note { color: #8892a6; }
  .cart-item-total { color: #dde1ec; }
  .cart-summary {
    background: var(--surface);
  }
  .cart-summary-row span { color: #8892a6; }
  .cart-summary-row strong { color: #dde1ec; }

  .cart-qty-form input[type="number"],
  .cart-delete-form input[type="number"] {
    border-color: #2b3245;
    background: #111520;
    color: #dde1ec;
  }
  .cart-qty-form button:not(.btn-delete),
  .cart-delete-form button:not(.btn-delete) {
    border-color: #a81a4a;
  }
  .cart-delete-form .btn-delete {
    border-color: #2b3245;
    background: #1f2638;
    color: #c0c9dc;
  }
  .cart-delete-form .btn-delete:hover { background: #252d42; }

  .admin-request-actions .btn-delete {
    border-color: #2b3245;
    background: #1f2638;
    color: #c0c9dc;
  }
  .admin-request-actions .btn-delete:hover { background: #252d42; }

  /* wishlist */
  .wishlist-picker-form {
    background: var(--surface);
    border-color: #2b3245;
  }
  .wishlist-picker-label { color: #8892a6; }
  .wishlist-picker-row select {
    border-color: #2b3245;
    background: #111520;
    color: #dde1ec;
  }
  .wishlist-item { background: var(--surface); }
  .wishlist-item-head strong { color: #dde1ec; }
  .wishlist-action-row .btn-delete {
    border-color: #2b3245;
    background: #1f2638;
    color: #c0c9dc;
  }
  .wishlist-action-row .btn-delete:hover { background: #252d42; }

  /* requests page titles */
  .requests-title,
  .requests-section-title { color: #dde1ec; }
  .wishlist-intro { color: #8892a6; }

  /* admin overview */
  .admin-overview-item {
    background: var(--surface);
  }
  .admin-overview-item--shortage {
    border-left-color: #e05c2a;
    background: #201810;
  }
  .admin-overview-item--shortage .admin-overview-title {
    color: #f08060;
  }
  .admin-overview-item--shortage .cart-item-note {
    color: #f08060;
  }
  .admin-overview-title { color: #dde1ec; }
  .admin-overview-qty { color: #dde1ec; }

  /* admin user group title badge */
  .admin-user-title {
    background: var(--accent);
    color: #fff;
  }

  /* admin notification users */
  .admin-notification-users li {
    background: var(--surface);
    color: #dde1ec;
  }

  /* product images – invert white-bg photos for dark cards */
  .image-wrap img,
  .detail-image-wrap img,
  .cart-item-head img {
    mix-blend-mode: screen;
    filter: invert(1) hue-rotate(180deg);
  }

  /* typography – hardcoded text colors on cards */
  .card-body h2 { color: #dde1ec; }
  .original-name { color: #a8b3c5; }
  .detail-info-col h2 { color: #dde1ec; }
  .perfume-modal-info h2 { color: #dde1ec; }

  /* empty / info states */
  .empty-state {
    border-color: #2b3245;
    background: #191e2d;
    color: #8892a6;
  }
}

@media (max-width: 420px) {
  .header-actions {
    gap: 5px;
  }

  .header-actions.has-drawer .header-menu-toggle {
    width: 34px;
    height: 34px;
  }

  .header-actions.has-drawer .admin-header-drawer {
    padding: 12px;
  }

  .header-actions.has-drawer .admin-header-drawer .header-icon-link {
    width: 100%;
    min-height: 42px;
    border-radius: 8px;
  }

  .header-actions.has-drawer .admin-header-drawer .header-icon-link svg {
    width: 15px;
    height: 15px;
  }
}
