/* ==========================================================================
   1. FONTS & TYPOGRAPHY
   ========================================================================== */

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Roman.woff2') format('woff2'),
         url('../fonts/AvenirLTStd-Roman.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Light.woff2') format('woff2'),
         url('../fonts/AvenirLTStd-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir LT Std';
    src: url('../fonts/AvenirLTStd-Black.woff2') format('woff2'),
         url('../fonts/AvenirLTStd-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

html, body, p, a, h1, h2, h3, h4, h5, h6, span, div, li, 
button, input, select, textarea, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Avenir LT Std', sans-serif !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

body, p, span, li, input, textarea {
    font-weight:inherit;
}

h1, h2, h3, h4, h5, h6, .top-menu a, .h1, .h2, .h3 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.text-muted, .breadcrumb {
    font-weight: 300;
}


/* ==========================================================================
   2. GLOBAL LAYOUT & OVERRIDES
   ========================================================================== */


#page, #wrapper, main {
    overflow-x: hidden;
    max-width: 100%;
}

#wrapper {
    padding-top: 1.563rem;
    background: #000000;
}

#index #wrapper,
#index #content-wrapper {
    padding: 0 !important;
    background: #000000;
}

@media (min-width: 1200px) {
    .container {
        width: 100%;
        max-width: 100%;
    }
}

.breadcrumb {
    padding: 340px 0 0 0 !important;
    background: transparent;
}

.breadcrumb ol li,
.breadcrumb li,
#wrapper .breadcrumb {
    text-transform: uppercase !important;
    font-size: 0.6rem !important;
    letter-spacing: 1.5px !important;
}

/* --- BUTTONS --- */
.btn-primary {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-color: #333333 !important;
    border-color: #333333 !important;
    color: #ffffff !important;
    outline: none;
}

.btn-primary:active:hover,
.btn-primary:active:focus,
.btn-primary.active:hover,
.btn-primary.active:focus {
    background-color: #1a1a1a !important;
    border-color: #1a1a1a !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
    background-color: #666666 !important;
    border-color: #666666 !important;
    color: #cccccc !important;
    cursor: not-allowed;
}


/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */

#header {
    position: absolute;
    z-index: 999;
    color: #ffffff !important;
    background: transparent !important;
    width: 100%;
}

#header .header-top {
    padding: 0 !important;
    position: absolute;
    width: 100%;
    background-color: transparent;
}

#header .header-nav {
    max-height: 50px;
    border-bottom: none !important;
    margin-bottom: 20px !important;
}

#header a, 
#contact-link,
#header .header-nav .cart-preview .shopping-cart {
    color: #ffffff !important;
}

#header a.dropdown-item {
    color: #000000 !important;
}

#header .dropdown-menu {
    background-color: #ffffff !important;
}

#header .dropdown .expand-more {
    color: #fff !important;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#header ul.top-menu a.dropdown-item {
    color: #ffffff !important;
}

#_desktop_logo {
    padding-top: 0;
    padding-bottom: 40px;
    display: block !important;
}

#_desktop_logo img {
    margin: 0 auto !important;
    max-width: 140px !important;
    height: auto;
}

.display-top-menu {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.display-top-menu #_desktop_top_menu {
    float: none !important;
    display: inline-block;
}

#_desktop_top_menu .top-menu {
    justify-content: center;
    display: flex;
    gap: 30px;
    color: #ffffff !important;
}

div#_desktop_top_menu #top-menu.top-menu > li > a {
    font-size: clamp(12px, 1.1vw, 17px) !important;
    padding: 0 10px !important;
    white-space: nowrap !important;
    color: #ffffff;
}

.top-menu .popover {
    max-width: inherit;
    border-radius: 0;
    background-color: #000000 !important;
    left: inherit !important;
}

.top-menu .sub-menu {
    width: 20% !important;
    min-width: 20% !important;
    margin-left: 0;
}

