/*
Theme Name: Domoser Smart Home Pro Ultra Híbrido
Theme URI: https://domoser.com.do
Author: Domoser Tech & CRO Team
Description: Versión Híbrida 11.0. Menú centrado con texto más grande, Banner de Envío Gratis destacado (>RD$5,000) con enlace, Footer profesional interactivo con métodos de pago y políticas.
Version: 11.0.0
Text Domain: domoser
*/

html { box-sizing: border-box; -webkit-text-size-adjust: 100%; }
*, *:before, *:after { box-sizing: inherit; }

body {
    margin: 0; padding: 0; width: 100%; overflow-x: hidden;
    background-color: #f8f9fd; color: #191c1f;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
img, video, iframe, object, embed, canvas, svg { max-width: 100%; height: auto; }

/* ========================================================
   MENÚ DE NAVEGACIÓN - CENTRADO Y TEXTO MÁS GRANDE EN ESCRITORIO
   ======================================================== */
.domoser-nav-menu {
    width: 100%;
}

.domoser-nav-menu ul, header nav ul {
    display: flex;
    align-items: center;
    justify-content: center; /* Centrado Horizontal */
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.domoser-nav-menu ul li a, header nav ul li a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.6rem;
    font-size: 0.95rem; /* Texto más grande */
    font-weight: 800; /* Negrita destacada */
    color: #191c1f;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.domoser-nav-menu ul li a:hover, header nav ul li a:hover {
    background-color: #006492;
    color: #ffffff;
}

@media (max-width: 768px) {
    .domoser-nav-menu ul, header nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }
    .domoser-nav-menu ul li a, header nav ul li a {
        font-size: 0.9rem;
        padding: 0.6rem 0.75rem;
    }
}

/* ========================================================
   WOOCOMMERCE - BOTONES GLOBALES ESTILO AMAZON
   ======================================================== */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    background-color: #ffd814 !important;
    color: #0f1111 !important;
    border-radius: 100px !important;
    font-weight: 700 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.2s ease !important;
    border: 1px solid #fcd200 !important;
    box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5) !important;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
    background-color: #f7ca00 !important;
    border-color: #f2c200 !important;
}

/* Rejilla de productos responsive adaptada */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 1rem !important; margin: 0 !important; padding: 0 !important;
}
@media (min-width: 480px) { .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (min-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
    width: 100% !important; margin: 0 !important; float: none !important;
    background: #ffffff !important; border-radius: 1rem !important; padding: 0.85rem !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important; border: 1px solid #e1e2e6 !important;
    display: flex !important; flex-direction: column !important; justify-content: space-between !important;
    transition: all 0.2s ease-in-out !important;
}
.woocommerce ul.products li.product:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important; transform: translateY(-2px) !important; }
.woocommerce ul.products li.product img {
    width: 100% !important; height: 160px !important; object-fit: contain !important;
    margin-bottom: 0.75rem !important; border-radius: 0.5rem !important; background: #f2f3f8 !important; padding: 0.5rem !important;
}

/* CHECKOUT RESPONSIVE */
.woocommerce-checkout table.shop_table,
.woocommerce-cart table.shop_table {
    width: 100% !important; border-collapse: collapse !important;
    border: 1px solid #e1e2e6 !important; border-radius: 0.75rem !important; overflow: hidden !important;
}

@media (min-width: 769px) {
    .woocommerce-checkout .col2-set { width: 48% !important; float: left !important; }
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 { width: 100% !important; float: none !important; padding: 0 !important; }
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review { width: 48% !important; float: right !important; clear: right !important; }
}

@media (max-width: 768px) {
    .woocommerce-checkout .col2-set { width: 100% !important; float: none !important; margin-bottom: 1.5rem !important; }
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 { width: 100% !important; float: none !important; padding: 0 !important; }
    .woocommerce-checkout #order_review_heading,
    .woocommerce-checkout #order_review { width: 100% !important; float: none !important; }
    .woocommerce-checkout form.checkout { display: flex; flex-direction: column; gap: 0.5rem; padding: 0 !important; }
    .woocommerce form .form-row { width: 100% !important; float: none !important; padding: 0 !important; margin-bottom: 1rem !important; }
    .woocommerce form .form-row label { font-size: 0.85rem !important; margin-bottom: 0.35rem !important; display: block !important; font-weight: 600 !important; color: #3e4850 !important; }
    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row textarea,
    .woocommerce form .form-row select,
    .select2-container .select2-selection--single {
        height: 48px !important; border-radius: 0.75rem !important; border: 1px solid #bec8d2 !important;
        padding: 0 1rem !important; font-size: 16px !important; background: #ffffff !important; width: 100% !important;
    }
}

.woocommerce-checkout #place_order {
    background-color: #006492 !important; color: #ffffff !important;
    border-radius: 0.75rem !important; border: none !important;
    font-size: 1.15rem !important; font-weight: 800 !important;
    padding: 1.25rem !important; width: 100% !important;
    box-shadow: 0 4px 12px rgba(0, 100, 146, 0.3) !important;
    text-transform: uppercase !important;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
