/* Visum - Ultimo salvataggio: 30/08/2026 11:19 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 30/08/2026 10:42 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 30/08/2026 10:32 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 28/08/2026 16:50 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 26/08/2026 00:54 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 18/07/2026 00:59 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 12/07/2026 20:10 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 12/07/2026 18:23 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 12/07/2026 16:14 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 12/07/2026 16:13 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 12/07/2026 15:56 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 11/07/2026 16:04 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 11/07/2026 16:01 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 11/07/2026 15:59 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 11/07/2026 15:52 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 11/07/2026 15:49 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 10/07/2026 11:19 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 10/07/2026 02:25 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 09/07/2026 17:55 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 22/06/2026 17:57 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 22/06/2026 17:25 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 21/06/2026 21:28 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 21/06/2026 14:34 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 21/06/2026 14:27 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 20/06/2026 15:14 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 20/06/2026 15:11 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 20/06/2026 13:56 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 20/06/2026 13:53 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 20/06/2026 13:48 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 19/06/2026 12:15 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 19/06/2026 11:43 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 19/06/2026 11:42 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 19/06/2026 11:39 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 19/06/2026 11:20 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 19/06/2026 11:01 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 19/06/2026 03:22 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 19/06/2026 00:10 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 19/06/2026 00:09 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 18/06/2026 00:53 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 17/06/2026 15:35 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 07/06/2026 17:46 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 07/06/2026 16:36 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 07/06/2026 15:36 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 07/06/2026 15:08 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 07/06/2026 14:12 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 07/06/2026 12:23 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 05/06/2026 14:26 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 05/06/2026 13:40 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 04/06/2026 21:23 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 04/06/2026 21:15 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 04/06/2026 20:18 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 03/06/2026 15:40 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 01/06/2026 18:38 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 01/06/2026 18:02 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 01/06/2026 17:46 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 01/06/2026 17:40 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 30/05/2026 20:53 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 30/05/2026 20:49 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 30/05/2026 19:01 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 23:55 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 20:32 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 19:53 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 18:42 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 18:37 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 18:35 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 18:21 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 18:03 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 18:01 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 17:59 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 17:58 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 17:55 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 17:46 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 17:42 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 17:34 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 17:32 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 17:30 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 17:00 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 16:56 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 16:52 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 16:51 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 16:48 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 16:46 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 16:44 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 16:42 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 16:41 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 16:38 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 16:34 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 13:51 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 12:41 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 12:19 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 01:54 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 01:39 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 27/05/2026 00:06 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 25/05/2026 19:47 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 25/05/2026 19:46 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 25/05/2026 19:43 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 25/05/2026 19:40 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 25/05/2026 12:37 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 24/05/2026 21:08 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 24/05/2026 17:31 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 24/05/2026 16:32 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 24/05/2026 16:27 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 23/05/2026 14:55 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 22/05/2026 23:05 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 22/05/2026 16:42 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 22/05/2026 15:37 - Modalità: BOZZA */
/* Visum - Ultimo salvataggio: 21/05/2026 15:40 - Modalità: BOZZA */
/*
 * ============================================================
 *  KARVORA — CUSTOM CSS
 *  Gestito da Visum CSS Editor
 *  Struttura:
 *   1.  Base & Layout Globale
 *   2.  Loader
 *   3.  Intro Motion (Canvas WebGL + Three.js)
 *   4.  Menu (Top Bar, Bottom Bar, Panel, Quote)
 *   5.  Pagine Archivio (Collezioni & Linee)
 *   6.  Back to Top
 *   7.  Footer
 *   8.  Widget Mounting Guide
 *   9.  Single Collection — Hero (fxlive-ht)
 *  10.  Single Collection — Packaging 3D (fxlive-pkg)
 *  11.  Galleria Home (kv-gallery)
 *  12.  Slider Homepage (fx-slider-home)
 *  13.  Listello Sovrapposto (fx-plank-overlay)
 * ============================================================
 */

body {
  background-color: #F8F8FF !important;
}

.amh-sub-item--overview {
  display: none !important
}

.fx-luxury-title {
  font-style: initial;
}

@media (min-width: 1440px) {
 .tb_c4xs679 {
    padding-right: 48px
  }
}

.karv_zocalo-desc h3 {
  font-size: 1.6em !important;
  margin-bottom: 0 !important
}

