/*
Theme Name: Glofer
Theme URI: https://glofer.com
Description: Glofer theme
Author: LeitmotivMedia
Author URI: leitmotivmedia.com
Template: Divi
Version: 4.27.4
*/

/*
///////////////////////// Ocultar swatches talla y button clear tienda
*/

ul.archive-variable-items.inwp-style-rounded.variable-items-wrapper.mixed-variable-items-wrapper
{
     display: none !important;
}

ul.archive-variable-items.inwp-style-rounded.variable-items-wrapper.button-variable-items-wrapper
{
	display: none !important;
}

a.inwp_archive_reset_variations_link {
	display: none !important;
}

/*Config swatch colores*/

div.inwp-archive-variations-wrapper.inwp-pro-loaded {
     display: flex;
     justify-content: center;
}

/*Borde selector color*/
.veb-variation-swatches .variable-items-wrapper .variable-item.selected, .veb-variation-swatches .variable-items-wrapper .variable-item.selected:hover {
	box-shadow: 0 0 0 1px 	#a8a8a8 !important;
}

/*Filter Husky mobile*/

.woof_show_filter_for_mobile.woof {
	position: relative !important;
}

div.woof_show_mobile_filter span {
	display: inline-block;
	background-color: #897c63;
	color: #fff;
	padding: 5px 10px;
	border-radius: 8px;
	font-size: 16px;
	text-align: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	transition: background-color 0.3s ease, transform 0.2s ease;
	cursor: pointer;
}

div.woof_show_mobile_filter span:hover {
	background-color: #776d55;
	transform: scale(1.03);
}

div.woof_hide_mobile_filter span{
	display: inline-block;
	background-color: #897c63;
	color: #fff;
	padding: 5px 10px;
	border-radius: 8px;
	font-size: 16px;
	text-align: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
	transition: background-color 0.3s ease, transform 0.2s ease;
	cursor: pointer;
	margin-bottom: 10px;
}

div.woof_hide_mobile_filter span:hover {
	background-color: #776d55;
	transform: scale(1.03);
}

/* Ocultar selects en archivo solo de talla */

.inwp-archive-variations-wrapper .variations #pa_talla {
    display: none !important;
}


.inwp-archive-variations-wrapper {
	margin-top: 15px;
}

p.woocommerce-result-count, .orderby {
	font-size: 20px;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link, .wc-block-components-product-details.wc-block-components-product-details li {
	font-size: 18px !important;
}

/*** Change Mobile Columns By DiviMundo.com ***/

/* 2 Columns Mobile */
@media all and (max-width: 767px) {
    .two-col-mob .et_pb_column {
        width:47.25% !important;
    }
    
.two-col-mob .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }

    .two-col-mob .et_pb_column:not(:nth-child(2n)) {
            margin-right:5.5% !important;
    }
}

/* 3 Columns Mobile */
@media all and (max-width: 767px) {
    .three-col-mob .et_pb_column {
        width:29.6667% !important;
    }

    .three-col-mob .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }

    .three-col-mob .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}

/* 4 Columns Mobile */
@media all and (max-width: 767px) {
    .four-col-mob .et_pb_column {
        width:20.875% !important;
    }

.four-col-mob .et_pb_column:nth-last-child(-n+4) {
        margin-bottom:0;
    }

    .four-col-mob .et_pb_column:not(:nth-child(4n)) {
        margin-right:5.5% !important;
    }
}

/* 5 Columns Mobile */
@media all and (max-width: 767px) {
    .five-col-mob .et_pb_column {
        width:15.6% !important;
    }

    .five-col-mob .et_pb_column:nth-last-child(-n+5) {
        margin-bottom:0;
    }

    .five-col-mob .et_pb_column:not(:nth-child(5n)) {
        margin-right:5.5% !important;
    }
}

/* 6 Columns Mobile */
@media all and (max-width: 767px) {
    .six-col-mob .et_pb_column {
        width:12.083% !important;
    }

    .six-col-mob .et_pb_column:nth-last-child(-n+6) {
        margin-bottom:0;
    }

    .six-col-mob .et_pb_column:not(:nth-child(6n)) {
        margin-right:5.5% !important;
    }
}

/*** Change Tablet Columns By DiviMundo.com ***/

