/*
Theme Name: Merto Child
Theme URI: https://demo.theme-sky.com/merto/
Author: Theme Sky Team
Author URI: http://theme-sky.com/
Description: A Premium and Responsive WordPress theme, designed for E-Commerce websites
Template: merto
Version: 1.0.0
License: GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags: two-columns, left-sidebar, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: merto-child
*/
/* Normalize product thumbnails in grid — Feb 28 2026 */
.products .product .product-image img,
.products .product .attachment-woocommerce_thumbnail,
ul.products li.product img,
.ts-product .product-image img {
    width: 100% !important;
    height: 300px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #fff;
}

/* ========== FOOTER MODERNO LA PARISIENNE ========== */
.footer-container.footer-area { display: none !important; }

.lp-footer-modern {
  background: #ffffff;
  color: #111111;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border-top: 3px solid #111;
  margin-top: 0;
}

.lp-footer-upper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 60px 50px;
}

.lp-footer-tagline span {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  color: #000;
  letter-spacing: -0.01em;
}

.lp-footer-links {
  display: flex;
  gap: 80px;
}

.lp-footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-footer-col a {
  color: #111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  transition: color 0.2s;
}

.lp-footer-col a:hover {
  color: #666;
}

.lp-footer-brand {
  padding: 20px 60px 30px;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.lp-footer-brand span {
  font-size: 12vw;
  font-weight: 900;
  color: #000;
  letter-spacing: -0.03em;
  line-height: 0.85;
  display: block;
  white-space: nowrap;
}

.lp-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 25px 60px;
  border-top: 1px solid #e0e0e0;
}

.lp-footer-copy {
  font-size: 13px;
  color: #5F6368;
}

.lp-footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.lp-footer-social a {
  color: #5F6368;
  transition: color 0.2s;
  display: flex;
}

.lp-footer-social a:hover {
  color: #111;
}

/* Mobile */
@media (max-width: 768px) {
  .lp-footer-upper {
    flex-direction: column;
    padding: 40px 24px 30px;
    gap: 30px;
  }
  .lp-footer-tagline span {
    font-size: 22px;
  }
  .lp-footer-links {
    gap: 40px;
  }
  .lp-footer-brand {
    padding: 10px 24px 20px;
  }
  .lp-footer-brand span {
    font-size: 15vw;
  }
  .lp-footer-bottom {
    flex-direction: column;
    gap: 15px;
    padding: 20px 24px;
    text-align: center;
  }
}

/* Ocultar Customer Service en pagina contacto */
.elementor-element-4795993,
.elementor-element-f3c70fc { display: none !important; }

/* Google Map blanco y negro */
.elementor-widget-google_maps iframe,
.elementor-widget-map iframe,
iframe[src*="google.com/maps"] {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

/* Estrellas justo arriba de iconos - LP */

/* Mover estrellas arriba de iconos via CSS order */
.summary.entry-summary {
  display: flex !important;
  flex-direction: column !important;
}
.summary .product-brands { order: 1 !important; }
.summary .lp-sp-badges { order: 2 !important; }
.summary .product_title.entry-title { order: 3 !important; }
.summary .woocommerce-product-rating { order: 4 !important; }
.summary .lp-feature-icons { order: 5 !important; }
.summary .price { order: 6 !important; }
.summary form.cart { order: 7 !important; }
.summary .ts-product-actions { order: 8 !important; }
.summary .yith-wcwl-add-to-wishlist { order: 9 !important; }
.summary .compare-button { order: 10 !important; }
.summary .product_meta { order: 11 !important; }

/* Fix order for wishlist, compare, sku */
.summary .yith-wcwl-add-to-wishlist,
.summary .compare-button { order: 9 !important; }
.summary .product_meta { order: 11 !important; }
.summary > * { order: 8 !important; }
.summary .product-brands { order: 1 !important; }
.summary .lp-sp-badges { order: 2 !important; }
.summary .product_title.entry-title { order: 3 !important; }
.summary .woocommerce-product-rating { order: 4 !important; }
.summary .lp-feature-icons { order: 5 !important; }
.summary .price { order: 6 !important; }
.summary form.cart { order: 7 !important; }

/* === PRODUCT PAGE: Cart button + layout === */
.summary.entry-summary {
  display: flex !important;
  flex-direction: column !important;
}
.summary.entry-summary > * {
  width: 100% !important;
  align-self: stretch !important;
}
.summary form.cart {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
}
.summary form.cart .quantity { display: none !important; }
.summary form.cart .single_add_to_cart_button,
.summary form.cart .ts-buy-now-button {
  width: 100% !important;
  display: block !important;
  text-align: center !important;
  padding: 15px 32px !important;
  height: auto !important;
  font-size: 14px !important;
  background: #1a1a1a !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}
.summary form.cart .single_add_to_cart_button:hover {
  background: #333 !important;
}
.summary form.cart .ts-buy-now-button {
  background: transparent !important;
  color: #1a1a1a !important;
  border: 1px solid #1a1a1a !important;
}

/* Brand logos slider — mejor calidad */
.ts-logo-widget img,
.ts-brands-widget img,
.attachment-ts_logo_thumb {
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
  -ms-interpolation-mode: bicubic !important;
}

/* =====================================================
   FIX: Modal email marketing — siempre oculto por default
   El JS lo muestra cuando corresponde (después de 8s)
   ===================================================== */
#lp-em-modal {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
    align-items: center !important;
    justify-content: center !important;
}
#lp-em-modal.lp-modal-visible {
    display: flex !important;
}

/* =====================================================
   Tienda Oficial MercadoLibre — ícono inline en menú
   menu-item-7938 = Tienda Oficial (antes: Contacto)
   ===================================================== */
.menu-item-7938 > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}
.menu-item-7938 > a .lp-ml-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.menu-item-7938 > a .lp-ml-icon svg {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}