.karv_zocalo-desc .tb_text_wrap {
  font-size: 0.8em !important;
  margin-bottom: -10px !important
}

.karv_zocalo_img {
  margin-bottom: 30px
}

.karv_zocalo_img img {
  aspect-ratio: 12 / 1
}

.impera-tabula-fe-wrapper.mode-always_stack tr {
  margin-bottom: 0 !important
} 

@media (min-width: 1440px) {
  .impera-tabula-fe-wrapper.mode-always_stack td .amh-cascade-label {
  min-width: 50%
}
.impera-tabula-fe-wrapper.mode-always_stack td .amh-cascade-value {
  min-width: 50%
}
}

/* L'icona revisit sempre visibile dopo il consenso */
.faz-btn-revisit-wrapper {
	visibility: visible !important;
}

/* Quando il banner/preference center è aperto, rendi visibile il suo contenuto */
.faz-modal-open [data-faz-tag],
#faz-consent.faz-modal-open [data-faz-tag],
.faz-preference-center [data-faz-tag],
.faz-consent-bar [data-faz-tag] {
	visibility: visible !important;
}

/* Il cerchio esterno */
.amh-custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #fff; /* O il colore del tuo brand */
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    mix-blend-mode: difference; /* Opzionale: fantastico per invertire i colori sui testi */
    box-sizing: border-box;
}

/* Quando avvolge il link puoi aggiungere un background soft o cambiare colore */
.amh-custom-cursor.is-magnetic {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
}

/* Il puntino centrale */
.amh-custom-cursor-dot {
    position: fixed;
    top: -3px;
    left: -3px;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 100000;
}
.amh-custom-cursor-dot.is-hidden {
    opacity: 0;
}

:root {
    --amh-sfx-num-bottom: 0px;
    --amh-sfx-num-color: rgba(100, 100, 100, 1);
    --amh-sfx-num-size: 12px;
    --amh-sfx-num-font: '';
    --amh-pt-size: 12px;
    --amh-pt-font: 'Montserrat';
    --amh-pt-line-height: 1px;
    --amh-pt-label-offset: -20px;
    --amh-pt-line-color: rgba(255, 255, 255, 0.6);
    --amh-pt-color: rgba(255, 255, 255, 0.7);
    --amh-cursor-size: inherit;
    --amh-cursor-size-hover: inherit;
    --amh-cursor-color: currentcolor;
}

.amh-progress-line::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    pointer-events: none;
}

.kv-item-title::first-letter, .fx-luxury-title::first-letter {
    font-family: 'Cinzel Decorative', serif;
}

.kv-item-title {
    text-align: center
}

hr {
  border: 0; 
  height: 1px; 
  background-color: rgba(100, 116, 139, 0.12); 
  margin: 20px 0;
}

.amh-gallery-title {
  color: #f8f8ff !important;
  font-size: 1.4em !important;
  text-transform: uppercase
}

.archive.author .amh-card-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.kv-poetic-lead {
  color: #64748b
}

.vs-block-info {
    height: 100%;
}

.vs-block-heading {
  text-transform: uppercase;
  color: #4f5c6d;
}

.vs-nav-btn:hover {
    color: #4f5c6d;
}

.vs-block-content img {
    mix-blend-mode: multiply;
}

.vs-section {
    min-height: 60px;
    border-radius: 8px;
    padding: 1em;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 8px rgba(0, 0, 0, 0.04);
}

.vs-block-body {
    position: relative;
}

.vs-block-info .vs-nav-btn {
    color: var(--vs-active-color, #6d28d9);
    background: var(--vs-active-bg, rgba(109, 40, 217, .06));
    border-color: var(--vs-active-color, #6d28d9);
    font-weight: 600;
}

@media (min-width: 769px) {
  .vs-block-heading {
  position: relative;
  height: 100%
}

.vs-block-heading a.vs-nav-btn {
  position: absolute;
  bottom: 0;
}
  .vs-block-body:after {
    content: '';
    position: absolute;
    left: 0%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0,0,0,.08);
}
}

.vim-tooltip {
    max-width: 480px;
}

#amh-morph-overlay-mega {
    border-top: 1px solid rgba(100, 116, 139, 0.12);
    padding-top: 60px;
}

#amh-morph-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 64px !important;
    height: 42px !important;
    background: rgba(248,248,255,1.0) !important;
    backdrop-filter: blur(0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 2px;
    border: 1px solid currentcolor !important;
    cursor: pointer;
    padding: 0;
    color: inherit;
}

