/*
Theme Name: ZMG MÃ³viles Theme
Theme URI: https://zmgmoviles.com/
Description: Tema personalizado ligero para ZMG MÃ³viles (WooCommerce + Elementor Free), replicando fielmente la identidad visual original sin Astra ni Elementor Pro.
Author: ZMG MÃ³viles
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: zmg-moviles-theme
*/

@font-face {
  font-family: 'Camphor Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('https://zmgmoviles.com/wp-content/uploads/2025/01/camphor-pro-regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Camphor Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('https://zmgmoviles.com/wp-content/uploads/2025/01/camphor-pro-bold.ttf') format('truetype');
}

:root {
  --zmg-primary: #FFCC00;
  --zmg-secondary: #003366;
  --zmg-accent: #CC3333;
  --zmg-text: #000000;
  --zmg-white: #FFFFFF;
  --zmg-surface: #EBEBEB;
  --zmg-border: #E2E8F0;
  --zmg-muted: #64748B;
  --zmg-container: 1300px;

  --ast-global-color-0: #FFCC00;
  --ast-global-color-1: #003366;
  --ast-global-color-2: #CC3333;
  --ast-global-color-3: #000000;
  --ast-global-color-4: #FFFFFF;
  --ast-global-color-5: #EBEBEB;
  --ast-global-color-6: #E2E8F0;
  --ast-global-color-7: #CBD5E1;
  --ast-global-color-8: #94A3B8;

  --e-global-color-primary: #FFCC00;
  --e-global-color-secondary: #003366;
  --e-global-color-text: #000000;
  --e-global-color-accent: #CC3333;
  --e-global-color-astglobalcolor0: #FFCC00;
  --e-global-color-astglobalcolor1: #003366;
  --e-global-color-astglobalcolor2: #CC3333;
  --e-global-color-astglobalcolor3: #000000;
  --e-global-color-astglobalcolor4: #FFFFFF;
  --e-global-color-astglobalcolor5: #EBEBEB;
  --e-global-color-astglobalcolor6: #E2E8F0;
  --e-global-color-astglobalcolor7: #CBD5E1;
  --e-global-color-astglobalcolor8: #94A3B8;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100% !important;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--zmg-text);
  background-color: var(--zmg-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Camphor Pro', sans-serif;
  margin-top: 0;
  color: var(--zmg-text);
}

a {
  color: var(--zmg-secondary);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: var(--zmg-accent);
}

img {
  max-width: 100%;
  height: auto;
}

.zmg-container {
  width: 100%;
  max-width: var(--zmg-container);
  margin: 0 auto;
  padding: 0 16px;
}


/* ================= HEADER (Replicates Elementor Pro 10023) ================= */
.zmg-header {
  position: relative;
  z-index: 1000;
  background: var(--zmg-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  width: 100%;
}

.zmg-header.is-sticky {
  position: sticky;
  top: 0;
}

/* Row 1: Top Navy Utility Bar */
.zmg-topbar {
  background: var(--zmg-secondary);
  color: var(--zmg-surface);
  font-family: 'Camphor Pro', sans-serif;
  font-size: 13px;
  min-height: 25px;
  padding: 4px 0;
}

.zmg-topbar-desktop {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
}

.zmg-topbar-col {
  display: flex;
  align-items: center;
  min-width: 0;
}

.zmg-topbar-col--left {
  justify-content: flex-start;
}

.zmg-topbar-col--center {
  justify-content: center;
}

.zmg-topbar-col--right {
  justify-content: flex-end;
  text-align: right;
}

.zmg-topbar-link {
  color: var(--zmg-surface);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

.zmg-topbar-link:hover {
  color: var(--zmg-primary);
}

.zmg-topbar-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.zmg-topbar-social a {
  color: var(--zmg-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.zmg-topbar-social a:hover {
  color: var(--zmg-primary);
}

.zmg-topbar-social a svg {
  width: 17px;
  height: 17px;
  display: block;
}

.zmg-topbar-social a.zmg-ml-icon {
  width: auto;
  height: auto;
  padding: 0 5px 2px;
}

.zmg-topbar-social a.zmg-ml-icon img {
  height: 1.5em;
  width: auto;
  display: block;
}

.zmg-topbar-ticker {
  display: none;
  text-align: center;
  padding: 2px 10px;
  min-height: 22px;
}

.zmg-ticker-slide {
  display: none;
  align-items: center;
  justify-content: center;
}

.zmg-ticker-slide.is-active {
  display: flex;
}

/* Row 2: Main Yellow Bar */
.zmg-mainbar {
  background: var(--zmg-primary);
  min-height: 80px;
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.zmg-mainbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.zmg-hamburger-wrap {
  display: none;
}

.zmg-mobile-toggle {
  background: transparent;
  border: 0;
  color: var(--zmg-secondary);
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zmg-logo-wrap {
  flex: 0 0 25%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.zmg-logo {
  display: inline-flex;
  align-items: center;
}

.zmg-logo img {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.zmg-search-desktop {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
}

.zmg-search-form {
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--zmg-white);
  border-radius: 20px;
  min-height: 50px;
  border: 0;
  padding: 0 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.zmg-search-form button {
  border: 0;
  background: transparent;
  color: var(--zmg-text);
  padding: 0 10px 0 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zmg-search-form input[type="search"] {
  flex: 1;
  border: 0;
  padding: 10px 4px;
  font-size: 15px;
  outline: none;
  background: transparent;
  color: var(--zmg-text);
  font-family: 'Camphor Pro', sans-serif;
}

.zmg-header-actions {
  flex: 0 0 25%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.zmg-account-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--zmg-secondary);
  padding: 4px;
}

.zmg-account-link:hover {
  color: #001a33;
}

.zmg-cart-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--zmg-secondary);
  cursor: pointer;
  padding: 4px;
}

.zmg-cart-toggle:hover {
  color: #001a33;
}

.zmg-cart-icon {
  width: 25px;
  height: 25px;
  display: block;
}

.zmg-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--zmg-secondary);
  color: var(--zmg-white);
  border-radius: 99px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  font-family: 'Camphor Pro', sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zmg-cart-count.is-empty {
  display: none !important;
}

/* Row 3: Desktop Nav & Mobile Inline Search */
.zmg-row3 {
  background: var(--zmg-primary);
  min-height: 30px;
}

.zmg-navbar {
  background: var(--zmg-primary);
}

.zmg-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.zmg-nav-list > li {
  position: relative;
}

.zmg-nav-list > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--zmg-secondary);
  padding: 6px 10px 8px;
  font-family: Copperplate, 'Camphor Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
}

.zmg-nav-list > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--zmg-secondary);
  margin-left: 3px;
}

.zmg-nav-list > li > a::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--zmg-secondary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.zmg-nav-list > li > a:hover::before,
.zmg-nav-list > li.current-menu-item > a::before,
.zmg-nav-list > li.current-menu-ancestor > a::before {
  transform: scaleX(1);
}

.zmg-nav-list ul.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--zmg-primary);
  border-top: 3px solid var(--zmg-accent);
  border-radius: 0 0 5px 5px;
  box-shadow: 0 10px 40px -5px rgba(0, 0, 0, 0.35);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  z-index: 300;
}

