:root {
  --maaab-blue: #0057c8;
  --maaab-blue-dark: #003b8f;
  --maaab-orange: #ff6b00;
  --maaab-orange-dark: #e95f00;
  --maaab-bg: #f5f7fb;
  --maaab-card: #ffffff;
  --maaab-text: #111827;
  --maaab-muted: #6b7280;
  --maaab-border: #e5e7eb;
  --maaab-success: #16a34a;
  --maaab-danger: #dc2626;
}

/* Live in-stock catalogue and quick-order table */
.maaab-catalogue-page {
  padding: 10px 0 46px;
  background: #f7f9fc;
}

.maaab-catalogue-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 10px;
}

.maaab-catalogue-heading h1 {
  margin: 0;
  color: #17243c;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
}

.maaab-catalogue-heading p {
  margin: 0;
  color: #637087;
  font-size: 16px;
}

.maaab-catalogue-cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 145px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid #0057c8;
  border-radius: 8px;
  background: #fff;
  color: #0057c8;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.maaab-catalogue-heading-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.maaab-catalogue-pdf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 210px;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid #f05d00;
  border-radius: 8px;
  background: #ff6500;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 5px 13px rgba(255, 101, 0, .18);
}

.maaab-catalogue-pdf-link:hover,
.maaab-catalogue-pdf-link:focus,
.maaab-catalogue-pdf-link:visited {
  border-color: #d95200;
  background: #e95b00;
  color: #fff !important;
  text-decoration: none;
}

.maaab-catalogue-pdf-link i,
.maaab-catalogue-pdf-link span {
  color: #fff !important;
}

.maaab-catalogue-pdf-label-mobile {
  display: none;
}

.maaab-catalogue-cart-link:hover,
.maaab-catalogue-cart-link:focus {
  border-color: #0057c8;
  color: #0057c8;
}

.maaab-catalogue-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(145px, .65fr)) auto auto;
  align-items: end;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e1e7f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(26, 42, 68, .06);
}

.maaab-catalogue-controls label {
  display: block;
  margin: 0 0 7px;
  color: #34425a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.maaab-catalogue-controls > div,
.maaab-catalogue-filter {
  min-width: 0;
}

.maaab-catalogue-filter {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.maaab-catalogue-filter > .form-control,
.maaab-catalogue-filter > .bootstrap-select {
  margin-top: auto;
}

.maaab-catalogue-controls .form-control,
.maaab-catalogue-search-input input {
  width: 100%;
  height: 44px;
  border: 1px solid #d7deea;
  border-radius: 9px;
  background: #fff;
  color: #1d2a3f;
  box-shadow: none;
}

.maaab-catalogue-controls .bootstrap-select > .dropdown-toggle {
  height: 44px;
  margin: 0;
  padding: 6px 30px 6px 12px;
  border: 1px solid #d7deea;
  border-radius: 9px;
  background: #fff;
  color: #1d2a3f;
  box-shadow: none;
}

.maaab-catalogue-controls .bootstrap-select {
  display: block;
  width: 100% !important;
  height: 44px;
  margin-bottom: 0;
  vertical-align: top;
}

.maaab-catalogue-controls .bootstrap-select .filter-option {
  line-height: 30px;
}

.maaab-catalogue-controls .bootstrap-select .bs-searchbox input {
  height: 38px;
  border-radius: 7px;
}

.maaab-catalogue-controls .bootstrap-select .dropdown-menu {
  max-width: 100%;
}

.maaab-catalogue-search-input {
  position: relative;
}

.maaab-catalogue-search-input i {
  position: absolute;
  top: 50%;
  left: 14px;
  color: #8792a5;
  transform: translateY(-50%);
}

.maaab-catalogue-search-input input {
  padding: 0 14px 0 40px;
}

.maaab-catalogue-clear {
  height: 44px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: #5b6880;
  font-weight: 700;
}

.maaab-catalogue-result-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 6px 4px;
  color: #59677d;
}

.maaab-catalogue-result-bar strong {
  color: #17243c;
  font-size: 17px;
}

.maaab-catalogue-scope {
  display: inline-flex;
  margin-left: 12px;
  padding: 3px;
  border: 1px solid #d5deea;
  border-radius: 9px;
  background: #eef2f7;
}

.maaab-catalogue-scope-option {
  min-height: 29px;
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #617087;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.maaab-catalogue-scope-option[aria-pressed="true"] {
  background: #fff;
  color: #17243c;
  box-shadow: 0 1px 4px rgba(25, 42, 67, .14);
}

.maaab-catalogue-scope-option:focus-visible {
  outline: 2px solid #0057c8;
  outline-offset: 1px;
}

.maaab-catalogue-scope-option i {
  margin-right: 4px;
  color: #218553;
}

.maaab-catalogue-live {
  margin-left: auto;
  color: #218553;
  font-size: 13px;
  font-weight: 700;
}

.maaab-catalogue-table-wrap {
  overflow: hidden;
  border: 1px solid #e0e6ef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(26, 42, 68, .06);
}

.maaab-catalogue-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.maaab-catalogue-table thead {
  background: #eef3f9;
}

.maaab-catalogue-table th {
  padding: 13px 12px;
  border-bottom: 1px solid #dce3ed;
  color: #445169;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-align: left;
  text-transform: uppercase;
}

.maaab-catalogue-table td {
  padding: 12px;
  border-bottom: 1px solid #edf0f5;
  color: #445169;
  font-size: 13px;
  vertical-align: middle;
}

.maaab-catalogue-table tbody tr:last-child td {
  border-bottom: 0;
}

.maaab-catalogue-table tbody tr:hover {
  background: #fbfcfe;
}

.maaab-catalogue-table tbody tr.maaab-catalogue-row--in-cart {
  background: #f3fbf6;
}

.maaab-catalogue-image-column,
.maaab-catalogue-image-cell {
  width: 74px;
  text-align: center;
}

.maaab-catalogue-image-cell img {
  width: 54px;
  height: 54px;
  border: 1px solid #e7ebf1;
  border-radius: 9px;
  background: #fff;
  object-fit: contain;
}

.maaab-catalogue-product-cell {
  min-width: 190px;
}

.maaab-catalogue-product-cell .maaab-product-title {
  display: block;
  color: #182640;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.maaab-catalogue-mobile-code {
  display: none;
}

.maaab-catalogue-code-cell strong {
  color: #263651;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
}

.maaab-catalogue-pack-cell {
  white-space: nowrap;
}

.maaab-catalogue-pack-cell strong {
  color: #34425a;
  font-size: 12px;
}

.maaab-catalogue-price-cell {
  white-space: nowrap;
}

.maaab-catalogue-price-cell .maaab-price {
  color: #17243c;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.maaab-catalogue-order-column,
.maaab-catalogue-order-cell {
  min-width: 285px;
}

.maaab-catalogue-order .shop-batch-select {
  height: 36px;
  margin-bottom: 8px;
  border-radius: 7px;
  font-size: 12px;
}

.maaab-catalogue-order-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.maaab-catalogue-qty {
  width: 108px;
  min-width: 108px;
}

.maaab-catalogue-qty .form-control,
.maaab-catalogue-qty .input-group-addon {
  height: 38px;
}

.maaab-catalogue-qty input[type=number] {
  padding: 5px 2px;
  -moz-appearance: textfield;
}

.maaab-catalogue-qty input::-webkit-inner-spin-button,
.maaab-catalogue-qty input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.maaab-catalogue-order .maaab-add-to-cart {
  flex: 1;
  min-height: 38px;
  border-radius: 7px;
  white-space: nowrap;
}

.maaab-catalogue-remove-cart {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 5px;
  min-height: 30px;
  margin: 4px 0 -3px auto;
  padding: 3px 2px;
  border: 0;
  background: transparent;
  color: #b42318;
  font-size: 11.5px;
  font-weight: 700;
}

.maaab-catalogue-remove-cart:hover,
.maaab-catalogue-remove-cart:focus {
  color: #8f1c14;
  text-decoration: underline;
}

.maaab-catalogue-remove-cart:focus-visible {
  outline: 2px solid rgba(180, 35, 24, .3);
  outline-offset: 2px;
}

.maaab-catalogue-remove-cart[disabled] {
  cursor: wait;
  opacity: .55;
}

.maaab-catalogue-order .maaab-add-to-cart.is-in-cart,
.maaab-catalogue-order .maaab-add-to-cart.is-in-cart:hover,
.maaab-catalogue-order .maaab-add-to-cart.is-in-cart:focus {
  border-color: #218553;
  background: #218553;
  color: #fff;
}

.maaab-catalogue-loading {
  display: none;
  padding: 16px;
  color: #52617a;
  text-align: center;
}

.maaab-catalogue-loading.is-visible {
  display: block;
}

.maaab-catalogue-page.is-loading .maaab-catalogue-table-wrap {
  opacity: .55;
  pointer-events: none;
}

.maaab-catalogue-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 54px 20px;
  border: 1px solid #e0e6ef;
  border-radius: 14px;
  background: #fff;
  color: #6b778b;
  text-align: center;
}

.maaab-catalogue-empty i {
  color: #98a4b7;
  font-size: 30px;
}

.maaab-catalogue-empty strong {
  color: #24334d;
  font-size: 18px;
}

.maaab-catalogue-load-more-wrap {
  padding: 24px 0 0;
  text-align: center;
}

.maaab-catalogue-load-more {
  min-width: 230px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid #ccd5e3;
  border-radius: 9px;
  background: #fff;
  color: #263651;
  font-weight: 800;
}

.maaab-catalogue-load-more:hover,
.maaab-catalogue-load-more:focus {
  border-color: #1b73d1;
  color: #1b73d1;
}

@media (max-width: 1100px) {
  .maaab-catalogue-controls {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .maaab-catalogue-controls .maaab-catalogue-search-wrap {
    grid-column: span 3;
  }
}

@media (max-width: 767px) {
  .maaab-catalogue-page {
    padding-top: 12px;
  }

  .maaab-catalogue-heading {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    margin-top: 0;
  }

  .maaab-catalogue-heading h1 {
    font-size: 21px;
  }

  .maaab-catalogue-cart-link {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .maaab-catalogue-controls {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }

  .maaab-catalogue-controls .maaab-catalogue-search-wrap {
    grid-column: span 2;
  }

  .maaab-catalogue-controls .maaab-btn-primary {
    width: 100%;
  }

  .maaab-catalogue-result-bar {
    flex-wrap: wrap;
  }

  .maaab-catalogue-live {
    width: 100%;
    margin-left: 0;
  }

  .maaab-catalogue-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .maaab-catalogue-table,
  .maaab-catalogue-table tbody,
  .maaab-catalogue-table tr,
  .maaab-catalogue-table td {
    display: block;
    width: 100%;
  }

  .maaab-catalogue-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .maaab-catalogue-table .maaab-catalogue-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 0 12px;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid #e0e6ef;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(26, 42, 68, .05);
  }

  .maaab-catalogue-table td {
    grid-column: 2;
    padding: 5px 0;
    border: 0;
  }

  .maaab-catalogue-table td::before {
    display: inline-block;
    min-width: 68px;
    margin-right: 7px;
    color: #7a879a;
    content: attr(data-label);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
  }

  .maaab-catalogue-table .maaab-catalogue-image-cell {
    grid-row: 1 / span 4;
    grid-column: 1;
    padding: 0;
  }

  .maaab-catalogue-table .maaab-catalogue-image-cell::before,
  .maaab-catalogue-table .maaab-catalogue-product-cell::before,
  .maaab-catalogue-table .maaab-catalogue-order-cell::before {
    display: none;
  }

  .maaab-catalogue-image-cell img {
    width: 72px;
    height: 72px;
  }

  .maaab-catalogue-product-cell {
    min-width: 0;
    padding-top: 0 !important;
  }

  .maaab-catalogue-product-cell .maaab-product-title {
    font-size: 15px;
  }

  .maaab-catalogue-mobile-code {
    display: block;
    margin-top: 4px;
    color: #65738a;
    font-family: Consolas, Monaco, monospace;
    font-size: 11px;
  }

  .maaab-catalogue-code-cell {
    display: none !important;
  }

  .maaab-catalogue-price-cell {
    padding-top: 8px !important;
  }

  .maaab-catalogue-order-cell {
    grid-column: 1 / -1 !important;
    min-width: 0;
    margin-top: 8px;
    padding-top: 12px !important;
    border-top: 1px solid #edf0f5 !important;
  }

  .maaab-catalogue-order-actions {
    gap: 10px;
  }

  .maaab-catalogue-order .maaab-add-to-cart {
    min-height: 44px;
  }

  .maaab-catalogue-qty,
  .maaab-catalogue-qty .form-control,
  .maaab-catalogue-qty .input-group-addon {
    height: 44px;
  }
}

@media (max-width: 480px) {
  .maaab-catalogue-heading {
    align-items: flex-start;
  }

  .maaab-catalogue-heading-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .maaab-catalogue-heading-actions a {
    justify-content: center;
    padding-right: 10px;
    padding-left: 10px;
  }

  .maaab-catalogue-controls {
    grid-template-columns: 1fr;
  }

  .maaab-catalogue-controls .maaab-catalogue-search-wrap {
    grid-column: auto;
  }

  .maaab-catalogue-clear {
    width: 100%;
  }

  .maaab-catalogue-order-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .maaab-catalogue-qty {
    width: 100%;
  }
}

.maaab-shop {
  background: var(--maaab-bg);
  color: var(--maaab-text);
  font-size: 14px;
}

body,
#wrapper.maaab-shop,
.maaab-shop {
  background: #f5f7fb !important;
}

.maaab-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.maaab-shop a {
  color: var(--maaab-blue);
}

.maaab-shop img {
  max-width: 100%;
}

.maaab-topbar {
  background: var(--maaab-blue-dark);
  color: #fff;
  font-size: 12px;
}

.maaab-topbar a,
.maaab-topbar .dropdown > a {
  color: #fff;
}

.maaab-topbar-inner,
.maaab-mainbar-inner,
.maaab-nav-inner {
  display: flex;
  align-items: center;
}

.maaab-topbar-inner {
  justify-content: space-between;
  min-height: 36px;
  gap: 16px;
}

.maaab-topbar-left,
.maaab-topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.maaab-topbar-left i,
.maaab-topbar-links i {
  margin-right: 5px;
}

.maaab-mainbar {
  background: #fff;
  border-bottom: 1px solid var(--maaab-border);
}

.maaab-mainbar-inner {
  min-height: 96px;
  gap: 24px;
}

.maaab-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 150px;
}

.maaab-logo img,
.maaab-mobile-logo img {
  max-height: 64px;
  object-fit: contain;
}

.maaab-search-wrap {
  flex: 1 1 auto;
  position: relative;
  z-index: 35;
  overflow: visible !important;
}

.maaab-search-form,
.maaab-global-search-form {
  margin: 0;
  position: relative;
  overflow: visible !important;
}

.maaab-search-control {
  display: flex;
  border: 1px solid var(--maaab-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.06);
}

.maaab-search-control .form-control {
  height: 46px;
  border: 0;
  box-shadow: none;
  font-size: 14px;
}

.maaab-search-button {
  min-width: 104px;
  border: 0;
  border-radius: 0;
  background: var(--maaab-orange);
  color: #fff;
  font-weight: 700;
}

.maaab-search-button:hover,
.maaab-search-button:focus {
  background: var(--maaab-orange-dark);
  color: #fff;
}

.maaab-header,
.maaab-main-header,
.maaab-mainbar,
.maaab-mainbar-inner {
  overflow: visible !important;
}

.maaab-search-results,
.maaab-search-suggestions {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: 420px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--maaab-border);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  z-index: 99999;
}

