/* =============================================
   Jmanfro Custom Styles — B2B Storefront
   Only styles for components without Glax equivalents:
   Cart badge, Products grid, Product modal, Mini-cart,
   WhatsApp button, Cart page, Mobile bottom bar,
   Filter bar, Pagination, Login prompt, SweetAlert.
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --jm-primary: #e8761e;
  --jm-primary-dark: #c55f10;
  --jm-secondary: #1a2a4a;
  --jm-accent: #3dd68a;
  --jm-btn: #e8761e;
  --jm-btn-dark: #c55f10;
  --jm-btn-text: #fff;
  --jm-bg-light: #f7f8fa;
  --jm-border: #e2e4e9;
  --jm-text: #333;
  --jm-text-muted: #6b7280;
  --jm-heading: #1a2a4a;
  --jm-success: #22c55e;
  --jm-danger: #ef4444;
  --jm-danger-light: #fee2e2;
  --jm-danger-lighter: #fecaca;
  --jm-info: #3b82f6;
  --jm-white: #fff;
  --jm-bg-placeholder: #f0f0f0;
  --jm-bg-soft: #f9f9f9;
  --jm-border-light: #eee;
  --jm-border-input: #ddd;
  --jm-text-light: #999;
  --jm-text-secondary: #666;
  --jm-whatsapp: #25d366;
  --jm-error: #e74c3c;
  --jm-success-msg: #27ae60;
  --jm-status-draft-bg: #e2e3e5;
  --jm-status-draft-fg: #383d41;
  --jm-status-pending-bg: #fff3cd;
  --jm-status-pending-fg: #856404;
  --jm-status-approved-bg: #d4edda;
  --jm-status-approved-fg: #155724;
  --jm-status-done-bg: #cce5ff;
  --jm-status-done-fg: #004085;
  --jm-status-cancelled-bg: #f8d7da;
  --jm-status-cancelled-fg: #721c24;
  --jm-font-heading: 'Montserrat', sans-serif;
  --jm-font-body: 'Rubik', sans-serif;
  --jm-fs-xs: 12px;
  --jm-fs-sm: 13px;
  --jm-fs-base: 14px;
  --jm-fs-md: 15px;
  --jm-fs-lg: 17px;
  --jm-fs-xl: 20px;
  --jm-fs-2xl: 24px;
  --jm-fs-3xl: 28px;
  --jm-fw-regular: 400;
  --jm-fw-medium: 500;
  --jm-fw-semibold: 600;
  --jm-fw-bold: 700;
  --jm-fw-extrabold: 800;
  --jm-lh-tight: 1.25;
  --jm-lh-normal: 1.5;
  --jm-lh-relaxed: 1.7;
  --jm-radius: 8px;
  --jm-radius-lg: 12px;
  --jm-shadow: 0 2px 12px rgba(0,0,0,.08);
  --jm-shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --jm-transition: all .3s ease;
}

/* ---------- Header: Logo wrap — remove orange background/decorations ---------- */
.glax_tm_header_wrap .logo_wrap {
  background-color: transparent;
  position: absolute;
  left: -90px;
  width: 299px;
  top: 0px;
  bottom: -9px;
  padding: 10px 25px;
}
.glax_tm_header_wrap .logo_wrap:before,
.glax_tm_header_wrap .logo_wrap:after,
.glax_tm_header_wrap .logo_wrap .left,
.glax_tm_header_wrap .logo_wrap .right,
.glax_tm_header_wrap .logo_wrap .extra_first,
.glax_tm_header_wrap .logo_wrap .extra_second {
  display: none;
}