.top-menu .popover.sub-menu .dropdown-item {
    font-size: clamp(10px, 0.9vw, 14px) !important;
    font-weight: 400 !important;
    line-height: 1.4;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    text-transform: none;
}

.top-menu .popover.sub-menu [data-depth="1"] {
    font-weight: 500 !important;
    letter-spacing: 0.5px;
}

/* --- CARRELLO & LINGUA --- */
#header .header-nav .blockcart {
    height: 3rem;
    margin: 0 .5rem;
    text-align: center;
    white-space: nowrap;
    background: #000000 !important;
}

#header .header-nav .blockcart .header {
    margin: 0 !important;
}

.cart-products-count {
    color: #ffffff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    vertical-align: top;
    margin-left: -5px;
}

.blockcart .header span.hidden-sm-down {
    display: none !important;
}

#_desktop_language_selector {
    display: flex;
    justify-content: flex-start;
    flex: 1;
    order: -1;
    margin-right: auto;
    margin-top: 15px;
}

.languages-selector-wrapper {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

#_desktop_language_selector .dropdown-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
    min-width: 60px !important;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#_desktop_language_selector .language-selector.open .dropdown-menu,
#_desktop_language_selector .language-selector:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* --- SEARCH BAR CUSTOM --- */
.right-nav {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.search-custom-container {
    display: flex;
    align-items: center;
}

.search-toggle-custom {
    background: none;
    border: none;
    cursor: pointer;
    outline: none !important;
    display: flex;
    align-items: center;
    margin-top: .9375rem;
}

.search-toggle-custom i {
    font-size: 24px;
    color: #ffffff;
}

.search-bar-custom {
    display: block !important;
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 10;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease-in-out,
                visibility 0.6s,
                padding 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-bar-custom.is-open {
    visibility: visible;
    opacity: 1;
    max-height: 120px;
    border-bottom: 1px solid #000000;
    padding: 20px 0;
}

.search-inner-fields {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-inner-fields i {
    font-size: 26px;
    color: #000000;
}

.search-inner-fields input[type="search"] {
    border: none !important;
    outline: none !important;
    width: 100%;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
    background: transparent;
    color: #000000;
    text-transform: uppercase;
}

/* --- MOBILE HEADER & MENU --- */
#mobile_top_menu_wrapper {
    background-color: #000000 !important;
    color: #ffffff !important;
}

#mobile_top_menu_wrapper a,
#mobile_top_menu_wrapper li,
#mobile_top_menu_wrapper .js-top-menu-bottom {
    color: #ffffff !important;
}

#mobile_top_menu_wrapper .collapse,
#mobile_top_menu_wrapper .collapsing,
#mobile_top_menu_wrapper .dropdown-item {
    background-color: #000000 !important;
    color: #ffffff !important;
}

#mobile_top_menu_wrapper li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.user-info, #_desktop_user_info, #_mobile_user_info {
    display: none !important;
}

@media (max-width: 767px) {
    #_desktop_logo {
        display: flex !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0;
    }

    #_desktop_logo img, #custom-text img {
        max-width: 100px !important;
        margin: 0 auto !important;
        display: block;
    }

    .custom-mobile-layout {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100% !important;
        min-height: 50px;
    }

    .mobile-icons-group {
        display: flex !important;
        justify-content: flex-end;
        align-items: center;
        gap: 15px;
        flex: 1;
    }

    .blockcart {
        background: none !important;
    }
}


/* ==========================================================================
   4. CAROUSEL & BANNER
   ========================================================================== */

.carousel .carousel-inner {
  height: 700px;
}

.carousel-inner {
  margin-bottom: 0rem;
} 

.carousel, #index #carousel {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.item-imageslider, #carousel {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.carousel-inner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-item {
    transition: transform 0.6s ease-in-out !important;
}

.caption {
    max-width: 80% !important;
    width: 100% !important;
}

