/* IDEA3D25 Header & Footer v1.0 */

:root {
    --i3hf-purple: #6d28d9;
    --i3hf-violet: #7c20ff;
    --i3hf-ink: #171449;
    --i3hf-line: rgba(23,20,73,.08);
}

body.i3hf-header-active header.ct-header,
body.i3hf-header-active #header,
body.i3hf-header-active .site-header,
body.i3hf-header-active [data-id="type-1"] > header {
    display: none !important;
}

.i3hf-root,
.i3hf-root * {
    box-sizing: border-box;
}

.i3hf-root {
    position: relative;
    z-index: 99990;
    width: 100%;
    font-family: inherit;
}

.i3hf-topbar {
    width: 100%;
    color: #fff;
    background: linear-gradient(90deg, #5a20d6, #7c20ff, #5a20d6);
}

.i3hf-topbar-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    width: min(calc(100% - 36px), 1440px);
    min-height: 30px;
    margin: 0 auto;
    gap: 20px;
    font-size: 11px;
    font-weight: 700;
}

.i3hf-topbar-inner span:nth-child(2) {
    text-align: center;
}

.i3hf-topbar-inner span:nth-child(3) {
    text-align: right;
}

.i3hf-header {
    width: 100%;
    border-bottom: 1px solid var(--i3hf-line);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(14px);
}

.i3hf-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    width: min(calc(100% - 40px), 1440px);
    min-height: 74px;
    margin: 0 auto;
}

.i3hf-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--i3hf-ink);
    text-decoration: none !important;
}

.i3hf-logo-wrap {
    display: block;
    width: var(--i3hf-logo-width, 176px);
    line-height: 0;
}

.i3hf-logo-wrap .custom-logo-link {
    display: block;
}

.i3hf-logo-wrap img {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
}

.i3hf-brand-mark {
    color: var(--i3hf-violet);
    font-size: 28px;
}

.i3hf-brand-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.035em;
}

.i3hf-brand-text span {
    color: var(--i3hf-violet);
}

.i3hf-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.2vw, 38px);
    min-width: 0;
}

.i3hf-nav > a,
.i3hf-nav-drop-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 27px 0;
    border: 0;
    color: #111325 !important;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
}

.i3hf-nav > a::after,
.i3hf-nav-drop-trigger::after {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--i3hf-violet);
    content: "";
    opacity: 0;
    transform: scaleX(.4);
    transition: .18s ease;
}

.i3hf-nav > a:hover::after,
.i3hf-nav-drop-trigger:hover::after,
.i3hf-nav-dropdown:hover .i3hf-nav-drop-trigger::after {
    opacity: 1;
    transform: scaleX(1);
}

.i3hf-nav-dropdown {
    position: relative;
}

.i3hf-category-menu {
    position: absolute;
    top: calc(100% - 8px);
    left: 50%;
    display: grid;
    width: 290px;
    padding: 10px;
    border: 1px solid var(--i3hf-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(23,20,73,.13);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: .16s ease;
}

.i3hf-nav-dropdown:hover .i3hf-category-menu,
.i3hf-nav-dropdown.is-open .i3hf-category-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.i3hf-category-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 11px;
    border-radius: 9px;
    color: #24233b !important;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none !important;
}

.i3hf-category-menu a:hover {
    color: var(--i3hf-violet) !important;
    background: #f7f3ff;
}

.i3hf-category-menu a span {
    color: #8c879c;
    font-size: 10px;
    font-weight: 700;
}

.i3hf-empty {
    padding: 10px;
    color: #777;
    font-size: 12px;
}

.i3hf-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.i3hf-icon-btn {
    position: relative;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #111325 !important;
    background: transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: .16s ease;
}

.i3hf-icon-btn:hover {
    color: var(--i3hf-violet) !important;
    background: #f7f3ff;
}

.i3hf-icon-btn svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.i3hf-cart-count {
    position: absolute;
    top: 0;
    right: -1px;
    display: grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    padding: 0 5px;
    border-radius: 999px;
    color: #fff;
    background: var(--i3hf-violet);
    font-size: 9px;
    font-weight: 900;
}

.i3hf-mobile-toggle {
    display: none;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.i3hf-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: #111325;
}

.i3hf-mobile-panel {
    display: none;
}

.i3hf-search-overlay {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: start center;
    padding: 16vh 20px 20px;
    background: rgba(12,9,32,.78);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: .18s ease;
}

.i3hf-search-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.i3hf-search-overlay form {
    width: min(720px, 100%);
    padding: 26px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(0,0,0,.25);
}

.i3hf-search-overlay label {
    display: block;
    margin-bottom: 12px;
    color: var(--i3hf-ink);
    font-size: 22px;
    font-weight: 850;
}

.i3hf-search-overlay form > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.i3hf-search-overlay input[type="search"] {
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    border: 1px solid #ddd9e7;
    border-radius: 11px;
    font: inherit;
}

.i3hf-search-overlay button[type="submit"] {
    min-width: 110px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(90deg, #8520ed, #5234e9);
    font-weight: 850;
    cursor: pointer;
}

.i3hf-search-close {
    position: absolute;
    top: 28px;
    right: 32px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.13);
    cursor: pointer;
    font-size: 28px;
}

.i3hf-footer-placeholder {
    padding: 30px;
    color: #fff;
    background: #11152a;
    text-align: center;
}

@media (max-width: 1100px) {
    .i3hf-header-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        min-height: 68px;
    }

    .i3hf-nav {
        gap: 16px;
    }

    .i3hf-nav > a,
    .i3hf-nav-drop-trigger {
        font-size: 12px;
    }

    .i3hf-logo-wrap {
        width: min(var(--i3hf-logo-width, 176px), 150px);
    }
}