.maaab-search-results.is-open,
.maaab-search-suggestions.is-open {
  display: block !important;
}

.maaab-search-result-item,
.maaab-search-state,
.maaab-search-all {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--maaab-border);
}

.maaab-search-result-item:hover,
.maaab-search-result-item.is-active {
  background: #f0f6ff;
  text-decoration: none;
}

.maaab-search-result-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 6px;
}

.maaab-search-result-title {
  display: block;
  color: var(--maaab-text);
  font-weight: 700;
}

.maaab-search-result-meta,
.maaab-search-result-stock {
  color: var(--maaab-muted);
  font-size: 12px;
}

.maaab-search-result-price {
  margin-left: auto;
  color: var(--maaab-blue);
  font-weight: 800;
  white-space: nowrap;
}

.maaab-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.maaab-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--maaab-text);
  background: transparent;
  border: 0;
  text-decoration: none;
}

.maaab-icon-link i {
  color: var(--maaab-blue);
  font-size: 20px;
}

.maaab-icon-link b {
  min-width: 18px;
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--maaab-orange);
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
}

.maaab-vat-toggle {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  min-height: 36px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid var(--maaab-border);
  border-radius: 999px;
  background: #fff;
  color: var(--maaab-muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.maaab-vat-toggle input {
  position: fixed;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  appearance: none;
  -webkit-appearance: none;
  clip-path: inset(50%);
  pointer-events: none;
}

.maaab-vat-toggle input[type="checkbox"] + .maaab-vat-toggle-track,
.maaab-vat-toggle input[type="checkbox"]:checked + .maaab-vat-toggle-track {
  padding: 0 !important;
}

.maaab-vat-toggle input[type="checkbox"] + .maaab-vat-toggle-track::before,
.maaab-vat-toggle input[type="checkbox"]:checked + .maaab-vat-toggle-track::before,
.maaab-vat-toggle input[type="checkbox"] + .maaab-vat-toggle-track::after,
.maaab-vat-toggle input[type="checkbox"]:checked + .maaab-vat-toggle-track::after {
  display: none !important;
  content: none !important;
}

.maaab-vat-toggle-text {
  display: inline-block;
  min-width: 44px;
  text-align: center;
}

.maaab-vat-toggle-track {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: background 0.18s ease;
}

.maaab-vat-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.24);
  transition: transform 0.18s ease;
}

.maaab-vat-toggle input:checked + .maaab-vat-toggle-track {
  background: var(--maaab-blue);
}

.maaab-vat-toggle input:checked + .maaab-vat-toggle-track .maaab-vat-toggle-thumb {
  transform: translateX(16px);
}

.maaab-vat-price {
  white-space: nowrap;
}

.maaab-link-button {
  font: inherit;
}