@media (min-width: 991px) {
    .carousel .carousel-item .caption {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        left: 8% !important;
        width: 70% !important;
        text-align: left !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .carousel .carousel-item .caption .display-1 {
        font-size: 3rem !important;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 10px;
        line-height: 1.1;
        text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.8);
    }

    .carousel .carousel-item .caption p {
        font-size: 1.2rem !important;
        text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
    }
}

.banner {
    display: block;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.banner img {
    width: 100% !important;
    height: auto !important;
    display: block;
    min-height: 200px;
    object-fit: cover;
}


/* ==========================================================================
   5. SEZIONI HOMEPAGE EDITORIALI (ARMORIZZATE & ALLINEATE)
   ========================================================================== */

/* --- NORMALIZZAZIONE STRUTTURALE GLOBALE (About, Clients, Our Works) --- */
.page-home-about,
.home-featured-clients,
.home-our-works {
    padding: 120px 40px;
    background-color: #000000 !important;
    box-sizing: border-box;
    width: 100%;
}

.page-home-about .brand-info-grid .info-row,
.home-our-works .brand-info-grid .info-row {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

/* Colonna Sinistra (Label) 20% */
.page-home-about .cell-label,
.home-our-works .cell-label {
    width: 20% !important;
    padding: 10px 20px 0 0 !important;
    color: #cccccc !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
}

.label-bullet {
    display: inline-block;
    margin-right: 8px;
    font-size: 1rem;
    vertical-align: middle;
}

/* Colonna Destra (Contenuto) 80% */
.page-home-about .cell-text,
.home-our-works .cell-text {
    width: 80% !important;
    padding: 0 !important;
    color: #ffffff !important;
}

/* --- TITOLI & DESCIZIONI SEZIONI --- */
.brand-main-title {
    font-size: clamp(3.2rem, 5.8vw, 4.4rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 40px;
    max-width: 100%;
    color: #ffffff !important;
}

.brand-hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #cccccc !important;
    margin-bottom: 48px;
    font-weight: 300;
}

.works-section-title {
    font-size: clamp(2rem, 3.5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    margin-top: 0;
    margin-bottom: 60px;
}

/* --- CTA LINKS UNIFORMI --- */
.hero-cta-wrapper {
    margin-top: 40px;
}

.cta-link-arrow {
    color: #ffffff !important;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.cta-link-arrow:hover {
    opacity: 0.7;
}

.cta-link-arrow .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-link-arrow:hover .arrow {
    transform: translateX(6px);
}

/* --- SEZIONE SPLIT IMMAGINE / TESTO --- */
.home-split-section {
  padding: 100px 0;
  background-color: #0b0b0b;
  color: #ffffff;
}

.split-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.split-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.split-paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 32px;
}

.split-button {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.split-button:hover {
  background-color: #ffffff;
  color: #000000;
}

.split-media {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.split-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.split-media:hover img {
  transform: scale(1.03);
}

@media (max-width: 991px) {
  .split-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-split-section {
    padding: 60px 0;
  }
}

/* --- FEATURED CLIENTS --- */
.home-featured-clients {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0px !important; /* Sovrascrive lo stile inline iniettato da GSAP */
    background-color: #000000;
    border-top: 1px solid #222222;
    box-sizing: border-box;
    margin: 0;
    z-index: 2;
}

/* La sezione successiva (es. i progetti) deve stare SOPRA o sottostare in modo ordinato */
.home-featured-clients + section,
.home-featured-clients + div {
    position: relative;
    z-index: 3;
    background-color: #000000; /* Evita trasparenze indesiderate */
}

.home-featured-clients .brand-info-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.home-featured-clients .cell-label {
    width: 100% !important;
    padding: 0 0 50px 0 !important;
    text-align: center !important;
    color: #cccccc !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

.home-featured-clients .clients-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    overflow: visible !important; /* <--- PERMETTE ALLE PAROLE DI VOLARE IN ALTO/BASSO SENZA TAGLI */
    padding: 0 !important;
}

.home-featured-clients .clients-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    perspective: 1000px;
    overflow: visible !important; /* <--- FONDAMENTALE PER MANTENERE LO STAGE APERTO */
}

.home-featured-clients .clients-text-block {
    font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    word-break: break-word;
}

.home-featured-clients .clients-text-block .word {
    display: inline-block;
    margin: 0 0.3em;
    will-change: transform, filter, opacity;
}

.home-featured-clients .clients-text-block .client-sep {
    color: #d4af37;
    font-weight: 300;
    margin: 0 0.2em;
}

/* --- OUR WORKS GRID --- */
.home-our-works {
    border-top: 1px solid #222222;
}

.works-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
    width: 100%;
}

.work-card {
    display: block;
    text-decoration: none !important;
    color: #ffffff;
}

.work-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #111111;
    margin-bottom: 20px;
    border: 1px solid #222222;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
    will-change: transform;
}

.work-card:hover .work-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.work-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 5px;
}

