:root {
  --ink: #18212f;
  --muted: #687386;
  --line: #d9dee8;
  --paper: #ffffff;
  --soft: #f3f6fa;
  --green: #72b247;
  --orange: #ef8024;
  --blue: #245a8d;
  --red: #bd2f2f;
  --shadow: 0 10px 28px rgba(24, 33, 47, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Arial, Helvetica, sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 16px;
  top: 10px;
  z-index: 20;
  background: var(--paper);
  padding: 10px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  display: grid;
  grid-template-columns: 42px 210px minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 6px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  display: grid;
  place-content: center;
  gap: 5px;
}

.icon-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.search {
  display: grid;
  grid-template-columns: 1fr 48px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper);
}

.search input {
  border: 0;
  padding: 12px 14px;
  min-width: 0;
  outline: 0;
}

.search button {
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  font-size: 20px;
}

.quick {
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
}

.quick a,
.plain,
.btn {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  padding: 10px 12px;
}

.quick span {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  margin-left: 4px;
}

.side {
  position: fixed;
  z-index: 11;
  inset: 0 auto 0 0;
  width: min(360px, 92vw);
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(-105%);
  transition: transform 0.2s ease;
  display: grid;
  grid-template-rows: auto 1fr;
}

.side.is-open {
  transform: translateX(0);
}

.side__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.side__list {
  overflow: auto;
  padding: 10px;
}

.cat-link {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink);
}

.cat-link:hover {
  background: var(--soft);
}

.cat-link small {
  color: var(--muted);
  float: right;
}

.main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  min-height: 390px;
  background: #111820;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.hero__copy {
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  align-content: center;
  gap: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.hero p {
  margin: 0;
  max-width: 680px;
  color: #dce5ef;
  font-size: 18px;
  line-height: 1.55;
}

.hero__image {
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(140px, 190px));
  gap: 10px;
  align-items: center;
  margin: 18px 0;
}

.toolbar input,
.toolbar select,
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin: 24px 0 12px;
}

.section-head h2,
.panel h2,
.panel h3 {
  margin: 0;
}

.muted {
  color: var(--muted);
}

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

.product {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 190px auto;
}

.product__image {
  background: #eef2f6;
  display: grid;
  place-items: center;
}

.product__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product__body {
  padding: 12px;
  display: grid;
  gap: 10px;
}

.product h3 {
  font-size: 15px;
  line-height: 1.35;
  margin: 0;
  min-height: 42px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

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

.price del {
  color: var(--muted);
}

.product__meta {
  color: var(--muted);
  font-size: 12px;
  min-height: 16px;
}

.product__actions,
.row-actions,
.checkout-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn {
  background: var(--paper);
  color: var(--ink);
}

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

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

.cart-line,
.order-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img,
.order-line img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--soft);
  border-radius: 6px;
}

.qty {
  display: inline-grid;
  grid-template-columns: 34px 42px 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.qty button,
.qty input {
  height: 34px;
  border: 0;
  text-align: center;
  background: #fff;
}

.summary {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 86px;
}

.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

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

.field {
  display: grid;
  gap: 6px;
}

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

.tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  overflow-x: auto;
}

.tab {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 6px;
  padding: 10px 12px;
  white-space: nowrap;
}

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

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