.maaab-cart-menu {
  width: 360px;
  max-width: calc(100vw - 24px);
}

.maaab-account {
  position: relative;
}

.maaab-account > .dropdown-menu-login {
  top: calc(100% + 12px);
  right: 0;
  left: auto;
  width: 350px;
  max-width: calc(100vw - 24px);
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--maaab-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  z-index: 999999;
}

.dropdown-menu-login .row,
.dropdown-menu-login [class*="col-"] {
  margin: 0;
  padding: 0;
}

.dropdown-menu-login .form-group {
  margin-bottom: 14px;
}

.dropdown-menu-login label {
  display: block;
  margin-bottom: 6px;
  color: var(--maaab-text);
  font-size: 13px;
  font-weight: 800;
}

.dropdown-menu-login input[type="text"],
.dropdown-menu-login input[type="email"],
.dropdown-menu-login input[type="password"],
.dropdown-menu-login .form-control {
  width: 100%;
  height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 0 12px;
  box-shadow: none;
  font-size: 14px;
}

.dropdown-menu-login .pull-right {
  float: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.dropdown-menu-login .text-blue,
.dropdown-menu-login a {
  color: var(--maaab-blue) !important;
  font-size: 13px;
  font-weight: 700;
}

.dropdown-menu-login .form-group:first-child,
.dropdown-menu-login .form-group:nth-child(2) {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 12px;
  align-items: end;
}

.dropdown-menu-login .form-group:first-child input,
.dropdown-menu-login .form-group:nth-child(2) input {
  grid-column: 1 / -1;
}

.dropdown-menu-login .checkbox {
  margin: 2px 0 14px;
}

.dropdown-menu-login .checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.dropdown-menu-login .checkbox input {
  margin: 0;
}

.dropdown-menu-login button[type="submit"],
.dropdown-menu-login .btn-success {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--maaab-orange) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
}

.dropdown-menu-login .btn-default {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  margin-top: 10px;
  border: 1px solid var(--maaab-border);
  border-radius: 10px;
  background: #fff;
  color: var(--maaab-blue);
  font-weight: 800;
}

.maaab-nav {
  position: relative;
  z-index: 28;
  background: #fff;
  border-bottom: 1px solid var(--maaab-border);
}

.maaab-nav-inner {
  min-height: 54px;
  gap: 8px;
}

.maaab-nav-inner > a,
.maaab-nav-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--maaab-text);
  font-weight: 700;
}

.maaab-nav-inner > a.active,
.maaab-nav-inner > a:hover,
.maaab-nav-button {
  background: var(--maaab-blue);
  color: #fff;
  text-decoration: none;
}

.maaab-nav-button {
  background: var(--maaab-orange);
}

.maaab-mega-menu {
  display: none;
  position: absolute;
  left: 15px;
  right: 15px;
  top: 100%;
  grid-template-columns: 260px 1fr 240px;
  gap: 22px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--maaab-border);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 26px 55px rgba(15, 23, 42, 0.18);
}

.maaab-category-trigger.is-open .maaab-mega-menu,
.maaab-category-trigger:hover .maaab-mega-menu {
  display: grid;
}

.maaab-mega-list a,
.maaab-mega-brands a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  color: var(--maaab-text);
  border-radius: 6px;
}

.maaab-mega-list a:hover,
.maaab-mega-brands a:hover {
  background: #f0f6ff;
  text-decoration: none;
}

.maaab-mega-category-group {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 4px;
  margin-bottom: 4px;
}

.maaab-mega-category-group:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.maaab-mega-subcategories {
  display: grid;
  gap: 2px;
  padding: 0 0 6px 16px;
}

.maaab-mega-subcategories a {
  min-height: 28px;
  padding: 4px 10px;
  color: var(--maaab-muted);
  font-size: 12px;
  font-weight: 700;
}

.maaab-mega-subcategories a:before {
  content: "-";
  margin-right: 6px;
  color: var(--maaab-orange);
}

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

.maaab-mega-card,
.maaab-category-card,
.maaab-benefit,
.maaab-product-card,
.maaab-quick-order {
  border: 1px solid var(--maaab-border);
  border-radius: 8px;
  background: var(--maaab-card);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
}

.maaab-mega-card {
  display: grid;
  gap: 7px;
  min-height: 112px;
  padding: 14px;
  color: var(--maaab-text);
}

.maaab-mega-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--maaab-blue);
}

.maaab-mobile-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--maaab-blue);
  color: #fff;
}

.maaab-mobile-drawer {
  display: none;
}

.maaab-mobile-drawer.is-open {
  display: block;
}

.maaab-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.45);
}

.maaab-mobile-panel {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1001;
  width: min(340px, 88vw);
  padding: 18px;
  background: #fff;
  overflow: auto;
  box-shadow: 18px 0 45px rgba(15, 23, 42, 0.22);
}

.maaab-mobile-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  color: var(--maaab-text);
  border-bottom: 1px solid var(--maaab-border);
}

.maaab-mobile-subcategories {
  padding: 0 0 6px 18px;
}

.maaab-mobile-panel .maaab-mobile-subcategories a {
  padding: 8px 4px;
  color: var(--maaab-muted);
  font-size: 13px;
  border-bottom: 0;
}

.maaab-mobile-panel .maaab-mobile-subcategories a:before {
  content: "-";
  color: var(--maaab-orange);
}

.maaab-mobile-close {
  float: right;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: #f3f4f6;
}

.maaab-mobile-section-title {
  margin-top: 16px;
  color: var(--maaab-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.maaab-home,
.maaab-products-page,
.maaab-product-listing {
  background: #f5f7fb;
}

.maaab-home {
  padding: 24px 0 40px;
}

.maaab-products-page,
.maaab-product-listing {
  padding: 28px 0 48px;
}

.maaab-hero-section,
.maaab-delivery-banner-section,
.maaab-benefits-section,
.maaab-categories-section,
.maaab-products-section {
  background: transparent;
}

.maaab-hero,
.maaab-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: 24px;
  align-items: center;
  min-height: 340px;
  padding: 48px;
  border-radius: 22px;
  background: radial-gradient(circle at 76% 42%, rgba(255, 255, 255, 0.2), transparent 32%), linear-gradient(135deg, #003b8f 0%, #0057c8 55%, #0077e6 100%);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 57, 140, 0.22);
}

.maaab-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.maaab-hero p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.maaab-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  background: var(--maaab-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.maaab-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.maaab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
}

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

.maaab-btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
}

.maaab-hero-media img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.28));
}

.maaab-delivery-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(0, 87, 200, 0.16);
  border-left: 5px solid var(--maaab-orange);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}

.maaab-delivery-banner i {
  color: var(--maaab-orange);
  font-size: 24px;
}

.maaab-delivery-banner strong,
.maaab-delivery-banner span {
  display: block;
}

.maaab-delivery-banner strong {
  color: var(--maaab-ink);
  font-size: 16px;
}

.maaab-delivery-banner span {
  color: var(--maaab-muted);
}

.maaab-benefits,
.maaab-category-grid,
.maaab-product-grid,
.maaab-trust-row {
  display: grid;
  gap: 14px;
}

.maaab-benefits,
.maaab-benefit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0;
  gap: 16px;
}

.maaab-benefit,
.maaab-benefit-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.maaab-benefit i {
  color: var(--maaab-orange);
  font-size: 24px;
}

.maaab-benefit strong {
  display: block;
}

.maaab-benefit span,
.maaab-section-head a,
.maaab-toolbar,
.maaab-product-meta,
.maaab-product-code,
.maaab-stock {
  color: var(--maaab-muted);
}

.maaab-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 14px;
}

.maaab-section-head h2,
.maaab-products-heading h1 {
  margin: 0;
  color: var(--maaab-text);
  font-weight: 900;
}

.maaab-category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.maaab-category-card {
  display: grid;
  place-items: center;
  gap: 9px;
  min-height: 150px;
  padding: 18px 12px;
  color: var(--maaab-text);
  text-align: center;
}

.maaab-category-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.maaab-category-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.maaab-category-card i {
  color: var(--maaab-blue);
  font-size: 36px;
}

.maaab-category-card strong {
  color: var(--maaab-text);
}

.maaab-category-card span {
  color: var(--maaab-blue);
  font-size: 12px;
  font-weight: 800;
}

.maaab-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.maaab-product-grid .maaab-product-card,
#results.maaab-product-grid .maaab-product-card {
  text-align: center;
}

.maaab-product-grid .maaab-product-title,
.maaab-product-grid .maaab-product-meta,
.maaab-product-grid .maaab-product-spec,
.maaab-product-grid .maaab-stock,
.maaab-product-grid .maaab-stock-status,
.maaab-product-grid .maaab-price-block,
.maaab-product-grid .maaab-product-price,
#results.maaab-product-grid .maaab-product-title,
#results.maaab-product-grid .maaab-product-meta,
#results.maaab-product-grid .maaab-product-spec,
#results.maaab-product-grid .maaab-stock,
#results.maaab-product-grid .maaab-stock-status,
#results.maaab-product-grid .maaab-price-block,
#results.maaab-product-grid .maaab-product-price {
  text-align: center;
}

.maaab-product-grid .maaab-product-info,
.maaab-product-grid .maaab-product-body,
#results.maaab-product-grid .maaab-product-info,
#results.maaab-product-grid .maaab-product-body {
  align-items: center;
}

