:root {
  --page: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #f8faf9;
  --ink: #17201b;
  --muted: #64706a;
  --line: #dbe2de;
  --line-strong: #c8d2cd;
  --green: #0d7a42;
  --green-dark: #075b31;
  --blue: #225c9f;
  --amber: #b86a13;
  --red: #b42318;
  --shadow: 0 18px 45px rgba(16, 24, 40, 0.08);
  --radius: 8px;
  --container: 1240px;
}



* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.top-strip {
  border-bottom: 1px solid var(--line);
  background: #111a16;
  color: #f6fbf7;
}

.top-strip-inner,
.header-bar,
.main-nav,
.page-shell,
.home-hero,
.catalog-section,
.site-footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.top-strip-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.top-strip a {
  color: #c8f1d8;
  font-weight: 800;
}

.header-bar {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto;
  align-items: center;
  gap: 22px;
}

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

.brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.brand-mark img,
.brand-mark::before {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-mark::before {
  content: "";
  display: block;
  background: url("assets/mobitronix-logo.jpg") center / contain no-repeat;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-name {
  font-size: 20px;
  font-weight: 950;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.header-search {
  position: relative;
}

.header-search input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 0 14px 0 44px;
  outline: none;
}

.header-search::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background: var(--muted);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' d='m21 21-4.3-4.3'/%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-actions,
.top-nav,
.footer-links,
.button-row,
.checkout-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-nav {
  gap: 18px;
  min-height: 46px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.top-nav a:hover,
.footer-links a:hover {
  color: var(--green-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0 14px;
  scrollbar-width: thin;
}

.main-nav button,
.category-chip,
.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.main-nav button.is-active,
.category-chip.is-active,
.chip.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.cart-link {
  min-width: 76px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 950;
}

.cart-link::before {
  content: "";
  width: 34px;
  height: 34px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='21' r='1'/%3E%3Ccircle cx='19' cy='21' r='1'/%3E%3Cpath d='M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12'/%3E%3C/svg%3E") center / contain no-repeat;
}

[data-cart-count] {
  min-width: 18px;
  text-align: left;
  font-size: 18px;
  line-height: 1;
}

.language-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-button {
  min-width: 42px;
  height: 38px;
  border: 0;
  background: #fff;
  color: var(--muted);
  font-weight: 900;
}

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

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px 0 28px;
}

.hero-copy,
.hero-product,
.hero-tile,
.panel,
.product-card,
.cart-item,
.order-card,
.admin-card,
.modal-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
  min-width: 0;
}

.hero-copy {
  padding: 34px;
  display: grid;
  align-content: center;
  gap: 20px;
}

.eyebrow {
  margin: 0;
  color: var(--amber);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
  overflow-wrap: anywhere;
}

h2 {
  font-size: clamp(28px, 3.4vw, 42px);
}

h3 {
  font-size: 21px;
}

.hero-copy p:not(.eyebrow),
.section-lead,
.muted-text,
.text-page p,
.text-page li,
.panel p {
  color: var(--muted);
}

.hero-copy p:not(.eyebrow) {
  margin: 0;
  font-size: 18px;
}

.hero-bullets {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 750;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hero-bullets li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-auto-rows: minmax(170px, auto);
  gap: 14px;
}

.hero-product {
  grid-row: span 2;
  min-width: 0;
  padding: 22px;
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto;
  gap: 16px;
}

.hero-product img,
.hero-tile img,
.product-media img,
.category-card img,
.cart-item img,
.product-gallery img {
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-product .image-frame {
  display: grid;
  place-items: center;
  min-height: 260px;
  background: linear-gradient(180deg, #f9fbfa, #edf5f0);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-product img {
  width: 100%;
  height: 100%;
  max-height: 320px;
}

.hero-product strong,
.hero-tile strong {
  display: block;
  font-size: 17px;
  line-height: 1.28;
}

.hero-product span,
.hero-tile span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-tile {
  min-width: 0;
  padding: 16px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.hero-tile img {
  width: 96px;
  height: 96px;
  padding: 8px;
  background: var(--surface-soft);
  border-radius: var(--radius);
}

.service-row,
.category-row {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 28px;
}

.service-item {
  min-height: 110px;
  padding: 18px;
  display: grid;
  align-content: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service-item strong {
  font-size: 16px;
}

.service-item span {
  color: var(--muted);
  font-size: 13px;
}

.category-row {
  display: grid;
  gap: 16px;
  padding: 18px 0 32px;
}

.category-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.category-card {
  min-height: 142px;
  display: grid;
  grid-template-rows: 74px auto;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
}

.category-card img {
  width: 100%;
  height: 74px;
  background: var(--surface-soft);
  border-radius: var(--radius);
}

.category-card span {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.catalog-section,
.page-shell {
  padding: 34px 0 54px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 20px;
}

.section-lead {
  max-width: 520px;
  margin: 0;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 146px;
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  outline: none;
}

.field textarea {
  min-height: 108px;
  padding: 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(13, 122, 66, 0.12);
}

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

.catalog-main {
  min-width: 0;
}

.result-row {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: var(--muted);
  font-weight: 850;
}

.category-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 16px;
  scrollbar-width: thin;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.product-media {
  aspect-ratio: 1 / 0.78;
  display: grid;
  place-items: center;
  background: #f0f4f2;
}

.product-media img {
  width: 100%;
  height: 100%;
  padding: 16px;
}

.product-body {
  padding: 15px;
  display: grid;
  gap: 10px;
}

.product-meta {
  min-height: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.product-card h3 {
  min-height: 46px;
  font-size: 15px;
  line-height: 1.35;
}

.product-description {
  min-height: 54px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-bottom,
.summary-line,
.admin-kpi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.price {
  font-size: 21px;
  font-weight: 950;
  white-space: nowrap;
}

.status {
  font-size: 12px;
  font-weight: 950;
  color: var(--green);
  white-space: nowrap;
}

.status.is-missing {
  color: var(--red);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.button,
.primary-link,
.secondary-link,
.buy-button,
.load-more,
.ghost-button,
.checkout-button,
.details-link,
.account-action,
.admin-nav-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 15px;
  font-weight: 900;
  text-align: center;
}

.primary-link,
.checkout-button,
.buy-button {
  background: var(--green);
  color: #fff;
}

.primary-link:hover,
.checkout-button:hover,
.buy-button:hover {
  background: var(--green-dark);
}

.secondary-link,
.details-link,
.ghost-button,
.account-action,
.admin-nav-button {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.ghost-button:hover,
.secondary-link:hover,
.details-link:hover,
.account-action:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.load-more {
  width: 100%;
  margin-top: 18px;
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.empty-state {
  padding: 36px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  color: var(--muted);
}

.empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
  margin-bottom: 6px;
}

.page-title {
  background: linear-gradient(180deg, #ffffff, #f7faf8);
  border-bottom: 1px solid var(--line);
}

.page-title-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
}

.page-title p:not(.eyebrow) {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}

.panel,
.order-card {
  padding: 22px;
}

.text-page {
  display: grid;
  gap: 18px;
}

.text-page ul {
  margin: 0;
  padding-left: 20px;
}

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

.cart-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 14px;
  align-items: center;
}

.cart-item img {
  width: 118px;
  height: 92px;
  padding: 8px;
  background: var(--surface-soft);
  border-radius: var(--radius);
}

.cart-item h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

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

.quantity-control button {
  width: 36px;
  height: 36px;
  border: 0;
  background: #fff;
  font-weight: 950;
}

.quantity-control input {
  width: 52px;
  height: 36px;
  border: 0;
  border-inline: 1px solid var(--line);
  text-align: center;
}

.order-card {
  position: sticky;
  top: 146px;
  display: grid;
  gap: 14px;
}

.summary-line {
  color: var(--muted);
  padding: 7px 0;
}

.summary-line strong {
  color: var(--ink);
}

.checkout-form {
  display: grid;
  gap: 18px;
}

.delivery-options,
.notice-list,
.account-form,
.admin-form,
.payment-status-panel {
  display: grid;
  gap: 12px;
}

.radio-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  border-radius: var(--radius);
}

.radio-card input {
  margin-top: 4px;
  accent-color: var(--green);
}

.notice,
.success-box,
.error-box,
.info-box {
  padding: 13px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.notice {
  background: #fff6df;
  color: #744600;
  border: 1px solid #f0d39a;
}

.success-box {
  background: #eaf7ef;
  color: var(--green-dark);
  border: 1px solid #bfe3cd;
}

.error-box {
  background: #fff0ef;
  color: var(--red);
  border: 1px solid #f5bfba;
}

.info-box {
  background: #eef5ff;
  color: #174a84;
  border: 1px solid #bfd7f5;
}

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

.checkout-step {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.checkout-step strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(17, 24, 39, 0.46);
}

.modal-panel {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 22px;
  display: grid;
  gap: 16px;
}

.account-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.account-tabs {
  display: grid;
  gap: 8px;
}

.account-tab {
  min-height: 48px;
  justify-content: flex-start;
}

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

.account-pane {
  display: none;
}

.account-pane.is-active {
  display: grid;
  gap: 16px;
}

.code-input {
  font-size: 28px;
  font-weight: 950;
  letter-spacing: 0;
  text-align: center;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.product-gallery,
.product-info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-gallery {
  padding: 20px;
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 24px;
  background: var(--surface-soft);
}

.product-info {
  padding: 24px;
  display: grid;
  gap: 15px;
}

.product-info h1 {
  font-size: clamp(30px, 4vw, 48px);
}

.admin-page {
  background: #eef2f5;
}

.admin-layout {
  width: min(1440px, calc(100% - 28px));
  margin: 18px auto 48px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  background: #111a16;
  color: #fff;
  border-radius: var(--radius);
  min-height: calc(100vh - 36px);
}

.admin-sidebar .brand-subtitle {
  color: #a9bbb1;
}

.admin-nav {
  display: grid;
  gap: 8px;
}

.admin-nav-button {
  justify-content: flex-start;
  border-color: rgba(255, 255, 255, 0.13);
  background: transparent;
  color: #d9e4de;
}

.admin-nav-button.is-active {
  background: #fff;
  color: var(--ink);
}

.admin-main {
  display: grid;
  gap: 18px;
}

.admin-topbar,
.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.admin-card {
  padding: 18px;
}

.admin-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.admin-card strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
}

.admin-view {
  display: none;
}

.admin-view.is-active {
  display: grid;
  gap: 14px;
}

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

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

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

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

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table input,
.admin-table select,
.admin-table textarea {
  width: 100%;
  min-width: 145px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px;
}

.admin-table textarea {
  min-height: 72px;
}

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

.admin-list {
  display: grid;
  gap: 10px;
  max-height: 720px;
  overflow: auto;
  padding-right: 4px;
}

.admin-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.admin-list-item strong,
.admin-list-item span {
  display: block;
}

.admin-list-item span {
  color: var(--muted);
  font-size: 13px;
}

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

.danger-action {
  color: var(--red);
}

.inline-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.admin-table .inline-admin-actions .account-action {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.admin-email-modal {
  width: min(560px, calc(100vw - 28px));
}

.admin-email-modal textarea {
  min-height: 180px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0;
}

.site-footer p {
  margin: 5px 0 0;
  color: var(--muted);
}

.site-footer a {
  color: var(--green-dark);
  font-weight: 900;
}

@media (max-width: 1100px) {
  .home-hero,
  .catalog-layout,
  .split-layout,
  .account-layout,
  .product-detail,
  .admin-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .filters,
  .order-card,
  .admin-sidebar {
    position: static;
  }

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

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

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

  .admin-sidebar {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .top-strip-inner,
  .header-bar,
  .section-heading,
  .site-footer-inner,
  .admin-topbar,
  .admin-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-bar {
    display: flex;
    min-height: 0;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .header-search {
    order: 3;
    width: 100%;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .top-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .cart-link {
    min-width: 56px;
  }

  .button-row > a,
  .button-row > button {
    width: 100%;
    flex: 1 1 100%;
  }

  .home-hero {
    display: block;
    padding-top: 18px;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
  }

  .hero-copy {
    padding: 22px;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-copy p,
  .hero-copy li {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-grid,
  .filters,
  .form-grid,
  .price-fields,
  .checkout-steps,
  .service-row,
  .admin-kpis {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    margin-top: 16px;
  }

  .hero-product {
    grid-row: span 1;
  }

  .hero-tile {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .hero-tile img {
    width: 82px;
    height: 82px;
  }

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

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

  .cart-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }

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

  .cart-item > :last-child {
    grid-column: 1 / -1;
  }

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

  .admin-item-actions {
    justify-content: flex-start;
  }
}

/* Mobitronix redesign 2026-06: compact ecommerce workspace */
:root {
  --page: #f3f5f2;
  --surface: #ffffff;
  --surface-soft: #f7f9f6;
  --ink: #151b17;
  --muted: #5f6b63;
  --line: #d9e0da;
  --line-strong: #c5cec7;
  --green: #08733f;
  --green-dark: #054f2c;
  --blue: #265d9f;
  --amber: #a66010;
  --red: #b42318;
  --shadow: 0 12px 30px rgba(21, 27, 23, 0.07);
  --radius: 8px;
  --container: 1440px;
}

body {
  background: var(--page);
  color: var(--ink);
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(21, 27, 23, 0.04);
}

.top-strip {
  background: #151b17;
}

.top-strip-inner {
  min-height: 30px;
  font-size: 12px;
}

.header-bar,
.main-nav,
.storefront,
.site-footer-inner,
.page-shell {
  width: min(var(--container), calc(100% - 28px));
}

.header-bar {
  min-height: 64px;
  grid-template-columns: 245px minmax(260px, 1fr) auto;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-color: var(--line-strong);
  background: #fff;
}

.brand-mark::before {
  width: 39px;
  height: 39px;
}

.brand-name {
  font-size: 18px;
}

.brand-subtitle {
  font-size: 12px;
}

.header-search input {
  height: 42px;
  background: #fff;
  border-color: var(--line-strong);
}

.top-nav {
  gap: 14px;
  min-height: 40px;
  font-size: 13px;
}

.cart-link {
  min-width: 60px;
  gap: 6px;
}

.cart-link::before {
  width: 31px;
  height: 31px;
}

[data-cart-count] {
  font-size: 16px;
}

.language-toggle {
  background: #fff;
}

.lang-button {
  height: 34px;
  min-width: 38px;
}

.main-nav {
  padding: 8px 0 10px;
  gap: 8px;
}

.main-nav button,
.chip {
  min-height: 34px;
  padding: 0 12px;
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
  box-shadow: none;
}

.main-nav button.is-active,
.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
}

.storefront {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0 34px;
}

.filters {
  top: 119px;
  padding: 16px;
  gap: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.filters-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.filters-title span {
  color: var(--amber);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.filters-title strong {
  font-size: 17px;
}

.field {
  gap: 6px;
  font-size: 12px;
}

.field input,
.field select,
.field textarea {
  min-height: 40px;
  border-color: var(--line-strong);
  background: #fff;
}

.catalog-main {
  display: grid;
  gap: 12px;
}

.catalog-toolbar {
  min-height: 132px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.catalog-toolbar h1 {
  margin-top: 4px;
  font-size: clamp(28px, 3vw, 42px);
}

.catalog-toolbar p:not(.eyebrow) {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.store-highlights {
  display: grid;
  gap: 8px;
}

.store-highlights span {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.category-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: none;
}

.main-nav {
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar,
.main-nav::-webkit-scrollbar {
  display: none;
}

.result-row {
  min-height: 34px;
  margin: 0;
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
  align-items: stretch;
}

.product-card {
  display: grid;
  grid-template-rows: 164px minmax(0, 1fr);
  min-width: 0;
  min-height: 374px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
}

.product-media {
  display: grid;
  place-items: center;
  padding: 12px;
  background: #f6f8f5;
  border-bottom: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.no-image {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 120px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--green-dark);
  font-weight: 950;
}

.product-body {
  display: grid;
  grid-template-rows: auto auto minmax(42px, 1fr) auto auto;
  gap: 8px;
  padding: 12px;
  min-width: 0;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 20px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.product-meta span {
  max-width: 100%;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--surface-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card h3 {
  font-size: 15px;
  line-height: 1.25;
  min-height: 38px;
}

.product-card h3 a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-description {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-bottom {
  display: grid;
  gap: 6px;
}

.price {
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.status {
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e9f6ee;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
}

.status.is-missing {
  background: #f6ece9;
  color: var(--red);
}

.product-actions {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 8px;
}

.primary-link,
.secondary-link,
.details-link,
.buy-button,
.checkout-button,
.ghost-button,
.load-more,
.account-action,
.admin-nav-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.buy-button,
.checkout-button,
.primary-link {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.buy-button:hover,
.checkout-button:hover,
.primary-link:hover {
  background: var(--green-dark);
}

.details-link,
.secondary-link,
.ghost-button,
.load-more {
  background: #fff;
  color: var(--ink);
}

.load-more {
  width: 100%;
  min-height: 46px;
}

.panel,
.cart-item,
.order-card,
.modal-panel {
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.info-box,
.notice,
.success-box,
.error-box,
.empty-state {
  border-radius: var(--radius);
}

.form-status {
  min-height: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.form-status.success {
  color: var(--green-dark);
}

.form-status.error {
  color: var(--red);
}

.floating-support-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  gap: 1px;
  min-width: 184px;
  padding: 13px 15px;
  border: 1px solid rgba(5, 79, 44, 0.26);
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 16px 32px rgba(5, 79, 44, 0.24);
}

.floating-support-button strong {
  font-size: 14px;
  line-height: 1;
}

.floating-support-button span {
  font-size: 11px;
  line-height: 1.2;
  opacity: 0.9;
}

.support-page {
  display: grid;
  gap: 18px;
}

.support-hero {
  padding: 24px;
}

.support-hero h1 {
  font-size: clamp(34px, 4vw, 54px);
}

.support-hero p,
.donation-panel p {
  color: var(--muted);
  max-width: 760px;
}

.donation-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.copy-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.copy-line span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.copy-line strong {
  font-size: 18px;
  letter-spacing: 0;
}

.admin-page {
  background: #f2f4f1;
}

.admin-layout {
  width: min(1500px, calc(100% - 24px));
  margin: 12px auto 40px;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 12px;
}

.admin-sidebar {
  top: 12px;
  min-height: calc(100vh - 24px);
  background: #141b17;
  border-radius: var(--radius);
}

.admin-sidebar .brand {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-nav-button {
  width: 100%;
  justify-content: flex-start;
  background: transparent;
  color: #dce6df;
  border-color: rgba(255, 255, 255, 0.12);
}

.admin-nav-button.is-active {
  background: #fff;
  color: var(--ink);
}

.admin-main {
  gap: 12px;
}

.admin-page #adminLoginPanel {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px;
}

.admin-page #adminLoginPanel h1 {
  font-size: clamp(32px, 4vw, 44px);
}

.admin-topbar {
  min-height: 76px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-topbar h1 {
  font-size: 28px;
}

.admin-kpis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.admin-card {
  padding: 14px;
  border-color: var(--line-strong);
}

.admin-card strong {
  margin-top: 6px;
  font-size: 24px;
}

.admin-grid {
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 12px;
}

.admin-section-head {
  align-items: end;
}

.admin-section-head h2 {
  font-size: 24px;
}

.admin-list {
  max-height: calc(100vh - 255px);
}

.admin-list-item {
  padding: 12px;
  border-color: var(--line-strong);
}

.admin-table th,
.admin-table td {
  padding: 11px;
}

@media (max-width: 1120px) {
  .header-bar,
  .storefront,
  .catalog-toolbar,
  .admin-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .filters,
  .admin-sidebar {
    position: static;
  }

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

  .filters-title,
  .filters .ghost-button {
    grid-column: 1 / -1;
  }

  .admin-sidebar {
    min-height: 0;
  }

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

@media (max-width: 760px) {
  .header-bar,
  .storefront,
  .site-footer-inner {
    width: min(100% - 20px, var(--container));
  }

  .header-bar {
    display: grid;
    padding: 10px 0;
  }

  .header-actions {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }

  .top-nav {
    grid-column: 1 / -1;
    order: initial;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .language-toggle {
    justify-self: start;
  }

  .filters-title strong {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .filters,
  .price-fields,
  .product-actions,
  .admin-kpis {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    padding: 14px;
  }

  .catalog-toolbar h1 {
    font-size: 28px;
  }

  .store-highlights span {
    font-size: 12px;
  }

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

  .product-card {
    grid-template-rows: 190px auto;
  }

  .product-media img {
    height: 164px;
  }

  .admin-topbar,
  .admin-section-head {
    align-items: stretch;
  }

  .floating-support-button {
    right: 12px;
    bottom: 12px;
    min-width: 146px;
    padding: 11px 13px;
  }

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