/*
Theme Name: Magno eCommerce
Theme URI: https://magnoecommerce.com/
Description: Tema personalizado para Magno eCommerce.
Author: Cincomedios
Author URI: https://cincomedios.com
Template: Total
Version: 1.0
*/

/*//////////////////////////////////////////////////////*/
/*///VARIABLES//////////////////////////////////////////*/
/*//////////////////////////////////////////////////////*/

:root {
	--gris: #f6f6f6;
	--negro: #222;
	--negro-c: #555;
	--celeste: #bae5f8;
	--celeste-c: #e9f4f9;
	--azul: #1e5fc6;
	--azul-o: #1d3040;
	--amarillo: #f7cf47;
	--amarillo-alt: #ffa300;	
	
	--general-gap: 50px;
	
	--wpex-body-font-size: 14px;
}

/*//////////////////////////////////////////////////////*/
/*///GENERAL////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////*/

a:hover {
	text-decoration-line: none;
}

.xoo-cp-modal .xoo-cp-container {
	border-radius: var(--br-round, 0);
}

::-webkit-scrollbar,
div ::-webkit-scrollbar {
    width: 0.7rem;
}

/* Textos */

@media (width < 1024px) {
	
	.vc_row:not(.box) .wpex-text-center {
		text-align: left;
	}
	
}

/* Iconos */

.ico-circulo .vcex-icon-box-icon,
.caracteristicas .vcex-icon-box-icon span {
	position: relative;
	z-index: 1;
}

.ico-circulo .vcex-icon-box-icon::before {
	content: "";
	background: var(--deg-celeste-tb);
	border-radius: var(--br-circle, 0);
	position: absolute;
	inset: 15px;	
	z-index: -1;
}

.ico-circulo .vcex-icon-box-icon::after {
	content: "";
	background: var(--deg-celeste-tb-c);
	border-radius: var(--br-circle, 0);
	position: absolute;
	inset: 0;
	z-index: -2;
}

@media (width < 1024px) {
	
	.ico-circulo .vcex-icon-box-symbol {
		width: 50px !important;
	}
	
	.ico-circulo .vcex-icon-box-icon {
		font-size: 20px;
		height: 50px !important;
	}

	.ico-circulo .vcex-icon-box-icon::before {
		inset: 10px;	
	}
	
}

/* Social */

header .redes-sociales {
	--size: 16px;
	padding-block: 4px;
}

header .redes-sociales .vcex-navbar-link,
header .vcex-navbar-inner:has(a + ul) > a:last-of-type {
	display: none;
}

.con-fondo .redes-sociales .link {
	background: var(--azul);
	border-radius: var(--br-circle, 0);
	color: var(--wpex-white);
	height: 40px;
	width: 40px;
	position: relative;
	overflow: hidden;
  	z-index: 1;
}

#primary .con-fondo .redes-sociales .link {
	font-size: 24px;
	height: 50px;
	width: 50px;
}

.con-fondo .redes-sociales .link:hover {
	background: var(--wpex-text-2);
	color: var(--wpex-white);
}

/* Pestañas */

.vc_tta-container .vc_tta.vc_general .vc_tta-tab > a {
	padding: 15px 30px;
}

.vc_tta-container .vc_tta-color-grey.vc_tta-style-flat .vc_tta-tab > a,
.vc_tta-container .vc_tta-color-grey.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-title > a {
	background: var(--wpex-white);
	color: var(--negro);
	font-weight: var(--wpex-bold);
}

.vc_tta-container .vc_tta-color-grey.vc_tta-style-flat .vc_tta-tab.vc_active > a,
.vc_tta-container .vc_tta-color-grey.vc_tta-style-flat .vc_tta-tab > a:hover,
.vc_tta-container .vc_tta-color-grey.vc_tta-style-flat.vc_tta-tabs .vc_tta-panels,
.vc_tta-container .vc_tta-color-grey.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-body,
.vc_tta-container .vc_tta-color-grey.vc_tta-style-flat .vc_tta-panel.vc_active .vc_tta-panel-title > a {
	background: var(--celeste-c);
	color: var(--negro);
}

.vc_tta-container .vc_tta.vc_tta-shape-rounded .vc_tta-tab > a,
.vc_tta-container .vc_tta.vc_tta-shape-rounded.vc_tta-tabs .vc_tta-panels,
.vc_tta-container .vc_tta.vc_tta-shape-rounded .vc_tta-panel-body,
.vc_tta-container .vc_tta.vc_tta-shape-rounded .vc_tta-panel-heading {
	border-radius: var(--br-round, 0);
}

