/*
Theme Name: Sober Child Theme
Theme URI: http://uix.store/sober/
Author: UIX Themes
Author URI: http://uix.store
Description: Sober is a fully responsive Premium WordPress Theme with a pixel perfect design and extensive functionality
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sober
Tags: one-column, two-columns, right-sidebar, custom-colors, custom-menu, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Template: sober
*/


/* Importar Work Sans desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap');

/* ========================================
   DECLARAR TODAS LAS VARIANTES DE EDITORIAL NEW
   ======================================== */

/* EditorialNew Ultralight */
@font-face {
    font-family: 'EditorialNew';
    src: url('/wp-content/themes/sober/fonts/EditorialNew-Ultralight.woff2') format('woff2'),
         url('/wp-content/themes/sober/fonts/EditorialNew-Ultralight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* EditorialNew Thin */
@font-face {
    font-family: 'EditorialNew';
    src: url('/wp-content/themes/sober/fonts/EditorialNew-Thin.woff2') format('woff2'),
         url('/wp-content/themes/sober/fonts/EditorialNew-Thin.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* EditorialNew Regular */
@font-face {
    font-family: 'EditorialNew';
    src: url('/wp-content/themes/sober/fonts/EditorialNew-Regular.woff2') format('woff2'),
         url('/wp-content/themes/sober/fonts/EditorialNew-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* EditorialNew Bold */
@font-face {
    font-family: 'EditorialNew';
    src: url('/wp-content/themes/sober/fonts/EditorialNew-Bold.woff2') format('woff2'),
         url('/wp-content/themes/sober/fonts/EditorialNew-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* EditorialNew Ultrabold */
@font-face {
    font-family: 'EditorialNew';
    src: url('/wp-content/themes/sober/fonts/EditorialNew-Ultrabold.woff2') format('woff2'),
         url('/wp-content/themes/sober/fonts/EditorialNew-Ultrabold.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   APLICAR FUENTES BASE
   ======================================== */

/* Work Sans para body y textos generales */
body, p, a, li, span, div {
    font-family: 'Work Sans', sans-serif;
}

/* EditorialNew Regular por defecto en títulos */
h1, h2, h3, h4, h5, h6 {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 400; /* Regular */
}

/* ========================================
   USAR VARIANTES EN SECCIONES ESPECÍFICAS
   ======================================== */

/* HERO - Ultrabold para máximo impacto */
.hero h1,
.hero-title,
.page-header h1 {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 900; /* Ultrabold */
}

/* TÍTULOS PRINCIPALES (H1) - Bold */
h1,
.entry-title,
.page-title,
.woocommerce-products-header__title {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 700; /* Bold */
}

/* SUBTÍTULOS Y H2 - Regular */
h2,
.section-title,
.widget-title {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 400; /* Regular */
}

/* H3 Y H4 - Thin para elegancia */
h3, h4 {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 300; /* Thin */
}

/* H5 Y H6 - Ultralight para detalles sutiles */
h5, h6 {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 200; /* Ultralight */
}

/* ========================================
   ESPECÍFICO PARA WOOCOMMERCE (Sober es tema de e-commerce)
   ======================================== */

/* NOMBRES DE PRODUCTOS - Thin elegante */
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product_title {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 300; /* Thin */
}

/* PRECIOS - Bold para destacar */
.woocommerce .price,
.woocommerce-Price-amount {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 700; /* Bold */
}

/* BOTONES - Ultrabold */
.button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 900; /* Ultrabold */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* LOGO - Bold */
.site-branding .site-title,
.site-logo-text {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 700; /* Bold */
}

/* MENÚ DE NAVEGACIÓN - Work Sans */
.main-navigation a,
.site-header-menu a {
    font-family: 'Work Sans', sans-serif;
    font-weight: 500;
}

/* CATEGORÍAS DE PRODUCTO - Regular */
.product-categories li a,
.woocommerce-breadcrumb {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 400; /* Regular */
}

/* ========================================
   CLASES PERSONALIZADAS REUTILIZABLES
   ======================================== */

.text-ultralight {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 200;
}

.text-thin {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 300;
}

.text-regular {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 400;
}

.text-bold {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 700;
}

.text-ultrabold {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 900;
}

/* ========================================
   FOOTER - Ultralight elegante
   ======================================== */

.site-footer h3,
.footer-widgets .widget-title {
    font-family: 'EditorialNew', Georgia, serif !important;
    font-weight: 200;
}



.site-header .row {
	display: flex;
  	align-items: center;
}

.site-header .logo img {
  	height: 55px; 
  	width: auto;
  	display: block;
  	margin: 0;
  	padding: 0;
  	object-fit: contain;
  	transform: none !important;
  	image-rendering: auto; 
}

/* Espacio extra entre logo y menú */
.site-header .site-branding {
  padding-right: 30px; 
}

.site-header .site-branding .logo {
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Mantener tamaño constante en el sticky header */
.site-header.headroom--pinned .logo img {
  height: 55px !important;
}

.sober-category-banner .banner-content {
  width: 70% !important;
}

.sober-faq__question-label.question-label, 
.sober-faq__answer-label.answer-label {
	display: none;
}

.sober-faq {
  padding: 25px 0;
  margin-bottom: 0;
}

.sober-faq__question-label.question-label,
.sober-faq__answer-label.answer-label {
	display: none !important;
}

.sober-category-banner__right .sober-category-banner__content.banner-content {
	text-align: end;
}

.sober-category-banner .banner-content::before {
  border-bottom: 0 !important;
}

/* OCULTAR CESTA DEL MENU */
.header-icon.col-xs-3.col-sm-3.col-md-3.col-lg-3 .menu-item.menu-item-cart {
	display: none !important;
}

body.elementor-page-2741 {
  padding: 0 !important;
}

/* PÁGINA PRODUCTO COLECCIONES*/
.woocommerce .shop-toolbar {
	display: none !important;
}


@media screen and (max-width: 1199px) {
	  .sober-category-banner.image-bottom-right.banner-inner {
		padding-left: 40px !important;
	  }
}

/* FOOTER */

.site-info.col-md-6 {
	width: 60% !important;
}
.footer-social.col-md-6 {
	width: 40% !important;
}
.site-info.col-md-6 .copyright {
	width: 100%;
}

footer .site-info .links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem; 
}

footer .site-info .links a {
  flex: 1;
  text-align: center;
  color: inherit;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

footer .site-info .links a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.footer-widgets-area-1 {
	width: 100% !important;
}

.footer-widgets-area-1 .footer-top {
	display: flex;
  	justify-content: center;
  	gap: 56px;
	flex-wrap: wrap;
}

.footer-info.footer-wrapped .container .row {
	width: 100%;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.footer-widgets-area-2 {
	display: none;
}

.mobile-menu-bottom .item-cart {
	display: none;
}

@media (max-width: 1024px) {
	.site-info.col-md-6 {
		width: 90% !important;
	}
	.footer-social.col-md-6 {
		width: 10% !important;
	}
}

@media (max-width: 767px) {
	.elementor-336 .elementor-element.elementor-element-9c3785a .sober-info-list__icon {
		margin-right: 0 !important;
	}
	.sober-info-list .info-name {
		flex: 0 0 60px !important;
	}
	
	.home-faq-one {
		margin-top: 32px !important;
	}
	.footer-info.footer-wrapped .container .row {
	  flex-wrap: wrap;
	}
	.site-info.col-md-6,
	.footer-social.col-md-6{
		width: 100% !important;
	}
	 .site-footer .footer-social {
		 margin-top: 0 !important;
  	}
	.site-footer .copyright {
		margin-bottom: 20px;
	  }
}


@media (max-width: 600px) {
	  footer .site-info .links {
		flex-direction: column;
		text-align: center;
	  }

	  footer .site-info .links a {
		flex: unset;
		width: 100%;
	  }
}
