/* 
Theme Name: Davide-theme
Theme URI: https://davide.es
Description: Tema desarrollado por Roberto Núñez Studio
Author: Roberto Núñez Studio
Author URI: https://davide.es
Template: astra
Version: 1.0
Text Domain: Davide-theme
License: GNU General Public License v3 or later.
*/

/* WEBFONTS */
@font-face {
  font-family: "GothamSSm";
  src: url("/wp-content/themes/davide-theme/fonts/GothamSSm-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "GothamSSm";
  src: url("/wp-content/themes/davide-theme/fonts/GothamSSm-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham';
  src: url('/wp-content/themes/davide-theme/fonts/Gotham-Book.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham';
  src: url('/wp-content/themes/davide-theme/fonts/Gotham-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

/* HEADER */
#masthead, .ast-site-identity, .custom-logo, .mm-container  {
	transition: transform 500ms linear,-webkit-transform 500ms linear;
}
.mm-container {
	position: absolute;
	bottom: 1.7em;
	right: 0;
	line-height: 1;}
.mm-trigger {cursor: pointer;}
.sticky {
	position: fixed!important;
	width: 100%;
	box-shadow: 0 5px 12px 0 rgba(224,229,238,0.4);
}
.sticky .main-header-bar {background: rgba(255,255,255,1);}
.sticky .ast-site-identity {padding: .2em 0;}
.sticky .custom-logo {max-height: 55px!important;}
.sticky .astra-logo-svg {width: auto;}
.ast-header-break-point .main-header-menu {background-color: transparent;}

@media (min-width: 769px) {
	.header-main-layout-2 .site-branding {
		padding-top: 1.5em;
		padding-bottom: 1em;
	}
	.ast-logo-title-inline .site-logo-img {
		padding-right: 1.5em;}
	.sticky .site-logo-img {
		padding-right: 0;}
	.sticky .header-main-layout-2 .site-branding {
		padding-top: 1em;
		padding-bottom: .5em;
	}
	.sticky .mm-container {bottom: 1em;}
}
@media (max-width: 768px) {
	.ast-no-menu-items {transition: .5s;}
	.main-header-bar {min-height: 50px;}
	.ast-site-identity, .sticky .ast-site-identity {padding: 1.5em 0 .5em;}
	.mm-container {bottom: .5em;}
}


/* GENERAL */
body {
	font-family: 'GothamSSm';
	font-weight: normal;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, .entry-content h1, h1 span,
h2, .entry-content h2,
h3, .entry-content h3,
h4, .entry-content h4,
h5, .entry-content h5,
h6, .entry-content h6,
.site-title, .site-title a, 
.entry-title, .entry-title a {
	font-weight: bold;
	color: #000;
}
h2, h2.elementor-heading-title {
	letter-spacing: 2px;
	line-height: 1.4!important;
}
body, p, span, a, a:hover {color: #000;}

.elementor hr {
    background-color: transparent!important;
}

/* Fix Safari Webfonts */
.page-id-749 .site-content,
.page-id-756 .site-content, 
.page-id-1064 .site-content {font-family: 'Gotham', -apple-system, sans-serif;}
.woocommerce-checkout label,
.woocommerce-checkout th,
.woocommerce-checkout td,
.woocommerce-checkout .product-quantity,
.woocommerce-terms-and-conditions,
.woocommerce-terms-and-conditions span,
.woocommerce-terms-and-conditions p,
.woocommerce-terms-and-conditions ul li,
.woocommerce-terms-and-conditions h2,
.woocommerce-terms-and-conditions h3 {font-family: -apple-system, sans-serif;}

/* BOTONES */
.boton-info, .boton-download {
	color: #000;
	background: #fff;
	padding: 1em;
	min-width: 150px;
	text-align: left;
	border-radius: 0;
	position: relative;
	transition: .5s;
}
.boton-download:hover, .boton-info:hover {
	animation: _ripples-white .8s ease-in-out 1; 
	opacity: .7;
}
.boton-info span::after {
	content: "〉";
	position: absolute;
	color: #000;
	border-left: 1px solid #ccc;
	padding: .5em 0 .5em .9em;
	background: #fff;
	right: 8px;
	top: 8px;
}
.boton-download span::after {
	content: "﹀";
	position: absolute;
	color: #666;
	border-left: 1px solid #ccc;
	padding: .8em .15em .2em .6em;
	background: #fff;
	right: 8px;
	top: 8px;
}

@keyframes ripples-white {
    0% {box-shadow: 0 0 0 0 rgba(255, 255, 255, .6)}
    100% {box-shadow: 0 0 0 1em rgba(255, 255, 255, 0)}
}

/* Selector idioma */
.lang-select ul {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: normal;
}
.lang-select ul li a {
	display: block;
    font-size: 2em;
    line-height: 1em;
	padding: 13px 20px;
	color: #000!important;
}


/* BLOQUES & POPUPS*/
.vertical-line-black {display: flex; justify-content: center;}
.bloque-negro p {color: #fff; font-weight: bold;}
.bloque-negro .swiper-pagination-bullet {background: rgba(255,255,255,.85)}
.prod-text-info hr {height: 15px;}
.prod-text-info .boton-info {margin-top: 20px;}
.prod-text-info p {color: #fff; font-weight: 400;}
.prod-text-info strong {font-weight: 700;}

.popup-oscuro p {
	color: #fff;
    font-size: 14px;
    line-height: 1.6;
}
.popup-oscuro strong, .popup-oscuro h2 {
	-webkit-font-smoothing: subpixel-antialiased;
	-webkit-text-stroke: 0.6px rgba(255,255,255,1);
	letter-spacing: 0.01em;
}

.popup-18 .boton-info {
	text-align: center;
}
.popup-18 .boton-info span::after {
	display: none;
}

@media (min-width: 1100px) {
	.prod-text-info {position: absolute; left: 120px;}
	#store .prod-text-info {position: relative; left: 0;}
}

@media (max-width: 768px) {
	.popup-oscuro {padding-bottom: 4%;}
	.prod-text-info {
		text-align: center;
	}
	.botella-max-height-mobile img {
		max-height: 500px;
	}
}

/* STORE */
#store .prod-text-info p {color: #fff; font-weight: 400;}
#store .prod-text-info strong {font-weight: 700;}
}


/* FORMULARIO CONTACTO */
.elementor-field-group .elementor-field-textual {
	border-bottom: 1px solid #5d737e!important;
	color: #5d737e;
}
.elementor-field-group .elementor-field-textual:focus {
	box-shadow: none;
	background-color: #e7ecef!important;
	border-bottom: 1px solid #37acd5!important;
	color: #5d737e;
}
span.elementor-button-text {
	color: #fff;
	font-weight: bold;
}
button, input, optgroup, select, textarea {
	font-family: 'GothamSSm'!important;
}

/* AVISO DE COOKIES */
.cc-window {
	box-shadow: 0 5px 12px 0 rgba(55, 172, 213,.3);
}
span.cc-message {
	color: #fff;
}
@media screen and (max-width: 414px) and (orientation: portrait){
	.cc-window {box-shadow: 0;}
	.cc-floating.cc-theme-edgeless .cc-message {margin: 1em!important; font-size: .9em;}
}


/* LANGUAGE */
.lang-switcher ul {margin: 0; padding: 0;}
.lang-switcher ul li {display: inline; padding:0 .5em; font-size: 1.2em;}
.lang-switcher ul li.current-lang a {background: #000; padding: .5em 1em; color: #fff;}

/* WOOCOMMERCE */


/*.summary.entry-summary > h1, body .summary.entry-summary p.price {display: none!important;}*/

@media (min-width: 769px) {
	body.single-product {
		background: rgb(0,0,0);
		background: linear-gradient(
			90deg, 
			rgba(0,0,0,1) 0%,
			rgba(0,0,0,1) 50%,
			rgba(255,255,255,1) 50%,
			rgba(255,255,255,1) 100%
		);
}
	.woocommerce #content .ast-woocommerce-container div.product div.images, .woocommerce .ast-woocommerce-container div.product div.images, .woocommerce-page #content .ast-woocommerce-container div.product div.images, .woocommerce-page .ast-woocommerce-container div.product div.images {width: 50%}
	.woocommerce #content .ast-woocommerce-container div.product div.summary, .woocommerce .ast-woocommerce-container div.product div.summary, .woocommerce-page #content .ast-woocommerce-container div.product div.summary, .woocommerce-page
	.ast-woocommerce-container div.product div.summary {width: 50%}
	div.summary.entry-summary {padding: 0 3em!important;}
}

.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title {font-size: 1.2em;}
.woocommerce span.onsale {padding: 5px!important; font-size: .8em;}

.woocommerce div.product form.cart .reset_variations {
	margin-left: 2em;
	color: #000!important;
}


.woocommerce-product-gallery__image {
    pointer-events: none;
}

.woocommerce div.product form.cart .variations select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0 !important;
  background: #000;
  background-image: none;
}
/* Remove IE arrow */
.woocommerce div.product form.cart .variations select::-ms-expand {
  display: none;
}
/* Custom Select */
.woocommerce div.product form.cart .variations .value {
	line-height: 1.6;
	height: 50px;
	max-width: 100%;
	min-width: 50%;
	width: 50%;
  position: relative;
  display: flex;
  background: #000;
  overflow: hidden;
	border-radius: 0;
}
.woocommerce div.product form.cart .variations select {
	flex: 1;
	padding: 0 .5em;
	color: #fff;
	cursor: pointer;
	min-width: 100%;
}
/* Arrow */
.woocommerce div.product form.cart .variations .value::after {
  content: '﹀';
	color: #fff;
  position: absolute;
  top: 30%;
  right: 14px;
  cursor: pointer;
  pointer-events: none;
  -webkit-transition: .25s all ease;
  -o-transition: .25s all ease;
  transition: .25s all ease;
}

@media (max-width: 768px) {
	.woocommerce div.product form.cart .variations .value {width: 100%;}
	.woocommerce div.product form.cart .button.single_add_to_cart_button {
	width: 83.9%;
	border-radius: 0;
	font-weight: 700;
	background: #000;
	color: #fff!important;
	line-height: 1.6;
	min-height: 50px;
	}
	.woocommerce .quantity .qty {
	min-height: 50px;
	}
	.woocommerce-variation-add-to-cart {display: flex; justify-content:center;}
	.postid-724 button.single_add_to_cart_button {width: 100%!important;}
}
@media (min-width: 1800px) {
	.woocommerce-page .site-footer {bottom: 0; position: fixed; width:100%;}
}
@media (min-width: 769px) {
	.woocommerce #content .ast-woocommerce-container div.product div.summary, .woocommerce .ast-woocommerce-container div.product div.summary, .woocommerce-page #content .ast-woocommerce-container div.product div.summary, .woocommerce-page .ast-woocommerce-container div.product div.summary {
		min-height: 667px;
		display: flex;
		flex-direction: column;
		justify-content: center;}
	.woocommerce .quantity .qty {
	width: 100%;
	text-align: center;
	min-height: 50px;
}
	.woocommerce div.product form.cart .button.single_add_to_cart_button {
	width: 49%;
	border-radius: 0;
	font-weight: 700;
	background: #000;
	color: #fff!important;
	line-height: 1.6;
	min-height: 50px;
}
	.woocommerce .button.single_add_to_cart_button:hover:not(.disabled) {
		animation: _ripples-black .8s ease-in-out 1;
		opacity: .6;
	}
	.postid-724 .woocommerce-variation-add-to-cart,
	.postid-938 .woocommerce-variation-add-to-cart,
	.postid-975 .woocommerce-variation-add-to-cart {
		width: 100%;
		display: flex;
		justify-content: flex-end;
		margin-top: -65px;}
	.postid-724 .woocommerce-variation,
	.postid-938 .woocommerce-variation,
	.postid-975 .woocommerce-variation {
		display: block;
		position: absolute;
		margin-top: 70px;
	}
}
@keyframes ripples-black{
    0% {box-shadow: 0 0 0 0 rgba(0, 0, 0, .4)}
    100% {box-shadow: 0 0 0 1em rgba(0, 0, 0, 0)}
}

.woocommerce .woocommerce-message a.button {border-radius: 0!important; color: #fff!important;}
.woocommerce-message::before, .woocommerce-info::before {display: none;}

.variations_form table, .variations_form td, .variations_form th {border: 0!important;}

.woocommerce-error, .woocommerce-info, .woocommerce-message, .woocommerce table.shop_table thead, .woocommerce-page table.shop_table thead, .woocommerce-cart .cart-collaterals .cart_totals > h2, .woocommerce-cart .cart-collaterals .cross-sells > h2 {background-color: #fff;}

.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-cart .cart-collaterals .cross-sells, .woocommerce div.product .product_meta, .woocommerce-cart .cart-collaterals .cart_totals > h2, .woocommerce div.product .woocommerce-tabs ul.tabs, .woocommerce a.remove, .woocommerce form .form-row textarea, .woocommerce input[type="email"], .woocommerce input[type="number"], .woocommerce input[type="password"], .woocommerce input[type="reset"], .woocommerce input[type="search"], .woocommerce input[type="tel"], .woocommerce input[type="text"], .woocommerce input[type="url"], .woocommerce textarea, .woocommerce-page form .form-row textarea, .woocommerce-page input[type="email"], .woocommerce-page input[type="number"], .woocommerce-page input[type="password"], .woocommerce-page input[type="reset"], .woocommerce-page input[type="search"], .woocommerce-page input[type="tel"], .woocommerce-page input[type="text"], .woocommerce-page input[type="url"], .woocommerce-page textarea, .woocommerce-page.woocommerce-checkout form #order_review_heading, .woocommerce.woocommerce-checkout form #order_review_heading, .woocommerce-page.woocommerce-checkout form #order_review, .woocommerce-page.woocommerce-checkout #customer_details h3, .woocommerce.woocommerce-checkout #customer_details h3, .woocommerce .select2-container .select2-selection--single, .woocommerce select, .woocommerce-page .select2-container .select2-selection--single, .woocommerce-page select, .woocommerce .widget_shopping_cart .total, .woocommerce.widget_shopping_cart .total, .woocommerce-cart .cart-collaterals .cross-sells > h2 {border-color: #000;}

.woocommerce .woocommerce-breadcrumb, .woocommerce a.remove, .woocommerce table.shop_table th {color: #000;}
.woocommerce .woocommerce-breadcrumb a, .woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] {color: #000;}
#order_review_heading, #order_review {background: #fff;}
.woocommerce-page.woocommerce-checkout form #order_review td, .woocommerce-page.woocommerce-checkout form #order_review th, .woocommerce.woocommerce-checkout form #order_review td, .woocommerce.woocommerce-checkout form #order_review th {padding-left: 12px;}

.select2-dropdown {border: 1px solid #000!important; border-radius: 0!important;}
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {background-color: #000;}
.select2-container--default .select2-selection--single .select2-selection__rendered, input[type="email"], input[type="number"], input[type="password"], input[type="reset"], input[type="search"], input[type="tel"], input[type="text"], input[type="url"], select, textarea {color: #000;}

.woocommerce-error, .woocommerce-info, .woocommerce-message {border: 1px solid;}

.woocommerce table.cart td.actions .button, .woocommerce a.button.alt:hover, #place_order:hover {
	background-color: #000 !important;
	color: #fff !important;
	border-radius: 0 !important;
}
.woocommerce-cart table.shop_table .woocommerce-Price-amount, .woocommerce-cart table.shop_table td.product-name {
    font-weight: inherit;
}

.attachment-shop_thumbnail .woocommerce-product-gallery__image {
	background-color: #000;
}

.price-suffix {font-size: 12px; color:#000; margin-left: 9em;}


@media (max-width: 768px) {
	.woocommerce-product-gallery {
		background: #000;
		width: 100vw!important;
		margin-left: -20px;
	}
	.woocommerce div.product form.cart {
		margin-top: 60px!important;
	}
}


/* Product title prev next */

.prev_next_buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.prev_next_buttons .prev_product_arrow,
.prev_next_buttons .next_product_arrow {
  display: inline-block;
  font-size: 28px;
  text-decoration: none;
}

.prev_product_arrow {
  transform: rotate(90deg);
}

.next_product_arrow {
  transform: rotate(-90deg);
}

.prev_next_buttons .product_title_wrapper {
  flex: 1;
  text-align: center;
}

.woocommerce-js div.product .product_title {
  margin: 0;
}