/* 1 Column Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    .one-col-tab .et_pb_column {
        margin-right:0 !important;
        width:100% !important;
    }
    
        .one-col-tab .et_pb_column:not(:last-child) {
        margin-bottom:30px !important;
    }
}

/* 2 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    .two-col-tab .et_pb_column {
        width:47.25% !important;
    }

.two-col-tab .et_pb_column:nth-last-child(-n+2) {
        margin-bottom:0;
    }

    .two-col-tab .et_pb_column:not(:nth-child(2n)) {
        margin-right:5.5% !important;
    }
}

/* 3 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    .three-col-tab .et_pb_column {
        width:29.6667% !important;
    }

.three-col-tab .et_pb_column:nth-last-child(-n+3) {
        margin-bottom:0;
    }

    .three-col-tab .et_pb_column:not(:nth-child(3n)) {
        margin-right:5.5% !important;
    }
}

/* 4 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    .four-col-tab .et_pb_column {
        width:20.875% !important;
    }

.four-col-tab .et_pb_column:nth-last-child(-n+4) {
        margin-bottom:0;
    }

    .four-col-tab .et_pb_column:not(:nth-child(4n)) {
        margin-right:5.5% !important;
    }
}

/* 5 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    .five-col-tab .et_pb_column {
        width:15.6% !important;
    }

.five-col-mob .et_pb_column:nth-last-child(-n+5) {
        margin-bottom:0;
    }
    
    .five-col-tab .et_pb_column:not(:nth-child(5n)) {
        margin-right:5.5% !important;
    }
}

/* 6 Columns Tablet */
@media all and (min-width: 768px) and (max-width: 980px) {
    .six-col-tab .et_pb_column {
        width:12.083% !important;
    }

    .six-col-tab .et_pb_column:nth-last-child(-n+6) {
        margin-bottom:0;
    }

    .six-col-tab .et_pb_column:not(:nth-child(6n)) {
        margin-right:5.5% !important;
    }
}


/*
///////////////////////// Estilos css adicional
*/

.woocommerce div.product .cart.variations_form .tawcvs-swatches .swatch__tooltip:after, .et_pb_wc_add_to_cart form.cart .variations td.value span:after  {
	display: none !important;
}

/*Boton volver arriba modificado*/

.et_pb_scroll_top.et-pb-icon {
    background: #897c63 !important;
	border-radius: 99% !important;
}
	
.message__container {
	margin-top: 40px !important;
}

.woocommerce div.product form.cart .variations label {
	font-weight: 400;
}

.woocommerce div.product form.cart, .woocommerce-page div.product form.cart {
	margin-bottom: 40px !important;
}

.woocommerce div.product form.cart .variations td {
	padding: 0 !important;
}

div.woocommerce-variation-availability {
	margin-bottom: 20px;
	font-size: 22px;
}

p.stock.in-stock {
	margin-bottom: 20px;
}


body #page-container .et_pb_section .et_pb_wc_cart_notice_0_tb_body .wc-forward {
	font-size: 14px !important;
}

/* Ocultar estructura de tabla horizontal */
.variations tr {
  display: block;
  margin-bottom: 0px;
}

/* Hacer que el label esté arriba */
.variations th.label {
  display: block;
  text-align: left;
  margin-bottom: 8px;
  padding: 0;
}

/* Que los valores se muestren debajo */
.variations td.value {
  display: block;
  padding: 0;
}

/* Ajuste visual para los swatches de talla */
.tawcvs-swatches[data-attribute_name*="talla"] .swatch {
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 8px;
  margin-bottom: 8px;
}

.tawcvs-swatches[data-attribute_name*="talla"] .swatch.selected {
  background-color: #897c63;
  color: #000;
  border-color: #897c63;
}

/* Swatches de color como círculos con imagen */
.tawcvs-swatches[data-attribute_name*="color"] .swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: cover !important;
  background-position: center !important;
  border: 2px solid #ccc;
  margin-right: 10px;
  margin-bottom: 8px;
  transition: border-color 0.3s ease;
}

.tawcvs-swatches[data-attribute_name*="color"] .swatch:hover {
  border-color: #897c63;
}

.tawcvs-swatches[data-attribute_name*="color"] .swatch.selected {
  border-color: #897c63;
  box-shadow: 0 0 5px rgba(137, 124, 99, 0.5);
}

/* Botón "Limpiar" */
a.reset_variations {
  display: inline-block;
  margin-top: 15px;
  font-size: 13px;
  color: #897c63;
  text-decoration: underline;
}

/* === Slider a 100% con estilo dorado oscuro === */
.price_slider_wrapper {
  width: 100% !important;
}

.price_slider.ui-slider {
  background: #e2ddd3 !important;
  border-radius: 4px;
  height: 6px;
  margin-bottom: 10px;
  width: 100% !important;
}

.price_slider .ui-slider-range {
  background: #897c63 !important;
}

.price_slider .ui-slider-handle {
  background: #fff !important;
  border: 2px solid #897c63 !important;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  top: -5px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.price_slider .ui-slider-handle:hover {
  transform: scale(1.2);
}

/* === Ocultar inputs === */
.widget_price_filter input[type="text"] {
  display: none !important;
}