.zmg-nav-list li:hover > ul.sub-menu,
.zmg-nav-list li:focus-within > ul.sub-menu {
  display: block;
}

.zmg-nav-list ul.sub-menu li {
  position: relative;
}

.zmg-nav-list ul.sub-menu a {
  display: block;
  padding: 8px 13px;
  color: var(--zmg-secondary);
  font-family: 'Camphor Pro', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
}

.zmg-nav-list ul.sub-menu a:hover {
  background: var(--zmg-secondary);
  color: var(--zmg-primary);
}

.zmg-nav-list ul.sub-menu ul.sub-menu {
  top: -3px;
  left: 100%;
  border-radius: 0 5px 5px 5px;
}

.zmg-search-mobile-bar {
  display: none;
  padding: 5px 0 8px;
}

.zmg-search-form--mobile {
  width: 90%;
  margin: 0 auto;
  border-radius: 42px;
  min-height: 44px;
}

/* ================= MOBILE MENU DRAWER (Template 10037) ================= */
.zmg-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 9998;
}

.zmg-drawer-backdrop.is-open {
  display: block;
}

.zmg-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 85vw;
  max-width: 400px;
  background: var(--zmg-surface);
  box-shadow: 2px 8px 30px 3px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}

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

.zmg-drawer-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  color: var(--zmg-secondary);
  border: 0;
  font-size: 30px;
  line-height: 1;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zmg-drawer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 55px 0 40px;
}

.zmg-mobile-menu,
.zmg-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zmg-mobile-menu li {
  position: relative;
  border-bottom: 1px solid #94A3B8;
}

.zmg-mobile-menu li > a {
  display: block;
  padding: 12px 48px 12px 20px;
  font-family: 'Camphor Pro', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--zmg-secondary);
  text-decoration: none;
}

.zmg-mobile-menu li > a:hover,
.zmg-mobile-menu li.current-menu-item > a {
  background: var(--zmg-white);
  color: var(--zmg-secondary);
}

.zmg-submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 0;
  color: var(--zmg-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.zmg-mobile-menu li.is-sub-open > .zmg-submenu-toggle {
  transform: rotate(180deg);
}

.zmg-mobile-menu ul.sub-menu {
  display: none;
  background: rgba(255, 255, 255, 0.55);
}

.zmg-mobile-menu li.is-sub-open > ul.sub-menu {
  display: block;
}

.zmg-mobile-menu ul.sub-menu li > a {
  padding-left: 34px;
  font-size: 16px;
  font-weight: 700;
}

.zmg-mobile-menu ul.sub-menu ul.sub-menu li > a {
  padding-left: 48px;
  font-size: 15px;
}

.zmg-drawer-bottom {
  padding: 24px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.zmg-drawer-account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--zmg-secondary);
  font-family: 'Camphor Pro', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.zmg-drawer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.zmg-drawer-social a {
  color: var(--zmg-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zmg-drawer-social a svg {
  width: 20px;
  height: 20px;
  display: block;
}

.zmg-drawer-social a.zmg-drawer-ml img {
  height: 2em;
  width: auto;
  display: block;
}

/* ================= SIDE CART OFF-CANVAS DRAWER (2d083a6 + CCJ #11944) ================= */
.zmg-cart-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
  z-index: 9999;
}

.zmg-cart-backdrop.is-open {
  display: block;
}

.zmg-side-cart {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 550px;
  max-width: 90vw;
  z-index: 10000;
  background: var(--zmg-surface);
  padding: 20px;
  box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

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

.zmg-side-cart-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 8px;
  flex: 0 0 auto;
}

.zmg-side-cart-close {
  background: transparent;
  border: 0;
  color: var(--zmg-text);
  font-size: 28px;
  line-height: 1;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zmg-side-cart-close:hover {
  color: #5A5A5A;
}

.zmg-side-cart-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.zmg-sc-empty {
  text-align: center;
  font-family: 'Camphor Pro', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--zmg-text);
  margin: auto 0;
  padding: 32px 12px;
}

.zmg-sc-list {
  list-style: none;
  margin: 0;
  padding: 0 2px;
  overflow-y: auto;
  max-height: calc(100vh - 220px);
  flex: 1 1 auto;
}

.zmg-side-cart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item::before,
.zmg-side-cart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item::after {
  content: none !important;
  display: none !important;
}

.zmg-side-cart ul.woocommerce-mini-cart li.zmg-sc-item {
  background: var(--zmg-white);
  border-radius: 30px;
  padding: 14px 16px !important;
  margin: 10px 0 !important;
  display: grid !important;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: center;
  position: relative;
}

.zmg-sc-item-thumb {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
}

.zmg-side-cart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item img {
  float: none !important;
  width: 100% !important;
  max-width: 100px !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  margin: 0 !important;
  display: block;
}

.zmg-sc-item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-right: 28px;
}

.zmg-sc-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.zmg-sc-item-name {
  font-family: Copperplate, 'Camphor Pro', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--zmg-text);
  word-break: break-word;
  text-decoration: none;
}