.maaab-product-grid .maaab-card-bottom,
.maaab-product-grid .maaab-card-actions,
.maaab-product-grid .maaab-qty-wrap,
.maaab-product-grid .maaab-add-to-cart,
#results.maaab-product-grid .maaab-card-bottom,
#results.maaab-product-grid .maaab-card-actions,
#results.maaab-product-grid .maaab-qty-wrap,
#results.maaab-product-grid .maaab-add-to-cart {
  width: 100%;
}

.maaab-product-grid .product-price,
.maaab-product-grid .maaab-product-price,
.maaab-product-grid .maaab-price-block,
#results.maaab-product-grid .product-price,
#results.maaab-product-grid .maaab-product-price,
#results.maaab-product-grid .maaab-price-block {
  width: 100%;
  text-align: center !important;
}

.maaab-product-card.product,
.maaab-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 16px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
}

.maaab-floating-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--maaab-border);
  border-radius: 50%;
  background: #fff;
  color: var(--maaab-blue);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.maaab-product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--maaab-orange);
}

.maaab-product-image,
.maaab-product-image-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  margin-bottom: 14px;
}

.maaab-product-image img,
.maaab-product-image-wrap img,
img.maaab-product-image {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.maaab-product-name,
.maaab-product-title {
  display: block;
  min-height: 38px;
  margin: 0 0 5px;
  color: var(--maaab-blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.maaab-product-title:hover,
.maaab-product-title:focus {
  color: var(--maaab-blue-dark);
  text-decoration: none;
}

.maaab-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  border-radius: 6px;
  background: var(--maaab-orange) !important;
  color: #fff;
}

.maaab-product-card > .maaab-badge--promo {
  position: absolute !important;
  top: 14px;
  left: 14px;
  z-index: 3;
}

.maaab-product-card .maaab-badge--promo,
.maaab-product-card .promo-badge {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  max-width: max-content;
  height: 22px !important;
  padding: 0 9px !important;
  border-radius: 999px !important;
  background: var(--maaab-orange) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800;
  line-height: 1 !important;
  text-align: center;
  white-space: nowrap;
}

.maaab-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.maaab-product-meta,
.maaab-product-code {
  font-size: 12px;
}

.maaab-stock {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0;
  font-size: 12px;
}

.maaab-stock strong {
  color: var(--maaab-success);
}

.maaab-stock-status {
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
}

.maaab-stock-status strong {
  color: inherit;
}

.maaab-stock-status.out-of-stock {
  border-color: #fecaca;
  background: #fee2e2;
  color: #b91c1c;
}

.maaab-product-card--out-of-stock {
  border-color: #fecaca !important;
  background: #fff7f7 !important;
}

.maaab-product-card--out-of-stock .maaab-product-image,
.maaab-product-card--out-of-stock .maaab-product-image-wrap img {
  opacity: 0.72;
  filter: saturate(0.75);
}

.maaab-product-price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 8px 0 12px;
  color: var(--maaab-text);
  font-size: 18px;
  font-weight: 900;
}

.maaab-product-price del {
  color: var(--maaab-danger);
  font-size: 12px;
  font-weight: 600;
}

.maaab-product-card .product-bottom {
  margin-top: auto;
}

.maaab-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.maaab-qty {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  flex: 0 0 98px;
  border: 1px solid var(--maaab-border);
  border-radius: 6px;
  overflow: hidden;
}

.maaab-qty .input-group-addon,
.maaab-qty input {
  height: 36px;
  border: 0;
  background: #fff;
  box-shadow: none;
}

.maaab-add-cart {
  flex: 1 1 auto;
  height: 38px;
  border: 0;
  border-radius: 6px;
  background: var(--maaab-blue);
  color: #fff;
  font-weight: 800;
}

.maaab-add-cart:hover,
.maaab-add-cart:focus {
  background: var(--maaab-blue-dark);
  color: #fff;
}

.add-to-cart.is-adding,
.add-to-cart.is-adding:hover,
.add-to-cart.is-adding:focus {
  background: var(--maaab-blue-dark) !important;
  color: #fff !important;
  cursor: wait;
  opacity: 0.9;
}

.add-to-cart.is-added,
.add-to-cart.is-added:hover,
.add-to-cart.is-added:focus {
  background: var(--maaab-success) !important;
  color: #fff !important;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.18);
}

.maaab-product-card.maaab-product-added,
.product.maaab-product-added {
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.24), 0 12px 30px rgba(17, 24, 39, 0.12);
}

.shopping-cart.maaab-cart-confirmed {
  animation: maaab-cart-confirmed 600ms ease both;
}

.maaab-cart-feedback {
  position: fixed;
  z-index: 10050;
  top: 92px;
  right: 24px;
  display: grid;
  grid-template-columns: 42px minmax(150px, 1fr) auto 24px;
  align-items: center;
  gap: 12px;
  width: min(430px, calc(100vw - 32px));
  padding: 14px 14px 14px 16px;
  border: 1px solid rgba(22, 163, 74, 0.28);
  border-left: 5px solid var(--maaab-success);
  border-radius: 10px;
  background: #fff;
  color: var(--maaab-text);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -18px, 0);
  transition: opacity 180ms ease, transform 220ms ease, visibility 220ms;
  pointer-events: none;
}

.maaab-cart-feedback.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.maaab-cart-feedback__icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  color: var(--maaab-success);
  font-size: 20px;
}

.maaab-cart-feedback__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.3;
}

.maaab-cart-feedback__title {
  color: #14532d;
  font-size: 14px;
}

.maaab-cart-feedback__product {
  overflow: hidden;
  margin-top: 3px;
  color: var(--maaab-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.maaab-cart-feedback__action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  background: var(--maaab-blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.maaab-cart-feedback__action:hover,
.maaab-cart-feedback__action:focus {
  background: var(--maaab-blue-dark);
  color: #fff !important;
  text-decoration: none;
}

.maaab-cart-feedback__close {
  align-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--maaab-muted);
  font-size: 22px;
  line-height: 20px;
}

@keyframes maaab-cart-confirmed {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.18) rotate(-5deg); }
  65% { transform: scale(1.08) rotate(4deg); }
}

@media (max-width: 767px) {
  .maaab-cart-feedback {
    top: auto;
    right: 12px;
    bottom: 78px;
    left: 12px;
    grid-template-columns: 38px minmax(0, 1fr) auto 20px;
    width: auto;
    padding: 12px;
  }

  .maaab-cart-feedback__icon {
    width: 38px;
    height: 38px;
  }

  .maaab-cart-feedback__action {
    padding: 0 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shopping-cart.maaab-cart-confirmed {
    animation: none;
  }

  .maaab-cart-feedback {
    transform: none;
    transition: opacity 120ms linear, visibility 120ms;
  }
}

.maaab-wishlist-btn {
  flex: 0 0 38px;
  height: 38px;
  border: 1px solid var(--maaab-border);
  border-radius: 6px;
  background: #fff;
}

.maaab-breadcrumbs {
  margin-bottom: 10px;
  color: var(--maaab-muted);
  font-size: 13px;
}

.maaab-products-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.maaab-count-badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--maaab-blue);
  font-weight: 800;
}

.maaab-chip-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 10px;
}

.maaab-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--maaab-border);
  border-radius: 6px;
  background: #fff;
  color: var(--maaab-text);
  font-weight: 700;
}

.maaab-chip.is-active,
.maaab-chip:hover {
  background: var(--maaab-blue);
  border-color: var(--maaab-blue);
  color: #fff;
  text-decoration: none;
}

.maaab-listing-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.maaab-filter-sidebar {
  align-self: start;
  padding: 18px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 110px;
}

.maaab-filter-sidebar h4,
.maaab-filter-sidebar h5 {
  margin-top: 0;
  color: var(--maaab-text);
  font-weight: 900;
}

.maaab-filter-close,
.maaab-filter-open {
  display: none;
}

.maaab-toolbar,
.maaab-product-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.maaab-toolbar-left,
.maaab-toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.maaab-grid-button {
  width: 38px;
  height: 34px;
  border: 1px solid var(--maaab-border);
  border-radius: 6px;
  background: #fff;
  color: var(--maaab-blue);
}

.maaab-grid-button.active {
  background: var(--maaab-blue);
  color: #fff;
}

.maaab-quick-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  margin: 16px 0;
  border-color: #bfdbfe;
  background: #fff;
  border-radius: 16px;
}

.maaab-quick-order strong {
  color: var(--maaab-blue);
}

#results.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-left: 0;
  margin-right: 0;
}

#results .product-container {
  width: auto;
  padding: 0;
}

#results .product-container.col-md-6,
#results .product-container.col-sm-6,
#results .product-container.col-md-4 {
  width: auto;
  float: none;
}

.maaab-footer {
  position: relative;
  background: #003b8f;
  color: #fff;
  padding: 48px 0 24px;
}

.maaab-footer a {
  display: block;
  color: #eff6ff;
  margin-bottom: 8px;
}

.maaab-footer h4 {
  color: #fff;
  margin: 0 0 14px;
  font-weight: 900;
}

.maaab-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}

.maaab-footer-brand img {
  max-height: 70px;
  margin-bottom: 12px;
}