.work-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff !important;
    margin: 0 0 6px 0;
    transition: color 0.3s ease;
}

.work-card:hover .work-title {
    color: #cccccc !important;
}

.work-category {
    font-size: 0.85rem;
    color: #888888;
    margin: 0;
    font-weight: 300;
}

.work-year {
    font-size: 0.85rem;
    color: #666666;
    font-weight: 400;
}

/* --- BREAKPOINT RESPONSIVE UNIFICATO (< 1024px) --- */
@media (max-width: 1024px) {
    .page-home-about,
    .home-our-works {
        padding: 60px 20px !important;
    }

    .page-home-about .brand-info-grid .info-row,
    .home-our-works .brand-info-grid .info-row {
        flex-direction: column;
    }

    .page-home-about .cell-label,
    .home-our-works .cell-label,
    .page-home-about .cell-text,
    .home-our-works .cell-text {
        width: 100% !important;
    }

    .page-home-about .cell-label,
    .home-our-works .cell-label {
        margin-bottom: 24px;
        padding-right: 0 !important;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .works-section-title {
        margin-bottom: 40px;
    }
}


/* ==========================================================================
   6. TICKER MARQUEE
   ========================================================================== */

.home-ticker-section {
    width: 100%;
    background-color: #000000;
    border-top: 1px solid #222222;
    border-bottom: 1px solid #222222;
    padding: 24px 0;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.ticker-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}

.ticker-part {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-item {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    padding: 0 35px;
}

.ticker-bullet {
    color: #d4af37;
    margin-right: 35px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .home-ticker-section {
        padding: 18px 0;
    }
    .ticker-item {
        font-size: 0.8rem;
        padding: 0 20px;
    }
    .ticker-bullet {
        margin-right: 20px;
    }
}


/* ==========================================================================
   7. BRAND VALUES & TEAM (PAGINA ABOUT BRAND)
   ========================================================================== */

.page-about-brand {
    background-color: #000000 !important;
    color: #ffffff !important;
}

#wrapper:has(.page-about-brand) {
    background-color: #000000 !important;
}

.brand-values-section {
    background-color: #000000;
}

.brand-values-section .values-header {
    padding: 40px 40px 20px 40px;
}

.section-title-small {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #ffffff !important;
}

.values-grid {
    display: flex;
    width: 100%;
    border-top: 1px solid #ffffff;
}

.value-card {
    width: 25%;
    padding: 40px;
    border-right: 1px solid #ffffff;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #000000;
}

.value-card:last-child {
    border-right: none;
}

.value-number {
    font-size: 1rem;
    display: block;
    margin-bottom: 40px;
    color: #888888;
}

.value-title {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    color: #ffffff !important;
}

.brand-team-section {
    border-bottom: 1px solid #ffffff;
    background-color: #000000;
}

.brand-team-section .team-header {
    padding: 40px;
    border-bottom: 1px solid #ffffff;
}

.team-intro-text {
    font-size: 1.4rem;
    line-height: 1.4;
    width: 100%;
    margin-top: 20px;
    color: #ffffff !important;
}

.team-grid-four {
    display: flex;
    width: 100%;
}

.team-card-four {
    width: 25%;
    border-right: 1px solid #ffffff;
    display: flex;
    flex-direction: column;
    background: #000000 !important;
}

.team-card-four:last-child {
    border-right: none;
}

.member-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-bottom: 1px solid #ffffff;
}

