/* -------------------------------------------------------------- */

li.et_pb_icon_list_item:has(div[data-status="Eccezionale"]) {
    display: none!important;
}

#et-info { width:100%!important; }
.et-cart-info { display: none; }
.swiper-slide {
	width:100%!important;
	height: 500px!important;
}

.et_pb_wc_gallery_0_tb_body .et_pb_gallery_image a{
	display:flex;
	justify-content:center;
	align-items:center;
	height:500px;
}

.et_pb_wc_gallery_0_tb_body .et_pb_gallery_image img{
	max-height:500px;
	width:auto;
	display:block;
}

/* Paginador net i senzill - Centrat */
.et_pb_gallery_pagination {
    text-align: center;
    width: 100%;
}

.et_pb_gallery_pagination ul {
    display: inline-flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.et_pb_gallery_pagination li {
    display: inline-block;
}

.et_pb_gallery_pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #8BACBD!important;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #8BACBD;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.et_pb_gallery_pagination a:hover {
    background-color: #8BACBD;
    border-color: #8BACBD;
    color: #ffffff!important;
}

/* Estil per a la pàgina activa */
.et_pb_gallery_pagination a.active {
    background-color: #8BACBD;
    border-color: #8BACBD;
    color: #ffffff!important;
}

/* Estil per als enllaços prev/next */
.et_pb_gallery_pagination .prev a,
.et_pb_gallery_pagination .next a {
    font-weight: 500;
}

/* Estil per als punts suspensius */
.et_pb_gallery_pagination .prev-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    color: #9ca3af;
}

.et_pb_widget {
    float: none;
}

.et_pb_widget.widget_media_image {
	background-color: rgb(255,255,255,0.5) !important;
}

.et_pb_posts_nav.wp-pagenavi-wrapper,
.et_pb_posts_nav .wp-pagenavi {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}

.et_pb_posts_nav .wp-pagenavi .pages-item {
	display: inline-flex;
}

.et_pb_posts_nav .wp-pagenavi a,
.et_pb_posts_nav .wp-pagenavi span.current,
.et_pb_posts_nav .wp-pagenavi span.extend {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding: 0 0.9rem;
	border: 1px solid #8BACBD;
	border-radius: 999px;
	background: #fff;
	color: #8BACBD !important;
	font-size: 0.95rem;
	line-height: 1;
	text-decoration: none;
	transition: all 0.2s ease;
}

.et_pb_posts_nav .wp-pagenavi a:hover,
.et_pb_posts_nav .wp-pagenavi span.current {
	background: #8BACBD;
	color: #fff !important;
}

.et_pb_posts_nav .wp-pagenavi span.extend {
	border-style: dashed;
}

#footer-info, #menu-footer { width: 100%; text-align: center; }

/* Hide Divi icon lists that only render the icon and no dynamic text. */
.hide-empty-dynamic-icon-list .et_pb_icon_list_item:not(:has(.et_pb_icon_list_text)) {
	display: none;
}

.hide-empty-dynamic-icon-list.et_pb_icon_list:not(:has(.et_pb_icon_list_item:has(.et_pb_icon_list_text))) {
	display: none;
}