.maaab-footer .follow-us {
  display: flex;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.maaab-footer .follow-us a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.maaab-payment-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.maaab-payment img {
  max-width: 180px;
}

.maaab-payment-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  color: #111827;
}

.maaab-payment-logo--klarna {
  background: #ffb3c7;
}

.maaab-payment-logo--clearpay {
  background: #b2fce4;
}

.maaab-footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #bfdbfe;
  white-space: nowrap;
}

.maaab-mobile-nav {
  display: none !important;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  grid-template-columns: repeat(6, 1fr);
  min-height: 62px;
  background: #fff;
  border-top: 1px solid var(--maaab-border);
  box-shadow: 0 -8px 26px rgba(17, 24, 39, 0.12);
}

.back-to-top {
  width: 54px !important;
  height: 54px !important;
  line-height: 54px !important;
  right: 24px !important;
  bottom: 24px !important;
  border-radius: 50% !important;
  background: var(--maaab-orange) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
  z-index: 1003;
}

.back-to-top i {
  font-size: 24px;
  line-height: 54px;
}

.maaab-filter-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.maaab-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 22px 0 8px;
}

.maaab-load-more {
  min-width: 220px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--maaab-blue);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 87, 200, 0.18);
}

.maaab-load-more:hover,
.maaab-load-more:focus {
  background: var(--maaab-blue-dark);
  color: #fff;
}

.maaab-load-more:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (min-width: 576px) {
  body {
    padding-bottom: 0 !important;
  }
}

.maaab-mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--maaab-text);
  font-size: 11px;
}

.maaab-mobile-nav i {
  color: var(--maaab-blue);
  font-size: 18px;
}

.maaab-mobile-nav .cart-total-items {
  font-size: 10px;
}

.hl_live_chat,
iframe[src*="chat-widget"],
iframe[src*="leadconnectorhq"]:not([src*="/widget/form/"]),
[id*="leadconnector"],
[class*="leadconnector"],
[id*="chat-widget"],
[class*="chat-widget"] {
  max-width: calc(100vw - 20px);
}

@media (min-width: 1200px) {
  .maaab-shop .container,
  .maaab-container {
    width: auto;
    max-width: 1320px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1400px) {
  #results.grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .maaab-container,
  .maaab-shop .container {
    width: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .maaab-mainbar-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .maaab-search-wrap {
    flex-basis: 100%;
    order: 3;
  }

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

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

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

  .maaab-listing-layout {
    display: block;
  }

  .maaab-filter-open,
  .maaab-filter-close {
    display: inline-flex;
  }

  .maaab-filter-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1002;
    width: min(340px, 88vw);
    overflow: auto;
    display: block;
    position: fixed;
    top: 0;
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .maaab-filter-sidebar.is-open {
    transform: translateX(0);
  }

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

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

@media (max-width: 575px) {
  .maaab-container,
  .maaab-shop .container {
    width: auto;
    padding-left: 12px;
    padding-right: 12px;
  }

  body {
    padding-bottom: 74px !important;
  }

  .maaab-delivery-banner {
    align-items: flex-start;
    padding: 12px 14px;
  }

  .maaab-delivery-banner strong {
    font-size: 14px;
  }

  .maaab-delivery-banner span {
    font-size: 12px;
    line-height: 1.35;
  }

  .back-to-top {
    bottom: 84px !important;
  }

  .hl_live_chat,
  iframe[src*="chat-widget"],
  iframe[src*="leadconnectorhq"]:not([src*="/widget/form/"]),
  [id*="leadconnector"],
  [class*="leadconnector"],
  [id*="chat-widget"],
  [class*="chat-widget"] {
    position: fixed !important;
    left: 18px !important;
    right: auto !important;
    bottom: 84px !important;
    top: auto !important;
    z-index: 998 !important;
  }

  .maaab-topbar-left span:not(:first-child),
  .maaab-header-actions .maaab-icon-link span,
  .maaab-account {
    display: none;
  }

  .maaab-topbar-inner {
    min-height: 30px;
  }

  .maaab-mainbar-inner {
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }

  .maaab-header-actions {
    position: absolute;
    top: 14px;
    right: 0;
    z-index: 45;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 8px;
  }

  .maaab-vat-toggle {
    min-height: 32px;
    gap: 5px;
    padding: 4px 6px;
    font-size: 11px;
  }

  .maaab-vat-toggle-text {
    min-width: 39px;
  }

  .maaab-vat-toggle-track {
    width: 30px;
    height: 16px;
  }

  .maaab-vat-toggle-thumb {
    width: 12px;
    height: 12px;
  }

  .maaab-vat-toggle input:checked + .maaab-vat-toggle-track .maaab-vat-toggle-thumb {
    transform: translateX(14px);
  }

  .maaab-header-actions .maaab-icon-link {
    min-height: 40px;
    padding: 6px 4px;
  }

  .maaab-cart {
    position: static;
  }

  .maaab-cart-menu.dropdown-menu {
    position: fixed !important;
    top: 190px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 270px);
    overflow: auto;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
  }

  .maaab-cart-menu .table-cart {
    width: 100%;
    table-layout: fixed;
    margin-bottom: 8px;
  }

  .maaab-cart-menu .table-cart td {
    white-space: normal;
    word-break: break-word;
    vertical-align: middle !important;
  }

  .maaab-cart-menu .table-cart td:first-child {
    width: 42px;
  }

  .maaab-cart-menu .table-cart td:last-child {
    width: 74px;
    text-align: right;
  }

  .maaab-cart-menu #cart-links .btn {
    padding-left: 6px;
    padding-right: 6px;
  }

  .maaab-logo {
    position: absolute;
    top: 7px;
    left: 38%;
    transform: translateX(-50%);
    z-index: 44;
    flex: 0 0 auto;
    justify-content: center;
    padding: 0;
  }

  .maaab-logo img {
    max-height: 66px;
    max-width: 120px;
  }

  .maaab-search-wrap {
    flex: 0 0 100%;
    order: 5;
  }

  .maaab-search-button {
    min-width: 48px;
  }

  .maaab-search-results,
  .maaab-search-suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 60vh;
    z-index: 99999;
  }

  .maaab-home,
  .maaab-products-page {
    padding-top: 14px;
  }

  .maaab-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px;
    border-radius: 18px;
  }

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

  .maaab-hero-media img {
    max-height: 190px;
  }

  .maaab-hero-actions {
    flex-wrap: wrap;
  }

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

  .maaab-category-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .maaab-category-card {
    flex: 0 0 112px;
    min-height: 118px;
  }

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

  .maaab-footer-bottom {
    font-size: 12px;
  }

  .maaab-listing-layout {
    display: block;
  }

  .maaab-products-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .maaab-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .maaab-toolbar-left,
  .maaab-toolbar-right {
    justify-content: space-between;
  }

  .maaab-filter-open,
  .maaab-filter-close {
    display: inline-flex;
  }

  .maaab-filter-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1002;
    width: min(340px, 88vw);
    overflow: auto;
    display: block;
    top: 0;
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .maaab-filter-sidebar.is-open {
    transform: translateX(0);
  }

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

  .maaab-product-card.product {
    padding: 10px;
  }

  .maaab-product-image {
    height: 118px;
  }

  .maaab-product-image img {
    max-height: 112px;
  }

  .maaab-card-actions {
    gap: 6px;
  }

  .maaab-mobile-nav {
    display: grid !important;
  }

  .maaab-add-cart {
    font-size: 0;
  }

  .maaab-add-cart i {
    font-size: 14px;
  }

  .maaab-qty {
    grid-template-columns: 24px 1fr 24px;
  }

  .maaab-quick-order {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  #results.grid,
  .maaab-product-grid {
    grid-template-columns: 1fr;
  }
}

/* Emergency product listing layout fix */
.maaab-product-listing {
  background: #f5f7fb;
  padding: 28px 0 48px;
  overflow-x: hidden;
}

.maaab-product-listing .maaab-container {
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.maaab-listing-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.maaab-listing-main {
  min-width: 0;
  width: 100%;
}

#results,
#results.grid,
.maaab-product-grid,
.maaab-listing-main .maaab-product-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  min-width: 0;
  overflow: visible;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  float: none !important;
  white-space: normal !important;
}

