/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.1.1726135790
Updated: 2024-09-12 10:09:50

*/

:root {
	--primary-color: #f0dc7b;
	--secondary-color: #f7f7f7;
	--accent-color: #ff4587;
	--hover-color: #868686;
}

/* ESTILOS ATÓMICOS */
.p-0 {
	padding: 0 !important;
}
.pl-2 {
	padding-left: 0.5rem !important;
}
.pr-2 {
	padding-right: 0.5rem !important;
}
.py-4 {
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
}
.py-6 {
	padding-top: 1.5rem !important;
	padding-bottom: 1.5rem !important;
}
.py-12 {
	padding-top: 3rem !important;
	padding-bottom: 3rem !important;
}
.px-4 {
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}
.px-6 {
	padding-left: 1.5rem !important;
	padding-right: 1.5rem !important;
}
.px-8 {
	padding-left: 2rem !important;
	padding-right: 2rem !important;
}
.px-12 {
	padding-left: 3rem !important;
	padding-right: 3rem !important;
}
.w-full {
	width: 100% !important;
}
.h-full {
	height: 100% !important;
}
.w-fit {
	width: fit-content !important;
}
.max-w-full {
	max-width: 100% !important;
}
.mx-none {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.mx-auto {
	margin-left: auto !important;
	margin-right: auto !important;
}
.mt-4 {
	margin-top: 1rem !important;
}
.bg-primary {
	background-color: var(--primary-color) !important;
}
.bg-secondary {
	background-color: var(--secondary-color) !important;
}
.text-accent {
	color: var(--accent-color) !important;
}
.text-center {
	text-align: center !important;
}
.text-base {
	font-size: 1rem !important;
}
.text-lg {
	font-size: 1.5rem !important;
}
.text-xl {
	font-size: 2rem !important;
}
.text-2xl {
	font-size: 3rem !important;
}
.font-bold {
	font-weight: 700 !important;
}
.uppercase {
	text-transform: uppercase !important;
}
.flex {
	display: flex;
}
.flex-col {
	flex-direction: column;
}
.justify-center {
	justify-content: center;
}
.grid {
	display: grid;
}
.text-balance {
	text-wrap: balance !important;
}
.w-prose {
	max-width: 65ch !important;
}
.list-style-none {
	list-style-type: none !important;
}
.bl-primary {
	border-left: 4px solid var(--primary-color) !important;
}

/*ESTILOS GLOBALES */
/* enlaces */
a:not(.ab-item) {
	font-family: 'Work Sans', Sans-serif !important;
	letter-spacing: 0.5px !important;
	color: black !important;
	transition: all 0.4s ease !important;
	&:hover {
		color: var(--primary-color) !important;
	}
}

/* encabezados */
h1,
h2 {
	font-family: 'Playfair Display', Sans-serif !important;
	letter-spacing: -0.5px !important;
}

h3,
h4,
h5,
h6 {
	font-family: 'Montserrat', Sans-serif !important;
	letter-spacing: 0.5px !important;
}
/* apartados solo código */
.code-only-section,
.code-only-row {
	padding: 0 !important;
}
.woocommerce-message a {
	text-decoration: underline !important;
}

/* menu */
#menu-meniu-principal > li > a:hover,
.main-menu-row .et_pb_menu__cart-button:hover,
.woocommerce-message a:hover,
#menu-meniu-principal .current-menu-item > a,
#menu-meniu-principal .current-menu-ancestor > a,
#menu-meniu-principal .current-menu-parent > a {
	color: white !important;
}
#menu-meniu-principal .sub-menu {
	padding: 0 !important;
	border-top: none !important;
	width: fit-content !important;
	& > li {
		padding: 0 !important;
		& > a {
			color: #666 !important;
			background-color: #f1f1f1 !important;
			&:hover {
				background-color: #ddd !important;
				opacity: 1 !important;
			}
		}
	}
}
.mobile_menu_bar::before {
	color: black !important;
}

/* header */
.home #header {
	padding-bottom: 0 !important;
}
#header-logo img {
	pointer-events: none;
}
#header {
	& .et_pb_menu {
		background-color: var(--primary-color) !important;
	}
	& .menu-cliente {
		background-color: transparent !important;
		height: 40px;
		display: flex;
		justify-content: center;
		align-items: center;
		& a:hover {
			color: #bfbfbf !important;
		}
	}
}
#footer-global {
	& section {
		max-width: 1080px;
	}
	& h3 {
		padding-left: 0.3rem !important;
		padding-bottom: 0 !important;
		margin-bottom: 0.5rem !important;
	}
	& ul {
		list-style-type: none;
		margin-top: 2.5rem !important;
		padding-bottom: 0 !important;
		& li {
			margin-bottom: 1.3rem !important;
		}
	}
	& .att-cliente a {
		display: flex;
		gap: 0.5rem;
		align-items: center;
	}
	& .metodos-pago {
		gap: 1rem;
		& i {
			font-size: 2rem;
		}
	}
}