#amh-morph-hamburger span {
    display: block;
    width: 32px !important;
    height: 1.8px !important;
    background: currentcolor;
    border-radius: 2px;
    transition: transform .35s cubic-bezier(.77, 0, .18, 1), opacity .25s ease, width .3s ease;
    transform-origin: center;
}

#amh-morph-overlay-nav > .amh-nav-item > .amh-nav-link--fx .amh-nav-track span {
    justify-content: flex-start;
}

#amh-morph-overlay.amh-open {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 8px rgba(0, 0, 0, 0.04);
}

section#amh-block-2101-cards-grid {
    background: none !important;
}

li {
  color: #64748b
}

.karv_collections_top.amh-va-middle {
  display: flex;
  align-content: center
}

.karv_collections_top.amh-va-middle  h1{
  color: #f8f8ff !important
}

.amh-va-middle {
  display: flex;
  align-content: center
}

/* ============================================================
   TRANSPOSH WIDGET SWITCH LINGUE
   ============================================================ */
#amh-fxm-extra select {
  background: transparent;
  width: 100%;
  margin-top: 1rem
}
#amh-fxm-extra span option {
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}

/* ============================================================
   1. BASE & LAYOUT GLOBALE
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#headerwrap {
    position: absolute;
}

/* Sezioni con spaziatura fluida */
.karv_home-section2,
.karv_home-section3,
.karv_home-section4,
.karv_home-section5,
.karv_linea-section2 {
    padding-top:    clamp(3rem, 5vw + 1rem, 6rem);
    padding-bottom: clamp(3rem, 5vw + 1rem, 6rem);
    padding-left:   clamp(1rem, 4vw, 2.5rem);
    padding-right:  clamp(1rem, 4vw, 2.5rem);
}

.karv_box3d #btn-3d-toggle {
    color: #111111;
}

.karv_vtable li {
    margin: 0;
}

.home .amh-content {
  padding-top: 0
}


/* ============================================================
   2. LOADER
   ============================================================ */

#karvora-loader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.loader-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #8f8f8;
    font-family: 'Cinzel', serif;
}

.loader-logo {
    font-size: 24px;
    letter-spacing: 8px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.loader-bar-container {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px auto;
    overflow: hidden;
}

#loader-progress-bar {
    width: 0%;
    height: 100%;
    background: #a855f7;
}

#loader-percentage {
    font-size: 12px;
    letter-spacing: 2px;
    color: #a855f7;
}

/* Sipario — due metà */
.loader-bg-top,
.loader-bg-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50.5%;
    background: #0a0a0a;
    z-index: 5;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.loader-bg-top    { top: 0; }
.loader-bg-bottom { bottom: 0; }

body.loaded #karvora-loader .loader-content { opacity: 0; transition: 0.3s; }
body.loaded .loader-bg-top    { transform: translateY(-100%); }
body.loaded .loader-bg-bottom { transform: translateY(100%); }


/* ============================================================
   3. INTRO MOTION — Canvas WebGL + Three.js
   ============================================================ */

#wrap {
    position: relative;
    width: 100vw;
    height: 100vh;
}

/* Canvas WebGL (tunnel sfondo) */
#c {
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

/* Canvas Three.js (particelle lettere + nucleo) */
#c3d {
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
    pointer-events: none;
}

/* Pulsante Skip */
#skip-btn {
    position: fixed;
    bottom: 40px;
    left: 50%;
    margin-left: -60px;
    width: 120px;
    padding: 10px 0;
    background: rgba(0, 20, 40, 0.4);
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: rgba(0, 242, 255, 0.7);
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    text-align: center;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#skip-btn.visible {
    opacity: 1;
    pointer-events: auto;
    animation: floatAnim 3s ease-in-out infinite;
}

#skip-btn:hover {
    background: rgba(0, 242, 255, 0.15);
    color: #f8f8ff;
    border-color: #00f2ff;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}


/* ============================================================
   4. MENU — Top Bar, Bottom Bar, Panel, Quote
   ============================================================ */
/* Gestito inline */
#amh-fxm-bar {
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.home #amh-fxm-topbar-cta {
  color: #f8f8ff;
}

#amh-fxm-quote-close {
  z-index: 10;
}

#amh-morph-overlay-nav .amh-sub-link {
  font-size: 1.2em;
  font-weight: 700;
  text-align: left !important
}