.vc_tta-container .vc_tta.vc_tta-spacing-5 .vc_tta-panel.vc_active .vc_tta-panel-heading,
.vc_tta-container .vc_tta.vc_tta-spacing-5 .vc_tta-panel:not(:last-child) .vc_tta-panel-heading {
	margin: 0;
}

.vc_tta-container .vc_tta-color-grey.vc_tta-style-flat .vc_tta-panel .vc_tta-panel-title > a {
	border-radius: var(--br-round, 0) var(--br-round, 0) 0 0 !important;
	padding: 15px 30px;
}

.vc_tta-container .vc_tta.vc_general .vc_tta-panel-body {
	padding: 25px 30px;
}

@media (width < 768px) {
	
	.vc_tta-container .vc_tta-color-grey.vc_tta-style-flat.vc_tta-tabs .vc_tta-panels {
		background: transparent;
	}
	
}

/* Carrusel */

.wpex-carousel__stage-outer {
	--gap: 10px;
	padding-inline: var(--gap);
	margin-inline: calc(-1 * var(--gap));
}

@media (width >= 768px) {
	
	.desktop-grid .owl-carousel .owl-stage-outer {
		overflow: visible;
	}
    
    .desktop-grid .owl-stage {
        display: grid !important;
        gap: var(--col-gap);
        width: 100% !important;
        transform: none !important;
    }
    
    .desktop-grid .owl-item {
        display: block;
        width: 100% !important;
        margin: 0 !important;
    }
    
    .desktop-grid .owl-stage::after,
    .desktop-grid .owl-item.cloned {
        display: none !important;
    }
    
    .col-x3 .owl-stage {
        grid-template-columns: repeat(3,1fr);
    }
    
    .col-x4 .owl-stage {
        grid-template-columns: repeat(4,1fr);
    }
    
}

@media (768px <= width < 1024px) {
    
    .col-x4 .owl-stage {
        grid-template-columns: repeat(3,1fr);
    }
	
}

@media (width < 768px) {

    div.full-mobile {
    	width: 100vw !important;
    	margin-left: -7vw !important;
    }
    
}

/*//////////////////////////////////////////////////////*/
/*///HEADER/////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////*/

/* Topbar */

#h-topbar .redes-sociales .link {
	font-size: 1em;
}

#h-topbar .wpb_wrapper:has(.vcex-navbar) {
	display: flex;
	align-items: center;
	justify-content: end;
	gap: 20px;
}

/* Logo */

@media (width < 500px) {
    
    #h-main .logo {
        max-width: 100px;
    }
    
}

/* Menú principal */

#h-menu {
	background: var(--wpex-surface-3) !important;
}

#h-menu #mega-menu-main_menu a {
    color: var(--wpex-on-accent) !important;
}

#h-menu #mega-menu-main_menu a:hover,
#h-menu .vcex-shortcode:not(#h-categories) .mega-menu .mega-current-menu-item > a {	
    color: var(--wpex-accent-alt) !important;
}

#h-menu .mega-sub-menu a {
	background: transparent !important;
}

#h-menu .mega-sub-menu li:nth-last-child(2) {
	border-bottom: none !important;
}

/* Buscador */

#h-search ul {
	border-radius: var(--br-pill);
}

#h-search input[type="submit"] {
	background: var(--wpex-accent-alt);
}

#h-search li.sf-field-submit::before {
	color: var(--wpex-on-accent-alt);
}

@media (width < 1024px) {
	
    #h-main .wpb_wrapper:has(#h-search) {
        display: flex;
        gap: 20px;
    }
	
	#h-search input, #h-search select {
		padding: 10px 20px !important;
	}
	
}

/* Iconos */

#h-main .h-icono .icono .circulo {
	background: var(--celeste-c);
	border: 1px solid var(--wpex-accent);
	color: var(--wpex-accent);
	height: var(--size);
}

/* Categorias */

#h-categories .mega-menu > li > a {
	background: rgba(0,0,0,0.2) !important;
	border-radius: 0 !important;
	display: flex !important;
	align-items: center;
	height: 60px !important;
	padding-inline: 20px !important;
	margin-block: -10px !important;
	width: clamp(230px,17vw,300px) !important;
}

#h-categories .mega-menu > li > a::before {
	display: none !important;
}

#h-categories .mega-menu > li > a .mega-indicator {
	display: inline-block !important;
}

#h-categories .mega-menu > li > .mega-sub-menu {
	--width: clamp(460px,34vw,600px);
	display: grid !important;
	grid-template-columns: repeat(2,1fr);
	column-gap: 20px;
    width: var(--width) !important;
	margin: var(--gap) 0 0 0 !important;
}