.brand-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}

.team-card-four:hover .brand-img {
    filter: grayscale(0%);
}

.member-meta {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background-color: #000000;
}

.member-role {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: #888888;
}

.member-name {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff !important;
}

.brand-parallax-divider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-bottom: 1px solid #ffffff;
    background-color: #000000;
}

.parallax-img-target {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 150%;
    object-fit: cover;
    display: block;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
}

.brand-parallax-divider .parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.brand-parallax-divider .parallax-caption {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
}

.brand-parallax-divider .caption-tag {
    font-size: 0.85rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 0.05em;
    background: #000000;
    padding: 6px 12px;
    text-transform: uppercase;
    display: inline-block;
}

@media (max-width: 1024px) {
    .values-grid, .team-grid-four {
        flex-wrap: wrap;
    }

    .value-card, .team-card-four {
        width: 50%;
        border-bottom: 1px solid #ffffff;
    }

    .value-card:nth-child(2n), .team-card-four:nth-child(2n) {
        border-right: none;
    }

    .brand-parallax-divider {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .value-card, .team-card-four {
        width: 100%;
        border-right: none;
    }
}

/* --- SERVICES STACK & FADE TO BLACK (GSAP PIN CONTROLLED) --- */
.services-stack-wrapper {
    position: relative;
    width: 100%;
    /* L'altezza dinamica per lo scroll viene impostata da JS */
    background-color: #000000;
    color: #ffffff;
}

.service-stack-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5vw;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #000000;
    will-change: transform, opacity;
}

/* Z-Index crescente per gestire la sovrapposizione */
.service-stack-card[data-service="0"] { z-index: 1; }
.service-stack-card[data-service="1"] { z-index: 2; }
.service-stack-card[data-service="2"] { z-index: 3; }

.service-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.service-media {
    width: 100%;
    height: 550px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #111111;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-overlay-black {
    position: absolute;
    inset: 0;
    background-color: #000000;
    opacity: 0;
    z-index: 3;
    pointer-events: none;
}

@media (max-width: 991px) {
    .service-card-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .service-media {
        height: 300px;
    }
}


/* ==========================================================================
   8. PRODUCT PAGE & SHEETS
   ========================================================================== */

section.facet.category .facet-label a[href*="/2-home"],
section.facet.category li a[href*="/2-home"],
section.facet.category li:first-child,
#subcategories,
.product-comments-additional-info,
.product-prices .tax-shipping-delivery-label,
.product-price-and-shipping .tax-shipping-delivery-label,
.product-add-to-cart .control-label {
    display: none !important;
}

p.format {
    font-size: 1rem;
    background-color: #000000 !important;
    color: #ffffff !important;
    display: inline-block;
    letter-spacing: 1px;
    padding: 0.6rem 2rem;
    margin: 0;
}

.brands-sort .select-list,
.products-sort-order .select-list,
.suppliers-sort .select-list {
    display: block;
    padding: .625rem 1.25rem;
    color: #000000;
    background: #ffffff;
}

.brands-sort .select-list:hover,
.products-sort-order .select-list:hover,
.suppliers-sort .select-list:hover {
    color: #000000;
    background: #dedede;
}

.product-prices .current-price span,
.product-price,
.product-prices .current-price {
    color: #000000 !important;
    font-weight: 500 !important;
    font-size: 1.3rem;
}

/* --- QUANTITY SELECTOR --- */
.bootstrap-touchspin-up,
.bootstrap-touchspin-down,
.input-group-btn-vertical {
    display: none !important;
}