/* ---------- Nav bar: dark gradient (all pages) ---------- */
.glax_tm_header_wrap,
.glax_tm_header_wrap[data-style="light"],
.glax_tm_header_wrap[data-style="transparent"] {
  background-color: #0a0930 !important;
  background-image: linear-gradient(to right, #08032100, #0f134769) !important;
  border-bottom: none !important;
}
/* Force white text for all header modes */
.glax_tm_header_wrap .header_inner_wrap .menu_wrap > ul > li > a,
.glax_tm_header_wrap[data-style="light"] .header_inner_wrap .menu_wrap > ul > li > a {
  color: #fff !important;
}
.glax_tm_header_wrap .header_inner_wrap .menu_wrap > ul > li.shape > a:before,
.glax_tm_header_wrap[data-style="light"] .header_inner_wrap .menu_wrap > ul > li.shape > a:before {
  border-top-color: #fff !important;
}
.glax_tm_header_wrap .submenu_wrap {
  background-color: #0f1347;
}
.glax_tm_header_wrap .submenu_wrap:before {
  border-color: #0f1347 transparent transparent transparent;
}
.glax_tm_header_wrap .submenu_wrap ul li a { color: #ccc; }
.glax_tm_header_wrap .submenu_wrap ul li a:hover { color: #fff; }

/* ---------- Header: Cart Icon + Badge ---------- */
.cart-icon-wrap { position: relative; display: inline-flex; align-items: center; vertical-align: middle; }
.cart-icon-wrap svg { width: 20px; height: 20px; vertical-align: middle; position: relative; }
.cart-badge {
  position: absolute;
  top: 50%;
  right: -12px;
  margin-top: -20px;
  background: var(--jm-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  display: none;
  pointer-events: none;
  box-shadow: 0 1px 4px rgba(173,49,16,.3);
  z-index: 2;
}
.cart-badge.visible { display: block; }
.glax_tm_header_wrap .menu_wrap > ul > li { overflow: visible !important; }
.glax_tm_header_wrap .menu_wrap > ul > li > a.cart-icon-wrap { padding: 35px 5px 35px 0; display: inline-flex; align-items: center; }

/* ---------- Products Grid (4 cols) ---------- */
.jm-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.jm-product-card {
  background: #fff;
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--jm-transition);
}
.jm-product-card:hover { box-shadow: var(--jm-shadow-lg); transform: translateY(-3px); }
.jm-product-card-img {
  width: 100%;
  height: 190px;
  background: var(--jm-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}
.jm-product-card-img img {
  max-width: 90%;
  max-height: 170px;
  object-fit: contain;
  transition: transform .3s ease;
}
.jm-product-card:hover .jm-product-card-img img {
  transform: scale(1.05);
}
.jm-product-card-img .no-img {
  color: var(--jm-text-light);
  font-size: var(--jm-fs-base);
}
.jm-product-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.jm-product-card-body h4 {
  font-size: var(--jm-fs-md) !important;
  font-weight: var(--jm-fw-semibold) !important;
  margin-bottom: 4px;
  cursor: pointer;
  transition: color .2s ease;
  font-family: var(--jm-font-heading) !important;
  color: var(--jm-heading) !important;
  line-height: var(--jm-lh-tight) !important;
}
.jm-product-card-body h4:hover { color: var(--jm-primary-dark) !important; }
.jm-product-card-body .product-code {
  font-size: var(--jm-fs-xs);
  color: var(--jm-text-muted);
  margin-bottom: 8px;
  font-family: var(--jm-font-body);
}
.jm-product-card-body .product-rep {
  font-size: var(--jm-fs-xs);
  color: var(--jm-text-muted);
  margin-bottom: 12px;
  font-family: var(--jm-font-body);
}
.jm-product-card-body .product-price {
  font-size: var(--jm-fs-lg);
  font-weight: var(--jm-fw-bold);
  color: var(--jm-accent);
  margin-bottom: 12px;
  font-family: var(--jm-font-heading);
}
.jm-product-card-body .product-price.hidden-price {
  font-size: var(--jm-fs-sm);
  color: var(--jm-text-muted);
  font-weight: var(--jm-fw-regular);
}
.jm-product-card-actions {
  padding: 0 16px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.jm-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  overflow: hidden;
}
.jm-qty-control button {
  width: 32px;
  height: 36px;
  border: none;
  background: var(--jm-bg-light);
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--jm-text);
  transition: background .2s;
}
.jm-qty-control button:hover { background: var(--jm-border-light); }
.jm-qty-control input {
  width: 44px;
  height: 36px;
  border: none;
  border-left: 1px solid var(--jm-border);
  border-right: 1px solid var(--jm-border);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  -moz-appearance: textfield;
}
.jm-qty-control input::-webkit-inner-spin-button,
.jm-qty-control input::-webkit-outer-spin-button { -webkit-appearance: none; }
.jm-btn-cart {
  flex: 1;
  padding: 8px 16px;
  background: var(--jm-btn);
  color: var(--jm-btn-text);
  border: none;
  border-radius: var(--jm-radius);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: var(--jm-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.jm-btn-cart:hover { background: var(--jm-btn-dark); }
.jm-btn-cart svg { width: 16px; height: 16px; }

/* ---------- Product Modal ---------- */
.jm-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 10000;
  overflow-y: auto;
  padding: 40px 20px;
  backdrop-filter: blur(4px);
}
.jm-modal-overlay.active { display: flex; align-items: flex-start; justify-content: center; }
.jm-modal {
  background: #fff;
  border-radius: var(--jm-radius-lg);
  max-width: 800px;
  width: 100%;
  box-shadow: var(--jm-shadow-lg);
  position: relative;
  animation: jmModalIn .3s ease;
}
@keyframes jmModalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.jm-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--jm-bg-light);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background .2s;
}
.jm-modal-close:hover { background: var(--jm-border); }
.jm-modal-inner {
  display: flex;
  gap: 0;
}
.jm-modal-image {
  width: 45%;
  min-height: 350px;
  background: var(--jm-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: var(--jm-radius-lg) 0 0 var(--jm-radius-lg);
}
.jm-modal-image img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}
.jm-modal-details {
  flex: 1;
  padding: 32px;
}
.jm-modal-details h3 {
  font-size: var(--jm-fs-2xl);
  font-weight: var(--jm-fw-bold);
  margin-bottom: 8px;
  color: var(--jm-heading);
  font-family: var(--jm-font-heading);
  line-height: var(--jm-lh-tight);
}
.jm-modal-details .modal-meta {
  margin-bottom: 16px;
}
.jm-modal-details .modal-meta span {
  display: inline-block;
  font-size: var(--jm-fs-sm);
  color: var(--jm-text-muted);
  margin-right: 16px;
  font-family: var(--jm-font-body);
}
.jm-modal-details .modal-meta span strong {
  color: var(--jm-text);
}
.jm-modal-details .modal-description {
  font-size: var(--jm-fs-base);
  line-height: var(--jm-lh-relaxed);
  color: var(--jm-text-muted);
  margin-bottom: 20px;
  max-height: 120px;
  overflow-y: auto;
  font-family: var(--jm-font-body);
}
.jm-modal-details .modal-price {
  font-size: var(--jm-fs-2xl);
  font-weight: var(--jm-fw-bold);
  color: var(--jm-accent);
  margin-bottom: 4px;
  font-family: var(--jm-font-heading);
}
.jm-modal-details .modal-tax {
  font-size: var(--jm-fs-xs);
  color: var(--jm-text-muted);
  margin-bottom: 20px;
  font-family: var(--jm-font-body);
}
.jm-modal-details .modal-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.jm-modal-details .modal-actions .jm-btn-cart {
  flex: none;
  padding: 12px 32px;
  font-size: 14px;
}

/* ---------- Mini-Cart Popup ---------- */
.jm-minicart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  z-index: 9999;
}
.jm-minicart-overlay.active { display: block; }
.jm-minicart {
  position: fixed;
  top: 0;
  right: -380px;
  width: 380px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,.15);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  transition: right .3s ease;
}
.jm-minicart.active { right: 0; }
.jm-minicart-header {
  padding: 20px;
  border-bottom: 1px solid var(--jm-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.jm-minicart-header h3 { font-size: var(--jm-fs-lg); font-weight: var(--jm-fw-bold); font-family: var(--jm-font-heading); color: var(--jm-heading); }
.jm-minicart-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--jm-bg-light);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jm-minicart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.jm-minicart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--jm-border);
}
.jm-minicart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--jm-radius);
  background: var(--jm-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.jm-minicart-item-img img {
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
}
.jm-minicart-item-info { flex: 1; }
.jm-minicart-item-info h5 { font-size: var(--jm-fs-sm); font-weight: var(--jm-fw-semibold); margin-bottom: 2px; font-family: var(--jm-font-heading); color: var(--jm-heading); }
.jm-minicart-item-info .item-code { font-size: 11px; color: var(--jm-text-muted); font-family: var(--jm-font-body); }
.jm-minicart-item-info .item-qty { font-size: var(--jm-fs-xs); color: var(--jm-text-muted); margin-top: 4px; font-family: var(--jm-font-body); }
.jm-minicart-item-remove {
  background: none;
  border: none;
  color: var(--jm-danger);
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
  align-self: flex-start;
}
.jm-minicart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--jm-text-muted);
}
.jm-minicart-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--jm-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jm-minicart-footer .btn-empty {
  padding: 10px;
  background: var(--jm-danger-light);
  color: var(--jm-danger);
  border: none;
  border-radius: var(--jm-radius);
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: var(--jm-transition);
}
.jm-minicart-footer .btn-empty:hover { background: var(--jm-danger-lighter); }
.jm-minicart-footer .btn-checkout {
  padding: 12px;
  background: var(--jm-btn);
  border: none;
  border-radius: var(--jm-radius);
  font-weight: 700;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: var(--jm-transition);
  text-align: center;
  text-decoration: none;
  color: var(--jm-btn-text);
  display: block;
}
.jm-minicart-footer .btn-checkout:hover { background: var(--jm-btn-dark); }

/* ---------- WhatsApp Floating Button ---------- */
.jm-whatsapp-btn {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  background: var(--jm-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,.4);
  cursor: pointer;
  text-decoration: none;
  animation: jmWhatsappPulse 2s infinite;
  transition: transform .2s;
}
.jm-whatsapp-btn:hover { transform: scale(1.1); }
.jm-whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }
@keyframes jmWhatsappPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Cart Page (by Representada) ---------- */
.jm-cart-group { margin-bottom: 30px; }
.jm-cart-group-header {
  background: var(--jm-bg-light);
  padding: 14px 20px;
  border-radius: var(--jm-radius) var(--jm-radius) 0 0;
  font-weight: var(--jm-fw-bold);
  font-size: var(--jm-fs-md);
  font-family: var(--jm-font-heading);
  color: var(--jm-heading);
  border: 1px solid var(--jm-border);
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.jm-cart-group-header .rep-badge {
  background: var(--jm-primary);
  color: var(--jm-text);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.jm-cart-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--jm-border);
  border-radius: 0 0 var(--jm-radius) var(--jm-radius);
  overflow: hidden;
}
.jm-cart-table th {
  padding: 12px 16px;
  font-size: var(--jm-fs-xs);
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--jm-text-muted);
  background: #fff;
  text-align: left;
  border-bottom: 1px solid var(--jm-border);
  font-family: var(--jm-font-heading);
  font-weight: var(--jm-fw-semibold);
}
.jm-cart-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--jm-border);
  vertical-align: middle;
}
.jm-cart-table .product-info { display: flex; gap: 12px; align-items: center; }
.jm-cart-table .product-thumb {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: var(--jm-bg-light);
  object-fit: contain;
}
.jm-cart-totals {
  background: #fff;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  padding: 24px;
  margin-top: 30px;
}
.jm-cart-totals .total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.jm-cart-totals .total-row.grand {
  border-top: 2px solid var(--jm-border);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 18px;
  font-weight: 700;
}

/* ---------- Mobile Top Header ---------- */
.jm-mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--jm-secondary);
  z-index: 9995;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
}
.jm-mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.jm-mobile-logo img {
  height: 36px;
  width: auto;
}
.jm-mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.jm-mobile-header-cart {
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
}
.jm-mobile-header-cart svg { stroke: #fff; }
.mobile-header-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--jm-primary);
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
/* Hamburger */
.jm-mobile-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.jm-mobile-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.jm-mobile-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.jm-mobile-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.jm-mobile-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* Mobile Nav dropdown */
.jm-mobile-nav {
  display: none;
  background: var(--jm-secondary);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 20px 20px;
}
.jm-mobile-nav.open {
  display: block;
}
.jm-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jm-mobile-nav ul li {
  margin-bottom: 8px;
}
.jm-mobile-nav ul li:last-child {
  margin-bottom: 0;
}
.jm-mobile-nav ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  display: block;
  padding: 8px 0;
  transition: color .2s;
}
.jm-mobile-nav ul li a:hover {
  color: var(--jm-accent);
}