#h-categories .mega-sub-menu {
	border-top: none !important;
}

#h-categories .mega-sub-menu .mega-sub-menu {
	width: calc(var(--width) / 2) !important;
	min-height: calc(100% + 2px) !important;
}

#h-categories .mega-sub-menu .mega-sub-menu::before {
	background: var(--wpex-text-2) !important;
	margin: 0 !important;
}

#h-categories .mega-menu > li > .mega-sub-menu > li:nth-child(odd) > .mega-sub-menu {
	left: 50% !important;
}

#h-categories .mega-menu > li > .mega-sub-menu:has(> li:nth-child(odd).mega-toggle-on) {
	border-bottom-right-radius: var(--br-round, 0) !important;
}

/* Título página */

header .site-breadcrumbs {
	line-height: 1.1em;
}

header .site-breadcrumbs > span > span > span:first-child {
	padding-left: 0;
}

@media (width < 1024px) {
	
	header .page-header-aside {
		display: none !important;
	}
	
	.woocommerce-page.archive header.page-header,
	.woocommerce-page.single-product header.page-header {
		display: none !important;
	}
	
	header.page-header.wpex-supports-mods {
		background: var(--azul);
		border: none !important;
		padding: 20px 0 !important;
	}
	
	header.page-header.wpex-supports-mods .page-header-title,
	header .site-breadcrumbs,
	header .site-breadcrumbs a {
		color: #fff;
	}
	
	header .site-breadcrumbs a:hover {
		color: var(--amarillo);
	}
	
}

@media (width < 768px) {
	
	header .site-breadcrumbs {
		padding-bottom: 3px;
		margin-top: 5px;
	}
	
}

/*//////////////////////////////////////////////////////*/
/*///WOOCOMMERCE - ARCHIVOS/////////////////////////////*/
/*//////////////////////////////////////////////////////*/

.products .entry.product:hover {
	border-color: var(--azul);
}

.products .entry.product a:has(img) {
	padding: 20px;
}

.products .entry.product img {
	border-radius: calc(var(--br-round, 0) / 2);
	display: block;
}

.products .entry.product .marca {
	color: var(--azul);
	font-size: 11px;
	line-height: 1em;
	text-transform: uppercase;
	display: block;
	margin: 0 0 3px;
}

.products .entry.product .product-details {
    border-top: none;
	padding-top: 0;
}

.products .entry.product .woocommerce-loop-product__title {
	font-size: 1em !important;
}

.products .entry.product .datos {
	border-top: 1px dashed var(--wpex-border-main);
	line-height: 1em;
	text-transform: uppercase;
	display: grid;
	grid-template-columns: repeat(2,1fr);
	align-items: center;
	padding-top: 15px;
	margin-top: 15px !important;
}

.products .entry.product .cantidad {
	font-weight: 500;
}

.products .entry.product .price {
	line-height: 1em;
	text-align: right;
	margin: 0 !important;
}

.woocommerce del {
	font-size: 12px;
	font-weight: 400;
	font-style: normal !important;
}

/* Medallas */

.woocommerce .onsale,
.woocommerce .outofstock-badge {
	border-radius: 0 var(--br-pill, 0) var(--br-pill, 0) 0;
	font-weight: 600;
	left: -10px !important;
	top: 30px !important;
}

.woocommerce .outofstock-badge {
	background: #ddd !important;
	color: #444 !important;
}

.woocommerce .onsale::after,
.woocommerce .outofstock-badge::after {
	content: "";
	width: 0;
	height: 0;
	border: 5px solid #cdb126;
	border-left-color: transparent;
	border-bottom-color: transparent;
	position: absolute;
	left: 0;
	bottom: -9px;
}

.woocommerce .outofstock-badge::after {
	border-top-color: #aaa;
	border-right-color: #aaa;
}

@media (width <= 640px) {
	
	.woocommerce .onsale,
	.woocommerce .outofstock-badge {
		font-size: 10px !important;
	}
	
}

/* Categorías - Carrusel */

.woocommerce-shop #categorias-carrusel {
	display: none; 
}

.woocommerce-shop .products {
	margin-top: 20px !important;
}

.categorias-productos.scroll-lateral {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	padding: 0 3vw 0 5vw;
	overflow-x: auto;
	overflow-y: hidden;
  	white-space: nowrap;
	margin-top: 20px;
	scrollbar-width: none;
  	scrollbar-color: transparent transparent;
}