#amh-morph-overlay-nav .amh-submenu {
  align-items: flex-start
}

#menu-menu-tecnico-it {
  margin: 0
}

#menu-menu-tecnico-it li {
  display: inherit
}

#menu-menu-tecnico a, #menu-menu-tecnico-en a,  #menu-menu-tecnico-it a,  #menu-menu-tecnico-fr a,  #menu-menu-tecnico-pt a {
    display: inline-flex;
    gap: 12px;
    text-decoration: none !important;
    color: #64748b !important;
    font-size: clamp(18px, 3.2vw, 38px) !important;
    font-weight: 800 !important;
    font-family: inherit !important;
    letter-spacing: -1px !important;
    line-height: 1.1 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: color .2s ease;
    padding: 6px 0
}

#menu-menu-tecnico a:hover, #menu-menu-tecnico-en a:hover, #menu-menu-tecnico-it a:hover, #menu-menu-tecnico-fr a:hover, #menu-menu-tecnico-pt a:hover {
      color: #4f5c6d !important;
}

@media (max-width: 768px) {
#amh-fxm-quote {
  width: 100%
}
}

/* ============================================================
   5. PAGINE ARCHIVIO
   ============================================================ */
/* Titolo Pagina */ 
.karv_linea_section1-col1.first {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.karv_linea_section1-col1.first:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0
}

/* 1. Assicura che le due colonne abbiano la stessa altezza */
.karv_linea_section1-col1,
.karv_linea_section1-col2 {
  display: flex;
  flex-direction: column;
}

/* 2. Forza i wrapper dell'immagine a riempire tutta l'altezza disponibile */
.karv_linea_section1-col1 .module-pro-image,
.karv_linea_section1-col1 .image-pro-wrap,
.karv_linea_section1-col1 .image-pro-flip-box-wrap,
.karv_linea_section1-col1 .image-pro-flip-box {
  height: 100%;
  width: 100%;
}

/* 3. Forza l'immagine a coprire l'intero contenitore mantenendo le proporzioni */
.karv_linea_section1-col1 img.wp-post-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

#karv_collection_title {
  position: absolute;
  z-index: 1
}

#karv_collection_title h1 {
  color: #f8f8ff !important;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Archivio linea Core */
.archive.tax-linea.term-core main#tbp_content {
    padding: 0;
}

.archive.tax-linea.term-core #headerwrap {
    position: absolute;
}

/* ============================================================
   KARVORA LINEA GRID — [karvora_linea]
   ============================================================ */
.kv-linea-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.kv-linea-item {
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s ease;
}
.kv-linea-item:hover {
    border-bottom-color: rgba(168, 85, 247, 0.2);
}
.kv-linea-img {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}
.kv-linea-item:hover .kv-linea-img {
    transform: translateY(-6px);
    box-shadow: 
        0 4px 12px rgba(30, 15, 5, 0.15),
        0 16px 40px rgba(30, 15, 5, 0.25),
        0 32px 60px rgba(30, 15, 5, 0.12);
}
.kv-linea-img img { 
  width: 100%; 
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block; 
}

/* Overlay scuro + pulsante */
.kv-linea-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 5;
    pointer-events: none;
}
.kv-linea-item:hover .kv-linea-img::after { opacity: 1; }
.kv-linea-item:hover .kv-card-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Testo segue la card */
.kv-linea-item:hover .kv-linea-title,
.kv-linea-item:hover .kv-linea-meta {
    transform: translateY(-4px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.kv-linea-title {
    font-size: 15px; font-weight: 600;
    margin: 10px 0 4px;
    transition: transform 0.4s ease;
}
.kv-linea-title a { text-decoration: none; color: inherit; }
.kv-linea-meta {
    font-size: 12px; opacity: .6;
    display: flex; flex-wrap: wrap; gap: 4px 12px;
    transition: transform 0.4s ease;
}
.kv-meta-label { font-weight: 600; }
.kv-term a { text-decoration: none; color: inherit; }

@media (max-width: 1024px) { .kv-linea-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .kv-linea-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .kv-linea-grid { grid-template-columns: 1fr; } }


.amh-card.amh-cg-card {
    background-color: transparent !important;
    border-left: 1px solid rgba(168, 85, 247, 0.2);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s ease;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.amh-card.amh-cg-card:hover {
    border-bottom-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-4px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.amh-line-top {
    padding-right: clamp(16px, 3vw, 48px);
}

.amh-line-top img {
  object-fit: cover;
}

@media (max-width: 1024px) {
    .amh-line-top {
    padding-left:  clamp(16px, 3vw, 48px); 
    padding-right: clamp(16px, 3vw, 48px);
}
}

/* ============================================================
   6. BACK TO TOP
   ============================================================ */

#karvora-back-top {
    position: fixed !important;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    z-index: 999;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.9);
}

#karvora-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

#karvora-back-top:hover {
    background: rgba(10, 10, 10, 1);
    transform: scale(1.1);
}

#karvora-back-top:hover .arrow-icon {
    transform: translateY(-3px);
}