/* ---------- Mobile Bottom Bar ---------- */
.jm-mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--jm-border);
  z-index: 9990;
  padding: 6px 0 env(safe-area-inset-bottom, 6px);
  box-shadow: 0 -2px 10px rgba(0,0,0,.08);
}
.jm-mobile-bottom-bar nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.jm-mobile-bottom-bar nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--jm-text-muted);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 8px;
  position: relative;
  transition: color .2s;
}
.jm-mobile-bottom-bar nav a.active,
.jm-mobile-bottom-bar nav a:hover { color: var(--jm-accent); }
.jm-mobile-bottom-bar nav a svg { width: 22px; height: 22px; }
.jm-mobile-bottom-bar nav a .mobile-cart-badge {
  position: absolute;
  top: 0;
  right: 2px;
  background: var(--jm-accent);
  color: #fff;
  font-size: 9px;
  min-width: 15px;
  height: 15px;
  line-height: 15px;
  text-align: center;
  border-radius: 50%;
  display: none;
}

/* ---------- Filter Bar ---------- */
.jm-filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.jm-filter-bar .filter-group { flex: 1; min-width: 180px; }
.jm-filter-bar .filter-group label {
  display: block;
  margin-bottom: 4px;
  font-weight: var(--jm-fw-semibold);
  font-size: var(--jm-fs-xs);
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--jm-text-muted);
  font-family: var(--jm-font-heading);
}
.jm-filter-bar .filter-group input,
.jm-filter-bar .filter-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  font-size: 14px;
  transition: border-color .2s;
  background-color: #fff;
  height: 42px;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.jm-filter-bar .filter-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.jm-filter-bar .filter-group input:focus,
.jm-filter-bar .filter-group select:focus { outline: none; border-color: var(--jm-primary); }
.jm-filter-bar button[type="submit"] {
  padding: 10px 24px;
  background: var(--jm-btn);
  color: var(--jm-btn-text);
  border: none;
  border-radius: var(--jm-radius);
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 13px;
  transition: var(--jm-transition);
  white-space: nowrap;
}
.jm-filter-bar button[type="submit"]:hover { background: var(--jm-btn-dark); }

/* ---------- Pagination ---------- */
.jm-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.jm-paginator {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.jm-paginator li a,
.jm-paginator li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  font-size: 14px;
  font-family: var(--jm-font-body);
  text-decoration: none;
  color: var(--jm-text);
  background: #fff;
  transition: var(--jm-transition);
  cursor: pointer;
  line-height: 1;
}
.jm-paginator li a:hover {
  background: var(--jm-bg-light);
  border-color: var(--jm-primary);
  color: var(--jm-primary);
}
.jm-paginator li.active span {
  background: var(--jm-primary);
  border-color: var(--jm-primary);
  color: #fff;
  font-weight: 700;
  cursor: default;
}
.jm-paginator li.disabled span {
  color: var(--jm-text-light);
  background: var(--jm-bg-light);
  border-color: var(--jm-border);
  cursor: not-allowed;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .jm-mobile-header { display: block; }
  body { padding-top: 56px; } /* space for fixed mobile header */
  .jm-hero { margin-top: -56px; padding-top: 0; } /* hero goes under mobile header */
}
@media (max-width: 1200px) {
  .jm-products-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (max-width: 991px) {
  .jm-products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .jm-modal-inner { flex-direction: column; }
  .jm-modal-image {
    width: 100%;
    min-height: 250px;
    border-radius: var(--jm-radius-lg) var(--jm-radius-lg) 0 0;
  }
  .jm-mobile-bottom-bar { display: block; }
  body { padding-bottom: 70px; }

  .jm-minicart { width: 100%; right: -100%; }

  .jm-whatsapp-btn { bottom: 80px; right: 14px; width: 48px; height: 48px; }
  .jm-whatsapp-btn svg { width: 24px; height: 24px; }
}

@media (max-width: 600px) {
  .jm-products-grid { grid-template-columns: 1fr; }
  .jm-filter-bar { flex-direction: column; }
  .jm-filter-bar .filter-group { min-width: 100%; }
  .jm-cart-table { font-size: var(--jm-fs-sm); }
  .jm-cart-table th, .jm-cart-table td { padding: 8px 10px; }
}

/* ---------- Login prompt helpers ---------- */
.jm-login-prompt {
  background: linear-gradient(135deg, rgba(232,118,30,.12), rgba(26,42,74,.08));
  border: 1px dashed var(--jm-primary);
  border-radius: var(--jm-radius);
  padding: 12px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--jm-text);
}
.jm-login-prompt a {
  color: var(--jm-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- SweetAlert Cart Confirmation ---------- */
.swal2-popup.jm-cart-swal {
  border-radius: var(--jm-radius-lg) !important;
  font-family: var(--jm-font-body) !important;
}
.swal2-popup.jm-cart-swal .swal2-title {
  font-family: var(--jm-font-heading) !important;
  font-size: var(--jm-fs-lg) !important;
}

/* ---------- Qty Step control (packaging) ---------- */
.jm-qty-control input[data-step] { font-variant-numeric: tabular-nums; }

/* =================================================================
   JMANFRO UX/UI ENHANCEMENT — Sections, Components, Pages
   ================================================================= */

/* ---------- Global Section System ---------- */
.jm-section {
  padding: 80px 0;
  position: relative;
}
.jm-section-alt {
  background: var(--jm-bg-light);
}
.jm-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}
.jm-section-header-light { color: #fff; }
.jm-section-header-light .jm-section-title { color: #fff; }
.jm-section-header-light .jm-section-subtitle { color: rgba(255,255,255,.75); }
.jm-section-header-light .jm-section-label { color: var(--jm-accent); border-color: var(--jm-accent); }
.jm-section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--jm-primary);
  border: 1px solid var(--jm-primary);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  font-family: var(--jm-font-heading);
}
.jm-section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--jm-heading);
  line-height: 1.2;
  margin-bottom: 14px;
  font-family: var(--jm-font-heading);
}
.jm-section-title em {
  font-style: normal;
  color: var(--jm-primary);
}
.jm-section-subtitle {
  font-size: 15px;
  color: var(--jm-text-muted);
  line-height: 1.7;
  font-family: var(--jm-font-body);
}
.jm-section-footer-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Global Button System ---------- */
.jm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--jm-radius);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--jm-font-heading);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: all .3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.4;
}
.jm-btn-lg { padding: 14px 32px; font-size: 15px; }
.jm-btn-full { width: 100%; justify-content: center; }
.jm-btn-primary {
  background: var(--jm-primary);
  color: #fff;
  border-color: var(--jm-primary);
}
.jm-btn-primary:hover {
  background: var(--jm-primary-dark);
  border-color: var(--jm-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,118,30,.3);
}
.jm-btn-secondary {
  background: var(--jm-secondary);
  color: #fff;
  border-color: var(--jm-secondary);
}
.jm-btn-secondary:hover {
  background: #0f1e3a;
  border-color: #0f1e3a;
  color: #fff;
  transform: translateY(-2px);
}
.jm-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.jm-btn-outline:hover {
  background: #fff;
  color: var(--jm-heading);
  border-color: #fff;
}
.jm-btn-white {
  background: #fff;
  color: var(--jm-primary);
  border-color: #fff;
}
.jm-btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

/* ---------- Hero Enhancements ---------- */
.jm-hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--jm-accent);
  padding: 6px 16px;
  border: 1px solid rgba(61,214,138,.4);
  border-radius: 20px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
  background: rgba(61,214,138,.08);
}
.jm-hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* ===== HERO CAROUSEL (pure CSS + vanilla JS, replaces Swiper) ===== */
.jm-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  max-height: 900px;
  overflow: hidden;
}
.jm-hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.jm-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.jm-hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.jm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,42,74,.65) 0%, rgba(0,0,0,.35) 100%);
  z-index: 1;
}
.jm-hero-slide .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.jm-hero-content {
  max-width: 600px;
  padding: 40px 0;
}
.jm-hero-content h1 {
  font-family: "Rubik", sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  text-transform: capitalize;
}
.jm-hero-content h1 em {
  font-style: normal;
  color: var(--jm-accent);
}
.jm-hero-content p {
  color: #ccc;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
}
/* Dots */
.jm-hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.jm-hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}
.jm-hero-dot.active {
  background: var(--jm-accent);
  border-color: var(--jm-accent);
}
/* Slide-in animation for content */
.jm-hero-slide .jm-hero-content {
  transform: translateY(30px);
  opacity: 0;
  transition: transform .8s ease .3s, opacity .8s ease .3s;
}
.jm-hero-slide.active .jm-hero-content {
  transform: translateY(0);
  opacity: 1;
}
/* Mobile */
@media (max-width: 768px) {
  .jm-hero { height: 85vh; min-height: 450px; }
  .jm-hero-content h1 { font-size: 32px; }
  .jm-hero-content p { font-size: 15px; }
  .jm-hero-content { max-width: 100%; padding: 20px 0; }
  .jm-hero-dots { bottom: 20px; }
}
@media (max-width: 480px) {
  .jm-hero { height: 75vh; min-height: 400px; }
  .jm-hero-content h1 { font-size: 26px; }
}