/* === Label debajo del slider === */
.widget_price_filter .price_slider_amount {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.widget_price_filter .price_label {
  order: 2;
  font-size: 14px;
  color: #333;
  margin-top: 10px;
}

.woof_hide_mobile_filter span, .woof_show_mobile_filter span {
    width: 100% !important;
}
/* === Botón de filtro === */
.widget_price_filter .button {
  background-color: #897c63 !important;
  color: white !important;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
  width: 100% !important;
}

.widget_price_filter .button:hover {
  background-color: #6f6550 !important;
}

/*
@media (max-width: 767px) {
  .woocommerce ul.products.columns-2 li.product,
  .woocommerce ul.products.columns-3 li.product,
  .woocommerce ul.products.columns-4 li.product,
  .woocommerce ul.products.columns-5 li.product,
  .woocommerce ul.products.columns-6 li.product {
    width: 100% !important;
    clear: both;
  }
}
*/

#top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
	color: #efa58a;
}

#top-menu li a {
    font-weight: 400 !important;
}

h4, .et-db #et-boc .et-l h4, .et-db #et-boc .et-l .et_pb_circle_counter h3, .et-db #et-boc .et-l .et_pb_number_counter h3, .et-db #et-boc .et-l .et_pb_column_1_3 .et_pb_post h2, .et-db #et-boc .et-l .et_pb_column_1_4 .et_pb_post h2, .et-db #et-boc .et-l .et_pb_blog_grid h2, .et-db #et-boc .et-l .et_pb_column_1_3 .et_quote_content blockquote p, .et-db #et-boc .et-l .et_pb_column_3_8 .et_quote_content blockquote p, .et-db #et-boc .et-l .et_pb_column_1_4 .et_quote_content blockquote p, .et-db #et-boc .et-l .et_pb_blog_grid .et_quote_content blockquote p, .et-db #et-boc .et-l .et_pb_column_1_3 .et_link_content h2, .et-db #et-boc .et-l .et_pb_column_3_8 .et_link_content h2, .et-db #et-boc .et-l .et_pb_column_1_4 .et_link_content h2, .et-db #et-boc .et-l .et_pb_blog_grid .et_link_content h2, .et-db #et-boc .et-l .et_pb_column_1_3 .et_audio_content h2, .et-db #et-boc .et-l .et_pb_column_3_8 .et_audio_content h2, .et-db #et-boc .et-l .et_pb_column_1_4 .et_audio_content h2, .et-db #et-boc .et-l .et_pb_blog_grid .et_audio_content h2, .et-db #et-boc .et-l .et_pb_column_3_8 .et_pb_audio_module_content h2, .et-db #et-boc .et-l .et_pb_column_1_3 .et_pb_audio_module_content h2, .et-db #et-boc .et-l .et_pb_gallery_grid .et_pb_gallery_item h3, .et-db #et-boc .et-l .et_pb_portfolio_grid .et_pb_portfolio_item h2, .et-db #et-boc .et-l .et_pb_filterable_portfolio_grid .et_pb_portfolio_item h2 {
	font-weight: 300 !important;
}

div.woocommerce-variation-price .price {
	font-size: 30px !important;
}

#et-info-phone, div#et-secondary-menu {
	display: none !important;
}

#top-header #et-info {
	line-height: 1em;
    width: 100%;
    display: inline-block;
    text-align: center;
    font-size: 18px;
    text-transform: uppercase;
	margin-top: 5px;
}

.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart .variations td.value .reset_variations {
	font-size: 20px !important;
}

/*Logo menu mobile*/

@media only screen and (max-width: 767px) {
    .et_pb_menu_0_tb_header.et_pb_menu .et_pb_menu__logo {
        max-width: 100px !important;
    }
}

/*Cards mobile*/

@media screen and (max-width: 767px) {
figure.effect-roxy:hover .dipl_interactive_image_card_wrapper_content, figure.effect-roxy:hover figcaption::before {
  	opacity: 0 !important;
	}  
  figure.effect-roxy figcaption {
  	padding: 1em !important;
  }
}

/*Boton alerta compra tienda*/

body.et-db #page-container #et-boc .et-l .et_pb_section .et_pb_wc_cart_notice_0_tb_body .wc-forward, body.et-db #page-container #et-boc .et-l .et_pb_section .et_pb_wc_cart_notice_0_tb_body button.button, body.et-db #page-container #et-boc .et-l .et_pb_section .et_pb_wc_cart_notice_0_tb_body .wc-backward {
	font-size: 17px !important;
	letter-spacing: 0px !important;
	padding: 10px !important;
}

.acc-icon {
	font-size: 17px;
	padding-bottom: 5px;
}

@media only screen and (max-width: 767px) {
	.acc-icon {
	padding-bottom: 0;
}
}

.wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button .wc-block-components-checkout-place-order-button__text {
	font-size: 20px !important;
}