@media (max-width: 900px) {
    .i3hf-topbar-inner {
        grid-template-columns: 1fr;
        min-height: 27px;
        text-align: center;
    }

    .i3hf-topbar-inner span:nth-child(2),
    .i3hf-topbar-inner span:nth-child(3) {
        display: none;
    }

    .i3hf-header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        width: calc(100% - 24px);
        min-height: 62px;
        gap: 12px;
    }

    .i3hf-nav {
        display: none;
    }

    .i3hf-actions {
        grid-column: 2;
    }

    .i3hf-mobile-toggle {
        display: block;
    }

    .i3hf-logo-wrap {
        width: min(var(--i3hf-logo-width, 176px), 150px);
    }

    .i3hf-mobile-panel {
        position: fixed;
        z-index: 99998;
        top: 0;
        right: 0;
        bottom: 0;
        display: block;
        width: min(360px, 88vw);
        padding: 90px 20px 30px;
        background: #fff;
        box-shadow: -20px 0 60px rgba(23,20,73,.16);
        overflow-y: auto;
        opacity: 0;
        pointer-events: none;
        transform: translateX(100%);
        transition: .22s ease;
    }

    .i3hf-mobile-panel.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }

    .i3hf-mobile-panel nav {
        display: grid;
        gap: 4px;
    }

    .i3hf-mobile-panel nav > a,
    .i3hf-mobile-categories {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 46px;
        padding: 10px 12px;
        border: 0;
        border-radius: 10px;
        color: #171449 !important;
        background: transparent;
        font-size: 14px;
        font-weight: 850;
        text-decoration: none !important;
    }

    .i3hf-mobile-panel nav > a:hover,
    .i3hf-mobile-categories:hover {
        color: var(--i3hf-violet) !important;
        background: #f7f3ff;
    }

    .i3hf-mobile-category-list {
        display: none;
        padding: 4px 0 8px 12px;
    }

    .i3hf-mobile-category-list.is-open {
        display: grid;
    }

    .i3hf-mobile-category-list a {
        padding: 8px 11px;
        color: #5f5c6f !important;
        font-size: 12px;
        text-decoration: none !important;
    }
}

@media (max-width: 520px) {
    .i3hf-actions .i3hf-icon-btn:nth-child(1) {
        display: none;
    }

    .i3hf-header-inner {
        min-height: 58px;
    }

    .i3hf-logo-wrap {
        width: min(var(--i3hf-logo-width, 176px), 132px);
    }

    .i3hf-brand-text {
        font-size: 21px;
    }
}


/* ======================================================
   FOOTER v1.1
   ====================================================== */

body.i3hf-footer-active footer.ct-footer,
body.i3hf-footer-active #footer,
body.i3hf-footer-active .site-footer {
    display: none !important;
}

.i3hf-footer {
    position: relative;
    z-index: 50;
    width: 100%;
    color: #fff;
    background:
        radial-gradient(circle at 85% 0, rgba(109,40,217,.15), transparent 30%),
        #111528;
}

.i3hf-footer-inner {
    width: min(calc(100% - 40px), 1440px);
    margin: 0 auto;
    padding: 48px 0 20px;
}

.i3hf-footer-main {
    display: grid;
    grid-template-columns:
        minmax(230px, 1.25fr)
        minmax(130px, .7fr)
        minmax(150px, .8fr)
        minmax(160px, .8fr)
        minmax(245px, 1fr);
    gap: clamp(26px, 3.5vw, 64px);
    align-items: start;
}

.i3hf-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    text-decoration: none !important;
}

.i3hf-footer-brand .custom-logo-link {
    display: block;
    line-height: 0;
}

.i3hf-footer-brand .custom-logo {
    width: 165px !important;
    max-width: 165px !important;
    height: auto !important;
}

.i3hf-footer-brand-mark {
    color: #8d43ff;
    font-size: 24px;
}

.i3hf-footer-brand strong {
    font-size: 22px;
    letter-spacing: -.035em;
}

.i3hf-footer-brand strong span {
    color: #8d43ff;
}

.i3hf-footer-brand-col > p {
    max-width: 280px;
    margin: 16px 0;
    color: rgba(255,255,255,.66);
    font-size: 12px;
    line-height: 1.65;
}

.i3hf-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.i3hf-socials a {
    display: grid;
    min-width: 32px;
    height: 32px;
    place-items: center;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    color: #fff !important;
    background: rgba(255,255,255,.05);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none !important;
    transition: .16s ease;
}

.i3hf-socials a:hover {
    border-color: rgba(139,68,255,.65);
    background: rgba(124,32,255,.22);
}

.i3hf-footer-col,
.i3hf-footer-newsletter {
    display: grid;
    align-content: start;
    gap: 9px;
}

.i3hf-footer h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
}

.i3hf-footer-col a {
    width: fit-content;
    color: rgba(255,255,255,.65) !important;
    font-size: 11px;
    text-decoration: none !important;
    transition: .15s ease;
}

.i3hf-footer-col a:hover {
    color: #a76aff !important;
}

.i3hf-footer-newsletter > p {
    max-width: 280px;
    margin: 0 0 6px;
    color: rgba(255,255,255,.62);
    font-size: 11px;
    line-height: 1.5;
}

.i3hf-newsletter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 0;
    overflow: hidden;
    margin-top: 6px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: #fff;
}

.i3hf-newsletter-form input {
    min-width: 0;
    min-height: 42px;
    padding: 8px 12px;
    border: 0 !important;
    outline: none;
    color: #171449;
    background: #fff;
    font: inherit;
    font-size: 11px;
}