/* ---------- Trust Strip ---------- */
.jm-trust-strip {
  background: var(--jm-secondary);
  padding: 32px 0;
  position: relative;
  z-index: 2;
}
.jm-trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.jm-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 12px;
}
.jm-trust-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jm-accent);
  margin-top: 5px;
}
.jm-trust-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  font-family: var(--jm-font-heading);
  margin-bottom: 2px;
}
.jm-trust-text span {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  font-family: var(--jm-font-body);
}

/* ---------- Brands Grid (Home) ---------- */
.jm-section-brands { padding-top: 90px; padding-bottom: 70px; }
.jm-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.jm-brand-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border-radius: var(--jm-radius-lg);
  border: 1px solid var(--jm-border);
  text-decoration: none;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.jm-brand-card:hover {
  border-color: var(--jm-primary);
  box-shadow: 0 8px 24px rgba(232,118,30,.1);
  transform: translateY(-3px);
}
.jm-brand-logo {
  width: 56px;
  height: 56px;
  border-radius: var(--jm-radius);
  background: var(--jm-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.jm-brand-logo img {
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}
.jm-brand-initial {
  font-size: 18px;
  font-weight: 800;
  color: var(--jm-primary);
  font-family: var(--jm-font-heading);
}
.jm-brand-info { flex: 1; min-width: 0; }
.jm-brand-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--jm-heading);
  font-family: var(--jm-font-heading);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.jm-brand-count {
  font-size: 12px;
  color: var(--jm-text-muted);
  font-family: var(--jm-font-body);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.jm-brand-arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--jm-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jm-text-muted);
  transition: all .3s ease;
}
.jm-brand-card:hover .jm-brand-arrow {
  background: var(--jm-primary);
  color: #fff;
}

/* ---------- Steps Section (How to become client) ---------- */
.jm-section-steps {
  background: var(--jm-secondary);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.jm-steps-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0930 0%, #1a2a4a 50%, #0f1347 100%);
  opacity: .95;
}
.jm-section-steps .container { position: relative; z-index: 1; }
.jm-steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.jm-step-card {
  flex: 0 0 200px;
  text-align: center;
  padding: 30px 16px;
  position: relative;
}
.jm-step-number {
  font-size: 40px;
  font-weight: 900;
  color: rgba(255,255,255,.06);
  font-family: var(--jm-font-heading);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
}
.jm-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(232,118,30,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--jm-primary);
  transition: all .3s ease;
}
.jm-step-card:hover .jm-step-icon {
  background: var(--jm-primary);
  color: #fff;
  transform: scale(1.1);
}
.jm-step-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  font-family: var(--jm-font-heading);
}
.jm-step-card p {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  font-family: var(--jm-font-body);
}
.jm-step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.15);
  padding-top: 50px;
}
.jm-steps-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Categories Grid (Home) ---------- */
.jm-section-categories { background: var(--jm-bg-light); }
.jm-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.jm-category-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--jm-radius-lg);
  border: 1px solid var(--jm-border);
  text-decoration: none;
  transition: all .3s ease;
}
.jm-category-card:hover {
  border-color: var(--jm-primary);
  box-shadow: var(--jm-shadow);
  transform: translateY(-2px);
}
.jm-category-card-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--jm-radius);
  background: var(--jm-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  color: var(--jm-text-light);
}
.jm-category-card-thumb img {
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
}
.jm-category-card-body { flex: 1; min-width: 0; }
.jm-category-card-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--jm-heading);
  font-family: var(--jm-font-heading);
  margin-bottom: 2px;
}
.jm-category-count {
  font-size: 12px;
  color: var(--jm-text-muted);
  font-family: var(--jm-font-body);
}
.jm-category-card-arrow {
  flex-shrink: 0;
  color: var(--jm-text-light);
  transition: all .3s ease;
}
.jm-category-card:hover .jm-category-card-arrow {
  color: var(--jm-primary);
  transform: translateX(4px);
}

/* ---------- Featured Products Grid (Home) ---------- */
.jm-section-featured { padding-bottom: 40px; }
.jm-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.jm-featured-card {
  background: #fff;
  border-radius: var(--jm-radius-lg);
  border: 1px solid var(--jm-border);
  overflow: hidden;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.jm-featured-card:hover {
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-4px);
}
.jm-featured-card-img {
  height: 200px;
  background: var(--jm-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.jm-featured-card-img img {
  max-width: 90%;
  max-height: 180px;
  object-fit: contain;
  transition: transform .3s ease;
}
.jm-featured-card:hover .jm-featured-card-img img {
  transform: scale(1.07);
}
.jm-featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--jm-secondary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: var(--jm-font-heading);
}
.jm-featured-card-body {
  padding: 18px 20px 12px;
  flex: 1;
}
.jm-featured-card-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--jm-heading);
  font-family: var(--jm-font-heading);
  margin-bottom: 4px;
  line-height: 1.3;
}
.jm-featured-code {
  font-size: 12px;
  color: var(--jm-text-muted);
  font-family: var(--jm-font-body);
}
.jm-featured-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border-top: 1px solid var(--jm-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--jm-primary);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: var(--jm-font-heading);
  transition: all .2s ease;
}
.jm-featured-link:hover {
  color: var(--jm-primary-dark);
  background: rgba(232,118,30,.03);
}
.jm-featured-link svg { transition: transform .2s ease; }
.jm-featured-link:hover svg { transform: translateX(4px); }

/* ---------- CTA Banner ---------- */
.jm-cta-banner {
  background: linear-gradient(135deg, var(--jm-primary) 0%, #c55f10 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.jm-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.jm-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 1;
}
.jm-cta-content h3 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  font-family: var(--jm-font-heading);
}
.jm-cta-content p {
  font-size: 15px;
  color: rgba(255,255,255,.8);
  font-family: var(--jm-font-body);
}

/* ---------- Contact Section (Home) ---------- */
.jm-contact-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}
.jm-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.jm-contact-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--jm-bg-light);
  border-radius: var(--jm-radius-lg);
  border: 1px solid var(--jm-border);
  transition: all .3s ease;
}
.jm-contact-info-card:hover {
  border-color: var(--jm-primary);
  box-shadow: var(--jm-shadow);
}
.jm-contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--jm-primary);
}
.jm-contact-info-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--jm-heading);
  font-family: var(--jm-font-heading);
  margin-bottom: 2px;
}
.jm-contact-info-card span {
  font-size: 13px;
  color: var(--jm-text-muted);
  font-family: var(--jm-font-body);
}
.jm-contact-whatsapp {
  background: rgba(37,211,102,.06);
  border-color: rgba(37,211,102,.2);
  cursor: pointer;
}
.jm-contact-whatsapp .jm-contact-info-icon { color: var(--jm-whatsapp); }
.jm-contact-whatsapp:hover { border-color: var(--jm-whatsapp); }

