/*
Theme Name: Kadence Child - La Formula Importaciones
Template: kadence
Description: Tema hijo de Kadence con los estilos personalizados de La Formula Importaciones (paleta negro/dorado).
Version: 1.0.0
Author: La Formula Importaciones
*/

/* La Formula Importaciones - header brand polish */
#masthead .site-branding .site-title { color: #FFFFFF; }
#masthead .site-branding .site-title:hover { color: #C9A227; }
#masthead .site-branding .site-description { color: #B9B2A0; }
#mobile-header, #mobile-header .mobile-bar-container { background: #14120F; }
#mobile-header .site-branding .site-title { color: #FFFFFF; }
.header-popup-drawer, #popup-drawer { background: #14120F; }
.header-popup-drawer .close-nav-toggle-wrap, #popup-drawer .close-nav-toggle-wrap { color: #E7C873; }


/* La Formula Importaciones - header: pure black background (logo, menu, cart) */
#masthead, #masthead .site-header-row-container-inner, #masthead .kadence-sticky-header, #mobile-header, #mobile-header .mobile-bar-container { background:#000000 !important; }


/* La Formula Importaciones - product card polish */
ul.products li.product { background:#FFFFFF; border:1px solid #E4DCC8; border-radius:2px; padding:16px 16px 20px; transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
ul.products li.product:hover { border-color:#C9A227; box-shadow: 0 24px 48px -24px rgba(20,18,15,.35); transform: translateY(-4px); }
/* same card on every listing: Kadence's .content-bg would paint the text area cream on boxed pages (shop, categories) */
ul.products li.product .product-details.content-bg { background:transparent !important; }
ul.products li.product a.woocommerce-LoopProduct-link img { border-radius:2px; }
ul.products li.product .onsale { background:#C9A227 !important; color:#14120F !important; font-weight:700; font-size:11px; letter-spacing:.03em; text-transform:uppercase; border-radius:2px; min-height:auto; min-width:auto; line-height:1; padding:6px 10px; top:12px; left:12px; right:auto; }
ul.products li.product .star-rating span:before, ul.products li.product .star-rating:before { color:#C9A227; }
ul.products li.product .price { color:#14120F; }
ul.products li.product .price del { color:#5C574C; opacity:1; }
ul.products li.product .price ins { text-decoration:none; }


/* La Formula Importaciones - product card polish v2 (wc-block-grid markup) */
.wc-block-grid__product { background:#FFFFFF; border:1px solid #E4DCC8; border-radius:2px; transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
.wc-block-grid__product:hover { border-color:#C9A227; box-shadow: 0 24px 48px -24px rgba(20,18,15,.35); transform: translateY(-4px); }
.wc-block-grid__product-onsale { background:#C9A227 !important; color:#14120F !important; font-weight:700; font-size:11px; letter-spacing:.03em; text-transform:uppercase; border-radius:2px !important; min-height:auto !important; min-width:auto !important; line-height:1; padding:6px 10px !important; top:12px; left:12px; right:auto; }
.wc-block-grid__product-rating .star-rating span:before, .wc-block-grid__product-rating .star-rating:before { color:#C9A227; }


/* La Formula Importaciones - product card polish v3: category, button icon/padding, post-add state */
.lf-product-category { display:block; font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:#7C5F22; margin:0 0 4px; }
.products .add_to_cart_button, .wc-block-grid__product-add-to-cart .add_to_cart_button { display:flex !important; align-items:center; justify-content:center; gap:8px; width:100%; padding:12px 16px !important; box-sizing:border-box; }
.products .add_to_cart_button:before, .wc-block-grid__product-add-to-cart .add_to_cart_button:before { content:''; width:16px; height:16px; flex:0 0 16px; background-repeat:no-repeat; background-position:center; background-size:contain; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3h2l2.6 12.2a2 2 0 0 0 2 1.6h8.2a2 2 0 0 0 2-1.6L21 7H6'/%3E%3C/svg%3E"); }
.products .add_to_cart_button:hover:before, .wc-block-grid__product-add-to-cart .add_to_cart_button:hover:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314120F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M2.5 3h2l2.6 12.2a2 2 0 0 0 2 1.6h8.2a2 2 0 0 0 2-1.6L21 7H6'/%3E%3C/svg%3E"); }
.products .add_to_cart_button .kadence-svg-iconset { display:none; }
.products .add_to_cart_button.added, .wc-block-grid__product-add-to-cart .add_to_cart_button.added { display:none !important; }
.products a.added_to_cart, .wc-block-grid__product-add-to-cart a.added_to_cart { display:block; text-align:center; width:100%; box-sizing:border-box; background:#C9A227 !important; color:#14120F !important; font-weight:600; font-size:14px; padding:12px 16px; border-radius:2px; text-decoration:none; margin-top:8px; transition:background .2s ease; }
.products a.added_to_cart:hover, .wc-block-grid__product-add-to-cart a.added_to_cart:hover { background:#E7C873 !important; }


/* La Formula Importaciones - category cards (product_categories): white cards, icon badge, count + "Ver productos" */
.entry-content > .kb-row-layout-idcg1r1 + .woocommerce { padding-top:8px; padding-bottom:10px; display:flow-root; }
.entry-content > .kb-row-layout-idcg1r1 + .woocommerce ul.products { margin:0 !important; }
ul.products li.product-category { background:#FFFFFF; border:1px solid #E4DCC8; border-radius:4px; text-align:center; padding:36px 24px 30px !important; margin-bottom:24px !important; transition:box-shadow .25s ease, border-color .25s ease, transform .25s ease; }
ul.products li.product-category:hover { border-color:#C9A227; box-shadow:0 24px 48px -24px rgba(20,18,15,.35); transform:translateY(-4px); }
ul.products li.product-category a { text-decoration:none; display:block; }
ul.products li.product-category img { display:none !important; }
ul.products li.product-category .product-details { position:relative; padding:0 !important; }
ul.products li.product-category .product-details:before {
	content:''; display:block; width:72px; height:72px; margin:0 auto 18px; border-radius:50%;
	background-color:#FAF6EC; border:1px solid rgba(201,162,39,.5);
	background-repeat:no-repeat; background-position:center; background-size:34px 34px;
	transition:background-color .25s ease, border-color .25s ease;
}
ul.products li.product-category:hover .product-details:before { background-color:#14120F; border-color:#14120F; }
ul.products li.product-category a[href*='electrodomesticos'] .product-details:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C5F22' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2.5' width='16' height='19' rx='2'/%3E%3Cpath d='M4 7h16'/%3E%3Ccircle cx='7.2' cy='4.8' r='.6'/%3E%3Ccircle cx='9.6' cy='4.8' r='.6'/%3E%3Ccircle cx='12' cy='14.2' r='4.6'/%3E%3Cpath d='M9.2 14.6c1 .9 2 .9 2.8 0s1.8-.9 2.8 0'/%3E%3C/svg%3E"); }
ul.products li.product-category a[href*='electrodomesticos']:hover .product-details:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7C873' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2.5' width='16' height='19' rx='2'/%3E%3Cpath d='M4 7h16'/%3E%3Ccircle cx='7.2' cy='4.8' r='.6'/%3E%3Ccircle cx='9.6' cy='4.8' r='.6'/%3E%3Ccircle cx='12' cy='14.2' r='4.6'/%3E%3Cpath d='M9.2 14.6c1 .9 2 .9 2.8 0s1.8-.9 2.8 0'/%3E%3C/svg%3E"); }
ul.products li.product-category a[href*='hogar-y-cocina'] .product-details:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C5F22' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5h15v5.5a4 4 0 0 1-4 4h-7a4 4 0 0 1-4-4z'/%3E%3Cpath d='M3 10.5h18'/%3E%3Cpath d='M2 12.8h2.5M19.5 12.8H22'/%3E%3Cpath d='M9.5 7.8a2.5 2.5 0 0 1 5 0'/%3E%3Cpath d='M9 3.5c0 .8.8 1 .8 1.8M12.5 3c0 .8.8 1 .8 1.8'/%3E%3C/svg%3E"); }
ul.products li.product-category a[href*='hogar-y-cocina']:hover .product-details:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7C873' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5h15v5.5a4 4 0 0 1-4 4h-7a4 4 0 0 1-4-4z'/%3E%3Cpath d='M3 10.5h18'/%3E%3Cpath d='M2 12.8h2.5M19.5 12.8H22'/%3E%3Cpath d='M9.5 7.8a2.5 2.5 0 0 1 5 0'/%3E%3Cpath d='M9 3.5c0 .8.8 1 .8 1.8M12.5 3c0 .8.8 1 .8 1.8'/%3E%3C/svg%3E"); }
ul.products li.product-category a[href*='tecnologia'] .product-details:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C5F22' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4.5' width='14' height='10' rx='1.2'/%3E%3Cpath d='M2.5 18.5h19l-1.6-3.2H4.1z'/%3E%3Cpath d='M10.5 17h3'/%3E%3C/svg%3E"); }
ul.products li.product-category a[href*='tecnologia']:hover .product-details:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7C873' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4.5' width='14' height='10' rx='1.2'/%3E%3Cpath d='M2.5 18.5h19l-1.6-3.2H4.1z'/%3E%3Cpath d='M10.5 17h3'/%3E%3C/svg%3E"); }
ul.products li.product-category .woocommerce-loop-category__title { font-family:'Playfair Display', serif !important; font-weight:600; color:#14120F; font-size:21px !important; line-height:1.25; margin:0 !important; padding:0 !important; }
ul.products li.product-category .woocommerce-loop-category__title mark.count { display:block; background:none; color:#7C5F22; font-family:'Work Sans', sans-serif; font-size:13px; font-weight:500; letter-spacing:.02em; margin-top:6px; }
ul.products li.product-category .woocommerce-loop-category__title:after { content:'Ver productos →'; display:inline-block; margin-top:16px; font-family:'Work Sans', sans-serif; font-size:12px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; color:#7C5F22; border-bottom:1px solid rgba(201,162,39,.5); padding-bottom:2px; transition:color .2s ease, border-color .2s ease; }
ul.products li.product-category:hover .woocommerce-loop-category__title:after { color:#C9A227; border-color:#C9A227; }
@media (max-width:767px) { ul.products li.product-category { margin-bottom:0 !important; } }


/* divider between "Compra por Categoría" and "Tu carrito, siempre a la mano" */
.kb-row-layout-idct1r1 > .kt-row-column-wrap { position:relative; }
.kb-row-layout-idct1r1 > .kt-row-column-wrap::before { content:''; position:absolute; top:28px; left:30px; right:30px; height:1px; background:linear-gradient(90deg, rgba(201,162,39,0) 0%, rgba(201,162,39,.55) 15%, rgba(201,162,39,.55) 85%, rgba(201,162,39,0) 100%); pointer-events:none; }


/* La Formula Importaciones - header WhatsApp icon + layout polish */
.lf-header-whatsapp { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; color:#E7C873; transition:color .2s ease; }
.lf-header-whatsapp:hover { color:#C9A227; }
.lf-header-whatsapp:before { content:''; display:block; width:20px; height:20px; background-repeat:no-repeat; background-position:center; background-size:contain; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7C873' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.6-4.9A8.5 8.5 0 1 1 8.9 19.4L3 21z'/%3E%3Cpath d='M8.3 9.7c.3 2.7 2.5 4.9 5.2 5.2'/%3E%3C/svg%3E"); }
.lf-header-whatsapp:hover:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.6-4.9A8.5 8.5 0 1 1 8.9 19.4L3 21z'/%3E%3Cpath d='M8.3 9.7c.3 2.7 2.5 4.9 5.2 5.2'/%3E%3C/svg%3E"); }
#main-header .header-html { display:flex; align-items:center; }


/* La Formula Importaciones - header alignment fix (v2) */
.site-header-main-section-left, .site-header-main-section-center, .site-header-main-section-right { display:flex; align-items:center; }
.site-header-main-section-right { justify-content:flex-end; gap:18px; }
.site-header-main-section-right .header-html, .site-header-main-section-right .header-cart-wrap, .site-header-main-section-right .site-header-focus-item { display:flex; align-items:center; margin:0; }
#main-header .main-navigation .primary-menu-container > ul { display:flex; align-items:center; }


/* La Formula Importaciones - footer */
#colophon { color:#B9B2A0; }
#colophon .footer-widget-row { display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:48px; }
#colophon .widget-title, #colophon .footer-widget-area h4 { font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:#E7C873; font-weight:600; margin-bottom:18px; }
#colophon .footer-widget-area ul { list-style:none; margin:0; padding:0; }
#colophon .footer-widget-area .menu li { margin-bottom:12px; }
#colophon .footer-widget-area .menu a { font-size:13.5px; color:#B9B2A0; text-decoration:none; transition:color .2s ease; }
#colophon .footer-widget-area .menu a:hover { color:#E7C873; }
.lf-footer-logo { display:flex; align-items:center; gap:12px; margin-bottom:18px; }
.lf-footer-mark { width:40px; height:40px; border:1.5px solid #C9A227; border-radius:50%; display:flex; align-items:center; justify-content:center; color:#C9A227; font-family:'Playfair Display',serif; font-weight:700; font-size:15px; flex-shrink:0; }
.lf-footer-wordmark { font-family:'Playfair Display',serif; font-weight:700; font-size:17px; color:#FFFFFF; letter-spacing:.02em; }
.lf-footer-blurb { font-size:13.5px; color:#B9B2A0; line-height:1.7; max-width:280px; margin:0 0 20px; }
.lf-footer-social { display:flex; gap:10px; }
.lf-social-icon { width:36px; height:36px; border:1px solid rgba(201,162,39,.4); border-radius:50%; display:flex; align-items:center; justify-content:center; transition:all .2s ease; position:relative; }
.lf-social-icon:hover { background:#C9A227; border-color:#C9A227; }
.lf-social-icon:before { content:''; width:16px; height:16px; background-repeat:no-repeat; background-position:center; background-size:contain; }
.lf-social-instagram:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7C873' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.2' cy='6.8' r='1'/%3E%3C/svg%3E"); }
.lf-social-whatsapp:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7C873' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.6-4.9A8.5 8.5 0 1 1 8.9 19.4L3 21z'/%3E%3Cpath d='M8.3 9.7c.3 2.7 2.5 4.9 5.2 5.2'/%3E%3C/svg%3E"); }
.lf-social-facebook:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7C873' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z'/%3E%3C/svg%3E"); }
.lf-social-icon:hover:before { filter: brightness(0) saturate(100%); }
.lf-footer-list li { font-size:13.5px; color:#B9B2A0; margin-bottom:12px; }
.lf-footer-list a { color:#B9B2A0; text-decoration:none; transition:color .2s ease; }
.lf-footer-list a:hover { color:#E7C873; }
.lf-footer-payment { display:flex; gap:8px; flex-wrap:wrap; }
.lf-footer-payment span { border:1px solid rgba(255,255,255,.15); border-radius:2px; padding:5px 10px; font-size:11px; color:#B9B2A0; }
#colophon .footer-bottom-wrap, .footer-html { color:#8b8578; font-size:12.5px; }
#colophon .footer-bottom-row { border-top:1px solid rgba(255,255,255,.08); }


/* La Formula Importaciones - footer bottom bar fix */
.site-bottom-footer-inner-wrap {
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  border-top:1px solid rgba(201,162,39,.25) !important;
  padding-top:22px !important;
  margin-top:6px !important;
}
.site-footer-bottom-section-2,
.site-footer-bottom-section-3,
.site-footer-bottom-section-4 { display:none !important; }
.site-footer-bottom-section-1 { flex:0 0 auto !important; width:auto !important; text-align:left !important; }
.site-footer-bottom-section-5 { flex:0 0 auto !important; width:auto !important; margin-left:auto !important; }
.lf-footer-payment { flex-wrap:nowrap !important; justify-content:flex-end !important; }


/* La Formula Importaciones - mini cart drawer (Revisar el carrito) */
.popup-drawer .drawer-header { background:#14120F !important; border-bottom:1px solid rgba(201,162,39,.35) !important; }
.popup-drawer .side-cart-header { font-family:'Playfair Display', serif !important; color:#FFFFFF !important; font-weight:600 !important; }
.popup-drawer .drawer-header button, .popup-drawer .drawer-header .close-drawer { color:#E7C873 !important; }
.popup-drawer .drawer-header svg, .popup-drawer .drawer-header button svg { stroke:#E7C873 !important; fill:#E7C873 !important; }
.popup-drawer .woocommerce-mini-cart-item { border-bottom:1px solid #E4DCC8 !important; }
.popup-drawer .woocommerce-mini-cart-item a:not(.remove) { color:#14120F !important; font-weight:600 !important; }
.popup-drawer .woocommerce-mini-cart-item .quantity { color:#7C5F22 !important; }
.popup-drawer .woocommerce-mini-cart-item .remove { color:#B23B3B !important; }
.popup-drawer .woocommerce-mini-cart__total.total { border-top:1px solid #C9A227 !important; padding-top:14px !important; font-weight:700 !important; color:#14120F !important; }
.popup-drawer .wc-forward.checkout { display:block !important; width:100% !important; background:#C9A227 !important; color:#14120F !important; border:none !important; border-radius:2px !important; padding:14px 18px !important; text-align:center !important; font-weight:700 !important; text-transform:uppercase !important; letter-spacing:.04em !important; font-size:13px !important; transition:background .2s ease !important; }
.popup-drawer .wc-forward.checkout:hover { background:#E7C873 !important; color:#14120F !important; }
.popup-drawer .wc-forward:not(.checkout) { display:block !important; width:100% !important; background:transparent !important; color:#14120F !important; border:1px solid #14120F !important; border-radius:2px !important; padding:12px 18px !important; text-align:center !important; font-weight:600 !important; margin-bottom:10px !important; transition:all .2s ease !important; }
.popup-drawer .wc-forward:not(.checkout):hover { background:#14120F !important; color:#FFFFFF !important; }


/* La Formula Importaciones - contact section ("Hablemos de tu próximo pedido"): phone / mail links in the site palette */
.kb-row-layout-idco1r1 .wp-block-kadence-advancedheading a { color:inherit !important; text-decoration:none; border-bottom:1px solid rgba(201,162,39,.45); transition:color .2s ease, border-color .2s ease; }
.kb-row-layout-idco1r1 .wp-block-kadence-advancedheading a:hover { color:#E7C873 !important; border-color:#E7C873; }
/* slogan under the contact details */
.kb-row-layout-idco1r1 [data-kb-block="kb-adv-headingco1slogan"]:before { content:''; display:block; width:44px; height:1px; background:#C9A227; margin:0 0 16px; opacity:.8; }
/* icons like the footer CONTACTO list: location, WhatsApp, mail */
.kb-row-layout-idco1r1 [data-kb-block="kb-adv-headingco1h4"],
.kb-row-layout-idco1r1 [data-kb-block="kb-adv-headingco1h5"],
.kb-row-layout-idco1r1 [data-kb-block="kb-adv-headingco1h6"] { display:flex !important; align-items:center; gap:12px; }
.kb-row-layout-idco1r1 [data-kb-block="kb-adv-headingco1h4"]:before,
.kb-row-layout-idco1r1 [data-kb-block="kb-adv-headingco1h5"]:before,
.kb-row-layout-idco1r1 [data-kb-block="kb-adv-headingco1h6"]:before { content:''; flex:0 0 20px; width:20px; height:20px; background-repeat:no-repeat; background-position:center; background-size:contain; }
.kb-row-layout-idco1r1 [data-kb-block="kb-adv-headingco1h4"]:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.kb-row-layout-idco1r1 [data-kb-block="kb-adv-headingco1h5"]:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.6-4.9A8.5 8.5 0 1 1 8.9 19.4L3 21z'/%3E%3Cpath d='M8.3 9.7c.3 2.7 2.5 4.9 5.2 5.2'/%3E%3C/svg%3E"); }
.kb-row-layout-idco1r1 [data-kb-block="kb-adv-headingco1h6"]:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }


/* La Formula Importaciones - cart "Finalizar compra" + checkout "Realizar el pedido" (WooCommerce blocks), same style as the mini-cart button */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.woocommerce-cart .checkout-button,
.woocommerce-checkout #place_order {
	background:#C9A227 !important; color:#14120F !important; border:none !important; border-radius:2px !important;
	font-family:'Work Sans', sans-serif !important; font-size:14px !important; font-weight:700 !important;
	text-transform:uppercase !important; letter-spacing:.06em !important;
	min-height:54px; padding:16px 24px !important; box-shadow:none !important;
	transition:background-color .2s ease, transform .2s ease, box-shadow .2s ease !important;
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.woocommerce-cart .checkout-button:hover,
.woocommerce-checkout #place_order:hover {
	background:#E7C873 !important; color:#14120F !important;
	transform:translateY(-1px); box-shadow:0 14px 28px -16px rgba(20,18,15,.45) !important;
}
.wc-block-cart__submit-button:focus-visible,
.wc-block-components-checkout-place-order-button:focus-visible,
.woocommerce-cart .checkout-button:focus-visible,
.woocommerce-checkout #place_order:focus-visible { outline:2px solid #14120F !important; outline-offset:3px; }
.wc-block-components-checkout-place-order-button .wc-block-components-button__text,
.wc-block-cart__submit-button .wc-block-components-button__text { color:inherit !important; }


/* La Formula Importaciones - product page: add to cart in the site gold */
.single-product .summary .single_add_to_cart_button {
	background:#C9A227 !important; color:#14120F !important; border:none !important; border-radius:2px !important;
	font-family:'Work Sans', sans-serif !important; font-size:14px !important; font-weight:700 !important;
	text-transform:uppercase !important; letter-spacing:.06em !important;
	display:inline-flex !important; align-items:center; justify-content:center; height:48px !important; min-height:48px !important; line-height:1.2 !important; padding:0 26px !important; white-space:nowrap;
	transition:background-color .2s ease !important;
}
.single-product .summary .single_add_to_cart_button:hover { background:#E7C873 !important; color:#14120F !important; }
/* quantity + button on one row, same height */
.single-product .summary form.cart:not(.variations_form), .single-product .summary .woocommerce-variation-add-to-cart { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.single-product .summary form.cart .quantity { margin:0 !important; float:none !important; }
.single-product .summary form.cart .quantity input.qty { height:48px !important; min-height:48px; box-sizing:border-box !important; margin:0 !important; border:1px solid #E4DCC8; border-radius:2px; }

/* La Formula Importaciones - product page: "Consultar por este producto" (button + <dialog> popup with Contact Form 7) */
.lf-inquiry { margin:18px 0 26px; max-width:520px; }
.lf-inquiry .lf-inquiry-toggle {
	cursor:pointer; display:flex; align-items:center; justify-content:center; gap:10px; width:100%;
	background:transparent !important; box-shadow:none !important;
	border:1px solid #14120F !important; border-radius:2px !important; padding:0 20px !important; height:48px; box-sizing:border-box;
	font-family:'Work Sans', sans-serif; font-size:14px !important; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#14120F !important; line-height:1.2;
	transition:background-color .2s ease, color .2s ease;
}
.lf-inquiry .lf-inquiry-toggle:hover { background:#14120F !important; color:#E7C873 !important; }
.lf-inquiry-dialog { padding:0; border:none; background:transparent; width:calc(100% - 32px); max-width:580px; max-height:calc(100vh - 32px); overflow:auto; }
.lf-inquiry-dialog::backdrop { background:rgba(10,9,7,.72); backdrop-filter:blur(2px); }
.lf-inquiry-dialog[open] { animation:lfDlgIn .25s ease-out; }
@keyframes lfDlgIn { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
html:has(.lf-inquiry-dialog[open]) { overflow:hidden; }
.lf-inquiry-dialog .lf-inquiry-panel { position:relative; padding:40px 40px 24px; }
.lf-inquiry-title { font-family:'Playfair Display', serif; font-size:22px; font-weight:600; line-height:1.4; color:#14120F; margin:0 36px 22px 0; }
.lf-inquiry-title-pre { font-size:.8em; font-weight:400; color:#7C5F22; }
.lf-inquiry-title-name { font-weight:700; color:#14120F; }
.lf-inquiry .lf-inquiry-close {
	position:absolute; top:12px; right:12px; width:36px; height:36px; padding:0 !important; display:flex; align-items:center; justify-content:center;
	background:transparent !important; border:none !important; box-shadow:none !important; color:#14120F !important; font-size:28px !important; line-height:1; cursor:pointer; border-radius:50% !important;
}
.lf-inquiry .lf-inquiry-close:hover { background:#14120F !important; color:#E7C873 !important; }
.lf-inquiry .lf-inquiry-close:focus-visible { outline:2px solid #C9A227; outline-offset:2px; }
@media (max-width:600px) { .lf-inquiry-dialog .lf-inquiry-panel { padding:30px 20px 14px; } .lf-inquiry-title { font-size:20px; } }
.lf-inquiry-toggle:before { content:''; width:18px; height:18px; flex:0 0 18px; background:no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314120F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8.5 8.5 0 0 1-12.4 7.6L3 21l1.4-5.6A8.5 8.5 0 1 1 21 12z'/%3E%3Cpath d='M8.5 10.5h7M8.5 13.5h4.5'/%3E%3C/svg%3E"); }
.lf-inquiry-toggle:hover:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7C873' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8.5 8.5 0 0 1-12.4 7.6L3 21l1.4-5.6A8.5 8.5 0 1 1 21 12z'/%3E%3Cpath d='M8.5 10.5h7M8.5 13.5h4.5'/%3E%3C/svg%3E"); }
.lf-inquiry-toggle:focus-visible { outline:2px solid #C9A227; outline-offset:3px; }
.lf-inquiry-panel { background:#FAF7F1; border:none; border-radius:4px; }
.lf-inquiry-intro { font-size:15px; line-height:1.6; color:#5C574C; margin:0 0 20px; }
.lf-inquiry-intro strong { color:#14120F; }
/* form: same look as the homepage contact form ("Envíanos tu consulta") */
.lf-inquiry-form .lf-cq-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.lf-inquiry-form .lf-cq-field { margin:0 0 16px; }
.lf-inquiry-form label { display:block; font-size:17px; font-weight:400; line-height:1.8; color:#2D3748; }
.lf-inquiry-form .lf-req { color:#E53E3E; margin-left:1px; }
.lf-inquiry-form input[type=text], .lf-inquiry-form input[type=tel], .lf-inquiry-form input[type=email], .lf-inquiry-form textarea {
	width:100%; box-sizing:border-box; margin-top:0; background:#FFFFFF; border:1px solid #A0AEC0; border-radius:3px;
	padding:10px 12px; font-size:17px; font-weight:400; line-height:1.6; color:#2D3748; box-shadow:none; transition:border-color .2s ease, box-shadow .2s ease;
}
.lf-inquiry-form input::placeholder, .lf-inquiry-form textarea::placeholder { color:#2D3748; opacity:.55; }
.lf-inquiry-form textarea { height:130px; min-height:130px; resize:vertical; }
.lf-inquiry-form input:focus, .lf-inquiry-form textarea:focus { outline:none; border-color:#C9A227; box-shadow:0 0 0 3px rgba(201,162,39,.18); }
.lf-inquiry-form .wpcf7-submit {
	width:auto; min-height:48px; padding:8px 16px; background:#C9A227; color:#14120F; border:none; border-radius:2px; cursor:pointer; box-shadow:none;
	font-size:18px; font-weight:400; letter-spacing:normal; text-transform:none; transition:background-color .2s ease;
}
.lf-inquiry-form .wpcf7-submit:hover { background:#E7C873; }
.lf-inquiry-form .lf-cq-submit { display:flex; align-items:center; justify-content:space-between; gap:12px 20px; flex-wrap:wrap; margin:4px 0 0; }
.lf-inquiry-form .lf-cq-note { font-size:15px; line-height:1.5; color:#5C574C; }
.lf-inquiry-form .lf-cq-submit .wpcf7-submit { order:2; margin-left:0; }
.lf-inquiry-form .lf-cq-submit .wpcf7-spinner { order:1; margin:0 -8px 0 auto; }
.lf-inquiry-form .wpcf7-not-valid-tip { font-size:12px; color:#B23B3B; margin-top:4px; }
.lf-inquiry-form .wpcf7-response-output { margin:6px 0 14px !important; padding:10px 12px !important; font-size:13px; border-radius:2px; }
@media (max-width:600px) { .lf-inquiry-form .lf-cq-row { grid-template-columns:1fr; gap:0; } .lf-inquiry-form label, .lf-inquiry-form input[type=text], .lf-inquiry-form input[type=tel], .lf-inquiry-form input[type=email], .lf-inquiry-form textarea { font-size:16px; } }


/* La Formula Importaciones - footer font size bump */
#colophon .lf-footer-list li { font-size:15px !important; }
#colophon .lf-footer-blurb { font-size:15px !important; line-height:1.6 !important; }
#colophon .widget-title { font-size:18px !important; letter-spacing:.04em !important; }
#colophon .footer-html, #colophon .footer-bottom-wrap { font-size:14px !important; }
#colophon .lf-footer-payment span { font-size:12.5px !important; }


/* La Formula Importaciones - footer link lists (Enlaces/Ayuda/Contacto) white + bigger */
#colophon .lf-footer-list a { color:#FFFFFF !important; font-size:16px !important; }
#colophon .lf-footer-list a:hover { color:#E7C873 !important; }


/* La Formula Importaciones - footer columns fix: Enlaces (nav menu) + Contacto/Ayuda (plain text li) */
#colophon .lf-footer-list li,
#colophon .lf-footer-list li a { color:#FFFFFF !important; font-size:16px !important; }
#colophon .lf-footer-list li a:hover { color:#E7C873 !important; }
#colophon .widget_nav_menu .menu a { color:#FFFFFF !important; font-size:16px !important; }
#colophon .widget_nav_menu .menu a:hover { color:#E7C873 !important; }


/* La Formula Importaciones - footer list vertical spacing tighter */
#colophon .lf-footer-list li { margin-bottom:6px !important; }
#colophon .widget_nav_menu .menu li { margin-bottom:6px !important; }


/* La Formula Importaciones - footer social icon circle border */
#colophon .lf-social-icon { border: 1px solid #C9A227 !important; }


/* La Formula Importaciones - page title banner (Tienda, Carrito, etc.) on palette */
.entry-hero .entry-header .entry-title, .entry-hero .entry-header h1, .entry-hero .page-title { color:#14120F !important; font-family:'Playfair Display', serif !important; font-weight:600 !important; }
.entry-hero .entry-header .archive-description, .entry-hero .entry-header .entry-meta { color:#5C574C !important; }
.entry-hero-container-inner { border-bottom:1px solid rgba(201,162,39,.45); }


/* La Formula Importaciones - home product/category grids: same content width as the Kadence rows */
.entry-content > .woocommerce { box-sizing:border-box; padding-left:max(30px, calc((100% - var(--global-content-width, 1290px)) / 2 + 30px)); padding-right:max(30px, calc((100% - var(--global-content-width, 1290px)) / 2 + 30px)); }
.entry-content > .kb-row-layout-idtn1r1 + .woocommerce { background:#FFFFFF; }
.entry-content > .kb-row-layout-idcg1r1 + .woocommerce { background:#F1EAD9; }


/* La Formula Importaciones - Instagram feed (Smash Balloon) */
#sb_instagram { padding:0 !important; max-width:1230px; margin:0 auto; }
#sb_instagram #sbi_images { padding:0 !important; }
#sb_instagram .sbi_item .sbi_photo { border-radius:2px; overflow:hidden; border:1px solid #E4DCC8; transition:border-color .25s ease, box-shadow .25s ease; }
#sb_instagram .sbi_item:hover .sbi_photo { border-color:#C9A227; box-shadow:0 24px 48px -24px rgba(20,18,15,.35); }
#sb_instagram .sbi_photo_wrap .sbi-screenreader { color:transparent; }


/* La Formula Importaciones - HERO: animated aerial sea, container ship looping edge to edge, black fade, logo left, text reveal right */
.kb-row-layout-idher1r1 {
	--ship-w: clamp(520px, 60vw, 980px);
	position:relative; overflow:hidden; isolation:isolate;
	background-image:url("assets/hero-sea-dark-large.jpg");
	background-size:cover; background-position:center; background-repeat:no-repeat;
}
.kb-row-layout-idher1r1 > .kt-row-column-wrap { position:relative; z-index:10; }
.kb-row-layout-idher1r1::before { content:none; display:none; }
.kb-row-layout-idher1r1::after {
	content:''; display:block; position:absolute; inset:0; z-index:1; pointer-events:none;
	background-color:rgba(0,0,0,.7);
}
.lf-hero-fx { position:absolute; inset:0; overflow:hidden; pointer-events:none; }

/* sea: two photo layers that sway slowly in opposite directions */
.lf-sea { position:absolute; z-index:0; inset:-8%; background:url("assets/hero-sea-dark-large.jpg") center / cover no-repeat; will-change:transform; }
.lf-sea-a { filter:brightness(1.7) contrast(1.1); animation:lfSeaA 24s ease-in-out infinite alternate; }
.lf-sea-b { opacity:.22; background-size:160% auto; background-position:75% 30%; mix-blend-mode:screen; filter:brightness(1.6) contrast(1.1); animation:lfSeaB 19s ease-in-out infinite alternate; }
@keyframes lfSeaA { from { transform:translate3d(-1.4%, .8%, 0) scale(1.04); } to { transform:translate3d(1.4%, -.8%, 0) scale(1.10); } }
@keyframes lfSeaB { from { transform:translate3d(2%, -1%, 0) scale(1.12); } to { transform:translate3d(-2%, 1%, 0) scale(1.05); } }

/* ship: sails left to right; when JS runs (hero gets .lf-js) its position is driven by assets/hero-wake.js so the wake stays in sync */
.lf-ship { position:absolute; z-index:0; left:0; bottom:calc(92px - var(--ship-w) * .0953); width:var(--ship-w); aspect-ratio:4200 / 1300; will-change:transform; transform:translateX(-94%); animation:lfSail 98s linear infinite; }
@keyframes lfSail { from { transform:translateX(-94%); } to { transform:translateX(100vw); } }
.kb-row-layout-idher1r1.lf-js .lf-ship { animation:none; }

/* sea: WebGL water surface (assets/hero-sea.js); the photo layers above stay as the fallback */
.lf-sea-gl { position:absolute; inset:0; width:100%; height:100%; z-index:0; display:none; pointer-events:none; }
.kb-row-layout-idher1r1.lf-gl .lf-sea-gl { display:block; }
.kb-row-layout-idher1r1.lf-gl .lf-sea { display:none; }

/* wake: foam simulated on a canvas; it stays where the ship left it in the water and slowly spreads and fades */
.lf-wake-canvas { position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }
.lf-hull { filter:brightness(.82) saturate(.9) contrast(1.05); position:absolute; left:31.905%; top:32.23%; width:61.02%; height:40.92%; background:url("assets/hero-hull.webp") center / 100% 100% no-repeat; transform-origin:50% 50%; animation:lfBob 5s ease-in-out infinite alternate; }
@keyframes lfBob { from { transform:translateY(-1px) rotate(-.15deg); } to { transform:translateY(1.5px) rotate(.2deg); } }

.lf-hero-logo { margin:0 !important; text-align:center; display:block !important; width:100%; }
.lf-hero-logo figure { display:block !important; width:100% !important; margin:0 auto !important; }
/* slogan under the hero logo: centered, with a short gold line above */
.kadence-columnher1c1 [data-kb-block="kb-adv-headingher1slogan"] { text-align:center !important; text-shadow:0 2px 14px rgba(0,0,0,.6); }
.kadence-columnher1c1 [data-kb-block="kb-adv-headingher1slogan"]:before { content:''; display:block; width:44px; height:1px; background:#C9A227; margin:0 auto 16px; opacity:.8; }
.lf-hero-logo img { width:100%; max-width:470px; height:auto; display:inline-block; filter:drop-shadow(0 18px 38px rgba(0,0,0,.6)); }

.kadence-columnher1c2 .kt-inside-inner-col > * { opacity:0; animation:lfReveal .9s cubic-bezier(.22,.61,.36,1) forwards; }
.kadence-columnher1c2 .kt-inside-inner-col > *:nth-child(1) { animation-delay:.35s; }
.kadence-columnher1c2 .kt-inside-inner-col > *:nth-child(2) { animation-delay:.95s; }
.kadence-columnher1c2 .kt-inside-inner-col > *:nth-child(3) { animation-delay:1.6s; }
.kadence-columnher1c2 .kt-inside-inner-col > *:nth-child(4) { animation-delay:2.25s; }
.kadence-columnher1c2 .kt-inside-inner-col > *:nth-child(5) { animation-delay:2.9s; }
@keyframes lfReveal { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }

@media (max-width:767px) {
	.kb-row-layout-idher1r1 { --ship-w:460px; }
	.lf-hero-logo img { max-width:320px; }
}
@media (prefers-reduced-motion:reduce) {
	.lf-sea, .lf-hull, .lf-ship { animation:none !important; }
	.lf-ship { transform:translateX(28vw); }
	.kadence-columnher1c2 .kt-inside-inner-col > * { opacity:1; animation:none; }
}


/* La Formula Importaciones - floating WhatsApp button (same hover as footer social icons) */
.lf-whatsapp-float { position:fixed; right:28px; bottom:28px; z-index:99999; width:58px; height:58px; border-radius:50%; background:#C9A227; border:1px solid #C9A227; display:flex; align-items:center; justify-content:center; box-shadow:0 24px 48px -24px rgba(20,18,15,.45); text-decoration:none; transition:all .2s ease; }
.lf-whatsapp-float svg { stroke:#14120F; transition:stroke .2s ease; }
.lf-whatsapp-float:hover { background:#14120F; border-color:#C9A227; }
.lf-whatsapp-float:hover svg { stroke:#C9A227; }


/* footer bottom bar: on narrow screens let copyright and payment badges stack instead of overflowing */
@media (max-width:900px) {
	.site-bottom-footer-inner-wrap { flex-wrap:wrap !important; row-gap:14px; }
	.site-footer-bottom-section-1, .site-footer-bottom-section-5 { flex:1 1 100% !important; margin-left:0 !important; }
	.lf-footer-payment { flex-wrap:wrap !important; justify-content:flex-start !important; }
}

/* La Formula Importaciones - footer CONTACTO list with icons (location, WhatsApp, mail) */
#colophon .lf-contact-list .lf-ci { display:flex; align-items:center; gap:10px; }
#colophon .lf-contact-list .lf-ci:before { content:''; flex:0 0 18px; width:18px; height:18px; background-repeat:no-repeat; background-position:center; background-size:contain; }
#colophon .lf-contact-list .lf-ci-loc:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
#colophon .lf-contact-list .lf-ci-wa:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21l1.6-4.9A8.5 8.5 0 1 1 8.9 19.4L3 21z'/%3E%3Cpath d='M8.3 9.7c.3 2.7 2.5 4.9 5.2 5.2'/%3E%3C/svg%3E"); }
#colophon .lf-contact-list .lf-ci-mail:before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3.5 6.5l8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }
#colophon .lf-contact-list .lf-ci a { word-break:break-word; }


/* La Formula Importaciones - footer credit link */
#colophon .lf-credit { color:#C9A227 !important; font-weight:400 !important; text-decoration:none !important; }
#colophon .lf-credit:hover { color:#E7C873 !important; text-decoration:none !important; }