#results > .maaab-product-card,
#results > .product,
.maaab-product-grid > .maaab-product-card,
.maaab-product-card {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  float: none !important;
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.maaab-product-card * {
  box-sizing: border-box;
}

.maaab-product-card .product-desc,
.maaab-product-card .maaab-product-body {
  display: flex !important;
  flex: 1;
  flex-direction: column;
  float: none !important;
  width: 100% !important;
}

.maaab-product-card .product-bottom {
  display: flex !important;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  width: 100% !important;
  border-top: 0 !important;
  margin-top: auto !important;
  padding-top: 0 !important;
}

.maaab-product-card .product-bottom .product-price,
.maaab-product-card .product-bottom .product-rating {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  text-align: left !important;
  line-height: 1.25 !important;
}

.maaab-product-image-wrap {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maaab-product-image-wrap img,
.maaab-product-card img {
  max-width: 100%;
  max-height: 145px;
  object-fit: contain;
}

.maaab-card-actions {
  margin-top: auto;
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.maaab-card-actions .add-to-cart,
.maaab-card-actions button {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

.maaab-card-actions .maaab-qty {
  width: 100%;
  min-width: 0;
  flex: 0 0 104px;
}

.maaab-card-actions .maaab-add-cart {
  width: auto !important;
  min-width: 0;
  max-width: none !important;
  flex: 1 1 auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-left: 8px;
  padding-right: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.maaab-card-actions .maaab-wishlist-btn {
  width: 38px;
  min-width: 38px;
  flex: 0 0 38px !important;
  padding-left: 0;
  padding-right: 0;
}

.maaab-product-grid .product-container,
#results .product-container {
  display: contents !important;
  float: none !important;
  width: auto !important;
  position: static !important;
  transform: none !important;
}

@media (min-width: 1400px) {
  .maaab-home .maaab-product-grid,
  .maaab-products-section .maaab-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .maaab-product-listing #results,
  .maaab-product-listing #results.grid,
  .maaab-product-listing .maaab-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .maaab-product-listing .maaab-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .maaab-listing-layout {
    display: block;
  }

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

@media (max-width: 575px) {
  .maaab-product-listing .maaab-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .maaab-product-grid,
  #results,
  #results.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .maaab-product-card {
    padding: 12px;
    border-radius: 14px;
  }

  .maaab-product-image-wrap {
    height: 110px;
  }

  .maaab-product-card img {
    max-height: 105px;
  }
}

@media (max-width: 380px) {
  .maaab-product-grid,
  #results,
  #results.grid {
    grid-template-columns: 1fr;
  }
}

/* Dense desktop wholesale catalogue grid */
.maaab-product-listing .maaab-container {
  max-width: 1360px;
}

.maaab-product-listing .maaab-listing-layout {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
}

.maaab-product-listing .maaab-filter-sidebar {
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.maaab-product-listing .maaab-product-toolbar {
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

#results.maaab-product-grid--dense,
.maaab-product-grid--dense {
  gap: 16px;
}

.maaab-product-card--dense {
  border-radius: 12px !important;
  padding: 12px !important;
  min-height: 460px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05) !important;
}

.maaab-product-card--dense .maaab-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 26px;
  margin-bottom: 8px;
}

.maaab-product-card--dense .maaab-product-badges {
  min-width: 1px;
}

.maaab-product-card--dense .maaab-badge--promo {
  position: static !important;
}

.maaab-badge {
  display: inline-flex !important;
  align-items: center;
  height: 22px !important;
  line-height: 22px !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  font-weight: 800;
  position: static !important;
}

.maaab-badge--promo {
  background: var(--maaab-orange) !important;
  color: #fff !important;
}

.maaab-product-card--dense .maaab-floating-heart {
  position: static !important;
  width: 28px;
  height: 28px;
  min-width: 28px;
  box-shadow: none;
}

.maaab-product-card--dense .maaab-product-image-wrap {
  height: 145px;
  margin-bottom: 10px;
}

.maaab-product-card--dense .maaab-product-image,
.maaab-product-card--dense .maaab-product-image-wrap img {
  max-height: 135px;
}

.maaab-product-card--dense .maaab-product-title {
  font-size: 14px;
  line-height: 1.35;
  min-height: 38px;
  margin-bottom: 6px;
}

.maaab-product-card--dense .maaab-product-meta,
.maaab-product-card--dense .maaab-product-spec,
.maaab-product-card--dense .maaab-product-code {
  display: block;
  font-size: 11px;
  line-height: 1.45;
  color: var(--maaab-muted);
  margin-bottom: 2px;
}

.maaab-product-card--dense .maaab-product-spec {
  max-height: 48px;
  overflow: hidden;
}

#maaab-infinite-sentinel,
.maaab-infinite-loader {
  display: block;
  width: 100%;
  height: 2px;
  clear: both;
}

.maaab-product-card--dense .maaab-stock-status {
  font-size: 11px;
  font-weight: 800;
  margin-top: 8px;
  margin-bottom: 2px;
  color: var(--maaab-success);
}

.maaab-product-card--dense .maaab-stock-status.out-of-stock {
  color: #b91c1c;
}

.maaab-new-arrivals-modal .modal-dialog {
  width: min(760px, calc(100vw - 24px));
  margin: 24px auto;
}

.maaab-new-arrivals-modal .modal-content {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.32);
}

.maaab-new-arrivals-modal .modal-header {
  padding: 16px 44px 14px 18px;
  border-bottom: 1px solid var(--maaab-border);
  background: #fff;
}

.maaab-new-arrivals-modal .modal-title {
  color: var(--maaab-text);
  font-size: 18px;
  font-weight: 800;
}

.maaab-new-arrivals-modal .modal-body {
  padding: 0;
  background: #fff;
}

.maaab-new-arrivals-modal iframe {
  min-height: 500px;
}

.maaab-new-arrivals-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  color: var(--maaab-text);
  opacity: 0.65;
}

.maaab-product-card--dense .maaab-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 6px 0 12px;
}