/* ---------- Contact Form ---------- */
.jm-contact-form-wrap {
  background: #fff;
  border-radius: var(--jm-radius-lg);
  border: 1px solid var(--jm-border);
  padding: 32px;
}
.jm-contact-form { display: flex; flex-direction: column; gap: 18px; }
.jm-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.jm-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--jm-text-muted);
  font-family: var(--jm-font-heading);
  margin-bottom: 6px;
}
.jm-form-group input,
.jm-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  font-size: 14px;
  font-family: var(--jm-font-body);
  transition: border-color .2s ease;
  background: var(--jm-bg-light);
  box-sizing: border-box;
}
.jm-form-group input:focus,
.jm-form-group textarea:focus {
  outline: none;
  border-color: var(--jm-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232,118,30,.08);
}
.jm-form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- About Page — Intro ---------- */
.jm-about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.jm-about-intro-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--jm-heading);
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: var(--jm-font-heading);
}
.jm-about-intro-title em {
  font-style: normal;
  color: var(--jm-primary);
}
.jm-about-intro-content p {
  font-size: 15px;
  color: var(--jm-text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
  font-family: var(--jm-font-body);
}
.jm-about-visual-card {
  position: relative;
}
.jm-about-visual-accent {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border-radius: var(--jm-radius-lg);
  background: linear-gradient(135deg, var(--jm-primary), rgba(232,118,30,.3));
  z-index: 0;
}
.jm-about-visual-img {
  position: relative;
  z-index: 1;
  border-radius: var(--jm-radius-lg);
  overflow: hidden;
  box-shadow: var(--jm-shadow-lg);
}
.jm-about-visual-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.jm-about-visual-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  z-index: 2;
  background: var(--jm-secondary);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--jm-radius-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--jm-shadow-lg);
}
.jm-about-visual-badge-number {
  font-size: 36px;
  font-weight: 900;
  font-family: var(--jm-font-heading);
  color: var(--jm-accent);
  line-height: 1;
}
.jm-about-visual-badge-text {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--jm-font-heading);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .5px;
  opacity: .8;
}

/* ---------- About — Values Cards ---------- */
.jm-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.jm-value-card {
  text-align: center;
  padding: 40px 30px;
  background: #fff;
  border-radius: var(--jm-radius-lg);
  border: 1px solid var(--jm-border);
  transition: all .3s ease;
}
.jm-value-card:hover {
  border-color: var(--jm-primary);
  box-shadow: var(--jm-shadow-lg);
  transform: translateY(-4px);
}
.jm-value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(232,118,30,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--jm-primary);
  transition: all .3s ease;
}
.jm-value-card:hover .jm-value-icon {
  background: var(--jm-primary);
  color: #fff;
}
.jm-value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--jm-heading);
  font-family: var(--jm-font-heading);
  margin-bottom: 12px;
}
.jm-value-card p {
  font-size: 14px;
  color: var(--jm-text-muted);
  line-height: 1.7;
  font-family: var(--jm-font-body);
}

/* ---------- About — Counters ---------- */
.jm-section-counters {
  background: var(--jm-secondary);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.jm-counters-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0930, #1a2a4a);
  opacity: .95;
}
.jm-section-counters .container { position: relative; z-index: 1; }
.jm-counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.jm-counter-item {
  padding: 20px;
}
.jm-counter-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--jm-accent);
  font-family: var(--jm-font-heading);
  line-height: 1;
  margin-bottom: 8px;
}
.jm-counter-number span { color: var(--jm-accent); }
.jm-counter-label {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  font-family: var(--jm-font-heading);
  margin-bottom: 4px;
}
.jm-counter-sublabel {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  font-family: var(--jm-font-body);
}

/* ---------- About — Differentials ---------- */
.jm-differentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.jm-differential-card {
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--jm-radius-lg);
  border: 1px solid var(--jm-border);
  transition: all .3s ease;
}
.jm-differential-card:hover {
  border-color: var(--jm-primary);
  box-shadow: var(--jm-shadow);
  transform: translateY(-3px);
}
.jm-differential-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--jm-radius);
  background: rgba(232,118,30,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--jm-primary);
  transition: all .3s ease;
}
.jm-differential-card:hover .jm-differential-icon {
  background: var(--jm-primary);
  color: #fff;
}
.jm-differential-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--jm-heading);
  font-family: var(--jm-font-heading);
  margin-bottom: 8px;
}
.jm-differential-card p {
  font-size: 13px;
  color: var(--jm-text-muted);
  line-height: 1.7;
  font-family: var(--jm-font-body);
}

/* ---------- About — Brand Showcase ---------- */
.jm-brands-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.jm-brand-showcase-item {
  width: 140px;
  height: 120px;
  background: #fff;
  border-radius: var(--jm-radius-lg);
  border: 1px solid var(--jm-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  transition: all .3s ease;
}
.jm-brand-showcase-item:hover {
  border-color: var(--jm-primary);
  box-shadow: var(--jm-shadow);
  transform: translateY(-3px);
}
.jm-brand-showcase-item img {
  max-width: 80px;
  max-height: 50px;
  object-fit: contain;
}
.jm-brand-initial-lg {
  font-size: 24px;
  font-weight: 900;
  color: var(--jm-primary);
  font-family: var(--jm-font-heading);
}
.jm-brand-showcase-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--jm-text-muted);
  font-family: var(--jm-font-heading);
  text-transform: uppercase;
  letter-spacing: .5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ---------- Certifications (About) ---------- */
.jm-certifications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.jm-cert-card {
  background: #fff;
  border-radius: var(--jm-radius-lg);
  border: 1px solid var(--jm-border);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s ease;
}
.jm-cert-card:hover {
  border-color: var(--jm-primary);
  box-shadow: var(--jm-shadow);
  transform: translateY(-4px);
}
.jm-cert-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232,118,30,.08), rgba(232,118,30,.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jm-primary);
  margin: 0 auto 18px;
}
.jm-cert-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--jm-heading);
  font-family: var(--jm-font-heading);
  margin-bottom: 10px;
}
.jm-cert-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--jm-text-muted);
}

/* ---------- Catalog — Enhancements ---------- */
.jm-catalog-section { padding-top: 60px; padding-bottom: 80px; }
.jm-filter-bar .filter-group label {
  display: flex;
  align-items: center;
  gap: 5px;
}
.jm-filter-bar .filter-group label svg {
  color: var(--jm-text-muted);
  flex-shrink: 0;
}
.jm-filter-actions {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.jm-btn-filter {
  padding: 10px 24px;
  background: var(--jm-btn);
  color: var(--jm-btn-text);
  border: none;
  border-radius: var(--jm-radius);
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 13px;
  transition: var(--jm-transition);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
}
.jm-btn-filter:hover { background: var(--jm-btn-dark); }
.jm-btn-clear {
  width: 42px;
  height: 42px;
  border-radius: var(--jm-radius);
  border: 1px solid var(--jm-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jm-text-muted);
  transition: all .2s ease;
  cursor: pointer;
  text-decoration: none;
}
.jm-btn-clear:hover { border-color: var(--jm-danger); color: var(--jm-danger); background: var(--jm-danger-light); }

/* ---------- Catalog — Status Bar ---------- */
.jm-catalog-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.jm-result-count span {
  font-size: 14px;
  color: var(--jm-text-muted);
  font-family: var(--jm-font-body);
}
.jm-result-count strong {
  color: var(--jm-heading);
  font-weight: 700;
}
.jm-active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.jm-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(232,118,30,.08);
  border: 1px solid rgba(232,118,30,.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--jm-primary-dark);
  text-decoration: none;
  font-family: var(--jm-font-heading);
  transition: all .2s ease;
}
.jm-filter-chip:hover {
  background: var(--jm-danger-light);
  border-color: var(--jm-danger);
  color: var(--jm-danger);
}

/* ---------- Product Card — Badge ---------- */
.jm-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--jm-secondary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .3px;
  font-family: var(--jm-font-heading);
  z-index: 1;
}
.jm-product-card-img .no-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--jm-text-light);
}
.jm-product-card-img .no-img small {
  font-size: 11px;
}

/* ---------- Catalog — Empty State ---------- */
.jm-empty-state {
  text-align: center;
  padding: 80px 20px;
}
.jm-empty-icon {
  margin-bottom: 20px;
  color: var(--jm-text-light);
}
.jm-empty-state h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--jm-heading);
  font-family: var(--jm-font-heading);
  margin-bottom: 8px;
}
.jm-empty-state p {
  font-size: 15px;
  color: var(--jm-text-muted);
  font-family: var(--jm-font-body);
  margin-bottom: 20px;
}

/* ---------- Footer Enhancement ---------- */
.glax_tm_footer_wrap .jm-footer-newsletter {
  margin-top: 20px;
}
.jm-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.jm-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: all .3s ease;
  font-size: 14px;
}
.jm-footer-social a:hover {
  background: var(--jm-primary);
  color: #fff;
}

/* ---------- Topbar Enhancement ---------- */
.glax_tm_topbar_wrap {
  background: #060624 !important;
}

/* =================================================================
   RESPONSIVE OVERRIDES for new components
   ================================================================= */