.zmg-sc-item-name:hover {
  color: var(--zmg-secondary);
}

.zmg-side-cart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item a.remove.remove_from_cart_button {
  position: absolute !important;
  top: 12px !important;
  right: 16px !important;
  left: auto !important;
  font-size: 24px !important;
  line-height: 1 !important;
  color: var(--zmg-text) !important;
  background: transparent !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  border-radius: 50%;
}

.zmg-side-cart ul.woocommerce-mini-cart li.woocommerce-mini-cart-item a.remove.remove_from_cart_button:hover {
  color: var(--zmg-accent) !important;
  background: rgba(204, 51, 51, 0.1) !important;
}

.zmg-sc-item-qty {
  font-family: Arial, sans-serif;
  font-size: 15px;
  color: var(--zmg-text);
}

.zmg-sc-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #CBD5E1;
  flex: 0 0 auto;
}

.zmg-sc-subtotal {
  text-align: center;
  font-family: 'Camphor Pro', sans-serif;
  font-size: 18px;
  color: var(--zmg-text);
  margin: 0 0 14px;
}

.zmg-sc-buttons {
  margin: 0;
  display: flex;
}

.zmg-sc-checkout-btn,
.woocommerce a.button.zmg-sc-checkout-btn {
  display: block !important;
  width: 100% !important;
  text-align: center;
  border-radius: 30px !important;
  background: var(--zmg-secondary) !important;
  color: var(--zmg-surface) !important;
  font-family: 'Camphor Pro', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 14px 20px !important;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.zmg-sc-checkout-btn:hover,
.woocommerce a.button.zmg-sc-checkout-btn:hover {
  background: #002244 !important;
  color: var(--zmg-white) !important;
}

/* Header & Drawer Responsive (<= 1024px) */
@media (max-width: 1024px) {
  .zmg-topbar {
    min-height: 20px;
    padding: 5px 0;
  }
  .zmg-topbar-desktop {
    display: none;
  }
  .zmg-topbar-ticker {
    display: block;
  }
  .zmg-mainbar {
    min-height: 50px;
    padding: 4px 0;
  }
  .zmg-mainbar-inner {
    padding: 0 40px;
  }
  .zmg-hamburger-wrap {
    display: flex;
    flex: 0 0 25%;
    justify-content: flex-start;
  }
  .zmg-logo-wrap {
    flex: 0 0 50%;
    justify-content: center;
  }
  .zmg-logo img {
    height: 60px;
  }
  .zmg-search-desktop,
  .zmg-account-link,
  .zmg-navbar {
    display: none;
  }
  .zmg-header-actions {
    flex: 0 0 25%;
  }
  .zmg-cart-icon {
    width: 30px;
    height: 30px;
  }
  .zmg-search-mobile-bar {
    display: block;
  }
  .zmg-mobile-menu li > a {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .zmg-side-cart {
    width: 90%;
  }
  .zmg-sc-item-name {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .zmg-mainbar-inner {
    padding: 0 10px;
  }
  .zmg-logo img {
    height: 50px;
  }
  .zmg-mobile-menu li > a {
    font-size: 18px;
  }
}

/* ================= MAIN CONTENT ================= */
.zmg-main {
  min-height: 50vh;
}

.zmg-page-content {
  padding: 28px 0;
}

.elementor-page .zmg-page-content {
  padding: 0;
}

/* ================= FOOTER (matches original Elementor 10135) ================= */
.zmg-footer {
  background: var(--zmg-primary);
  color: var(--zmg-secondary);
  padding: 36px 0 0;
  margin-top: 24px;
}

.zmg-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  align-items: start;
}

.zmg-footer h4 {
  color: var(--zmg-secondary);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 0.4px;
}

.zmg-footer p,
.zmg-footer li {
  font-size: 14px;
  color: var(--zmg-secondary);
  margin: 0 0 8px;
}

.zmg-footer a {
  color: var(--zmg-secondary);
  font-weight: 600;
}

.zmg-footer a:hover {
  color: #001a33;
  text-decoration: underline;
}

.zmg-footer-menu {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.zmg-footer-menu li {
  margin-bottom: 6px;
}

.zmg-libro-reclam {
  display: inline-block;
  margin-top: 6px;
}

.zmg-libro-reclam img {
  max-height: 58px;
  width: auto;
  display: block;
}

.zmg-footer-bottom {
  background: var(--zmg-secondary);
  text-align: center;
  padding: 12px 16px;
  font-size: 13px;
  font-family: Arial, sans-serif;
  color: var(--zmg-white);
}

/* ================= MIGRATED BANNER SLIDER (overrides Elementor .e-con) ================= */
.zmg-banner-slider.e-con {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  border-radius: 0 !important;
}

.zmg-banner-track.e-con {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: transform 0.5s ease !important;
}

.zmg-banner-slide.elementor-widget-image {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.zmg-banner-slide .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

.zmg-banner-slide a {
  display: block;
  width: 100%;
}

.zmg-banner-slide img {
  width: 100% !important;
  height: 525px !important;
  object-fit: cover !important;
  display: block !important;
}

.zmg-banner-prev,
.zmg-banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(0, 51, 102, 0.72);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zmg-banner-prev:hover,
.zmg-banner-next:hover {
  background: var(--zmg-primary);
  color: var(--zmg-secondary);
}

.zmg-banner-prev { left: 14px; }
.zmg-banner-next { right: 14px; }

.zmg-banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 4px;
}

.zmg-banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #cbd5e1;
  cursor: pointer;
  padding: 0;
}

.zmg-banner-dot.is-active {
  background: var(--zmg-secondary);
}

/* ================= CTA CARDS (iPhone, Samsung, Xiaomi) ================= */
.zmg-cta-card.e-con {
  position: relative !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  min-height: 215px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  padding: 28px 22px !important;
  background-size: cover !important;
  background-position: center !important;
  gap: 8px !important;
}

.zmg-cta-card.e-con::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 0;
}

.zmg-cta-card.e-con > * {
  position: relative;
  z-index: 1;
}

.zmg-cta-card .elementor-heading-title {
  font-family: 'Camphor Pro', sans-serif !important;
  font-size: 30px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 0 !important;
}

.zmg-cta-card .elementor-widget-text-editor p {
  text-decoration: underline;
  color: #FFFFFF !important;
  margin: 0 !important;
}

.zmg-cta-card .elementor-button {
  background-color: var(--zmg-primary) !important;
  color: var(--zmg-secondary) !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  padding: 10px 18px !important;
}

/* ================= WOOCOMMERCE GRID & PRODUCT CARDS ================= */
.zmg-woo-wrap {
  padding: 24px 0 40px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.woocommerce ul.products.columns-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.woocommerce ul.products.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.woocommerce ul.products.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  background: var(--zmg-white);
  border: 1px solid var(--zmg-border);
  border-radius: 20px;
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 10px 24px rgba(0, 51, 102, 0.1);
  transform: translateY(-2px);
}

.woocommerce ul.products li.product a img {
  border-radius: 12px;
  margin-bottom: 10px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  font-family: 'Camphor Pro', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--zmg-text);
  margin: 6px 0 8px;
  line-height: 1.35;
}