#karvora-back-top .arrow-icon {
    width: 16px;
    height: 16px;
    fill: #f0e0ca;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Cerchio di progresso SVG */
.progress-wrap svg.progress-circle {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
   border-color: #f5ede2;
}

.progress-wrap svg.progress-circle path {
    fill: none;
    stroke: #f5ede2;
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 10ms linear;
}


/* ============================================================
   7. FOOTER
   ============================================================ */

#amh-foot-box-inner p, #menu-footer li {
  font-size: 0.9em !important
}

.amh-footer-col-content .module .nav.transparent li {
  margin: 0 !important
}

ul li.lang-item {
    display: inline-block !important;
    width: auto !important;
    float: none !important;
}

ul li.lang-item a {
  padding: 0 0.4em !important
}

/* ============================================================
   8. WIDGET MOUNTING GUIDE
   ============================================================ */

#flooring-guide-widget {
    max-width: 100%;
    margin: 20px 0;
    background: #f8f8ff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
}

/* Area visuale (slider) */
#guide-visual-area {
    position: relative;
    width: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.canvas-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1160px;
    gap: 50px;
}

.active-img {
    z-index: 2;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: 100%;
    max-height: 640px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.ghost-img {
    max-height: 280px;
    opacity: 0.3;
    filter: blur(4px) grayscale(100%);
    transition: opacity 0.3s ease;
}

/* Area testi */
#guide-text-area {
    padding: 1.6% 0;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#guide-box-area {
    max-width: 1160px;
    width: 100%;
    text-align: center;
}

#guide-phase-title {
    margin: 0 0 10px 0;
    font-size: 1.6rem;
    color: #222;
}

#guide-description {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* Thumbnails */
#guide-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 30px 20px 30px;
    overflow-x: auto;
}

#guide-box-thumbnails {
    width: 100%;
}

.thumb {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.thumb:hover  { opacity: 0.7; }

.thumb.active {
    opacity: 1;
    filter: grayscale(0%);
    border-color: #000;
    transform: scale(1.1);
}

/* Navigazione bottoni */
#guide-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 30px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.guide-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    background: #222;
    color: #f8f8ff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.guide-btn:hover:not(:disabled) { background: #444; }

.guide-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.guide-side-btn { font-size: 0; }
.guide-side-btn::before {
    font-size: 28px;
    line-height: 1;
    color: #1a1a1a;
    font-weight: bold;
}
#btn-side-prev::before { content: "‹"; }
#btn-side-next::before { content: "›"; }

.guide-side-btn:hover {
    transform: translateY(-50%) scale(1.08) !important;
    background: #fff;
}

@media (max-width: 480px) {
  #guide-visual-area {
    max-height: 320px !important
}
}

.amh-footer-col-content select.tp_lang2.karvora-lang-select {
    background: #111111;
}


/* ============================================================
   9. SINGLE COLLECTION — HERO (fxlive-ht)
   ============================================================ */
/* Rimuovi i flexbox complessi che potrebbero confliggere con le animazioni di Themify */
.tb_c4xs679 #fxlive-ht {
    width: 100%;
    position: relative !important;
    overflow: hidden;
    cursor: pointer;
    /* Rimuovi height: 100% qui, il JS la imposterà dinamicamente */
}

.tb_c4xs679 #fxlive-htcanvas {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    /* L'altezza viene gestita dal JS */
}

@media (max-width: 1439px) {
  #fxlive-ht {
    max-height: 70vh !important
  }
}

.fx-text-overlay {
    position: absolute !important;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    pointer-events: none;
    text-align: center;
    padding: 5%;
}

.karv_collection_section1-col1.first {
  position: relative !important
}