@media (max-width: 1200px) {
  .jm-featured-grid { grid-template-columns: repeat(2, 1fr); }
  .jm-differentials-grid { grid-template-columns: repeat(2, 1fr); }
  .jm-certifications-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .jm-section { padding: 60px 0; }
  .jm-section-title { font-size: 26px; }

  .jm-trust-items { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .jm-about-intro { grid-template-columns: 1fr; gap: 40px; }
  .jm-about-intro-content { order: 2; }
  .jm-about-visual-card { order: 1; max-width: 400px; margin: 0 auto; }

  .jm-values-grid { grid-template-columns: 1fr; gap: 16px; }

  .jm-counters-grid { grid-template-columns: repeat(2, 1fr); }

  .jm-contact-layout { grid-template-columns: 1fr; }
  .jm-contact-info { flex-direction: row; flex-wrap: wrap; }
  .jm-contact-info-card { flex: 1; min-width: 200px; }

  .jm-cta-inner { flex-direction: column; text-align: center; }

  .jm-steps-grid { gap: 0; }
  .jm-step-connector { display: none; }
  .jm-step-card { flex: 0 0 50%; }

  .jm-featured-grid { grid-template-columns: repeat(2, 1fr); }
  .jm-differentials-grid { grid-template-columns: 1fr; }
  .jm-certifications-grid { grid-template-columns: repeat(2, 1fr); }

  .jm-hero-cta { justify-content: center; }
}
@media (max-width: 600px) {
  .jm-section { padding: 50px 0; }
  .jm-section-title { font-size: 22px; }
  .jm-section-header { margin-bottom: 32px; }

  .jm-trust-items { grid-template-columns: 1fr; gap: 12px; }

  .jm-brands-grid { grid-template-columns: 1fr; }
  .jm-categories-grid { grid-template-columns: 1fr; }

  .jm-step-card { flex: 0 0 100%; }

  .jm-featured-grid { grid-template-columns: 1fr; }

  .jm-counters-grid { grid-template-columns: 1fr; gap: 16px; }

  .jm-contact-info { flex-direction: column; }

  .jm-form-row-2 { grid-template-columns: 1fr; }

  .jm-about-intro-title { font-size: 26px; }

  .jm-cta-content h3 { font-size: 20px; }

  .jm-certifications-grid { grid-template-columns: 1fr; }
}

/* ---------- Utility: Vertical Padding ---------- */
.jm-py-80 { padding-top: 80px; padding-bottom: 80px; }

/* ---------- Category Cards: Thumbnail + Rep Name ---------- */
.jm-category-thumb {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jm-bg-light);
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: var(--jm-radius);
}
.jm-category-thumb img {
  max-width: 90%;
  max-height: 100px;
  object-fit: contain;
}
.jm-category-rep {
  font-size: var(--jm-fs-xs);
  color: var(--jm-primary);
  font-weight: var(--jm-fw-medium);
  margin-top: 2px;
}

/* ---------- Anchor Smooth Scroll ---------- */
.jm-anchor-link { scroll-behavior: smooth; }

/* ---------- Client Area: Tables & Status Badges ---------- */
.jm-profile-table { width: 100%; border-collapse: collapse; }
.jm-profile-table tr { border-bottom: 1px solid var(--jm-border-light); }
.jm-profile-table td { padding: 12px 0; }
.jm-profile-table td:first-child { font-weight: 600; width: 180px; }
.jm-client-info-card {
  padding: 24px;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  background: linear-gradient(180deg, rgba(232,118,30,.08) 0%, rgba(255,255,255,1) 100%);
  box-shadow: var(--jm-shadow);
}
.jm-client-info-title {
  margin: 0 0 14px;
  font-size: var(--jm-fs-xl);
  font-family: var(--jm-font-heading);
  color: var(--jm-heading);
}
.jm-client-support-list {
  margin: 0;
  padding-left: 18px;
  color: var(--jm-text);
}
.jm-client-support-list li {
  margin-bottom: 10px;
  line-height: var(--jm-lh-relaxed);
}
.jm-client-support-note {
  margin: 16px 0 0;
  color: var(--jm-text-muted);
  line-height: var(--jm-lh-relaxed);
}
.jm-status-badge {
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
}
.jm-status-badge.active { background: var(--jm-status-approved-bg); color: var(--jm-status-approved-fg); }
.jm-status-badge.inactive { background: var(--jm-status-cancelled-bg); color: var(--jm-status-cancelled-fg); }

/* ---------- Client Area: Orders Table ---------- */
.jm-orders-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.jm-orders-table thead tr { border-bottom: 2px solid var(--jm-primary); text-align: left; }
.jm-orders-table th {
  padding: 12px 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.jm-orders-table td { padding: 12px 10px; }
.jm-orders-table tbody tr { border-bottom: 1px solid var(--jm-border-light); }

.jm-order-status { padding: 4px 10px; border-radius: 3px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.jm-order-status.orcamento { background: var(--jm-status-draft-bg); color: var(--jm-status-draft-fg); }
.jm-order-status.aguardando { background: var(--jm-status-pending-bg); color: var(--jm-status-pending-fg); }
.jm-order-status.aprovado { background: var(--jm-status-approved-bg); color: var(--jm-status-approved-fg); }
.jm-order-status.concluido { background: var(--jm-status-done-bg); color: var(--jm-status-done-fg); }
.jm-order-status.cancelado { background: var(--jm-status-cancelled-bg); color: var(--jm-status-cancelled-fg); }

/* ---------- Client Area: Order Detail ---------- */
.jm-order-summary {
  margin-bottom: 30px;
  padding: 20px;
  background: var(--jm-bg-soft);
  border: 1px solid var(--jm-border-light);
  border-radius: var(--jm-radius);
}
.jm-order-summary-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; }
.jm-order-summary-grid .summary-label { font-size: var(--jm-fs-sm); color: var(--jm-text-light); }
.jm-order-summary-grid .summary-value { font-weight: 600; }

/* ---------- Client Area: Empty State ---------- */
.jm-empty-state { padding: 60px 0; text-align: center; }
.jm-empty-state p { font-size: 16px; color: var(--jm-text-muted); }
.jm-empty-state a { color: var(--jm-accent); font-weight: 600; }

/* ---------- Checkout Form ---------- */
.jm-checkout-form {
  margin-top: 40px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius-lg);
  box-shadow: var(--jm-shadow);
}
.jm-checkout-form h3 { margin-bottom: 20px; font-size: 20px; }
.jm-checkout-form .form-group { margin-bottom: 15px; }
.jm-checkout-form .form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 13px; }
.jm-checkout-form .form-group select,
.jm-checkout-form .form-group textarea {
  width: 100%;
  max-width: 400px;
  padding: 10px 14px;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  font-size: 14px;
}
.jm-checkout-form textarea { resize: vertical; }

/* ---------- Cart Page: Action Buttons ---------- */
.jm-cart-actions { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.jm-cart-actions .actions-left { display: flex; gap: 10px; }
.jm-btn-secondary {
  padding: 10px 20px;
  background: var(--jm-bg-light);
  color: var(--jm-text);
  border-radius: var(--jm-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--jm-border);
  cursor: pointer;
  transition: var(--jm-transition);
}
.jm-btn-secondary:hover { background: var(--jm-border-light); }
.jm-btn-danger {
  padding: 10px 20px;
  background: var(--jm-danger-light);
  color: var(--jm-danger);
  border: 1px solid var(--jm-danger-lighter);
  border-radius: var(--jm-radius);
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 12px;
  transition: var(--jm-transition);
}
.jm-btn-danger:hover { background: var(--jm-danger-lighter); }
.jm-btn-primary {
  padding: 12px 36px;
  background: var(--jm-btn);
  border: none;
  border-radius: var(--jm-radius);
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-size: 14px;
  transition: var(--jm-transition);
  text-decoration: none;
  color: var(--jm-btn-text);
  display: inline-block;
}
.jm-btn-primary:hover { background: var(--jm-btn-dark); }

/* ---------- Contact Page: Submit Button ---------- */
.glax_tm_contact_wrap .contact_form .row button[type="submit"] {
  cursor: pointer;
  background: var(--jm-btn);
  color: var(--jm-btn-text);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--jm-transition);
}
.glax_tm_contact_wrap .contact_form .row button[type="submit"]:hover {
  background: var(--jm-btn-dark);
}