.categorias-productos.scroll-lateral::before,
.categorias-productos.scroll-lateral::after {
	content: "";
	width: 7vw;
	height: 100%;
	position: absolute;
	top: 0;
	visibility: visible;
	pointer-events: none;
}

.categorias-productos.scroll-lateral::before {
	background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
	left: 0;
}

.categorias-productos.scroll-lateral::after {
	background: linear-gradient(to left, rgba(255,255,255,1), rgba(255,255,255,0));
	right: 0;
}

.categorias-productos:not(.scroll-lateral) {
	margin-bottom: -30px !important;
}

.categorias-productos.scroll-lateral::-webkit-scrollbar {
  	width: 0;
  	height: 0;
}

.categorias-productos.scroll-lateral::-webkit-scrollbar-thumb {
  	background: transparent;
}

.categorias-productos.scroll-lateral .vcex-terms-grid-entry {
	width: 60px;
	min-width: 60px;
}

.categorias-productos .vcex-terms-grid-entry-image {
	margin-bottom: 10px;
}

.categorias-productos a {
	display: block;
}

.categorias-productos img,
.products .product-category img {
	background: var(--celeste-c);
	border-radius: var(--br-circle, 0);
	width: calc(100% - 4px) !important;
	height: auto !important;
	margin: 2px !important;
	transition: all ease 0.3s;
}

.categorias-productos .activo img,
.products .product-category:hover img {
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--amarillo);
}

.categorias-productos .entry-title,
.products .product-category .woocommerce-loop-category__title {
	hyphens: auto;
  	white-space: wrap;
	word-break: break-word;
	transition: all ease 0.3s;
}

.products .product-category .woocommerce-loop-category__title {
	font-size: 12px !important;
	font-weight: 400 !important;
	margin: 10px 0 0 !important;
}

.categorias-productos .activo .entry-title,
.products .product-category:hover .woocommerce-loop-category__title {
	color: var(--azul);
	font-weight: 500 !important;
}

@media (width > 1280px) {
	
	.products:has(.product-category) {
		grid-template-columns: repeat(8, minmax(0, 1fr));
	}
	
}

@media (width <= 1280px) {
	
	.products:has(.product-category) {
		grid-template-columns: repeat(7, minmax(0, 1fr));
	}
	
}

@media (width < 1024px) {
	
	.products:has(.product-category) {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	
}

@media (width < 768px) {
	
	.products:has(.product-category) {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
	
	.products .product-category .woocommerce-loop-category__title {
		font-size: 10px !important;
	}
	
}

@media (width <= 640px) {
	
	.products:has(.product-category) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	
}

/*//////////////////////////////////////////////////////*/
/*///WOOCOMMERCE - INDIVIDUAL///////////////////////////*/
/*//////////////////////////////////////////////////////*/

/* Imágenes */

#p-imagen .onsale {
	border-radius: var(--br-pill);
}

#p-imagen .onsale::after {
	display: none;
}

#p-imagen div > img[href*="sf"] {
	padding: 30px;
}

.woocommerce-product-gallery .flex-control-thumbs img[href*="sf"] {
	padding: 10px;
}

/* Detalles */

#p-content .vcex-wc-template-part--single-product__tabs__description h2 {
	display: none !important;
}

.woocommerce .wpex-woocommerce-product-qty-btn-wrapper .quantity input[type=number] {
    --size: 44px;
}

/*//////////////////////////////////////////////////////*/
/*///WOOCOMMERCE - CHECKOUT/////////////////////////////*/
/*//////////////////////////////////////////////////////*/

.woocommerce-checkout:not(.woocommerce-order-pay) h3::before {
	line-height: 18px;
}

.woocommerce-checkout:not(.woocommerce-order-pay) #order_review img {
	border: none !important;
	padding: 5px;
}

#shipping-minimum-notice:empty {
	display: none !important;
}

:is(#billing_state_field, #shipping_state_field) .select2-selection {
	background: var(--wpex-surface-2, var(--wpex-gray-100));
	pointer-events: none;
}

:is(#billing_state_field, #shipping_state_field) .select2-selection__arrow {
	display: none !important;
}

/*//////////////////////////////////////////////////////*/
/*///SIDEBAR////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////*/

#sidebar-inner {
	margin: 0;
}

#sidebar .sidebar-box:not(.widget_media_image) {
	background: var(--wpex-surface-2);
	border-radius: var(--br-round, 0);
	padding: 30px;
}

#sidebar .sidebar-box > p {
	display: none !important;
}

#sidebar .wp-block-heading {
	font-size: 20px;
	margin: 0 0 25px;
}