.custom-qty-wrapper {
    display: flex !important;
    align-items: center;
    border: 1px solid #000000;
    width: fit-content;
    background: #ffffff;
}

.custom-qty-btn {
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    height: 45px !important;
    width: 50px !important;
    font-size: 20px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#quantity_wanted {
    border: none !important;
    width: 50px !important;
    height: 45px !important;
    text-align: center !important;
    margin: 0 !important;
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 16px;
    appearance: textfield !important;
}

.add-to-cart {
    height: 50px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 1px;
    font-weight: 500;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
    border-radius: 0;
    transition: all 0.3s ease;
    padding: .5rem 2rem !important;
}

.add-to-cart:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* --- TABS & FEATURES --- */
.product-tabs-magmscent .nav-link.active {
    color: #000000 !important;
    border-bottom: 2px solid #000000 !important;
    font-weight: bold;
}

.feature-item {
    margin-bottom: 15px;
}

.feature-item .feature-label {
    margin-bottom: 0 !important;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9em;
    color: #333333;
}

.feature-item .feature-value {
    margin-top: 2px !important;
    color: #666666;
    font-size: .9375rem;
}

span.feature-note {
    font-size: 0.8em !important;
    letter-spacing: 0.8px;
    display: inline-block;
    margin-top: 6px;
    line-height: 1.2;
}


/* ==========================================================================
   9. CATEGORY PAGE LAYOUT
   ========================================================================== */

.block-category-inner {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.block-category-inner .category-cover {
    order: 1;
    width: 100%;
    margin-bottom: 1.5rem;
    display: grid;
}

.block-category-inner .category-cover picture img {
    width: 100%;
    height: auto;
    max-width: 250px;
}

.block-category-inner #category-description {
    order: 2;
    width: 100%;
}

@media (min-width: 768px) {
    .block-category-inner {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }

    .block-category-inner .category-cover {
        order: 1;
        width: auto;
        margin-bottom: 0;
        margin-right: 3rem;
    }

    .block-category-inner .category-cover picture img {
        max-width: 100%;
    }

    .block-category-inner #category-description {
        order: 2;
        flex: 1;
    }
}

/* ==========================================================================
   11. CHECKOUT PAGE
   ========================================================================== */

#checkout #wrapper {
    display: block !important;
}

#checkout [data-link-action="show-login-form"],
#checkout a[href*="login-form"],
#checkout .nav-item:has([data-link-action="show-login-form"]),
#checkout #menu-icon,
.gender-line,
#customer-form .form-group:has(.radio-inline),
.form-control-comment,
.form-informations,
#delivery_message,
label[for="delivery_message"] {
    display: none !important;
}

#checkout #_mobile_top_menu_wrapper {
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

#checkout #main .checkout-steps .step-title,
#checkout #main .checkout-steps .step-title a {
    color: #000000 !important;
}

@media (min-width: 768px) {
    #checkout #_desktop_logo {
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 999;
    }
}


/* ==========================================================================
   12. FOOTER
   ========================================================================== */

#footer, .footer-container, .footer-container .links ul {
    background-color: #000000 !important;
}

.footer-container,
.footer-container h1, #footer h2, #footer h3, #footer h4, #footer h5,
.footer-container a, .footer-container p, .footer-container span {
    color: #ffffff !important;
}

.footer-container .footer-logo-block,
.footer-container .footer-logo-block .block-cms {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.footer-logo {
    padding-top: 60px !important;
    padding-bottom: 20px !important;
    max-width: 140px !important;
}

.footer-container .links .wrapper {
    text-align: left;
    text-transform: uppercase !important;
    margin-top: 20px;
}

.footer-container .links .wrapper .h3 {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1rem !important;
}

.copyright-magm p {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 40px !important;
    padding: 20px 0 !important;
    color: #666666 !important;
    font-size: 10px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border-top: 1px solid #222222;
}


@media (min-width: 768px) {
  .container {
    width: 100%;
    max-width: 100%;
  }
}