/*
 Theme Name:   Divi Child - Shop The Beat
 Theme URI:    https://shopthebeat.com
 Description:  Tema hijo de Divi personalizado para la tienda WooCommerce con tarjetas de producto Bootstrap
 Author:       Xyon Software
 Template:     Divi
 Version:      1.0
*/

body,
.custom-card {
    font-family: 'Audiowide', sans-serif;
}

.custom-card .card-title {
    color: #fff;
    font-weight: 600;
}

.custom-card .card-text,
.custom-card .price {
    color: #ccc;
}

.custom-card .woocommerce-Price-amount {
    color: #fff !important;
}

.custom-add-to-cart {
    background-color: #fff;
	color: #000;
	font-weight: 600;
	text-transform: uppercase;
	border-radius: 25px;
	padding: 8px 20px;
	margin-top: 10px;
	display: inline-block;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 0 10px #fff;
    text-align: center;
}

.custom-add-to-cart:hover {
    background-color: rgba(146, 146, 146, 0.4);;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 0 20px rgba(146, 146, 146, 0.4);;

}

.badge-neon {
    background-color: #0ff !important;
    color: #000 !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff  !important;
    box-shadow: 0 0 10px #0ff, 0 0 20px #0ff  !important;
    animation: neon-glow 1.5s ease-in-out infinite alternate;
    border-radius: 0.5rem  !important;
    padding: 0.4em 0.6em  !important;
    font-size: 0.85rem !important;
}

.woocommerce span.onsale, .woocommerce-page span.onsale {
    background-color: #0ff !important;
    color: #000 !important;
    font-weight: bold !important;
    text-shadow: 0 0 5px #0ff, 0 0 10px #0ff, 0 0 20px #0ff  !important;
    box-shadow: 0 0 10px #0ff, 0 0 20px #0ff  !important;
    animation: neon-glow 1.5s ease-in-out infinite alternate;
    border-radius: 0.5rem  !important;
    padding: 0.4em 0.6em  !important;
    font-size: 0.85rem !important;
}

@keyframes neon-glow {
    from {
        text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
        box-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
    }
    to {
        text-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 30px #0ff;
        box-shadow: 0 0 20px #0ff, 0 0 40px #0ff;
    }
}

.toast-cart-added {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0ff;
    color: #000;
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: bold;
    box-shadow: 0 0 15px #0ff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 9999;
    font-family: 'Audiowide', sans-serif;
}

.toast-cart-added.show {
    opacity: 1;
    transform: translateY(0);
}

.loader-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top: 2px solid #0ff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

ul.products li.product {
    list-style: none;
    width: 100%;
}

@media (min-width: 768px) {
    ul.products li.product {
        width: calc(50% - 0.5rem);
    }
}

@media (min-width: 992px) {
    ul.products li.product {
        width: calc(33.333% - 0.66rem);
    }
}

.card-body .badge {
	background-color: #333;
	color: rgb(255, 255, 255);
	font-size: 0.75rem;
	border-radius: 0.4em;
	padding: 0.3em 0.6em;
	box-shadow: 0 0 5px rgb(255, 255, 255);
	text-shadow: 0 0 5px rgb(255, 255, 255);
	transition: all 0.2s ease-in-out;
}

.card-body .badge:hover {
	background-color: rgba(146, 146, 146, 0.4);
	color: #ffffff;
	text-shadow: none;
	box-shadow: 0 0 10px rgba(146, 146, 146, 0.4);
}


.added_to_cart.wc-forward {
	background-color: #fff;
	color: #000;
	font-weight: 600;
	text-transform: uppercase;
	border-radius: 25px;
	padding: 8px 20px;
	margin-top: 10px;
	display: inline-block;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 0 10px #fff;
    text-align: center;
}

.added_to_cart.wc-forward:hover {
	background-color: rgba(146, 146, 146, 0.4);;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 0 20px rgba(146, 146, 146, 0.4);;
}

.wc-block-grid__product-title{
    color: #000 !important;
}

.wc-block-components-product-name{
    color: #000 !important;
}

#select2-tag-filter-select-container{
    line-height: normal !important;
}

#select2-parent-category-filter-container{
    line-height: normal !important;
}

#select2-pa_bpm-filter-select-container{
    line-height: normal !important;
}

#select2-pa_key-filter-select-container{
    line-height: normal !important;
}