#sidebar .wp-block-latest-posts__list li {
	padding-left: 95px;
	min-height: 75px;
	position: relative;
	margin-bottom: 20px;
}

#sidebar ul li:last-child {
	margin-bottom: 0;
}

#sidebar .wp-block-latest-posts__featured-image {
	width: 75px;
	height: 75px;
	position: absolute;
	top: 0;
	left: 0;
}

#sidebar .wp-block-latest-posts__featured-image img {
	border-radius: var(--br-notice, 0);
	width: 100%;
	height: auto;
}

#sidebar .wp-block-latest-posts__post-title {
	color: var(--negro);
	line-height: 1.4em !important;
	display: block;
}

#sidebar time {	
	color: var(--azul);
	line-height: 1em;
    margin-top: 10px;
}

#sidebar time::before {
	content: "\f017";
	font-family: var(--ff-icons);
	font-weight: 400;
	padding-right: 5px;
}

@media (width > 1280px) {
	
	#sidebar .sidebar-box:not(.widget_media_image) {
		border-radius: 0;
		padding: 0;
	}
	
}

@media (768px <= width <= 1280px) {
	
	#sidebar .wp-block-latest-posts__list {
		grid-template-columns: 1fr;
	}
	
}

/* Filtro productos */

#sidebar .searchandfilter h4 {
	padding: 0;
	margin: 0 0 20px;
}

#sidebar .searchandfilter > ul > li,
#sidebar .searchandfilter ul li:last-child {
	padding: 0;
}

#sidebar .searchandfilter > ul > li:not(:last-child) {
	margin: 0 0 25px;
}

#sidebar .searchandfilter li {
	position: relative;
}

#sidebar .sf-field-taxonomy-product_cat li ul {
	padding-left: 20px;
}

#sidebar .sf-field-taxonomy-product_cat li:not(.sf-option-active) ul:not(:has(.sf-option-active)) {
	display: none;
}

#sidebar .sf-field-taxonomy-product_cat li:not(.sf-option-active,:has(.sf-option-active)) > label {
	margin: 0;
}

#sidebar .sf-field-taxonomy-product_cat li:has(ul) > label::after {
	content: "\2b";
	color: var(--wpex-accent);
    font-family: var(--ff-icons);
    font-size: 0.8em;
    font-weight: var(--wpex-bold);
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

#sidebar .sf-field-taxonomy-product_cat li:is(.sf-option-active:has(.children),:has(.sf-option-active)) > label::after {
	content: "\f068";
}

#sidebar .searchandfilter li ul li {
	padding: 0 0 5px;
}

#sidebar .searchandfilter .children {
	margin: 0;
}

#sidebar .sf-input-radio {
	width: 100%;
    height: 100%;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}

#sidebar li:has(.children) > label {
	margin: 0 0 5px;
}

#sidebar .sf-input-radio + label {
	display: block;
	padding-left: 30px;
    margin: 0;
    position: relative;
}

#sidebar .sf-input-radio + label:hover {
	cursor: pointer;
}

#sidebar .sf-input-radio + label::before {
	content: "\f00c";
    border: 1px solid #aaa;
    border-radius: var(--br-circle, 0);
    color: transparent;
    font-family: var(--ff-icons);
    font-size: 0.6em;
    font-weight: 600;
    line-height: 19px;
    text-align: center;
    display: inline-block;
    width: 20px;
	height: 20px;
    margin: 0 10px 0 0;
    position: absolute;
    left: 0;
    top: 2px;
}

#sidebar .sf-input-radio:checked + label::before {
	background: var(--celeste-c);
	border-color: var(--azul);
	color: var(--azul);
}

#sidebar .sf-count {
	font-size: 0.8em;
	opacity: 0.6;
}

/* Lo más vendido */

#sidebar .wc-block-grid__product-onsale {
	display: none;
}

#sidebar .wp-block-product-best-sellers ul {
	margin: 0;
	gap: 20px;
}

#sidebar .wp-block-product-best-sellers ul li {
	text-align: left;
	padding-left: 95px;
    min-height: 75px;
    position: relative;
}

#sidebar .wp-block-product-best-sellers ul li a {
	position: static;
}

#sidebar .wc-block-grid__product {
	border: none;
}

#sidebar .wp-block-product-best-sellers a {
	color: var(--negro);
}

#sidebar .wc-block-grid__product-image {
	background: #fff;
    border-radius: var(--br-notice, 0);
    padding: 10px;
	margin: 0;
    transition: all ease 0.3s;
	width: 75px;
    height: 75px;
    position: absolute;
    top: 0;
    left: 0;
}