/* ---------- Form Validation & Alert Messages ---------- */
.jm-field-error {
  color: var(--jm-error);
  font-size: var(--jm-fs-xs);
  margin-top: 4px;
}
.jm-alert {
  padding: 12px 16px;
  border-radius: var(--jm-radius);
  margin-bottom: 20px;
  font-size: var(--jm-fs-sm);
  font-weight: 500;
}
.jm-alert-error {
  background: var(--jm-danger-light);
  color: var(--jm-error);
  border: 1px solid var(--jm-danger-lighter);
}
.jm-alert-success {
  background: var(--jm-status-approved-bg);
  color: var(--jm-success-msg);
  border: 1px solid var(--jm-status-approved-bg);
}

/* ---------- Product Detail Page ---------- */
.jm-product-detail { display: flex; gap: 40px; flex-wrap: wrap; }
.jm-product-detail-image {
  flex: 1 1 400px;
  max-width: 500px;
}
.jm-product-detail-image img {
  width: 100%;
  height: auto;
  border-radius: var(--jm-radius);
  object-fit: contain;
  background: var(--jm-bg-soft);
}
.jm-product-detail-image .no-img {
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--jm-bg-placeholder);
  border-radius: var(--jm-radius);
  color: var(--jm-text-light);
  font-size: var(--jm-fs-base);
}
.jm-product-detail-info {
  flex: 1 1 300px;
}
.jm-product-detail-info h2 {
  font-family: var(--jm-font-heading);
  font-size: 22px;
  font-weight: var(--jm-fw-bold);
  margin-bottom: 8px;
  color: var(--jm-text);
}
.jm-product-detail-code {
  font-size: var(--jm-fs-sm);
  color: var(--jm-text-light);
  margin-bottom: 16px;
}
.jm-product-detail-desc {
  font-size: var(--jm-fs-base);
  color: var(--jm-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.jm-product-detail-price {
  font-size: 20px;
  font-weight: var(--jm-fw-bold);
  color: var(--jm-primary);
  margin-bottom: 20px;
}
.jm-product-detail-cart-box {
  background: var(--jm-bg-soft);
  padding: 20px;
  border-radius: var(--jm-radius);
  border: 1px solid var(--jm-border-light);
  margin-bottom: 20px;
}
.jm-product-detail-cart-box label {
  display: block;
  font-size: var(--jm-fs-sm);
  font-weight: var(--jm-fw-semi);
  margin-bottom: 6px;
  color: var(--jm-text-secondary);
}
.jm-product-detail-cart-box select,
.jm-product-detail-cart-box input[type="number"] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--jm-border-input);
  border-radius: var(--jm-radius);
  font-size: var(--jm-fs-base);
  margin-bottom: 12px;
}
.jm-product-detail-cart-box .btn-add {
  width: 100%;
  padding: 12px;
  background: var(--jm-btn);
  color: var(--jm-btn-text);
  border: none;
  border-radius: var(--jm-radius);
  font-weight: var(--jm-fw-semi);
  font-size: var(--jm-fs-base);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: var(--jm-transition);
}
.jm-product-detail-cart-box .btn-add:hover { background: var(--jm-btn-dark); }
.jm-product-detail-section-title {
  font-family: var(--jm-font-heading);
  font-size: 18px;
  font-weight: var(--jm-fw-semi);
  margin: 30px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--jm-primary);
  display: inline-block;
}
.jm-video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--jm-radius);
}
.jm-video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.jm-product-specs { list-style: none; padding: 0; margin: 0; }
.jm-product-specs li {
  padding: 8px 0;
  border-bottom: 1px solid var(--jm-border-light);
  font-size: var(--jm-fs-sm);
  color: var(--jm-text-secondary);
}
.jm-product-specs li strong { color: var(--jm-text); }
.jm-login-prompt {
  text-align: center;
  padding: 20px;
  background: var(--jm-bg-soft);
  border-radius: var(--jm-radius);
  border: 1px solid var(--jm-border-light);
}
.jm-login-prompt p {
  font-size: var(--jm-fs-base);
  color: var(--jm-text-secondary);
  margin-bottom: 12px;
}
.jm-login-prompt a {
  color: var(--jm-primary);
  font-weight: var(--jm-fw-semi);
}

/* ---------- Representative Logo ---------- */
.jm-rep-logo {
  width: 250px;
  height: 190px;
  object-fit: contain;
  background: var(--jm-bg-soft);
}

/* ---------- Cart Empty State SVG ---------- */
.jm-empty-state svg { margin-bottom: 16px; }

/* ---------- Order Detail: Footer & Notes ---------- */
.jm-orders-table tfoot tr { border-top: 2px solid var(--jm-text); }
.jm-orders-table tfoot td { font-weight: var(--jm-fw-bold); }
.jm-order-notes { margin-top: 30px; }
.jm-order-notes h4 { margin-bottom: 10px; }
.jm-order-notes p { color: var(--jm-text-secondary); }

.jm-footer-timeline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
  color: rgba(255,255,255,.8);
  font-size: var(--jm-fs-sm);
}

.jm-company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr);
  gap: 30px;
  align-items: start;
}

.jm-company-timeline {
  display: grid;
  gap: 18px;
}

.jm-company-timeline-item {
  position: relative;
  padding: 22px 24px;
  border-radius: var(--jm-radius-lg);
  background: var(--jm-white);
  border: 1px solid rgba(26,42,74,.08);
  box-shadow: var(--jm-shadow);
}

.jm-company-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--jm-secondary);
  color: var(--jm-white);
  font-family: var(--jm-font-heading);
  font-weight: var(--jm-fw-bold);
}

.jm-company-timeline-item p {
  margin: 0;
  color: var(--jm-text);
  line-height: var(--jm-lh-relaxed);
}