.woocommerce ul.products li.product .price {
  color: var(--zmg-accent) !important;
  font-family: 'Camphor Pro', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 10px;
  display: block;
}

.woocommerce ul.products li.product .price del {
  color: var(--zmg-muted);
  font-weight: 400;
  margin-right: 6px;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

.woocommerce ul.products li.product .button {
  background: var(--zmg-secondary);
  color: var(--zmg-white);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 13px;
  margin-top: auto;
  display: inline-block;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--zmg-primary);
  color: var(--zmg-secondary);
}

.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale,
.woocommerce div.product .onsale {
  border-radius: 8px;
  background: var(--zmg-accent);
  color: var(--zmg-white);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  min-height: auto;
  line-height: 1.3;
  top: 10px;
  left: 10px;
  right: auto;
  margin: 0;
}

.woocommerce nav.woocommerce-pagination {
  margin-top: 24px;
}

.woocommerce nav.woocommerce-pagination ul li > .page-numbers {
  background: var(--zmg-secondary);
  color: var(--zmg-white);
  border-radius: 6px;
  padding: 8px 14px;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--zmg-primary);
  color: var(--zmg-secondary);
  font-weight: 800;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background-color: var(--zmg-secondary);
  color: var(--zmg-white);
  border-radius: 8px;
  font-weight: 700;
  padding: 16px 24px;
}

.woocommerce div.product form.cart .button.single_add_to_cart_button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background-color: var(--zmg-primary);
  color: var(--zmg-secondary);
}

/* ================= CLIENTES & MISC ================= */
.zmg-underline {
  text-decoration: underline;
  text-decoration-color: var(--zmg-primary);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.zmg-share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}

.zmg-share-buttons a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--zmg-surface);
  color: var(--zmg-secondary);
  font-size: 13px;
  font-weight: 700;
}

.zmg-clientes-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.zmg-clientes-filter-btn {
  border: 1px solid var(--zmg-border);
  background: var(--zmg-white);
  color: var(--zmg-secondary);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.zmg-clientes-filter-btn.is-active,
.zmg-clientes-filter-btn:hover {
  background: var(--zmg-secondary);
  color: var(--zmg-white);
}

.zmg-clientes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.zmg-cliente-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--zmg-white);
  border: 1px solid var(--zmg-border);
}

.zmg-cliente-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .zmg-banner-slide img {
    height: 405px !important;
  }
  .woocommerce ul.products,
  .woocommerce ul.products.columns-5,
  .woocommerce ul.products.columns-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  .zmg-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .zmg-clientes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .zmg-banner-slide img {
    height: auto !important;
    min-height: 210px;
  }
  .woocommerce ul.products,
  .woocommerce ul.products.columns-5,
  .woocommerce ul.products.columns-4,
  .woocommerce ul.products.columns-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 12px !important;
  }
}



/* ================= SINGLE PRODUCT (Replicates Elementor Pro 13660) ================= */
body.single-product {
  background-color: var(--zmg-surface);
}

body.single-product .zmg-footer {
  margin-top: 0;
}

.zmg-sp-page {
  width: 100%;
  background-color: var(--zmg-surface);
}

.zmg-sp-page .woocommerce-breadcrumb {
  max-width: var(--zmg-container);
  width: 100%;
  margin: 0 auto;
  padding: 14px 16px 0;
  font-family: 'Camphor Pro', sans-serif;
  font-size: 13px;
  color: var(--zmg-muted);
}

.zmg-sp-page .woocommerce-breadcrumb a {
  color: var(--zmg-secondary);
}

.zmg-sp-page .woocommerce-notices-wrapper {
  max-width: var(--zmg-container);
  width: 100%;
  margin: 10px auto 0;
  padding: 0 16px;
}