#sidebar .wc-block-grid__product-image img {
	border-radius: var(--br-notice, 0);
	width: 100%;
	height: auto;
}

#sidebar .wc-block-grid__product-title {
	font-size: var(--wpex-text-base);
	font-weight: 400;
	line-height: 1.4em !important;
	display: block;
	margin-bottom: 10px;
}

#sidebar .wc-block-grid__product-price {
	line-height: 1em;
	display: flex;
	align-items: flex-end;
    gap: 5px;
	margin: 0;
}

#sidebar .wc-block-grid__product-price ins,
#sidebar .wc-block-grid__product-price > .amount {
	font-weight: 600;
	text-decoration: none;
	order: 1;
}

#sidebar .wc-block-grid__product-price del {
	color: var(--wpex-text-4);
	font-size: 12px;
    order: 2;
}

/*//////////////////////////////////////////////////////*/
/*///INICIO/////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////*/

#inicio-desktop {
	margin: 0;
}

#inicio-desktop > .vc_column_container > .vc_column-inner {
	padding: 0
}

#inicio-primary {
	width: calc(100% - clamp(250px,17vw,300px));
	padding-left: 60px;
}

#inicio-sidebar {
	width: clamp(250px,17vw,300px);
}

@media (width <= 1280px) {

	#inicio-primary {
		width: 100%;
		padding-left: 0;
	}

	#inicio-sidebar {
		width: 100%;
		display: none;
	}
	
}

@media (width >= 768px) {	
	
	#inicio-mobile {
		display: none;
	}	
	
}
/*
@media (width < 768px) {
	
	#inicio-desktop,
	#inicio-desktop-bottom {
		display: none;
	}
	
}*/

/* Slider */

@media (width > 1280px) {

	.inicio-slider .align-left {
		left: calc(clamp(250px,17vw,300px) + 60px) !important;
	}
	
}

@media (width > 480px ) {
	
	.inicio-slider rs-layer-wrap:has(.align-left) {
		width: 86%;
		max-width: 1430px;
		left: 50% !important;
		translate: -50%;
	}

	.inicio-slider .boton-agregar {
		display: inline-block;
	}
	
}

/* Ofertas */

.inicio-ofertas .wpex-card-inner {
	border: 2px solid var(--amarillo);
	border-radius: var(--br-round, 0);
	padding: 30px;
	transition: all ease 0.3s;
}

.inicio-ofertas .wpex-card-inner:hover {
	border: 2px solid var(--amarillo-alt);
}

.inicio-ofertas .wpex-card-inner img {
	display: block !important;
	border-radius: calc(var(--br-round, 0) - 5px);
}

.inicio-ofertas .vcex-wc-template-part--loop__sale-flash {
	left: -15px;
}

.inicio-ofertas .onsale {
	border-radius: var(--br-pill, 0);
}

.inicio-ofertas .onsale::after {
	display: none;
}

.inicio-ofertas .vcex-wc-template-part--loop__title {
	line-height: 1.4em;
}

.inicio-ofertas .woocommerce-loop-product__title {
	-webkit-line-clamp: 3 !important;
}

.inicio-ofertas .price {
	display: flex;
	align-items: flex-end;
	gap: 8px;
}

.inicio-ofertas .price ins {
	line-height: 1em;
}

.inicio-ofertas .price del {
	line-height: 1.2em;
	order: 2;
}

.inicio-ofertas .vcex-wc-template-part--loop__add-to-cart {
	margin-top: auto;
}

.inicio-ofertas .button,
.inicio-ofertas .added_to_cart {
	display: block;
	line-height: 1em;
    padding: 10px;
}

@media (width < 1200px) {

	.inicio-ofertas .vc_row {
		row-gap: 20px !important;
	}

	.inicio-ofertas .wpex-card-inner .wpb_column {
		position: unset;
	}
	
	.inicio-ofertas .vcex-wc-template-part--loop__sale-flash {
		position: absolute;
		top: 10px;
		left: 15px;
	}
	
}

@media (width < 768px) {

	.inicio-ofertas .wpex-card-inner {
		padding: 20px;
	}
	
}

/* Destacados */

@media (width < 1024px) {
	
	.inicio-destacados .wpex-post-cards-loop .wpex-post-cards-entry:nth-child(7),
	.inicio-destacados .wpex-post-cards-loop .wpex-post-cards-entry:nth-child(8) {
		display: none !important;
	}
	
}

/* Más vendidos */

