/*
Theme Name: LydiaCakes
Author: @displaynonestudio
Author URI: https://displaynone.es
Description: Basado en Supro.
Version: 1.0
License: GNU General Public License v2+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: supro
Domain Path: /lang/
Tags: one-column, two-columns, left-sidebar, right-sidebar, full-width-template, post-formats, theme-options, threaded-comments, translation-ready
Template: supro
*/
:root {
  --c-secondary: #88360F;
}
.supro--overlay .banner-grid__banner>a {
    position: relative;
	overflow: hidden;
}

.supro--overlay .banner-grid__banner>a::after {
    content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(255,255,255);
	background: -moz-linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7903536414565826) 78%);
	background: -webkit-linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7903536414565826) 78%);
	background: linear-gradient(0deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7903536414565826) 78%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
}

.tm-section-pop-up {
    height: 40%!important;
    left: 40% !important;
    width: 20%!important;
}

@media only screen and (max-width: 768px) {
	.tm-section-pop-up {
		left: 0% !important;
		width: 100%!important;
	}
}

.tm-extra-product-options.tm-section-pop-up.single .footer .inner .tm-button.button.button-secondary.button-large.floatbox-cancel, 
.tc-extra-product-options .tm-section-pop-up.single .footer .inner .tm-button.button.button-secondary.button-large.floatbox-cancel {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    display: inline-block;
    height: 50px;
    line-height: 48px;
    padding: 0 40px;
    background-color: #222;
    text-transform: uppercase;
    border: 0;
    box-shadow: none;
    letter-spacing: 0.75px;
    transition: 0.5s;
    border-radius: 0;
    font-weight: 400;
    height: 52px;
    line-height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tm-extra-product-options-totals.tm-custom-price-totals,
.woocommerce ul.products li.product .footer-button .wcboost-products-compare-button,
.woocommerce div.product .summary .wcboost-products-compare-button,
.woocommerce div.product .summary .wcboost-products-compare-button + .buy_now_button,
.site-header .menu-extra .menu-item-account .wrapper li:nth-child(2),
.woocommerce-account .woocommerce .woocommerce-MyAccount-navigation ul li:nth-child(3),
.woocommerce ul.products li.product .footer-button .supro-product-quick-view {
	display: none!important;
}

.woocommerce div.product div.summary .single_add_to_cart_button {
    width: 250px;
    line-height: 1.1em;
    background-color: black!important;
	background-color: #88360F !important;
}
.grecaptcha-badge { 
    visibility: hidden;
}

/* HOME */
.home .supro-icons-box .box-title,
.home .supro-products h3.title,
.home h2 {
	color: #88360F;
}
.related-content .related-title {
	color: #88360F;
}
.mf-recently-products h2.title{
	color: #88360F;
}
.wcboost-wishlist-button__icon svg path{
	fill: #88360F;
}
/* PRODUCTO */
.product-template-default .product-summary .product_title {
	color: var(--c-secondary) !important;
	color: #88360F !important;
}
/*.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button, */
.woocommerce #respond input#submit{
	background-color: #88360F !important;
}
@media (min-width: 992px) {
	.woocommerce-Tabs-panel {
		width: 50%;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}
/* MINI CART */
.woocommerce.mini-cart .buttons .checkout {
    background-color: #88360F !important;
	border: 1px solid #88360F !important;
}
.woocommerce.mini-cart .cart_list li .amount {
	color: #88360F !important;
}
/* PÁGINAS WOOCOMERCE */
.woocommerce-page .page-header h1 {
	color: #88360F;
}

/* #add_payment_method .wc-proceed-to-checkout a.checkout-button,  
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button, */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #payment .form-row.place-order .button {
	background-color: #88360F !important;
}

/* .woocommerce-error a.button, 
.woocommerce-message a.button,*/
.woocommerce-info a.button {
	background-color: #88360F !important;
}
/*Si sustituimos .woocommerce a.button por el color este también cambiará*/
.return-to-shop .wc-backward {
	background-color: #88360F !important;
}

/* Estilo para dividir los campos en dos columnas solo en resoluciones mayores de 1024px */
@media (min-width: 1025px) {
    #billing_state_field,
    #billing_city_field,
	#billing_phone_field,
	#billing_email_field{
        float: left;
        width: 49%;
        margin-right: 2%; 
    }

    #billing_state_field,
	#billing_email_field {
        clear: right;
		margin-right:0;
    }
	#billing_phone_field {
		clear: both;
	}
}

#billing_country_field,
.wcboost-wishlist-share.wishlist-share {
    display: none;
}
.site-footer .footer-copyright {
    text-align: center;
}
.site-footer .footer-copyright.style-2 ul.menu a {
	color:#fff!important;
}

/* Logo en descripción de producto */
.woocommerce-Tabs-panel--description {
	position: relative;
}
.woocommerce-Tabs-panel--description::before {
	content: '';
	width: 50px;
	height: 50px;
	background: url('https://lydiacakes.com/wp-content/uploads/2023/09/logo-lydia-cakes.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	display: block;
	position: absolute;
    left: -80px;
}
@media (max-width: 991px) {
	.woocommerce-Tabs-panel--description::before {
		top: -40px;
		left: 0px;
	}
	.woocommerce-Tabs-panel--description {
		padding-top: 10px !important;
	}
	.blog-wrapper {
		min-height: 420px;
	}
}