.maaab-product-card--dense .maaab-old-price,
.maaab-product-card--dense .maaab-product-price del {
  display: inline-block;
  font-size: 11px;
  color: #9ca3af;
  text-decoration: line-through;
  margin-right: 0;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.maaab-product-card--dense .maaab-price,
.maaab-product-card--dense .maaab-product-price > span {
  display: inline-block;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
  color: var(--maaab-text);
  max-width: 100%;
  text-align: center;
}

.maaab-product-card--dense .maaab-unit-price,
.maaab-product-card--dense .maaab-product-price small {
  display: block;
  font-size: 11px;
  color: var(--maaab-muted);
  margin-top: 3px;
}

.maaab-product-card--dense .maaab-card-batch {
  width: 100%;
  margin: 0 0 10px;
}

.maaab-product-card .maaab-card-batch {
  width: 100%;
  margin: 0 0 10px;
}

.maaab-product-card .maaab-shop-batch-select {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #d8dee8;
  color: var(--maaab-text);
  font-size: 12px;
  line-height: 1.2;
  box-shadow: none;
}

.maaab-product-card .maaab-shop-batch-select:focus {
  border-color: var(--maaab-blue);
  box-shadow: 0 0 0 2px rgba(0, 97, 204, 0.12);
}

.maaab-product-card--dense .maaab-shop-batch-select {
  width: 100%;
  height: 34px;
  border-radius: 8px;
  border: 1px solid #d8dee8;
  color: var(--maaab-text);
  font-size: 12px;
  line-height: 1.2;
  box-shadow: none;
}

.maaab-product-card--dense .maaab-shop-batch-select:focus {
  border-color: var(--maaab-blue);
  box-shadow: 0 0 0 2px rgba(0, 97, 204, 0.12);
}

.maaab-product-card--dense .maaab-card-bottom {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

.maaab-product-card--dense .maaab-qty-wrap,
.maaab-product-card--dense .maaab-qty {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  width: 100%;
  max-width: none;
  flex: none;
  margin: 0;
  border-radius: 8px;
}

.maaab-product-card--dense .maaab-qty .input-group-addon,
.maaab-product-card--dense .maaab-qty input {
  height: 34px;
}

.maaab-product-card--dense .maaab-add-to-cart,
.maaab-product-card--dense .maaab-add-cart {
  width: 100% !important;
  height: 38px;
  border-radius: 8px;
  background: var(--maaab-orange) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  border: 0;
}

.maaab-product-card--dense .maaab-add-to-cart:hover,
.maaab-product-card--dense .maaab-add-to-cart:focus,
.maaab-product-card--dense .maaab-add-cart:hover,
.maaab-product-card--dense .maaab-add-cart:focus {
  background: var(--maaab-orange-dark) !important;
}

@media (min-width: 992px) {
  .maaab-product-listing #results.maaab-product-grid--dense,
  .maaab-product-listing #results.grid.maaab-product-grid--dense,
  .maaab-product-listing .maaab-product-grid--dense {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1500px) {
  .maaab-product-listing .maaab-container {
    max-width: 1450px;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .maaab-product-listing #results.maaab-product-grid--dense,
  .maaab-product-listing #results.grid.maaab-product-grid--dense,
  .maaab-product-listing .maaab-product-grid--dense {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .maaab-product-card--dense {
    min-height: auto;
  }
}

/* Legacy grid/list control compatibility */
@media (min-width: 992px) {
  .maaab-product-listing #results.maaab-grid-dense {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .maaab-product-listing #results.maaab-grid-comfort {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .maaab-product-listing #results.maaab-grid-dense,
  .maaab-product-listing #results.maaab-grid-comfort {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* Card action/meta consistency: one top wishlist icon, wider cart CTA, linked category/brand meta. */
.maaab-product-card .maaab-product-meta,
.maaab-product-card .maaab-product-meta a,
.maaab-product-card .maaab-product-meta-link {
  color: var(--maaab-blue);
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}

.maaab-product-card .maaab-product-meta a:hover,
.maaab-product-card .maaab-product-meta a:focus,
.maaab-product-card .maaab-product-meta-link:hover,
.maaab-product-card .maaab-product-meta-link:focus {
  color: var(--maaab-blue-dark);
  text-decoration: underline;
}

.maaab-product-card .maaab-card-actions,
.maaab-product-listing #results .maaab-product-card--dense .maaab-card-bottom {
  display: grid !important;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: 100%;
}

.maaab-product-card .maaab-card-actions .maaab-wishlist-btn {
  display: none !important;
}

.maaab-product-card .maaab-card-actions .maaab-qty,
.maaab-product-listing #results .maaab-product-card--dense .maaab-qty {
  width: 100%;
  max-width: none;
  min-width: 0;
  flex: none;
}

.maaab-product-card .maaab-card-actions .maaab-add-cart,
.maaab-product-card .maaab-card-actions .maaab-add-to-cart,
.maaab-product-listing #results .maaab-product-card--dense .maaab-add-cart,
.maaab-product-listing #results .maaab-product-card--dense .maaab-add-to-cart {
  width: 100% !important;
  min-width: 0;
  height: 44px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
}

@media (max-width: 575px) {
  .maaab-product-card .maaab-card-actions,
  .maaab-product-listing #results .maaab-product-card--dense .maaab-card-bottom {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 8px;
  }

  .maaab-product-card .maaab-card-actions .maaab-add-cart,
  .maaab-product-card .maaab-card-actions .maaab-add-to-cart,
  .maaab-product-listing #results .maaab-product-card--dense .maaab-add-cart,
  .maaab-product-listing #results .maaab-product-card--dense .maaab-add-to-cart {
    height: 40px;
    font-size: 13px;
  }
}

/* Product listing cards: keep the AJAX/product-page card visually aligned with homepage featured cards. */
.maaab-product-listing #results .maaab-product-card--dense {
  min-height: 360px;
  padding: 16px !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-card-top {
  display: block;
  min-height: 0;
  margin: 0;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-product-badges {
  min-width: 0;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-badge--promo {
  position: absolute !important;
  top: 14px;
  left: 14px;
  z-index: 3;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-floating-heart {
  position: absolute !important;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border: 1px solid var(--maaab-border);
  border-radius: 50%;
  background: #fff;
  color: var(--maaab-blue);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-product-image-wrap {
  height: 150px;
  margin-bottom: 14px;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-product-image,
.maaab-product-listing #results .maaab-product-card--dense .maaab-product-image-wrap img {
  max-height: 140px;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-product-title {
  min-height: 38px;
  margin: 0 0 3px;
  color: var(--maaab-blue);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-product-meta,
.maaab-product-listing #results .maaab-product-card--dense .maaab-product-spec {
  font-size: 12px;
  line-height: 1.35;
  color: var(--maaab-muted);
  margin-bottom: 3px;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-product-code {
  display: none !important;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-stock-status {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 8px 0;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  color: var(--maaab-success);
  font-size: 12px;
  font-weight: 800;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-stock-status.out-of-stock {
  color: #b91c1c;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-price-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 8px 0 12px;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-old-price,
.maaab-product-listing #results .maaab-product-card--dense .maaab-product-price del {
  color: var(--maaab-danger);
  font-size: 12px;
  font-weight: 600;
  margin-right: 0;
  max-width: 100%;
  line-height: 1.2;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-price,
.maaab-product-listing #results .maaab-product-card--dense .maaab-product-price > span {
  color: var(--maaab-text);
  font-size: 18px;
  font-weight: 900;
  max-width: 100%;
  text-align: center;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-card-bottom {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-qty {
  display: grid;
  grid-template-columns: 28px 1fr 28px;
  flex: 0 0 98px;
  width: auto;
  max-width: 98px;
  border-radius: 6px;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-qty .input-group-addon,
.maaab-product-listing #results .maaab-product-card--dense .maaab-qty input {
  height: 36px;
}

.maaab-product-listing #results .maaab-product-card--dense .maaab-add-cart,
.maaab-product-listing #results .maaab-product-card--dense .maaab-add-to-cart {
  flex: 1 1 auto;
  width: auto !important;
  height: 38px;
  border-radius: 6px;
  background: var(--maaab-blue) !important;
  font-size: 13px;
}

/* Mobile product cards: stack quantity and cart CTA so "Add to Cart" is fully readable. */
@media (max-width: 575px) {
  .maaab-product-grid .maaab-card-bottom,
  .maaab-product-grid .maaab-card-actions,
  #results.maaab-product-grid .maaab-card-bottom,
  #results.maaab-product-grid .maaab-card-actions,
  .maaab-product-listing #results .maaab-product-card--dense .maaab-card-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .maaab-product-grid .maaab-qty,
  .maaab-product-grid .maaab-qty-wrap,
  #results.maaab-product-grid .maaab-qty,
  #results.maaab-product-grid .maaab-qty-wrap,
  .maaab-product-listing #results .maaab-product-card--dense .maaab-qty {
    display: grid !important;
    grid-template-columns: 32px 1fr 32px !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
  }

  .maaab-product-grid .maaab-add-cart,
  .maaab-product-grid .maaab-add-to-cart,
  .maaab-product-grid .add-to-cart,
  #results.maaab-product-grid .maaab-add-cart,
  #results.maaab-product-grid .maaab-add-to-cart,
  #results.maaab-product-grid .add-to-cart,
  .maaab-product-listing #results .maaab-product-card--dense .maaab-add-cart,
  .maaab-product-listing #results .maaab-product-card--dense .maaab-add-to-cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 100% !important;
    height: 42px !important;
    padding: 0 10px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .maaab-product-grid .maaab-add-cart i,
  .maaab-product-grid .maaab-add-to-cart i,
  .maaab-product-grid .add-to-cart i,
  #results.maaab-product-grid .maaab-add-cart i,
  #results.maaab-product-grid .maaab-add-to-cart i,
  #results.maaab-product-grid .add-to-cart i {
    flex: 0 0 auto;
    margin-right: 5px;
    font-size: 13px !important;
  }
}

/* Mobile order payment actions: prevent card/Klarna/Clearpay buttons overlapping. */
@media (max-width: 575px) {
  .page-contents .payment_buttons,
  .page-contents #payment_buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 0 !important;
    float: none !important;
    clear: both !important;
  }

  .page-contents .payment_buttons > .btn,
  .page-contents .payment_buttons > button,
  .page-contents #payment_buttons > .btn,
  .page-contents #payment_buttons > a.btn,
  .page-contents #payment_buttons > a[style*="background"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 14px !important;
    white-space: normal !important;
    text-align: center !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  .page-contents #payment_buttons img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-contents .no-print.well .file + label,
  .page-contents .no-print.well #submit-container,
  .page-contents .no-print.well #upload-file {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 8px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 991px) {
  .maaab-product-listing #results .maaab-product-card--dense {
    min-height: auto;
  }
}

/* Catalogue order-sheet UX */
.maaab-catalogue-breadcrumbs {
  margin: 0 0 7px;
  padding: 0;
  font-size: 12px;
}

.maaab-catalogue-heading p {
  margin: 4px 0 0;
  color: #69768b;
  font-size: 13px;
}

.maaab-catalogue-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #d3dce8;
  border-radius: 8px;
  background: #fff;
  color: #42516a;
}

.maaab-catalogue-more .dropdown-menu {
  min-width: 220px;
  margin-top: 7px;
  border: 1px solid #dbe2ec;
  border-radius: 9px;
  box-shadow: 0 14px 35px rgba(26, 42, 68, .15);
}

.maaab-catalogue-more .dropdown-menu a {
  padding: 10px 14px;
  color: #263651;
  font-weight: 700;
}

.maaab-catalogue-more .dropdown-menu i {
  width: 18px;
  color: #c52828;
}

.maaab-catalogue-controls {
  position: sticky;
  top: 0;
  z-index: 45;
  grid-template-columns: minmax(280px, 1.15fr) minmax(0, 2fr);
  padding: 10px;
}

.maaab-catalogue-filter-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr)) auto;
  align-items: end;
  gap: 9px;
  min-width: 0;
}

.maaab-catalogue-filter-panel-head,
.maaab-catalogue-filter-toggle,
.maaab-catalogue-filter-backdrop {
  display: none;
}

.maaab-catalogue-filter-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.maaab-catalogue-filter-actions .maaab-btn {
  display: none;
}

.maaab-catalogue-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
  margin: -2px 0 8px;
}

.maaab-catalogue-active-filters:empty {
  display: none;
}

.maaab-catalogue-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 4px 9px;
  border: 1px solid #cdd8e8;
  border-radius: 999px;
  background: #fff;
  color: #34425a;
  font-size: 12px;
  font-weight: 700;
}

.maaab-catalogue-filter-chip i {
  color: #7a879a;
}

.maaab-catalogue-table-wrap {
  overflow: visible;
}

.maaab-catalogue-table thead th {
  position: sticky;
  top: 66px;
  z-index: 12;
  background: #eef3f9;
}

.maaab-catalogue-group-row th {
  padding: 10px 12px;
  border-top: 1px solid #d5deeb;
  border-bottom: 1px solid #d5deeb;
  background: #e8f0fa;
  color: #263651;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.maaab-catalogue-group-row th span {
  color: #5b6880;
  font-weight: 700;
}

.maaab-catalogue-group-row th i {
  margin: 0 7px;
  color: #8a96a8;
}

.maaab-catalogue-group-row th strong {
  color: #17243c;
  font-weight: 900;
}

.maaab-catalogue-product-cell {
  min-width: 230px;
}

.maaab-catalogue-product-code {
  display: block;
  margin-top: 3px;
  color: #748096;
  font-family: Consolas, Monaco, monospace;
  font-size: 10.5px;
}