.mas-vendidos .vcex-wc-template-part--loop__thumbnail {
	border: 1px solid #ccc;
	border-radius: var(--br-notice, 0);
	padding: 10px;
	transition: all ease 0.3s;
}

.mas-vendidos .wpex-card-inner:hover .vcex-wc-template-part--loop__thumbnail {
	border-color: var(--azul);
}

.mas-vendidos img {
	border-radius: calc(var(--br-round, 0) / 2);
	display: block;
}

.mas-vendidos .wpex-card-inner:hover h2 {
	color: var(--wpex-accent);
}

.mas-vendidos .vcex-wc-template-part--loop__title {
	line-height: 1.2em;
	margin-bottom: 10px !important;
}

.mas-vendidos .price {
	line-height: 1em;
	display: flex;
	align-items: flex-end;
	gap: 5px;
}

.mas-vendidos .price del {
	order: 2;
}

/* Categorías */

.inicio-categorias .vcex-terms-grid-entry-image {
	margin-bottom: 10px;
}

.inicio-categorias img {
	background: var(--celeste-c);
	border-radius: var(--br-circle, 0);
	width: 100%;
	transition: all ease 0.3s;
}

.inicio-categorias .vcex-terms-carousel-entry:hover img {
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--amarillo);
}

.inicio-categorias h2 {
	hyphens: auto;
}

@media (width < 768px) {
	
	.inicio-categorias h2 {
		font-size: 0.8em !important;
	}
	
}

/* Blog */

.blog.wpex-post-cards .wpex-post-cards-entry {
	height: 100%;
}

.blog.wpex-post-cards .wpex-card-title {
	font-weight: 500;
}

.blog.wpex-post-cards .wpex-card-author {
	display: none !important;
}

.blog.wpex-post-cards .wpex-card-meta {
    color: #1e5fc6;
    font-size: 12px;
	line-height: 1.4em;
    text-transform: uppercase;
}

.blog.wpex-post-cards .wpex-card-more-link {
	margin-top: auto;
}

@media (width < 768px) {
	
	.blog.wpex-post-cards .wpex-post-cards-entry .wpex-card-media {
		width: calc(100% + 42px);
		margin: -1px 0 20px -21px;
	}

	.blog.wpex-post-cards .wpex-post-cards-entry {
		padding: 0 20px 20px;
		margin: 0 !important;
	}
	
	.blog.wpex-post-cards .wpex-card-excerpt {
		display: none !important;
	}
	
	.blog.wpex-post-cards .wpex-card-more-link a {
		padding: 10px 0 !important;
		width: 100%;
	}
	
}

/*//////////////////////////////////////////////////////*/
/*///BLOG///////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////*/

/* Título */

.blog-entry.span_1_of_2 {
	width: 100%;
}

/* Archivo */

#blog-entries {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: var(--col-gap);
	row-gap: var(--general-gap);
	margin-bottom: var(--general-gap);
}

#blog-entries::after {
    display: none;
}

#blog-entries article,
.blog.wpex-post-cards .wpex-post-cards-entry {
	border: 1px solid #ccc;
	border-radius: var(--br-round, 0);
	padding: 0 30px 30px;
	margin: 0 0 0;
}

#blog-entries article .blog-entry-inner {
	display: flex;
	flex-direction: column;
    flex-grow: 1;
	height: 100%;
}

#blog-entries article .blog-entry-media,
.blog.wpex-post-cards .wpex-post-cards-entry .wpex-card-media {
	width: calc(100% + 62px);
	margin: -1px 0 30px -31px
}

#blog-entries article .blog-entry-media img,
.blog.wpex-post-cards .wpex-post-cards-entry .wpex-card-media img {
	border-radius: var(--br-round, 0) var(--br-round, 0) 0 0 ;
}

#blog-entries article .blog-entry-readmore {
	margin-top: auto;
}

#blog-entries article .entry-divider {
	display: none;
}

#blog-entries article .blog-entry-excerpt {
    margin-top: 0;
}

.meta:not(.meta-vertical) li {
	margin-right: 15px;
}

.meta li .meta-icon {
	margin-right: 5px;
}