.jm-highlight-panel {
  padding: 28px;
  border-radius: var(--jm-radius-lg);
  background: linear-gradient(135deg, var(--jm-secondary) 0%, #2d4776 100%);
  color: var(--jm-white);
  box-shadow: var(--jm-shadow-lg);
}

.jm-highlight-panel h3 {
  margin: 0 0 16px;
  color: var(--jm-white);
}

.jm-highlight-list {
  margin: 0;
  padding-left: 18px;
}

.jm-highlight-list li {
  margin-bottom: 12px;
  line-height: var(--jm-lh-relaxed);
}

.jm-contact-note {
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: var(--jm-radius);
  background: rgba(232,118,30,.08);
  color: var(--jm-text);
}

.jm-contact-note strong,
.jm-contact-note span {
  display: block;
}

.jm-contact-note span {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .jm-company-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   OVERRIDES — Glax template accent (#45a2df) → Primary color
   ========================================================== */

/* Contact form submit link */
.glax_tm_contact_wrap .inner_wrap .row a {
  background-color: var(--jm-btn);
  color: var(--jm-btn-text);
  font-family: var(--jm-font-heading);
  font-weight: var(--jm-fw-semibold);
  border-radius: var(--jm-radius);
}
.glax_tm_contact_wrap .inner_wrap .row a:hover {
  background-color: var(--jm-btn-dark);
}

/* Introduce section: title underline bar */
.glax_tm_introduce_wrap .inner_wrap .main_info_wrap .title:before {
  background-color: var(--jm-primary);
}

/* Twice-box (Como se tornar cliente, etc): title underline bar */
.glax_tm_twice_box_wrap .inner_box .leftbox .title_holder h3:before {
  background-color: var(--jm-primary);
}

/* Service/category list: icon color + hover */
.glax_tm_home_service_list ul li .inner_list .icon_wrap .svg {
  color: var(--jm-primary);
}
.glax_tm_home_service_list ul li .inner_list:hover {
  border-color: var(--jm-primary);
}

/* Portfolio/projects blue strip under cards */
.glax_tm_home_project_wrapper_all .rightbox ul li .inner:before {
  background-color: var(--jm-primary);
}

/* Portfolio plus icon */
.glax_tm_home_project_wrapper_all .rightbox ul li .inner .image_wrap .plus:before,
.glax_tm_home_project_wrapper_all .rightbox ul li .inner .image_wrap .plus:after {
  background-color: var(--jm-primary);
}

/* Portfolio hover view-more link */
.glax_tm_home_project_wrapper_all .rightbox ul li .inner:hover .glax_tm_view_more_wrap a,
.glax_tm_home_project_wrapper_all .rightbox ul li .inner:hover .glax_tm_view_more_wrap a .svg {
  color: var(--jm-primary);
}

/* Breadcrumbs hover */
.builify_tm_breadcrumbs ul li a:hover {
  color: var(--jm-primary);
}

/* Short contact CTA button */
.glax_tm_short_contact .glax_tm_button_wrap a {
  background-color: var(--jm-btn);
  color: var(--jm-btn-text);
}
.glax_tm_short_contact .glax_tm_button_wrap a:hover {
  background-color: var(--jm-btn-dark);
}

/* Service list page: link hover */
.glax_tm_service_list_wrap ul li .main_infos h3 a:hover {
  color: var(--jm-primary);
}

/* Footer / social links hover */
.glax_tm_share_wrap ul li a:hover {
  color: var(--jm-primary);
}

/* Representative team grid: override template defaults */
.glax_tm_about_team_wrap ul li .image_wrap .image {
  background-image: none !important;
  background-size: contain;
  background-color: var(--jm-bg-light);
}
.glax_tm_about_team_wrap ul li .image_wrap img {
  min-width: auto;
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: var(--jm-bg-light);
}
.glax_tm_about_team_wrap ul li .main_definitions h3 a {
  color: var(--jm-heading);
  text-decoration: none;
}
.glax_tm_about_team_wrap ul li .main_definitions h3 a:hover {
  color: var(--jm-primary-dark);
}

/* ==========================================================
   FIX — Produtos em Destaque: sizing & layout
   ========================================================== */

/* Reduce excessive bottom margin */
.glax_tm_home_project_wrapper_all {
  margin-bottom: 60px;
}

/* Constrain product card image height — prevent oversized blurry images */
.glax_tm_home_project_wrapper_all .rightbox ul li .inner .image_wrap {
  overflow: hidden;
  max-height: 260px;
}
/* Hide the 750x500 placeholder — use a fixed-height container instead */
.glax_tm_home_project_wrapper_all .rightbox ul li .inner .image_wrap > img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  visibility: hidden; /* keeps layout but hides oversized placeholder */
}
/* Product background image — contain so it doesn't stretch/blur */
.glax_tm_home_project_wrapper_all .rightbox ul li .inner .image_wrap .image {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f5f5f5;
}

/* Reduce gap between product cards */
.glax_tm_home_project_wrapper_all .rightbox ul li {
  margin-bottom: 25px;
}

/* Ensure overlay color doesn't break layout */
.glax_tm_home_project_wrapper_all .rightbox ul li .inner .image_wrap .overlay_color {
  pointer-events: none;
}

/* Title holder readability */
.glax_tm_home_project_wrapper_all .rightbox ul li .inner .title_holder h3 {
  font-family: var(--jm-font-heading);
  font-size: var(--jm-fs-xl);
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

/* ---------- Client Registration Form ---------- */
/* ---------- Login Card ---------- */
.jm-login-card {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--jm-radius-lg);
  border: 1px solid var(--jm-border);
  padding: 48px 40px 36px;
  box-shadow: var(--jm-shadow);
}
.jm-login-card-header {
  text-align: center;
  margin-bottom: 32px;
}
.jm-login-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(232,118,30,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--jm-primary);
}
.jm-login-card-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--jm-heading);
  font-family: var(--jm-font-heading);
  margin-bottom: 10px;
}
.jm-login-card-header p {
  font-size: 14px;
  color: var(--jm-text-muted);
  line-height: 1.6;
}
.jm-login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.jm-login-form .jm-form-group { margin-bottom: 0; }
.jm-input-icon {
  position: relative;
}
.jm-input-icon svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--jm-text-light);
  pointer-events: none;
  z-index: 1;
}
.jm-login-form .jm-input-icon input,
.jm-input-icon input {
  width: 100%;
  padding: 14px 16px 14px 44px !important;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  font-size: 14px;
  font-family: var(--jm-font-body);
  transition: border-color .2s ease;
  background: var(--jm-bg-light);
  box-sizing: border-box;
}
.jm-login-form .jm-input-icon input:focus,
.jm-input-icon input:focus {
  outline: none;
  border-color: var(--jm-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232,118,30,.08);
}
.jm-login-form .jm-btn-full {
  margin-top: 8px;
}
.jm-btn-lg {
  padding: 14px 36px;
  font-size: 15px;
}
.jm-btn-full {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.jm-login-footer {
  text-align: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--jm-border);
}
.jm-login-footer p {
  font-size: 14px;
  color: var(--jm-text-muted);
}
.jm-login-footer a {
  color: var(--jm-primary);
  font-weight: 600;
  text-decoration: none;
}
.jm-login-footer a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .jm-login-card { padding: 32px 20px 28px; }
}

/* ---------- Client Registration Form Wrap ---------- */
.jm-registration-wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* Step Indicator */
.jm-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.jm-step-dot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--jm-text-light);
  font-family: var(--jm-font-heading);
  transition: color .3s;
}
.jm-step-dot span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--jm-bg-light);
  border: 2px solid var(--jm-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--jm-text-light);
  transition: all .3s;
}
.jm-step-dot.active {
  color: var(--jm-primary);
}
.jm-step-dot.active span {
  background: var(--jm-primary);
  border-color: var(--jm-primary);
  color: #fff;
}
.jm-step-dot.completed span {
  background: var(--jm-primary);
  border-color: var(--jm-primary);
  color: #fff;
}
.jm-step-line {
  width: 40px;
  height: 2px;
  background: var(--jm-border);
  margin: 0 12px;
  transition: background .3s;
}
.jm-step-line.active {
  background: var(--jm-primary);
}

/* Registration Form */
.jm-registration-form {
  background: #fff;
  border-radius: var(--jm-radius-lg);
  border: 1px solid var(--jm-border);
  padding: 44px 40px;
  box-shadow: var(--jm-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.jm-registration-form .jm-form-row { margin: 0; }
.jm-reg-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--jm-heading);
  font-family: var(--jm-font-heading);
  margin: 10px 0 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--jm-border);
}
.jm-reg-section-title:first-child { margin-top: 0; }
.jm-reg-section-title svg { color: var(--jm-primary); flex-shrink: 0; }
.jm-registration-form .jm-form-row-3 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}
.jm-registration-form select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--jm-border);
  border-radius: var(--jm-radius);
  font-size: 14px;
  font-family: var(--jm-font-body);
  color: var(--jm-text);
  background: #fff;
  transition: border-color .2s;
}
.jm-registration-form select:focus {
  outline: none;
  border-color: var(--jm-primary);
}
/* Input with inline action button (CNPJ/CEP search) */
.jm-input-with-action {
  display: flex;
  gap: 8px;
}
.jm-input-with-action input {
  flex: 1;
}
.jm-btn-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 44px;
  background: var(--jm-primary);
  color: #fff;
  border: none;
  border-radius: var(--jm-radius);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--jm-font-heading);
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.jm-btn-inline:hover { background: var(--jm-primary-dark); }
.jm-btn-inline:disabled { opacity: .6; cursor: not-allowed; }
.jm-field-hint {
  display: block;
  font-size: 12px;
  color: var(--jm-text-muted);
  margin-top: 4px;
  min-height: 16px;
}

/* Step actions (back/next buttons) */
.jm-step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--jm-border);
}
.jm-step-actions .jm-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.jm-step-help {
  font-size: 13px;
  color: var(--jm-text-muted);
  line-height: 1.6;
  margin-top: 4px;
}
.jm-step-help strong {
  color: var(--jm-text);
}

.jm-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: var(--jm-radius);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}
.jm-alert-success {
  background: rgba(61, 214, 138, .1);
  color: #1a7a4c;
  border: 1px solid rgba(61, 214, 138, .3);
}
.jm-alert-error {
  background: rgba(220, 53, 69, .1);
  color: #a71d2a;
  border: 1px solid rgba(220, 53, 69, .3);
}
@media (max-width: 600px) {
  .jm-registration-form { padding: 28px 20px; gap: 14px; }
  .jm-registration-form .jm-form-row-3 { grid-template-columns: 1fr; }
  .jm-input-with-action { flex-direction: column; }
  .jm-btn-inline { height: 40px; justify-content: center; }
  .jm-steps-indicator { gap: 0; }
  .jm-step-dot { font-size: 11px; gap: 4px; }
  .jm-step-dot span { width: 28px; height: 28px; font-size: 12px; }
  .jm-step-line { width: 20px; margin: 0 6px; }
}