.karv_collection_section1-col1.first .module-fancy-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) ;
  z-index: 3;
}

.fx-main-title h1 {
    color: #f8f8ff !important;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.fx-text-title {
    font-size: 48px;
    font-weight: 800;
    color: #f8f8ff !important;
    margin-top: 0;
    margin-bottom: 12px;
    opacity: 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
    line-height: 1.1;
}

.fx-text-sub {
    font-size: 18px;
    font-weight: 400;
    color: #e2e8f0;
    margin-top: 0;
    margin-bottom: 32px;
    opacity: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    max-width: 600px;
    line-height: 1.4;
}

#fx-main-title, #fx-main-sub {
  color: #f8f8ff !important
}

.fx-text-btn {
    display: none;
    pointer-events: auto;
    padding: 14px 32px;
    background: #06b6d4;
    color: #001820;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    opacity: 0;
    transition: transform 0.2s, background 0.2s;
}

.fx-text-btn:hover {
    transform: scale(1.05);
    background: #22d3ee;
}

@media (max-width: 1439px) {
  .module_column.tb-column.col4-2.tb_yo8g679.karv_collection_section1-col2.last {
    padding-left: clamp(16px, 3vw, 48px);
    padding-right: clamp(16px, 3vw, 48px);
    padding-top: clamp(32px, 5vw, 80px);
    padding-bottom: clamp(32px, 5vw, 80px);
}
}

/* Animazioni testo */
.anim-fade .fx-text-title { animation: fxFadeIn 0.8s forwards 0.2s; }
.anim-fade .fx-text-sub   { animation: fxFadeIn 0.8s forwards 0.4s; }
.anim-fade .fx-text-btn   { animation: fxFadeIn 0.8s forwards 0.6s; }

.anim-slide .fx-text-title { animation: fxSlideUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.2s; transform: translateY(30px); }
.anim-slide .fx-text-sub   { animation: fxSlideUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.4s; transform: translateY(30px); }
.anim-slide .fx-text-btn   { animation: fxSlideUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.6s; transform: translateY(30px); }

.anim-neon .fx-text-title {
    opacity: 1;
    color: #f8f8ff;
    text-shadow: 0 0 5px #f8f8ff, 0 0 10px #f8f8ff, 0 0 20px #06b6d4, 0 0 40px #06b6d4;
    animation: fxPulse 2s infinite alternate;
}
.anim-neon .fx-text-sub { opacity: 1; }
.anim-neon .fx-text-btn { opacity: 1; box-shadow: 0 0 15px #06b6d4; }

@keyframes fxFadeIn  { to { opacity: 1; } }
@keyframes fxSlideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fxPulse {
    0%   { opacity: 0.8; }
    100% { opacity: 1; text-shadow: 0 0 10px #f8f8ff, 0 0 20px #06b6d4, 0 0 40px #06b6d4, 0 0 60px #06b6d4; }
}

/* Outro / Portale */
#kv-portal-container canvas {
    width: 100% !important;
    max-width: 320px !important;
    height: 100% !important;
}

#kv-portal-container::before {
    content: "";
    background-color: #246fb7;
    width: 320px;
    max-width: 40%;
    height: 320px;
    max-height: 40%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 100%;
    z-index: -1;
    opacity: 1;
}


/* ============================================================
   10. SINGLE COLLECTION — PACKAGING 3D (fxlive-pkg)
   ============================================================ */

#fxlive-pkg {
    width: 100%;
    max-width: 1440px;
    background: transparent;
    overflow: hidden;
    position: relative;
    aspect-ratio: 32 / 9;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
    transition: aspect-ratio 0.7s cubic-bezier(0.77, 0, 0.18, 1);
}

#fxlive-pkg.is-active-3d {
    aspect-ratio: 16 / 8;
    cursor: grab;
}

#fxlive-pkgcanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: block;
    outline: none;
    border: none;
}

#btn-3d-toggle {
    position: absolute;
    bottom: 15px; right: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    font-family: sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #000;
}

#btn-3d-toggle.active {
    background: #000;
    color: #f8f8ff;
    border-color: #333;
}


/* ============================================================
   11. GALLERIA HOME (kv-gallery)
   ============================================================ */

.kv-gallery-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.kv-gallery-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6%;
    width: 100%;
    min-height: 80vh
}

.kv-side-gallery-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6%;
    width: 100%;
}