.i3hf-newsletter-form button {
    border: 4px solid #fff;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, #8c22ef, #5a35eb);
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
}

.i3hf-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 36px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.i3hf-footer-bottom > p {
    margin: 0;
    color: rgba(255,255,255,.45);
    font-size: 10px;
}

.i3hf-payment-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.i3hf-payment-badges span {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    padding: 3px 7px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 5px;
    color: rgba(255,255,255,.78);
    background: rgba(255,255,255,.055);
    font-size: 8px;
    font-weight: 850;
}

@media (max-width: 1050px) {
    .i3hf-footer-main {
        grid-template-columns: 1.2fr repeat(3, .75fr);
    }

    .i3hf-footer-newsletter {
        grid-column: 1 / -1;
        margin-top: 8px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .i3hf-newsletter-form {
        max-width: 440px;
    }
}

@media (max-width: 700px) {
    .i3hf-footer-inner {
        width: calc(100% - 28px);
        padding-top: 34px;
    }

    .i3hf-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .i3hf-footer-brand-col,
    .i3hf-footer-newsletter {
        grid-column: 1 / -1;
    }

    .i3hf-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .i3hf-payment-badges {
        justify-content: flex-start;
    }
}

@media (max-width: 430px) {
    .i3hf-footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .i3hf-footer-col h3 {
        font-size: 12px;
    }

    .i3hf-footer-col a {
        font-size: 10px;
    }
}


/* v1.2 polish */
.i3hf-cart-count-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.i3hf-socials a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.i3hf-newsletter-hint {
    display: block;
    margin-top: 6px;
    color: rgba(255,255,255,.38);
    font-size: 9px;
}

.i3hf-newsletter-form.is-demo {
    opacity: .78;
}

.i3hf-payment-badges span {
    position: relative;
    overflow: hidden;
    letter-spacing: -.01em;
}

.i3hf-payment-badges .paypal {
    font-style: italic;
    font-weight: 900;
}

.i3hf-payment-badges .visa {
    font-style: italic;
    letter-spacing: -.08em;
}

.i3hf-payment-badges .mastercard {
    gap: 3px;
}

.i3hf-payment-badges .mastercard i {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: -5px;
    border-radius: 50%;
    background: currentColor;
    opacity: .72;
}

.i3hf-payment-badges .mastercard i + i {
    opacity: .42;
}

.i3hf-payment-badges .amex,
.i3hf-payment-badges .applepay,
.i3hf-payment-badges .gpay {
    font-weight: 900;
}


/* ======================================================
   HEADER v1.3 - COMPACT / CLEAN
   ====================================================== */

.i3hf-topbar {
    min-height: 22px !important;
}

.i3hf-topbar-inner {
    display: flex !important;
    justify-content: center !important;
    width: min(calc(100% - 24px), 1400px) !important;
    min-height: 22px !important;
    gap: 0 !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    letter-spacing: .01em;
}

.i3hf-topbar-inner span:first-child,
.i3hf-topbar-inner span:last-child {
    display: none !important;
}

.i3hf-topbar-inner span:nth-child(2) {
    text-align: center !important;
    white-space: nowrap;
}

.i3hf-header {
    border-bottom: 1px solid rgba(23,20,73,.07) !important;
    box-shadow: 0 3px 14px rgba(23,20,73,.025);
}

.i3hf-header-inner {
    grid-template-columns: 150px minmax(0, 1fr) auto !important;
    gap: 24px !important;
    width: min(calc(100% - 34px), 1400px) !important;
    min-height: 56px !important;
}

.i3hf-logo-wrap {
    width: min(var(--i3hf-logo-width, 138px), 138px) !important;
}

.i3hf-logo-wrap img {
    max-height: 42px !important;
    object-fit: contain !important;
}

.i3hf-brand-text {
    font-size: 20px !important;
}

.i3hf-brand-mark {
    font-size: 22px !important;
}

.i3hf-nav {
    justify-content: center !important;
    gap: clamp(14px, 1.7vw, 26px) !important;
}

.i3hf-nav > a,
.i3hf-nav-drop-trigger {
    padding: 19px 0 !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
}

.i3hf-nav > a::after,
.i3hf-nav-drop-trigger::after {
    bottom: 12px !important;
    height: 2px !important;
}

.i3hf-actions {
    gap: 3px !important;
}

.i3hf-icon-btn {
    width: 34px !important;
    height: 34px !important;
}

.i3hf-icon-btn svg {
    width: 18px !important;
    height: 18px !important;
}

.i3hf-cart-count {
    top: 0 !important;
    right: 0 !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    font-size: 8px !important;
}

.i3hf-category-menu {
    top: calc(100% - 4px) !important;
    width: 270px !important;
    padding: 8px !important;
    border-radius: 12px !important;
}

.i3hf-category-menu a {
    padding: 8px 10px !important;
    font-size: 11px !important;
}

@media (max-width: 1100px) {
    .i3hf-header-inner {
        grid-template-columns: 132px minmax(0, 1fr) auto !important;
        gap: 16px !important;
        min-height: 54px !important;
    }

    .i3hf-logo-wrap {
        width: 126px !important;
    }

    .i3hf-nav {
        gap: 13px !important;
    }

    .i3hf-nav > a,
    .i3hf-nav-drop-trigger {
        font-size: 10.5px !important;
        padding: 18px 0 !important;
    }
}

@media (max-width: 900px) {
    .i3hf-topbar-inner {
        min-height: 20px !important;
        font-size: 9px !important;
    }

    .i3hf-header-inner {
        grid-template-columns: minmax(0, 1fr) auto !important;
        width: calc(100% - 18px) !important;
        min-height: 52px !important;
        gap: 8px !important;
    }

    .i3hf-logo-wrap {
        width: 122px !important;
    }

    .i3hf-logo-wrap img {
        max-height: 36px !important;
    }

    .i3hf-actions {
        gap: 1px !important;
    }

    .i3hf-icon-btn {
        width: 32px !important;
        height: 32px !important;
    }

    .i3hf-icon-btn svg {
        width: 17px !important;
        height: 17px !important;
    }

    .i3hf-mobile-toggle {
        width: 34px !important;
        height: 34px !important;
        padding: 6px !important;
        border-radius: 8px !important;
    }

    .i3hf-mobile-toggle span {
        width: 20px !important;
        margin: 2.5px 0 !important;
    }

    .i3hf-mobile-panel {
        width: min(330px, 86vw) !important;
        padding: 72px 16px 24px !important;
    }
}

@media (max-width: 520px) {
    .i3hf-topbar {
        min-height: 20px !important;
    }

    .i3hf-header-inner {
        min-height: 50px !important;
    }

    .i3hf-logo-wrap {
        width: 116px !important;
    }

    .i3hf-logo-wrap img {
        max-height: 34px !important;
    }

    /* Su smartphone manteniamo solo carrello + hamburger */
    .i3hf-actions .i3hf-icon-btn:not(.i3hf-cart-btn) {
        display: none !important;
    }
}


/* ======================================================
   v1.4 NAVIGATION REDESIGN
   ====================================================== */

.i3hf-v14 .i3hf-header-inner {
    grid-template-columns: 148px minmax(0,1fr) auto !important;
    min-height: 58px !important;
    gap: 20px !important;
}

.i3hf-v14 .i3hf-nav-v14 {
    gap: 6px !important;
}

.i3hf-v14 .i3hf-nav-v14 > a,
.i3hf-v14 .i3hf-nav-v14 .i3hf-nav-drop-trigger {
    min-height: 38px;
    padding: 0 11px !important;
    border-radius: 10px;
    color: #24233a !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.i3hf-v14 .i3hf-nav-v14 > a::after,
.i3hf-v14 .i3hf-nav-v14 .i3hf-nav-drop-trigger::after {
    display: none !important;
}

.i3hf-v14 .i3hf-nav-v14 > a:hover,
.i3hf-v14 .i3hf-nav-v14 .i3hf-nav-drop-trigger:hover,
.i3hf-v14 .i3hf-nav-v14 > a.is-current,
.i3hf-v14 .i3hf-nav-dropdown.is-current-parent .i3hf-nav-drop-trigger,
.i3hf-v14 .i3hf-nav-dropdown.is-open .i3hf-nav-drop-trigger {
    color: #6d28d9 !important;
    background: #f6f1ff;
}

.i3hf-v14 .i3hf-nav-v14 .i3hf-nav-cta {
    padding-inline: 14px !important;
    color: #fff !important;
    background: linear-gradient(135deg,#7c20ff,#5a35e9) !important;
    box-shadow: 0 6px 16px rgba(109,40,217,.18);
}

.i3hf-v14 .i3hf-nav-v14 .i3hf-nav-cta:hover,
.i3hf-v14 .i3hf-nav-v14 .i3hf-nav-cta.is-current {
    color: #fff !important;
    background: linear-gradient(135deg,#8b2dff,#6841f0) !important;
}

.i3hf-v14 .i3hf-nav-drop-trigger svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform .16s ease;
}

.i3hf-v14 .i3hf-nav-dropdown.is-open .i3hf-nav-drop-trigger svg {
    transform: rotate(180deg);
}

/* Mega menu */
.i3hf-v14 .i3hf-category-mega {
    top: calc(100% + 8px) !important;
    left: 50% !important;
    width: min(720px, 74vw) !important;
    padding: 16px !important;
    border: 1px solid #e9e5f0 !important;
    border-radius: 18px !important;
    box-shadow: 0 22px 70px rgba(30,21,65,.14) !important;
    transform: translate(-50%, 10px) !important;
}

.i3hf-v14 .i3hf-nav-dropdown:hover .i3hf-category-mega,
.i3hf-v14 .i3hf-nav-dropdown.is-open .i3hf-category-mega {
    transform: translate(-50%, 0) !important;
}

.i3hf-v14 .i3hf-category-menu-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 2px 4px 14px;
    border-bottom: 1px solid #eeeaf4;
}

.i3hf-v14 .i3hf-category-menu-head > div {
    display: grid;
    gap: 2px;
}

.i3hf-v14 .i3hf-category-menu-head strong {
    color: #171449;
    font-size: 13px;
}

.i3hf-v14 .i3hf-category-menu-head span {
    color: #8a8796;
    font-size: 10px;
}

.i3hf-v14 .i3hf-category-menu-head > a {
    padding: 0 !important;
    color: #6d28d9 !important;
    background: transparent !important;
    font-size: 10px !important;
    font-weight: 850 !important;
}

.i3hf-v14 .i3hf-category-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 8px;
    padding-top: 12px;
}

.i3hf-v14 .i3hf-category-grid > a {
    display: grid !important;
    grid-template-columns: 34px minmax(0,1fr);
    align-items: center !important;
    justify-content: initial !important;
    gap: 9px !important;
    min-width: 0;
    padding: 9px !important;
    border: 1px solid transparent;
    border-radius: 11px !important;
}

.i3hf-v14 .i3hf-category-grid > a:hover {
    border-color: #e7dcfb;
    background: #faf7ff !important;
}

.i3hf-v14 .i3hf-category-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 9px;
    color: #6d28d9;
    background: #f2ebff;
}

