/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* =============================================
   MERCOSHOP — BARRA COPYRIGHT
   ============================================= */
.wd-copyrights {
    background-color: #6B1A1A !important;
}

.wd-copyrights,
.wd-copyrights a,
.wd-copyrights p,
.wd-copyrights span,
.wd-copyrights div {
    color: #FFFFFF !important;
}

/* =============================================
   MERCOSHOP — FOOTER WIDGETS
   ============================================= */

/* Ocultar widgets vacíos que descuadran columnas */
.wd-footer .wd-widget:empty,
.wd-footer .wd-widget .wp-block-html:empty {
    display: none !important;
}

/* Títulos de columnas footer */
.wd-footer .widget h4,
.wd-footer .widget h3,
.wd-footer .widget h2 {
    font-family: 'Lato', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #1A1A1A !important;
    margin-bottom: 16px !important;
    margin-top: 0 !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #6B1A1A !important;
}

/* Links del footer — color neutro legible */
.wd-footer .widget a {
    color: #555555 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
}

.wd-footer .widget a:hover {
    color: #6B1A1A !important;
}

/* Espaciado uniforme entre items de lista */
.wd-footer .widget ul {
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    list-style: none !important;
}

.wd-footer .widget ul li {
    margin-bottom: 6px !important;
}

/* Quitar padding extra del widget vacío en Col 3 */
.wd-footer .footer-widget .wp-block-html:empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =============================================
   MERCOSHOP — BOTÓN VER EN EL MAPA
   ============================================= */
.footer-map-btn,
.wd-footer .widget a.footer-map-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: #E63232 !important;
    color: #FFFFFF !important;
    padding: 11px 22px !important;
    font-family: 'Lato', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    border-radius: 3px !important;
    border: none !important;
    transition: background-color 0.2s ease !important;
}

.footer-map-btn:hover,
.wd-footer .widget a.footer-map-btn:hover {
    background-color: #C41E1E !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* =============================================
   MERCOSHOP — INFO BOXES HOME (trust bar)
   ============================================= */

.wp-block-wd-row.wd-20c1fc1e {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.wp-block-wd-row.wd-20c1fc1e::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -164px !important;
    right: -164px !important;
    bottom: 0 !important;
    background-color: #FBFBFB !important;
    z-index: -1 !important;
}

.wp-block-wd-row.wd-20c1fc1e .wp-block-wd-info-box {
    align-items: center !important;
}

.wp-block-wd-row.wd-20c1fc1e .wd-info-box-title,
.wp-block-wd-row.wd-20c1fc1e h2,
.wp-block-wd-row.wd-20c1fc1e h3,
.wp-block-wd-row.wd-20c1fc1e h4 {
    font-family: 'Lato', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    color: #1A1A1A !important;
    margin-bottom: 4px !important;
}

.wp-block-wd-row.wd-20c1fc1e p {
    font-family: 'Lato', sans-serif !important;
    font-size: 12px !important;
    color: #555555 !important;
    margin: 0 !important;
}

.wp-block-wd-row.wd-20c1fc1e .wd-info-box-icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wp-block-wd-row.wd-20c1fc1e .wd-info-box-icon svg,
.wp-block-wd-row.wd-20c1fc1e .wd-info-box-icon img {
    color: #6B1A1A !important;
    fill: #6B1A1A !important;
    width: 40px !important;
    height: 40px !important;
}

.wp-block-wd-row.wd-20c1fc1e .wd-info-box-icon svg path,
.wp-block-wd-row.wd-20c1fc1e .wd-info-box-icon svg rect,
.wp-block-wd-row.wd-20c1fc1e .wd-info-box-icon svg circle {
    stroke: #6B1A1A !important;
    fill: none !important;
}

.footer-map-btn svg {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
}

/* =============================================
   MERCOSHOP — CARRITO Y CHECKOUT
   Tipografía legible en tabla de productos
   ============================================= */

/* Headers de la tabla — Producto / Precio / Cantidad / Subtotal */
.woocommerce-cart-form table.shop_table th,
.woocommerce-cart-form table th {
    font-family: 'Lato', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: #1A1A1A !important;
    padding: 14px 12px !important;
    border-bottom: 2px solid #6B1A1A !important;
}

/* Nombre del producto en el carrito */
.woocommerce-cart-form .product-name a,
.woocommerce-cart-form .product-name {
    font-family: 'Lato', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1A1A1A !important;
    line-height: 1.5 !important;
}

/* Precio y subtotal */
.woocommerce-cart-form .product-price,
.woocommerce-cart-form .product-subtotal {
    font-family: 'Lato', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #6B1A1A !important;
}

/* Input de cantidad */
.woocommerce-cart-form .quantity input {
    font-family: 'Lato', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1A1A1A !important;
    text-align: center !important;
}

/* Total del carrito */
.cart_totals h2,
.cart_totals .cart-subtotal th,
.cart_totals .order-total th {
    font-family: 'Lato', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1A1A1A !important;
}

.cart_totals .order-total td .woocommerce-Price-amount {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #E63232 !important;
}

/* Breadcrumb del carrito — Shopping Cart / Finalizar Compra / Order Complete */
.wd-checkout-steps .step-title,
.woocommerce-checkout-steps .step-title,
.checkout-steps span {
    font-family: 'Lato', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}