.woocommerce div.product.zmg-sp-product {
  display: block !important;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Section 1: Main Product Card (#212d235) */
.zmg-sp-card {
  max-width: var(--zmg-container);
  width: calc(100% - 32px);
  margin: 16px auto 24px;
  background-color: var(--zmg-white);
  border-radius: 20px;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: stretch;
}

/* Left Column (#ef4a1bc) */
.zmg-sp-left {
  width: 50%;
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding: 30px 0 30px 50px;
}

.zmg-sp-gallery {
  width: 100%;
  position: relative;
}

.zmg-sp-gallery > span.onsale {
  display: none !important;
}

.zmg-sp-gallery .iconic-woothumbs-all-images-wrap,
.zmg-sp-gallery .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.zmg-sp-gallery .iconic-woothumbs-fullscreen {
  z-index: 5;
}

.zmg-sp-disclaimer {
  width: 100%;
  font-family: 'Camphor Pro', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--zmg-text);
  margin: 10px 0;
}

.zmg-sp-reviews-desktop {
  width: 100%;
}

/* Right Column (#2704aa4) */
.zmg-sp-right {
  width: 50%;
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 50px 0 0;
}

.zmg-sp-right-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
}

/* Header Block (#7ab8b65) */
.zmg-sp-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.zmg-sp-title {
  font-family: 'Camphor Pro', sans-serif !important;
  font-weight: 800 !important;
  font-size: 30px;
  line-height: 1.2;
  color: var(--zmg-text) !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Badges Row (#1230c94) */
.zmg-sp-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}

.zmg-sp-discount-badge {
  flex: 1 1 50%;
  max-width: 50%;
  display: flex;
}

.woocommerce div.product .zmg-sp-discount-badge .onsale,
.woocommerce div.product .zmg-sp-discount-badge .onsale.square-outline {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  border-radius: 10px !important;
  background: var(--zmg-accent) !important;
  color: var(--zmg-white) !important;
  font-family: 'Camphor Pro', sans-serif !important;
  font-size: 1em !important;
  font-weight: 700 !important;
  line-height: normal !important;
  min-height: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border: 0 !important;
}

.zmg-sp-stock-badge {
  flex: 1 1 50%;
  max-width: 50%;
  background-color: #85B951;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  text-align: center;
}

.zmg-sp-stock-badge.is-out-of-stock {
  background-color: var(--zmg-accent);
}

.woocommerce div.product .zmg-sp-stock-badge .stock {
  color: var(--zmg-white) !important;
  font-family: 'Camphor Pro', sans-serif !important;
  font-size: 1em !important;
  font-weight: 600 !important;
  line-height: normal !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Pricing Boxes (#73ef17e) */
.zmg-sp-pricing-boxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* Box A: Cash/Transfer Exclusive (#291dff1) */
.zmg-sp-box-cash {
  background-color: #FFCC004A;
  border: 2px solid var(--zmg-primary);
  border-radius: 10px;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.zmg-sp-box-title {
  font-family: 'Camphor Pro', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--zmg-text);
  margin: 10px 0 0;
  line-height: 1.3;
}

.woocommerce div.product .zmg-sp-price p.price,
.woocommerce div.product .zmg-sp-price span.price {
  color: var(--zmg-text) !important;
  font-family: 'Camphor Pro', sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  text-align: left;
  margin: 5px 0 0 !important;
  padding: 0 20px 0 0;
  line-height: 1.25;
}

.woocommerce div.product .zmg-sp-price .price del {
  color: var(--zmg-text) !important;
  opacity: 0.65;
  font-weight: 400 !important;
  font-size: 1em !important;
  margin-right: 10px;
}

.woocommerce div.product .zmg-sp-price .price ins {
  color: var(--zmg-accent) !important;
  font-size: 1.6em !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  background: transparent !important;
}

.zmg-sp-delivery-info {
  font-family: Arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: var(--zmg-text);
}

.zmg-sp-delivery-info p {
  margin: 0;
}

.zmg-sp-box-footnote {
  font-family: 'Camphor Pro', sans-serif;
  font-size: 0.7em;
  font-weight: 400;
  color: var(--zmg-text);
  margin: 0 0 10px;
}

/* Box B: Card Price (#a040ba9) */
.zmg-sp-box-card {
  background-color: #00336638;
  border: 1px solid var(--zmg-secondary);
  border-radius: 10px;
  padding: 0 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.zmg-sp-card-price .precios-personalizados,
.zmg-sp-card-price p {
  margin: 0;
}

.zmg-sp-card-price .woocommerce-Price-amount.amount {
  font-family: 'Camphor Pro', sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: var(--zmg-text);
}

/* CTA Row (#0e8924e) */
.zmg-sp-cta-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.zmg-sp-buy-now {
  flex: 0 0 calc(39% - 5px);
  max-width: calc(39% - 5px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--zmg-primary);
  color: var(--zmg-secondary);
  font-family: 'Camphor Pro', sans-serif;
  font-size: 1.1em;
  font-weight: 800;
  border-radius: 30px;
  padding: 1.15em 12px;
  text-align: center;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zmg-sp-buy-now:hover {
  transform: translateY(-3px);
  color: var(--zmg-secondary);
  background-color: var(--zmg-primary);
  box-shadow: 0 6px 14px rgba(0, 51, 102, 0.14);
}

.zmg-sp-add-to-cart {
  flex: 1 1 calc(59% - 5px);
  min-width: 0;
}

.zmg-sp-add-to-cart .stock {
  display: none !important;
}

.woocommerce div.product .zmg-sp-add-to-cart form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

.woocommerce div.product .zmg-sp-add-to-cart form.cart .quantity {
  margin: 0 !important;
  float: none !important;
}

.woocommerce div.product .zmg-sp-add-to-cart form.cart .button.single_add_to_cart_button {
  flex: 1 1 auto;
  border-radius: 30px !important;
  padding: 20px 20px !important;
  margin: 0 !important;
  font-family: 'Camphor Pro', sans-serif !important;
  font-size: 1.05em !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  background-color: var(--zmg-secondary) !important;
  color: var(--zmg-white) !important;
  transition: all 0.2s ease !important;
  float: none !important;
}

.woocommerce div.product .zmg-sp-add-to-cart form.cart .button.single_add_to_cart_button:hover {
  background-color: var(--zmg-secondary) !important;
  color: var(--zmg-white) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 51, 102, 0.2);
}

.zmg-sp-whatsapp {
  flex: 0 0 auto;
  width: 100%;
}

/* Trust & Info Stack (#d79f3db) */
.zmg-sp-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.zmg-sp-trust-row {
  width: 90%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.zmg-sp-trust-icon {
  flex: 0 0 auto;
  padding-right: 20px;
  color: var(--zmg-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zmg-sp-trust-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

.zmg-sp-trust-text {
  font-family: 'Camphor Pro', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--zmg-text);
  line-height: 1.4;
}

.zmg-sp-trust-row--gift {
  align-items: flex-start;
}

.zmg-sp-gift-text {
  flex: 0 0 48%;
  max-width: 48%;
  font-family: 'Camphor Pro', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: justify;
  color: var(--zmg-text);
  margin: 0;
  padding-right: 20px;
}

.zmg-sp-gift-img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}

.zmg-sp-trust-row--payments {
  flex-wrap: wrap;
  align-items: center;
}

.zmg-sp-payments-label {
  flex: 1 1 auto;
}

.zmg-sp-payments-img {
  width: 100%;
  height: auto;
  margin-top: 10px;
  display: block;
}

.zmg-sp-reviews-mobile {
  display: none;
  width: 100%;
}

/* Share Row (#a834102 / #48ce0a9) */
.zmg-sp-share-wrap {
  padding: 16px 0 20px;
  width: 100%;
}

.zmg-sp-share-row {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.zmg-sp-share-lead-icon {
  color: var(--zmg-text);
  display: inline-flex;
  align-items: center;
}

.zmg-sp-share-lead-icon svg {
  width: 28px;
  height: 28px;
}

.zmg-sp-share-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.zmg-sp-share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--zmg-white) !important;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.zmg-sp-share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  color: var(--zmg-white) !important;
}

.zmg-sp-share-btn--fb { background-color: #1877F2; }
.zmg-sp-share-btn--email { background-color: #EA4335; }
.zmg-sp-share-btn--tg { background-color: #2CA5E0; }
.zmg-sp-share-btn--wa { background-color: #25D366; }

/* Section 2: Description & Tabs Band (#3fa3998) */
.zmg-sp-details-band {
  width: 100%;
  background-color: var(--zmg-white);
  padding: 36px 0 48px;
}

.zmg-sp-details-inner {
  max-width: var(--zmg-container);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: row;
  gap: 36px;
  align-items: flex-start;
}

.zmg-sp-desc-col {
  flex: 3 1 0;
  width: auto;
  min-width: 0;
}

.zmg-sp-desc-heading {
  font-family: 'Camphor Pro', sans-serif !important;
  font-weight: 400 !important;
  font-size: 26px;
  color: var(--zmg-secondary) !important;
  margin: 0 0 16px !important;
}

.zmg-sp-desc-col .woocommerce-product-details__short-description {
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--zmg-text);
}

.zmg-sp-tabs-col {
  flex: 2 1 0;
  width: auto;
  min-width: 0;
}

.zmg-sp-tabs-col table {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.woocommerce div.product .zmg-sp-tabs-col .woocommerce-tabs {
  padding-top: 0;
  margin-bottom: 0;
}

.woocommerce div.product .zmg-sp-tabs-col .woocommerce-tabs ul.wc-tabs {
  padding-left: 0;
  margin-bottom: 16px;
}

.woocommerce div.product .zmg-sp-tabs-col .woocommerce-tabs ul.wc-tabs li a {
  color: var(--zmg-secondary) !important;
  font-family: 'Camphor Pro', sans-serif;
  font-weight: 700;
}

.woocommerce div.product .zmg-sp-tabs-col .woocommerce-tabs .woocommerce-Tabs-panel {
  color: var(--zmg-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* Single Product Responsive (Tablet <= 1024px) */
@media (max-width: 1024px) {
  .zmg-sp-reviews-desktop {
    display: none !important;
  }
  .zmg-sp-reviews-mobile {
    display: block;
    padding-top: 16px;
  }
  .zmg-sp-badges {
    gap: 12px;
  }
  .zmg-sp-left {
    padding: 24px 0 24px 24px;
  }
  .zmg-sp-right {
    padding: 0 24px 0 0;
  }
}

/* Single Product Responsive (Mobile <= 767px) */
@media (max-width: 767px) {
  .zmg-sp-page .woocommerce-breadcrumb {
    padding: 8px 10px 6px;
    font-size: 12px;
  }
  .zmg-sp-card {
    width: 100%;
    margin: 0;
    border-radius: 0;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  .zmg-sp-left {
    width: 100%;
    flex: 0 0 100%;
    justify-content: center;
    gap: 0;
    padding: 10px 0 0;
  }
  .zmg-sp-gallery {
    padding: 0 10px;
  }
  .zmg-sp-disclaimer {
    text-align: center;
    padding: 0 12px;
  }
  .zmg-sp-right {
    width: 100%;
    flex: 0 0 100%;
    padding: 0 10px;
  }
  .zmg-sp-right-top {
    padding-top: 8px;
    gap: 16px;
  }
  .zmg-sp-title {
    font-size: 22px;
    text-align: left;
  }
  .zmg-sp-discount-badge {
    flex: 0 0 42%;
    max-width: 42%;
  }
  .zmg-sp-stock-badge {
    flex: 1 1 50%;
    max-width: 58%;
  }
  .woocommerce div.product .zmg-sp-price p.price,
  .woocommerce div.product .zmg-sp-price span.price {
    padding: 5px 0 0;
    font-size: 20px !important;
  }
  .woocommerce div.product .zmg-sp-price .price ins {
    font-size: 1.5em !important;
  }
  .zmg-sp-cta-row {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
  }
  .zmg-sp-buy-now,
  .zmg-sp-add-to-cart,
  .zmg-sp-whatsapp {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  .zmg-sp-whatsapp {
    display: flex;
    justify-content: center;
  }
  .zmg-sp-trust-row {
    width: 100%;
  }
  .zmg-sp-trust-row--gift .zmg-sp-trust-icon {
    flex: 0 0 15%;
    padding-right: 10px;
  }
  .zmg-sp-gift-text {
    flex: 1 1 65%;
    max-width: 65%;
    padding-right: 12px;
  }
  .zmg-sp-gift-img {
    width: 20%;
    height: auto;
  }
  .zmg-sp-reviews-mobile {
    padding-top: 20px;
  }
  .zmg-sp-share-wrap {
    padding: 24px 0 16px;
  }
  .zmg-sp-share-lead-icon svg {
    width: 24px;
    height: 24px;
  }
  .zmg-sp-share-btn {
    width: 32px;
    height: 32px;
  }
  .zmg-sp-details-band {
    padding: 24px 0 36px;
  }
  .zmg-sp-details-inner {
    flex-direction: column;
    padding: 0 14px;
    gap: 24px;
  }
  .zmg-sp-desc-col,
  .zmg-sp-tabs-col {
    width: 100%;
    flex: 0 0 100%;
  }
}

/* 3. Mobile Footer Spacing */
@media (max-width: 900px) {
  .zmg-footer-grid {
    padding-bottom: 64px;
  }
}

/* 4. Extra breathing room in footer so floating WhatsApp widget does not cover email */
@media (min-width: 901px) {
  .zmg-footer-grid {
    padding-bottom: 48px;
  }
}

/* ================= CATALOG / ARCHIVE / SEARCH (Replicates Elementor Pro 14226) ================= */
body.archive.woocommerce,
body.search.woocommerce,
body.page-template-page-catalogo,
body.zmg-catalog-page {
  background-color: var(--zmg-surface);
}

body.archive.woocommerce .zmg-footer,
body.search.woocommerce .zmg-footer,
body.page-template-page-catalogo .zmg-footer,
body.zmg-catalog-page .zmg-footer {
  margin-top: 0;
}

.zmg-cat-page {
  width: 100%;
  background-color: var(--zmg-surface);
  min-height: 50vh;
}

/* Section 1: Archive Header (#79e197b0) */
.zmg-cat-header {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.zmg-cat-title {
  font-family: 'Camphor Pro', sans-serif !important;
  font-weight: 600 !important;
  font-size: 2.2em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--zmg-secondary) !important;
  text-align: left;
  margin: 0 !important;
}

.zmg-cat-breadcrumbs .woocommerce-breadcrumb {
  font-family: 'Camphor Pro', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--zmg-secondary);
  text-align: left;
  margin: 0 !important;
  padding: 0 !important;
}

.zmg-cat-breadcrumbs .woocommerce-breadcrumb a {
  color: var(--zmg-text);
}

.zmg-cat-breadcrumbs .woocommerce-breadcrumb a:hover {
  color: var(--zmg-secondary);
}

/* Section 2: Subcategories Horizontal Strip (#3277d6dd / CCJ #9216) */
.zmg-cat-subcats-wrap {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 4px 16px 0;
  overflow: hidden;
}

.zmg-cat-subcats-list {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: visible;
  padding: 6px 2px 3em 2px;
  gap: 16px;
  white-space: nowrap;
  margin: 0 0 10px 0;
  list-style: none;
  scrollbar-width: thin;
}

.zmg-cat-subcat-item {
  flex: 0 0 auto;
  height: 100px;
  min-width: 130px;
  width: 130px;
  background-color: var(--zmg-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.zmg-cat-subcat-item:hover {
  background-color: #E0E0E0;
  transform: scale(1.05);
}

.zmg-cat-subcat-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.zmg-cat-subcat-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.zmg-cat-subcat-label {
  position: absolute;
  bottom: -2.2em;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Camphor Pro', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--zmg-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Section 3: Toolbar, Product Grid & Pagination (#fdf88fa / #270cd97b) */
.zmg-cat-main {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px 36px;
}

.zmg-cat-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}

.zmg-cat-toolbar .woocommerce-notices-wrapper {
  width: 100%;
}

.zmg-cat-toolbar .woocommerce-result-count {
  display: none !important;
}

.zmg-cat-toolbar .woocommerce-ordering {
  margin: 0 !important;
  float: none !important;
}

.zmg-cat-toolbar .woocommerce-ordering select.orderby {
  background-color: var(--zmg-white);
  color: var(--zmg-text);
  border: 1px solid var(--zmg-border);
  border-radius: 5px;
  padding: 8px 14px;
  font-family: 'Camphor Pro', sans-serif;
  font-size: 14px;
  cursor: pointer;
}

/* Catalog Grid */
.zmg-cat-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Product Card (content-product.php) */
.woocommerce ul.products li.product.zmg-cat-card,
.woocommerce-page ul.products li.product.zmg-cat-card {
  background-color: var(--zmg-white);
  border: 0;
  border-radius: 20px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  text-align: center;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.zmg-cat-thumb {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 8px;
  aspect-ratio: 1 / 1;
  background-color: var(--zmg-white);
}

.zmg-cat-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.woocommerce ul.products li.product.zmg-cat-card .zmg-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  margin: 0 !important;
  display: block;
  transition: transform 0.25s ease;
}

.woocommerce ul.products li.product.zmg-cat-card:hover .zmg-cat-thumb img {
  transform: scale(1.05);
}

/* Sale % Badge (CCJ #11144) */
.woocommerce ul.products li.product.zmg-cat-card .zmg-cat-thumb span.onsale.square-outline {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  min-width: 4em;
  height: 2em;
  border-radius: 10px !important;
  background: var(--zmg-accent) !important;
  color: var(--zmg-white) !important;
  font-family: 'Camphor Pro', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  padding: 0 8px !important;
  margin: 0 !important;
  z-index: 2;
}

.zmg-cat-summary {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 6px 4px 8px;
  text-align: center;
}

.zmg-cat-card-category {
  font-family: 'Camphor Pro', sans-serif;
  font-size: 13px;
  color: #666666;
  margin-bottom: 4px;
  display: block;
  line-height: 1.3;
}

.zmg-cat-title-link {
  text-decoration: none;
  display: block;
}

.woocommerce ul.products li.product.zmg-cat-card h2.woocommerce-loop-product__title {
  font-family: 'Camphor Pro', sans-serif !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  text-transform: uppercase;
  color: var(--zmg-secondary) !important;
  line-height: 1.35;
  margin: 0 0 6px !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product.zmg-cat-card .price {
  font-family: 'Poppins', 'Camphor Pro', sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  color: var(--zmg-accent) !important;
  margin: 0 0 12px !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}

.woocommerce ul.products li.product.zmg-cat-card .price del {
  color: var(--zmg-text) !important;
  opacity: 0.7;
  font-size: 15px !important;
  font-weight: 400 !important;
  text-decoration: line-through;
  margin: 0 !important;
}

.woocommerce ul.products li.product.zmg-cat-card .price ins {
  color: var(--zmg-accent) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  background: transparent !important;
}

/* Card Buttons Row (CCJ #9216 + Snippet #48) */
.zmg-cat-buttons {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 6px;
  width: 100%;
}

.woocommerce ul.products li.product.zmg-cat-card .zmg-cat-buttons a.button,
.woocommerce ul.products li.product.zmg-cat-card .zmg-cat-buttons button.button {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 15px !important;
  padding: 10px 8px !important;
  font-family: 'Poppins', 'Camphor Pro', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.woocommerce ul.products li.product.zmg-cat-card .zmg-cat-buttons a.add_to_cart_button,
.woocommerce ul.products li.product.zmg-cat-card .zmg-cat-buttons a.product_type_variable,
.woocommerce ul.products li.product.zmg-cat-card .zmg-cat-buttons a.product_type_grouped {
  background-color: var(--zmg-secondary) !important;
  color: var(--zmg-white) !important;
}

.woocommerce ul.products li.product.zmg-cat-card .zmg-cat-buttons a.add_to_cart_button:hover,
.woocommerce ul.products li.product.zmg-cat-card .zmg-cat-buttons a.product_type_variable:hover {
  background-color: var(--zmg-primary) !important;
  color: var(--zmg-text) !important;
}

.woocommerce ul.products li.product.zmg-cat-card .zmg-cat-buttons a.button.buy-now-button {
  background-color: var(--zmg-primary) !important;
  color: var(--zmg-secondary) !important;
}

.woocommerce ul.products li.product.zmg-cat-card .zmg-cat-buttons a.button.buy-now-button:hover {
  background-color: var(--zmg-secondary) !important;
  color: var(--zmg-white) !important;
}

.woocommerce ul.products li.product.zmg-cat-card .zmg-cat-buttons a.added_to_cart {
  display: none !important;
}

/* Pagination */
.zmg-cat-page nav.woocommerce-pagination {
  margin-top: 40px;
  text-align: center;
}

.zmg-cat-page nav.woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  border: 0 !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zmg-cat-page nav.woocommerce-pagination ul.page-numbers li {
  border: 0 !important;
  float: none !important;
  margin: 0;
}

.zmg-cat-page nav.woocommerce-pagination ul.page-numbers li .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  padding: 10px 14px;
  border: 1px solid var(--zmg-secondary);
  border-radius: 6px;
  background-color: transparent;
  color: var(--zmg-secondary);
  font-family: 'Poppins', 'Camphor Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.zmg-cat-page nav.woocommerce-pagination ul.page-numbers li .page-numbers:hover {
  background-color: var(--zmg-white);
  color: var(--zmg-secondary);
}

.zmg-cat-page nav.woocommerce-pagination ul.page-numbers li span.page-numbers.current {
  background-color: var(--zmg-secondary);
  color: var(--zmg-white);
  border-color: var(--zmg-secondary);
}

/* Catalog Responsive (Tablet <= 1024px) */
@media (max-width: 1024px) {
  .zmg-cat-page ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* Catalog Responsive (Mobile <= 767px) */
@media (max-width: 767px) {
  .zmg-cat-header {
    padding: 15px 12px 8px;
  }
  .zmg-cat-title {
    font-size: 25px;
    line-height: 1.1;
  }
  .zmg-cat-subcats-wrap {
    padding: 4px 12px 0;
  }
  .zmg-cat-subcat-link img {
    object-fit: contain;
  }
  .zmg-cat-main {
    padding: 0 12px 28px;
  }
  .zmg-cat-toolbar .woocommerce-ordering,
  .zmg-cat-toolbar .woocommerce-ordering select.orderby {
    width: 100%;
  }
  .zmg-cat-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .woocommerce ul.products li.product.zmg-cat-card h2.woocommerce-loop-product__title {
    font-size: 15px !important;
  }
  .woocommerce ul.products li.product.zmg-cat-card .price,
  .woocommerce ul.products li.product.zmg-cat-card .price ins {
    font-size: 15px !important;
  }
  .woocommerce ul.products li.product.zmg-cat-card .price del {
    font-size: 13px !important;
  }
  .zmg-cat-buttons {
    flex-direction: column;
    gap: 6px;
  }
  .woocommerce ul.products li.product.zmg-cat-card .zmg-cat-buttons a.button,
  .woocommerce ul.products li.product.zmg-cat-card .zmg-cat-buttons button.button {
    width: 100%;
    flex: 0 0 auto;
    font-size: 13px !important;
    padding: 9px 8px !important;
  }
}

@media (max-width: 544px) {
  .woocommerce ul.products li.product.zmg-cat-card .zmg-cat-thumb span.onsale.square-outline {
    font-size: 13px !important;
    min-width: 3.4em;
    height: 1.8em;
  }
}