/* productos */
.hide-tabs ul.et_pb_tabs_controls {
	display: none;
}
.single-product .price {
	color: black !important;
}
/* producto */
.added_to_cart {
	display: none !important;
}
.et_shop_image:hover .et_overlay {
	opacity: 0.5 !important;
}
.et_shop_image:hover .et_overlay::before {
	content: '' !important;
	color: transparent !important;
}
.woocommerce-loop-product__title {
	font-family: 'Montserrat', Sans-serif !important;
	font-weight: 600 !important;
}
tr.woocommerce-product-attributes-item--attribute_pa_starea-stocului,
tr.woocommerce-product-attributes-item--attribute_pa_in-oferta,
tr.woocommerce-product-attributes-item--attribute_pa_plafon-de-inventar {
	display: none !important;
}

/* mi cuenta */
.woocommerce-MyAccount-content > div {
	color: black !important;
}
.woocommerce-account .addresses .title .edit {
	float: none !important;
}
.woocommerce-MyAccount-navigation > ul {
	list-style-type: none !important;
	& li {
		padding: 0.3rem 0 !important;
	}
	& li.is-active {
		background-color: #eee !important;
		text-decoration: underline !important;
	}
}

/* carrito */
.woocommerce-cart .woocommerce-notices-wrapper > div,
.woocommerce-cart .wc-empty-cart-message > div {
	background-color: var(--primary-color) !important;
	color: black !important;
}

button[name='add-to-cart'],
button[name='woocommerce_checkout_place_order'],
a.add_to_cart_button,
li.outofstock > a.product_type_simple,
.woocommerce-cart button,
.woocommerce-cart .wc-proceed-to-checkout a,
.woocommerce-cart .wc-backward,
.wc-forward,
.woocommerce-Button,
button[name='login'],
button[name='register'] {
	background-color: var(--primary-color) !important;
	padding-block: 0.5rem !important;
	padding-inline: 1rem !important;
	border: none !important;
	text-transform: uppercase !important;
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.1em !important;
	color: black !important;
}
button[name='add-to-cart']:after,
button[name='woocommerce_checkout_place_order']:after,
a.add_to_cart_button:after,
li.outofstock > a.product_type_simple:after,
.woocommerce-cart button:after,
.woocommerce-cart .wc-proceed-to-checkout a:after,
.woocommerce-cart .wc-backward:after,
.wc-forward:after,
.woocommerce-Button:after {
	content: none !important;
}
button[name='add-to-cart']:hover,
button[name='woocommerce_checkout_place_order']:hover,
a.add_to_cart_button:hover,
li.outofstock > a.product_type_simple:hover,
.woocommerce-cart button:hover,
.woocommerce-cart .wc-proceed-to-checkout a:hover,
.woocommerce-cart .wc-backward:hover,
.wc-forward:hover,
.woocommerce-Button:hover,
button[name='login']:hover,
button[name='register']:hover {
	background-color: #868686 !important;
	color: white !important;
	padding: 0.5rem 2rem !important;
}

/* home slider */
#seccion-slider-home {
	padding-top: 0 !important;
}
.home-slider h2 {
	border-bottom: 3px solid white !important;
	margin-bottom: 1.25rem !important;
	background-color: rgb(22 21 21 / 40%) !important;
}
.home-slider h3 {
	font-size: 1.25rem !important;
	text-wrap: balance !important;
	margin-bottom: 2rem !important;
	background-color: rgb(22 21 21 / 40%) !important;
}

/* home sections */
.card-product-title {
	font-size: 1.2rem;
	margin: 0 !important;
	& h1 {
		font-size: 1rem;
		text-align: center;
		text-wrap: balance;
	}
}
.card-product-price {
	margin-block: 0.5rem !important;
	width: 100% !important;
	& p.price {
		font-size: 1.2rem !important;
		color: black !important;
		text-align: center;
		font-weight: bold !important;
	}
}

.card-product-add-to-cart {
	margin-bottom: 0 !important;
	width: 100% !important;
	transition: all 0.4s ease;
	& .button {
		width: 100% !important;
	}
}