.i3hf-v14 .i3hf-category-icon svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.i3hf-v14 .i3hf-category-copy {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.i3hf-v14 .i3hf-category-copy strong {
    overflow: hidden;
    color: #27253b;
    font-size: 10.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.i3hf-v14 .i3hf-category-copy small {
    color: #9994a4;
    font-size: 8.5px;
}

/* Search */
.i3hf-v14 .i3hf-search-overlay {
    padding-top: 13vh !important;
    background: rgba(15,10,35,.72) !important;
}

.i3hf-v14 .i3hf-search-overlay form {
    width: min(660px, 100%) !important;
    padding: 24px !important;
    border-radius: 18px !important;
}

.i3hf-v14 .i3hf-search-overlay label {
    margin-bottom: 3px !important;
    font-size: 19px !important;
}

.i3hf-v14 .i3hf-search-overlay form > p {
    margin: 0 0 15px;
    color: #7d798d;
    font-size: 11px;
}

/* Mobile drawer */
.i3hf-mobile-backdrop {
    position: fixed;
    z-index: 99996;
    inset: 0;
    background: rgba(15,10,35,.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.i3hf-mobile-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.i3hf-v14 .i3hf-mobile-panel {
    z-index: 99999 !important;
    width: min(340px, 90vw) !important;
    padding: 0 !important;
    background: #fff !important;
}

.i3hf-v14 .i3hf-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    padding: 0 18px;
    border-bottom: 1px solid #ece9f2;
}

.i3hf-v14 .i3hf-mobile-head strong {
    color: #171449;
    font-size: 15px;
}

.i3hf-v14 .i3hf-mobile-head button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    color: #312e48;
    background: #f5f3f9;
    cursor: pointer;
    font-size: 22px;
}

.i3hf-v14 .i3hf-mobile-search {
    display: flex;
    width: calc(100% - 28px);
    min-height: 42px;
    align-items: center;
    gap: 9px;
    margin: 14px;
    padding: 0 12px;
    border: 1px solid #e6e2eb;
    border-radius: 11px;
    color: #646073;
    background: #faf9fc;
    cursor: pointer;
    font-size: 12px;
    font-weight: 750;
}

.i3hf-v14 .i3hf-mobile-search svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.i3hf-v14 .i3hf-mobile-panel nav {
    display: grid !important;
    gap: 4px !important;
    padding: 2px 14px 16px;
}

.i3hf-v14 .i3hf-mobile-panel nav > a,
.i3hf-v14 .i3hf-mobile-categories {
    min-height: 44px !important;
    padding: 0 12px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
}

.i3hf-v14 .i3hf-mobile-panel nav > a.is-current,
.i3hf-v14 .i3hf-mobile-panel nav > a:hover,
.i3hf-v14 .i3hf-mobile-categories:hover,
.i3hf-v14 .i3hf-mobile-categories.is-open {
    color: #6d28d9 !important;
    background: #f6f1ff !important;
}

.i3hf-v14 .i3hf-mobile-special {
    color: #fff !important;
    background: linear-gradient(135deg,#7c20ff,#5a35e9) !important;
}

.i3hf-v14 .i3hf-mobile-special:hover,
.i3hf-v14 .i3hf-mobile-special.is-current {
    color: #fff !important;
    background: linear-gradient(135deg,#8a2cff,#6742ef) !important;
}

.i3hf-v14 .i3hf-mobile-category-list {
    padding: 4px 6px 8px 16px !important;
}

.i3hf-v14 .i3hf-mobile-category-list a {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 10px !important;
    border-radius: 8px;
    color: #5d596b !important;
    font-size: 10.5px !important;
}

.i3hf-v14 .i3hf-mobile-category-list a:hover {
    color: #6d28d9 !important;
    background: #faf7ff;
}

.i3hf-v14 .i3hf-mobile-category-list small {
    color: #aaa5b2;
    font-size: 8.5px;
}

.i3hf-v14 .i3hf-mobile-footer-links {
    display: flex;
    gap: 8px;
    margin: 0 14px;
    padding: 14px 0 20px;
    border-top: 1px solid #ece9f2;
}

.i3hf-v14 .i3hf-mobile-footer-links a {
    flex: 1;
    padding: 9px;
    border: 1px solid #e6e2eb;
    border-radius: 9px;
    color: #3e3a4c !important;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-decoration: none !important;
}

/* Tablet: switch earlier to mobile menu instead of crushing desktop nav */
@media (max-width: 1050px) {
    .i3hf-v14 .i3hf-nav {
        display: none !important;
    }

    .i3hf-v14 .i3hf-header-inner {
        grid-template-columns: minmax(0,1fr) auto !important;
    }

    .i3hf-v14 .i3hf-mobile-toggle {
        display: block !important;
    }
}

@media (max-width: 520px) {
    .i3hf-v14 .i3hf-header-inner {
        min-height: 52px !important;
    }

    .i3hf-v14 .i3hf-logo-wrap {
        width: 116px !important;
    }
}


/* ======================================================
   v1.5 REAL HEADER STRUCTURAL FIX
   Based on actual site screenshot: one row, no giant whitespace
   ====================================================== */

/* Topbar: truly compact */
.i3hf-root.i3hf-v14 .i3hf-topbar {
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    overflow: hidden !important;
}

.i3hf-root.i3hf-v14 .i3hf-topbar-inner {
    display: flex !important;
    width: min(calc(100% - 24px), 1400px) !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    line-height: 20px !important;
    font-size: 9px !important;
}

/* Header itself: fixed compact single row */
.i3hf-root.i3hf-v14 .i3hf-header {
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    overflow: visible !important;
}

.i3hf-root.i3hf-v14 .i3hf-header-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: min(calc(100% - 30px), 1400px) !important;
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Brand block: never allowed to stretch the header */
.i3hf-root.i3hf-v14 .i3hf-brand {
    display: flex !important;
    flex: 0 0 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 50px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hard reset against Blocksy/custom-logo inline sizing */
.i3hf-root.i3hf-v14 .i3hf-logo-hard,
.i3hf-root.i3hf-v14 .i3hf-logo-hard .custom-logo-link,
.i3hf-root.i3hf-v14 .i3hf-logo-hard img.custom-logo,
.i3hf-root.i3hf-v14 .i3hf-brand .custom-logo-link,
.i3hf-root.i3hf-v14 .i3hf-brand img.custom-logo {
    display: block !important;
    width: 145px !important;
    min-width: 0 !important;
    max-width: 145px !important;
    height: 44px !important;
    min-height: 0 !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: left center !important;
}

.i3hf-root.i3hf-v14 .i3hf-logo-hard .custom-logo-link,
.i3hf-root.i3hf-v14 .i3hf-brand .custom-logo-link {
    line-height: 0 !important;
}

/* Navigation owns middle area but cannot wrap */
.i3hf-root.i3hf-v14 .i3hf-nav-v14 {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 62px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}

.i3hf-root.i3hf-v14 .i3hf-nav-v14 > a,
.i3hf-root.i3hf-v14 .i3hf-nav-v14 .i3hf-nav-drop-trigger {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    min-height: 34px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
    margin: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    font-size: 11px !important;
}

/* Actions: fixed right block, never pushed to a second row */
.i3hf-root.i3hf-v14 .i3hf-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: 62px !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.i3hf-root.i3hf-v14 .i3hf-icon-btn {
    display: grid !important;
    flex: 0 0 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    place-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any theme/legacy spacing affecting our header */
body.i3hf-header-active .i3hf-root,
body.i3hf-header-active .i3hf-root .i3hf-header,
body.i3hf-header-active .i3hf-root .i3hf-header-inner {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Admin bar safe positioning - no artificial blank area */
body.admin-bar .i3hf-root {
    margin-top: 0 !important;
}

/* Desktop thresholds: switch to mobile before anything can wrap */
@media (max-width: 1120px) {
    .i3hf-root.i3hf-v14 .i3hf-nav-v14 {
        display: none !important;
    }

    .i3hf-root.i3hf-v14 .i3hf-header-row {
        justify-content: space-between !important;
    }

    .i3hf-root.i3hf-v14 .i3hf-mobile-toggle {
        display: block !important;
        flex: 0 0 34px !important;
    }
}

@media (max-width: 900px) {
    .i3hf-root.i3hf-v14 .i3hf-header,
    .i3hf-root.i3hf-v14 .i3hf-header-row {
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
    }

    .i3hf-root.i3hf-v14 .i3hf-brand {
        flex-basis: 126px !important;
        width: 126px !important;
        min-width: 126px !important;
        max-width: 126px !important;
        height: 46px !important;
    }

    .i3hf-root.i3hf-v14 .i3hf-logo-hard,
    .i3hf-root.i3hf-v14 .i3hf-logo-hard .custom-logo-link,
    .i3hf-root.i3hf-v14 .i3hf-logo-hard img.custom-logo,
    .i3hf-root.i3hf-v14 .i3hf-brand .custom-logo-link,
    .i3hf-root.i3hf-v14 .i3hf-brand img.custom-logo {
        width: 122px !important;
        max-width: 122px !important;
        height: 38px !important;
        max-height: 38px !important;
    }

    .i3hf-root.i3hf-v14 .i3hf-actions {
        height: 56px !important;
    }
}

@media (max-width: 520px) {
    .i3hf-root.i3hf-v14 .i3hf-topbar {
        height: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
    }

    .i3hf-root.i3hf-v14 .i3hf-topbar-inner {
        height: 18px !important;
        min-height: 18px !important;
        max-height: 18px !important;
        line-height: 18px !important;
        font-size: 8.5px !important;
    }

    .i3hf-root.i3hf-v14 .i3hf-header,
    .i3hf-root.i3hf-v14 .i3hf-header-row {
        height: 52px !important;
        min-height: 52px !important;
        max-height: 52px !important;
    }

    .i3hf-root.i3hf-v14 .i3hf-header-row {
        width: calc(100% - 16px) !important;
    }

    .i3hf-root.i3hf-v14 .i3hf-brand {
        flex-basis: 116px !important;
        width: 116px !important;
        min-width: 116px !important;
        max-width: 116px !important;
    }

    .i3hf-root.i3hf-v14 .i3hf-logo-hard,
    .i3hf-root.i3hf-v14 .i3hf-logo-hard .custom-logo-link,
    .i3hf-root.i3hf-v14 .i3hf-logo-hard img.custom-logo,
    .i3hf-root.i3hf-v14 .i3hf-brand .custom-logo-link,
    .i3hf-root.i3hf-v14 .i3hf-brand img.custom-logo {
        width: 112px !important;
        max-width: 112px !important;
        height: 34px !important;
        max-height: 34px !important;
    }

    .i3hf-root.i3hf-v14 .i3hf-actions {
        height: 52px !important;
    }
}


/* IDEA3D25 Header & Footer v2.3
 * Footer logo compact — header logo intentionally unchanged.
 */
.i3hf-footer .i3hf-footer-logo img,
.i3hf-footer img.i3hf-footer-logo,
.i3hf-footer .footer-logo img,
.i3hf-footer .site-logo img,
footer.i3hf-footer img[alt*="IDEA3D25" i],
footer.i3hf-footer img[alt*="idea3d25" i] {
    width: 120px !important;
    max-width: 120px !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}

@media (max-width: 767px) {
    .i3hf-footer .i3hf-footer-logo img,
    .i3hf-footer img.i3hf-footer-logo,
    .i3hf-footer .footer-logo img,
    .i3hf-footer .site-logo img,
    footer.i3hf-footer img[alt*="IDEA3D25" i],
    footer.i3hf-footer img[alt*="idea3d25" i] {
        width: 95px !important;
        max-width: 95px !important;
    }
}

.i3hf-footer .i3hf-footer-logo-img {
    width: 120px !important;
    max-width: 120px !important;
    height: auto !important;
}
@media (max-width: 767px) {
    .i3hf-footer .i3hf-footer-logo-img {
        width: 95px !important;
        max-width: 95px !important;
    }
}


/* =========================================================
   v3.1.0 — IDEA3D25 GLOBAL BUTTON MOTION SYSTEM
   Micro-animazioni coerenti su tutto il sito
   ========================================================= */

:root{
    --i3-btn-ease:cubic-bezier(.22,.61,.36,1);
    --i3-btn-fast:.16s;
    --i3-btn-mid:.22s;
    --i3-btn-purple:#6d28d9;
    --i3-btn-purple-2:#8b5cf6;
}

/* Base globale: pulsanti tema, WooCommerce e plugin IDEA3D25 */
body :where(
    button,
    .button,
    a.button,
    input[type="submit"],
    input[type="button"],
    input[type="reset"],
    .wp-element-button,
    .wp-block-button__link,
    .wc-block-components-button,
    .single_add_to_cart_button,
    .checkout-button,
    #place_order,
    [class*="i3h2-"][class*="btn"],
    [class*="i3p3-"][class*="btn"],
    [class*="i3c-"][class*="btn"],
    [class*="i3sv2-"][class*="btn"],
    [class*="i3v3-"][class*="btn"]
){
    position:relative;
    transition:
        transform var(--i3-btn-fast) var(--i3-btn-ease),
        box-shadow var(--i3-btn-mid) var(--i3-btn-ease),
        border-color var(--i3-btn-fast) ease,
        background-color var(--i3-btn-fast) ease,
        color var(--i3-btn-fast) ease,
        filter var(--i3-btn-fast) ease !important;
    will-change:transform;
    -webkit-tap-highlight-color:transparent;
}

/* Hover standard: leggero lift */
@media (hover:hover){
    body :where(
        .button,
        a.button,
        button:not(:disabled),
        .wp-element-button,
        .wp-block-button__link,
        .wc-block-components-button,
        .single_add_to_cart_button,
        .checkout-button,
        #place_order,
        [class*="i3h2-"][class*="btn"],
        [class*="i3p3-"][class*="btn"],
        [class*="i3c-"][class*="btn"],
        [class*="i3sv2-"][class*="btn"],
        [class*="i3v3-"][class*="btn"]
    ):hover{
        transform:translateY(-2px) scale(1.012);
        filter:saturate(1.04);
    }
}

/* Press feedback: più rapido e fisico */
body :where(
    button,
    .button,
    a.button,
    .wp-element-button,
    .wp-block-button__link,
    .wc-block-components-button,
    .single_add_to_cart_button,
    .checkout-button,
    #place_order
):active{
    transform:translateY(0) scale(.975) !important;
    transition-duration:.08s !important;
}

/* Focus tastiera coerente */
body :where(
    button,
    .button,
    a.button,
    input[type="submit"],
    input[type="button"],
    .wp-element-button,
    .wp-block-button__link,
    .wc-block-components-button,
    .single_add_to_cart_button,
    .checkout-button,
    #place_order
):focus-visible{
    outline:3px solid rgba(139,92,246,.22) !important;
    outline-offset:3px !important;
}

/* Pulsanti principali viola: glow progressivo */
@media (hover:hover){
    body :where(
        .single_add_to_cart_button,
        .checkout-button,
        #place_order,
        .i3h2-mini-checkout-btn,
        .i3h2-cats-all,
        .i3p3-buy-card .button,
        .i3p3-personalize-toggle,
        .i3c-checkout-btn
    ):hover{
        box-shadow:0 12px 28px rgba(109,40,217,.24) !important;
    }
}

/* Freccia/icone interne: leggero movimento */
body :where(
    .button,
    a.button,
    button,
    .wp-element-button,
    .wc-block-components-button
) :where(
    svg,
    .dashicons,
    [aria-hidden="true"]
){
    transition:
        transform var(--i3-btn-fast) var(--i3-btn-ease),
        opacity var(--i3-btn-fast) ease !important;
}

@media (hover:hover){
    body :where(
        .button,
        a.button,
        button,
        .wp-element-button,
        .wc-block-components-button
    ):hover > :where(svg,.dashicons){
        transform:translateX(1px);
    }
}

/* Scheda prodotto — aggiungi al carrello */
body .single_add_to_cart_button{
    overflow:hidden;
    isolation:isolate;
}

body .single_add_to_cart_button::after{
    content:"";
    position:absolute;
    top:-40%;
    left:-65%;
    z-index:-1;
    width:38%;
    height:180%;
    opacity:0;
    transform:skewX(-20deg);
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.28),
        transparent
    );
    transition:left .44s var(--i3-btn-ease),opacity .18s ease;
}

@media (hover:hover){
    body .single_add_to_cart_button:hover::after{
        left:125%;
        opacity:1;
    }
}

/* Personalizzazione prodotto */
body .i3p3-personalize-toggle .i3p3-personalize-action i{
    transition:
        transform .22s var(--i3-btn-ease),
        background .18s ease !important;
}

body .i3p3-personalize-choice.is-open
.i3p3-personalize-toggle
.i3p3-personalize-action i{
    transform:rotate(180deg);
}

/* Carrello quantità +/- */
body :where(
    [data-i3c-qty-control] button,
    .quantity button,
    .plus,
    .minus
){
    transition:
        transform .12s var(--i3-btn-ease),
        background .14s ease,
        color .14s ease !important;
}

body :where(
    [data-i3c-qty-control] button,
    .quantity button,
    .plus,
    .minus
):active{
    transform:scale(.88) !important;
}

/* Card categorie / prodotti: CTA senza esagerare */
@media (hover:hover){
    body :where(
        .woocommerce-loop-product__link,
        .i3p3-related a,
        .i3h2-cats-grid>a
    ):hover{
        transform:translateY(-2px);
    }
}

/* Loading WooCommerce: nessun rimbalzo */
body .button.loading,
body button.loading,
body .single_add_to_cart_button.loading,
body #place_order.processing{
    transform:none !important;
    pointer-events:none;
    opacity:.72;
}

/* Disabled */
body :where(
    button:disabled,
    .button.disabled,
    .button:disabled,
    input[type="submit"]:disabled
){
    transform:none !important;
    box-shadow:none !important;
    cursor:not-allowed !important;
}

/* Mobile: niente lift, solo feedback pressione */
@media (hover:none), (max-width:820px){
    body :where(
        button,
        .button,
        a.button,
        .wp-element-button,
        .wp-block-button__link,
        .wc-block-components-button,
        .single_add_to_cart_button,
        .checkout-button,
        #place_order
    ):hover{
        transform:none;
    }

    body :where(
        button,
        .button,
        a.button,
        .wp-element-button,
        .wp-block-button__link,
        .wc-block-components-button,
        .single_add_to_cart_button,
        .checkout-button,
        #place_order
    ):active{
        transform:scale(.965) !important;
    }
}

/* Accessibilità: rispetta riduzione movimento */
@media (prefers-reduced-motion:reduce){
    body *,
    body *::before,
    body *::after{
        scroll-behavior:auto !important;
        animation-duration:.001ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.001ms !important;
    }
}


/* v3.6.0 — Dropdown categorie pulito */
.i3h2-cats-menu{
    width:min(760px,calc(100vw - 40px)) !important;
    padding:14px !important;
    border:1px solid rgba(124,58,237,.14) !important;
    border-radius:20px !important;
    background:#fff !important;
    box-shadow:0 18px 48px rgba(15,23,42,.16) !important;
}
.i3h2-cats-head{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:16px !important;
    margin:0 0 12px !important;
    padding:0 2px 10px !important;
    border-bottom:1px solid #eeeaf4 !important;
    background:transparent !important;
}
.i3h2-cats-head>div{display:flex;flex-direction:column;gap:1px}
.i3h2-cats-head span{color:#7c3aed;font-size:.62rem;font-weight:900;letter-spacing:.1em}
.i3h2-cats-head strong{color:#111827;font-size:1rem}
.i3h2-cats-head>a{color:#6d28d9!important;font-size:.72rem;font-weight:800;text-decoration:none!important}
.i3h2-cats-grid-clean{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:8px !important;
    padding:0 !important;
}
.i3h2-cat-clean{
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    min-width:0 !important;
    padding:9px !important;
    border:1px solid transparent !important;
    border-radius:13px !important;
    background:#faf9fc !important;
    color:#111827!important;
    text-decoration:none!important;
    transition:background .18s ease,border-color .18s ease,transform .18s ease !important;
}
.i3h2-cat-clean:hover{
    transform:translateY(-1px) !important;
    border-color:rgba(124,58,237,.20)!important;
    background:#f6f1ff!important;
}
.i3h2-cat-thumb{
    display:grid;
    place-items:center;
    flex:0 0 38px;
    width:38px;
    height:38px;
    overflow:hidden;
    border-radius:10px;
    background:linear-gradient(135deg,#ede9fe,#dbeafe);
    color:#6d28d9;
    font-weight:900;
}
.i3h2-cat-thumb img{width:100%;height:100%;object-fit:cover}
.i3h2-cat-text{
    display:flex;
    flex:1;
    min-width:0;
    flex-direction:column;
    gap:2px;
}
.i3h2-cat-text strong{
    overflow:hidden;
    color:#111827!important;
    font-size:.78rem!important;
    line-height:1.15!important;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.i3h2-cat-text small{
    color:#94a3b8!important;
    font-size:.63rem!important;
}
.i3h2-cat-go{
    color:#8b5cf6;
    font-size:.82rem;
    font-weight:900;
}
.i3h2-cats-all-clean{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    margin:12px 0 0 !important;
    padding:11px 13px !important;
    border:0 !important;
    border-radius:13px !important;
    background:linear-gradient(135deg,#5b21b6,#2563eb)!important;
    color:#fff!important;
    text-decoration:none!important;
}
.i3h2-cats-all-clean>span:first-child{display:flex;flex-direction:column;gap:1px}
.i3h2-cats-all-clean small{color:#ddd6fe;font-size:.58rem}
.i3h2-cats-all-clean strong{color:#fff;font-size:.76rem}
@media(max-width:900px){
    .i3h2-cats-menu{width:100%!important;padding:10px!important}
    .i3h2-cats-grid-clean{grid-template-columns:repeat(2,minmax(0,1fr))!important}
    .i3h2-cats-head>a{display:none}
}