.kv-gallery-item {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    background: #0a0a0a;
    cursor: pointer;
    pointer-events: auto;
    overflow: hidden;
}

.kv-gallery-item {
  background-size: auto 150%;
    background-repeat: no-repeat;
    background-position: bottom left;
}

.kv-side-gallery-grid  .kv-gallery-item {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #0a0a0a;
    cursor: pointer;
    pointer-events: auto;
    overflow: hidden;
}

#kv-webgl-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none !important;
    z-index: 3;
}

.kv-item-content {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    pointer-events: none;
}

.kv-item-title {
    margin: 0 0 10px 0;
    color: #f8f8ff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.kv-item-desc {
    line-height: 1.6;
    color: #f8f8ff !important;
    margin-bottom: 25px;
    color: #ccc;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Pulsante danza */
.kv-btn-dance {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: #f8f8ff;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
    z-index: 10;
    pointer-events: auto;
    backdrop-filter: blur(8px)
}

.kv-btn-dance::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.kv-btn-dance:hover {
    border-color: #f5ede2;
    color: #f8f8ff;
}

.kv-btn-dance:hover::before { left: 100%; }

/* Responsive galleria */
@media (max-width: 1440px) {
    .kv-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.2%;
    }
    .kv-gallery-item {
        aspect-ratio: 4 / 4;
        padding: 20px;
        margin-bottom: 3.2%;
    }
  .kv-side-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
        gap: 3.2%;
  }
    .kv-item-content {
        transform: translateY(20px);
    }
}

@media (max-width: 768px) {
    .kv-gallery-grid {
        grid-template-columns: 1fr;
        height: auto
    }
    .kv-gallery-item {
        aspect-ratio: 4 / 3;
        padding: 20px;
    }
  .kv-side-gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   12. SLIDER HOMEPAGE (fx-slider-home)
   ============================================================ */

#fx-slider-home {
    width: 100%;
    height: 80vh;
    border-radius: 0px;
    overflow: hidden;
    position: relative;
    background: #000;
    cursor: grab;
    user-select: none;
}

#fx-slider-home:active { cursor: grabbing; }

#fx-slider-home .fx-slide {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    overflow: hidden;
}

#fx-slider-home .fx-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

#fx-slider-home .fx-slide-overlay {
    position: absolute;
    inset: 0;
}

#fx-slider-home .fx-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 5vw, 60px);
    pointer-events: none;
    z-index: 5;
}

#fx-slider-home .amh-slide-title,
#fx-slider-home .amh-slide-subtitle {
    color: #f5ede2 !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#fx-slider-home .amh-slide-cta {
    transition: opacity 0.2s;
}

#fx-slider-home .amh-slide-cta:hover {
   background: #322420 !important;
    color: #f5ede2 !important;
    transition: opacity 0.2s;
}

#fx-slider-home .fx-cta:hover { opacity: 0.85; }

/* Frecce */
#fx-slider-home .fx-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f8f8ff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}

#fx-slider-home .fx-arrow:hover { background: rgba(0, 0, 0, 0.7); }
#fx-slider-home .fx-prev { left: 14px; }
#fx-slider-home .fx-next { right: 14px; }

/* Dots */
#fx-slider-home .fx-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

#fx-slider-home .fx-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s;
}

#fx-slider-home .fx-dot.active {
    background: #f8f8ff;
    transform: scale(1.3);
}

/* Barra di progresso */
#fx-slider-home .fx-progress {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    background: #a855f7;
    z-index: 20;
    display: none;
}

#birth-of-karvora {
  background: rgba(248,248,255,0.2);
  backdrop-filter: blur(12px)
}

#birth-of-karvora h3, #birth-of-karvora p {
  color: #222222 !important;
}

@media (max-width: 768px) {
  #birth-of-karvora {
    margin-top: clamp(48px, 6vw, 100px);
    margin-bottom: clamp(48px, 6vw, 100px);
    padding-top: clamp(32px, 5vw, 80px);
    padding-bottom: clamp(32px, 5vw, 80px);
  }
}

/* ============================================================
   13. LISTELLO SOVRAPPOSTO (fx-plank-overlay)
   ============================================================ */

