:root {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --surface-2: #f0f0f0;
  --text: #101010;
  --muted: #666666;
  --line: #e6e6e6;
  --dark: #000000;
  --accent: #ff6a00;
  --accent-2: #f4d9ca;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --brand-light: #ffffff;
  --brand-dark: #111111;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-y: scroll; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Tajawal", sans-serif;
  padding-bottom: 86px;
}
body.login-screen {
  padding-bottom: 0;
  background: transparent;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--dark); color: #fff; }
.utility-bar {
  width: min(1400px, calc(100% - 24px)); margin: 0 auto; min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 16px;
}
.utility-actions, .utility-auth { display: flex; gap: 16px; align-items: center; }
.utility-auth { justify-content: flex-end; }
.brand-lockup { text-align: center; }
.brand-word { display: block; font-size: 42px; font-weight: 800; letter-spacing: .18em; }
.brand-sub { display: block; margin-top: -8px; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .32em; font-size: 11px; }
.ghost-link, .user-chip, .button-dark, .ghost-btn, .tile-cart {
  border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.ghost-link, .user-chip, .ghost-btn { background: #fff; color: #111; }
.user-chip { font-weight: 700; }
.button-dark, .tile-cart { background: var(--theme-button-color); color: #fff; }
.content-wrap, .akd-shell { width: min(1400px, calc(100% - 24px)); margin: 0 auto; }
.slim { width: min(980px, calc(100% - 24px)); }
.hero-search-row { padding: 18px 0 10px; }
.search-frame {
  background: #fff; border: 2px solid #111; border-radius: 18px; display: grid; grid-template-columns: 120px 1fr; overflow: hidden; max-width: 760px; margin: 0 auto;
}
.search-frame button { background: var(--theme-button-color); color: #fff; border: 0; }
.search-frame input { border: 0; padding: 18px 20px; background: #fff; }
.category-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(90px, 110px); gap: 18px; overflow-x: auto; padding: 14px 0 22px;
}
.category-chip { text-align: center; }
.category-chip-thumb {
  width: 88px; height: 88px; margin: 0 auto 10px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: var(--shadow); font-weight: 800;
}
.category-chip-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 16px; }
.main-banner {
  min-height: 360px; background: linear-gradient(120deg, rgba(0,0,0,.78), rgba(0,0,0,.18)), url('https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=1200&q=80') center/cover;
  border-radius: 24px; color: #fff; position: relative; overflow: hidden;
}
.banner-copy { position: absolute; left: 34px; bottom: 34px; max-width: 500px; }
.banner-copy span, .hero-banner span { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; }
.banner-copy h1 { margin: 10px 0 12px; font-size: clamp(34px, 5vw, 56px); line-height: .95; }
.banner-link { display: inline-flex; margin-top: 16px; padding: 13px 18px; border-radius: 999px; background: #fff; color: #111; font-weight: 800; }
.hero-grid .side-banner {
  background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 172px; box-shadow: var(--shadow);
}
.hero-grid .muted { background: linear-gradient(135deg, #efe2da, #ffffff); }
.feature-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0 8px; }
.feature-card, .product-tile, .admin-panel, .cart-card, .checkout-panel, .admin-tabs, .order-admin-card, .item-admin-card, .empty-state {
  background: #fff; border-radius: 22px; box-shadow: var(--shadow);
}
.feature-card { overflow: hidden; }
.feature-image { aspect-ratio: .9 / 1; background: #f2f2f2; display: grid; place-items: center; }
.feature-image img, .tile-image img, .cart-thumb img, .item-admin-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 14px; }
.feature-body p, .tile-tag, .tile-desc, .page-headline p, .cart-info p, .item-admin-body p, .line-row span, .status-stack span { color: var(--muted); }
.catalog-zone { padding: 18px 0 28px; }
.catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.catalog-head h2, .page-headline h1, .admin-panel h2 { margin: 0; }
.product-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product-tile { overflow: hidden; }
.tile-image { aspect-ratio: .83 / 1; background: #f2f2f2; display: grid; place-items: center; }
.tile-body { padding: 14px; }
.tile-tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.tile-body h3 { margin: 8px 0; font-size: 16px; line-height: 1.25; min-height: 40px; }
.tile-desc { font-size: 13px; min-height: 40px; }
.tile-row { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.tile-row span { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.page-headline { padding: 24px 0 18px; }
.page-headline h1 { font-size: 38px; }
.cart-stack, .list-stack, .order-admin-table { display: grid; gap: 16px; }
.cart-card { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; padding: 16px; }
.cart-thumb { width: 120px; height: 140px; border-radius: 16px; overflow: hidden; background: #f2f2f2; display: grid; place-items: center; }
.checkout-panel { padding: 22px; display: flex; justify-content: space-between; align-items: center; }
.admin-wrap { padding-top: 20px; }
.admin-tabs { padding: 8px; display: flex; gap: 8px; margin-bottom: 18px; }
.admin-tabs a { padding: 12px 18px; border-radius: 14px; color: #444; font-weight: 700; }
.admin-tabs a.active { background: var(--theme-button-color); color: #fff; }
.admin-layout.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.admin-panel { padding: 20px; }
.stack-form { display: grid; gap: 12px; }
.stack-form input, .stack-form select, .stack-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 14px 15px;
}
.panel-head, .line-row, .order-admin-card, .micro-stats, .row-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.item-admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.item-admin-card { overflow: hidden; }
.item-admin-image { aspect-ratio: 1 / .9; background: #f2f2f2; display: grid; place-items: center; }
.item-admin-body { padding: 14px; }
.micro-stats { flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 12px 0; }
.order-admin-card { padding: 18px; }
.status-stack { display: grid; gap: 6px; }
.line-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-row.wide { grid-template-columns: 1fr auto auto; display: grid; }
.empty-state { padding: 30px; text-align: center; }
.mobile-nav {
  position: fixed; bottom: 12px; left: 12px; right: 12px; display: none; justify-content: space-around; gap: 8px;
  background: rgba(0,0,0,.94); color: #fff; padding: 14px; border-radius: 18px; z-index: 60;
}
.toast { position: fixed; right: 18px; bottom: 100px; background: var(--theme-button-color); color: #fff; padding: 14px 16px; border-radius: 14px; z-index: 100; }
.toast-error { background: #b42318; }
.hidden { display: none; }
.message-box { margin-top: 12px; background: #fff0ef; color: #b42318; padding: 12px 14px; border-radius: 14px; }
.auth-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.auth-card {
  max-width: 520px;
  background: #fff;
  border: 1px solid #d9e1ea;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}
.auth-card .eyebrow {
  margin: 0 0 10px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.auth-card h1 {
  margin: 0 0 10px;
  color: #101828;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.auth-card > p:not(.eyebrow):not(.form-note) {
  margin: 0 0 28px;
  color: #667085;
  font-size: 17px;
  line-height: 1.6;
  max-width: 44ch;
}
.auth-card .stack-form {
  gap: 18px;
}
.auth-card .stack-form label {
  display: grid;
  gap: 8px;
}
.auth-card .stack-form label > span {
  color: #344054;
  font-size: 14px;
  font-weight: 700;
}
.auth-card .stack-form input {
  min-height: 56px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  padding: 15px 18px;
  color: #101828;
  font-size: 17px;
  box-shadow: none;
}
.auth-card .stack-form input::placeholder {
  color: #98a2b3;
}
.auth-card .stack-form input:focus {
  outline: none;
  border-color: #98a2b3;
  box-shadow: 0 0 0 3px rgba(16, 24, 40, 0.08);
}
.auth-card .button.button-dark,
.auth-card .button.ghost-btn {
  min-height: 54px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  justify-content: center;
}
.auth-card .button.ghost-btn {
  background: #fff;
  border: 1px solid #d0d5dd;
  color: #101828;
}
.auth-card .button.ghost-btn:hover {
  background: #f8fafc;
}
.auth-card .form-note {
  margin: -2px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
}
.auth-card .message-box {
  margin-top: 18px;
  border: 1px solid #fecdca;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
}
.login-page-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background: linear-gradient(135deg, var(--login-bg-start, #63d6df) 0%, var(--login-bg-end, #b329ff) 100%);
  overflow: hidden;
}
.login-page-shape {
  position: absolute;
  opacity: 1;
  background: rgba(255, 255, 255, 0.10);
  pointer-events: none;
  z-index: 0;
}
.login-page-shape-a {
  width: 340px;
  height: 260px;
  left: -36px;
  bottom: 96px;
  top: auto;
  transform: rotate(14deg);
  clip-path: polygon(0 12%, 100% 0, 78% 100%, 0 84%);
}
.login-page-shape-b {
  width: 170px;
  height: 170px;
  right: 96px;
  top: 118px;
  transform: rotate(14deg);
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 86%);
}
.login-page-shape-c {
  display: none;
}
.login-card {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  padding: 46px 42px 36px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}
.login-card-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.login-card-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}
.login-card-logo-fallback {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.08);
  color: #111;
  font-weight: 800;
}
.login-card h1 {
  margin: 0 0 22px;
  text-align: center;
  color: #2f2f2f;
  font-size: 24px;
  font-weight: 800;
}
.login-card-subtitle {
  margin: 0 0 24px;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.login-form {
  display: grid;
  gap: 18px;
}
.login-form label {
  display: grid;
  gap: 10px;
}
.login-form label > span {
  color: #475467;
  font-size: 13px;
  font-weight: 700;
}
.login-form input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-bottom: 1px solid #d0d5dd;
  border-radius: 0;
  background: transparent;
  padding: 10px 2px 12px;
  color: #101828;
  font-size: 16px;
  box-shadow: none;
}
.login-form input::placeholder {
  color: #98a2b3;
}
.login-form input:focus {
  outline: none;
  border-bottom-color: #7f56d9;
  box-shadow: inset 0 -1px 0 #7f56d9;
}
.login-submit-button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--login-bg-start, #63d6df) 0%, var(--login-bg-end, #b329ff) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  justify-content: center;
}
.login-google-button {
  min-height: 52px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #fff;
  color: #101828;
  font-size: 14px;
  font-weight: 700;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0 18px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.login-google-button:hover {
  border-color: #a7b0c0;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}
.login-google-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  flex: 0 0 auto;
}
.login-divider {
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.login-divider span {
  color: #98a2b3;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.login-help-text {
  margin: 4px 0 0;
  color: #98a2b3;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
.login-card .message-box {
  margin-top: 18px;
  border-radius: 8px;
  font-size: 13px;
}
.akd-top-search {
  background: var(--theme-header-dark);
}
.light-home .akd-top-search {
  background: var(--theme-header-light);
}
.akd-nav-spacer,
.admin-header-strip,
.customer-header-strip {
  background: var(--theme-header-light);
}
.light-home .akd-nav-spacer,
.light-home .akd-nav-row-wrap {
  background: var(--theme-header-dark);
}
.button-dark,
.tile-cart,
.product-add-button,
.login-submit-button,
.admin-tabs a.active,
.customer-header-strip .customer-tabs a.active,
.admin-header-strip .admin-tabs a.active,
.customer-ribbon a.active,
.finance-ribbon a.active,
.pagination-btn.active,
.prompt-modal-actions .primary-btn {
  background: var(--theme-button-color) !important;
  border-color: var(--theme-button-color) !important;
  color: #fff !important;
}
@media (max-width: 1180px) {
  .product-wall { grid-template-columns: repeat(4, 1fr); }
  .feature-showcase { grid-template-columns: repeat(2, 1fr); }
  .item-admin-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .utility-bar { grid-template-columns: 1fr; padding: 12px 0; }
  .utility-actions, .utility-auth { justify-content: center; flex-wrap: wrap; }
  .brand-lockup { order: -1; }
  .hero-grid, .admin-layout.two-col, .cart-card, .checkout-panel, .order-admin-card, .catalog-head { grid-template-columns: 1fr; display: grid; }
  .product-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .auth-layout {
    padding: 28px 14px 48px;
  }
  .auth-card {
    max-width: none;
    padding: 24px 18px;
    border-radius: 14px;
  }
  .auth-card h1 {
    font-size: 32px;
  }
  .auth-card > p:not(.eyebrow):not(.form-note) {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .auth-card .stack-form input,
  .auth-card .button.button-dark,
  .auth-card .button.ghost-btn {
    min-height: 50px;
    font-size: 16px;
  }
  .login-page-shell {
    padding: 24px 12px;
  }
  .login-card {
    width: 100%;
    padding: 30px 22px 24px;
  }
  .login-card h1 {
    font-size: 22px;
  }
}
@media (max-width: 700px) {
  body { padding-bottom: 92px; }
  .brand-word { font-size: 32px; }
  .search-frame { grid-template-columns: 92px 1fr; }
  .hero-grid, .feature-showcase, .product-wall, .item-admin-grid { grid-template-columns: 1fr 1fr; }
  .main-banner { min-height: 280px; }
  .banner-copy { left: 20px; right: 20px; bottom: 20px; }
  .banner-copy h1 { font-size: 34px; }
  .cart-card { grid-template-columns: 1fr; }
  .cart-thumb { width: 100%; height: 220px; }
  .mobile-nav { display: flex; }
}
@media (max-width: 520px) {
  .hero-grid, .feature-showcase, .product-wall, .item-admin-grid { grid-template-columns: 1fr; }
  .category-strip { grid-auto-columns: 88px; }
}

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

.link-row:hover {
  background: #fafafa;
  border-radius: 14px;
}

.tx-row {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1fr 1fr 1fr;
  gap: 12px;
  align-items: center;
}

@media (max-width: 920px) {
  .tx-row,
  .line-row.wide {
    grid-template-columns: 1fr;
  }
}

.cart-actions-row {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
  margin-top: 12px;
}

.qty-box {
  display: grid;
  gap: 6px;
}

.qty-box input {
  width: 96px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.qty-stepper input {
  width: 64px;
  border: 0;
  text-align: center;
  padding: 10px 6px;
}

.qty-btn {
  width: 40px;
  height: 42px;
  border: 0;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 20px;
}

.cart-card {
  position: relative;
}

.cart-delete {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  z-index: 2;
}

.trash-icon {
  font-size: 16px;
  line-height: 1;
}

.cart-loading {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-top-color: #111;
  border-radius: 50%;
  display: inline-block;
  animation: cart-spin .8s linear infinite;
}

.cart-card.is-loading {
  opacity: .7;
}

.cart-card.is-loading .qty-btn,
.cart-card.is-loading input,
.cart-card.is-loading .cart-delete {
  pointer-events: none;
}

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

.page-loader {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(2px);
  z-index: 200;
  display: grid;
  place-items: center;
}

.page-loader-spinner {
  width: 52px;
  height: 52px;
  border: 4px solid #e5e5e5;
  border-top-color: #111;
  border-radius: 50%;
  animation: cart-spin .8s linear infinite;
}

.page-busy {
  overflow: hidden;
}

.cart-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trash-svg {
  width: 18px;
  height: 18px;
  color: #111;
}

.page-loader[hidden] {
  display: none !important;
}

.order-link-card,
.order-link-block {
  color: inherit;
  text-decoration: none;
}

.order-link-card:hover,
.order-link-block:hover {
  opacity: .92;
}

.detail-actions {
  margin-top: 18px;
}

.feature-image,
.tile-image {
  overflow: hidden;
}

.feature-image img,
.tile-image img,
.item-admin-image img,
.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tile-image {
  aspect-ratio: 1 / 1.08;
}

.feature-image {
  aspect-ratio: 1 / 1.02;
}

.cart-thumb {
  height: 120px;
}

@media (max-width: 700px) {
  .category-chip-thumb {
    width: 72px;
    height: 72px;
  }

  .feature-image {
    aspect-ratio: 1 / .9;
    max-height: 220px;
  }

  .tile-image {
    aspect-ratio: 1 / .95;
    max-height: 210px;
  }

  .item-admin-image {
    aspect-ratio: 1 / .82;
    max-height: 180px;
  }

  .cart-thumb {
    height: 140px;
  }
}

@media (max-width: 520px) {
  .feature-image {
    max-height: 190px;
  }

  .tile-image {
    max-height: 180px;
  }

  .item-admin-image {
    max-height: 160px;
  }

  .cart-thumb {
    height: 120px;
  }
}

.akd-shell {
  width: min(1820px, calc(100% - 20px));
}

.hero-search-row {
  padding: 10px 0 6px;
}

.category-strip {
  gap: 12px;
  padding: 10px 0 14px;
}

.category-chip span:last-child {
  font-size: 13px;
}

.hero-grid {
  gap: 12px;
}

.main-banner {
  min-height: 250px;
}

.hero-grid .side-banner {
  min-height: 119px;
  padding: 20px;
}

.banner-copy {
  left: 24px;
  bottom: 24px;
  max-width: 420px;
}

.banner-copy h1 {
  font-size: clamp(24px, 3.2vw, 40px);
}

.banner-copy p,
.hero-grid .side-banner h3,
.hero-grid .side-banner span {
  font-size: 14px;
}

.feature-showcase {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px 0 4px;
}

.feature-body {
  padding: 10px 12px 12px;
}

.feature-body h3 {
  margin: 4px 0 6px;
  font-size: 15px;
}

.catalog-zone {
  padding: 12px 0 22px;
}

.catalog-head {
  margin-bottom: 12px;
}

.catalog-head h2 {
  font-size: 28px;
}

.catalog-head p {
  font-size: 14px;
}

.product-wall {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.product-tile {
  border-radius: 14px;
}

.tile-image {
  aspect-ratio: .88 / 1;
  max-height: 290px;
}

.tile-body {
  padding: 10px 10px 12px;
}

.tile-tag {
  font-size: 11px;
}

.tile-body h3 {
  margin: 4px 0;
  font-size: 14px;
  min-height: 34px;
}

.tile-desc {
  font-size: 12px;
  min-height: 30px;
  margin: 0 0 8px;
}

.tile-row strong {
  font-size: 15px;
}

.tile-row span {
  font-size: 11px;
}

.tile-cart {
  padding: 9px 12px;
  font-size: 12px;
}

@media (max-width: 1400px) {
  .product-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .akd-shell {
    width: min(100%, calc(100% - 14px));
  }

  .main-banner {
    min-height: 190px;
  }

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

  .product-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .utility-bar {
    min-height: 58px;
  }

  .utility-actions, .utility-auth {
    gap: 10px;
  }

  .brand-word {
    font-size: 24px;
  }

  .brand-sub {
    font-size: 9px;
  }

  .search-frame {
    max-width: none;
    border-radius: 12px;
  }

  .category-strip {
    gap: 10px;
    padding: 8px 0 12px;
  }

  .hero-grid {
    gap: 10px;
  }

  .main-banner {
    min-height: 150px;
    border-radius: 16px;
  }

  .hero-grid .side-banner {
    min-height: 86px;
    border-radius: 16px;
    padding: 14px;
  }

  .banner-copy {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .banner-copy h1 {
    font-size: 22px;
    margin: 6px 0;
  }

  .banner-copy p {
    display: none;
  }

  .banner-link {
    margin-top: 8px;
    padding: 9px 12px;
    font-size: 12px;
  }

  .feature-showcase {
    gap: 10px;
    padding-top: 10px;
  }

  .feature-card,
  .product-tile {
    border-radius: 12px;
  }

  .feature-image {
    max-height: 150px;
  }

  .feature-body {
    padding: 8px 8px 10px;
  }

  .feature-body h3 {
    font-size: 13px;
  }

  .catalog-head h2 {
    font-size: 20px;
  }

  .catalog-head p {
    font-size: 12px;
  }

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

  .tile-image {
    aspect-ratio: .9 / 1;
    max-height: 165px;
  }

  .tile-body {
    padding: 8px 8px 10px;
  }

  .tile-body h3 {
    font-size: 12px;
    min-height: 30px;
  }

  .tile-desc {
    font-size: 11px;
    min-height: 24px;
  }

  .tile-row strong {
    font-size: 13px;
  }

  .tile-cart {
    padding: 8px 10px;
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .product-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .tile-image {
    max-height: 148px;
  }

  .tile-body {
    padding: 7px 7px 9px;
  }

  .tile-tag {
    font-size: 10px;
  }

  .tile-body h3 {
    font-size: 11px;
    min-height: 28px;
  }

  .tile-desc {
    display: none;
  }

  .tile-row strong {
    font-size: 12px;
  }

  .tile-row span {
    font-size: 10px;
  }

  .tile-cart {
    min-width: 52px;
    padding: 7px 8px;
  }
}

.akd-home {
  width: min(1880px, calc(100% - 18px));
  margin: 0 auto;
  padding-bottom: 26px;
}

.akd-top-search {
  background: var(--theme-header-dark);
  color: #fff;
  display: grid;
  grid-template-columns: 220px minmax(380px, 660px) 1fr;
  align-items: center;
  gap: 18px;
  padding: 3px 18px;
  direction: ltr;
  position: relative;
}

.akd-icons {
  display: flex;
  gap: 14px;
  font-size: 18px;
  align-items: center;
}

.akd-search {
  display: grid;
  grid-template-columns: 70px 1fr;
  background: var(--theme-header-light);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #444;
}

.akd-search button {
  border: 0;
  background: var(--theme-header-dark);
  color: #fff;
  font-size: 28px;
}

.akd-search input {
  border: 0;
  padding: 12px 16px;
  font-size: 16px;
  text-align: right;
}

.akd-logo-lockup {
  display: flex;
  justify-content: flex-end;
}

.akd-logo-word {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: .18em;
}

.akd-nav-row {
  background: var(--theme-header-dark);
  color: #fff;
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
  align-items: center;
  overflow-x: auto;
  padding: 0 18px;
  min-height: 46px;
  font-size: 15px;
}

.akd-nav-row a {
  white-space: nowrap;
  opacity: .94;
}

.nav-arrow {
  font-size: 28px;
  line-height: 1;
}

.akd-hero-zone {
  display: grid;
  grid-template-columns: 370px 1fr 370px;
  gap: 18px;
  padding: 14px 0 20px;
}

.hero-side-column {
  display: grid;
  gap: 18px;
}

.mini-promo-card,
.hero-main-banner {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #ddd;
}

.mini-promo-card {
  min-height: 118px;
}

.mini-promo-thumb,
.hero-main-image {
  position: absolute;
  inset: 0;
}

.mini-promo-thumb img,
.hero-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-promo-card::after,
.hero-main-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.1), rgba(0,0,0,.46));
}

.mini-promo-copy,
.hero-main-copy {
  position: relative;
  z-index: 1;
  color: #fff;
}

.mini-promo-copy {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 22px;
  font-size: 20px;
}

.hero-main-banner {
  min-height: 390px;
}

.hero-main-copy {
  position: absolute;
  inset: auto 40px 30px auto;
  text-align: right;
}

.hero-main-copy span {
  font-size: 15px;
  letter-spacing: .12em;
}

.hero-main-copy h1 {
  margin: 8px 0;
  font-size: 68px;
  line-height: .95;
}

.hero-main-copy p {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.hero-main-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
}

.hero-main-dots button {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.92);
  display: inline-flex;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.hero-main-dots button.is-active {
  width: 28px;
  background: #111827;
}

.offer-landing {
  padding: 18px 20px 10px;
}

.offer-hero-banner {
  min-height: 420px;
  width: 100%;
}

.offer-hero-link {
  display: block;
  min-height: 420px;
  width: 100%;
}

.offer-products-section {
  padding-top: 12px;
}

.offer-products-section .panel-head {
  margin-bottom: 16px;
}

.offer-products-section .akd-product-grid {
  gap: 20px;
}

.offers-list-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-list-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  color: inherit;
  display: grid;
  overflow: hidden;
  text-decoration: none;
}

.offer-list-thumb {
  aspect-ratio: 16 / 9;
  background: #e5e7eb;
  overflow: hidden;
}

.offer-list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-list-copy {
  display: grid;
  gap: 6px;
  padding: 16px 18px 18px;
}

.offer-list-copy span {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.offer-list-copy strong {
  color: #111827;
  font-size: 24px;
  line-height: 1.1;
}

.offer-list-copy p {
  color: #475569;
  margin: 0;
}

@media (max-width: 860px) {
  .offer-landing {
    padding: 14px 12px 8px;
  }

  .offer-hero-banner,
  .offer-hero-link {
    min-height: 240px;
  }

  .offers-list-grid {
    grid-template-columns: 1fr;
  }
}

.circle-category-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px 14px;
  padding: 6px 10px 18px;
}

.circle-category {
  text-align: center;
  color: inherit;
}

.circle-thumb {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #fff;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.circle-thumb-offers {
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  color: #f8fafc;
  position: relative;
}

.circle-thumb-offers svg {
  width: 54%;
  height: 54%;
}

.circle-thumb-offers-badge {
  position: absolute;
  right: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.32);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}

.circle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.circle-label {
  display: block;
  font-size: 15px;
  line-height: 1.35;
}

.akd-products-section {
  padding-top: 8px;
}

.akd-section-tabs {
  display: flex;
  justify-content: center;
  gap: 110px;
  padding: 18px 0 22px;
  font-size: 26px;
  font-weight: 700;
}

.akd-section-tabs button {
  border: 0;
  background: transparent;
  padding: 0 0 6px;
  margin: 0;
  color: #111;
  font: inherit;
  font-weight: inherit;
  line-height: 1.1;
  cursor: pointer;
}

.akd-section-tabs .active {
  border-bottom: 4px solid #333;
  padding-bottom: 6px;
}

.akd-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 16px;
}

.akd-product-card {
  background: transparent;
}

.akd-product-image {
  aspect-ratio: .82 / 1;
  background: #fff;
  overflow: hidden;
}

.akd-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.akd-product-body {
  padding: 6px 0 0;
  text-align: right;
}

.akd-product-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 500;
  min-height: 40px;
}

.akd-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.akd-price-row strong {
  font-size: 19px;
}

.akd-price-row span,
.akd-buy-row span {
  color: #666;
  font-size: 13px;
}

.akd-buy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.akd-cart-btn {
  width: 40px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #222;
  background: #fff;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .akd-hero-zone {
    grid-template-columns: 250px 1fr 250px;
  }

  .circle-category-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .akd-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .akd-top-search {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 12px;
  }

  .akd-logo-lockup,
  .akd-icons {
    justify-content: center;
  }

  .akd-logo-word {
    font-size: 38px;
  }

  .akd-hero-zone {
    grid-template-columns: 1fr;
  }

  .hero-side-column {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-main-banner {
    min-height: 260px;
  }

  .hero-main-copy h1 {
    font-size: 44px;
  }

  .circle-category-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .akd-section-tabs {
    gap: 36px;
    font-size: 20px;
  }

  .akd-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    display: none;
  }

  .akd-home {
    width: calc(100% - 10px);
  }

  .akd-top-search {
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .akd-top-search::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: calc(-1 * env(safe-area-inset-top, 0px));
    height: env(safe-area-inset-top, 0px);
    background: var(--theme-header-dark);
    pointer-events: none;
  }

  .akd-nav-row {
    gap: 14px;
    font-size: 13px;
    padding: 10px;
  }

  .hero-side-column {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mini-promo-card {
    min-height: 84px;
  }

  .mini-promo-copy {
    min-height: 84px;
    padding: 14px;
    font-size: 16px;
  }

  .hero-main-banner {
    min-height: 180px;
  }

  .hero-main-copy {
    right: 16px;
    bottom: 16px;
  }

  .hero-main-copy h1 {
    font-size: 28px;
  }

  .hero-main-copy p {
    font-size: 16px;
  }

  .circle-category-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 8px;
    padding: 10px 4px 14px;
  }

  .circle-thumb {
    width: 76px;
    height: 76px;
    margin-bottom: 6px;
  }

  .circle-label {
    font-size: 12px;
  }

  .akd-section-tabs {
    gap: 18px;
    font-size: 16px;
    padding: 10px 0 14px;
  }

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

  .akd-product-image {
    aspect-ratio: .82 / 1;
  }

  .akd-product-body h3 {
    font-size: 12px;
    min-height: 34px;
  }

  .akd-price-row strong {
    font-size: 16px;
  }

  .akd-price-row span,
  .akd-buy-row span {
    font-size: 11px;
  }
}

.akd-home {
  direction: ltr;
}

.akd-icons .svg-icon,
.akd-search button svg,
.akd-cart-btn svg {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.akd-icons .svg-icon {
  color: #fff;
  line-height: 0;
}

.akd-search button {
  display: grid;
  place-items: center;
}

.akd-cart-btn {
  display: grid;
  place-items: center;
  color: #111;
}

.hero-main-copy,
.mini-promo-copy,
.akd-product-body,
.akd-price-row,
.akd-buy-row,
.circle-category,
.akd-section-tabs,
.akd-nav-row {
  direction: ltr;
}

.svg-icon-inline,
.svg-icon-inline svg {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.akd-home {
  width: 100%;
  max-width: none;
}

.akd-top-search,
.akd-nav-row {
  width: 100%;
}

.akd-hero-zone,
.circle-category-strip,
.akd-products-section {
  padding-left: 18px;
  padding-right: 18px;
}

@media (max-width: 640px) {
  .akd-hero-zone,
  .circle-category-strip,
  .akd-products-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.light-home {
  background: #ffffff;
}

.light-home .akd-top-search {
  background: var(--theme-header-light);
  color: #111111;
  border-bottom: 1px solid #e6e6e6;
}

.light-home .svg-icon {
  color: #111111;
}

.light-home .akd-search {
  border: 1px solid #222;
}

.light-home .akd-search button {
  background: var(--theme-header-dark);
  color: #fff;
}

.light-home .akd-logo-word {
  color: #111;
}

.brand-with-logo {
  gap: 12px;
  align-items: center;
}

.company-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.company-contact-strip {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
  padding: 3px 18px;
  background: #fafafa;
  color: #444;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
}

.settings-panel {
  max-width: 760px;
}

.settings-workspace {
  max-width: none;
  width: 100%;
  padding: 16px;
  border-radius: 14px;
}

.settings-form {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.9fr);
  gap: 14px;
  align-items: start;
}

.settings-section-profile {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.settings-section-brand {
  grid-column: 2;
  grid-row: 1;
}

.settings-section-colors {
  grid-column: 2;
  grid-row: 2;
}

.settings-section {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  display: grid;
  gap: 12px;
  box-shadow: none;
}

.settings-section-head {
  display: grid;
  gap: 3px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.settings-section-head h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
}

.settings-section-head p {
  margin: 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.45;
}

.settings-grid {
  display: grid;
  gap: 10px;
}

.settings-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-field {
  display: grid;
  gap: 5px;
}

.settings-field > span {
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.settings-field-wide {
  grid-column: 1 / -1;
}

.settings-field textarea {
  min-height: 86px;
  resize: vertical;
}

.settings-brand-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.settings-logo-preview {
  min-height: 96px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fbfcfd;
  display: grid;
  place-items: center;
  padding: 10px;
}

.settings-logo-preview .company-logo {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
}

.settings-logo-fallback {
  color: #98a2b3;
  font-size: 12px;
  text-align: center;
}

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

.settings-login-preview {
  position: relative;
  overflow: hidden;
  min-height: 140px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--preview-start) 0%, var(--preview-end) 100%);
  display: grid;
  place-items: center;
  padding: 14px;
}

.settings-login-preview-shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.settings-login-preview-shape-a {
  width: 110px;
  height: 90px;
  left: -12px;
  bottom: -10px;
  clip-path: polygon(20% 0, 100% 26%, 82% 100%, 0 74%);
}

.settings-login-preview-shape-b {
  width: 90px;
  height: 90px;
  right: -10px;
  top: -8px;
  clip-path: polygon(18% 0, 100% 24%, 82% 100%, 0 78%);
}

.settings-login-preview-card {
  position: relative;
  z-index: 1;
  width: 150px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 10px;
  padding: 14px 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.settings-login-preview-title {
  color: #2f2f2f;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.settings-login-preview-line {
  display: block;
  height: 18px;
  border-bottom: 1px solid #d0d5dd;
}

.settings-login-preview-button {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--preview-start) 0%, var(--preview-end) 100%);
}

.settings-color-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fbfcfd;
  padding: 10px;
  cursor: pointer;
}

.settings-color-label {
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

.settings-color-preview {
  height: 24px;
  border-radius: 5px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.settings-color-card input[type="color"] {
  width: 100%;
  min-height: 28px;
  border-radius: 5px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding: 2px;
}

.settings-color-card strong {
  color: #101828;
  font-size: 11px;
  font-weight: 700;
}

.settings-submit-row {
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
  padding-top: 0;
}

.settings-submit-row .button-dark {
  min-width: 170px;
}

.settings-page-headline {
  padding-top: 18px;
  padding-bottom: 16px;
}

.settings-page-headline h1 {
  margin-bottom: 8px;
}

.settings-page-headline p {
  max-width: 680px;
}

.settings-kicker {
  margin: 0 0 6px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .settings-workspace {
    padding: 16px;
  }

  .settings-form {
    grid-template-columns: 1fr;
  }

  .settings-section-profile,
  .settings-section-brand,
  .settings-section-colors,
  .settings-submit-row {
    grid-column: auto;
    grid-row: auto;
  }

  .settings-grid.two-col,
  .settings-color-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .company-contact-strip {
    gap: 10px;
    padding: 10px;
    font-size: 12px;
  }

  .company-logo {
    width: 38px;
    height: 38px;
  }
}

.page-headline-actions {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.simple-table-wrap {
  overflow-x: auto;
}

.simple-table {
  width: 100%;
  border-collapse: collapse;
}

.simple-table th,
.simple-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 140;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .35);
}

.modal-card {
  position: relative;
  width: min(560px, calc(100% - 24px));
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 20px;
}

.item-stats-grid {
  margin-bottom: 18px;
}

@media (max-width: 920px) {
  .page-headline-actions {
    align-items: start;
    flex-direction: column;
  }
}

.table-circle-thumb {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: #f3f3f3;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
}

.table-circle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.large-thumb {
  width: 72px;
  height: 72px;
}

.pagination-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.pagination-label {
  color: var(--muted);
  font-size: 14px;
}

.category-item-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.category-gallery-card {
  color: inherit;
  text-decoration: none;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.category-gallery-image {
  aspect-ratio: .9 / 1;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.category-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-gallery-body {
  padding: 12px;
  display: grid;
  gap: 6px;
}

.category-gallery-body strong {
  font-size: 14px;
  line-height: 1.3;
}

.category-gallery-body span {
  color: var(--muted);
  font-size: 13px;
}

.item-detail-layout {
  align-items: start;
  margin-bottom: 18px;
}

.item-visual-panel,
.item-summary-panel {
  min-height: 100%;
}

.item-detail-image {
  aspect-ratio: 1 / .9;
  border-radius: 18px;
  overflow: hidden;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.item-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.metric-box {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.metric-box span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.metric-box strong {
  font-size: 24px;
  font-family: "Space Grotesk", sans-serif;
}

@media (max-width: 920px) {
  .metrics-band {
    grid-template-columns: 1fr;
  }
}

.item-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.item-stats-grid .stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 110px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.item-stats-grid .stat-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.item-stats-grid .stat-card strong {
  font-size: 30px;
  line-height: 1;
  font-family: "Space Grotesk", sans-serif;
}

.page-headline-actions .row-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.page-headline-actions .row-actions .button-dark,
.page-headline-actions .row-actions .ghost-btn {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
}

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

@media (max-width: 700px) {
  .item-stats-grid {
    grid-template-columns: 1fr;
  }

  .page-headline-actions .row-actions {
    width: 100%;
  }

  .page-headline-actions .row-actions .button-dark,
  .page-headline-actions .row-actions .ghost-btn {
    width: 100%;
    justify-content: center;
  }
}

.admin-tabs-shell {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-tabs {
  padding: 8px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}

.admin-tabs::-webkit-scrollbar {
  display: none;
}

.admin-tabs a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.admin-tabs-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.admin-tabs-arrow svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 921px) {
  .admin-tabs-shell {
    grid-template-columns: 1fr;
  }

  .admin-tabs-arrow {
    display: none;
  }
}

@media (max-width: 920px) {
  .admin-tabs {
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }
}

.admin-wrap {
  padding-top: 8px;
}

.admin-tabs-shell {
  margin-bottom: 8px;
}

.page-headline {
  padding: 8px 0 12px;
}

.page-headline h1 {
  margin: 0 0 6px;
}

@media (max-width: 920px) {
  .admin-wrap {
    padding-top: 4px;
  }

  .admin-tabs-shell {
    margin-bottom: 6px;
  }

  .page-headline {
    padding: 6px 0 10px;
  }
}

.admin-wrap {
  padding-top: 2px;
}

.admin-tabs-shell {
  margin-bottom: 3px;
}

.page-headline {
  padding: 3px 0 6px;
}

.page-headline h1 {
  margin: 0 0 3px;
}

@media (max-width: 920px) {
  .admin-wrap {
    padding-top: 1px;
  }

  .admin-tabs-shell {
    margin-bottom: 2px;
  }

  .page-headline {
    padding: 2px 0 5px;
  }
}

.category-item-gallery {
  grid-template-columns: repeat(auto-fill, 200px);
  justify-content: start;
}

.category-gallery-card {
  width: 200px;
}

@media (max-width: 640px) {
  .category-item-gallery {
    grid-template-columns: repeat(auto-fill, minmax(160px, 160px));
  }

  .category-gallery-card {
    width: 160px;
  }
}

.category-item-gallery {
  margin-top: 16px;
}

.admin-panel + .admin-panel .category-item-gallery {
  margin-top: 18px;
}

.gallery-panel {
  margin-top: 22px;
}

.gallery-panel {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.akd-product-link,
.hero-main-banner a,
.mini-promo-card {
  color: inherit;
  text-decoration: none;
}

.product-detail-page {
  width: min(1480px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 32px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: start;
}

.product-media-column {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
}

.product-thumbs {
  display: grid;
  gap: 10px;
}

.product-thumb {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.product-thumb.active {
  border-color: #111;
}

.product-thumb img,
.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-main-image {
  aspect-ratio: 1 / 1.08;
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-summary-column {
  background: #fff;
  border: 1px solid #ededed;
  border-radius: 18px;
  padding: 24px;
  display: grid;
  gap: 16px;
}

.product-breadcrumbs {
  color: var(--muted);
  font-size: 13px;
}

.product-summary-column h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
}

.product-meta-line,
.product-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-price {
  font-size: 42px;
  font-weight: 800;
}

.product-badge {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--theme-button-color);
  color: #fff;
  font-weight: 700;
}

.product-badge.muted {
  background: #f3f4f6;
  color: #333;
}

.product-qty-box {
  display: grid;
  gap: 8px;
}

.product-qty-stepper {
  width: fit-content;
}

.product-add-button {
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: var(--theme-button-color);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
}

.product-description-box,
.product-service-box {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.product-description-box h3 {
  margin: 0 0 8px;
}

.product-service-box {
  display: grid;
  gap: 12px;
}

.product-service-box div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.item-admin-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.item-admin-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: #f4f4f4;
}

.item-admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 920px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-media-column {
    grid-template-columns: 1fr;
  }

  .product-thumbs {
    grid-template-columns: repeat(auto-fit, minmax(70px, 70px));
    grid-auto-flow: column;
    overflow-x: auto;
  }
}

.product-thumbs {
  align-content: start;
  grid-auto-rows: 84px;
}

.product-thumb {
  width: 84px;
  height: 84px;
  aspect-ratio: 1 / 1;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 920px) {
  .product-thumbs {
    grid-auto-rows: auto;
  }

  .product-thumb {
    width: 70px;
    height: 70px;
  }
}

.product-size-box {
  display: grid;
  gap: 10px;
}

.product-size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-size-chip {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}

.product-size-chip.active {
  background: var(--theme-button-color);
  color: #fff;
  border-color: var(--theme-button-color);
}
.variant-editor{display:grid;gap:14px;padding:18px;border:1px solid rgba(15,23,42,.08);border-radius:20px;background:#fbfbfd}
.variant-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.variant-editor-grid{display:grid;gap:10px}
.variant-editor-row{display:grid;grid-template-columns:1.2fr 1.1fr .8fr .8fr .8fr auto;gap:10px;align-items:center}
.variant-editor-labels{font-size:12px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.08em}
.variant-editor-labels span{padding:0 6px}
.variant-remove-btn{white-space:nowrap}
.variant-field{display:grid;gap:6px;min-width:0}
.variant-field span{display:none;font-size:12px;font-weight:700;color:#6b7280;text-transform:uppercase;letter-spacing:.04em}
.product-variant-meta{margin:8px 0 18px}
@media (max-width:860px){.variant-editor-row{grid-template-columns:1fr 1fr;padding:14px;border:1px solid rgba(15,23,42,.08);border-radius:14px;background:#fff}.variant-editor-labels{display:none}.variant-editor-grid{gap:12px}.variant-field span{display:block}.variant-remove-btn{grid-column:1/-1}}
.modal-shell{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:24px}
.modal-card{max-height:min(88vh,900px);overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;width:min(760px,100%)}
.modal-card::-webkit-scrollbar{width:10px}
.modal-card::-webkit-scrollbar-thumb{background:rgba(15,23,42,.18);border-radius:999px}
.modal-card::-webkit-scrollbar-track{background:transparent}
@media (max-width:768px){.modal-shell{padding:12px}.modal-card{max-height:90vh;width:100%}}
.modal-shell[hidden]{display:none !important}
.modal-shell:not([hidden]){display:grid !important}
.light-home .akd-top-search{border-bottom:0;margin:0}
.company-contact-strip,.akd-nav-row{margin:0}
.company-contact-strip{border-top:0}

.akd-logo-lockup{padding-top:0;padding-bottom:0;line-height:1}
.brand-with-logo{padding-top:0;padding-bottom:0}
.akd-logo-word{line-height:.8;margin:0}
.company-logo{margin:0}
@media (max-width: 640px){
  .akd-home{width:100%}
  .akd-top-search{grid-template-columns:1fr;gap:6px;padding:calc(env(safe-area-inset-top, 0px) + 6px) 8px 6px;justify-items:stretch}
  .akd-icons{justify-content:center;gap:16px}
  .akd-search{width:100%;max-width:none}
  .akd-search button{min-width:56px}
  .akd-search input{padding:10px 12px;font-size:14px}
  .akd-logo-lockup,.brand-with-logo{justify-content:center;gap:8px}
  .company-logo{width:24px;height:24px}
  .akd-logo-word{font-size:26px;letter-spacing:.08em;line-height:1}
}
@media (max-width: 640px){
  .akd-top-search{grid-template-columns:auto minmax(0,1fr) auto !important;gap:8px !important;align-items:center;justify-items:stretch;padding-top:calc(env(safe-area-inset-top, 0px) + 6px) !important}
  .akd-icons{grid-column:1;justify-content:flex-start !important}
  .akd-search{grid-column:2;width:100%;min-width:0}
  .akd-logo-lockup,.brand-with-logo{grid-column:3;justify-content:flex-end !important;white-space:nowrap}
  .akd-logo-word{font-size:22px}
}
@media (max-width: 640px){
  .akd-hero-zone{grid-template-columns:minmax(88px,24%) minmax(0,1fr) minmax(88px,24%) !important;gap:10px}
  .hero-side-column{grid-template-columns:1fr !important;gap:10px}
  .hero-side-column.right{grid-template-columns:1fr !important}
  .mini-promo-card{min-height:92px}
  .mini-promo-copy{min-height:92px;padding:12px;font-size:14px}
  .hero-main-banner{min-height:220px}
  .hero-main-copy h1{font-size:24px}
  .hero-main-copy p{font-size:14px}
}
.product-detail-page.akd-home{width:100%;max-width:none;margin:0;padding:0 0 32px}
.product-detail-page.akd-home .akd-top-search{width:100%;margin:0}
.product-detail-page .product-detail-layout{padding:18px 18px 0}
@media (max-width:640px){.product-detail-page .product-detail-layout{padding:12px 10px 0}}
.profile-menu{position:relative}
.profile-menu-panel{position:absolute;top:calc(100% + 10px);left:0;min-width:150px;padding:8px;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:14px;box-shadow:0 16px 40px rgba(15,23,42,.12);display:grid;gap:4px;z-index:40}
.profile-menu-panel a,.profile-menu-panel button{display:block;width:100%;padding:10px 12px;border:0;background:transparent;text-align:left;color:#111;font:inherit;border-radius:10px}
.profile-menu-panel a:hover,.profile-menu-panel button:hover{background:#f5f7fb}
.profile-menu-panel[hidden]{display:none !important}
.profile-menu-trigger{border:0;background:transparent;padding:0}
.metrics-band{margin-bottom:18px}
.empty-state{margin-top:18px}


.category-page-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.category-page-badge {
  flex: 0 0 auto;
}

.circle-thumb.large {
  width: 96px;
  height: 96px;
}

@media (max-width: 640px) {
  .category-page-headline {
    align-items: flex-start;
  }

  .circle-thumb.large {
    width: 72px;
    height: 72px;
  }
}

.infinite-feed-wrap {
  display: grid;
  gap: 14px;
}

.infinite-feed-status {
  min-height: 40px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 14px;
}

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

.cart-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge-overlay {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  line-height: 1;
  box-shadow: 0 0 0 2px #fff;
}

.light-home .cart-badge-overlay {
  box-shadow: 0 0 0 2px #fff;
}

.akd-nav-row-wrap {
  background: #0b0b0b;
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}

.akd-nav-row {
  background: transparent;
  min-width: 0;
  scrollbar-width: none;
}

.akd-nav-row::-webkit-scrollbar {
  display: none;
}

.nav-arrow-button {
  border: 0;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .akd-nav-row-wrap {
    padding: 0 6px;
    gap: 4px;
  }

  .akd-nav-row {
    padding: 0 10px;
    min-height: 40px;
    gap: 16px;
  }

  .akd-nav-spacer {
    min-height: 40px;
  }

  .nav-arrow-button {
    width: 28px;
    height: 28px;
  }
}

.invoice-page-wrap {
  padding-top: 20px;
  padding-bottom: 40px;
}

.invoice-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.invoice-sheet {
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.invoice-header-block {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 24px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.invoice-brand-lockup {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.invoice-company-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.invoice-company-name {
  display: block;
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.invoice-brand-lockup span,
.invoice-label,
.invoice-meta-pair span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.invoice-title-block {
  text-align: right;
}

.invoice-title-block h1 {
  margin: 0 0 12px;
  font-size: 44px;
  letter-spacing: .08em;
  color: #4f74c8;
}

.invoice-meta-pair {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.invoice-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 24px 0;
}

.invoice-info-card {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 6px;
}

.invoice-info-card strong {
  font-size: 20px;
}

.invoice-table-wrap {
  overflow-x: auto;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
}

.invoice-table th,
.invoice-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.invoice-table th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

.invoice-total-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}

.invoice-total-box {
  min-width: 240px;
  background: var(--theme-button-color);
  color: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  display: grid;
  gap: 6px;
}

.invoice-total-box span {
  color: rgba(255,255,255,.72);
}

.invoice-total-box strong {
  font-size: 30px;
}

.invoice-total-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.invoice-total-line strong {
  font-size: 16px;
  line-height: 1.2;
  text-align: right;
}

@media (max-width: 720px) {
  .invoice-toolbar,
  .invoice-header-block,
  .invoice-info-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .invoice-toolbar {
    justify-content: stretch;
  }

  .invoice-toolbar .ghost-btn,
  .invoice-toolbar .button-dark {
    width: 100%;
    justify-content: center;
  }

  .invoice-title-block {
    text-align: left;
  }
}

@media print {
  .no-print,
  .site-header,
  .mobile-nav,
  .akd-top-search,
  .akd-nav-row-wrap,
  .akd-nav-row,
  .toast,
  footer {
    display: none !important;
  }

  body {
    background: #fff;
    padding-bottom: 0;
  }

  .invoice-page-wrap,
  .content-wrap.slim {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .invoice-sheet {
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
}

.invoice-header-actions {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.invoice-header-actions .button-dark {
  min-height: 48px;
  padding: 0 22px;
}

@media (max-width: 720px) {
  .invoice-header-actions {
    justify-content: flex-start;
  }
}

.invoice-contact-block {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
}


.cart-card {
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: start;
}

.cart-thumb {
  width: 112px;
  height: 112px;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
}

.cart-info {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 4px;
}

.cart-info h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.cart-info p {
  margin: 0;
}

.cart-actions-row {
  margin-top: 6px;
}

.cart-card > strong[data-line-total] {
  align-self: end;
  font-size: 26px;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .cart-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .cart-thumb {
    width: 96px;
    height: 96px;
  }

  .cart-info h3 {
    font-size: 18px;
    padding-right: 36px;
  }

  .cart-card > strong[data-line-total] {
    grid-column: 2;
    justify-self: start;
    margin-top: 2px;
    font-size: 22px;
  }
}

.checkout-panel {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.checkout-summary {
  display: grid;
  gap: 10px;
}

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

.checkout-summary-row span {
  color: var(--muted);
}

.checkout-summary-row strong {
  font-size: 20px;
}

.checkout-summary-total {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.checkout-summary-total strong {
  font-size: 28px;
}

.checkout-action {
  width: 100%;
  justify-content: center;
  min-height: 56px;
}

@media (min-width: 721px) {
  .checkout-panel {
    grid-template-columns: minmax(280px, 380px) minmax(220px, 320px);
    justify-content: space-between;
    align-items: end;
  }

  .checkout-summary {
    max-width: 380px;
  }

  .checkout-action {
    width: auto;
    min-width: 260px;
    justify-self: end;
  }
}

.akd-nav-spacer {
  background: #0b0b0b;
  width: 100%;
  min-height: 46px;
}

@media (max-width: 640px) {
  .akd-nav-spacer {
    min-height: 40px;
  }
}

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

.akd-nav-spacer,
.akd-nav-row-wrap {
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.92);
}


.akd-nav-spacer,
.akd-nav-row-wrap {
  background: #ffffff;
  color: #111;
  border-bottom: 0;
}

.light-home .akd-nav-spacer,
.light-home .akd-nav-row-wrap {
  background: var(--theme-header-dark);
  color: #fff;
}

.admin-header-strip {
  background: var(--theme-header-light);
  width: 100%;
}

.admin-header-strip-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.admin-header-strip .admin-tabs-shell {
  margin-bottom: 0;
}

.admin-header-strip .admin-tabs {
  box-shadow: none;
}

.admin-header-strip-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.admin-header-strip .admin-tabs-shell,
.admin-header-strip .admin-tabs {
  margin-bottom: 0 !important;
}

.admin-wrap {
  padding-top: 0;
}



.admin-header-strip {
  min-height: 46px;
  display: flex;
  align-items: center;
}

.admin-header-strip-inner {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
}

.admin-header-strip .admin-tabs-shell {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0;
  margin: 0 !important;
}

.admin-header-strip .admin-tabs {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0 !important;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.admin-header-strip .admin-tabs a {
  min-height: 36px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border-radius: 18px;
}

@media (max-width: 640px) {
  .admin-header-strip {
    min-height: 40px;
  }

  .admin-header-strip-inner,
  .admin-header-strip .admin-tabs-shell,
  .admin-header-strip .admin-tabs {
    min-height: 40px;
  }

  .admin-header-strip .admin-tabs {
    gap: 8px;
  }

  .admin-header-strip .admin-tabs a {
    min-height: 32px;
    padding: 0 14px;
    border-radius: 16px;
  }
}

.admin-header-strip .admin-tabs {
  justify-content: flex-start;
}

.admin-header-strip .admin-tabs a {
  min-height: 34px;
  padding: 0 22px;
  border-radius: 18px;
  color: #2b2b2b;
  font-weight: 700;
  background: transparent;
}

.admin-header-strip .admin-tabs a.active {
  background: var(--theme-button-color);
  color: #fff;
}

@media (max-width: 640px) {
  .admin-header-strip .admin-tabs a {
    min-height: 32px;
    padding: 0 18px;
    border-radius: 16px;
  }
}

@media (min-width: 921px) {
  .admin-header-strip .admin-tabs-shell {
    display: block;
    min-height: 46px;
    overflow: visible;
  }

  .admin-header-strip .admin-tabs {
    min-height: 46px;
    overflow: visible;
    gap: 12px;
    padding: 0 10px;
  }

  .admin-header-strip .admin-tabs-arrow {
    display: none !important;
  }

  .admin-header-strip .admin-tabs a {
    min-height: 34px;
    padding: 0 22px;
    border-radius: 18px;
    color: #444;
    font-weight: 700;
    background: transparent;
  }

  .admin-header-strip .admin-tabs a.active {
    background: #111;
    color: #fff;
  }
}

@media (max-width: 920px) {
  .admin-header-strip .admin-tabs-shell {
    grid-template-columns: 36px 1fr 36px;
    column-gap: 8px;
  }

  .admin-header-strip .admin-tabs {
    overflow-x: auto;
    padding: 0;
  }

  .admin-header-strip .admin-tabs a {
    min-height: 32px;
    padding: 0 18px;
    border-radius: 16px;
    color: #444;
    font-weight: 700;
    background: transparent;
  }

  .admin-header-strip .admin-tabs a.active {
    background: #111;
    color: #fff;
  }

  .admin-header-strip .admin-tabs-arrow {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
  }
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .pagination-bar {
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

.table-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}

.table-search-input {
  min-width: 260px;
  max-width: 360px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
}

.pagination-filler-row td {
  color: transparent;
}

.pagination-empty-note {
  color: var(--muted);
}

@media (max-width: 640px) {
  .table-tools {
    align-items: stretch;
  }

  .table-search-input {
    min-width: 0;
    max-width: none;
  }
}

.pagination-filler-row td {
  padding: 14px 12px;
  height: 72px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: transparent;
}

.simple-table .pagination-filler-row td {
  padding: 14px 12px;
}

.place-order-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: start;
}

.place-order-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
}

.place-order-line-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
}

.place-order-line-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-order-line-copy {
  display: grid;
  gap: 4px;
}

.place-order-line-copy span {
  color: var(--muted);
  font-size: 14px;
}

.place-order-summary-box {
  margin-top: 18px;
}

@media (max-width: 920px) {
  .place-order-grid {
    grid-template-columns: 1fr;
  }
}

.profile-page textarea {
  resize: vertical;
}

.place-order-grid {
  align-items: stretch;
}

.place-order-grid > .admin-panel {
  height: 100%;
}

.place-order-summary-panel {
  display: flex;
  flex-direction: column;
}

.place-order-lines-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
}

.place-order-summary-panel .place-order-summary-box {
  margin-top: 18px;
}

@media (min-width: 921px) {
  .place-order-grid {
    grid-template-columns: 1.1fr .9fr;
  }

  .place-order-summary-panel {
    max-height: 100%;
  }

  .place-order-lines-scroll {
    max-height: 420px;
  }
}

@media (max-width: 920px) {
  .place-order-lines-scroll {
    overflow: visible;
    max-height: none;
    padding-right: 0;
  }
}

.place-order-page .panel-head {
  margin-bottom: 22px;
}

.place-order-page .panel-head h2 {
  margin-bottom: 0;
}

.place-order-page .stack-form {
  gap: 10px;
}

.place-order-page textarea[name="shipping_address"] {
  min-height: 140px;
  height: 140px;
}

.place-order-page .row-actions {
  margin-top: 4px;
}

.place-order-page .stack-form input,
.place-order-page .stack-form select,
.place-order-page .stack-form textarea {
  padding: 10px 14px;
}

.place-order-page textarea[name="shipping_address"] {
  min-height: 110px;
  height: 110px;
}

.place-order-grid {
  align-items: start;
}

.place-order-grid > .admin-panel {
  height: auto;
}

.place-order-summary-panel {
  display: flex;
  flex-direction: column;
}

.place-order-lines-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
}

@media (max-width: 920px) {
  .place-order-summary-panel {
    height: auto !important;
  }

  .place-order-lines-scroll {
    overflow: visible;
    max-height: none !important;
    padding-right: 0;
  }
}

.place-order-page textarea[name="shipping_address"],
.profile-page textarea[name="address"] {
  resize: none;
}

.profile-page textarea[name="address"] {
  min-height: 110px;
  height: 110px;
}

.place-order-grid {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 920px) {
  .place-order-grid {
    grid-template-columns: 1fr;
  }

  .place-order-page .admin-panel,
  .place-order-summary-panel,
  .place-order-delivery-panel {
    width: 100%;
  }
}

@media (min-width: 921px) {
  .place-order-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    align-items: start !important;
  }

  .place-order-delivery-panel,
  .place-order-summary-panel {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }
}

@media (max-width: 920px) {
  .place-order-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .place-order-delivery-panel,
  .place-order-summary-panel {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }
}

@media (max-width: 920px) {
  .place-order-summary-panel .panel-head {
    margin-bottom: 16px;
  }

  .place-order-lines-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 78vw);
    gap: 14px;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 4px 8px 0;
    max-height: none !important;
  }

  .place-order-line {
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      'thumb copy'
      'price price';
    align-items: start;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
  }

  .place-order-line-thumb {
    grid-area: thumb;
    width: 64px;
    height: 64px;
  }

  .place-order-line-copy {
    grid-area: copy;
  }

  .place-order-line > strong {
    grid-area: price;
    display: block;
    text-align: left;
    padding-top: 4px;
  }
}

.profile-page .place-order-grid {
  align-items: start;
}

.profile-page .profile-form-panel,
.profile-page .profile-summary-panel {
  width: 100%;
  box-sizing: border-box;
}

.customer-header-strip {
  background: #ffffff;
  width: 100%;
}

.customer-header-strip-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
}

.customer-tabs-shell {
  width: 100%;
}

.customer-tabs {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
}

.customer-tabs a {
  min-height: 34px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 18px;
  color: #444;
  font-weight: 700;
}

.customer-tabs a.active {
  background: var(--theme-button-color);
  color: #fff;
}

.customer-account-page {
  padding-top: 14px;
  padding-bottom: 32px;
}

.account-headline {
  padding-top: 10px;
  padding-bottom: 18px;
}

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

.customer-stat-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px 20px;
  display: grid;
  gap: 8px;
}

.customer-stat-card span {
  color: var(--muted);
  font-size: 14px;
}

.customer-stat-card strong {
  font-size: 28px;
  line-height: 1.1;
}

.customer-orders-stack {
  display: grid;
  gap: 16px;
}

.customer-order-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 16px;
}

.customer-order-main,
.customer-order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.customer-order-label {
  display: inline-block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.customer-order-main h3 {
  margin: 0 0 6px;
}

.customer-order-main p {
  margin: 0;
  color: var(--muted);
}

.customer-order-meta {
  display: grid;
  justify-items: end;
  gap: 12px;
}

.customer-order-meta strong {
  font-size: 28px;
}

.customer-order-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-order-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f6f6f6;
  color: #333;
  font-size: 14px;
}

.order-open-btn {
  min-width: 150px;
  justify-content: center;
}

.customer-empty-state {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.customer-invoice-sheet {
  border-radius: 24px;
}

.account-summary-stack .line-row {
  min-height: 64px;
}

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

  .customer-order-main,
  .customer-order-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .customer-order-meta {
    justify-items: start;
  }

  .order-open-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .customer-header-strip-inner,
  .customer-tabs {
    min-height: 40px;
  }

  .customer-tabs {
    gap: 8px;
    padding: 0 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .customer-tabs::-webkit-scrollbar {
    display: none;
  }

  .customer-tabs a {
    min-height: 32px;
    padding: 0 18px;
    border-radius: 16px;
    white-space: nowrap;
  }

  .customer-stats-grid {
    grid-template-columns: 1fr;
  }
}

.customer-filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.customer-filter-bar a {
  min-height: 36px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #fff;
  color: #333;
  box-shadow: var(--shadow);
  font-weight: 700;
}

.customer-filter-bar a.active {
  background: var(--theme-button-color);
  color: #fff;
}

.compact-orders-stack {
  gap: 14px;
}

.compact-order-card {
  padding: 18px;
}

.invoice-item-cell {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
}

.invoice-item-thumb {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f3f3;
}

.invoice-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.invoice-item-cell strong {
  display: block;
}

.invoice-item-cell span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.customer-stats-grid {
  grid-auto-rows: 1fr;
}

.customer-stat-card {
  aspect-ratio: 1 / 1;
}

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

@media (max-width: 640px) {
  .customer-stat-card {
    aspect-ratio: 1 / 0.72;
    padding: 14px 16px;
  }

  .customer-stat-card strong {
    font-size: 22px;
  }

  .customer-stat-card span {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .customer-stat-card {
    aspect-ratio: 1 / 0.56;
    padding: 12px;
    justify-items: center;
    align-content: center;
    text-align: center;
    gap: 6px;
  }

  .customer-stat-card strong {
    font-size: 20px;
  }

  .customer-stat-card span {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .customer-stats-grid {
    gap: 8px;
    margin-bottom: 12px;
  }

  .customer-stat-card {
    padding: 8px;
    border-radius: 16px;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .customer-stat-card {
    aspect-ratio: auto !important;
    min-height: 96px;
    height: 96px;
    padding: 8px 10px;
  }

  .customer-stat-card strong {
    line-height: 1;
  }
}

@media (max-width: 640px) {
  .customer-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px;
  }

  .customer-stat-card {
    min-height: 82px;
    height: 82px;
    padding: 6px;
    border-radius: 14px;
  }

  .customer-stat-card strong {
    font-size: 16px;
  }

  .customer-stat-card span {
    font-size: 11px;
    line-height: 1.15;
  }
}

@media (min-width: 641px) {
  .customer-stat-card {
    aspect-ratio: auto !important;
    min-height: 140px;
    height: 140px;
    padding: 18px 20px;
    justify-items: start;
    align-content: center;
    text-align: left;
    gap: 10px;
  }

  .customer-stat-card strong {
    font-size: 22px;
  }
}

.customer-stat-card {
  gap: 4px !important;
}

.customer-stat-card span,
.customer-stat-card strong {
  margin: 0;
}

@media (min-width: 641px) {
  .customer-stat-card {
    min-height: 118px;
    height: 118px;
    padding: 14px 18px;
    gap: 4px !important;
  }
}

@media (min-width: 641px) {
  .customer-stat-card {
    min-height: 96px;
    height: 96px;
    padding: 8px 14px;
    gap: 2px !important;
  }

  .customer-stat-card strong {
    font-size: 18px;
    line-height: 1;
  }

  .customer-stat-card span {
    line-height: 1.1;
  }
}

@media (min-width: 641px) {
  .customer-stat-card {
    align-content: start !important;
    justify-items: start !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    min-height: 78px !important;
    height: 78px !important;
  }
}

.customer-stat-card {
  justify-items: center !important;
  align-content: center !important;
  text-align: center;
}

@media (min-width: 641px) {
  .customer-stat-card {
    justify-items: center !important;
    align-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

.finance-ribbon {
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.finance-ribbon .finance-ribbon-action {
  border-radius: 999px;
  padding: 14px 22px;
  background: #fff;
  border: 1px solid #ece8e2;
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
  font-weight: 700;
}

.finance-page .finance-panel {
  margin-top: 22px;
}

.finance-head {
  align-items: flex-start;
  gap: 18px;
}

.finance-head p {
  margin: 6px 0 0;
  color: #6f6a63;
}

.finance-date-filter {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
}

.finance-date-filter label {
  display: grid;
  gap: 6px;
  color: #6f6a63;
  font-size: 14px;
  font-weight: 600;
}

.finance-date-filter input[type="date"] {
  min-width: 170px;
}

.finance-page .simple-table-wrap {
  margin-top: 18px;
}

.finance-page table {
  width: 100%;
}

.finance-page .table-tools {
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .finance-ribbon {
    gap: 10px;
  }

  .finance-ribbon .finance-ribbon-action,
  .finance-ribbon a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .finance-head,
  .finance-date-filter {
    display: grid;
    width: 100%;
  }

  .finance-date-filter input[type="date"] {
    min-width: 0;
    width: 100%;
  }
}

.finance-page .simple-table th,
.finance-page .simple-table td {
  white-space: nowrap;
}

.finance-page .simple-table td:last-child,
.finance-page .simple-table th:last-child {
  white-space: normal;
}

.finance-page .panel-head.finance-head {
  justify-content: space-between;
}

.finance-page .panel-head.finance-head h2 {
  margin-bottom: 6px;
}

.finance-page .simple-table-wrap + .table-tools,
.finance-page .table-tools + .simple-table-wrap {
  margin-top: 0;
}

@media (max-width: 920px) {
  .finance-page .simple-table th,
  .finance-page .simple-table td {
    white-space: nowrap;
  }
}

.modal-card {
  position: relative;
}

.modal-x-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid #e4ddd3;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.modal-x-btn:hover {
  background: #f7f3ed;
  border-color: #d8cfc3;
  transform: translateY(-1px);
}

.akd-product-card.sold-out {
  opacity: 0.92;
}

.product-sold-out-badge,
.product-main-sold-out {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(17, 17, 17, 0.88);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}

.product-main-image {
  position: relative;
}

.akd-product-image {
  position: relative;
}

.product-size-chip.sold-out {
  background: #efefef;
  color: #8a857e;
  border-color: #d9d4cd;
  cursor: not-allowed;
  opacity: 1;
}

.product-size-chip.sold-out.active {
  box-shadow: none;
}

.sold-out-chip,
.product-badge.sold-out-badge {
  background: #ece7e1;
  color: #6f6a63;
}

.product-add-button.is-disabled,
.akd-cart-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.quick-variant-card {
  max-width: 520px;
}

.quick-variant-body {
  display: grid;
  gap: 18px;
}

.quick-variant-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: center;
}

.quick-variant-thumb {
  width: 84px;
  height: 84px;
  border-radius: 16px;
  overflow: hidden;
  background: #f4f1eb;
}

.quick-variant-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-variant-price {
  font-size: 28px;
  font-weight: 800;
}

.quick-variant-stock {
  color: var(--muted);
}

.quick-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-variant-qty {
  gap: 10px;
}

@media (max-width: 640px) {
  .quick-variant-item {
    grid-template-columns: 72px 1fr;
  }

  .quick-variant-thumb {
    width: 72px;
    height: 72px;
  }
}


.prompt-modal-card {
  max-width: 460px;
}

.prompt-modal-body {
  display: grid;
  gap: 18px;
  padding-top: 12px;
}

.prompt-modal-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.prompt-modal-message {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.prompt-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.prompt-modal-actions .ghost-btn,
.prompt-modal-actions .primary-btn {
  min-width: 132px;
}

@media (max-width: 640px) {
  .prompt-modal-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .prompt-modal-actions .ghost-btn,
  .prompt-modal-actions .primary-btn {
    width: 100%;
  }
}

.prompt-modal-card {
  width: min(460px, calc(100vw - 32px));
  padding: 28px;
  border-radius: 28px;
}

.prompt-modal-body {
  gap: 16px;
  padding-top: 4px;
}

.prompt-modal-title {
  font-size: 24px;
  font-weight: 800;
  color: #111;
  margin: 0;
}

.prompt-modal-message {
  font-size: 17px;
  line-height: 1.55;
  color: #6f6a63;
  margin: 0;
}

.prompt-modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}

.prompt-modal-actions button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-width: 140px;
  height: 50px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}

.prompt-modal-actions button:hover {
  transform: translateY(-1px);
}

.prompt-modal-actions .ghost-btn {
  background: #f4f1eb;
  color: #111;
  box-shadow: inset 0 0 0 1px #e2dbd2;
}

.prompt-modal-actions .primary-btn {
  background: var(--theme-button-color);
  color: #fff;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.16);
}

.prompt-modal-actions .primary-btn:hover {
  background: #222;
}

@media (max-width: 640px) {
  .prompt-modal-card {
    width: calc(100vw - 24px);
    padding: 22px;
    border-radius: 24px;
  }

  .prompt-modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .prompt-modal-actions button {
    width: 100%;
    min-width: 0;
  }
}

.admin-order-modal-card {
  max-width: 980px;
}

.admin-order-modal-card .panel-head {
  margin-bottom: 18px;
}

.modal-close-text {
  margin-left: auto;
  display: inline-flex;
}

.admin-order-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.admin-order-form-grid label,
.admin-order-row-grid label,
.admin-order-row-head label {
  display: grid;
  gap: 8px;
}

.admin-order-form-grid span,
.admin-order-row-grid span,
.admin-order-row-head span {
  font-size: 13px;
  font-weight: 700;
  color: #6f6a63;
  letter-spacing: .02em;
}

.admin-order-form-full {
  grid-column: 1 / -1;
}

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

.admin-order-lines-head h3 {
  margin: 0;
  font-size: 24px;
}

.admin-order-lines {
  display: grid;
  gap: 16px;
}

.admin-order-row {
  border: 1px solid #ece6de;
  border-radius: 24px;
  padding: 18px;
  background: #fcfaf7;
  display: grid;
  gap: 14px;
}

.admin-order-row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.admin-order-row-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1.2fr 1.1fr 0.7fr 0.9fr;
  gap: 12px;
  align-items: end;
}

.admin-order-row.is-free-row .catalog-row-field {
  display: none;
}

.admin-order-row:not(.is-free-row) .free-row-field {
  display: none;
}

.admin-order-row-foot {
  min-height: 18px;
}

.admin-order-stock-hint {
  font-size: 13px;
  color: #6f6a63;
}

.admin-order-submit-row {
  justify-content: flex-end;
  margin-top: 18px;
}

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

  .admin-order-row-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-order-row-head,
  .admin-order-lines-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-order-row-grid {
    grid-template-columns: 1fr;
  }

  .admin-order-submit-row {
    justify-content: stretch;
  }

  .admin-order-submit-row .button-dark {
    width: 100%;
  }
}

.admin-order-modal-card {
  width: min(980px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100vh - 24px);
  overflow: auto;
  box-sizing: border-box;
}

.admin-order-modal-card input,
.admin-order-modal-card select,
.admin-order-modal-card textarea,
.admin-order-modal-card button {
  max-width: 100%;
  box-sizing: border-box;
}

.admin-order-form-grid textarea,
.admin-order-row-grid input,
.admin-order-row-grid select,
.admin-order-form-grid input,
.admin-order-form-grid select {
  width: 100%;
  min-width: 0;
}

.admin-order-row-head {
  align-items: center;
}

.admin-order-row-head .ghost-btn,
.admin-order-lines-head .ghost-btn {
  white-space: nowrap;
}

.admin-order-row-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
}

.admin-order-row-grid .free-row-field {
  grid-column: span 2;
}

@media (max-width: 1180px) {
  .admin-order-row-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-order-row-grid .free-row-field {
    grid-column: span 1;
  }
}

@media (max-width: 920px) {
  .admin-order-modal-card {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    padding: 18px;
    border-radius: 22px;
  }

  .admin-order-form-grid {
    gap: 12px;
  }

  .admin-order-row {
    padding: 14px;
    border-radius: 18px;
  }

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

@media (max-width: 640px) {
  .admin-order-modal-card {
    width: calc(100vw - 12px);
    max-height: calc(100vh - 12px);
    padding: 16px;
    border-radius: 18px;
  }

  .admin-order-row-head,
  .admin-order-lines-head {
    gap: 10px;
  }

  .admin-order-lines-head h3,
  .admin-order-modal-card .panel-head h2 {
    font-size: 22px;
  }
}

.admin-order-modal-head {
  margin-bottom: 22px;
}

.admin-order-modal-head h2 {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.08;
}

.admin-order-modal-head p {
  margin: 0;
  color: #6f6a63;
  font-size: 17px;
  line-height: 1.6;
}

.admin-order-select,
.admin-order-input,
.admin-order-textarea,
.admin-order-search-input {
  appearance: none;
  width: 100%;
  min-width: 0;
  border: 1px solid #dfd6ca;
  background: #fff;
  color: #111;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.35;
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 1px 2px rgba(17,17,17,.03);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.admin-order-select:focus,
.admin-order-input:focus,
.admin-order-textarea:focus,
.admin-order-search-input:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(17,17,17,.08);
}

.admin-order-search-field {
  gap: 10px;
}

.admin-order-search-input {
  padding: 12px 16px;
  background: #fbf9f6;
}

.admin-order-textarea {
  resize: vertical;
  min-height: 112px;
}

.admin-order-textarea.compact {
  min-height: 88px;
}

.admin-order-select.compact,
.admin-order-input.compact {
  padding-top: 12px;
  padding-bottom: 12px;
}

.admin-order-row {
  background: linear-gradient(180deg, #fffdfa 0%, #fbf8f4 100%);
  border-color: #e9e1d6;
  box-shadow: 0 14px 28px rgba(17,17,17,.04);
}

.admin-order-row-head {
  padding-bottom: 8px;
  border-bottom: 1px solid #efe8de;
}

.admin-order-lines-head {
  margin-top: 6px;
  margin-bottom: 18px;
}

.admin-order-lines-head .ghost-btn,
.admin-order-row-head .ghost-btn {
  border-radius: 999px;
  padding: 12px 18px;
}

.admin-order-stock-hint {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  font-weight: 600;
}

@media (max-width: 920px) {
  .admin-order-modal-head h2 {
    font-size: 30px;
  }

  .admin-order-select,
  .admin-order-input,
  .admin-order-textarea,
  .admin-order-search-input {
    font-size: 15px;
    padding: 13px 14px;
    border-radius: 16px;
  }
}


body.page-busy {
  overflow: hidden !important;
}

html.page-busy {
  overflow: hidden !important;
}

.profile-page {
  padding-top: 8px;
}

.profile-page .account-headline {
  margin-bottom: 26px;
}

.profile-page .account-headline h1 {
  margin-bottom: 10px;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.profile-page .account-headline p {
  max-width: 680px;
  font-size: 20px;
  line-height: 1.6;
  color: #6f6a63;
}

.profile-page .place-order-grid {
  align-items: start;
  gap: 24px;
}

.profile-page .profile-form-panel,
.profile-page .profile-summary-panel {
  border-radius: 30px;
  border: 1px solid #ece4d9;
  background: linear-gradient(180deg, #fffdfa 0%, #fbf8f4 100%);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.06);
  overflow: hidden;
}

.profile-page .profile-form-panel {
  padding: 28px;
}

.profile-page .profile-summary-panel {
  padding: 28px;
}

.profile-page .panel-head {
  margin-bottom: 22px;
}

.profile-page .panel-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.profile-page .stack-form {
  display: grid;
  gap: 14px;
}

.profile-page .stack-form input,
.profile-page .stack-form textarea {
  appearance: none;
  width: 100%;
  border: 1px solid #e2d9cd;
  background: #fff;
  border-radius: 20px;
  padding: 16px 18px;
  font-size: 17px;
  line-height: 1.4;
  color: #111;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 2px 6px rgba(17,17,17,.02);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.profile-page .stack-form input:focus,
.profile-page .stack-form textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(17,17,17,.08);
}

.profile-page .stack-form input[disabled] {
  background: #f5f1eb;
  color: #6f6a63;
}

.profile-page textarea[name="address"] {
  min-height: 150px;
  resize: none;
}

.profile-page .stack-form .row-actions {
  margin-top: 6px;
}

.profile-page .stack-form .button-dark {
  min-width: 180px;
  height: 54px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
}

.profile-page .account-summary-stack {
  display: grid;
  gap: 0;
}

.profile-page .account-summary-stack .line-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee6db;
}

.profile-page .account-summary-stack .line-row:first-child {
  padding-top: 6px;
}

.profile-page .account-summary-stack .line-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-page .account-summary-stack .line-row span {
  font-size: 16px;
  color: #6f6a63;
}

.profile-page .account-summary-stack .line-row strong {
  font-size: 18px;
  color: #111;
  text-align: right;
}

@media (max-width: 920px) {
  .profile-page .account-headline h1 {
    font-size: 48px;
  }

  .profile-page .account-headline p {
    font-size: 18px;
  }

  .profile-page .profile-form-panel,
  .profile-page .profile-summary-panel {
    padding: 22px;
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  .profile-page {
    padding-top: 4px;
  }

  .profile-page .account-headline {
    margin-bottom: 18px;
  }

  .profile-page .account-headline h1 {
    font-size: 40px;
  }

  .profile-page .account-headline p {
    font-size: 16px;
  }

  .profile-page .profile-form-panel,
  .profile-page .profile-summary-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .profile-page .stack-form input,
  .profile-page .stack-form textarea {
    border-radius: 16px;
    padding: 14px 15px;
    font-size: 16px;
  }

  .profile-page textarea[name="address"] {
    min-height: 120px;
  }

  .profile-page .stack-form .button-dark {
    width: 100%;
    min-width: 0;
  }

  .profile-page .account-summary-stack .line-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .profile-page .account-summary-stack .line-row strong {
    text-align: left;
  }
}

.customer-account-page .account-headline {
  margin-bottom: 28px;
}

.customer-account-page .account-headline h1,
.place-order-page .page-headline h1 {
  margin: 0 0 10px;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.customer-account-page .account-headline p,
.place-order-page .page-headline p {
  max-width: 720px;
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  color: #6f6a63;
}

.customer-home-page .customer-stats-grid,
.orders-page .customer-stats-grid {
  gap: 18px;
  margin-bottom: 26px;
}

.customer-home-page .customer-stat-card,
.orders-page .customer-stat-card {
  min-height: 120px;
  border-radius: 28px;
  border: 1px solid #ece4d9;
  background: linear-gradient(180deg, #fffdfa 0%, #fbf8f4 100%);
  box-shadow: 0 20px 48px rgba(17, 17, 17, 0.05);
  padding: 22px 24px;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.customer-home-page .customer-stat-card span,
.orders-page .customer-stat-card span {
  font-size: 15px;
  color: #6f6a63;
  margin: 0 0 6px;
}

.customer-home-page .customer-stat-card strong,
.orders-page .customer-stat-card strong {
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.customer-home-page .admin-panel,
.orders-page .customer-order-card,
.orders-page .customer-filter-bar,
.place-order-page .place-order-delivery-panel,
.place-order-page .place-order-summary-panel {
  border-radius: 30px;
  border: 1px solid #ece4d9;
  background: linear-gradient(180deg, #fffdfa 0%, #fbf8f4 100%);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.06);
}

.customer-home-page .admin-panel,
.place-order-page .place-order-delivery-panel,
.place-order-page .place-order-summary-panel {
  overflow: hidden;
}

.customer-home-page .admin-panel,
.place-order-page .place-order-delivery-panel,
.place-order-page .place-order-summary-panel {
  padding: 28px;
}

.customer-home-page .panel-head,
.place-order-page .panel-head {
  margin-bottom: 20px;
}

.customer-home-page .panel-head h2,
.place-order-page .panel-head h2,
.orders-page .customer-order-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.customer-home-page .panel-head .ghost-btn,
.place-order-page .row-actions .ghost-btn,
.orders-page .order-open-btn {
  border-radius: 999px;
}

.customer-home-page .compact-orders-stack,
.orders-page .customer-orders-stack {
  display: grid;
  gap: 18px;
}

.customer-home-page .compact-order-card,
.orders-page .customer-order-card {
  padding: 24px;
}

.customer-home-page .customer-order-main,
.orders-page .customer-order-main {
  gap: 18px;
  align-items: start;
}

.customer-home-page .customer-order-label,
.orders-page .customer-order-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8a847b;
  margin-bottom: 10px;
}

.customer-home-page .customer-order-main p,
.orders-page .customer-order-main p {
  margin: 8px 0 0;
  font-size: 15px;
  color: #6f6a63;
}

.customer-home-page .customer-order-meta,
.orders-page .customer-order-meta {
  align-items: flex-end;
  gap: 10px;
}

.customer-home-page .customer-order-meta strong,
.orders-page .customer-order-meta strong {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.customer-home-page .customer-order-footer,
.orders-page .customer-order-footer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eee6db;
  gap: 16px;
}

.customer-home-page .customer-order-tags,
.orders-page .customer-order-tags {
  gap: 10px;
}

.customer-home-page .customer-order-chip,
.orders-page .customer-order-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f4efe8;
  color: #6d685f;
  font-size: 13px;
  font-weight: 600;
}

.orders-page .customer-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px;
  margin-bottom: 24px;
}

.orders-page .customer-filter-bar a {
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
}

.orders-page .customer-empty-state,
.customer-home-page .customer-empty-state {
  border-radius: 30px;
  border: 1px solid #ece4d9;
  background: linear-gradient(180deg, #fffdfa 0%, #fbf8f4 100%);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.06);
  padding: 42px 28px;
}

.place-order-page .page-headline {
  margin-bottom: 28px;
}

.place-order-page .stack-form {
  display: grid;
  gap: 14px;
}

.place-order-page .stack-form input,
.place-order-page .stack-form textarea {
  appearance: none;
  width: 100%;
  border: 1px solid #e2d9cd;
  background: #fff;
  border-radius: 20px;
  padding: 16px 18px;
  font-size: 17px;
  line-height: 1.4;
  color: #111;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 2px 6px rgba(17,17,17,.02);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.place-order-page .stack-form input:focus,
.place-order-page .stack-form textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 4px rgba(17,17,17,.08);
}

.place-order-page .stack-form textarea[name="shipping_address"] {
  min-height: 140px;
  resize: none;
}

.place-order-page .row-actions {
  margin-top: 8px;
  gap: 14px;
}

.place-order-page .row-actions .button-dark,
.place-order-page .row-actions .ghost-btn {
  min-width: 168px;
  min-height: 54px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
}

.place-order-page .place-order-lines-scroll {
  padding-right: 6px;
}

.place-order-page .place-order-line {
  border: 1px solid #eee5da;
  border-radius: 22px;
  background: #fff;
  padding: 14px;
  gap: 14px;
}

.place-order-page .place-order-line-thumb {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  overflow: hidden;
  background: #f5f1eb;
}

.place-order-page .place-order-line-copy strong {
  font-size: 18px;
  line-height: 1.2;
}

.place-order-page .place-order-line-copy span {
  color: #6f6a63;
}

.place-order-page .checkout-summary {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eee6db;
}

.place-order-page .checkout-summary-row {
  padding: 12px 0;
  font-size: 18px;
}

.place-order-page .checkout-summary-total strong {
  font-size: 34px;
  line-height: 1.05;
}

@media (max-width: 920px) {
  .customer-account-page .account-headline h1,
  .place-order-page .page-headline h1 {
    font-size: 48px;
  }

  .customer-account-page .account-headline p,
  .place-order-page .page-headline p {
    font-size: 18px;
  }

  .customer-home-page .customer-stat-card,
  .orders-page .customer-stat-card,
  .customer-home-page .admin-panel,
  .place-order-page .place-order-delivery-panel,
  .place-order-page .place-order-summary-panel,
  .orders-page .customer-order-card {
    border-radius: 24px;
  }

  .customer-home-page .admin-panel,
  .place-order-page .place-order-delivery-panel,
  .place-order-page .place-order-summary-panel,
  .orders-page .customer-order-card {
    padding: 20px;
  }

  .customer-home-page .customer-stat-card strong,
  .orders-page .customer-stat-card strong {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .customer-account-page .account-headline,
  .place-order-page .page-headline {
    margin-bottom: 18px;
  }

  .customer-account-page .account-headline h1,
  .place-order-page .page-headline h1 {
    font-size: 40px;
  }

  .customer-account-page .account-headline p,
  .place-order-page .page-headline p {
    font-size: 16px;
  }

  .customer-home-page .customer-stats-grid,
  .orders-page .customer-stats-grid {
    gap: 10px;
    margin-bottom: 18px;
  }

  .customer-home-page .customer-stat-card,
  .orders-page .customer-stat-card {
    min-height: 92px;
    padding: 14px 12px;
    align-items: center;
    text-align: center;
  }

  .customer-home-page .customer-stat-card strong,
  .orders-page .customer-stat-card strong {
    font-size: 24px;
  }

  .customer-home-page .admin-panel,
  .place-order-page .place-order-delivery-panel,
  .place-order-page .place-order-summary-panel,
  .orders-page .customer-order-card,
  .orders-page .customer-filter-bar,
  .orders-page .customer-empty-state,
  .customer-home-page .customer-empty-state {
    border-radius: 20px;
  }

  .orders-page .customer-order-footer,
  .customer-home-page .customer-order-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .orders-page .order-open-btn,
  .customer-home-page .order-open-btn,
  .place-order-page .row-actions .button-dark,
  .place-order-page .row-actions .ghost-btn {
    width: 100%;
    min-width: 0;
  }

  .place-order-page .row-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Business-style customer workspace override */
.customer-account-page,
.profile-page,
.place-order-page,
.invoice-page-wrap {
  --business-bg: #f4f6f8;
  --business-panel: #ffffff;
  --business-border: #dde3ea;
  --business-border-strong: #cfd7e1;
  --business-text: #17202a;
  --business-muted: #5f6b7a;
  --business-accent: #111111;
}

.customer-account-page,
.profile-page,
.place-order-page {
  background: var(--business-bg);
}

.customer-account-page .account-headline h1,
.profile-page .account-headline h1,
.place-order-page .page-headline h1 {
  font-size: 56px;
  letter-spacing: -0.03em;
  color: var(--business-text);
}

.customer-account-page .account-headline p,
.profile-page .account-headline p,
.place-order-page .page-headline p {
  color: var(--business-muted);
  font-size: 18px;
  max-width: 760px;
}

.customer-home-page .customer-stat-card,
.orders-page .customer-stat-card,
.customer-home-page .admin-panel,
.orders-page .customer-order-card,
.orders-page .customer-filter-bar,
.orders-page .customer-empty-state,
.customer-home-page .customer-empty-state,
.profile-page .profile-form-panel,
.profile-page .profile-summary-panel,
.place-order-page .place-order-delivery-panel,
.place-order-page .place-order-summary-panel,
.invoice-page-wrap .invoice-sheet,
.invoice-page-wrap .admin-panel {
  background: var(--business-panel) !important;
  border: 1px solid var(--business-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
}

.customer-home-page .customer-stat-card,
.orders-page .customer-stat-card {
  min-height: 108px;
  padding: 18px 22px;
}

.customer-home-page .customer-stat-card span,
.orders-page .customer-stat-card span {
  color: var(--business-muted);
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.customer-home-page .customer-stat-card strong,
.orders-page .customer-stat-card strong {
  color: var(--business-text);
  font-size: 32px;
  font-weight: 800;
}

.customer-home-page .admin-panel,
.profile-page .profile-form-panel,
.profile-page .profile-summary-panel,
.place-order-page .place-order-delivery-panel,
.place-order-page .place-order-summary-panel {
  padding: 24px !important;
}

.customer-home-page .panel-head,
.profile-page .panel-head,
.place-order-page .panel-head,
.invoice-page-wrap .panel-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--business-border);
}

.customer-home-page .panel-head h2,
.profile-page .panel-head h2,
.place-order-page .panel-head h2,
.invoice-page-wrap .panel-head h2,
.orders-page .customer-order-card h3 {
  color: var(--business-text);
  font-size: 24px;
}

.orders-page .customer-filter-bar {
  padding: 10px;
  gap: 10px;
}

.orders-page .customer-filter-bar a,
.customer-header-strip .customer-tabs a {
  background: #f6f8fa;
  border: 1px solid var(--business-border);
  color: var(--business-text);
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: none;
}

.orders-page .customer-filter-bar a.active,
.customer-header-strip .customer-tabs a.active {
  background: var(--business-accent);
  color: #fff;
  border-color: var(--business-accent);
}

.customer-home-page .customer-order-card,
.orders-page .customer-order-card {
  padding: 22px;
}

.customer-home-page .customer-order-label,
.orders-page .customer-order-label {
  color: #6a7482;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.customer-home-page .customer-order-main p,
.orders-page .customer-order-main p,
.customer-home-page .customer-order-chip,
.orders-page .customer-order-chip,
.place-order-page .place-order-line-copy span,
.invoice-page-wrap .invoice-info-card span,
.invoice-page-wrap .invoice-label {
  color: var(--business-muted) !important;
}

.customer-home-page .customer-order-meta strong,
.orders-page .customer-order-meta strong,
.place-order-page .checkout-summary-total strong,
.invoice-page-wrap .invoice-total-box strong {
  color: var(--business-text);
}

.customer-home-page .customer-order-footer,
.orders-page .customer-order-footer,
.place-order-page .checkout-summary,
.invoice-page-wrap .invoice-total-row,
.invoice-page-wrap .invoice-info-grid {
  border-top: 1px solid var(--business-border) !important;
}

.customer-home-page .customer-order-chip,
.orders-page .customer-order-chip {
  background: #f6f8fa;
  border: 1px solid var(--business-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
}

.profile-page .stack-form input,
.profile-page .stack-form textarea,
.place-order-page .stack-form input,
.place-order-page .stack-form textarea {
  background: #fff;
  border: 1px solid var(--business-border-strong);
  border-radius: 12px;
  box-shadow: none;
  font-size: 16px;
}

.profile-page .stack-form input:focus,
.profile-page .stack-form textarea:focus,
.place-order-page .stack-form input:focus,
.place-order-page .stack-form textarea:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.18);
}

.profile-page .stack-form input[disabled] {
  background: #f5f7fa;
  color: var(--business-muted);
}

.profile-page .account-summary-stack .line-row,
.customer-home-page .account-summary-stack .line-row,
.invoice-page-wrap .line-row {
  border-bottom: 1px solid var(--business-border);
}

.profile-page .account-summary-stack .line-row span,
.customer-home-page .account-summary-stack .line-row span,
.place-order-page .checkout-summary-row span {
  color: var(--business-muted);
}

.place-order-page .place-order-line {
  background: #fff;
  border: 1px solid var(--business-border);
  border-radius: 12px;
  box-shadow: none;
}

.place-order-page .place-order-line-thumb {
  border-radius: 12px;
  background: #eef2f6;
}

.invoice-page-wrap .invoice-sheet {
  padding: 28px;
}

.invoice-page-wrap .invoice-header-block,
.invoice-page-wrap .invoice-table-wrap,
.invoice-page-wrap .invoice-total-row {
  background: transparent;
}

.invoice-page-wrap .invoice-company-logo {
  background: #fff;
  border: 1px solid var(--business-border);
  border-radius: 10px;
  padding: 6px;
}

.invoice-page-wrap .invoice-table {
  border-collapse: separate;
  border-spacing: 0;
}

.invoice-page-wrap .invoice-table th,
.invoice-page-wrap .invoice-table td {
  border-bottom: 1px solid var(--business-border);
  padding: 14px 12px;
}

.invoice-page-wrap .invoice-table th {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #6a7482;
  font-weight: 800;
}

.invoice-page-wrap .invoice-item-thumb {
  background: #eef2f6;
  border-radius: 10px;
}

.customer-account-page .button-dark,
.profile-page .button-dark,
.place-order-page .button-dark,
.invoice-page-wrap .button-dark,
.customer-account-page .ghost-btn,
.profile-page .ghost-btn,
.place-order-page .ghost-btn,
.invoice-page-wrap .ghost-btn {
  min-height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
}

.customer-account-page .ghost-btn,
.profile-page .ghost-btn,
.place-order-page .ghost-btn,
.invoice-page-wrap .ghost-btn {
  background: #fff;
  border: 1px solid var(--business-border-strong);
  color: var(--business-text);
  box-shadow: none;
}

@media (max-width: 920px) {
  .customer-account-page .account-headline h1,
  .profile-page .account-headline h1,
  .place-order-page .page-headline h1 {
    font-size: 44px;
  }

  .customer-account-page .account-headline p,
  .profile-page .account-headline p,
  .place-order-page .page-headline p {
    font-size: 17px;
  }

  .customer-home-page .customer-stat-card,
  .orders-page .customer-stat-card,
  .customer-home-page .admin-panel,
  .orders-page .customer-order-card,
  .orders-page .customer-filter-bar,
  .orders-page .customer-empty-state,
  .customer-home-page .customer-empty-state,
  .profile-page .profile-form-panel,
  .profile-page .profile-summary-panel,
  .place-order-page .place-order-delivery-panel,
  .place-order-page .place-order-summary-panel,
  .invoice-page-wrap .invoice-sheet,
  .invoice-page-wrap .admin-panel {
    border-radius: 14px !important;
  }
}

@media (max-width: 640px) {
  .customer-account-page .account-headline h1,
  .profile-page .account-headline h1,
  .place-order-page .page-headline h1 {
    font-size: 36px;
  }

  .customer-account-page .account-headline p,
  .profile-page .account-headline p,
  .place-order-page .page-headline p {
    font-size: 15px;
  }

  .customer-home-page .customer-stat-card,
  .orders-page .customer-stat-card {
    min-height: 88px;
    padding: 12px;
  }

  .customer-home-page .customer-stat-card strong,
  .orders-page .customer-stat-card strong {
    font-size: 24px;
  }

  .customer-home-page .admin-panel,
  .orders-page .customer-order-card,
  .profile-page .profile-form-panel,
  .profile-page .profile-summary-panel,
  .place-order-page .place-order-delivery-panel,
  .place-order-page .place-order-summary-panel,
  .invoice-page-wrap .invoice-sheet {
    padding: 18px !important;
  }
}

.orders-page .customer-filter-bar a.active,
.customer-header-strip .customer-tabs a.active {
  color: #ffffff !important;
  background: var(--theme-button-color) !important;
  border-color: var(--theme-button-color) !important;
}

.orders-page .customer-filter-bar a.active,
.customer-header-strip .customer-tabs a.active {
  color: #ffffff !important;
  background: var(--theme-button-color) !important;
  border-color: var(--theme-button-color) !important;
}

@media print {
  .customer-header-strip,
  .customer-header-strip-inner,
  .admin-header-strip,
  .admin-header-strip-inner,
  .customer-tabs-shell,
  .customer-tabs,
  .admin-tabs-shell,
  .admin-tabs,
  .invoice-toolbar,
  .invoice-header-actions,
  button,
  .ghost-btn,
  .button-dark {
    display: none !important;
  }
}

.invoice-page-wrap .invoice-sheet {
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 24px 24px 16px !important;
}

.invoice-page-wrap .invoice-header-block {
  padding-bottom: 18px;
  border-bottom: 1px solid #d9e0e7;
  margin-bottom: 22px;
}

.invoice-page-wrap .invoice-info-grid {
  border-top: 0 !important;
  gap: 18px;
  margin-bottom: 18px;
}

.invoice-page-wrap .invoice-info-card,
.invoice-page-wrap .invoice-status-card,
.invoice-page-wrap .admin-panel {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.invoice-page-wrap .invoice-info-card {
  min-height: 0;
}

.invoice-page-wrap .invoice-company-logo {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.invoice-page-wrap .invoice-table-wrap {
  border-top: 1px solid #d9e0e7;
  padding-top: 6px;
}

.invoice-page-wrap .invoice-table {
  width: 100%;
}

.invoice-page-wrap .invoice-table th,
.invoice-page-wrap .invoice-table td {
  border-bottom: 1px solid #d9e0e7;
  padding: 16px 10px;
}

.invoice-page-wrap .invoice-table th {
  color: #6b7280;
}

.invoice-page-wrap .invoice-item-thumb {
  background: #f3f4f6;
  border-radius: 8px;
}

.invoice-page-wrap .invoice-total-row {
  border-top: 0 !important;
  margin-top: 18px;
  padding-top: 0;
}

.invoice-page-wrap .invoice-total-box {
  margin-left: auto;
  min-width: 220px;
  border-top: 2px solid #111;
  padding-top: 12px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.invoice-page-wrap .invoice-total-box span {
  color: #6b7280;
}

.invoice-page-wrap .invoice-total-box {
  display: grid;
  gap: 10px;
}

.invoice-page-wrap .invoice-total-box > span:last-of-type,
.invoice-page-wrap .invoice-total-box > strong:last-of-type {
  display: block;
}

.invoice-page-wrap .invoice-total-box > span:last-of-type {
  margin-top: 6px;
}

.invoice-page-wrap .invoice-total-box > strong:last-of-type {
  text-align: right;
}

@media print {
  .invoice-page-wrap .invoice-sheet {
    padding: 0 !important;
  }

  .invoice-page-wrap .invoice-info-card,
  .invoice-page-wrap .invoice-status-card {
    border: 0 !important;
    box-shadow: none !important;
  }
}

/* Business-style admin workspace override */
.admin-wrap {
  --admin-bg: #f4f6f8;
  --admin-panel: #ffffff;
  --admin-border: #dde3ea;
  --admin-border-strong: #cfd7e3;
  --admin-text: #18202a;
  --admin-muted: #667281;
  --admin-soft: #f6f8fa;
  --admin-accent: #111111;
  background: var(--admin-bg);
}

.admin-wrap .page-headline h1,
.admin-wrap .account-headline h1 {
  color: var(--admin-text);
  letter-spacing: -0.03em;
}

.admin-wrap .page-headline p,
.admin-wrap .account-headline p,
.admin-wrap .admin-panel p,
.admin-wrap .line-row span,
.admin-wrap .item-admin-body p,
.admin-wrap .status-stack span,
.admin-wrap .micro-stats,
.admin-wrap .table-search-input::placeholder {
  color: var(--admin-muted);
}

.admin-wrap .admin-panel,
.admin-wrap .order-admin-card,
.admin-wrap .item-admin-card,
.admin-wrap .empty-state,
.admin-wrap .admin-tabs,
.admin-wrap .customer-filter-bar,
.admin-wrap .customer-order-card,
.admin-wrap .simple-table-wrap,
.admin-wrap .checkout-panel,
.admin-wrap .cart-card {
  background: var(--admin-panel) !important;
  border: 1px solid var(--admin-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
}

.admin-wrap .admin-panel,
.admin-wrap .order-admin-card {
  padding: 24px;
}

.admin-wrap .panel-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--admin-border);
}

.admin-wrap .panel-head h2,
.admin-wrap .admin-panel h2,
.admin-wrap .catalog-head h2,
.admin-wrap .page-headline h1 {
  color: var(--admin-text);
}

.admin-wrap .ghost-btn,
.admin-wrap .button-dark,
.admin-wrap .admin-tabs-arrow,
.admin-wrap .page-headline-actions .row-actions .button-dark,
.admin-wrap .page-headline-actions .row-actions .ghost-btn {
  min-height: 46px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
}

.admin-wrap .ghost-btn {
  background: #fff;
  border: 1px solid var(--admin-border-strong);
  color: var(--admin-text);
}

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

.admin-wrap input,
.admin-wrap select,
.admin-wrap textarea,
.admin-wrap .stack-form input,
.admin-wrap .stack-form select,
.admin-wrap .stack-form textarea,
.admin-wrap .table-search-input,
.admin-wrap .admin-order-input,
.admin-wrap .admin-order-select,
.admin-wrap .admin-order-textarea,
.admin-wrap .admin-order-search-input {
  background: #fff;
  border: 1px solid var(--admin-border-strong);
  border-radius: 12px;
  color: var(--admin-text);
  box-shadow: none;
}

.admin-wrap input:focus,
.admin-wrap select:focus,
.admin-wrap textarea:focus,
.admin-wrap .table-search-input:focus,
.admin-wrap .admin-order-input:focus,
.admin-wrap .admin-order-select:focus,
.admin-wrap .admin-order-textarea:focus,
.admin-wrap .admin-order-search-input:focus {
  outline: none;
  border-color: #98a4b3;
  box-shadow: 0 0 0 3px rgba(152, 164, 179, 0.16);
}

.admin-wrap .simple-table {
  background: transparent;
}

.admin-wrap .simple-table th {
  color: #445164;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--admin-border);
}

.admin-wrap .simple-table td,
.admin-wrap .simple-table th,
.admin-wrap .simple-table .pagination-filler-row td {
  height: 56px;
  padding-top: 0;
  padding-bottom: 0;
  vertical-align: middle;
  border-bottom-color: var(--admin-border);
}

.admin-wrap .simple-table tbody tr:hover td {
  background: #fafbfc;
}

.admin-wrap .table-pagination,
.admin-wrap .table-search-bar {
  color: var(--admin-muted);
}

.admin-wrap .admin-tabs-shell,
.admin-wrap .admin-header-strip,
.admin-wrap .admin-header-strip-inner {
  background: #fff;
}

.admin-wrap .admin-header-strip {
  border-bottom: 1px solid var(--admin-border);
}

.admin-wrap .admin-header-strip .admin-tabs {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.admin-wrap .admin-header-strip .admin-tabs a {
  min-height: 38px;
  padding: 0 18px;
  border-radius: 10px;
  color: var(--admin-text);
  font-weight: 700;
  background: transparent;
  border: 1px solid transparent;
}

.admin-wrap .admin-header-strip .admin-tabs a.active {
  background: var(--admin-accent) !important;
  border-color: var(--admin-accent) !important;
  color: #fff !important;
}

.admin-wrap .admin-tabs-arrow {
  background: #fff;
  border: 1px solid var(--admin-border-strong);
  color: var(--admin-text);
}

.admin-wrap .line-row,
.admin-wrap .customer-order-footer,
.admin-wrap .invoice-total-row,
.admin-wrap .invoice-info-grid {
  border-top-color: var(--admin-border) !important;
  border-bottom-color: var(--admin-border) !important;
}

.admin-wrap .customer-order-chip,
.admin-wrap .status-chip,
.admin-wrap .status-pill,
.admin-wrap .soft-chip {
  background: var(--admin-soft);
  border: 1px solid var(--admin-border);
  color: var(--admin-muted);
}

.admin-wrap .item-admin-image,
.admin-wrap .feature-image,
.admin-wrap .tile-image,
.admin-wrap .cart-thumb {
  background: #f3f5f7;
}

.admin-wrap .category-item-gallery .gallery-link,
.admin-wrap .category-gallery .gallery-link,
.admin-wrap .product-gallery .gallery-link {
  border-radius: 14px;
  border: 1px solid var(--admin-border);
  background: #fff;
  box-shadow: none;
}

.admin-wrap .page-headline-actions .row-actions {
  gap: 10px;
}

@media (max-width: 920px) {
  .admin-wrap .admin-panel,
  .admin-wrap .order-admin-card {
    padding: 18px;
  }

  .admin-wrap .admin-header-strip .admin-tabs a {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 10px;
  }
}

/* Admin invoice page cleanup */
.admin-wrap.invoice-page-wrap {
  background: #f4f6f8;
}

.admin-wrap.invoice-page-wrap .invoice-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
}

.admin-wrap.invoice-page-wrap .invoice-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-wrap.invoice-page-wrap .invoice-toolbar .ghost-btn,
.admin-wrap.invoice-page-wrap .invoice-toolbar .button-dark {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
}

.admin-wrap.invoice-page-wrap .admin-invoice-sheet {
  background: #fff !important;
  border: 1px solid #dde3ea !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
  padding: 30px !important;
}

.admin-wrap.invoice-page-wrap .invoice-header-block {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #dde3ea;
}

.admin-wrap.invoice-page-wrap .invoice-title-block {
  align-items: flex-end;
}

.admin-wrap.invoice-page-wrap .invoice-title-block h1 {
  margin: 0 0 12px;
  color: #5f74c8;
}

.admin-wrap.invoice-page-wrap .invoice-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
  border-top: 0 !important;
}

.admin-wrap.invoice-page-wrap .invoice-info-card,
.admin-wrap.invoice-page-wrap .invoice-status-card,
.admin-wrap.invoice-page-wrap .admin-panel {
  background: #fff !important;
  border: 1px solid #dde3ea !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  padding: 20px !important;
}

.admin-wrap.invoice-page-wrap .admin-panel {
  margin-bottom: 18px;
}

.admin-wrap.invoice-page-wrap .admin-panel .panel-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #dde3ea;
}

.admin-wrap.invoice-page-wrap .admin-panel .panel-head h2 {
  margin: 0;
  font-size: 22px;
  color: #18202a;
}

.admin-wrap.invoice-page-wrap .list-stack {
  gap: 0;
}

.admin-wrap.invoice-page-wrap .line-row {
  padding: 14px 0;
  border-bottom: 1px solid #e7ecf1;
}

.admin-wrap.invoice-page-wrap .line-row:last-child {
  border-bottom: 0;
}

.admin-wrap.invoice-page-wrap .line-row.wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
}

.admin-wrap.invoice-page-wrap .invoice-table-wrap {
  margin-top: 4px;
}

.admin-wrap.invoice-page-wrap .invoice-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-wrap.invoice-page-wrap .invoice-table th {
  padding: 14px 10px;
  border-bottom: 1px solid #dde3ea;
  color: #5f6c7b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-wrap.invoice-page-wrap .invoice-table td {
  padding: 16px 10px;
  border-bottom: 1px solid #e7ecf1;
  vertical-align: middle;
}

.admin-wrap.invoice-page-wrap .invoice-item-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-wrap.invoice-page-wrap .invoice-item-cell img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  background: #f3f5f7;
}

.admin-wrap.invoice-page-wrap .invoice-total-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #dde3ea !important;
}

.admin-wrap.invoice-page-wrap .invoice-total-box {
  min-width: 220px;
  padding-top: 0;
}

.admin-wrap.invoice-page-wrap .invoice-total-box span {
  color: #667281;
}

.invoice-detail-table td.no-print,
.invoice-detail-table th.no-print {
  text-align: right;
}

.invoice-detail-table td.no-print .ghost-btn {
  margin-left: auto;
}

/* Make admin order invoice match the customer invoice sheet exactly. */
.admin-wrap.invoice-page-wrap .invoice-sheet {
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 28px !important;
}

.admin-wrap.invoice-page-wrap .invoice-header-block {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.admin-wrap.invoice-page-wrap .invoice-title-block {
  align-items: initial;
}

.admin-wrap.invoice-page-wrap .invoice-title-block h1 {
  margin: 0;
  color: #5f74c8;
}

.admin-wrap.invoice-page-wrap .invoice-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 0;
  border-top: 0 !important;
}

.admin-wrap.invoice-page-wrap .invoice-info-card,
.admin-wrap.invoice-page-wrap .invoice-status-card,
.admin-wrap.invoice-page-wrap .admin-panel {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.admin-wrap.invoice-page-wrap .invoice-table-wrap {
  margin-top: 0;
}

.admin-wrap.invoice-page-wrap .invoice-table th {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-wrap.invoice-page-wrap .invoice-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.admin-wrap.invoice-page-wrap .invoice-item-cell {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
}

.admin-wrap.invoice-page-wrap .invoice-item-thumb {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

.admin-wrap.invoice-page-wrap .invoice-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-wrap.invoice-page-wrap .invoice-total-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 0;
  border-top: 0 !important;
}

.admin-wrap.invoice-page-wrap .invoice-total-box {
  margin-left: auto;
  min-width: 220px;
  border-top: 2px solid #111;
  padding-top: 12px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.admin-wrap.invoice-page-wrap .invoice-total-box span {
  color: #6b7280;
}

@media (max-width: 920px) {
  .admin-wrap.invoice-page-wrap .invoice-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-wrap.invoice-page-wrap .invoice-toolbar-actions {
    justify-content: stretch;
  }

  .admin-wrap.invoice-page-wrap .invoice-toolbar-actions .ghost-btn,
  .admin-wrap.invoice-page-wrap .invoice-toolbar-actions .button-dark {
    flex: 1 1 auto;
  }

  .admin-wrap.invoice-page-wrap .invoice-info-grid {
    grid-template-columns: 1fr;
  }

  .admin-wrap.invoice-page-wrap .line-row.wide {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .admin-wrap.invoice-page-wrap .admin-invoice-sheet {
    padding: 20px !important;
  }

  .admin-wrap.invoice-page-wrap .invoice-header-block {
    gap: 18px;
  }

  .admin-wrap.invoice-page-wrap .invoice-toolbar-actions {
    flex-direction: column;
  }
}


.admin-wrap.invoice-page-wrap .invoice-toolbar {
  margin-top: 14px;
}

.admin-wrap.invoice-page-wrap .action-menu {
  position: relative;
}

.admin-wrap.invoice-page-wrap .action-menu-trigger {
  min-width: 56px;
  padding: 0 16px;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.admin-wrap.invoice-page-wrap .action-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 6px;
  z-index: 50;
}

.admin-wrap.invoice-page-wrap .action-menu-panel[hidden] {
  display: none !important;
}

.admin-wrap.invoice-page-wrap .action-menu-item {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff;
  color: #18202a;
  text-align: left;
  font: inherit;
  font-weight: 600;
}

.admin-wrap.invoice-page-wrap .action-menu-item:hover {
  background: #f6f8fa;
}

.admin-wrap.invoice-page-wrap .action-menu-item-dark {
  background: var(--theme-button-color);
  color: #fff;
}

.admin-wrap.invoice-page-wrap .action-menu-item-dark:hover {
  background: #222;
}

@media (max-width: 640px) {
  .admin-wrap.invoice-page-wrap .action-menu {
    width: 100%;
  }

  .admin-wrap.invoice-page-wrap .action-menu-trigger {
    width: 100%;
  }

  .admin-wrap.invoice-page-wrap .action-menu-panel {
    left: 0;
    right: 0;
    min-width: 0;
  }
}

.admin-wrap .action-menu {
  position: relative;
}

.admin-wrap .action-menu-trigger {
  min-width: 56px;
  padding: 0 16px;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.admin-wrap .action-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 6px;
  z-index: 50;
}

.admin-wrap .action-menu-panel[hidden] {
  display: none !important;
}

.admin-wrap .action-menu-item {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fff;
  color: #18202a;
  text-align: left;
  font: inherit;
  font-weight: 600;
}

.admin-wrap .action-menu-item:hover {
  background: #f6f8fa;
}

.admin-wrap .action-menu-item-dark {
  background: var(--theme-button-color);
  color: #fff;
}

.admin-wrap .action-menu-item-dark:hover {
  background: #222;
}

@media (max-width: 640px) {
  .admin-wrap .action-menu {
    width: 100%;
  }

  .admin-wrap .action-menu-trigger {
    width: 100%;
  }

  .admin-wrap .action-menu-panel {
    left: 0;
    right: 0;
    min-width: 0;
  }
}

.admin-orders-page .page-headline {
  margin-bottom: 22px;
}

.admin-orders-page .page-headline h1 {
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  color: #1b2430;
}

.admin-orders-page .page-headline p {
  max-width: 900px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #667281;
}

.admin-orders-page .admin-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid #dde3ea;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.admin-orders-page .admin-filter-bar a {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid #dde3ea;
  background: #f6f8fa;
  color: #18202a;
  font-weight: 700;
}

.admin-orders-page .admin-filter-bar a.active {
  background: var(--theme-button-color) !important;
  border-color: var(--theme-button-color) !important;
  color: #fff !important;
}

.admin-orders-page .admin-panel {
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.admin-orders-page .order-admin-table {
  display: grid;
  gap: 18px;
}

.admin-orders-page .order-admin-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .9fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fff !important;
  border: 1px solid #dde3ea !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
}

.admin-orders-page .order-link-block strong {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6a7482;
  margin-bottom: 10px;
}

.admin-orders-page .order-link-block p {
  margin: 0 0 8px;
  font-size: 18px;
  color: #1b2430;
  font-weight: 700;
}

.admin-orders-page .order-link-block small,
.admin-orders-page .status-stack span {
  color: #667281;
  font-size: 15px;
}

.admin-orders-page .status-stack {
  gap: 10px;
  align-items: flex-start;
}

.admin-orders-page .status-stack .status-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f6f8fa;
  border: 1px solid #dde3ea;
}

.admin-orders-page .order-admin-card > div:nth-child(3) strong {
  font-size: 30px;
  line-height: 1.05;
  color: #1b2430;
}

.admin-orders-page .order-admin-card .row-actions {
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-orders-page .order-admin-card .ghost-btn,
.admin-orders-page .order-admin-card .button-dark,
.admin-orders-page .order-admin-card .action-menu-trigger {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
}

.admin-orders-page .card-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.admin-orders-page .card-pagination-label {
  color: #667281;
  font-size: 14px;
  font-weight: 600;
}

.admin-orders-page .card-pagination .ghost-btn[disabled] {
  opacity: .5;
  cursor: default;
}

@media (max-width: 1180px) {
  .admin-orders-page .order-admin-card {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .admin-orders-page .order-admin-card > div:nth-child(3),
  .admin-orders-page .order-admin-card .row-actions {
    grid-column: span 2;
  }

  .admin-orders-page .order-admin-card .row-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 920px) {
  .admin-orders-page .page-headline h1 {
    font-size: 48px;
  }

  .admin-orders-page .page-headline p {
    font-size: 17px;
  }

  .admin-orders-page .order-admin-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .admin-orders-page .order-admin-card > div:nth-child(3),
  .admin-orders-page .order-admin-card .row-actions {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .admin-orders-page .page-headline h1 {
    font-size: 36px;
  }

  .admin-orders-page .page-headline p {
    font-size: 15px;
  }

  .admin-orders-page .admin-filter-bar {
    border-radius: 14px;
    gap: 10px;
  }

  .admin-orders-page .order-admin-card {
    padding: 18px;
    border-radius: 14px !important;
  }

  .admin-orders-page .order-admin-card .row-actions,
  .admin-orders-page .card-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-orders-page .order-admin-card .ghost-btn,
  .admin-orders-page .order-admin-card .button-dark,
  .admin-orders-page .order-admin-card .action-menu,
  .admin-orders-page .order-admin-card .action-menu-trigger,
  .admin-orders-page .card-pagination .ghost-btn {
    width: 100%;
  }
}

.admin-orders-page .order-link-block {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.admin-orders-page .order-link-block {
  justify-content: flex-start;
}

.admin-orders-page .order-link-block > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.admin-orders-page .order-admin-card {
  grid-template-columns: minmax(260px, 1.15fr) minmax(240px, .9fr) auto auto !important;
  gap: 18px !important;
}

.admin-orders-page .order-link-block {
  align-items: center;
}

.admin-orders-page .order-link-block > div {
  display: grid;
  gap: 8px;
}

.admin-orders-page .order-link-block strong {
  margin: 0;
  font-size: 13px;
  letter-spacing: .06em;
}

.admin-orders-page .order-link-block p {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.admin-orders-page .order-link-block small {
  display: block;
  margin: 0;
  font-size: 14px;
}

.admin-orders-page .status-stack {
  justify-content: center;
  align-content: center;
  gap: 8px;
}

.admin-orders-page .status-stack .status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 700;
}

.admin-orders-page .status-stack span:not(.status-pill) {
  font-size: 14px;
  line-height: 1.25;
}

.admin-orders-page .order-admin-card > div:nth-child(3) {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 120px;
}

.admin-orders-page .order-admin-card > div:nth-child(3) strong {
  font-size: 26px;
  white-space: nowrap;
}

.admin-orders-page .order-admin-card .row-actions {
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}

.admin-orders-page .order-admin-card .ghost-btn {
  min-width: 132px;
}

.admin-orders-page .order-admin-card .action-menu-trigger {
  min-width: 58px;
  padding: 0 14px;
}

@media (max-width: 1180px) {
  .admin-orders-page .order-admin-card {
    grid-template-columns: 1fr 1fr !important;
  }

  .admin-orders-page .order-admin-card > div:nth-child(3),
  .admin-orders-page .order-admin-card .row-actions {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .admin-orders-page .order-link-block > div,
  .admin-orders-page .status-stack {
    gap: 6px;
  }

  .admin-orders-page .order-admin-card .row-actions {
    flex-wrap: wrap;
  }

  .admin-orders-page .order-admin-card .ghost-btn,
  .admin-orders-page .order-admin-card .action-menu,
  .admin-orders-page .order-admin-card .action-menu-trigger {
    min-width: 0;
    width: 100%;
  }
}

.admin-orders-page .order-admin-card {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.admin-orders-page .order-link-block,
.admin-orders-page .status-stack,
.admin-orders-page .order-admin-card > div:nth-child(3),
.admin-orders-page .order-admin-card .row-actions {
  min-width: 0;
}

.admin-orders-page .order-admin-card > div:nth-child(3) {
  justify-content: center;
}

.admin-orders-page .order-admin-card .row-actions {
  justify-content: center;
}

.admin-orders-page .customer-orders-stack {
  display: grid;
  gap: 18px;
}

.admin-orders-page .order-admin-card {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  padding: 22px !important;
  align-items: stretch !important;
}

.admin-orders-page .order-admin-card > div:nth-child(3) {
  display: none !important;
}

.admin-orders-page .order-admin-card .customer-order-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.admin-orders-page .order-admin-card .customer-order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-orders-page .order-admin-card .customer-order-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-orders-page .order-admin-card .customer-order-meta {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 12px;
  min-width: 150px;
}

.admin-orders-page .order-admin-card .customer-order-meta strong {
  font-size: 28px;
  line-height: 1.05;
  white-space: nowrap;
}

.admin-orders-page .order-admin-card .row-actions {
  justify-content: flex-end !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

.admin-orders-page .order-admin-card .action-menu {
  flex: 0 0 auto;
  position: relative;
}

.admin-orders-page .order-admin-card .action-menu-trigger {
  min-width: 58px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid #cfd8e3;
  background: #fff;
  box-shadow: none;
  font-size: 28px;
  line-height: 1;
}

.admin-orders-page .order-admin-card .action-menu-panel {
  right: 0;
  left: auto;
  top: calc(100% + 10px);
  min-width: 180px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid #d9e1ea;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.admin-orders-page .order-admin-card .action-menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  color: #0f172a;
  text-decoration: none;
}

.admin-orders-page .order-admin-card .action-menu-item:hover {
  background: #f3f6fa;
}

@media (max-width: 920px) {
  .admin-orders-page .order-admin-card .customer-order-main {
    flex-direction: column;
  }

  .admin-orders-page .order-admin-card .customer-order-meta {
    justify-items: start;
  }

  .admin-orders-page .order-admin-card .customer-order-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-orders-page .order-admin-card .row-actions {
    justify-content: stretch !important;
    flex-wrap: wrap !important;
  }
}

@media (max-width: 640px) {
  .admin-orders-page .order-admin-card .row-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-orders-page .order-admin-card .order-open-btn,
  .admin-orders-page .order-admin-card .action-menu,
  .admin-orders-page .order-admin-card .action-menu-trigger {
    width: 100%;
  }
}

.finance-page .page-headline {
  margin-bottom: 22px;
}

.finance-page .page-headline h1 {
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  color: #1b2430;
}

.finance-page .page-headline p {
  max-width: 900px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #667281;
}

.finance-page .finance-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px;
  margin-bottom: 22px;
  background: #ffffff;
  border: 1px solid #dde3ea;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.finance-page .finance-ribbon a,
.finance-page .finance-ribbon .finance-ribbon-action {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #dde3ea;
  background: #f6f8fa;
  color: #18202a;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
}

.finance-page .finance-ribbon a.active {
  background: var(--theme-button-color);
  border-color: var(--theme-button-color);
  color: #ffffff;
}

.finance-page .finance-panel {
  margin-top: 0;
  margin-bottom: 22px;
  padding: 24px;
  background: #ffffff !important;
  border: 1px solid #dde3ea !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
}

.finance-page .panel-head.finance-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8edf2;
}

.finance-page .panel-head.finance-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
  color: #1b2430;
}

.finance-page .panel-head.finance-head p {
  margin: 0;
  color: #667281;
  font-size: 15px;
  line-height: 1.55;
}

.finance-page .finance-date-filter {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.finance-page .finance-date-filter label {
  display: grid;
  gap: 6px;
  min-width: 170px;
}

.finance-page .finance-date-filter label span {
  font-size: 13px;
  font-weight: 700;
  color: #667281;
}

.finance-page .finance-date-filter input[type="date"] {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d7dee7;
  border-radius: 12px;
  background: #ffffff;
  color: #1b2430;
}

.finance-page .finance-date-filter .button-dark {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
}

.finance-page .simple-table-wrap {
  margin-top: 0;
}

.finance-page .simple-table {
  width: 100%;
}

.finance-page .simple-table th,
.finance-page .simple-table td {
  height: 56px;
  vertical-align: middle;
}

@media (max-width: 920px) {
  .finance-page .page-headline h1 {
    font-size: 48px;
  }

  .finance-page .page-headline p {
    font-size: 17px;
  }

  .finance-page .finance-panel {
    padding: 20px;
  }

  .finance-page .panel-head.finance-head {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .finance-page .page-headline h1 {
    font-size: 36px;
  }

  .finance-page .page-headline p {
    font-size: 15px;
  }

  .finance-page .finance-ribbon {
    gap: 10px;
    border-radius: 14px;
  }

  .finance-page .finance-ribbon a,
  .finance-page .finance-ribbon .finance-ribbon-action,
  .finance-page .finance-date-filter label,
  .finance-page .finance-date-filter .button-dark {
    width: 100%;
  }

  .finance-page .finance-panel {
    padding: 18px;
    border-radius: 14px !important;
  }
}

.table-empty-cell {
  text-align: center;
  color: #667281;
  font-weight: 600;
}

.movement-direction,
.movement-amount {
  font-weight: 700;
}

.movement-increase {
  color: #137333 !important;
}

.movement-decrease {
  color: #b42318 !important;
}

.finance-modal-card {
  width: min(640px, calc(100% - 32px));
  margin: 6vh auto 0;
  padding: 28px;
  border: 1px solid #d9e1ea;
  border-radius: 14px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.finance-modal-head {
  display: block;
  margin-bottom: 18px;
  padding-right: 56px;
}

.finance-modal-head h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.2;
  color: #18202a;
}

.finance-modal-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #667281;
}

.finance-modal-form {
  gap: 14px;
}

.finance-modal-form label {
  display: grid;
  gap: 7px;
}

.finance-modal-form label span {
  font-size: 13px;
  font-weight: 700;
  color: #556170;
}

.finance-modal-form input,
.finance-modal-form select,
.finance-modal-form textarea {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #d6dee8;
  border-radius: 10px;
  background: #fff;
  color: #18202a;
  box-shadow: none;
}

.finance-modal-form textarea {
  min-height: 110px;
  padding: 14px;
  resize: vertical;
}

.finance-modal-form input:focus,
.finance-modal-form select:focus,
.finance-modal-form textarea:focus {
  outline: none;
  border-color: #9aabbe;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.finance-modal-form .button-dark {
  min-height: 48px;
  border-radius: 10px;
  justify-content: center;
}

@media (max-width: 640px) {
  .finance-modal-card {
    width: min(100%, calc(100% - 20px));
    padding: 20px;
    border-radius: 12px;
  }

  .finance-modal-head {
    padding-right: 48px;
  }
}

.admin-customers-page .page-headline {
  margin-bottom: 22px;
}

.admin-customers-page .page-headline h1 {
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 12px;
  color: #1b2430;
}

.admin-customers-page .page-headline p {
  max-width: 900px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #667281;
}

.admin-customers-page .customer-orders-stack {
  display: grid;
  gap: 18px;
}

.admin-customers-page .admin-customer-card {
  background: #ffffff !important;
  border: 1px solid #dde3ea !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
  padding: 22px !important;
}

.admin-customers-page .admin-customer-card .customer-order-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.admin-customers-page .admin-customer-card .customer-order-meta {
  display: grid;
  justify-items: end;
  gap: 12px;
  min-width: 160px;
}

.admin-customers-page .admin-customer-card .customer-order-meta strong {
  font-size: 28px;
  line-height: 1.05;
  white-space: nowrap;
}

.admin-customers-page .admin-customer-card .customer-order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-customers-page .admin-customer-card .customer-order-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-customers-page .admin-customer-card .row-actions {
  justify-content: flex-end;
}

.admin-customer-modal-card {
  width: min(560px, calc(100vw - 32px));
}

.admin-customer-modal-head {
  margin-bottom: 18px;
}

.admin-customer-modal-head h2 {
  margin: 0 0 6px;
  font-size: 32px;
  line-height: 1.1;
  color: #1b2430;
}

.admin-customer-modal-head p {
  margin: 0;
  color: #667281;
  font-size: 15px;
  line-height: 1.55;
}

.admin-customer-create-form {
  gap: 14px;
}

@media (max-width: 920px) {
  .admin-customers-page .page-headline h1 {
    font-size: 48px;
  }

  .admin-customers-page .page-headline p {
    font-size: 17px;
  }

  .admin-customers-page .admin-customer-card .customer-order-main {
    flex-direction: column;
  }

  .admin-customers-page .admin-customer-card .customer-order-meta {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .admin-customers-page .page-headline h1 {
    font-size: 36px;
  }

  .admin-customers-page .page-headline p {
    font-size: 15px;
  }

  .admin-customers-page .admin-customer-card {
    padding: 18px !important;
    border-radius: 14px !important;
  }

  .admin-customers-page .admin-customer-card .customer-order-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-customers-page .admin-customer-card .row-actions,
  .admin-customers-page .admin-customer-card .order-open-btn {
    width: 100%;
  }
}

.admin-customer-detail-page .admin-customer-ribbon {
  margin-bottom: 22px;
}

.admin-customer-detail-page .admin-customer-panel {
  padding: 24px;
  background: #ffffff !important;
  border: 1px solid #dde3ea !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
}

.admin-customer-detail-page .admin-customer-panel .panel-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e8edf2;
}

.admin-customer-detail-page .admin-customer-panel .panel-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
  color: #1b2430;
}

.admin-customer-detail-page .admin-customer-panel .panel-head p {
  margin: 0;
  color: #667281;
  font-size: 15px;
  line-height: 1.55;
}

.admin-customer-detail-page .admin-customer-order-card {
  background: #ffffff !important;
}

@media (max-width: 640px) {
  .admin-customer-detail-page .admin-customer-panel {
    padding: 18px;
    border-radius: 14px !important;
  }
}

.admin-customer-detail-page .customer-orders-stack {
  display: grid;
  gap: 18px;
}

.admin-customer-detail-page .admin-customer-order-card {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  padding: 22px !important;
  background: #ffffff !important;
  border: 1px solid #dde3ea !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05) !important;
}

.admin-customer-detail-page .admin-customer-order-card .customer-order-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.admin-customer-detail-page .admin-customer-order-card .customer-order-meta {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 12px;
  min-width: 150px;
}

.admin-customer-detail-page .admin-customer-order-card .customer-order-meta strong {
  font-size: 28px;
  line-height: 1.05;
  white-space: nowrap;
}

.admin-customer-detail-page .admin-customer-order-card .status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
}

.admin-customer-detail-page .admin-customer-order-card .customer-order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-customer-detail-page .admin-customer-order-card .customer-order-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-customer-detail-page .admin-customer-order-card .row-actions {
  justify-content: flex-end;
}

@media (max-width: 920px) {
  .admin-customer-detail-page .admin-customer-order-card .customer-order-main {
    flex-direction: column;
  }

  .admin-customer-detail-page .admin-customer-order-card .customer-order-meta {
    justify-items: start;
  }

  .admin-customer-detail-page .admin-customer-order-card .customer-order-footer {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .admin-customer-detail-page .admin-customer-order-card {
    padding: 18px !important;
    border-radius: 14px !important;
  }

  .admin-customer-detail-page .admin-customer-order-card .row-actions,
  .admin-customer-detail-page .admin-customer-order-card .order-open-btn {
    width: 100%;
  }
}

.admin-customer-detail-page .admin-customer-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid #dde3ea;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.admin-customer-detail-page .admin-customer-ribbon a {
  min-height: 36px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f6f8fa;
  border: 1px solid #dde3ea;
  color: #18202a;
  font-weight: 700;
  box-shadow: none;
}

.admin-customer-detail-page .admin-customer-ribbon a.active {
  background: var(--theme-button-color);
  color: #ffffff;
  border-color: var(--theme-button-color);
}

@media (max-width: 640px) {
  .admin-customer-detail-page .admin-customer-ribbon {
    gap: 10px;
    border-radius: 14px;
  }
}

.admin-order-combobox {
  position: relative;
  width: 100%;
}

.admin-order-combobox-trigger {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--admin-border-strong);
  border-radius: 12px;
  background: #ffffff;
  color: var(--admin-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 16px;
}

.admin-order-combobox-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-order-combobox-arrow {
  flex: 0 0 auto;
  color: #667281;
  font-size: 14px;
}

.admin-order-combobox-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--admin-border-strong);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.admin-order-combobox-search {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--admin-border-strong);
  border-radius: 10px;
  background: #ffffff;
  color: var(--admin-text);
  margin-bottom: 8px;
}

.admin-order-combobox-options {
  max-height: 220px;
  overflow-y: auto;
  display: grid;
  gap: 4px;
}

.admin-order-combobox-option {
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--admin-text);
  display: flex;
  align-items: center;
  text-align: left;
}

.admin-order-combobox-option:hover,
.admin-order-combobox-option.is-selected {
  background: #f6f8fa;
}

.admin-order-combobox-option:disabled {
  color: #9aa6b2;
  cursor: not-allowed;
}

.admin-order-combobox-empty {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #667281;
  display: flex;
  align-items: center;
}

.is-searchable-native {
  display: none !important;
}

.admin-order-combobox {
  position: relative;
  width: 100%;
}

.admin-order-combobox-field {
  position: relative;
}

.admin-order-combobox-input {
  width: 100%;
  min-height: 48px;
  padding: 0 50px 0 16px;
  border: 1px solid var(--admin-border-strong);
  border-radius: 12px;
  background: #ffffff;
  color: var(--admin-text);
  font-size: 16px;
}

.admin-order-combobox-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 100%;
  border: 0;
  background: transparent;
  color: #667281;
  font-size: 14px;
}

.admin-order-combobox-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 30;
  background: #ffffff;
  border: 1px solid var(--admin-border-strong);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

.admin-order-combobox.is-open .admin-order-combobox-input {
  border-radius: 12px 12px 0 0;
}

.admin-order-combobox-options {
  max-height: 220px;
  overflow-y: auto;
  display: grid;
  gap: 0;
}

.admin-order-combobox-option {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-top: 1px solid #eef2f6;
  background: #ffffff;
  color: var(--admin-text);
  display: flex;
  align-items: center;
  text-align: left;
  border-radius: 0;
}

.admin-order-combobox-option:hover,
.admin-order-combobox-option.is-selected {
  background: #f6f8fa;
}

.admin-order-combobox-option:disabled {
  color: #9aa6b2;
  cursor: not-allowed;
}

.admin-order-combobox-empty {
  min-height: 42px;
  padding: 10px 14px;
  border-top: 1px solid #eef2f6;
  color: #667281;
  display: flex;
  align-items: center;
}

.admin-order-combobox-toggle::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #667281;
  display: inline-block;
}

.admin-order-combobox {
  position: relative;
  width: 100%;
}

.admin-order-combobox-field {
  position: relative;
}

.admin-order-combobox-input {
  width: 100%;
  min-height: 46px;
  padding: 0 42px 0 12px;
  border: 1px solid #b8d8f2;
  border-radius: 6px;
  background: #ffffff;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(184, 216, 242, 0.35), 0 0 0 3px rgba(184, 216, 242, 0.08);
}

.admin-order-combobox.is-open .admin-order-combobox-input,
.admin-order-combobox-input:focus {
  outline: none;
  border-color: #8ec5ef;
  box-shadow: inset 0 0 0 1px rgba(142, 197, 239, 0.55), 0 0 0 3px rgba(142, 197, 239, 0.14);
}

.admin-order-combobox-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 100%;
  border: 0;
  background: transparent;
}

.admin-order-combobox-toggle::before {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #333;
  display: inline-block;
}

.admin-order-combobox-panel {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  z-index: 30;
  background: #ffffff;
  border: 1px solid #d9dde3;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

.admin-order-combobox-options {
  max-height: 180px;
  overflow-y: auto;
}

.admin-order-combobox-option,
.admin-order-combobox-empty {
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  text-align: left;
  background: #ffffff;
  color: #2b2b2b;
  border: 0;
  border-top: 1px solid #eef2f6;
  font-size: 14px;
}

.admin-order-combobox-option:hover,
.admin-order-combobox-option.is-selected {
  background: #f2f4f7;
}

.admin-order-combobox-option:disabled {
  color: #9aa6b2;
  cursor: not-allowed;
}

.admin-order-combobox-option mark {
  background: #fff3a6;
  color: inherit;
  padding: 0;
}

.admin-order-combobox-empty {
  color: #667281;
}

.admin-order-combobox {
  position: relative;
  width: 100%;
}

.admin-order-combobox-field {
  position: relative;
}

.admin-order-combobox-input {
  width: 100%;
  height: 46px;
  padding: 0 42px 0 14px;
  border: 1px solid #bfcfe3;
  border-radius: 6px;
  background: #ffffff;
  color: #17212b;
  font-size: 15px;
  line-height: 44px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-order-combobox-input::placeholder {
  color: #667281;
}

.admin-order-combobox.is-open .admin-order-combobox-input,
.admin-order-combobox-input:focus {
  border-color: #6ea4d9;
  box-shadow: 0 0 0 2px rgba(110, 164, 217, 0.18);
  outline: none;
}

.admin-order-combobox-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 46px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.admin-order-combobox-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -5px;
  margin-top: -2px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #303948;
}

.admin-order-combobox-panel {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #ffffff;
  border: 1px solid #d8e1eb;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

.admin-order-combobox.is-open .admin-order-combobox-field::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: #ffffff;
  z-index: 2;
}

.admin-order-combobox-options {
  max-height: 220px;
  overflow-y: auto;
  display: block;
}

.admin-order-combobox-option,
.admin-order-combobox-empty {
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-top: 1px solid #eef2f6;
  background: #ffffff;
  color: #17212b;
  font-size: 15px;
  line-height: 24px;
  text-align: left;
}

.admin-order-combobox-option:first-child,
.admin-order-combobox-empty:first-child {
  border-top: 0;
}

.admin-order-combobox-option:hover,
.admin-order-combobox-option.is-selected {
  background: #f2f5f8;
}

.admin-order-combobox-option:disabled {
  color: #99a3ad;
  cursor: not-allowed;
}

.admin-order-combobox-option mark {
  background: #fff2a8;
  color: inherit;
  padding: 0;
}

.admin-order-combobox-empty {
  color: #667281;
}

.admin-order-combobox {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.admin-order-combobox-field {
  position: relative;
}

.admin-order-combobox-input {
  width: 100%;
  height: 42px;
  padding: 0 38px 0 12px;
  border: 1px solid #9ec3ea;
  border-radius: 4px;
  background: #ffffff;
  color: #1f2937;
  font-size: 14px;
  line-height: 40px;
  box-shadow: 0 0 0 2px rgba(141, 189, 236, 0.18);
}

.admin-order-combobox-input:focus,
.admin-order-combobox.is-open .admin-order-combobox-input {
  border-color: #84b5e6;
  box-shadow: 0 0 0 2px rgba(141, 189, 236, 0.22);
  outline: none;
  border-radius: 4px 4px 0 0;
}

.admin-order-combobox-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 34px;
  height: 42px;
  border: 0;
  background: transparent;
}

.admin-order-combobox-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -4px;
  margin-top: -2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #2f3742;
}

.admin-order-combobox-panel {
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #d6dde6;
  border-top: 0;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10);
  background: #ffffff;
}

.admin-order-combobox.is-open .admin-order-combobox-field::after {
  display: none;
}

.admin-order-combobox-options {
  max-height: 176px;
  overflow-y: auto;
  padding: 0;
}

.admin-order-combobox-option,
.admin-order-combobox-empty {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 14px;
  line-height: 22px;
  border-top: 1px solid #edf1f5;
  background: #ffffff;
}

.admin-order-combobox-option:first-child,
.admin-order-combobox-empty:first-child {
  border-top: 0;
}

.admin-order-combobox-option:hover,
.admin-order-combobox-option.is-selected {
  background: #f3f5f7;
}

.admin-order-combobox-option mark {
  background: #fff39a;
  padding: 0;
}

.admin-order-create-page .admin-order-create-headline {
  margin-bottom: 20px;
}

.admin-order-create-page .admin-order-create-headline h1 {
  margin: 0 0 10px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #1b2430;
}

.admin-order-create-page .admin-order-create-headline p {
  max-width: 900px;
  margin: 0;
  color: #667281;
  font-size: 18px;
  line-height: 1.6;
}

.admin-order-create-page .admin-order-create-sheet {
  padding: 0;
  background: #ffffff !important;
  border: 1px solid #dbe3ea !important;
  border-radius: 18px !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05) !important;
  overflow: hidden;
}

.admin-order-create-page .admin-order-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  padding: 28px 30px 24px;
  border-bottom: 1px solid #e8edf2;
}

.admin-order-create-page .admin-order-sheet-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #6b7682;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-order-create-page .admin-order-sheet-head h2 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.08;
  color: #1b2430;
}

.admin-order-create-page .admin-order-sheet-head p {
  max-width: 720px;
  margin: 0;
  color: #667281;
  font-size: 15px;
  line-height: 1.6;
}

.admin-order-create-page .admin-order-sheet-meta {
  display: grid;
  gap: 14px;
  min-width: 180px;
}

.admin-order-create-page .admin-order-sheet-meta div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e3eaf1;
  border-radius: 12px;
}

.admin-order-create-page .admin-order-sheet-meta span {
  color: #667281;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-order-create-page .admin-order-sheet-meta strong {
  color: #1b2430;
  font-size: 16px;
  line-height: 1.3;
}

.admin-order-create-page .admin-order-create-form-sheet {
  display: grid;
  gap: 0;
}

.admin-order-create-page .admin-order-section {
  padding: 26px 30px;
  border-bottom: 1px solid #e8edf2;
}

.admin-order-create-page .admin-order-section:last-of-type {
  border-bottom: 0;
}

.admin-order-create-page .admin-order-section-head,
.admin-order-create-page .admin-order-lines-head-sheet > div {
  margin-bottom: 18px;
}

.admin-order-create-page .admin-order-section-head h3,
.admin-order-create-page .admin-order-lines-head-sheet h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
  color: #1b2430;
}

.admin-order-create-page .admin-order-section-head p,
.admin-order-create-page .admin-order-lines-head-sheet p {
  margin: 0;
  color: #667281;
  font-size: 14px;
  line-height: 1.55;
}

.admin-order-create-page .admin-order-form-grid-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px 20px;
}

.admin-order-create-page .admin-order-form-grid-sheet-balanced {
  align-items: stretch;
}

.admin-order-create-page .admin-order-form-grid-sheet label {
  display: grid;
  gap: 8px;
}

.admin-order-create-page .admin-order-form-stack {
  display: grid;
  gap: 10px 12px;
  align-content: start;
  min-width: 0;
}

.admin-order-create-page .admin-order-form-fill {
  display: grid;
  grid-template-rows: auto 1fr;
  align-self: stretch;
  min-width: 0;
  height: 100%;
}

.admin-order-create-page .admin-order-form-grid-sheet label > span {
  color: #4f5b67;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-order-create-page .admin-order-form-full {
  grid-column: 1 / -1;
}

.admin-order-create-page .admin-order-form-tall {
  grid-row: span 2;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr;
}

.admin-order-create-page .admin-order-form-tall .admin-order-textarea {
  min-height: 188px !important;
  height: 188px !important;
  max-height: 188px !important;
}

.admin-order-create-page .admin-order-form-fill .admin-order-textarea {
  min-height: 100% !important;
  height: 100% !important;
  max-height: none !important;
}

.admin-order-create-page textarea[data-admin-order-notes] {
  min-height: 196px !important;
  height: 196px !important;
  max-height: 196px !important;
}

.admin-order-create-page .admin-order-textarea,
.admin-order-create-page .admin-order-input,
.admin-order-create-page .admin-order-select,
.admin-order-create-page .admin-order-line-card input,
.admin-order-create-page .admin-order-line-card select,
.admin-order-create-page .admin-order-line-card textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d6dde6;
  border-radius: 10px;
  background: #ffffff;
  color: #1b2430;
  box-shadow: none;
}

.admin-order-create-page .admin-order-textarea {
  min-height: 110px;
  padding: 12px 14px;
  resize: vertical;
}

.admin-order-create-page .admin-order-textarea.compact {
  min-height: 88px;
}

.admin-order-create-page .admin-order-textarea:focus,
.admin-order-create-page .admin-order-input:focus,
.admin-order-create-page .admin-order-select:focus,
.admin-order-create-page .admin-order-line-card input:focus,
.admin-order-create-page .admin-order-line-card select:focus,
.admin-order-create-page .admin-order-line-card textarea:focus {
  border-color: #9fb2c8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(159, 178, 200, 0.14);
}

.admin-order-create-page .admin-order-lines-head-sheet {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-order-create-page .admin-order-lines {
  display: grid;
  gap: 16px;
}

.admin-order-create-page .admin-order-line-card {
  padding: 18px;
  background: #fbfcfd;
  border: 1px solid #dfe6ed;
  border-radius: 14px;
  box-shadow: none;
}

.admin-order-create-page .admin-order-line-card .row-actions {
  margin-bottom: 14px;
}

.admin-order-create-page .admin-order-line-grid {
  gap: 14px 16px;
}

.admin-order-create-page .admin-order-line-card .stock-note,
.admin-order-create-page .admin-order-line-card small,
.admin-order-create-page .admin-order-line-card .admin-order-line-help {
  color: #667281;
  font-size: 12px;
}

.admin-order-create-page .admin-order-submit-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 30px 28px;
}

.admin-order-create-page .admin-order-submit-bar .message-box {
  margin-top: 0;
  flex: 1 1 auto;
}

.admin-order-create-page .admin-order-submit-bar .button-dark {
  min-width: 180px;
  min-height: 48px;
  border-radius: 12px;
}

@media (max-width: 920px) {
  .admin-order-create-page .admin-order-create-headline h1 {
    font-size: 44px;
  }

  .admin-order-create-page .admin-order-sheet-head {
    flex-direction: column;
  }

  .admin-order-create-page .admin-order-sheet-meta {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-order-create-page .admin-order-form-grid-sheet {
    grid-template-columns: 1fr;
  }

  .admin-order-create-page .admin-order-lines-head-sheet,
  .admin-order-create-page .admin-order-submit-bar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .admin-order-create-page .admin-order-create-headline h1 {
    font-size: 36px;
  }

  .admin-order-create-page .admin-order-create-headline p {
    font-size: 15px;
  }

  .admin-order-create-page .admin-order-sheet-head,
  .admin-order-create-page .admin-order-section,
  .admin-order-create-page .admin-order-submit-bar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .admin-order-create-page .admin-order-sheet-meta {
    grid-template-columns: 1fr;
  }

  .admin-order-create-page .admin-order-sheet-head h2 {
    font-size: 28px;
  }

  .admin-order-create-page .admin-order-line-card {
    padding: 14px;
  }
}

.admin-order-create-page {
  --invoice-line: #d9e0e7;
  --invoice-text: #1f2a37;
  --invoice-muted: #5f6b78;
}

.admin-order-create-page .admin-order-create-headline {
  margin-bottom: 8px;
  padding-bottom: 0;
}

.admin-order-create-page .admin-order-create-headline h1 {
  font-size: 34px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 4px;
}

.admin-order-create-page .admin-order-create-headline p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--invoice-muted);
}

.admin-order-create-page .admin-order-create-sheet {
  border-radius: 0 !important;
  border: 1px solid var(--invoice-line) !important;
  box-shadow: none !important;
}

.admin-order-create-page .admin-order-sheet-head {
  padding: 14px 16px 12px !important;
  border-bottom: 1px solid var(--invoice-line);
}

.admin-order-create-page .admin-order-sheet-eyebrow {
  margin-bottom: 4px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #6e7884;
}

.admin-order-create-page .admin-order-sheet-head h2 {
  font-size: 22px !important;
  line-height: 1.08;
  margin: 0 0 2px !important;
}

.admin-order-create-page .admin-order-sheet-head p {
  font-size: 12px !important;
  line-height: 1.35 !important;
  color: var(--invoice-muted);
}

.admin-order-create-page .admin-order-sheet-meta {
  min-width: 148px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-order-create-page .admin-order-sheet-meta div {
  padding: 6px 9px !important;
  background: #fbfcfd;
  border: 1px solid var(--invoice-line);
  border-radius: 0;
}

.admin-order-create-page .admin-order-sheet-meta span {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.admin-order-create-page .admin-order-sheet-meta strong {
  font-size: 14px;
}

.admin-order-create-page .admin-order-section {
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--invoice-line);
}

.admin-order-create-page .admin-order-section-head,
.admin-order-create-page .admin-order-lines-head-sheet > div {
  margin-bottom: 8px !important;
}

.admin-order-create-page .admin-order-section-head h3,
.admin-order-create-page .admin-order-lines-head-sheet h3 {
  margin: 0 0 2px !important;
  font-size: 15px !important;
  font-weight: 700;
}

.admin-order-create-page .admin-order-section-head p,
.admin-order-create-page .admin-order-lines-head-sheet p {
  font-size: 12px !important;
  line-height: 1.3 !important;
  color: var(--invoice-muted);
}

.admin-order-create-page .admin-order-form-grid-sheet {
  gap: 10px 12px !important;
}

.admin-order-create-page .admin-order-form-grid-sheet-balanced {
  align-items: stretch;
}

.admin-order-create-page .admin-order-form-grid-sheet label > span {
  font-size: 11px !important;
  letter-spacing: 0;
  text-transform: none;
  color: #465160;
}

.admin-order-create-page .admin-order-textarea,
.admin-order-create-page .admin-order-input,
.admin-order-create-page .admin-order-select,
.admin-order-create-page .admin-order-line-card input,
.admin-order-create-page .admin-order-line-card select,
.admin-order-create-page .admin-order-line-card textarea,
.admin-order-create-page .admin-order-combobox-input {
  min-height: 40px !important;
  border: 1px solid var(--invoice-line);
  border-radius: 0;
  background: #fff;
  box-shadow: none !important;
  color: var(--invoice-text);
  font-size: 13px !important;
}

.admin-order-create-page .admin-order-textarea {
  min-height: 74px !important;
  height: 74px !important;
  max-height: 74px !important;
  padding: 8px 10px !important;
}

.admin-order-create-page .admin-order-textarea.compact {
  min-height: 60px !important;
  height: 60px !important;
  max-height: 60px !important;
}

.admin-order-create-page textarea[name="shipping_address"] {
  min-height: 74px !important;
  height: 74px !important;
  max-height: 74px !important;
}

.admin-order-create-page textarea[name="notes"] {
  min-height: 188px !important;
  height: 188px !important;
  max-height: 188px !important;
}

.admin-order-create-page textarea[data-admin-order-notes] {
  min-height: 196px !important;
  height: 196px !important;
  max-height: 196px !important;
}

.admin-order-create-page .admin-order-textarea:focus,
.admin-order-create-page .admin-order-input:focus,
.admin-order-create-page .admin-order-select:focus,
.admin-order-create-page .admin-order-line-card input:focus,
.admin-order-create-page .admin-order-line-card select:focus,
.admin-order-create-page .admin-order-line-card textarea:focus,
.admin-order-create-page .admin-order-combobox-input:focus,
.admin-order-create-page .admin-order-combobox.is-open .admin-order-combobox-input {
  border-color: #9fb1c2;
  box-shadow: 0 0 0 1px #9fb1c2 !important;
  border-radius: 0;
}

.admin-order-create-page .admin-order-combobox-panel {
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  border: 1px solid var(--invoice-line);
  border-top: 0;
  border-radius: 0;
  box-shadow: none;
}

.admin-order-create-page .admin-order-combobox {
  display: block;
  width: 100%;
}

.admin-order-create-page .admin-order-combobox > select,
.admin-order-create-page .admin-order-combobox > select.is-searchable-native {
  display: none !important;
}

.admin-order-create-page .admin-order-combobox-field {
  margin: 0;
}

.admin-order-create-page .admin-order-combobox-option,
.admin-order-create-page .admin-order-combobox-empty {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 13px;
}

.admin-order-create-page .admin-order-combobox-option:hover,
.admin-order-create-page .admin-order-combobox-option.is-selected {
  background: #f5f7f9;
}

.admin-order-create-page .admin-order-lines-head-sheet {
  align-items: center;
  margin-bottom: 8px !important;
}

.admin-order-create-page .admin-order-line-card {
  padding: 14px 16px;
  border: 1px solid var(--invoice-line);
  border-radius: 0;
  background: #fff;
}

.admin-order-create-page .admin-order-line-card .row-actions {
  margin-bottom: 12px;
}

.admin-order-create-page .admin-order-line-card .row-actions .ghost-btn,
.admin-order-create-page .admin-order-lines-head-sheet .ghost-btn,
.admin-order-create-page .admin-order-create-headline .ghost-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 0;
  border: 1px solid var(--invoice-line);
  background: #fff;
  color: var(--invoice-text);
  box-shadow: none;
}

.admin-order-create-page .admin-order-line-card .admin-order-line-grid,
.admin-order-create-page .admin-order-line-grid {
  gap: 12px 14px;
}

.admin-order-create-page .admin-order-line-card .stock-note,
.admin-order-create-page .admin-order-line-card small,
.admin-order-create-page .admin-order-line-card .admin-order-line-help {
  color: var(--invoice-muted);
}

.admin-order-create-page .admin-order-submit-bar {
  padding: 10px 16px 12px !important;
  border-top: 0;
}

.admin-order-create-page .admin-order-submit-bar .button-dark {
  min-width: 170px;
  min-height: 44px;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 920px) {
  .admin-order-create-page .admin-order-create-headline h1 {
    font-size: 34px;
  }

  .admin-order-create-page .admin-order-sheet-head {
    padding: 22px 22px 18px;
  }

  .admin-order-create-page .admin-order-section,
  .admin-order-create-page .admin-order-submit-bar {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 640px) {
  .admin-order-create-page .admin-order-create-headline h1 {
    font-size: 30px;
  }

  .admin-order-create-page .admin-order-create-headline p {
    font-size: 14px;
  }

  .admin-order-create-page .admin-order-sheet-head,
  .admin-order-create-page .admin-order-section,
  .admin-order-create-page .admin-order-submit-bar {
    padding-left: 16px;
    padding-right: 16px;
  }

  .admin-order-create-page .admin-order-line-card {
    padding: 12px;
  }
}

.admin-order-create-page .admin-order-textarea,
.admin-order-create-page .admin-order-textarea.compact {
  resize: none;
}

.admin-order-create-page textarea[name="shipping_address"] {
  height: 120px;
  min-height: 120px;
  max-height: 120px;
}

.admin-order-create-page textarea[name="notes"] {
  height: 188px !important;
  min-height: 188px !important;
  max-height: 188px !important;
}

.admin-order-create-page textarea[data-admin-order-notes] {
  height: 196px !important;
  min-height: 196px !important;
  max-height: 196px !important;
}

.admin-order-create-page .admin-order-rows-section {
  display: grid;
  gap: 14px;
}

.admin-order-create-page .admin-order-icon-btn {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid var(--invoice-line);
  border-radius: 0;
  background: #fff;
  color: var(--invoice-text);
  box-shadow: none;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-order-create-page .admin-order-icon-btn-remove {
  font-size: 28px;
}

.admin-order-create-page .admin-order-lines-head-sheet .ghost-btn,
.admin-order-create-page .admin-order-line-card .row-actions .ghost-btn {
  display: none;
}

.admin-order-create-page .admin-order-row {
  border: 1px solid var(--invoice-line);
  border-radius: 0;
  padding: 14px 16px;
  background: #fff;
  display: grid;
  gap: 12px;
}

.admin-order-create-page .admin-order-row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8edf2;
}

.admin-order-create-page .admin-order-row-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr .8fr .8fr;
  gap: 12px 14px;
  align-items: end;
}

.admin-order-create-page .admin-order-row.is-free-row .admin-order-row-grid {
  grid-template-columns: 1.4fr 1.1fr .8fr .8fr;
}

.admin-order-create-page .admin-order-row .catalog-row-field,
.admin-order-create-page .admin-order-row .free-row-field {
  min-width: 0;
}

.admin-order-create-page .admin-order-row-foot {
  min-height: 0;
}

@media (max-width: 920px) {
  .admin-order-create-page .admin-order-row-grid,
  .admin-order-create-page .admin-order-row.is-free-row .admin-order-row-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-order-create-page .admin-order-row-head {
    flex-direction: row;
    align-items: end;
  }

  .admin-order-create-page .admin-order-row-grid,
  .admin-order-create-page .admin-order-row.is-free-row .admin-order-row-grid {
    grid-template-columns: 1fr;
  }
}

.admin-order-create-page .admin-order-add-controls,
.admin-order-create-page .admin-order-row-type-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-order-create-page .admin-order-row-type-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.admin-order-create-page .admin-order-row-type-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-order-create-page .admin-order-row-type-choice span {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--invoice-line);
  background: #fff;
  color: var(--invoice-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.admin-order-create-page .admin-order-row-type-choice input:checked + span {
  background: var(--theme-button-color);
  border-color: var(--theme-button-color);
  color: #fff;
}

.admin-order-create-page .admin-order-row-head {
  align-items: center;
}

@media (max-width: 640px) {
  .admin-order-create-page .admin-order-add-controls {
    width: 100%;
    justify-content: space-between;
  }
}

.admin-order-create-page .admin-order-row-type-group {
  display: none;
}

.admin-order-create-page .admin-order-row-type-label {
  color: #5f6b78;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.admin-order-create-page .admin-order-row-grid .free-row-field {
  grid-column: span 1;
}

.admin-order-create-page .admin-order-row.is-free-row .admin-order-row-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
}

@media (max-width: 1180px) {
  .admin-order-create-page .admin-order-row.is-free-row .admin-order-row-grid .free-row-field {
    grid-column: span 1;
  }
}

.admin-order-create-page .admin-order-rows-section {
  gap: 12px;
}

.admin-order-create-page .admin-order-row {
  padding: 12px 14px;
  border: 1px solid var(--invoice-line);
  background: #fff;
  border-radius: 0;
  gap: 10px;
}

.admin-order-create-page .admin-order-row-head {
  padding-bottom: 10px;
  border-bottom: 1px solid #e8edf2;
}

.admin-order-create-page .admin-order-row-type-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7682;
}

.admin-order-create-page .admin-order-row-grid {
  gap: 10px 14px;
}

.admin-order-create-page .admin-order-row-grid label > span {
  font-size: 12px;
  font-weight: 700;
  color: #4f5b67;
}

.admin-order-create-page .admin-order-row-foot {
  padding-top: 2px;
}

.admin-order-create-page .admin-order-stock-hint {
  font-size: 12px;
  color: #667281;
}

.admin-order-create-page .admin-order-summary-section {
  padding-top: 18px;
  padding-bottom: 18px;
}

.admin-order-create-page .admin-order-summary-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.admin-order-create-page .admin-order-summary-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 180px));
  gap: 14px;
}

.admin-order-create-page .admin-order-summary-meta div {
  border: 1px solid var(--invoice-line);
  padding: 12px 14px;
  background: #fbfcfd;
}

.admin-order-create-page .admin-order-summary-meta span {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7682;
}

.admin-order-create-page .admin-order-summary-meta strong {
  font-size: 22px;
  line-height: 1.1;
  color: #1b2430;
}

.admin-order-create-page .admin-order-summary-totals {
  border-top: 1px solid #1f2937;
  padding-top: 10px;
  display: grid;
  gap: 8px;
}

.admin-order-create-page .summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #4f5b67;
}

.admin-order-create-page .summary-line strong {
  color: #1b2430;
  font-size: 14px;
  font-weight: 700;
}

.admin-order-create-page .summary-line.total-line {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--invoice-line);
}

.admin-order-create-page .summary-line.total-line span,
.admin-order-create-page .summary-line.total-line strong {
  font-size: 22px;
  line-height: 1.1;
  color: #111;
}

@media (max-width: 920px) {
  .admin-order-create-page .admin-order-summary-grid {
    grid-template-columns: 1fr;
  }

  .admin-order-create-page .admin-order-summary-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-order-create-page .admin-order-summary-meta {
    grid-template-columns: 1fr;
  }

  .admin-order-create-page .summary-line.total-line span,
  .admin-order-create-page .summary-line.total-line strong {
    font-size: 18px;
  }
}

.summary-edit-label {
  cursor: pointer;
  user-select: none;
}

.summary-edit-label:hover {
  color: #1b2430;
}

.prompt-modal-input-wrap {
  display: block;
  margin: 14px 0 6px;
}

.prompt-modal-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  font: inherit;
  color: #1b2430;
  background: #fff;
}

.prompt-modal-input:focus {
  outline: none;
  border-color: #111;
}
.price-was {
  color: #7a8594;
  font-size: 0.86em;
  text-decoration: line-through;
}

.invoice-discount-note {
  color: #596575;
  font-size: 0.86em;
}

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

.form-grid.two label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 700;
}

.form-grid.two input,
.form-grid.two select {
  width: 100%;
}

.inline-check {
  align-items: center;
  display: flex;
  gap: 10px;
  font-weight: 700;
}

@media (max-width: 720px) {
  .form-grid.two {
    grid-template-columns: 1fr;
  }
}

.promotions-admin-page {
  max-width: 1280px;
}

.promotions-headline {
  align-items: flex-end;
  border-bottom: 1px solid #dbe2ea;
  margin-bottom: 26px;
  padding-bottom: 22px;
}

.promotions-panel {
  border: 1px solid #dbe2ea;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.promotions-table-wrap {
  border: 1px solid #dbe2ea;
  border-radius: 18px;
  overflow: hidden;
}

.promotions-table th {
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promotions-table td,
.promotions-table th {
  padding: 18px 16px;
  vertical-align: middle;
}

.promotion-pill,
.status-pill {
  align-items: center;
  border: 1px solid #dbe2ea;
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  min-height: 36px;
  padding: 0 14px;
  white-space: nowrap;
}

.promotion-pill {
  background: #f8fafc;
  color: #111827;
}

.status-pill.is-active {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #166534;
}

.status-pill.is-muted {
  background: #f8fafc;
  color: #64748b;
}

.promotion-row-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

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

.promotion-modal-shell.modal-shell,
#promotion-modal.modal-shell {
  background: rgba(8, 13, 22, 0.72) !important;
  backdrop-filter: blur(2px);
  padding: 28px;
}

.promotion-modal-card {
  border-radius: 16px;
  max-height: calc(100vh - 40px);
  max-width: 980px;
  overflow: auto;
  padding: 20px 22px;
  position: relative;
  width: min(980px, 100%);
}

.promotion-modal-card-wide {
  max-width: 860px;
  width: min(860px, 100%);
}

#category-promotion-modal .promotion-modal-card,
#item-promotion-modal .promotion-modal-card {
  max-width: 760px;
  width: min(760px, 100%);
}

.promotion-modal-card .stack-form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#category-promotion-modal .stack-form,
#item-promotion-modal .stack-form {
  grid-template-columns: 1fr;
}

.promotion-modal-card select,
.promotion-modal-card input {
  max-width: 100%;
  min-height: 42px;
  min-width: 0;
  width: 100%;
}

.promotion-modal-card select[multiple] {
  min-height: 180px;
  padding: 10px 12px;
}

.promotion-modal-close {
  border-color: #d9e1ea;
  border-radius: 10px;
  box-shadow: none;
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  height: 36px;
  right: 14px;
  top: 14px;
  width: 36px;
}

.promotion-modal-close:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: none;
}

.promotion-modal-head {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 12px;
  padding: 0 54px 10px 0;
}

.promotion-modal-head h2 {
  font-size: 24px;
  margin: 0 0 4px;
}

.promotion-modal-head p {
  color: #64748b;
  font-size: 15px;
  margin: 0;
}

.promotion-form-section {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.promotion-form-section h3 {
  color: #111827;
  font-size: 18px;
  margin: 0;
}

.promotion-form-section label {
  color: #334155;
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 6px;
  min-width: 0;
  letter-spacing: 0.01em;
}

.promotion-modal-card input[type="datetime-local"] {
  min-width: 0;
  width: 100%;
}

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

.promotion-modal-footer {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  gap: 14px;
  grid-column: 1 / -1;
  justify-content: space-between;
  margin: 0;
  padding: 12px 14px;
  position: static;
}

.promotion-modal-footer .button-dark {
  min-height: 42px;
  min-width: 220px;
}

.promotion-modal-footer .inline-check input {
  height: 18px;
  min-height: 18px;
  width: 18px;
}

.promotion-modal-card .admin-order-combobox {
  width: 100%;
}

.promotion-modal-card .admin-order-combobox-panel {
  z-index: 1305;
}

.promotion-modal-card .admin-order-combobox-input {
  min-height: 42px;
}

.promotion-modal-card .form-grid.two {
  gap: 10px;
}

.promotion-modal-card .promotion-form-section:first-of-type input[name="name"] {
  grid-column: 1 / -1;
}

.promotion-modal-card .promotion-form-section:nth-of-type(3) {
  align-self: start;
}

.promotion-modal-card .promotion-form-section:nth-of-type(3) .form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.promotion-fixed-target {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.promotion-offer-cell {
  align-items: center;
  display: flex;
  gap: 12px;
}

.promotion-offer-thumb {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: inline-flex;
  flex: 0 0 56px;
  height: 56px;
  overflow: hidden;
  width: 56px;
}

.promotion-offer-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.promotion-multi-grid {
  align-items: start;
}

@media (max-width: 820px) {
  .promotions-headline {
    align-items: flex-start;
  }

  .promotion-row-actions {
    justify-content: flex-start;
  }

  .promotion-modal-card {
    max-height: 92vh;
    overflow: auto;
    padding: 18px;
  }

  .promotion-modal-card .stack-form {
    grid-template-columns: 1fr;
  }

  .promotion-multi-grid {
    grid-template-columns: 1fr;
  }

  .promotion-modal-footer {
    align-items: stretch;
    flex-direction: column;
    margin: 0;
    padding: 14px;
  }

  .promotion-modal-footer .button-dark {
    min-width: 0;
    width: 100%;
  }
}

.hero-main-banner[data-hero-carousel] {
  min-height: 390px;
  position: relative;
}

.hero-main-slide {
  display: block;
  height: 100%;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.35s ease;
  width: 100%;
}

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

.settings-select-filter {
  margin-bottom: 8px;
  min-height: 40px;
}

.settings-home-preview {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1.4fr 1fr;
  margin-bottom: 16px;
}

.settings-home-preview > div {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: grid;
  gap: 12px;
  min-height: 246px;
  padding: 16px;
}

.settings-home-preview-heading {
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settings-home-preview-stack {
  display: grid;
  gap: 14px;
}

.settings-home-preview-mini,
.settings-home-preview-hero-main {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #ddd;
}

.settings-home-preview-mini::after,
.settings-home-preview-hero-main::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.48));
  content: "";
  inset: 0;
  position: absolute;
}

.settings-home-preview-mini {
  min-height: 86px;
}

.settings-home-preview-thumb,
.settings-home-preview-hero-image {
  position: absolute;
  inset: 0;
}

.settings-home-preview-thumb img,
.settings-home-preview-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.settings-home-preview-copy,
.settings-home-preview-hero-copy {
  position: relative;
  z-index: 1;
  color: #fff;
}

.settings-home-preview-copy {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 18px;
  text-align: right;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
}

.settings-home-preview-mini.darker .settings-home-preview-copy {
  justify-content: flex-end;
  text-align: right;
}

.settings-home-preview-hero {
  display: grid;
  gap: 12px;
  min-height: 100%;
}

.settings-home-preview-hero-main {
  min-height: 254px;
}

.settings-home-preview-hero-copy {
  position: absolute;
  inset: auto 22px 20px auto;
  text-align: right;
}

.settings-home-preview-hero-copy em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.settings-home-preview-hero-copy h1 {
  margin: 6px 0 4px;
  color: #fff;
  font-size: 44px;
  line-height: .95;
  font-weight: 800;
}

.settings-home-preview-hero-copy p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.settings-form {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.95fr);
  gap: 16px;
  align-items: start;
}

.settings-side-column {
  display: grid;
  gap: 16px;
  align-content: start;
}

.settings-section-profile {
  grid-column: 1;
  grid-row: 1;
}

.settings-section-home {
  margin: 0;
  grid-column: 1;
  grid-row: 2;
}

.settings-side-column {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.settings-submit-row {
  margin-top: 0;
}

textarea {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  height: 140px;
  min-height: 140px;
  max-height: 140px;
  resize: none;
}

.admin-domain-expiry-banner {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.admin-domain-expiry-banner-inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.45;
}

.admin-domain-expiry-banner-inner strong {
  flex: 0 0 auto;
}

.admin-domain-expiry-banner-inner span {
  color: rgba(255, 255, 255, 0.96);
}

.settings-home-preview-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.settings-home-preview-dots span {
  background: #cbd5e1;
  border-radius: 999px;
  display: inline-flex;
  height: 8px;
  min-height: 8px;
  min-width: 8px;
  width: 8px;
}

.settings-home-preview-dots span.is-active {
  background: #111827;
  width: 18px;
}

.settings-home-preview-empty {
  align-items: center;
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: #94a3b8;
  display: flex;
  font-size: 13px;
  justify-content: center;
  min-height: 52px;
  padding: 12px;
  text-align: center;
}

.settings-picker {
  display: grid;
  gap: 10px;
}

.settings-picker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 18px;
}

.settings-picker-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #d8dee8;
  border-radius: 999px;
  background: #f8fafc;
  color: #1f2937;
  cursor: pointer;
  max-width: 100%;
}

.settings-picker-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-picker-chip strong {
  font-size: 16px;
  line-height: 1;
  color: #64748b;
}

.settings-picker-search {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px 15px;
}

.settings-picker-results {
  display: grid;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #d8dee8;
  border-radius: 16px;
  background: #fff;
}

.settings-picker-option,
.settings-picker-empty {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 12px;
  background: transparent;
  padding: 10px 12px;
}

.settings-picker-option {
  color: #111827;
  cursor: pointer;
}

.settings-picker-option:hover {
  background: #f3f6fa;
}

.settings-picker-option.is-selected {
  background: #e8eef8;
  color: #0f172a;
  font-weight: 700;
}

.settings-picker-option:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.settings-picker-empty {
  color: #94a3b8;
}

@media (max-width: 860px) {
  .settings-home-preview {
    grid-template-columns: 1fr;
  }

  .settings-home-preview-hero-main {
    min-height: 220px;
  }

  .settings-home-preview-copy {
    min-height: 80px;
    padding: 0 14px;
    font-size: 11px;
  }

  .settings-home-preview-hero-copy {
    inset: auto 16px 16px auto;
  }

  .settings-home-preview-hero-copy h1 {
    font-size: 30px;
  }

  .settings-home-preview-hero-copy p {
    font-size: 13px;
  }

  .settings-form {
    grid-template-columns: 1fr;
  }

  .settings-side-column {
    grid-template-columns: 1fr;
    grid-column: auto;
    grid-row: auto;
  }

  .settings-section-profile,
  .settings-section-home {
    grid-column: auto;
    grid-row: auto;
  }

  .admin-domain-expiry-banner-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

/* Compact dashboard workspace theme for admin and signed-in customer pages. */
body.workspace-admin,
body.workspace-customer {
  background: #eef1f4;
  color: #1d2430;
}

body.workspace-admin .akd-top-search,
body.workspace-customer .akd-top-search {
  background: var(--theme-header-dark) !important;
  border: 0 !important;
  min-height: 50px;
  padding: 5px 14px !important;
}

body.workspace-admin .akd-search-form,
body.workspace-customer .akd-search-form {
  max-width: 520px;
  min-height: 34px;
}

body.workspace-admin .akd-search-form input,
body.workspace-customer .akd-search-form input {
  min-height: 34px;
  font-size: 13px;
}

body.workspace-admin .akd-search-form button,
body.workspace-customer .akd-search-form button {
  min-height: 34px;
  width: 54px;
}

body.workspace-admin .akd-icon-link,
body.workspace-customer .akd-icon-link {
  color: #fff;
}

body.workspace-admin .admin-header-strip,
body.workspace-customer .customer-header-strip {
  background: var(--theme-ribbon-color) !important;
  border: 0 !important;
  min-height: 44px;
}

body.workspace-admin .admin-header-strip-inner,
body.workspace-customer .customer-header-strip-inner {
  align-items: center;
  display: flex;
  min-height: 44px;
  padding: 0;
}

body.workspace-admin .admin-tabs,
body.workspace-customer .customer-tabs,
body.workspace-customer .account-nav,
body.workspace-admin .customer-filter-bar,
body.workspace-customer .customer-filter-bar {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.workspace-admin .admin-tabs a,
body.workspace-customer .customer-tabs a,
body.workspace-customer .account-nav a,
body.workspace-admin .customer-filter-bar a,
body.workspace-customer .customer-filter-bar a,
body.workspace-admin .customer-filter-bar button,
body.workspace-customer .customer-filter-bar button {
  align-items: center;
  border-radius: 0 !important;
  color: var(--theme-ribbon-text-color) !important;
  display: inline-flex;
  font-size: 13px !important;
  font-weight: 700;
  min-height: 44px !important;
  padding: 0 20px !important;
}

body.workspace-admin .admin-tabs a.active,
body.workspace-customer .customer-tabs a.active,
body.workspace-customer .account-nav a.active,
body.workspace-admin .customer-filter-bar a.active,
body.workspace-customer .customer-filter-bar a.active,
body.workspace-admin .customer-filter-bar button.active,
body.workspace-customer .customer-filter-bar button.active {
  background: var(--theme-button-color) !important;
  border-color: var(--theme-button-color) !important;
  color: #fff !important;
}

body.workspace-admin .content-wrap,
body.workspace-customer .content-wrap {
  width: min(1360px, calc(100% - 20px));
}

body.workspace-admin .admin-wrap,
body.workspace-customer .customer-account-page,
body.workspace-customer .profile-page,
body.workspace-customer .orders-page,
body.workspace-customer .place-order-page {
  padding-bottom: 18px;
  padding-top: 14px;
}

body.workspace-admin .page-headline,
body.workspace-admin .account-headline,
body.workspace-customer .page-headline,
body.workspace-customer .account-headline {
  border-bottom: 1px solid #d7dde5;
  margin-bottom: 12px !important;
  padding: 8px 0 12px !important;
}

body.workspace-admin .page-headline h1,
body.workspace-admin .account-headline h1,
body.workspace-customer .page-headline h1,
body.workspace-customer .account-headline h1,
body.workspace-admin.admin-orders-page .page-headline h1,
body.workspace-admin .finance-page .page-headline h1,
body.workspace-admin .admin-customers-page .page-headline h1 {
  color: #202733 !important;
  font-size: 34px !important;
  line-height: 1.05 !important;
  margin: 0 0 5px !important;
}

body.workspace-admin .page-headline p,
body.workspace-admin .account-headline p,
body.workspace-customer .page-headline p,
body.workspace-customer .account-headline p {
  color: #687386 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

body.workspace-admin .page-headline-actions .row-actions,
body.workspace-customer .page-headline-actions .row-actions {
  gap: 8px !important;
}

body.workspace-admin .admin-panel,
body.workspace-customer .admin-panel,
body.workspace-admin .customer-order-card,
body.workspace-customer .customer-order-card,
body.workspace-admin .order-admin-card,
body.workspace-customer .order-admin-card,
body.workspace-admin .customer-stat-card,
body.workspace-customer .customer-stat-card,
body.workspace-admin .empty-state,
body.workspace-customer .empty-state,
body.workspace-admin .invoice-sheet,
body.workspace-customer .invoice-sheet {
  background: #fff !important;
  border: 1px solid #d7dde5 !important;
  border-radius: 3px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08) !important;
}

body.workspace-admin .admin-panel,
body.workspace-customer .admin-panel,
body.workspace-admin .order-admin-card,
body.workspace-customer .order-admin-card,
body.workspace-admin .customer-order-card,
body.workspace-customer .customer-order-card {
  padding: 14px !important;
}

body.workspace-admin .panel-head,
body.workspace-customer .panel-head {
  border-bottom: 1px solid #e1e6ed !important;
  margin-bottom: 10px !important;
  padding-bottom: 8px !important;
}

body.workspace-admin .panel-head h2,
body.workspace-customer .panel-head h2,
body.workspace-admin .admin-panel h2,
body.workspace-customer .admin-panel h2 {
  font-size: 18px !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

body.workspace-admin .stats-grid,
body.workspace-customer .stats-grid,
body.workspace-admin .customer-stats-grid,
body.workspace-customer .customer-stats-grid {
  gap: 10px !important;
  margin-bottom: 12px !important;
}

body.workspace-admin .customer-stat-card,
body.workspace-customer .customer-stat-card {
  align-items: center !important;
  display: grid !important;
  min-height: 76px !important;
  padding: 12px !important;
}

body.workspace-admin .customer-stat-card span,
body.workspace-customer .customer-stat-card span {
  color: #697386 !important;
  font-size: 12px !important;
  font-weight: 700;
  text-transform: uppercase;
}

body.workspace-admin .customer-stat-card strong,
body.workspace-customer .customer-stat-card strong {
  color: #1f2937 !important;
  font-size: 28px !important;
  line-height: 1 !important;
}

body.workspace-admin .admin-table,
body.workspace-customer .admin-table,
body.workspace-admin .invoice-table,
body.workspace-customer .invoice-table {
  border-collapse: collapse !important;
  width: 100%;
}

body.workspace-admin .admin-table th,
body.workspace-customer .admin-table th,
body.workspace-admin .invoice-table th,
body.workspace-customer .invoice-table th {
  background: #f3f5f7 !important;
  border-bottom: 1px solid #d9e0e8 !important;
  color: #4b5565 !important;
  font-size: 11px !important;
  letter-spacing: 0.04em !important;
  padding: 9px 10px !important;
  text-transform: uppercase;
}

body.workspace-admin .admin-table td,
body.workspace-customer .admin-table td,
body.workspace-admin .invoice-table td,
body.workspace-customer .invoice-table td {
  border-bottom: 1px solid #e4e9ef !important;
  font-size: 13px !important;
  padding: 9px 10px !important;
}

body.workspace-admin input,
body.workspace-admin select,
body.workspace-admin textarea,
body.workspace-customer input,
body.workspace-customer select,
body.workspace-customer textarea {
  border-radius: 3px !important;
  font-size: 14px !important;
  min-height: 40px !important;
}

body.workspace-admin textarea,
body.workspace-customer textarea {
  min-height: 88px !important;
}

body.workspace-admin .button-dark,
body.workspace-admin .ghost-btn,
body.workspace-admin .primary-btn,
body.workspace-customer .button-dark,
body.workspace-customer .ghost-btn,
body.workspace-customer .primary-btn {
  border-radius: 3px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  min-height: 38px !important;
  padding: 0 14px !important;
}

body.workspace-admin .button-dark,
body.workspace-admin .primary-btn,
body.workspace-customer .button-dark,
body.workspace-customer .primary-btn {
  background: var(--theme-button-color) !important;
  border-color: var(--theme-button-color) !important;
  color: #fff !important;
}

body.workspace-admin .ghost-btn,
body.workspace-customer .ghost-btn {
  background: #fff !important;
  border: 1px solid #cdd5df !important;
  color: #1f2937 !important;
}

body.workspace-admin .list-stack,
body.workspace-customer .list-stack,
body.workspace-admin .cart-stack,
body.workspace-customer .cart-stack,
body.workspace-admin .order-admin-table,
body.workspace-customer .order-admin-table {
  gap: 10px !important;
}

body.workspace-admin .customer-filter-bar,
body.workspace-customer .customer-filter-bar {
  background: #fff !important;
  border: 1px solid #d7dde5 !important;
  border-radius: 3px !important;
  margin-bottom: 12px !important;
  overflow: hidden;
}

body.workspace-admin .customer-filter-bar a,
body.workspace-customer .customer-filter-bar a,
body.workspace-admin .customer-filter-bar button,
body.workspace-customer .customer-filter-bar button {
  color: #252b35 !important;
}

body.workspace-customer .customer-header-strip .content-wrap {
  width: 100%;
}

body.workspace-customer .customer-tabs,
body.workspace-customer .account-nav {
  display: flex !important;
  width: 100%;
}

body.workspace-customer .customer-tabs a,
body.workspace-customer .account-nav a {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

body.workspace-customer .customer-tabs a:not(.active),
body.workspace-customer .account-nav a:not(.active) {
  background: transparent !important;
  color: var(--theme-ribbon-text-color) !important;
  opacity: 1 !important;
}

body.workspace-admin .modal-card,
body.workspace-customer .modal-card {
  border-radius: 4px !important;
}

@media (max-width: 720px) {
  body.workspace-admin .page-headline h1,
  body.workspace-admin .account-headline h1,
  body.workspace-customer .page-headline h1,
  body.workspace-customer .account-headline h1 {
    font-size: 28px !important;
  }

  body.workspace-admin .admin-tabs a,
  body.workspace-customer .customer-tabs a,
  body.workspace-customer .account-nav a {
    font-size: 12px !important;
    padding: 0 12px !important;
  }
}

@media (max-width: 640px) {
  body.workspace-admin .akd-top-search,
  body.workspace-customer .akd-top-search {
    display: grid !important;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    min-height: 48px;
    padding: 5px 8px !important;
  }

  body.workspace-admin .akd-search-form,
  body.workspace-customer .akd-search-form {
    grid-column: 2;
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  body.workspace-admin .akd-search-form input,
  body.workspace-customer .akd-search-form input {
    font-size: 12px !important;
    padding: 0 10px !important;
  }

  body.workspace-admin .akd-search-form button,
  body.workspace-customer .akd-search-form button {
    width: 44px;
  }

  body.workspace-admin .admin-header-strip-inner,
  body.workspace-customer .customer-header-strip-inner {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  body.workspace-admin .admin-tabs,
  body.workspace-customer .customer-tabs,
  body.workspace-customer .account-nav {
    min-width: max-content;
    overflow-x: auto;
    white-space: nowrap;
  }

  body.workspace-admin .admin-tabs a,
  body.workspace-customer .customer-tabs a,
  body.workspace-customer .account-nav a {
    flex: 0 0 auto;
    min-height: 40px !important;
    padding: 0 14px !important;
  }

  body.workspace-admin .content-wrap,
  body.workspace-customer .content-wrap {
    width: calc(100% - 14px);
  }

  body.workspace-admin .admin-wrap,
  body.workspace-customer .customer-account-page,
  body.workspace-customer .profile-page,
  body.workspace-customer .orders-page,
  body.workspace-customer .place-order-page {
    padding-top: 10px;
  }

  body.workspace-admin .page-headline,
  body.workspace-admin .account-headline,
  body.workspace-customer .page-headline,
  body.workspace-customer .account-headline {
    margin-bottom: 10px !important;
    padding: 6px 0 10px !important;
  }

  body.workspace-admin .page-headline h1,
  body.workspace-admin .account-headline h1,
  body.workspace-customer .page-headline h1,
  body.workspace-customer .account-headline h1 {
    font-size: 26px !important;
  }

  body.workspace-admin .page-headline p,
  body.workspace-admin .account-headline p,
  body.workspace-customer .page-headline p,
  body.workspace-customer .account-headline p {
    font-size: 13px !important;
  }

  body.workspace-admin .customer-stats-grid,
  body.workspace-customer .customer-stats-grid,
  body.workspace-admin .stats-grid,
  body.workspace-customer .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.workspace-admin .customer-stat-card,
  body.workspace-customer .customer-stat-card {
    min-height: 66px !important;
    padding: 9px !important;
  }

  body.workspace-admin .customer-stat-card strong,
  body.workspace-customer .customer-stat-card strong {
    font-size: 22px !important;
  }

  body.workspace-admin .admin-panel,
  body.workspace-customer .admin-panel,
  body.workspace-admin .customer-order-card,
  body.workspace-customer .customer-order-card,
  body.workspace-admin .order-admin-card,
  body.workspace-customer .order-admin-card {
    padding: 10px !important;
  }

  body.workspace-admin .panel-head,
  body.workspace-customer .panel-head {
    align-items: flex-start;
    gap: 6px;
  }

  body.workspace-admin .button-dark,
  body.workspace-admin .ghost-btn,
  body.workspace-admin .primary-btn,
  body.workspace-customer .button-dark,
  body.workspace-customer .ghost-btn,
  body.workspace-customer .primary-btn {
    min-height: 36px !important;
    padding: 0 12px !important;
  }

  body.workspace-admin .table-scroll,
  body.workspace-customer .table-scroll {
    overflow-x: auto;
  }

  body.workspace-admin .admin-table,
  body.workspace-customer .admin-table,
  body.workspace-admin .invoice-table,
  body.workspace-customer .invoice-table {
    min-width: 620px;
  }

  body.workspace-admin .modal-card,
  body.workspace-customer .modal-card {
    max-height: 90vh;
    overflow: auto;
    width: calc(100% - 18px) !important;
  }

  body.workspace-admin .akd-product-grid,
  body.workspace-customer .akd-product-grid,
  body.workspace-admin .product-wall,
  body.workspace-customer .product-wall {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    padding-bottom: 76px !important;
  }

  body.workspace-admin .akd-product-card,
  body.workspace-customer .akd-product-card,
  body.workspace-admin .product-tile,
  body.workspace-customer .product-tile {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-width: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  body.workspace-admin .akd-product-image,
  body.workspace-customer .akd-product-image,
  body.workspace-admin .tile-image,
  body.workspace-customer .tile-image {
    aspect-ratio: .82 / 1 !important;
    background: #fff !important;
    border-radius: 0 !important;
    height: auto !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  body.workspace-admin .akd-product-image img,
  body.workspace-customer .akd-product-image img,
  body.workspace-admin .tile-image img,
  body.workspace-customer .tile-image img {
    display: block !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
  }

  body.workspace-admin .akd-product-body,
  body.workspace-customer .akd-product-body,
  body.workspace-admin .tile-body,
  body.workspace-customer .tile-body {
    padding: 7px 0 0 !important;
    text-align: right !important;
  }

  body.workspace-admin .akd-product-body h3,
  body.workspace-customer .akd-product-body h3,
  body.workspace-admin .tile-body h3,
  body.workspace-customer .tile-body h3 {
    color: #111 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    margin: 0 0 14px !important;
    min-height: auto !important;
  }

  body.workspace-admin .akd-price-row,
  body.workspace-customer .akd-price-row {
    align-items: flex-start !important;
    display: flex !important;
    gap: 4px !important;
    justify-content: space-between !important;
    text-align: left !important;
  }

  body.workspace-admin .akd-price-row strong,
  body.workspace-customer .akd-price-row strong {
    color: #111 !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }

  body.workspace-admin .akd-price-row span,
  body.workspace-customer .akd-price-row span,
  body.workspace-admin .akd-buy-row span,
  body.workspace-customer .akd-buy-row span {
    color: #777 !important;
    font-size: 10px !important;
  }

  body.workspace-admin .akd-buy-row,
  body.workspace-customer .akd-buy-row {
    align-items: center !important;
    display: flex !important;
    gap: 8px !important;
    justify-content: space-between !important;
    margin-top: 6px !important;
  }

  body.workspace-admin .akd-cart-btn,
  body.workspace-customer .akd-cart-btn {
    height: 31px !important;
    min-height: 31px !important;
    width: 31px !important;
  }

  body.workspace-admin .product-sold-out-badge,
  body.workspace-customer .product-sold-out-badge {
    border-radius: 999px !important;
    font-size: 10px !important;
    left: 10px !important;
    padding: 7px 12px !important;
    top: 10px !important;
  }

  body.workspace-admin .category-gallery,
  body.workspace-admin .category-item-gallery,
  body.workspace-admin .product-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding-bottom: 72px !important;
  }

  body.workspace-admin .category-gallery-card,
  body.workspace-admin .gallery-link,
  body.workspace-admin .category-gallery .gallery-link,
  body.workspace-admin .category-item-gallery .gallery-link,
  body.workspace-admin .product-gallery .gallery-link {
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  body.workspace-admin .category-gallery-image,
  body.workspace-admin .gallery-thumb,
  body.workspace-admin .gallery-image,
  body.workspace-admin .product-gallery-image {
    aspect-ratio: 1 / 1.15 !important;
    background: #f6f7f9 !important;
    border-radius: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  body.workspace-admin .category-gallery-image img,
  body.workspace-admin .gallery-thumb img,
  body.workspace-admin .gallery-image img,
  body.workspace-admin .product-gallery-image img {
    display: block !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
  }

  body.workspace-admin .category-gallery-card h3,
  body.workspace-admin .gallery-link h3,
  body.workspace-admin .category-gallery-card p,
  body.workspace-admin .gallery-link p {
    margin-left: 11px !important;
    margin-right: 11px !important;
  }

  body.workspace-admin .category-gallery-card h3,
  body.workspace-admin .gallery-link h3 {
    color: #1f2937 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    margin-bottom: 5px !important;
    margin-top: 10px !important;
  }

  body.workspace-admin .category-gallery-card p,
  body.workspace-admin .gallery-link p {
    color: #687386 !important;
    font-size: 12px !important;
    margin-bottom: 10px !important;
    margin-top: 0 !important;
  }

  body.workspace-admin .category-gallery-card span,
  body.workspace-admin .gallery-link span {
    display: block !important;
    padding: 10px 11px !important;
  }
}

@media (max-width: 640px) {
  body.workspace-admin .gallery-panel {
    padding: 8px !important;
  }

  body.workspace-admin .gallery-panel .panel-head {
    align-items: center !important;
    display: flex !important;
    gap: 8px !important;
    justify-content: space-between !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
  }

  body.workspace-admin .gallery-panel .panel-head h2 {
    font-size: 17px !important;
    line-height: 1 !important;
  }

  body.workspace-admin .gallery-panel .panel-head span {
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  body.workspace-admin .category-item-gallery,
  body.workspace-admin .category-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-top: 0 !important;
    padding-bottom: 72px !important;
  }

  body.workspace-admin .category-gallery-card {
    border-radius: 4px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  body.workspace-admin .category-gallery-image {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    min-height: 0 !important;
    width: 100% !important;
  }

  body.workspace-admin .category-gallery-image img {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
  }

  body.workspace-admin .category-gallery-body {
    display: grid !important;
    gap: 4px !important;
    padding: 8px 10px 9px !important;
  }

  body.workspace-admin .category-gallery-body strong {
    color: #222 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  body.workspace-admin .category-gallery-body span {
    color: #666 !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
}