@media (width <= 1280px) {
	
	#blog-entries {
		grid-template-columns: repeat(2, 1fr);
	}
	
}
/*
@media (width >= 768px) {
	
	.blog:not(.paged) #blog-entries article:first-child {
		background: var(--celeste-c);
		border: none;
		padding: clamp(30px,3vw,50px);
		width: 100%;
		grid-column: 1 / -1;
	}

	.blog:not(.paged) #blog-entries article:first-child .blog-entry-inner {
		padding: clamp(20px, 3vw, 50px) 0 clamp(20px, 3vw, 50px) calc(50% + 1.5vw);
		position: relative;
	}

	.blog:not(.paged) #blog-entries article:first-child .blog-entry-media {
		border-radius: var(--br-round, 0);
		height: 100%;
		width: calc(50% - 25px);
		margin: 0;
		position: absolute;
		left: 0;
		top: 0;
		overflow: hidden;
	}

	.blog:not(.paged) #blog-entries article:first-child .blog-entry-media a {
		display: block;
		height: 100%;
	}

	.blog:not(.paged) #blog-entries article:first-child .blog-entry-media img {
		height: 100%;
		width: 100%;
		object-fit: cover;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
	}

	.blog:not(.paged) #blog-entries article:first-child h2 a {
		font-size: 30px;
	}
	
}
*/
@media (width < 768px) {
	
	#blog-entries {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.blog.wpex-post-cards .wpex-post-cards-entry {
		padding: 0 15px 15px;
	}
	
	.blog.wpex-post-cards .wpex-post-cards-entry .wpex-card-media {
		width: calc(100% + 32px);
		margin: -1px 0 15px -16px;
	}
	
}

/* Individual */

.single-blog-media {
	margin: 40px 0 40px;
}

.single-blog-content .wp-block-heading {
	margin: 0 0 26px;
}

.single-blog-content > div > h2:not(:first-child) {
	margin-top: 35px;
}

.single-blog-content ul,
.single-blog-content ol {
	list-style: none;
	padding: 0;
	margin-left: 0;
}

.single-blog-content ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	column-gap: 20px;
}

.single-blog-content li {
	padding: 0 0 10px 25px;
	position: relative;
}

.single-blog-content li:last-child {
	padding-bottom: 0;
}

.single-blog-content ul li::before {
	content: "\f192";
	color: var(--azul);
	font-family: var(--ff-icons);
	font-weight: 400;
	position: absolute;
	top: 0;
	left: 0;
}

.single-blog-content ol {
	counter-reset: blog-ol-list;
}

.single-blog-content ol li {
	counter-increment: blog-ol-list;
}

.single-blog-content ol li::before {
	content: counter(blog-ol-list) ")";
	color: var(--azul);
	font-weight: 600;
	position: absolute;
	top: 1px;
	left: 0;
}

.single-blog-content p:last-child {
	margin: 0;
}

.single-blog-content a {
	text-decoration: underline !important;
}

/*//////////////////////////////////////////////////////*/
/*///CONTACTO///////////////////////////////////////////*/
/*//////////////////////////////////////////////////////*/

.contacto-info ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.contacto-info li {
	padding-left: 20px;
	position: relative;
}

.contacto-info li:not(:last-child) {
	padding-bottom: 5px;
}

.contacto-info li .wpex-icon {
	fill: var(--wpex-accent);
	position: absolute;
	left: 0;
	top: 0;
}

.contacto-info li .wpex-icon path {
	fill: var(--wpex-accent);
}

.contacto-info a {
	color: var(--text-2);
	text-decoration: none;
}

.contacto-info a:hover {
	color: var(--azul);
	text-decoration: underline;
}

.horarios td {
	border: none;
	padding: 6px 0;
}

.horarios tr:not(:last-child) td {
	border-bottom: 1px solid #ccc;
}

.horarios tr:last-child td {
	padding-bottom: 0;
}

.horarios tr td:last-child {
	text-align: right;
}

.contacto-sidebar > .vc_column-inner > .wpb_wrapper {
	background: var(--wpex-surface-2);
	border-radius: var(--br-round, 0);
	padding: var(--reduced-gap);
}

@media (width < 768px) {
	
	.contacto-sidebar > .vc_column-inner > .wpb_wrapper {
		padding: 30px;
	}
	
}

/* Formulario */

.wpcf7 form div.wpcf7-response-output {
	line-height: 1.65;
}

/*//////////////////////////////////////////////////////*/
/*///FOOTER/////////////////////////////////////////////*/
/*//////////////////////////////////////////////////////*/

/* Newsletter */

#magno-newsletter {
	border-radius: var(--br-pill, 0);
	overflow: hidden;
}

#f-newsletter button {
	background: var(--wpex-accent-alt);
	border-radius: 0 !important;
	color: var(--wpex-on-accent-alt);
}

#f-newsletter button:hover {
	background: var(--wpex-on-accent-alt);
	color: var(--wpex-on-accent)
}

/* Medios de pago */

#f-bottom .vcex-image-grid {
	filter: none;
}