.maaab-catalogue-mobile-meta {
  display: none;
}

.maaab-catalogue-order-column,
.maaab-catalogue-order-cell {
  min-width: 255px;
}

.maaab-catalogue-loading {
  gap: 8px;
  padding: 10px 0;
}

.maaab-catalogue-loading.is-visible {
  display: grid;
}

.maaab-catalogue-loading > span:not(.sr-only) {
  display: block;
  height: 42px;
  border-radius: 9px;
  background: linear-gradient(90deg, #edf1f6 25%, #f8fafc 37%, #edf1f6 63%);
  background-size: 400% 100%;
  animation: maaabCatalogueSkeleton 1.2s ease infinite;
}

@keyframes maaabCatalogueSkeleton {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.maaab-catalogue-page.is-loading .maaab-catalogue-table-wrap {
  opacity: 1;
  pointer-events: none;
}

.maaab-catalogue-page.is-loading:not(.is-loading-more) .maaab-catalogue-table-wrap {
  display: none;
}

.maaab-catalogue-cart-summary {
  position: fixed;
  right: 50%;
  bottom: 18px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 500px;
  padding: 12px 16px;
  border: 1px solid #176a43;
  border-radius: 12px;
  background: #176a43;
  color: #fff !important;
  box-shadow: 0 16px 36px rgba(16, 80, 51, .28);
  opacity: 0;
  pointer-events: none;
  transform: translate(50%, 20px);
  transition: opacity .2s ease, transform .2s ease;
}

.maaab-catalogue-cart-summary.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(50%, 0);
}

.maaab-catalogue-cart-summary > :last-child {
  margin-left: auto;
}

.maaab-catalogue-back-to-search {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #ccd6e4;
  border-radius: 999px;
  background: #fff;
  color: #34425a;
  box-shadow: 0 8px 24px rgba(26, 42, 68, .15);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.maaab-catalogue-back-to-search.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.maaab-mobile-panel > a.active,
.maaab-mobile-panel > a[aria-current="page"] {
  margin-right: -8px;
  margin-left: -8px;
  padding-right: 12px;
  padding-left: 12px;
  border-radius: 8px;
  background: #eaf2ff;
  color: #0057c8;
  font-weight: 800;
}

@media (max-width: 1100px) and (min-width: 768px) {
  .maaab-catalogue-controls {
    grid-template-columns: 1fr;
  }

  .maaab-catalogue-filter-panel {
    grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
  }

  .maaab-catalogue-table thead th {
    top: 116px;
  }
}

@media (max-width: 767px) {
  body.maaab-catalogue-filters-open {
    overflow: hidden;
  }

  .maaab-catalogue-page {
    padding-top: 6px;
    padding-bottom: 92px;
  }

  .maaab-catalogue-breadcrumbs {
    margin-bottom: 5px;
  }

  .maaab-catalogue-heading {
    align-items: flex-start;
  }

  .maaab-catalogue-heading p {
    display: none;
  }

  .maaab-catalogue-heading-actions {
    flex-direction: row;
    align-items: center;
    gap: 5px;
  }

  .maaab-catalogue-pdf-link,
  .maaab-catalogue-cart-link {
    min-width: 0;
    min-height: 36px;
    height: 36px;
  }

  .maaab-catalogue-pdf-link {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
  }

  .maaab-catalogue-pdf-label {
    display: none;
  }

  .maaab-catalogue-pdf-label-mobile {
    display: inline;
  }

  .maaab-catalogue-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px;
    border-radius: 11px;
  }

  .maaab-catalogue-controls .maaab-catalogue-search-wrap {
    grid-column: auto;
  }

  .maaab-catalogue-search-wrap > label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .maaab-catalogue-controls .maaab-catalogue-search-input input {
    height: 42px;
  }

  .maaab-catalogue-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 92px;
    height: 42px;
    padding: 0 11px;
    border: 1px solid #ccd6e4;
    border-radius: 9px;
    background: #fff;
    color: #263651;
    font-weight: 800;
  }

  .maaab-catalogue-filter-toggle span:not(.hidden) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: #0057c8;
    color: #fff;
    font-size: 10px;
  }

  .maaab-catalogue-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(15, 23, 42, .46);
  }

  .maaab-catalogue-filter-backdrop.is-open {
    display: block;
  }

  .maaab-catalogue-filter-panel {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: block;
    max-height: min(82vh, 650px);
    padding: 16px;
    overflow-y: auto;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -18px 50px rgba(15, 23, 42, .22);
    visibility: hidden;
    transform: translateY(105%);
    transition: transform .24s ease, visibility .24s ease;
  }

  .maaab-catalogue-filter-panel.is-open {
    visibility: visible;
    transform: translateY(0);
  }

  .maaab-catalogue-filter-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    color: #17243c;
    font-size: 17px;
  }

  .maaab-catalogue-filter-panel-head button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef3f9;
    color: #34425a;
  }

  .maaab-catalogue-filter-panel .maaab-catalogue-filter {
    display: block;
    margin-bottom: 13px;
  }

  .maaab-catalogue-filter-panel .bootstrap-select {
    width: 100% !important;
  }

  .maaab-catalogue-filter-actions {
    position: sticky;
    bottom: -16px;
    margin: 6px -16px -16px;
    padding: 12px 16px 16px;
    border-top: 1px solid #e5eaf1;
    background: #fff;
  }

  .maaab-catalogue-filter-actions .maaab-btn {
    display: inline-flex;
    min-height: 44px;
    flex: 1;
    white-space: nowrap;
  }

  .maaab-catalogue-result-bar {
    min-height: 32px;
    padding-bottom: 3px;
    font-size: 12px;
  }

  .maaab-catalogue-scope {
    margin-left: auto;
  }

  .maaab-catalogue-scope-option {
    min-height: 28px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .maaab-catalogue-live {
    display: none;
  }

  .maaab-catalogue-active-filters {
    flex-wrap: nowrap;
    margin-bottom: 9px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .maaab-catalogue-filter-chip {
    flex: 0 0 auto;
  }

  .maaab-catalogue-table .maaab-catalogue-group-row {
    display: block;
    margin: 15px 0 8px;
  }

  .maaab-catalogue-table .maaab-catalogue-group-row th {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-left: 4px solid #0057c8;
    border-radius: 7px;
    background: #e8f0fa;
    font-size: 12px;
  }

  .maaab-catalogue-table .maaab-catalogue-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0 10px;
    margin-bottom: 8px;
    padding: 11px;
    border-radius: 11px;
  }

  .maaab-catalogue-table .maaab-catalogue-image-cell {
    grid-row: 1;
  }

  .maaab-catalogue-image-cell img {
    width: 62px;
    height: 62px;
  }

  .maaab-catalogue-product-cell .maaab-product-title {
    font-size: 14px;
    line-height: 1.28;
  }

  .maaab-catalogue-product-code {
    margin-top: 2px;
    font-size: 10px;
  }

  .maaab-catalogue-mobile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin-top: 5px;
    color: #617087;
    font-size: 11px;
  }

  .maaab-catalogue-mobile-meta span:not(:last-child)::after {
    margin-left: 8px;
    color: #c3cad5;
    content: "\2022";
  }

  .maaab-catalogue-mobile-meta strong {
    width: 100%;
    color: #17243c;
    font-size: 13px;
  }

  .maaab-catalogue-brand-cell,
  .maaab-catalogue-pack-cell,
  .maaab-catalogue-price-cell {
    display: none !important;
  }

  .maaab-catalogue-order-cell {
    margin-top: 7px;
    padding-top: 9px !important;
  }

  .maaab-catalogue-order .shop-batch-select {
    height: 40px;
    margin-bottom: 7px;
  }

  .maaab-catalogue-order-actions,
  .maaab-catalogue-order-actions {
    flex-direction: row;
    gap: 7px;
  }

  .maaab-catalogue-qty {
    width: 112px;
    min-width: 112px;
  }

  .maaab-catalogue-order .maaab-add-to-cart {
    min-width: 0;
    padding-right: 9px;
    padding-left: 9px;
    font-size: 12px;
  }

  .maaab-catalogue-remove-cart {
    min-height: 34px;
    margin-top: 3px;
    font-size: 12px;
  }

  .maaab-catalogue-cart-summary {
    right: 10px;
    bottom: 10px;
    left: 10px;
    min-width: 0;
    padding: 11px 13px;
    border-radius: 11px;
    transform: translateY(20px);
  }

  .maaab-catalogue-cart-summary.is-visible {
    transform: translateY(0);
  }

  .maaab-catalogue-cart-summary #maaab-catalogue-cart-total {
    display: none;
  }

  .maaab-catalogue-back-to-search {
    right: 12px;
    bottom: 72px;
  }
}

@media (max-width: 420px) {
  .maaab-catalogue-heading h1 {
    font-size: 19px;
  }

  .maaab-catalogue-cart-link {
    font-size: 0;
  }

  .maaab-catalogue-cart-link i {
    margin: 0;
    font-size: 15px;
  }

  .maaab-catalogue-pdf-label-mobile {
    font-size: 0;
  }

  .maaab-catalogue-pdf-label-mobile::after {
    font-size: 12px;
    content: 'PDF';
  }

  .maaab-catalogue-live {
    display: none;
  }
}