.fx-plank-overlay {
    position: absolute;
    top: 30px;
    bottom: 30px;
    right: 5%;
    z-index: 20;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fx-plank-overlay div,
.fx-plank-overlay figure,
.fx-plank-overlay a {
    height: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
}

.fx-plank-overlay img {
    height: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    filter: drop-shadow(-15px 10px 20px rgba(0, 0, 0, 0.6));
    display: block;
    margin: 0 !important;
}


/* ============================================================
   14. GALLERIE COLLEZIONI E LINA (Overlay hover card)
   ============================================================ */

.module-featured-image .image-wrap {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}

.module-featured-image .image-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 4px 12px rgba(30, 15, 5, 0.15),
        0 16px 40px rgba(30, 15, 5, 0.25),
        0 32px 60px rgba(30, 15, 5, 0.12);
}

.tbp_advanced_archive_wrap {
    transition: none;
}

.post:hover .module-post-title,
.post:hover .module-post-meta {
    transform: translateY(-4px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.post {
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s ease;
}

.post:hover {
    border-bottom-color: rgba(168, 85, 247, 0.2); /* viola Karvora appena accennato */
}

/* Immagine — solleva al hover */
.ptb_thumbnail {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}

.ptb_thumbnail:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 4px 12px rgba(30, 15, 5, 0.15),
        0 16px 40px rgba(30, 15, 5, 0.25),
        0 32px 60px rgba(30, 15, 5, 0.12);
}

/* Testo — segue la card */
.ptb_post:hover .ptb_title,
.ptb_post:hover .ptb_coleccion_codigo,
.ptb_post:hover .ptb_taxonomies {
    transform: translateY(-4px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Bordo viola Karvora in basso */
.ptb_post {
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s ease;
}

.ptb_post:hover {
    border-bottom-color: rgba(168, 85, 247, 0.2);
}

.ptb_thumbnail,
.module-featured-image .image-wrap {
  position: relative;
  overflow: hidden;
}

.ptb_thumbnail::after,
.module-featured-image .image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 5;
  pointer-events: none;
}

.ptb_thumbnail:hover::after,
.module-featured-image .image-wrap:hover::after {
  opacity: 1;
}

.ptb_post_image {
  margin: 0
}

.kv-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.ptb_thumbnail:hover .kv-card-overlay,
.module-featured-image .image-wrap:hover .kv-card-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Pulsante danza con effetto vetro */
.kv-btn-dance-card {
  display: inline-block;
  padding: 12px 30px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8f8ff;
  text-decoration: none;
  font-family: sans-serif;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
  z-index: 10;
  pointer-events: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.kv-btn-dance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.kv-btn-dance-card:hover {
  color: #f8f8ff;
  border-color: #f5ede2;
  transform: scale(1.05);
}

.kv-btn-dance-card:hover::before {
  left: 100%;
}

/* ============================================================
   15. GALLERIE COLLEZIONI RELATION POST
   ============================================================ */
.kv-related-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: clamp(8px, 1.5vw, 20px);
}
.kv-related-grid img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1;
    object-fit: cover;
}
.kv-related-title {
    display: block;
    font-size: 11px;
    margin-top: 6px;
    text-align: center;
}
@media (max-width: 1200px) {
    .kv-related-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .kv-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .kv-related-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   16. TABELLE
   ============================================================ */
/* Container per rendere le tabelle scrollabili su mobile */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}

/* Stile base della tabella */
table.table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 2rem 0;
  font-size: 0.95rem;
  text-align: left;
  background-color: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Intestazione (Header) */
table.table thead tr {
  background-color: #1a1a1a; /* Scuro elegante Karvora */
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

table.table th,
table.table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e9ecef;
  /* Linea verticale di separazione tra le colonne */
  border-right: 1px solid #e2e8f0; 
}

/* Separatore nell'intestazione scura */
table.table th {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

/* Rimuove la linea verticale dall'ultima colonna a destra */
table.table th:last-child,
table.table td:last-child {
  border-right: none;
}

/* Righe alternate (effetto zebra) */
table.table tbody tr:nth-of-type(even) {
  background-color: #f8f9fa;
}

/* Hover sulla riga */
table.table tbody tr:hover {
  background-color: #f1f3f5;
  transition: background-color 0.2s ease;
}

/* Prima colonna leggermente evidenziata */
table.table td:first-child {
  font-weight: 500;
  color: #2b2b2b;
}

/* Allineamento al centro per le colonne dati */
table.table td:nth-child(2),
table.table td:nth-child(3),
table.table th:nth-child(2),
table.table th:nth-child(3) {
  text-align: center;
}