.col-texto-novedades {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	& .et_pb_code {
		height: 100% !important;
		& .et_pb_code_inner {
			height: 100% !important;
		}
	}
}
.kit-description {
	background-image: url('https://azabak.ro/wp-content/uploads/2024/11/seccion-kit-rumania-fondo.jpg');
	color: white !important;
	background-size: cover;
	background-position: center;
}
.description-text-wrapper {
	max-width: 60%;
	& h2 {
		color: white !important;
		margin-top: 1.5rem !important;
	}
	& p {
		line-height: 1.2;
	}
}
.description-image-wrapper img {
	transform: translateY(2rem);
}

/* slider lampi copii */
.lampi-copii .woocommerce,
.aplice-perete .woocommerce {
	overflow: hidden !important;
}
.lampi-copii .products,
.aplice-perete .products {
	display: flex !important;
	transition: all 0.4s ease !important;
	& .product {
		min-width: 100% !important;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}
.lampi-copii .izq,
.lampi-copii .der,
.aplice-perete .izq,
.aplice-perete .der {
	position: absolute;
	top: 50%;
	font-size: 2rem;
	cursor: pointer;
	border: 0;
	background-color: transparent;
	&:disabled {
		opacity: 0.5;
		cursor: not-allowed;
	}
}
.lampi-copii .izq,
.aplice-perete .izq {
	left: -36px;
}
.lampi-copii .der,
.aplice-perete .der {
	right: -36px;
}

/* fila transporte */
#fila-transporte .et_pb_image span {
	width: 100%;
}
#fila-transporte .et_pb_image img {
	width: 100% !important;
	height: auto;
}
.slider h3 {
	font-weight: 700;
}

/* ESTILOS ATÓMICOS DE HOVER */
.hover-bg:hover {
	background-color: var(--hover-color) !important;
}
#error-back-home:hover {
	color: white !important;
}

/* ESTILO PC FILA TRANSPORTE */
@media (min-width: 981px) {
	#fila-transporte .et_pb_column:first-child {
		margin-right: 1%;
	}
	#fila-transporte .et_pb_column:last-child {
		width: 61.4%;
	}
	#fila-transporte .et_pb_image {
		height: 100%;
		& span {
			height: 100%;
			overflow: hidden;
			& img {
				height: 300px;
				width: auto;
				max-width: fit-content;
			}
		}
	}
}

/* 404 */
.four-oh-four-code {
	height: 100%;
	& .et_pb_code_inner {
		height: 100%;
	}
}

/* ESTILOS PC */
@media all and (min-width: 1100px) {
	/* ESTILOS ATÓMICOS */
	.lg-w-full {
		width: 100% !important;
	}
	.lg-max-w-full {
		max-width: 100% !important;
	}
	.lg-mx-none {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.lg-grid-cols-4 {
		grid-template-columns: repeat(4, 1fr);
	}
	.lg-col-span-2 {
		grid-column: span 2;
	}
	.lg-justify-self-center {
		justify-self: center;
	}

	/* estilos sección globales */
	.et_pb_section {
		padding: 2rem 0 !important;
	}

	#header {
		& .main-menu-row {
			justify-content: center;
			padding-block: 0.5rem !important;
		}
		& .et_pb_menu__wrap {
			justify-content: center !important;
		}
		& .dgwt-wcas-meta {
			display: flex;
		}
	}

	/* home slider */
	.home-slider h3 {
		font-size: 2.5rem !important;
	}

	/* slider lampi copii */
	.lampi-copii .products,
	.aplice-perete .products {
		& .product {
			min-width: calc(25% - 2rem) !important;
		}
	}

	/* categorias */
	ul.products {
		display: grid !important;
		grid-template-columns: repeat(4, 1fr) !important;
		gap: 2rem !important;
		&:before {
			content: none !important;
		}
		& li.product {
			margin: 0 !important;
			width: 100% !important;
			display: flex !important;
			flex-direction: column !important;
			& a.woocommerce-LoopProduct-link {
				display: flex !important;
				flex-direction: column !important;
				justify-content: space-between !important;
				flex-grow: 1 !important;
				& h2 {
					flex-grow: 1 !important;
					text-wrap: balance !important;
					text-align: center !important;
					line-height: 1.2 !important;
				}
				& .price {
					text-align: center !important;
					& .woocommerce-Price-amount {
						font-size: 1.2rem !important;
						color: black !important;
						font-weight: bold !important;
					}
				}
			}
			& .button {
				text-align: center !important;
				width: 100% !important;
			}
		}
	}

	/* productos */
	table.woocommerce-product-attributes tbody {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		text-align: left !important;
	}

	/* estilos home */
	.description-image-wrapper img {
		transform: translateY(4rem);
	}
}