.admin-nav {
  display: grid;
  gap: 8px;
  align-content: start;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.admin-section {
  display: grid;
  gap: 4px;
  padding-top: 6px;
}

.admin-section strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-link {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  padding: 8px 9px;
}

.admin-link:hover,
.admin-link.is-active {
  background: var(--ink);
  color: #fff;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.dashboard-grid,
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.chart-card {
  min-height: 260px;
}

.bars {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(86px, 1fr) minmax(120px, 2fr) minmax(70px, auto);
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

.bar-row > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-row > div {
  height: 12px;
  border-radius: 6px;
  background: #edf1f6;
  overflow: hidden;
}

.bar-row i {
  display: block;
  height: 100%;
  background: var(--orange);
}

.module-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.module-topbar h1 {
  margin: 4px 0 0;
}

.module-form {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}

.action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.module-table {
  margin-bottom: 12px;
}

.sort-head {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  font-weight: 700;
}

.checkbox-field {
  grid-template-columns: 18px 1fr;
  align-items: center;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.stat strong {
  display: block;
  font-size: 26px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 10px;
  vertical-align: top;
}

th {
  background: #eef2f6;
  font-size: 13px;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  background: #e7f3df;
  color: #2f6b20;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  gap: 8px;
}

.toast div {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}

.empty {
  padding: 26px;
  text-align: center;
  color: var(--muted);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
  gap: 20px;
}

.gallery {
  display: grid;
  gap: 10px;
}

.gallery__main {
  height: min(520px, 56vw);
  min-height: 300px;
  background: #eef2f6;
  border-radius: 8px;
  display: grid;
  place-items: center;
}

.gallery__main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
}

.thumbs img {
  height: 64px;
  width: 100%;
  object-fit: contain;
  background: #eef2f6;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.description {
  line-height: 1.6;
}

.description img,
.description iframe {
  max-width: 100%;
}

@media (max-width: 920px) {
  .topbar__inner {
    grid-template-columns: 42px 1fr auto;
  }

  .search {
    grid-column: 1 / -1;
    order: 2;
  }

  .quick {
    overflow-x: auto;
  }

  .hero,
  .split,
  .admin-layout,
  .product-detail {
    grid-template-columns: 1fr;
  }

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

  .summary {
    position: static;
  }
}

/* Harmony storefront and Sellingo-like admin refinements */
.shop-strip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 7px 18px;
  color: #4d596a;
  font-size: 13px;
}

.brand img {
  width: 174px;
  max-height: 54px;
  object-fit: contain;
}

.front-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: -4px 0 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.front-menu a {
  padding: 13px 15px;
  border-right: 1px solid var(--line);
  font-size: 14px;
  color: #222;
}

.front-menu a:hover {
  background: #f6f7f8;
  color: var(--orange);
}

.home-slider {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 150px;
  gap: 12px;
  margin-bottom: 18px;
}

.slide {
  display: block;
  background: #eef2f6;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.slide.is-main {
  grid-row: span 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.front-section {
  margin-top: 18px;
}

.product {
  position: relative;
  border-radius: 4px;
}

.product__flags {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.product__flags i {
  width: max-content;
  padding: 4px 7px;
  border-radius: 2px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.product__flags i:first-child {
  background: var(--orange);
}

.product__body p {
  min-height: 34px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.btn--icon {
  min-width: 42px;
  font-size: 18px;
  line-height: 1;
}

.price--large strong {
  font-size: 30px;
}

.product-info h1 {
  margin: 8px 0 12px;
  font-size: 30px;
  line-height: 1.2;
}

.product-spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.product-spec div {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
}

.product-spec dt {
  color: var(--muted);
  font-size: 12px;
}

.product-spec dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.is-admin {
  background: #edf0f5;
}

.is-admin .topbar,
.is-admin .side {
  display: none;
}

.is-admin .main {
  max-width: none;
  padding: 0;
}

.pa {
  min-height: 100vh;
  color: #2f3744;
  background: #eef1f5;
  font-size: 13px;
}

.pa-top {
  position: sticky;
  top: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 0 18px;
  background: #2f3744;
  color: #fff;
  border-bottom: 4px solid var(--green);
}

.pa-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pa-brand img {
  width: 104px;
  max-height: 42px;
  object-fit: contain;
  background: #fff;
  border-radius: 3px;
  padding: 3px;
}

.pa-top nav,
.pa-user {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.pa-top a,
.pa-top button {
  color: #fff;
}

.pa-top button,
.pa-chip,
.pa-user button {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 9px;
}

.pa-body {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  min-height: calc(100vh - 62px);
}

.pa-sidebar {
  position: sticky;
  top: 62px;
  height: calc(100vh - 62px);
  overflow: auto;
  background: #fff;
  border-right: 1px solid #cfd5df;
  padding: 10px 0 24px;
}

.pa-section {
  border-top: 1px solid #edf0f4;
  padding: 10px 0 6px;
}

.pa-section strong {
  display: block;
  padding: 0 18px 6px;
  color: #7b8491;
  font-size: 11px;
  text-transform: uppercase;
}

.pa-link {
  display: block;
  width: 100%;
  border: 0;
  border-left: 4px solid transparent;
  background: transparent;
  color: #313846;
  text-align: left;
  padding: 8px 18px 8px 14px;
  font-size: 13px;
}

.pa-link:hover,
.pa-link.is-active {
  background: #eef6ea;
  border-left-color: var(--green);
  color: #1d5117;
}

.pa-content {
  min-width: 0;
  padding: 18px;
}

.m-title-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid #cfd5df;
  border-left: 4px solid var(--green);
  border-radius: 3px;
  background: #fff;
}

.m-title-bar h1 {
  margin: 3px 0 0;
  font-size: 22px;
}

.pa-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.pa-stats div {
  min-height: 78px;
  padding: 12px;
  border: 1px solid #d5dbe5;
  border-radius: 3px;
  background: #fff;
}

.pa-stats span {
  display: block;
  color: #76808d;
  font-size: 12px;
}

.pa-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.pa-filter {
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid #d5dbe5;
  border-radius: 3px;
  background: #fff;
}

.pa .panel,
.pa .table-wrap,
.pa-filter,
.pa .stat {
  border-radius: 3px;
  box-shadow: none;
}

.pa .btn,
.pa .plain {
  border-radius: 3px;
  padding: 8px 10px;
}

.pa .btn--primary {
  background: var(--green);
  border-color: var(--green);
}

.pa th {
  background: #f5f6f8;
  color: #3b4654;
  white-space: nowrap;
}

.table-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.product-admin-table {
  min-width: 1320px;
}

.mapping-list,
.integration-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.mapping-list span,
.integration-cards button {
  border: 1px solid #d5dbe5;
  border-radius: 3px;
  background: #fff;
  padding: 8px 10px;
}

.plain-list {
  margin: 12px 0 0;
  padding-left: 18px;
  line-height: 1.7;
}

.color-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 1px solid #cbd2dc;
  border-radius: 50%;
  vertical-align: middle;
}

@media (max-width: 1100px) {
  .home-slider {
    grid-template-columns: 1fr 1fr;
  }

  .slide.is-main {
    grid-column: 1 / -1;
  }

  .pa-top {
    grid-template-columns: 1fr;
    padding: 10px;
  }

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

  .pa-sidebar {
    position: static;
    height: auto;
    max-height: 320px;
  }
}

@media (max-width: 700px) {
  .shop-strip {
    display: none;
  }

  .home-slider {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }

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

@media (max-width: 580px) {
  .main {
    padding: 12px;
  }

  .topbar__inner {
    padding: 10px;
    gap: 8px;
  }

  .brand small {
    display: none;
  }

  .quick a {
    padding: 8px;
  }

  .hero__copy {
    padding: 24px;
  }

  .toolbar,
  .forms {
    grid-template-columns: 1fr;
  }

  .cart-line,
  .order-line {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .cart-line img,
  .order-line img {
    width: 56px;
    height: 56px;
  }
}

/* Deployment polish: responsive motion, storefront depth, PA slide-in behavior */
@keyframes nikmarFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nikmarSlideIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.main > *,
.pa-content > * {
  animation: nikmarFadeUp 0.22s ease both;
}

.pa-content {
  animation: nikmarSlideIn 0.24s ease both;
}

.topbar {
  box-shadow: 0 2px 10px rgba(24, 33, 47, 0.07);
}

.brand img {
  max-width: 180px;
  max-height: 58px;
  object-fit: contain;
}

.front-menu {
  border: 1px solid #d7dfeb;
  background: #fff;
  box-shadow: 0 6px 18px rgba(24, 33, 47, 0.06);
}

.front-menu a,
.cat-link,
.btn,
.plain,
.quick a {
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.front-menu a:hover,
.quick a:hover,
.btn:hover,
.plain:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(24, 33, 47, 0.08);
}

.btn--primary:hover,
.pa .btn--primary:hover {
  filter: brightness(0.96);
}

.product {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(24, 33, 47, 0.12);
}

.product__image img,
.gallery__main img,
.thumbs img,
.slide img {
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.product:hover .product__image img {
  transform: scale(1.035);
}

.slide:hover img {
  transform: scale(1.015);
}

.side {
  transition: transform 0.28s cubic-bezier(.2, .8, .2, 1);
}

.pa-sidebar {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.pa-link {
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, padding-left 0.16s ease;
}

.pa-link:hover,
.pa-link.is-active {
  padding-left: 18px;
}

.m-title-bar,
.pa-filter,
.panel,
.table-wrap,
.pa-stats div {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.m-title-bar:hover,
.pa-filter:hover,
.pa .panel:hover,
.pa .table-wrap:hover {
  box-shadow: 0 8px 20px rgba(24, 33, 47, 0.07);
}

tbody tr {
  transition: background-color 0.14s ease;
}

tbody tr:hover {
  background: #f7fbf4;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(114, 178, 71, 0.16);
}

@media (max-width: 900px) {
  .topbar__inner {
    grid-template-columns: 42px 1fr auto;
  }

  .brand {
    justify-content: center;
  }

  .brand img {
    max-width: 132px;
  }

  .search {
    grid-column: 1 / -1;
    order: 4;
  }

  .quick {
    gap: 4px;
  }

  .quick a {
    padding: 8px 9px;
    font-size: 13px;
  }

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

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

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 820px;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: sticky;
  }

  .topbar__inner {
    grid-template-columns: 38px 1fr;
  }

  .quick {
    grid-column: 1 / -1;
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .quick a {
    flex: 1 0 auto;
    text-align: center;
  }

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

  .front-menu {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 8px;
  }

  .front-menu a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .home-slider {
    gap: 8px;
  }

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

  .product__image {
    min-height: 126px;
  }

  .product__body h3 {
    font-size: 15px;
  }

  .product__actions {
    align-items: stretch;
  }

  .product__actions .btn {
    width: 100%;
  }

  .pa-top {
    position: sticky;
    top: 0;
    z-index: 12;
  }

  .pa-sidebar {
    max-height: 260px;
    overflow-y: auto;
  }

  .m-title-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .row-actions {
    flex-wrap: wrap;
  }
}

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