/*
 Theme Name:   Sober Child
 Theme URI:    https://sierratech.com.ar
 Description:  Child theme de Sober para Sierra Tech Solutions
 Author:       Sierra Tech Solutions
 Author URI:   https://sierratech.com.ar
 Template:     sober
 Version:      1.0.0
 Text Domain:  sober-child
*/

/* ============================================================
   SIERRA TECH SOLUTIONS — CSS PERSONALIZADO
   Recuperado del backup — Mayo 2026
   ============================================================ */

/* SOFIA PRO — declaración local para garantizar carga en todas las páginas */
@font-face {
    font-family: 'Sofia Pro';
    src: url('../sober/fonts/SofiaProLight-webfont.woff2') format('woff2'),
         url('../sober/fonts/SofiaProLight-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* MENÚ — ocultar ítems en páginas específicas */
.page-id-33 #menu-primary-menu > li:nth-child(n+4),
.page-id-387 #menu-primary-menu > li:nth-child(n+4),
.page-id-389 #menu-primary-menu > li:nth-child(n+4),
.page-id-2195 #menu-primary-menu > li:nth-child(n+4) {
    display: none;
}

.page-id-33 #menu-primary-menu > li:nth-child(3),
.page-id-387 #menu-primary-menu > li:nth-child(3),
.page-id-389 #menu-primary-menu > li:nth-child(3) {
    margin-right: 0;
}

/* FOOTER — ocultar en páginas específicas */
.page-id-9941 .site-footer { display: none; }
.page-id-17230 .site-footer { display: none; }
.page-id-17683 .site-footer { display: none; }
.page-id-18188 .site-footer { display: none; }
.page-id-18587 .site-footer { display: none; }

/* PAGE HEADER — ocultar en páginas específicas */
.page-id-2495 .page-header,
.page-id-2572 .page-header,
.page-id-2623 .page-header,
.page-id-2655 .page-header,
.page-id-2676 .page-header,
.page-id-2739 .page-header {
    display: none;
}

.page-id-2495 .site-content,
.page-id-2572 .site-content,
.page-id-2623 .site-content,
.page-id-2655 .site-content,
.page-id-2676 .site-content,
.page-id-2739 .site-content {
    padding-top: 0;
}

/* SHOP TOOLBAR — filtros */
.woocommerce .shop-toolbar .products-filter li {
    margin: 15px 25px 0 25px;
}

.woocommerce .shop-toolbar .products-filter li:first-child {
    margin-left: 25px;
}

/* MENÚ PRINCIPAL — espaciado */
.nav-menu li {
    margin-right: 20px !important;
}

@media (max-width: 1200px) {
    .nav-menu li {
        margin-right: 5px !important;
    }
}

/* PRODUCTO — ocultar botones en thumbnail del loop */
.product-header .buttons {
    display: none;
}

/* PRODUCTO — quitar bordes del meta */
.woocommerce div.product .product_meta {
    border-bottom: 0px;
    border-top: 0px;
}

/* PRODUCTO — tabla de especificaciones */
.woocommerce-product-details__short-description table tr {
    width: 100% !important;
}

.woocommerce-product-details__short-description table tr td {
    width: 50% !important;
}

.site-content th,
.site-content td:nth-child(2) {
    border-right: 0px;
}

/* SCROLLBAR — posición */
.ss-content {
    right: -19px !important;
}

/* FILTROS — ocultar precio y categoría */
.product-filter.price {
    display: none;
}

select[name="product_cat"] {
    display: none;
}

/* BOTONES ASESORAMIENTO / COTIZACIÓN */
.assistaction button {
    margin-top: 10px;
    margin-bottom: 10px;
}

.assistaction button a {
    color: #fff;
}

/* SHOWROOM BOX */
#showroombox {
    background: rgba(0,0,0,0.5);
    padding-top: 3%;
    padding-bottom: 3%;
}

/* MOBILE MENU — ocultar ítems innecesarios */
.menu-item-mobile-wishlist {
    display: none;
}

.menu-item-mobile-cart {
    display: none;
}

.mobile-menu-bottom .item-cart,
.mobile-menu-bottom .item-login {
    display: none;
}

/* NAVEGACIÓN — subrayado hover */
.site-navigation li.current-menu-item > a:after {
    width: 0%;
}

.site-navigation li:hover > a:after {
    width: 100%;
}

/* FILTRO SIDEBAR — ocultar título del widget */
#soo-product-filter-1 .widget-title {
    display: none;
}

/* BÚSQUEDA — ocultar page header */
.search-results .page-header {
    display: none;
}

/* REDES SOCIALES — ocultar 3er ícono */
.socials-share li:nth-child(3) {
    display: none;
}

/* RESPONSIVE — ocultar elementos con clase mobile-hide */
@media (max-width: 768px) {
    .mobile-hide {
        display: none !important;
    }
}

/* CAJAS DE CONTACTO SIERRA TECH */
.sierra-lista-contacto {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 3;
}

.sierra-icono {
    width: 30px;
    color: #999;
    font-size: 1.2em;
}

.sierra-icono-wsp {
    width: 30px;
    color: #25D366;
    font-size: 1.4em;
}

.sierra-etiqueta {
    display: inline-block;
    width: 120px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
}

.sierra-texto,
.sierra-enlace {
    color: #333;
    text-decoration: none;
}

.sierra-enlace:hover {
    color: #000;
    text-decoration: underline;
}

/* RESPONSIVE MÓVIL — productos en 1 columna */
@media (max-width: 767px) {
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
        margin-bottom: 40px !important;
        text-align: center !important;
    }

    .woocommerce ul.products li.product a img,
    .woocommerce-page ul.products li.product a img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto 15px auto !important;
    }

    .site-content,
    .container {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* NOVEDADES — quitar sidebar completamente */
.blog .sidebar-area,
.archive .sidebar-area,
.blog .site-sidebar,
.archive .site-sidebar,
.blog aside,
.archive aside {
    display: none !important;
}

.blog .site-main,
.archive .site-main,
.blog .content-area,
.archive .content-area {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}