/* ================================================
   APECOL.COM.CO — CSS COMPLETO FINAL
   ================================================ */

/* ══════════════════════════════════════════════
   1. HEADER
   ══════════════════════════════════════════════ */
.ast-primary-header-bar, .main-header-bar,
.ast-above-header-bar, .ast-below-header-bar,
.ast-site-identity, .ast-cart-menu-wrap { display: none !important; }

.apecol-topbar { background: #1a1a2e; width: 100%; }
.apecol-topbar-inner {
    max-width: 1440px; margin: 0 auto; padding: 5px 24px;
    display: flex; justify-content: flex-end; align-items: center; gap: 20px;
}
.apecol-topbar a { color: #ccc !important; text-decoration: none !important; font-size: 12px; transition: color 0.2s; }
.apecol-topbar a:hover { color: #fff !important; }

.apecol-midbar { background: #fff; border-bottom: 1px solid #eee; padding: 10px 0; }
.apecol-midbar-inner { max-width: 1440px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
.apecol-midbar-logo a { text-decoration: none !important; display: block; }
.apecol-midbar-logo img { height: 58px !important; width: auto !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; }
.apecol-midbar-search { flex: 1; }
.apecol-midbar-search form { display: flex; width: 100%; }
.apecol-midbar-search input[type="text"] {
    flex: 1; min-width: 0; padding: 9px 16px;
    border: 1px solid #d0d0d0; border-right: none;
    border-radius: 4px 0 0 4px; font-size: 14px; outline: none;
}
.apecol-midbar-search button {
    background: #1a1a2e; color: #fff; border: none;
    padding: 9px 20px; border-radius: 0 4px 4px 0;
    cursor: pointer; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.apecol-midbar-actions { display: flex; gap: 10px; flex-shrink: 0; }
.apecol-btn-login {
    background: #fff; color: #1a1a2e !important; border: 1px solid #1a1a2e;
    padding: 8px 16px; border-radius: 4px; font-size: 13px; font-weight: 500;
    text-decoration: none !important; white-space: nowrap;
}
.apecol-btn-cart {
    background: #1a1a2e; color: #fff !important; border: 1px solid #1a1a2e;
    padding: 8px 16px; border-radius: 4px; font-size: 13px; font-weight: 500;
    text-decoration: none !important; white-space: nowrap;
}

.apecol-navbar { background: #1a1a2e; width: 100%; position: relative; z-index: 9999; margin-bottom: 16px; }
.apecol-navbar-inner { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.apecol-nav-menu { display: flex !important; flex-wrap: nowrap !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.apecol-nav-menu > li { position: relative; list-style: none; }
.apecol-nav-menu > li > a {
    color: #fff !important; font-size: 13px !important; font-weight: 500 !important;
    padding: 13px 14px !important; display: block !important; text-decoration: none !important;
    text-transform: uppercase !important; white-space: nowrap !important;
}
.apecol-nav-menu > li > a:hover,
.apecol-nav-menu > li.current-menu-item > a { color: #ffcc00 !important; background: rgba(255,255,255,0.1) !important; }
.apecol-nav-menu ul {
    display: none; position: absolute; top: 100%; left: 0;
    background: #fff !important; border-top: 3px solid #1a1a2e;
    border-radius: 0 0 6px 6px; box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    min-width: 210px; list-style: none; padding: 0; margin: 0; z-index: 9999;
}
.apecol-nav-menu li:hover > ul { display: block; }
.apecol-nav-menu ul li a {
    color: #1a1a1a !important; font-size: 13px !important; padding: 9px 16px !important;
    display: block !important; border-bottom: 1px solid #f0f0f0 !important;
    text-decoration: none !important; font-weight: 400 !important; white-space: nowrap !important;
}
.apecol-nav-menu ul li a:hover { background: #f0f0f8 !important; color: #1a1a2e !important; }

/* ══════════════════════════════════════════════
   2. LAYOUT TIENDA
   ══════════════════════════════════════════════ */
.woocommerce-page #secondary, body.woocommerce #secondary,
body.woocommerce-page #secondary { display: none !important; }
.woocommerce-page #primary, body.woocommerce #primary {
    width: 100% !important; max-width: 100% !important; float: none !important; margin: 0 !important;
}
.apecol-shop-layout { display: flex !important; gap: 24px !important; align-items: flex-start !important; width: 100% !important; box-sizing: border-box !important; }
.apecol-filtros-panel { width: 220px !important; min-width: 220px !important; flex-shrink: 0 !important; order: -1 !important; align-self: flex-start !important; }
.apecol-filtros-panel .apecol-filter-group:last-child { max-height: 350px !important; overflow-y: auto !important; }
.apecol-productos-wrapper { flex: 1 !important; min-width: 0 !important; }
.apecol-filtros-panel h4 {
    font-size: 12px !important; font-weight: 700 !important; text-transform: uppercase !important;
    color: #1a1a2e !important; margin: 0 0 8px !important; padding-bottom: 6px !important;
    border-bottom: 2px solid #1a1a2e !important;
}
.apecol-filter-group { background: #fff !important; border: 1px solid #e5e5e5 !important; border-radius: 8px !important; padding: 12px !important; margin-bottom: 14px !important; }
.apecol-filter-item { display: flex !important; align-items: center !important; gap: 8px !important; padding: 4px 0 !important; border-bottom: 1px solid #f5f5f5 !important; cursor: pointer !important; }
.apecol-filter-item:last-child { border-bottom: none !important; }
.apecol-filter-item input[type=checkbox] { accent-color: #1a1a2e !important; width: 14px !important; height: 14px !important; cursor: pointer !important; flex-shrink: 0 !important; }
.apecol-filter-item label { font-size: 12px !important; color: #333 !important; cursor: pointer !important; flex: 1 !important; line-height: 1.3 !important; }
.apecol-clear-filters {
    display: block !important; width: 100% !important; padding: 7px !important;
    background: transparent !important; border: 1px solid #1a1a2e !important;
    border-radius: 6px !important; color: #1a1a2e !important; font-size: 12px !important;
    font-weight: 600 !important; text-align: center !important; cursor: pointer !important;
    margin-bottom: 14px !important; text-decoration: none !important; box-sizing: border-box !important;
}
.apecol-clear-filters:hover { background: #1a1a2e !important; color: #fff !important; }

/* ══════════════════════════════════════════════
   3. TARJETAS DE PRODUCTO
   ══════════════════════════════════════════════ */
.woocommerce ul.products,
.apecol-productos-wrapper ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important; width: 100% !important;
}
@media (max-width: 1200px) { .apecol-productos-wrapper ul.products { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 900px)  { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px)  { .woocommerce ul.products { grid-template-columns: 1fr !important; } }

.woocommerce ul.products li.product {
    background: #fff !important; border: 0.5px solid #e0e0e0 !important;
    border-radius: 12px !important; overflow: hidden !important;
    display: flex !important; flex-direction: column !important;
    padding: 0 !important; margin: 0 !important; min-width: 0 !important; box-sizing: border-box !important;
    transition: box-shadow 0.2s, transform 0.2s !important;
}
.woocommerce ul.products li.product:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10) !important; transform: translateY(-2px) !important;
}
.woocommerce ul.products li.product img {
    width: 100% !important; height: 160px !important; object-fit: contain !important;
    background: #fff !important; padding: 0.8rem !important;
    border-bottom: 0.5px solid #eee !important; margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px !important; font-weight: 400 !important; color: #1a1a1a !important;
    line-height: 1.5 !important; min-height: 42px !important; max-height: 48px !important;
    overflow: hidden !important; display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important;
    margin: 0 !important; padding: 12px 12px 8px !important; word-break: break-word !important;
}
.woocommerce ul.products li.product .apecol-badges {
    display: flex !important; gap: 5px !important; align-items: center !important;
    flex-wrap: wrap !important; padding: 6px 12px 4px !important;
}
.woocommerce ul.products li.product .apecol-sku-badge {
    font-size: 10px !important; font-family: monospace !important; background: #f0f0f0 !important;
    border: 0.5px solid #d0d0d0 !important; border-radius: 4px !important; padding: 2px 6px !important;
    color: #555 !important; white-space: nowrap !important; max-width: 100px !important; overflow: hidden !important; text-overflow: ellipsis !important;
}
.woocommerce ul.products li.product .apecol-stock-badge {
    font-size: 10px !important; font-weight: 500 !important; border-radius: 4px !important; padding: 2px 6px !important; white-space: nowrap !important;
}
.woocommerce ul.products li.product .apecol-stock-badge.instock     { background: #EAF3DE !important; color: #3B6D11 !important; }
.woocommerce ul.products li.product .apecol-stock-badge.outofstock  { background: #FCEBEB !important; color: #A32D2D !important; }
.woocommerce ul.products li.product .apecol-stock-badge.onbackorder { background: #FAEEDA !important; color: #854F0B !important; }
.woocommerce ul.products li.product .apecol-sku-text {
    font-size: 11px !important; color: #888 !important; padding: 0 12px 4px !important; display: block !important;
}
.woocommerce ul.products li.product span.price,
.woocommerce ul.products li.product .price {
    display: block !important; padding: 6px 12px 2px !important;
    margin: auto 0 0 !important; border-top: 0.5px solid #eee !important;
}
.woocommerce ul.products li.product .woocommerce-Price-amount,
.woocommerce ul.products li.product span.price bdi {
    font-size: 16px !important; font-weight: 600 !important; color: #185FA5 !important;
}
.woocommerce ul.products li.product .apecol-iva {
    font-size: 10px !important; color: #999 !important; padding: 1px 12px 6px !important; display: block !important;
}
.woocommerce ul.products li.product .apecol-cart-row {
    display: flex !important; align-items: center !important;
    gap: 6px !important; padding: 0 12px 12px !important; width: 100% !important; box-sizing: border-box !important;
}
.woocommerce ul.products li.product .apecol-qty {
    width: 44px !important; height: 36px !important; flex-shrink: 0 !important;
    border: 0.5px solid #d0d0d0 !important; border-radius: 8px !important;
    text-align: center !important; font-size: 13px !important;
    background: #fff !important; padding: 0 !important; -moz-appearance: textfield !important;
}
.woocommerce ul.products li.product .apecol-qty::-webkit-outer-spin-button,
.woocommerce ul.products li.product .apecol-qty::-webkit-inner-spin-button { -webkit-appearance: none; }
.woocommerce ul.products li.product .apecol-cart-row .button,
.woocommerce ul.products li.product .apecol-cart-row .add_to_cart_button {
    flex: 1 !important; min-width: 0 !important; height: 36px !important;
    background: #1a1a2e !important; color: #fff !important;
    border: none !important; border-radius: 8px !important; font-size: 0 !important;
    cursor: pointer !important; display: flex !important; align-items: center !important;
    justify-content: center !important; gap: 6px !important;
    padding: 0 6px !important; margin: 0 !important; transition: background 0.2s !important; box-sizing: border-box !important;
}
.woocommerce ul.products li.product .apecol-cart-row .button:hover,
.woocommerce ul.products li.product .apecol-cart-row .add_to_cart_button:hover { background: #0f0f1e !important; }
.woocommerce ul.products li.product .apecol-cart-row .button::before,
.woocommerce ul.products li.product .apecol-cart-row .add_to_cart_button::before {
    content: "" !important; width: 16px !important; height: 16px !important; flex-shrink: 0 !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") center/contain no-repeat !important;
    display: inline-block !important;
}
.woocommerce ul.products li.product .apecol-cart-row .button::after,
.woocommerce ul.products li.product .apecol-cart-row .add_to_cart_button::after { content: "Agregar" !important; font-size: 11px !important; }
.woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .ast-woo-product-category { display: none !important; }

/* ══════════════════════════════════════════════
   4. HOME
   ══════════════════════════════════════════════ */
.home .woocommerce ul.products,
.home ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; }
@media (max-width: 1024px) { .home ul.products { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 768px)  { .home ul.products { grid-template-columns: repeat(2, 1fr) !important; } }

.home .woocommerce ul.products li.product img,
.home ul.products li.product img {
    height: 200px !important; object-fit: contain !important; background: #fff !important;
    padding: 1rem !important; border-bottom: 0.5px solid #eee !important; width: 100% !important; margin: 0 !important;
}
.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
.home ul.products li.product h2 {
    font-size: 13px !important; padding: 12px 12px 6px !important; margin: 0 !important;
    line-height: 1.5 !important; color: #1a1a1a !important; min-height: 42px !important;
    display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important;
}
.home .woocommerce ul.products li.product .woocommerce-Price-amount { color: #185FA5 !important; font-size: 17px !important; font-weight: 600 !important; }
.home ul.products li.product a.button,
.home .woocommerce ul.products li.product a.add_to_cart_button,
.home .woocommerce ul.products li.product .button {
    background: #1a1a2e !important; color: #fff !important; border-radius: 8px !important;
    font-size: 0 !important; line-height: 0 !important; display: flex !important;
    align-items: center !important; justify-content: center !important; gap: 8px !important;
    margin: 4px 12px 12px !important; border: none !important; transition: background 0.2s !important;
    padding: 10px 16px !important;
}
.home ul.products li.product a.button:hover,
.home .woocommerce ul.products li.product .button:hover { background: #0f0f1e !important; }
.home ul.products li.product a.button::before,
.home .woocommerce ul.products li.product .button::before {
    content: "" !important; width: 16px !important; height: 16px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") center/contain no-repeat !important;
    display: inline-block !important; flex-shrink: 0 !important;
}
.home ul.products li.product a.button::after,
.home .woocommerce ul.products li.product .button::after { content: "Agregar" !important; font-size: 12px !important; line-height: normal !important; }

/* ══════════════════════════════════════════════
   5. PRODUCTO INDIVIDUAL
   ══════════════════════════════════════════════ */
.woocommerce div.product div.images { width: 45% !important; max-width: 480px !important; }
.woocommerce-product-gallery { width: 100% !important; }
.woocommerce-product-gallery__image {
    background: #fff !important; border: 1px solid #eee !important;
    border-radius: 8px !important; overflow: hidden !important; display: flex !important;
    align-items: center !important; justify-content: center !important;
    min-height: 300px !important; max-height: 340px !important;
}
.woocommerce-product-gallery__image img,
.woocommerce div.product div.images img {
    width: auto !important; max-width: 100% !important;
    height: auto !important; max-height: 320px !important;
    object-fit: contain !important; transition: transform 0.3s ease !important;
    cursor: zoom-in !important; background: #fff !important;
}
.woocommerce-product-gallery__image:hover img { transform: scale(1.06) !important; }
.woocommerce-product-gallery__trigger { display: block !important; background: #1a1a2e !important; border-radius: 50% !important; padding: 8px !important; opacity: 0.8 !important; }
.woocommerce div.product div.summary { width: 50% !important; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: #185FA5 !important; font-size: 28px !important; font-weight: 700 !important; }
.woocommerce div.product .single_add_to_cart_button {
    background: #1a1a2e !important; color: #fff !important; border: none !important;
    border-radius: 8px !important; padding: 12px 28px !important; font-size: 14px !important; font-weight: 600 !important;
}
.woocommerce div.product .single_add_to_cart_button:hover { background: #0f0f1e !important; }
.apecol-specs h4.spec-group {
    font-size: 13px !important; font-weight: 700 !important; color: #1a1a2e !important;
    background: #f0f0f8 !important; padding: 6px 12px !important; margin: 12px 0 0 !important;
    border-left: 3px solid #1a1a2e !important; text-transform: uppercase !important;
}
.apecol-specs table.spec-table { width: 100% !important; border-collapse: collapse !important; font-size: 13px !important; }
.apecol-specs table.spec-table tr { border-bottom: 1px solid #f0f0f0 !important; }
.apecol-specs table.spec-table tr:hover { background: #fafafa !important; }
.apecol-specs table.spec-table td.spec-key { width: 40% !important; padding: 6px 12px !important; color: #555 !important; font-weight: 500 !important; border-right: 1px solid #f0f0f0 !important; font-size: 12px !important; }
.apecol-specs table.spec-table td.spec-val { width: 60% !important; padding: 6px 12px !important; color: #1a1a1a !important; font-size: 12px !important; }
.related.products ul.products, .upsells.products ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 16px !important; }
.related.products ul.products li.product img, .upsells.products ul.products li.product img { width: 100% !important; height: 160px !important; object-fit: contain !important; background: #fff !important; padding: 1rem !important; border-bottom: 0.5px solid #eee !important; margin: 0 !important; }
.related.products ul.products li.product .woocommerce-loop-product__title, .upsells.products ul.products li.product .woocommerce-loop-product__title { font-size: 13px !important; padding: 10px 12px 6px !important; margin: 0 !important; min-height: 40px !important; display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
.related.products ul.products li.product .woocommerce-Price-amount, .upsells.products ul.products li.product .woocommerce-Price-amount { color: #185FA5 !important; font-size: 16px !important; font-weight: 600 !important; }
.related.products ul.products li.product .button, .upsells.products ul.products li.product .button { background: #1a1a2e !important; color: #fff !important; border: none !important; border-radius: 8px !important; padding: 9px 14px !important; font-size: 12px !important; margin: 6px 12px 12px !important; display: flex !important; align-items: center !important; justify-content: center !important; transition: background 0.2s !important; }
.related.products ul.products li.product .button:hover, .upsells.products ul.products li.product .button:hover { background: #0f0f1e !important; }

/* ══════════════════════════════════════════════
   6. PIE DE PÁGINA
   ══════════════════════════════════════════════ */

/* Ocultar TODO el footer antiguo */
.footer-widget-area,
.ast-footer-widget-area,
.ast-footer-overlay,
.ast-small-footer,
.ast-small-footer-wrap,
#colophon .footer-widget-area,
#colophon .ast-footer-overlay,
#colophon > *:not(.apecol-footer-info) { display: none !important; }

/* Mostrar solo el footer nuevo */
#colophon .apecol-footer-info { display: block !important; }

/* Fondo del colophon */
#colophon, .site-footer, footer.site-footer {
    background: #1a1a2e !important;
    border-top: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Footer nuevo */
.apecol-footer-info {
    background: #1a1a2e;
    border-top: 3px solid rgba(255,255,255,0.06);
    width: 100%;
}
.apecol-footer-info-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 44px 24px 32px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 48px;
}
@media (max-width: 900px) { .apecol-footer-info-inner { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 580px) { .apecol-footer-info-inner { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; } }

.afi-col { display: flex; flex-direction: column; gap: 8px; }
.afi-col-titulo {
    font-size: 11px !important; font-weight: 700 !important;
    text-transform: uppercase !important; letter-spacing: 0.1em !important;
    color: #ffcc00 !important; margin-bottom: 6px !important;
    padding-bottom: 8px !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}
.afi-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.afi-logo-img {
    height: 52px !important; width: 52px !important; object-fit: contain !important;
    border-radius: 50% !important; background: #fff !important; padding: 4px !important;
    flex-shrink: 0 !important; box-shadow: none !important;
}
.afi-nombre-wrap { display: flex; flex-direction: column; gap: 2px; }
.afi-nombre { font-size: 14px !important; font-weight: 700 !important; color: #fff !important; line-height: 1.2 !important; }
.afi-nit { font-size: 10px !important; color: rgba(255,255,255,0.4) !important; }
.afi-desc { font-size: 12px !important; color: rgba(255,255,255,0.6) !important; line-height: 1.6 !important; margin: 0 0 8px !important; }
.afi-contacto { display: flex; flex-direction: column; gap: 5px; }
.afi-contacto span,
.afi-contacto a { font-size: 12px !important; color: rgba(255,255,255,0.55) !important; text-decoration: none !important; transition: color 0.2s !important; }
.afi-contacto a:hover { color: #fff !important; }

.afi-politicas a { font-size: 12px !important; color: rgba(255,255,255,0.55) !important; text-decoration: none !important; transition: color 0.2s !important; padding: 2px 0 !important; }
.afi-politicas a:hover { color: #fff !important; }

.afi-logos-pago { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.afi-logos-pago svg { border-radius: 6px; opacity: 0.9; transition: opacity 0.2s; }
.afi-logos-pago svg:hover { opacity: 1; }
.afi-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.afi-badge {
    font-size: 11px !important; color: rgba(255,255,255,0.6) !important;
    background: rgba(255,255,255,0.06) !important; border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 6px !important; padding: 4px 10px !important; white-space: nowrap !important;
}

/* Redes sociales */
.afi-redes { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.afi-red {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 12px; border-radius: 8px;
    font-size: 12px; font-weight: 600;
    text-decoration: none !important; transition: opacity 0.2s; width: fit-content;
}
.afi-red:hover { opacity: 0.85; }
.afi-ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff !important; }
.afi-fb { background: #1877F2; color: #fff !important; }
.afi-tt { background: #000; color: #fff !important; border: 1.5px solid #EE1D52; }
.afi-ig svg, .afi-fb svg { color: #fff; }
.afi-tt svg { color: #EE1D52; }

/* Copyright */
.afi-copyright {
    text-align: center; padding: 16px 24px;
    font-size: 11px !important; color: rgba(255,255,255,0.4) !important;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #1a1a2e !important;
}
.afi-copyright a { color: rgba(255,255,255,0.65) !important; text-decoration: none !important; }
.afi-copyright a:hover { color: #fff !important; }

/* ══════════════════════════════════════════════
   7. GENERAL
   ══════════════════════════════════════════════ */
.woocommerce-breadcrumb, .ast-breadcrumbs-wrapper, nav.woocommerce-breadcrumb { display: none !important; }
.woocommerce-shop h1.page-title, h1.entry-title, .page-title { margin-top: 0 !important; margin-bottom: 12px !important; font-size: 28px !important; }
.ast-container, .ast-container-fluid { max-width: 100% !important; padding-left: 16px !important; padding-right: 16px !important; }
body.woocommerce #page, body.woocommerce-page #page { padding: 0 !important; margin: 0 !important; }
.woocommerce-page #content, body.woocommerce #content { padding: 0 16px !important; }

@media (max-width: 900px) {
    .apecol-topbar { display: none; }
    .apecol-midbar-inner { flex-wrap: wrap; }
    .apecol-midbar-search { order: 3; flex-basis: 100%; }
    .apecol-navbar { overflow-x: auto; }
    .apecol-nav-menu > li > a { padding: 12px 10px !important; font-size: 12px !important; }
    .apecol-shop-layout { flex-direction: column !important; }
    .apecol-filtros-panel { width: 100% !important; min-width: 0 !important; }
}

/* ══════════════════════════════════════════════
   8. LOGO MARCA EN PRODUCTO
   ══════════════════════════════════════════════ */
.apecol-marca-logo-wrap { margin: 12px 0 8px !important; display: block !important; }
.apecol-marca-logo { max-height: 48px !important; max-width: 140px !important; width: auto !important; height: auto !important; object-fit: contain !important; display: block !important; transition: opacity 0.2s !important; }
.apecol-marca-logo:hover { opacity: 0.75 !important; }

/* ══════════════════════════════════════════════
   9. CARRUSEL DE MARCAS
   ══════════════════════════════════════════════ */
.apecol-marcas-bar { background: #f8f8f8; border-top: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; padding: 18px 0 14px; overflow: hidden; width: 100%; }
.apecol-marcas-titulo { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #1a1a2e; margin-bottom: 14px; }
.apecol-marcas-track-wrap { overflow: hidden; width: 100%; position: relative; }
.apecol-marcas-track-wrap::before,
.apecol-marcas-track-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.apecol-marcas-track-wrap::before { left: 0; background: linear-gradient(to right, #f8f8f8, transparent); }
.apecol-marcas-track-wrap::after  { right: 0; background: linear-gradient(to left, #f8f8f8, transparent); }
.apecol-marcas-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: apecol-scroll-marcas 40s linear infinite; }
.apecol-marcas-track:hover { animation-play-state: paused; }
.apecol-marca-item { display: flex; align-items: center; justify-content: center; flex-shrink: 0; opacity: 0.7; transition: opacity 0.2s; }
.apecol-marca-item:hover { opacity: 1; }
.apecol-marca-item img { height: 36px !important; width: auto !important; max-width: 110px !important; object-fit: contain !important; background: transparent !important; border: none !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; filter: grayscale(30%); transition: filter 0.2s; }
.apecol-marca-item:hover img { filter: grayscale(0%); }
@keyframes apecol-scroll-marcas { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (max-width: 768px) { .apecol-marcas-track { animation-duration: 25s; gap: 28px; } .apecol-marca-item img { height: 28px !important; } }

/* ══════════════════════════════════════════════
   10. HOME ESTILO INTCOMEX
   ══════════════════════════════════════════════ */
.ah-hero { position: relative; border-radius: 14px; overflow: hidden; margin-bottom: 32px; height: 360px; }
.ah-slides-wrap { position: relative; width: 100%; height: 100%; }
.ah-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.6s ease; overflow: hidden; }
.ah-slide.ah-active { opacity: 1; pointer-events: auto; }
.ah-slide-deco { position: absolute; right: 60px; font-size: 180px; opacity: 0.06; line-height: 1; user-select: none; }
.ah-slide-inner { position: relative; z-index: 2; padding: 0 56px; max-width: 620px; }
.ah-badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.15em; color: var(--ac); border: 1.5px solid var(--ac); padding: 3px 12px; border-radius: 20px; margin-bottom: 16px; }
.ah-titulo { font-size: clamp(24px, 3vw, 38px) !important; font-weight: 800 !important; color: #fff !important; line-height: 1.2 !important; margin: 0 0 14px !important; padding: 0 !important; letter-spacing: -0.02em !important; }
.ah-sub { font-size: 14px !important; color: rgba(255,255,255,0.7) !important; line-height: 1.7 !important; margin: 0 0 24px !important; }
.ah-cta { display: inline-block !important; background: var(--ac) !important; color: #1a1a2e !important; font-weight: 700 !important; font-size: 13px !important; padding: 11px 26px !important; border-radius: 8px !important; text-decoration: none !important; transition: transform 0.2s, box-shadow 0.2s !important; }
.ah-cta:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important; }
.ah-controls { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; z-index: 10; }
.ah-prev, .ah-next { background: rgba(255,255,255,0.15); border: none; color: #fff; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.ah-prev:hover, .ah-next:hover { background: rgba(255,255,255,0.3); }
.ah-dots { display: flex; gap: 6px; }
.ah-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: all 0.3s; }
.ah-dot-active { background: #fff; transform: scale(1.3); }
.ah-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #1a1a2e; border-radius: 12px; margin-bottom: 36px; overflow: hidden; }
.ah-stat { display: flex; flex-direction: column; align-items: center; padding: 20px 16px; gap: 4px; border-right: 1px solid rgba(255,255,255,0.08); }
.ah-stat:last-child { border-right: none; }
.ah-stat-ico { font-size: 22px; }
.ah-stat-num { font-size: 20px; font-weight: 800; color: #ffcc00; line-height: 1; }
.ah-stat-lbl { font-size: 11px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; }
.ah-section { margin-bottom: 36px; }
.ah-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #1a1a2e; }
.ah-section-titulo { font-size: 18px !important; font-weight: 700 !important; color: #1a1a2e !important; margin: 0 !important; padding: 0 !important; }
.ah-ver-mas { font-size: 12px !important; font-weight: 600 !important; color: #1a1a2e !important; text-decoration: none !important; border: 1px solid #1a1a2e !important; padding: 4px 12px !important; border-radius: 20px !important; transition: all 0.2s !important; }
.ah-ver-mas:hover { background: #1a1a2e !important; color: #fff !important; }
.ah-cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
@media (max-width: 1100px) { .ah-cats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px)  { .ah-cats { grid-template-columns: repeat(3, 1fr); } }
.ah-cat { display: flex; flex-direction: column; align-items: center; background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 14px 8px 12px; text-decoration: none !important; gap: 6px; transition: all 0.2s; text-align: center; }
.ah-cat:hover { border-color: #1a1a2e; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26,26,46,0.10); }
.ah-cat-img img { width: 48px; height: 48px; object-fit: contain; }
.ah-cat-icon { font-size: 34px; line-height: 1; }
.ah-cat-name { font-size: 11px !important; font-weight: 600 !important; color: #1a1a2e !important; line-height: 1.3 !important; }
.ah-cat-qty  { font-size: 10px !important; color: #aaa !important; }
.ah-productos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .ah-productos { grid-template-columns: repeat(2, 1fr); } }
.ah-producto { background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; text-decoration: none !important; transition: all 0.2s; display: flex; flex-direction: column; }
.ah-producto:hover { border-color: #1a1a2e; box-shadow: 0 6px 20px rgba(26,26,46,0.10); transform: translateY(-2px); }
.ah-producto-img { background: #f7f7f7; padding: 16px; }
.ah-producto-img img { width: 100%; height: 140px; object-fit: contain; }
.ah-producto-info { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.ah-producto-name { font-size: 12px !important; color: #333 !important; line-height: 1.4 !important; margin: 0 !important; }
.ah-producto-price .woocommerce-Price-amount, .ah-producto-price bdi { font-size: 15px !important; font-weight: 700 !important; color: #185FA5 !important; }
.ah-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 36px; }
@media (max-width: 700px) { .ah-banners { grid-template-columns: 1fr; } }
.ah-banner { border-radius: 12px; padding: 28px 24px; display: flex; align-items: center; gap: 16px; }
.ah-banner-ico { font-size: 42px; flex-shrink: 0; }
.ah-banner-txt { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ah-banner-titulo { font-size: 16px; font-weight: 700; color: #fff; }
.ah-banner-sub    { font-size: 12px; color: rgba(255,255,255,0.65); }
.ah-banner-cta { flex-shrink: 0; display: inline-block; background: var(--ac); color: #1a1a2e !important; font-weight: 700; font-size: 12px; padding: 8px 16px; border-radius: 8px; text-decoration: none !important; white-space: nowrap; transition: opacity 0.2s; }
.ah-banner-cta:hover { opacity: 0.85; }
.ah-beneficios { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid #eee; border-radius: 12px; overflow: hidden; margin-bottom: 40px; }
@media (max-width: 768px) { .ah-beneficios { grid-template-columns: repeat(2, 1fr); } }
.ah-beneficio { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 16px; gap: 5px; border-right: 1px solid #eee; background: #fff; }
.ah-beneficio:last-child { border-right: none; }
.ah-beneficio-ico    { font-size: 28px; }
.ah-beneficio-titulo { font-size: 13px; font-weight: 700; color: #1a1a2e; }
.ah-beneficio-sub    { font-size: 11px; color: #888; line-height: 1.4; }
@media (max-width: 768px) { .ah-hero { height: 260px; } .ah-slide-inner { padding: 0 24px; } .ah-sub { display: none; } .ah-stats { grid-template-columns: repeat(2, 1fr); } .ah-beneficio { border-bottom: 1px solid #eee; } }

/* ══════════════════════════════════════════════
   11. PÁGINA DE CONTACTO
   ══════════════════════════════════════════════ */
.ac-hero { background: linear-gradient(135deg, #1a1a2e 0%, #0d2b52 100%); border-radius: 14px; padding: 56px 48px; position: relative; overflow: hidden; margin-bottom: 32px; }
.ac-hero-inner { position: relative; z-index: 2; max-width: 560px; }
.ac-hero-tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.18em; color: #ffcc00; border: 1.5px solid #ffcc00; padding: 3px 12px; border-radius: 20px; margin-bottom: 16px; }
.ac-hero-titulo { font-size: clamp(26px, 3.5vw, 42px) !important; font-weight: 800 !important; color: #fff !important; line-height: 1.2 !important; margin: 0 0 14px !important; padding: 0 !important; letter-spacing: -0.02em !important; }
.ac-hero-sub { font-size: 15px !important; color: rgba(255,255,255,0.7) !important; line-height: 1.7 !important; margin: 0 !important; }
.ac-hero-deco { position: absolute; inset: 0; pointer-events: none; }
.ac-deco-circle { position: absolute; border-radius: 50%; background: rgba(79,195,247,0.08); }
.ac-deco-1 { width: 300px; height: 300px; right: -60px; top: -60px; }
.ac-deco-2 { width: 200px; height: 200px; right: 120px; bottom: -80px; background: rgba(255,204,0,0.06); }
.ac-deco-3 { width: 100px; height: 100px; right: 80px; top: 40px; background: rgba(144,202,249,0.1); }
.ac-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 36px; }
@media (max-width: 900px) { .ac-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .ac-cards { grid-template-columns: 1fr; } }
.ac-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 24px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; transition: all 0.2s; }
.ac-card:hover { border-color: #1a1a2e; box-shadow: 0 6px 20px rgba(26,26,46,0.10); transform: translateY(-2px); }
.ac-card-ico { font-size: 32px; margin-bottom: 4px; }
.ac-card-ico-wa { width: 48px; height: 48px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 4px; }
.ac-card-ico-wa svg { width: 26px; height: 26px; }
.ac-card-titulo { font-size: 12px; font-weight: 700; color: #1a1a2e; text-transform: uppercase; letter-spacing: 0.05em; }
.ac-card-valor { font-size: 14px; font-weight: 600; color: #185FA5 !important; text-decoration: none !important; }
.ac-card-valor:hover { text-decoration: underline !important; }
.ac-card-nota { font-size: 11px; color: #999; }
.ac-body { display: grid; grid-template-columns: 1fr 320px; gap: 28px; margin-bottom: 40px; align-items: start; }
@media (max-width: 900px) { .ac-body { grid-template-columns: 1fr; } }
.ac-form-wrap { background: #fff; border: 1px solid #eee; border-radius: 14px; padding: 36px; }
.ac-form-titulo { font-size: 22px !important; font-weight: 700 !important; color: #1a1a2e !important; margin: 0 0 6px !important; padding: 0 !important; }
.ac-form-sub { font-size: 13px; color: #888; margin: 0 0 28px; }
.ac-form { display: flex; flex-direction: column; gap: 18px; }
.ac-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .ac-form-row { grid-template-columns: 1fr; } }
.ac-form-group { display: flex; flex-direction: column; gap: 6px; }
.ac-form-group label { font-size: 12px; font-weight: 600; color: #333; }
.ac-form-group input, .ac-form-group select, .ac-form-group textarea { border: 1px solid #ddd; border-radius: 8px; padding: 10px 14px; font-size: 14px; color: #333; outline: none; transition: border-color 0.2s; font-family: inherit; width: 100%; box-sizing: border-box; background: #fafafa; }
.ac-form-group input:focus, .ac-form-group select:focus, .ac-form-group textarea:focus { border-color: #1a1a2e; background: #fff; }
.ac-form-group textarea { resize: vertical; min-height: 120px; }
.ac-submit { background: #1a1a2e !important; color: #fff !important; border: none !important; border-radius: 8px !important; padding: 13px 32px !important; font-size: 14px !important; font-weight: 700 !important; cursor: pointer !important; transition: background 0.2s, transform 0.2s !important; align-self: flex-start !important; }
.ac-submit:hover { background: #0f0f1e !important; transform: translateY(-1px) !important; }
.ac-success { background: #EAF3DE; border: 1px solid #3B6D11; color: #3B6D11; border-radius: 8px; padding: 16px 20px; font-size: 14px; }
.ac-info { display: flex; flex-direction: column; gap: 16px; }
.ac-info-block { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 24px; }
.ac-info-titulo { font-size: 14px !important; font-weight: 700 !important; color: #1a1a2e !important; margin: 0 0 16px !important; padding: 0 0 10px !important; border-bottom: 2px solid #1a1a2e !important; }
.ac-horario { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ac-horario li { display: flex; justify-content: space-between; font-size: 13px; }
.ac-horario li span { color: #666; }
.ac-horario li strong { color: #1a1a2e; }
.ac-redes { display: flex; flex-direction: column; gap: 10px; }
.ac-red { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none !important; transition: opacity 0.2s; }
.ac-red:hover { opacity: 0.85; }
.ac-ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff !important; }
.ac-ig svg { color: #fff; }
.ac-fb { background: #1877F2; color: #fff !important; }
.ac-fb svg { color: #fff; }
.ac-tt { background: #000; color: #fff !important; border: 2px solid #EE1D52; }
.ac-tt svg { color: #EE1D52; }
.ac-whatsapp-cta { background: #25D366 !important; border-color: #25D366 !important; }
.ac-whatsapp-cta a { display: flex; align-items: center; gap: 14px; text-decoration: none !important; color: #fff !important; }
.ac-whatsapp-cta a strong { display: block; font-size: 14px; color: #fff; }
.ac-whatsapp-cta a small  { font-size: 11px; color: rgba(255,255,255,0.8); }
.ac-wa-logo { width: 44px; height: 44px; flex-shrink: 0; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ac-wa-logo svg { width: 24px; height: 24px; color: #fff; }


/* ================================================
   APECOL — Diseño páginas de políticas
   ================================================ */

/* ── Hero ──────────────────────────────────── */
.apol-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #0d2b52 100%);
    border-radius: 14px;
    padding: 48px 48px 32px;
    position: relative;
    overflow: hidden;
    margin-bottom: 32px;
}

.apol-hero-deco { position: absolute; inset: 0; pointer-events: none; }
.apol-deco-1 {
    position: absolute; right: -60px; top: -60px;
    width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,195,247,0.1) 0%, transparent 70%);
}
.apol-deco-2 {
    position: absolute; right: 100px; bottom: -40px;
    width: 180px; height: 180px; border-radius: 50%;
    background: rgba(255,204,0,0.05);
}

.apol-hero-inner {
    position: relative; z-index: 2;
    display: flex; align-items: flex-start; gap: 20px;
    margin-bottom: 24px;
}

.apol-hero-icono { font-size: 48px; flex-shrink: 0; line-height: 1; margin-top: 4px; }

.apol-hero-tag {
    display: inline-block; font-size: 10px; font-weight: 800;
    letter-spacing: 0.18em; color: var(--ac);
    border: 1.5px solid var(--ac); padding: 3px 12px;
    border-radius: 20px; margin-bottom: 10px;
}

.apol-hero-titulo {
    font-size: clamp(24px, 3vw, 36px) !important;
    font-weight: 800 !important; color: #fff !important;
    line-height: 1.2 !important; margin: 0 0 10px !important; padding: 0 !important;
    letter-spacing: -0.02em !important;
}

.apol-hero-sub {
    font-size: 14px !important; color: rgba(255,255,255,0.65) !important;
    line-height: 1.7 !important; margin: 0 !important; max-width: 560px;
}

/* Breadcrumb / navegación rápida */
.apol-breadcrumb {
    position: relative; z-index: 2;
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
}
.apol-breadcrumb a {
    font-size: 11px !important; color: rgba(255,255,255,0.45) !important;
    text-decoration: none !important; padding: 3px 10px !important;
    border-radius: 20px !important; border: 1px solid rgba(255,255,255,0.12) !important;
    transition: all 0.2s !important;
}
.apol-breadcrumb a:hover { color: #fff !important; border-color: rgba(255,255,255,0.4) !important; }
.apol-breadcrumb a.active {
    color: var(--ac) !important;
    border-color: var(--ac) !important;
    background: rgba(255,255,255,0.05) !important;
}
.apol-breadcrumb span { color: rgba(255,255,255,0.2); font-size: 12px; }

/* ── Contenido ─────────────────────────────── */
.apol-contenido { display: flex; flex-direction: column; gap: 32px; }

.apol-contenido-inner {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 40px 48px;
    line-height: 1.8;
}

/* Headings dentro del contenido */
.apol-contenido-inner h2 {
    font-size: 16px !important; font-weight: 700 !important;
    color: #1a1a2e !important; margin: 28px 0 10px !important;
    padding: 8px 14px !important;
    background: #f0f4fb !important;
    border-left: 4px solid #1a1a2e !important;
    border-radius: 0 6px 6px 0 !important;
}
.apol-contenido-inner h2:first-child { margin-top: 0 !important; }

.apol-contenido-inner p { font-size: 13px !important; color: #444 !important; margin: 0 0 12px !important; }

.apol-contenido-inner ul, .apol-contenido-inner ol {
    font-size: 13px !important; color: #444 !important;
    padding-left: 20px !important; margin: 0 0 14px !important; line-height: 1.8 !important;
}
.apol-contenido-inner li { margin-bottom: 4px !important; }

.apol-contenido-inner strong { color: #1a1a2e !important; }

.apol-contenido-inner a { color: #185FA5 !important; }

/* Tablas (política de envíos) */
.apol-contenido-inner table {
    width: 100% !important; border-collapse: collapse !important;
    font-size: 13px !important; margin: 16px 0 !important;
    border-radius: 8px !important; overflow: hidden !important;
}
.apol-contenido-inner table thead th {
    background: #1a1a2e !important; color: #fff !important;
    padding: 10px 16px !important; text-align: left !important; font-weight: 600 !important;
}
.apol-contenido-inner table tbody tr:nth-child(even) { background: #f7f9fc !important; }
.apol-contenido-inner table tbody td { padding: 10px 16px !important; border-bottom: 1px solid #eee !important; color: #333 !important; }

/* HR separador */
.apol-contenido-inner hr { border: none !important; border-top: 1px solid #eee !important; margin: 24px 0 !important; }

/* ── Navegación entre políticas ────────────── */
.apol-nav-politicas {
    background: #1a1a2e;
    border-radius: 12px;
    padding: 20px 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.apol-nav-politicas strong {
    font-size: 12px; color: #ffcc00;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-right: 4px;
}
.apol-nav-politicas a {
    font-size: 12px !important; color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    padding: 5px 14px !important; border-radius: 20px !important;
    transition: all 0.2s !important;
}
.apol-nav-politicas a:hover { color: #fff !important; background: rgba(255,255,255,0.12) !important; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 768px) {
    .apol-hero { padding: 28px 20px 20px; }
    .apol-hero-inner { flex-direction: column; gap: 12px; }
    .apol-hero-icono { font-size: 36px; }
    .apol-contenido-inner { padding: 24px 20px; }
    .apol-breadcrumb span { display: none; }
}

/* ================================================
   APECOL — Carrito y Mini Carrito
   ================================================ */

/* ── MINI CARRITO (panel lateral) ─────────────── */
.woocommerce-mini-cart__buttons .button,
.woocommerce-mini-cart__buttons a.button {
    display: block !important;
    text-align: center !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 11px 20px !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    border: none !important;
}

/* Botón Ver Carrito */
.woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout) {
    background: transparent !important;
    border: 1.5px solid #1a1a2e !important;
    color: #1a1a2e !important;
}
.woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout):hover {
    background: #1a1a2e !important;
    color: #fff !important;
}

/* Botón Finalizar Compra (mini cart) */
.woocommerce-mini-cart__buttons .button.checkout,
.woocommerce-mini-cart__buttons a.checkout {
    background: #1a1a2e !important;
    color: #fff !important;
    border: none !important;
}
.woocommerce-mini-cart__buttons .button.checkout:hover {
    background: #0f0f1e !important;
}

/* ── PÁGINA CARRITO (/cart/) ───────────────────── */

/* Tabla */
.woocommerce-cart table.cart {
    border-collapse: collapse !important;
    width: 100% !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #eee !important;
}
.woocommerce-cart table.cart thead th {
    background: #1a1a2e !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 14px 16px !important;
    border: none !important;
}
.woocommerce-cart table.cart tbody td {
    padding: 16px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    vertical-align: middle !important;
    font-size: 13px !important;
    color: #333 !important;
}
.woocommerce-cart table.cart tbody tr:last-child td { border-bottom: none !important; }
.woocommerce-cart table.cart tbody tr:hover td { background: #fafafa !important; }

/* Imagen producto en carrito */
.woocommerce-cart table.cart .product-thumbnail img {
    width: 64px !important; height: 64px !important;
    object-fit: contain !important; border-radius: 8px !important;
    background: #f7f7f7 !important; padding: 4px !important;
    border: 1px solid #eee !important;
}

/* Nombre del producto */
.woocommerce-cart table.cart .product-name a {
    color: #1a1a2e !important; font-weight: 500 !important;
    text-decoration: none !important; font-size: 13px !important;
}
.woocommerce-cart table.cart .product-name a:hover { color: #185FA5 !important; }

/* Precio */
.woocommerce-cart table.cart .product-price .woocommerce-Price-amount,
.woocommerce-cart table.cart .product-subtotal .woocommerce-Price-amount {
    color: #185FA5 !important; font-weight: 600 !important; font-size: 14px !important;
}

/* Input cantidad */
.woocommerce-cart table.cart .quantity .qty {
    border: 1px solid #ddd !important; border-radius: 8px !important;
    width: 60px !important; text-align: center !important;
    font-size: 14px !important; padding: 6px !important;
    color: #1a1a2e !important; font-weight: 600 !important;
}
.woocommerce-cart table.cart .quantity .qty:focus { border-color: #1a1a2e !important; outline: none !important; }

/* Botón eliminar producto */
.woocommerce-cart table.cart .product-remove a.remove {
    color: #ccc !important; font-size: 18px !important;
    border-radius: 50% !important; width: 24px !important; height: 24px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    transition: all 0.2s !important;
}
.woocommerce-cart table.cart .product-remove a.remove:hover {
    color: #fff !important; background: #e53935 !important;
}

/* Botón Actualizar carrito */
.woocommerce-cart .actions .button[name="update_cart"] {
    background: transparent !important;
    border: 1.5px solid #1a1a2e !important;
    color: #1a1a2e !important;
    border-radius: 8px !important;
    font-size: 12px !important; font-weight: 700 !important;
    padding: 9px 20px !important; cursor: pointer !important;
    transition: all 0.2s !important;
}
.woocommerce-cart .actions .button[name="update_cart"]:hover {
    background: #1a1a2e !important; color: #fff !important;
}

/* Cupón */
.woocommerce-cart .coupon input[type="text"] {
    border: 1px solid #ddd !important; border-radius: 8px 0 0 8px !important;
    padding: 9px 14px !important; font-size: 13px !important;
    border-right: none !important; outline: none !important;
}
.woocommerce-cart .coupon .button {
    background: #1a1a2e !important; color: #fff !important;
    border: none !important; border-radius: 0 8px 8px 0 !important;
    padding: 9px 16px !important; font-size: 13px !important;
    font-weight: 600 !important; cursor: pointer !important;
    transition: background 0.2s !important;
}
.woocommerce-cart .coupon .button:hover { background: #0f0f1e !important; }

/* ── TOTALES DEL CARRITO ───────────────────────── */
.woocommerce-cart .cart_totals {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 14px !important;
    padding: 28px !important;
}
.woocommerce-cart .cart_totals h2 {
    font-size: 16px !important; font-weight: 700 !important;
    color: #1a1a2e !important; margin: 0 0 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #1a1a2e !important;
}
.woocommerce-cart .cart_totals table {
    width: 100% !important; border-collapse: collapse !important; font-size: 13px !important;
}
.woocommerce-cart .cart_totals table tr th {
    padding: 10px 0 !important; color: #666 !important;
    font-weight: 500 !important; border-bottom: 1px solid #f0f0f0 !important;
    width: 40% !important;
}
.woocommerce-cart .cart_totals table tr td {
    padding: 10px 0 !important; color: #1a1a2e !important;
    border-bottom: 1px solid #f0f0f0 !important;
}
.woocommerce-cart .cart_totals table tr.order-total th,
.woocommerce-cart .cart_totals table tr.order-total td {
    font-size: 16px !important; font-weight: 700 !important;
    color: #1a1a2e !important; border-bottom: none !important; padding-top: 14px !important;
}
.woocommerce-cart .cart_totals table tr.order-total td .woocommerce-Price-amount {
    color: #185FA5 !important; font-size: 18px !important;
}

/* Botón Finalizar Compra */
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart a.checkout-button {
    background: #1a1a2e !important; color: #fff !important;
    border: none !important; border-radius: 10px !important;
    font-size: 15px !important; font-weight: 700 !important;
    padding: 16px 32px !important; width: 100% !important;
    display: block !important; text-align: center !important;
    text-decoration: none !important; margin-top: 16px !important;
    transition: background 0.2s, transform 0.2s !important;
    letter-spacing: 0.03em !important;
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart a.checkout-button:hover {
    background: #0f0f1e !important; transform: translateY(-1px) !important;
}

/* Banner envío gratis */
.woocommerce-cart .woocommerce-shipping-calculator,
.woocommerce-cart .shipping-calculator-form { font-size: 13px !important; }

.wc-block-components-notice-banner,
.woocommerce-info {
    background: #EAF3DE !important;
    border-left: 4px solid #3B6D11 !important;
    color: #3B6D11 !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 13px !important;
    padding: 14px 20px !important;
}
.woocommerce-info a { color: #1a1a2e !important; font-weight: 700 !important; }

/* Carrito vacío */
.woocommerce-cart .cart-empty {
    text-align: center !important; font-size: 16px !important;
    color: #666 !important; padding: 40px !important;
}
.woocommerce-cart .return-to-shop .button {
    background: #1a1a2e !important; color: #fff !important;
    border-radius: 8px !important; padding: 12px 28px !important;
    font-weight: 600 !important; text-decoration: none !important;
    transition: background 0.2s !important;
}
.woocommerce-cart .return-to-shop .button:hover { background: #0f0f1e !important; }


/* ================================================
   APECOL — Checkout
   ================================================ */

/* ── Layout general ────────────────────────── */
.woocommerce-checkout #content,
body.woocommerce-checkout #content { padding: 0 24px !important; }

.woocommerce-checkout .woocommerce { max-width: 1200px; margin: 0 auto; }

/* ── Banner envío gratis ───────────────────── */
.woocommerce-checkout .woocommerce-info {
    background: #EAF3DE !important;
    border-left: 4px solid #3B6D11 !important;
    color: #3B6D11 !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 13px !important; padding: 14px 20px !important;
    margin-bottom: 24px !important;
}
.woocommerce-checkout .woocommerce-info a { color: #1a1a2e !important; font-weight: 700 !important; }

/* ── Títulos de sección ────────────────────── */
.woocommerce-checkout h3#order_review_heading,
.woocommerce-checkout h3#ship-to-different-address,
.woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-checkout-review-order h3,
.woocommerce-checkout h3 {
    font-size: 15px !important; font-weight: 700 !important;
    color: #1a1a2e !important; padding: 10px 14px !important;
    background: #f0f4fb !important; border-left: 4px solid #1a1a2e !important;
    border-radius: 0 8px 8px 0 !important; margin: 0 0 20px !important;
}

/* ── Campos del formulario ─────────────────── */
.woocommerce-checkout .form-row label {
    font-size: 12px !important; font-weight: 600 !important;
    color: #444 !important; margin-bottom: 5px !important; display: block !important;
}
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .select2-container .select2-selection--single {
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important; color: #333 !important;
    outline: none !important; width: 100% !important;
    box-sizing: border-box !important; background: #fafafa !important;
    transition: border-color 0.2s !important;
    font-family: inherit !important;
}
.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row select:focus {
    border-color: #1a1a2e !important; background: #fff !important;
    box-shadow: 0 0 0 3px rgba(26,26,46,0.06) !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single {
    height: 42px !important; line-height: 42px !important;
}
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important; padding: 0 14px !important; font-size: 14px !important;
}

/* Notas del pedido */
.woocommerce-checkout .form-row textarea#order_comments {
    min-height: 90px !important; resize: vertical !important;
}

/* ── Resumen del pedido ─────────────────────── */
.woocommerce-checkout-review-order-table,
.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important; border-collapse: collapse !important;
    border: 1px solid #eee !important; border-radius: 12px !important;
    overflow: hidden !important; font-size: 13px !important;
}
.woocommerce-checkout #order_review table.shop_table thead th {
    background: #1a1a2e !important; color: #fff !important;
    padding: 12px 16px !important; font-size: 12px !important;
    font-weight: 600 !important; text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}
.woocommerce-checkout #order_review table.shop_table tbody td,
.woocommerce-checkout #order_review table.shop_table tbody th {
    padding: 12px 16px !important; border-bottom: 1px solid #f0f0f0 !important;
    color: #333 !important; vertical-align: top !important;
}
.woocommerce-checkout #order_review table.shop_table tbody .product-name {
    font-weight: 500 !important; color: #1a1a2e !important;
}
.woocommerce-checkout #order_review table.shop_table tfoot tr th {
    padding: 10px 16px !important; font-size: 13px !important;
    color: #666 !important; font-weight: 500 !important;
}
.woocommerce-checkout #order_review table.shop_table tfoot tr td {
    padding: 10px 16px !important; font-weight: 600 !important; color: #1a1a2e !important;
}
.woocommerce-checkout #order_review table.shop_table tfoot .order-total th,
.woocommerce-checkout #order_review table.shop_table tfoot .order-total td {
    font-size: 16px !important; font-weight: 800 !important; padding-top: 14px !important;
}
.woocommerce-checkout #order_review table.shop_table tfoot .order-total td .woocommerce-Price-amount {
    color: #185FA5 !important; font-size: 18px !important;
}

/* ── Métodos de pago ───────────────────────── */
#payment { background: #fff !important; border: 1px solid #eee !important; border-radius: 12px !important; padding: 24px !important; margin-top: 20px !important; }
#payment ul.payment_methods { list-style: none !important; margin: 0 0 20px !important; padding: 0 !important; display: flex !important; flex-direction: column !important; gap: 10px !important; }
#payment ul.payment_methods li { border: 1px solid #eee !important; border-radius: 8px !important; padding: 14px 16px !important; transition: border-color 0.2s !important; }
#payment ul.payment_methods li:has(input:checked) { border-color: #1a1a2e !important; background: #f8f9ff !important; }
#payment ul.payment_methods li label { font-size: 13px !important; font-weight: 600 !important; color: #1a1a2e !important; cursor: pointer !important; }
#payment ul.payment_methods li input[type="radio"] { accent-color: #1a1a2e !important; }
#payment div.payment_box { background: #f8f9ff !important; border-radius: 8px !important; padding: 16px !important; margin-top: 12px !important; font-size: 12px !important; color: #666 !important; }
#payment .payment_method_wava img { max-height: 24px !important; }

/* Política de privacidad */
#payment .woocommerce-privacy-policy-text { font-size: 11px !important; color: #999 !important; margin-bottom: 16px !important; }
#payment .woocommerce-privacy-policy-text a { color: #185FA5 !important; }

/* ── Botón PAGAR ───────────────────────────── */
#payment #place_order,
.woocommerce-checkout #place_order {
    background: #1a1a2e !important; color: #fff !important;
    border: none !important; border-radius: 10px !important;
    font-size: 16px !important; font-weight: 700 !important;
    padding: 16px 32px !important; width: 100% !important;
    cursor: pointer !important; letter-spacing: 0.03em !important;
    transition: background 0.2s, transform 0.2s !important;
    display: block !important; text-align: center !important;
}
#payment #place_order:hover {
    background: #0f0f1e !important; transform: translateY(-1px) !important;
}

/* ── Sección facturación ───────────────────── */
.woocommerce-billing-fields,
.woocommerce-shipping-fields {
    background: #fff !important; border: 1px solid #eee !important;
    border-radius: 14px !important; padding: 28px !important; margin-bottom: 20px !important;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 { width: 100% !important; float: none !important; }
    .woocommerce-checkout #order_review { margin-top: 20px !important; }
}

/* ── Fix: borde recuadro Tu Pedido + total visible ── */
#order_review,
.woocommerce-checkout #order_review,
.woocommerce #order_review {
    border: 1px solid #e0e0e0 !important;
    border-radius: 14px !important;
    padding: 24px !important;
    background: #fff !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot .order-total td .woocommerce-Price-amount,
.woocommerce-checkout #order_review table.shop_table tfoot .order-total td bdi,
.woocommerce-checkout #order_review .order-total .woocommerce-Price-amount {
    color: #1a1a2e !important;
    font-size: 20px !important;
    font-weight: 800 !important;
}

/* ── Campos facturación NIT / Razón Social ── */
#billing_tipo_persona_field,
#billing_razon_social_field,
#billing_nit_field {
    margin-bottom: 16px !important;
}
#billing_razon_social_field { display: none; } /* oculto hasta seleccionar jurídica */

/* ── Desglose IVA ───────────────────────────── */
.apecol-iva-row th,
.apecol-iva-row td {
    font-size: 12px !important;
    color: #666 !important;
    padding: 8px 16px !important;
    border-bottom: 1px solid #f0f0f0 !important;
}
.apecol-iva-highlight th,
.apecol-iva-highlight td {
    color: #444 !important;
    font-weight: 600 !important;
}
.apecol-iva-highlight td { color: #e65100 !important; }


/* =====================================================================
   ESTILOS FICHA DE PRODUCTO  |  apecol.com.co
   Para el contenido generado por scraper_fichas.py (clases apecol-*)

   CÓMO INSTALAR:
   WordPress → Apariencia → Personalizar → CSS adicional
   (pega TODO este archivo ahí y publica)
   ===================================================================== */

/* Contenedor general */
.apecol-ficha {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}
.apecol-ficha img { max-width: 100%; height: auto; }
.apecol-ficha h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.8rem 0 0.8rem;
  color: #1a1a2e;
}

/* ---------- Banner principal del fabricante ---------- */
.apecol-banner-top {
  width: 100%;
  margin-bottom: 1.5rem;
}
.apecol-banner-top img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* ---------- Chips de specs destacadas ---------- */
.apecol-specs-destacadas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin: 1.2rem 0 2rem;
}
.apecol-chip {
  background: #f0f2f7;
  border: 1px solid #e0e3ee;
  border-radius: 20px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  color: #444;
}
.apecol-chip strong { color: #1a1a2e; }

/* ---------- Módulos imagen + texto (alternados) ---------- */
.apecol-modulos {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0;
}
.apecol-modulo {
  display: flex;
  align-items: stretch;
  min-height: 260px;
}
/* par: imagen a la izquierda */
.apecol-modulo--izq { flex-direction: row; }
/* impar: imagen a la derecha */
.apecol-modulo--der { flex-direction: row-reverse; }

.apecol-modulo-img {
  flex: 1 1 50%;
  overflow: hidden;
}
.apecol-modulo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.apecol-modulo-texto {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2.5rem;
  background: #f7f8fa;
}
.apecol-modulo-texto p {
  margin: 0;
  font-size: 1.05rem;
  color: #444;
  text-align: left;
}



/* ---------- Tablas de especificaciones ---------- */
.apecol-specs { margin: 1.5rem 0; }
.apecol-specs .spec-group {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 1.2rem 0 0.3rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #1a1a2e;
}
.apecol-specs .spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.5rem;
}
.apecol-specs .spec-table tr { border-bottom: 1px solid #eee; }
.apecol-specs .spec-table td {
  padding: 0.55rem 0.5rem;
  vertical-align: top;
}
.apecol-specs .spec-key {
  width: 38%;
  color: #666;
  font-weight: 600;
}
.apecol-specs .spec-val { color: #222; }

/* Lista de specs del fabricante */
.apecol-specs-fab ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.apecol-specs-fab li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}
.apecol-specs-fab li strong { color: #1a1a2e; }

/* ---------- Empaque (galería pequeña en fila) ---------- */
.apecol-empaques-galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}
.apecol-empaques-galeria img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: 0.4rem;
  background: #fff;
}

/* ---------- Documentos / Descargas (botones) ---------- */
.apecol-docs-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.apecol-doc-btn {
  display: inline-block;
  background: #1a1a2e;
  color: #fff !important;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none !important;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.apecol-doc-btn:hover { background: #33334d; }

/* ---------- Responsive (móvil): apilar módulos ---------- */
@media (max-width: 768px) {
  .apecol-modulo--izq,
  .apecol-modulo--der { flex-direction: column; }
  .apecol-modulo { min-height: auto; }
  .apecol-modulo-img img { height: auto; }
  .apecol-modulo-texto { padding: 1.5rem; }
  .apecol-empaques-galeria img { width: 120px; height: 120px; }
}

/* ---------- TIENDA / CATEGORÍAS ---------- */

/* La fila de carrito en agotados: SÍ se muestra (contiene el botón),
   pero se oculta el input de cantidad */
.woocommerce ul.products li.product.outofstock .apecol-cart-row {
    display: flex !important;
    padding: 0 12px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.woocommerce ul.products li.product.outofstock .apecol-cart-row .apecol-qty {
    display: none !important;
}


/* Ocultar solo la basura (enlace vacío, categoría, texto oculto) */
.woocommerce ul.products li.product.outofstock .ast-loop-product__link,
.woocommerce ul.products li.product.outofstock .ast-woo-product-category,
.woocommerce ul.products li.product.outofstock .screen-reader-text {
    display: none !important;
}

/* El botón "Leer más" -> se ve como "VER PRODUCTO" */
.woocommerce ul.products li.product.outofstock a.button.product_type_simple {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 36px !important;
    background: #1a1a2e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0 !important;
    text-decoration: none !important;
    padding: 0 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    transition: background 0.2s !important;
}
.woocommerce ul.products li.product.outofstock a.button.product_type_simple:hover {
    background: #0f0f1e !important;
}
.woocommerce ul.products li.product.outofstock a.button.product_type_simple::after {
    content: "Ver producto" !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    line-height: normal !important;
}
.woocommerce ul.products li.product.outofstock a.button.product_type_simple::before {
    content: none !important;
    display: none !important;
}

/* Corrección de simetría para productos agotados en Tienda */
.woocommerce ul.products li.product.outofstock .apecol-cart-row {
    display: flex !important;
}
.woocommerce ul.products li.product.outofstock .apecol-qty {
    display: none !important;
}
.woocommerce ul.products li.product.outofstock .apecol-cart-row .button,
.woocommerce ul.products li.product.outofstock .apecol-cart-row .add_to_cart_button,
.woocommerce ul.products li.product.outofstock a.button.product_type_simple {
    width: 100% !important;
    flex: 1 !important;
    display: flex !important;
    font-size: 0 !important;
}
.woocommerce ul.products li.product.outofstock .apecol-cart-row .button::before,
.woocommerce ul.products li.product.outofstock .apecol-cart-row .add_to_cart_button::before {
    display: none !important;
    content: none !important;
}
.woocommerce ul.products li.product.outofstock .apecol-cart-row .button::after,
.woocommerce ul.products li.product.outofstock .apecol-cart-row .add_to_cart_button::after,
.woocommerce ul.products li.product.outofstock a.button.product_type_simple::after {
    content: "VER PRODUCTO" !important;
    font-size: 11px !important;
}

/* ===== AGOTADOS: selector sin depender de .woocommerce ===== */
li.product.outofstock .apecol-cart-row {
    display: flex !important;
    padding: 0 12px 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
li.product.outofstock .apecol-cart-row .apecol-qty {
    display: none !important;
}
li.product.outofstock .apecol-cart-row a.button.product_type_simple {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    width: 100% !important;
    height: 36px !important;
    background: #1a1a2e !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 0 !important;
    text-decoration: none !important;
    padding: 0 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
li.product.outofstock .apecol-cart-row a.button.product_type_simple::after {
    content: "VER PRODUCTO" !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    line-height: normal !important;
}
li.product.outofstock .apecol-cart-row a.button.product_type_simple::before {
    content: none !important;
    display: none !important;
}
li.product.outofstock .apecol-cart-row a.button.product_type_simple:hover {
    background: #0f0f1e !important;
}