.davit-gianduiotti-hero.davit-shop-hero-has-slider {
	background-image: none;
}

.davit-shop-hero-slide {
	position: absolute;
	inset: 0;
	background-image: var(--davit-bg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 1;
	visibility: visible;
	transition: opacity .35s ease;
}

.davit-shop-hero-has-slider .davit-shop-hero-slide {
	opacity: 0;
	visibility: hidden;
}

.davit-shop-hero-has-slider .davit-shop-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.davit-shop-hero-slide .davit-gianduiotti-hero-overlay,
.davit-shop-hero-slide .davit-gianduiotti-hero-title {
	z-index: 1;
}

.davit-shop-hero-prev,
.davit-shop-hero-next {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 44px;
	height: 64px;
	transform: translateY(-50%);
	border: 0;
	background: rgba(0, 0, 0, .28);
	color: #fff;
	font-size: 42px;
	line-height: 1;
	cursor: pointer;
}

.davit-shop-hero-prev { left: 16px; }
.davit-shop-hero-next { right: 16px; }

@media (max-width: 600px) {
	.davit-shop-hero-slide {
		background-image: var(--davit-bg-mobile);
	}
	.davit-shop-hero-prev,
	.davit-shop-hero-next {
		display: none;
    }
}

.admin-bar .davit-gianduiotti-page {
    padding-top: 147px;
}

.davit-gianduiotti-hero.davit-shop-hero-has-slider .davit-shop-hero-prev,
.davit-gianduiotti-hero.davit-shop-hero-has-slider .davit-shop-hero-next,
.davit-gianduiotti-hero.davit-shop-hero-has-slider .davit-shop-hero-prev:hover,
.davit-gianduiotti-hero.davit-shop-hero-has-slider .davit-shop-hero-next:hover,
.davit-gianduiotti-hero.davit-shop-hero-has-slider .davit-shop-hero-prev:focus,
.davit-gianduiotti-hero.davit-shop-hero-has-slider .davit-shop-hero-next:focus,
.davit-gianduiotti-hero.davit-shop-hero-has-slider .davit-shop-hero-prev:active,
.davit-gianduiotti-hero.davit-shop-hero-has-slider .davit-shop-hero-next:active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    color: #fff !important;
}

.davit-gianduiotti-hero.davit-shop-hero-has-slider .davit-gianduiotti-hero-title {
    left: calc(50% - 11px) !important;
}

.admin-bar .davit-gianduiotti-hero.davit-shop-hero-has-slider .davit-gianduiotti-hero-title {
    top: 38% !important;
}

.davit-gianduiotti-page .davit-gianduiotti-image-wrap {
    overflow: hidden;
}

.davit-gianduiotti-page .davit-gianduiotti-product-image,
.davit-gianduiotti-page .davit-global-product-hover-image {
    object-fit: fill;
}

.davit-gianduiotti-page .davit-global-product-hover-image ~ .davit-global-product-hover-image {
    display: none !important;
}

.davit-gianduiotti-page .davit-global-product-hover-image {
    transition: opacity 0.4s ease-out 0.4s !important;
}

.davit-gianduiotti-page .davit-gianduiotti-cart {
    display: block !important;
    transform: none !important;
    transition: opacity 0.4s ease-out 0.4s !important;
}

.admin-bar .davit-gianduiotti-page .davit-gianduiotti-products {
    margin-top: -151px !important;
}

/* ==========================================================
   DAVIT NEXT — FIX HOVER CATEGORIE 2026-08-16
   Mantiene 15px di fascia bianca sopra l'immagine prodotto,
   come nel riferimento LIVE, e confina l'immagine hover
   nella stessa area dell'immagine principale.
   ========================================================== */
@media (min-width: 601px) {
    .davit-gianduiotti-page .davit-gianduiotti-image-wrap {
        box-sizing: border-box;
        padding-top: 15px;
        background: #fff;
    }

    .davit-gianduiotti-page .davit-global-product-hover-image {
        top: 15px !important;
        bottom: auto !important;
        height: calc(100% - 15px) !important;
    }
}

/* ==========================================================
   DAVIT NEXT — HEADER CATEGORIE / MATCH LIVE 2026-08-16
   1) La topbar oro resta visibile anche nello sticky desktop.
   2) Il dropdown SHOP torna alle proporzioni del LIVE.
   3) La categoria corrente resta evidenziata in oro.
   ========================================================== */
@media (min-width: 1200px) {
    body.davit-shop-category-standalone .dlh-header.is-scrolled {
        height: 85px !important; /* 35 topbar + 50 navbar */
    }

    body.davit-shop-category-standalone .dlh-header.is-scrolled .dlh-topbar {
        display: flex !important;
        height: 35px !important;
    }

    body.davit-shop-category-standalone .dlh-header .dlh-submenu {
        width: 240px !important;
        min-width: 240px !important;
        padding: 6px 0 !important;
    }

    body.davit-shop-category-standalone .dlh-header .dlh-submenu a {
        padding: 8px 20px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    /* SHOP > categoria attiva: ordine del menu condiviso DAVIT. */
    body.page-id-560 .dlh-menu > li:nth-child(6) > .dlh-submenu > li:nth-child(1) > a,
    body.page-id-563 .dlh-menu > li:nth-child(6) > .dlh-submenu > li:nth-child(2) > a,
    body.page-id-573 .dlh-menu > li:nth-child(6) > .dlh-submenu > li:nth-child(3) > a,
    body.page-id-570 .dlh-menu > li:nth-child(6) > .dlh-submenu > li:nth-child(4) > a,
    body.page-id-575 .dlh-menu > li:nth-child(6) > .dlh-submenu > li:nth-child(5) > a {
        color: #c98806 !important;
    }
}


/* ==========================================================
   DAVIT NEXT — TITOLO HERO CATEGORIA
   Il titolo deve restare visibile sopra ogni slide, come LIVE.
   ========================================================== */
.davit-shop-category-standalone .davit-shop-hero-slide .davit-gianduiotti-hero-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 2 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-family: "madgue-script", cursive !important;
    font-size: 50px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}
