/*
Theme Name: SupportHost V3
Author: SupportHost OU
Description: SupportHost is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. SupportHost comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0.0126
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: supporthost-theme
*/

/*
 * SupportHost Theme — Style Index
 * 
 *  Layout
 *  Header
 *  Navigation & Mega Menu
 *  Buttons
 *  Blog & Archive
 *  Footer
 *  Utilities
 *  Mobile
 *  404 Page
 *  Single post
 *  Search results
 *  Author page
 *  Forms
 *  Banner promo
 */










/* ==========================================
   Layout
   ========================================== */
body {
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}
.wp-site-blocks {
    overflow: clip;
}
.wp-block-post-content, .wp-block-template-part  {
    margin-block-start: 0;
}











/* ==========================================
   Header
   ========================================== */
.custom-logo-link img, .custom-logo {
    width: 180px;
}
.header-flag {
    line-height: 1;
}
.header-flag img {
    width: 25px;
}










/* ==========================================
   Navigation & Mega Menu
   ========================================== */

/* Hide checkboxes */
.sh-nav-toggle,
.sh-mega-check {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Hamburger hidden on desktop */
.sh-nav-hamburger {
    display: none;
}

/* Nav wrapper */
.sh-nav {
    position: relative;
}

/* Menu horizontal */
.sh-nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Nav item */
.sh-nav-item {
    position: relative;
    list-style: none;
}

/* Nav labels */
.sh-nav-label {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wp--preset--color--gray-text);
    cursor: pointer;
    text-decoration: none;
    transition: all .2s;
    border-radius: 8px;
    letter-spacing: -.2px;
    white-space: nowrap;
    margin: 0;
}
.sh-nav-label a {
    color: inherit;
    text-decoration: none;
}
.sh-nav-label:hover,
.sh-nav-item.open .sh-nav-label {
    color: var(--wp--preset--color--black);
    background: rgba(0,0,0,.03);
}
.sh-nav-label a:hover {
    color: var(--wp--preset--color--black);
}
.sh-nav-label svg {
    opacity: .35;
    transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.sh-nav-item.open .sh-nav-label svg {
    transform: rotate(180deg);
    opacity: 1;
}

/* Mega Panel */

.sh-mega-panel {
    position: absolute;
    top: auto;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--wp--preset--color--white);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.04);
    width: min(1200px, calc(100vw - 32px));
    min-width: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .35s cubic-bezier(.22,1,.36,1);
    overflow: hidden;
    padding: 0;
    margin-top: 0 !important;
}
.sh-nav-item.open > .sh-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

/* Mega columns */
.sh-mega-columns {
    padding: 24px 0;
    gap: 0 !important;
    margin: 0;
    width: max-content;
}
.sh-mega-columns > .wp-block-column {
    padding: 0 28px;
}
.sh-mega-columns > .wp-block-column + .wp-block-column {
    border-left: 1px solid rgba(0,0,0,.05);
}

/* Column titles */
.sh-mega-title {
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--wp--preset--color--gray-text) !important;
    margin-bottom: 14px !important;
    padding-left: 12px;
}

/* Menu items */
.sh-mega-link .wp-block-group-is-layout-constrained {
    position: static !important;
}
.sh-mega-link {
    padding: 10px 12px !important;
    border-radius: 12px;
    transition: all .2s;
    cursor: pointer;
    gap: 12px !important;
    text-decoration: none;
    position: relative !important;
}
.sh-mega-link:hover {
    background: rgba(45,199,153,.04);
}
.sh-mega-link .sh-mega-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1.5px solid rgba(0,0,0,.06);
    background: var(--wp--preset--color--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .25s;
    font-size: 18px;
    line-height: 1;
    margin: 0;
}
.sh-mega-icon.icon-thin svg {
    filter: drop-shadow(0 0 0.4px currentColor);
}
.sh-mega-link:hover .sh-mega-icon {
    border-color: rgba(45,199,153,.15);
    box-shadow: 0 2px 8px rgba(45,199,153,.08);
}

.sh-mega-link-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--wp--preset--color--black);
    margin: 0;
    letter-spacing: -.2px;
    line-height: 1.3;
}
.sh-mega-link-title a {
    color: inherit;
    text-decoration: none;
}
p.sh-mega-link-title a::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
}
.sh-mega-link:hover .sh-mega-link-title,
.sh-mega-link:hover .sh-mega-link-title a {
    color: var(--wp--preset--color--green-dark);
}

.sh-mega-link-desc {
    color: var(--wp--preset--color--gray-text);
    margin: 1px 0 0 0;
    line-height: 1.4;
    font-size: 12px !important;
}

/* Reset inner group spacing */
.sh-mega-link .wp-block-group {
    gap: 0;
}

/* Overlay */
.sh-mega-overlay {
    position: fixed;
    inset: 0;
    top: 68px;
    background: rgba(0, 0, 0, .6);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 998;
    overflow: hidden;
}
.admin-bar .sh-mega-overlay {
    top: 100px;
}
.sh-mega-overlay.show {
    opacity: 1;
    visibility: visible;
}










/* ==========================================
   Buttons
   ========================================== */
.wp-block-button__link {
    /* transition: background-color .35s cubic-bezier(.22,1,.36,1), color .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s cubic-bezier(.22,1,.36,1); */
    transition: all .35s ease;
    cursor: pointer;
}
.hover-lift .wp-block-button__link:hover, .hover-lift:hover {
    transform: translateY(-2px);
}
.hover-scale .wp-block-button__link:hover, .hover-scale:hover {
    transform: scale(1.03);
}
.hover-scale-lift .wp-block-button__link:hover, .hover-scale-lift:hover {
    transform: translateY(-2px) scale(1.03);
}
.hover-shadow .wp-block-button__link:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.hover-green .wp-block-button__link:hover {
    border-color: var(--wp--preset--color--green-dark);
    color: var(--wp--preset--color--green-dark);
}
.hover-fill .wp-block-button__link:hover {
    background: var(--wp--preset--color--black);
    color: var(--wp--preset--color--white);
}
.btn-lg .wp-block-button__link {
    padding: 18px 40px;
    font-size: 16px;
}
.btn-full {
    width: 100%;
    justify-content: center;
}
.btn-shimmer .wp-block-button__link {
    position: relative;
    overflow: hidden;
}
.btn-shimmer .wp-block-button__link::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
    animation: shimmer 3s ease-in-out infinite;
    left: -100%;
}
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}










/* ==========================================
   Blog & Archive
   ========================================== */

/* Blog layout: main + sidebar */
.sh-blog-layout, .sh-post-layout-inner {
    align-items: stretch;
}
.sh-blog-main {
    flex: 1;
    min-width: 0;
}
.sh-sidebar {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sh-blog-hero .wp-block-search__input {
    color: var(--wp--preset--color--black);;
}
.sh-blog-hero .wp-block-search__inside-wrapper {
    border-color: rgba(255,255,255,.15);
    background: rgba(255,255,255,.08);
}
.sh-blog-hero .wp-block-search__inside-wrapper:focus-within {
    border-color: var(--wp--preset--color--green);
    box-shadow: 0 0 0 3px rgba(45,199,153,.15);
}
.sh-blog-hero .wp-block-search__button {
    color: rgba(255,255,255,.5) !important;
}

@media (max-width: 1180px) {
    .sh-sidebar {
        width: 35%;
    }
}
@media (max-width: 991px) {
    .sh-sidebar {
        width: 100%;
    }
    .sh-blog-hero .is-nowrap {
        flex-wrap: wrap !important;
    }
    .sh-blog-layout {
        display: flex;
        flex-direction: column !important;
    }
}



/* ------------------------------------------
   7.1 Post Cards
   ------------------------------------------ */

.sh-blog-grid {
    gap: 24px !important;
}

.sh-post-card {
    overflow: hidden;
    transition: all .3s;
    background: var(--wp--preset--color--white);
}
.sh-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-color: var(--wp--preset--color--green) !important;
}

/* Thumbnail wrapper */
.sh-post-thumb-wrap {
    position: relative;
    overflow: hidden;
}
.sh-post-thumb-wrap img {
    transition: transform .4s;
}
.sh-post-card:hover .sh-post-thumb-wrap img {
    transform: scale(1.03);
}

/* Category badge on image */
.sh-post-cat-badge {
    position: absolute;
    top: 0;
    right: 12px;
    z-index: 2;
}
.sh-post-cat-badge a {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px !important;
    font-weight: 700;
    color: var(--wp--preset--color--green-dark) !important;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-decoration: none !important;
    margin-left: 5px;
    white-space: nowrap;
}
.sh-post-cat-badge .wp-block-post-terms__separator {
    display: none;
}

/* Post body */
.sh-post-date {
    color: var(--wp--preset--color--gray-text) !important;
}
.sh-post-title a {
    color: var(--wp--preset--color--black) !important;
    text-decoration: none !important;
    line-height: 1.35 !important;
}
.sh-post-card:hover .sh-post-title a {
    color: var(--wp--preset--color--green-dark) !important;
}
.sh-post-excerpt {
    color: var(--wp--preset--color--gray-text) !important;
    line-height: 1.6 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post footer */
.sh-post-footer {
    font-size: 12px !important;
    color: var(--wp--preset--color--gray-text) !important;
}
.sh-post-author {
    font-size: 12px !important;
    color: var(--wp--preset--color--gray-text) !important;
}

/* ------------------------------------------
   Featured first post (CSS only)
   ------------------------------------------ */
@media (min-width: 1099px) {
    .sh-blog-grid .wp-block-post:first-child {
        grid-column: 1 / -1;
    }
    .sh-blog-grid .wp-block-post:first-child .sh-post-card {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
    }
    .sh-blog-grid .wp-block-post:first-child .sh-post-thumb-wrap img {
        height: 100%;
        min-height: 340px;
        object-fit: cover;
    }
    .sh-blog-grid .wp-block-post:first-child .sh-post-thumb-wrap img {
        border-radius: 12px 0 0 12px !important;
    }
    .sh-blog-grid .wp-block-post:first-child .sh-post-body {
        padding: 36px 32px 16px !important;
    }
    .sh-blog-grid .wp-block-post:first-child .sh-post-title a {
        font-size: 24px !important;
        letter-spacing: -.5px;
    }
    .sh-blog-grid .wp-block-post:first-child .sh-post-excerpt {
        -webkit-line-clamp: 5;
    }
    .sh-blog-grid .wp-block-post:first-child .wp-block-post-featured-image img {
        aspect-ratio: auto !important;
        height: 100% !important;
        object-fit: cover;
    }
    .sh-blog-grid .wp-block-post:first-child .wp-block-post-featured-image {
        aspect-ratio: unset !important;
    }
}

/* ------------------------------------------
   Pagination
   ------------------------------------------ */

.sh-pagination {
    margin-top: 40px !important;
    gap: 6px !important;
}
.sh-pagination .wp-block-query-pagination-numbers {
    display: flex;
    gap: 5px;

}
.sh-pagination .page-numbers,
.sh-pagination a,
.sh-pagination span {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--wp--preset--color--gray-lines);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wp--preset--color--gray-text);
    text-decoration: none;
    transition: all .2s;
    padding: 0 12px;
}
.sh-pagination a:hover {
    border-color: var(--wp--preset--color--green);
    color: var(--wp--preset--color--green);
}
.sh-pagination .current {
    background: var(--wp--preset--color--black);
    color: white;
    border-color: var(--wp--preset--color--black);
}


/* ------------------------------------------
   Sidebar
   ------------------------------------------ */

.sh-sidebar-sticky {
    top: calc(15px + var(--wp-admin--admin-bar--position-offset, 0px));
    position: sticky;
    z-index: 10;
}

/* Sidebar title */
.sh-sidebar-title {
    display: inline-block !important;
}

/* Categories list */
.sh-sidebar-cats {
    list-style: none
}

.sh-sidebar-cats {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.sh-sidebar-cats li {
    padding: 8px 0;
    border-bottom: 1px solid var(--wp--preset--color--gray-lines);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.sh-sidebar-cats li:last-child {
    border-bottom: none;
}
.sh-sidebar-cats a {
    color: var(--wp--preset--color--gray-text) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color .2s;
}
.sh-sidebar-cats a:hover {
    color: var(--wp--preset--color--green-dark) !important;
}
.sh-sidebar-cats .children {
    list-style: none !important;
    padding: 0 0 0 16px !important;
    margin: 0 !important;
    width: 100%;
}
.sh-sidebar-cats .children li {
    padding: 6px 0;
    border-bottom: none;
    font-size: 12px;
}
.sh-sidebar-cats .children li:before {
    content: '└ ';
    color: var(--wp--preset--color--gray-linesr);
    margin-right: 7px;
}
.sh-sidebar-cats > li {
    flex-wrap: wrap;
}
.sh-sidebar-cats li li {
    margin-top: 7px;
    justify-content: flex-start;
}
.sh-sidebar-cats li li span {
    margin-left: auto;
}
.sh-sidebar-cats > li > .sh-cat-count {
    order: 2;
}
.sh-sidebar-cats > li > .children {
    order: 3;
}
.sh-cat-count {
    font-size: 11px;
    color: var(--wp--preset--color--gray-text);
    background: var(--wp--preset--color--section-bg);
    padding: 2px 8px;
    border-radius: 100px;
    font-weight: 600;
}

/* Popular posts */
.sh-popular-posts {
    list-style: none !important;
    margin-block-start: 0;
}
.sh-popular-posts li {
    display: grid !important;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    gap: 2px 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--wp--preset--color--gray-lines);
    align-items: center;
    cursor: pointer;
    transition: all .15s;
}
.sh-popular-posts li:last-child {
    border-bottom: none;
}
.sh-popular-posts li:hover {
    padding-left: 2px;
}
.sh-popular-posts .wp-block-latest-posts__featured-image {
    flex-shrink: 0;
    margin: 0 !important;
    grid-row: 1 / -1;
}
.sh-popular-posts .wp-block-latest-posts__featured-image img {
    width: 64px !important;
    height: auto !important;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
}
.sh-popular-posts .wp-block-latest-posts__post-title {
    font-size: 12px !important;
    font-weight: 600;
    color: var(--wp--preset--color--black) !important;
    text-decoration: none !important;
    line-height: 1.4;
    display: block;
    grid-column: 2;
}
.sh-popular-posts li:hover .wp-block-latest-posts__post-title {
    color: var(--wp--preset--color--green-dark) !important;
}
.sh-popular-posts .wp-block-latest-posts__post-date {
    font-size: 10px;
    color: var(--wp--preset--color--gray-text);
    display: block;
    grid-column: 2;
}
/* ------------------------------------------
   Legal Sidebar Navigation
   ------------------------------------------ */

.sh-legal-nav {
    gap: 0 !important;
}
.sh-legal-nav .wp-block-navigation-item {
    width: 100%;
}
.sh-legal-nav .wp-block-navigation-item a {
    display: block;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--wp--preset--color--gray-text) !important;
    text-decoration: none !important;
    border-radius: 6px;
    border-left: 2px solid transparent;
    transition: all .2s;
}
.sh-legal-nav .wp-block-navigation-item a:hover {
    color: var(--wp--preset--color--green-dark) !important;
    background: var(--wp--preset--color--section-bg);
}
.sh-legal-nav .wp-block-navigation-item.current-menu-item a {
    color: var(--wp--preset--color--green-dark) !important;
    font-weight: 600;
    background: var(--wp--preset--color--section-bg);
    border-left-color: var(--wp--preset--color--green);
}









/* ==========================================
   Footer
   ========================================== */

.sh-footer-title {
    color: var(--wp--preset--color--green) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px !important;
}

.sh-footer-link {
    margin: 0 !important;
    padding: 4px 0;
}
.sh-footer-link a {
    color: var(--wp--preset--color--gray-lines) !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: color .2s;
}
.sh-footer-link a:hover {
    color: var(--wp--preset--color--green) !important;
}
.footer-cookie-settings {
    color: var(--wp--preset--color--gray-lines) !important;
    font-size: 14px;
    cursor: pointer;
    transition: color .2s;
}
.footer-cookie-settings:hover {
    color: var(--wp--preset--color--green) !important;
}
.currency-picker {
    color: rgba(255,255,255,0.4) !important;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all .2s;
    margin: 0 !important;
}
.currency-picker:hover {
    color: rgba(255,255,255,0.8) !important;
}
.currency-picker.active {
    color: white !important;
    background: rgba(255,255,255,0.1);
}

/* Footer responsive */
@media (max-width: 991px) {
    .sh-footer-grid {
        flex-wrap: wrap !important;
    }
    .sh-footer-grid > .wp-block-column {
        flex-basis: calc(50% - 20px) !important;
    }
}

@media (max-width: 575px) {
    .sh-footer-grid > .wp-block-column {
        flex-basis: 100% !important;
    }
}









/* ==========================================
   Utility classes
   ========================================== */
.whitespace-nowrap {
    white-space: nowrap;
}
.no-underline a, .no-underline {
    text-decoration: none !important;
}
.items-baseline {
    align-items: baseline;
}
.hidden {
    display: none !important;
}
.w-fit {
    width: fit-content;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1080px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr !important;
    }
}










/* ==========================================
   Mobile — max 991px
   ========================================== */
@media (max-width: 991px) {

    /* Header */
    .custom-logo-link img, .custom-logo {
        width: 120px;
    }

    /* Hamburger */
    .wp-block-template-part:has(.sh-nav) {
        margin-left: auto !important;
    }
    .sh-nav-hamburger {
        display: flex;
        flex-direction: column;
        gap: 0;
        cursor: pointer;
        padding: 0px;
        z-index: 1001;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
    }
    .sh-nav-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--wp--preset--color--black);
        transition: all .3s;
        position: absolute;
    }
    .sh-nav-hamburger span:nth-child(1) { transform: translateY(-7px); }
    .sh-nav-hamburger span:nth-child(3) { transform: translateY(7px); }

    .sh-nav-toggle:checked ~ .sh-nav-hamburger span:nth-child(1) {
        transform: rotate(45deg);
    }
    .sh-nav-toggle:checked ~ .sh-nav-hamburger span:nth-child(2) {
        opacity: 0;
    }
    .sh-nav-toggle:checked ~ .sh-nav-hamburger span:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* Menu nascosto di default */
    .sh-nav-menu {
        display: none !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 68px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        max-height: calc(100dvh - 68px) !important;
        background: var(--wp--preset--color--white) !important;
        padding: 0 !important;
        gap: 0 !important;
        z-index: 1000 !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
    }
    .admin-bar .sh-nav-menu {
        top: 100px !important;
        min-height: calc(100vh - 100px);
    }
    .sh-nav-toggle:checked ~ .sh-nav-menu {
        display: flex !important;
    }

    /* Nav items full width */
    .sh-nav-item {
        width: 100% !important;
        border-bottom: 1px solid var(--wp--preset--color--gray-lines) !important;
        padding: 0 20px !important;
    }

    /* Nav labels */
    .sh-nav-label {
        padding: 16px 0 !important;
        justify-content: space-between !important;
        border-radius: 0 !important;
        font-size: 16px !important;
        width: 100% !important;
    }

    .sh-nav-label:hover,
    .sh-nav-item.open .sh-nav-label {
        background: none !important;
    }

    /* Mega panel mobile: accordion */
    .sh-mega-panel {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        min-width: auto !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 0 16px 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all !important;
        display: none !important;
        overflow: visible !important;
    }
    .sh-mega-panel.is-layout-constrained .sh-mega-columns {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
    }
    .sh-mega-check:checked ~ .sh-mega-panel {
        display: block !important;
    }
    .sh-mega-check:checked ~ .sh-nav-label svg {
        transform: rotate(180deg);
    }
    .sh-mega-link {
        padding: 10px 0 10px 20px !important;
    }
    .sh-mega-link:hover {
        background: none !important;
    }
    .sh-mega-link-title {
        font-size: 15px !important;
    }

    /* Columns stack */
    .sh-mega-columns {
        flex-direction: column !important;
        gap: 24px !important;
        padding: 8px 0 !important;
    }
    .sh-mega-columns > .wp-block-column {
        padding: 0 !important;
        border-left: none !important;
    }
    .sh-mega-columns > .wp-block-column + .wp-block-column {
        padding-top: 16px !important;
    }

    /* Hide review and footer on mobile */
    .sh-mega-review,
    .sh-mega-footer {
        display: none !important;
    }

    /* Hide overlay on mobile */
    .sh-mega-overlay {
        display: none !important;
    }
    
    /* Hide icon and description on mobile */
    .sh-mega-icon {
        display: none !important;
    }
    .sh-mega-link-desc {
        display: none !important;
    }

}










/* ==========================================
   404 Page
   ========================================== */

.sh-404-code {
    font-size: clamp(100px, 18vw, 200px) !important;
    line-height: 1 !important;
    background: linear-gradient(135deg, var(--wp--preset--color--green) 0%, var(--wp--preset--color--green-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sh-terminal {
    background: var(--wp--preset--color--black);
    border-radius: 12px;
    overflow: hidden;
    font-family: var(--wp--preset--font-family--mono);
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.sh-terminal-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255,255,255,.06);
}
.sh-terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.sh-terminal-title {
    color: rgba(255,255,255,.4);
    font-size: 12px;
    margin-left: 8px;
}
.sh-terminal-body {
    padding: 16px 20px;
    color: rgba(255,255,255,.7);
}
.sh-prompt {
    color: var(--wp--preset--color--green);
    font-weight: 700;
    margin-right: 8px;
}
.sh-terminal-output {
    color: rgba(255,255,255,.35);
    margin-bottom: 6px;
}
.sh-terminal-success {
    color: var(--wp--preset--color--green);
    margin-bottom: 6px;
}
.sh-cursor {
    animation: blink 1s step-end infinite;
    color: var(--wp--preset--color--green);
}
@keyframes blink {
    50% { opacity: 0; }
}










/* ==========================================
   Single Post
   ========================================== */

/* Headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  overflow-wrap: break-word;
  word-break: break-word;
}

.single-post article img, .single-tutorial article img {
    border: none;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .1), 0 0 6px 0 rgba(0, 0, 0, .1), 0 2px 2px -2px rgba(0, 0, 0, .15);
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Breadcrumb */
.rank-math-breadcrumb {
    margin-bottom: 12px !important;
}
.rank-math-breadcrumb p {
    margin: 0 !important;
}
.rank-math-breadcrumb a {
    color: rgba(255,255,255,.6) !important;
    text-decoration: none !important;
    font-size: 12px;
    transition: color .2s;
}
.rank-math-breadcrumb a:hover {
    color: white !important;
}
.rank-math-breadcrumb .separator {
    color: rgba(255,255,255,.3) !important;
    font-size: 12px;
}
.rank-math-breadcrumb .last {
    color: rgba(255,255,255,.4) !important;
    font-size: 12px;
}

/* Category badges */
.sh-post-hero-badge a {
    display: inline-block;
    background: rgba(255,255,255,.12);
    color: var(--wp--preset--color--green) !important;
    font-size: 11px !important;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-decoration: none !important;
    transition: background .2s;
    margin-right: 7px;
}
.sh-post-hero-badge a:hover {
    background: rgba(255,255,255,.2);
}
.sh-post-hero-badge .wp-block-post-terms__separator {
    display: none;
}

/* Meta */
.sh-post-meta-hero {
    gap: 16px !important;
    margin-top: 16px !important;
}
.sh-post-meta-author a {
    color: rgba(255,255,255,.5) !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 13px;
}
.sh-post-meta-date time {
    color: rgba(255,255,255,.5) !important;
    font-size: 12px;
}
.sh-post-meta-hero .wp-block-post-comments-link a {
    color: rgba(255,255,255,.5);
    text-decoration: none !important;
    font-size: 12px;
}
.sh-post-meta-author a:hover, .sh-post-meta-hero .wp-block-post-comments-link a:hover {
    color: rgba(255,255,255,.85) !important;
}
.sh-author-box-inner img {
    border-radius: 100%;
}

/* ------------------------------------------
   Table of Contents
   ------------------------------------------ */

@media (max-width: 991px) {
    .single .sh-sidebar-cta {
        display: none;
    }  
}

.sh-toc-card {
    overflow: hidden;
}
.sh-toc-title {
    margin-bottom: 12px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sh-toc-title::before {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--wp--preset--color--green);
    border-radius: 2px;
}
.sh-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.sh-toc-list li {
    overflow: hidden;
}
.sh-toc-list a {
    display: block;
    padding: 7px 12px;
    font-size: 13px;
    color: var(--wp--preset--color--gray-text);
    border-radius: 6px;
    transition: all .2s;
    border-left: 2px solid transparent;
    text-decoration: none;
}
.sh-toc-list a:hover {
    color: var(--wp--preset--color--green-dark);
    background: var(--wp--preset--color--section-bg);
}
.sh-toc-list a.active {
    color: var(--wp--preset--color--green-dark);
    font-weight: 600;
    background: var(--wp--preset--color--section-bg);
    border-left-color: var(--wp--preset--color--green);
}
.sh-toc-list a.active-parent {
    color: var(--wp--preset--color--green-dark);
    font-weight: 600;
    border-left-color: transparent;
    background: none;
}

/* H3 sub-items: hidden by default, visible when parent h2 is active */
.sh-toc-list .toc-h3 {
    padding-left: 24px;
    font-size: 12px;
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height .3s, opacity .3s, padding .3s;
}
.sh-toc-list li.toc-h3-visible .toc-h3 {
    max-height: max-content;
    opacity: 1;
    padding-top: 7px;
    padding-bottom: 7px;
}


/* ------------------------------------------
   Rank Math TOC – Left border style
   ------------------------------------------ */

@media (min-width: 991px) {
    .single-post .wp-block-rank-math-toc-block {
        display: none;
    }  
}

.wp-block-rank-math-toc-block {
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--gray-lines);
    border-radius: 12px;
    padding: 24px 28px;
    margin: 32px 0;
}

.wp-block-rank-math-toc-block > h2 {
    font-size: 11px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--wp--preset--color--gray-text);
    padding-left: 14px;
    border-left: 3px solid var(--wp--preset--color--green);
    margin-bottom: 16px !important;
}

.wp-block-rank-math-toc-block nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid var(--wp--preset--color--gray-lines);
    margin-left: 1px;
}

.wp-block-rank-math-toc-block nav > ul > li > a {
    display: block;
    padding: 8px 0 8px 16px;
    font-size: 14px;
    color: var(--wp--preset--color--gray-text);
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}

.wp-block-rank-math-toc-block nav > ul > li > a:hover {
    color: var(--wp--preset--color--green-dark);
}

.wp-block-rank-math-toc-block nav > ul > li > a::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: transparent;
    transition: background 0.2s;
}

.wp-block-rank-math-toc-block nav > ul > li > a:hover::before {
    background: var(--wp--preset--color--green);
}

/* Sub-items */
.wp-block-rank-math-toc-block nav ul ul {
    border-left: none;
    padding-left: 16px;
}

.wp-block-rank-math-toc-block nav ul ul a {
    display: block;
    padding: 5px 0 5px 16px;
    font-size: 13px;
    color: var(--wp--preset--color--gray-text);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.2s;
}

.wp-block-rank-math-toc-block nav ul ul a:hover {
    color: var(--wp--preset--color--green-dark);
    opacity: 1;
}

/* ------------------------------------------
   Rank Math FAQ (posts)
   ------------------------------------------ */

body.single-post .rank-math-block {
    margin: 40px 0;
    border: 1px solid var(--wp--preset--color--gray-lines);
    border-radius: 12px;
    overflow: hidden;
}
body.single-post .rank-math-list-item {
    padding: 24px 28px;
    border-bottom: 1px solid var(--wp--preset--color--gray-lines);
}
body.single-post .rank-math-list-item:last-child {
    border-bottom: none;
}
body.single-post .rank-math-question {
    font-size: 16px !important;
    font-weight: 700;
    color: var(--wp--preset--color--black);
    margin-bottom: 10px !important;
    padding-left: 12px;
    border-left: 3px solid var(--wp--preset--color--green);
}
body.single-post .rank-math-answer p {
    font-size: 15px;
    color: var(--wp--preset--color--gray-text);
    line-height: 1.7;
    margin-bottom: 8px;
}
body.single-post .rank-math-answer p:last-child {
    margin-bottom: 0;
}
body.single-post .rank-math-answer a {
    color: var(--wp--preset--color--green-dark);
}

/* ------------------------------------------
   FAQ Accordion (Pages & TLD)
   ------------------------------------------ */
body.page .rank-math-block,
body.single-tld .rank-math-block {
    margin: 40px 0;
}
body.page .rank-math-list-item,
body.single-tld .rank-math-list-item {
    border-bottom: 1px solid var(--wp--preset--color--gray-lines);
}
body.page .rank-math-list-item:last-child,
body.single-tld .rank-math-list-item:last-child {
    border-bottom: none;
}
body.page .rank-math-question,
body.single-tld .rank-math-question {
    font-size: 16px !important;
    font-weight: 600;
    color: var(--wp--preset--color--black);
    padding: 18px 40px 18px 0;
    margin: 0 !important;
    cursor: pointer;
    position: relative;
    border-left: none;
}
body.page .rank-math-question::after,
body.single-tld .rank-math-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: var(--wp--preset--color--gray-text);
    transition: color .2s;
}
body.page .faq-open .rank-math-question::after,
body.single-tld .faq-open .rank-math-question::after {
    content: '−';
    color: var(--wp--preset--color--green);
}

body.page .rank-math-answer,
body.single-tld .rank-math-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .2s ease, padding .3s ease;
    padding: 0;
}
body.page .rank-math-answer p,
body.single-tld .rank-math-answer p {
    font-size: 15px;
    color: var(--wp--preset--color--gray-text);
    line-height: 1.7;
}
body.page .rank-math-list-item.faq-open .rank-math-answer,
body.single-tld .rank-math-list-item.faq-open .rank-math-answer {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 18px;
}



/* ------------------------------------------
   Comments
   ------------------------------------------ */

/* Section */
.wp-block-comments {
    margin-top: 45px;
    padding-top: 45px;
}
.wp-block-comments > .wp-block-heading {
    display: none;
}
.wp-block-comments-title {
    font-size: 18px !important;
    font-weight: 700;
    margin-bottom: 24px !important;
}

/* Comment list */
.wp-block-comment-template {
    list-style: none;
    padding: 0;
    margin: 0;
}
.wp-block-comment-template ol {
    list-style: none;
    padding-left: 32px;
    margin: 0;
    border-left: 2px solid var(--wp--preset--color--gray-lines);
}

/* Single comment */
.wp-block-comment-template > li {
    padding: 20px 0;
    border-bottom: 1px solid var(--wp--preset--color--gray-lines);
}
.wp-block-comment-template > li:last-child {
    border-bottom: none;
}

/* Avatar */
.wp-block-avatar img {
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
}

/* Author name */
.wp-block-comment-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--wp--preset--color--black);
}

/* Date */
.wp-block-comment-date {
    font-size: 12px;
}
.wp-block-comment-date a {
    color: var(--wp--preset--color--gray-text) !important;
    text-decoration: none !important;
}

/* Content */
.wp-block-comment-content {
    margin-top: 8px;
}
.wp-block-comment-content p {
    font-size: 15px;
    color: var(--wp--preset--color--gray-text);
    line-height: 1.7;
}

/* Reply link */
.wp-block-comment-reply-link a {
    font-size: 12px;
    font-weight: 600;
    color: var(--wp--preset--color--green-dark) !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .5px;
    transition: color .2s;
}
.wp-block-comment-reply-link a:hover {
    color: var(--wp--preset--color--green) !important;
}

/* ── Comment form ── */
.comment-respond {
    margin-top: 32px;
    padding-top: 32px;
}
.comment-reply-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}
.comment-reply-title small a {
    font-size: 13px;
    font-weight: 500;
    color: var(--wp--preset--color--green-dark);
    text-decoration: none;
    margin-left: 8px;
}
.comment-notes {
    font-size: 13px;
    color: var(--wp--preset--color--gray-text);
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--wp--preset--color--black);
    margin-bottom: 6px;
}
.comment-form textarea,
.comment-form input[type=\"text\"],
.comment-form input[type=\"email\"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--wp--preset--color--gray-lines);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: var(--wp--preset--color--black);
    background: var(--wp--preset--color--white);
    transition: border-color .2s;
    outline: none;
}
.comment-form textarea:focus,
.comment-form input[type=\"text\"]:focus,
.comment-form input[type=\"email\"]:focus {
    border-color: var(--wp--preset--color--green);
    box-shadow: 0 0 0 3px rgba(45,199,153,.1);
}
.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}
.comment-form p {
    margin-bottom: 16px;
}

/* Cookies consent */
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
}
.comment-form-cookies-consent label {
    display: inline;
    font-size: 13px;
    font-weight: 400;
    color: var(--wp--preset--color--gray-text);
    margin-bottom: 0;
}

/* Submit button */
.comment-form .form-submit .wp-block-button__link {
    background: var(--wp--preset--color--black) !important;
    color: white !important;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.comment-form .form-submit .wp-block-button__link:hover {
    background: var(--wp--preset--color--green-dark) !important;
    transform: translateY(-1px);
}


/* ------------------------------------------
   Related Posts
   ------------------------------------------ */

.sh-related-grid {
    display: grid;
    gap: 24px;
}
@media (max-width: 1024px) {
    .sh-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .sh-related-grid {
        grid-template-columns: 1fr !important;
    }
}
.sh-related-card {
    background: white;
    border: 1px solid var(--wp--preset--color--gray-lines);
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.sh-related-card a {
    text-decoration: none;
}
.sh-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    border-color: var(--wp--preset--color--green);
}
.sh-related-card-img {
    position: relative;
    overflow: hidden;
}
.sh-related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.sh-related-card:hover .sh-related-card-img img {
    transform: scale(1.03);
}
.sh-related-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--wp--preset--color--green);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.sh-related-card-badge:hover {
    background: var(--wp--preset--color--green-dark);
}
.sh-related-card-body {
    padding: 18px;
}
.sh-related-card-date {
    font-size: 11px;
    color: var(--wp--preset--color--gray-text);
    display: block;
    margin-bottom: 6px;
}
.sh-related-card-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--wp--preset--color--black);
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sh-related-card:hover h3 {
    color: var(--wp--preset--color--green-dark);
}
.sh-related-card-body p {
    font-size: 13px;
    color: var(--wp--preset--color--gray-text);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

@media (max-width: 991px) {
    .sh-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .sh-related-grid {
        grid-template-columns: 1fr;
    }
}










/* ==========================================
   Search Results
   ========================================== */
@media (max-width: 991px) {
    .search-results-image {
        display: none;
    }
}










/* ==========================================
   Author Page
   ========================================== */

/* Hero */
.sh-author-short-bio p {
    text-align: center;
    color: rgba(255,255,255,.6) !important;
    font-size: 15px;
}

/* Columns 50/50 */
.sh-author-columns {
    gap: 0 !important;
}
.sh-author-col-image {
    flex-basis: 50% !important;
}
.sh-author-col-text {
    padding-left: 45px;
    padding-right: 30px;
}

/* Bio */
.sh-author-bio p {
    padding: 12px 0;
    color: var(--wp--preset--color--gray-text);
    line-height: 1.8;
}
.sh-author-bio h3 {
    margin-top: 20px;
}
.sh-author-bio blockquote {
    background-color: var(--wp--preset--color--section-bg);
    border-left: 4px solid var(--wp--preset--color--green);
    color: var(--wp--preset--color--gray-text);
    font-style: italic;
    font-size: 18px;
    line-height: 1.5;
    margin: 24px 0;
    padding: 24px;
    border-radius: 0 12px 12px 0;
}
.sh-author-bio blockquote cite {
    color: var(--wp--preset--color--green-dark);
    font-size: 13px;
    font-style: normal;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1100px) {
    .sh-author-grid {
        grid-template-columns: 1fr !important;
    }
    .sh-author-col-text {
        padding: 0 15px !important;
    }
}
@media (max-width: 768px) {
    .sh-author-columns {
        flex-direction: column !important;
    }
    .sh-author-col-image {
        flex-basis: auto !important;
    }
    .sh-author__profile-image {
        padding: 30vh 0 !important;
    }
}










/* ==========================================
   Forms (Contact Form 7)
   ========================================== */

/* Inputs, textareas, selects */
.wpcf7-form *,
.wpcf7-form *::before,
.wpcf7-form *::after {
    box-sizing: border-box;
}

.wpcf7-form input:not([type="submit"]):not([type="checkbox"]),
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 16px;
    font-size: var(--wp--preset--font-size--small);
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    color: var(--wp--preset--color--black);
    background: var(--wp--preset--color--white);
    border: 1.5px solid var(--wp--preset--color--gray-lines);
    border-radius: 10px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    margin-bottom: 4px;
}
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: var(--wp--preset--color--green);
    box-shadow: 0 0 0 3px rgba(45,199,153,.1);
}
.wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Labels */
.wpcf7-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--wp--preset--color--black);
    margin-bottom: 6px;
}
.wpcf7-form small {
    font-size: var(--wp--preset--font-size--extra-small);
    color: var(--wp--preset--color--gray-text);
}

/* Submit & step buttons */
.wpcf7-form .wpcf7-submit,
button.wpcf7cf_next,
button.wpcf7cf_prev,
button.wpcf7cf_add,
button.wpcf7cf_remove {
    padding: 13px 26px;
    border: 1.5px solid var(--wp--preset--color--black);
    background: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}
button.wpcf7cf_prev.disabled {
    border: 1.5px solid var(--wp--preset--color--gray-lines);
    cursor: not-allowed;
    pointer-events: visible;
}
button.wpcf7cf_prev {
    border: 1.5px solid var(--wp--preset--color--gray-text);
}
.wpcf7-form .wpcf7-submit {
    background: linear-gradient(135deg, #1e8566, #2dc799);
    color: #fff;
    border: none;
    box-shadow: 0 4px 24px rgba(45,199,153,.25);
}
.wpcf7-form .wpcf7-submit:not(:disabled):hover {
    box-shadow: 0 8px 40px rgba(45,199,153,.4);
    transform: scale(1.1);
}
button.wpcf7cf_next:hover,
button.wpcf7cf_prev:hover:not(.disabled),
button.wpcf7cf_add:hover,
button.wpcf7cf_remove:hover {
    border-color: var(--wp--preset--color--green-dark);
    color: var(--wp--preset--color--green-dark);
}
button.wpcf7cf_add,
button.wpcf7cf_remove {
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 600;
}


/* Checkboxes */
.wpcf7-list-item {
    margin: 0 !important;
}
.wpcf7-checkbox > span {
    display: block;
}
.wpcf7-form .wpcf7-checkbox label,
.wpcf7-form .wpcf7-acceptance label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    color: var(--wp--preset--color--gray-text);
}
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0 !important;
    accent-color: var(--wp--preset--color--green);
}

/* Validation errors */
.wpcf7 form .wpcf7-response-output {
    font-size: 14px;
    border: 1.5px solid;
    padding: 12px 16px !important;
    border-radius: 10px;
}
.wpcf7-not-valid-tip {
    font-size: var(--wp--preset--font-size--extra-small) !important;
    color: #dc2626;
}

/* Fieldset */
fieldset {
    border: 1px solid var(--wp--preset--color--gray-lines);
    border-radius: 10px;
    padding: 16px;
    margin: 0 0 12px;
}

/* Repeater - stacked cards */
.wpcf7cf_repeater_sub {
    border-right: 1px solid var(--wp--preset--color--gray-lines);
    border-left: 1px solid var(--wp--preset--color--gray-lines);
    margin-bottom: -1px;
    padding: 12px 20px;
}
.wpcf7cf_repeater > div:first-child {
    border-radius: 10px 10px 0 0;
    border-top: 1px solid var(--wp--preset--color--gray-lines);
}
.wpcf7cf_repeater > div:last-of-type {
    border-radius: 0 0 10px 10px;
    border-bottom: 1px solid var(--wp--preset--color--gray-lines);
}
.wpcf7cf_repeater > div:first-child:last-of-type {
    border-radius: 10px !important;
    border: 1px solid var(--wp--preset--color--gray-lines);
}    
.wpcf7cf_repeater_sub fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
.wpcf7cf_repeater_sub fieldset p {
    display: flex;
    gap: 16px;
    margin: 0;
}
.wpcf7cf_repeater_sub fieldset p label {
    font-size: 12px;
}
.wpcf7cf_repeater_sub fieldset input {
    margin-bottom: 0 !important;
}

/* Password toggle icon inline */
.wpcf7-form .wpcf7-form-control-wrap[data-name*="password"],
.wpcf7-form .wpcf7-form-control-wrap[data-name*="pass"] {
    position: relative;
    display: block;
}
.wpcf7-form .dashicons-visibility,
.wpcf7-form .dashicons-hidden,
.wpcf7-form .wpcf7-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

/* Multistep dots */
.step-title {
    font-size: var(--wp--preset--font-size--extra-small);
    color: var(--wp--preset--color--gray-text);
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot .step-index {
    background: var(--wp--preset--color--section-bg) !important;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot {
    border-bottom: 3px solid var(--wp--preset--color--gray-lines) !important;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot.completed .step-index {
    background-color: rgba(45,199,153,.2) !important;
    color: var(--wp--preset--color--green-dark) !important;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot.completed {
    border-bottom: 3px solid var(--wp--preset--color--green) !important;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot.active .step-index {
    background-color: var(--wp--preset--color--green) !important;
    color: white !important;
}
.wpcf7cf_multistep .wpcf7cf_steps-dots .dot.active {
    border-bottom: 3px solid var(--wp--preset--color--green) !important;
    font-weight: 600;
}

/* Spinner container */
.wpcf7cf_next-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.wpcf7-spinner {
    display: none !important;
    margin: 0 !important;
}
form.submitting .wpcf7-spinner {
    display: inline-block !important;
}












/* ============================================================
   Banner promozionale — sh-banner-promo
   ============================================================ */

.sh-banner-promo {
    position: relative;
    width: 100%;
    background: #e4e4e7;
    border-bottom: 1px solid #d4d4d8;
    overflow: hidden;
    z-index: 100;
}

/* Shimmer animato */
.sh-banner-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(45, 199, 153, 0.1) 40%,
        rgba(45, 199, 153, 0.18) 50%,
        rgba(45, 199, 153, 0.1) 60%,
        transparent 80%
    );
    background-size: 200% 100%;
    animation: sh-banner-shimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sh-banner-shimmer {
    0%   { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

.sh-banner-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 11px 48px 11px 16px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* Badge "Limited offer" */
.sh-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(45, 199, 153, 0.12);
    border: 1px solid rgba(45, 199, 153, 0.35);
    border-radius: 100px;
    padding: 3px 10px 3px 7px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1e8566;
    white-space: nowrap;
    flex-shrink: 0;
}

.sh-banner-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2dc799;
    animation: sh-banner-pulse 1.8s ease-in-out infinite;
}

@keyframes sh-banner-pulse {
    0%, 100% { opacity: 1;   transform: scale(1);   }
    50%       { opacity: 0.5; transform: scale(0.7); }
}

/* Testo centrale */
.sh-banner-text {
    font-size: 13.5px;
    font-weight: 400;
    color: #52525b;
    line-height: 1.4;
}

.sh-banner-text strong {
    color: #09090b;
    font-weight: 600;
}

/* Pillola codice coupon */
.sh-banner-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(9, 9, 11, 0.06);
    border: 1px dashed rgba(9, 9, 11, 0.18);
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #09090b;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    user-select: none;
}

.sh-banner-code:hover {
    background: rgba(45, 199, 153, 0.15);
    border-color: rgba(45, 199, 153, 0.4);
    color: #1e8566;
}

/* CTA button */
.sh-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #2dc799;
    color: #09090b;
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.sh-banner-cta:hover {
    background: #25b085;
    transform: translateY(-1px);
    color: #09090b;
    text-decoration: none;
}

.sh-banner-cta svg {
    transition: transform 0.2s;
    flex-shrink: 0;
}

.sh-banner-cta:hover svg {
    transform: translateX(2px);
}

/* Pulsante chiudi */
.sh-banner-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(9, 9, 11, 0.35);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    line-height: 0;
}

.sh-banner-close:hover {
    color: #09090b;
    background: rgba(9, 9, 11, 0.08);
}

/* Preview mode (admin only — ?preview_banner=ID) */
.sh-banner-preview {
    outline: 2px dashed #2dc799;
    outline-offset: -2px;
}

.sh-banner-preview-label {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #1e8566;
    background: rgba(45, 199, 153, 0.08);
    padding: 3px 0;
    letter-spacing: 0.03em;
}

/* Responsive */
@media (max-width: 640px) {
    .sh-banner-inner {
        gap: 10px;
        padding: 10px 40px 10px 12px;
        justify-content: flex-start;
    }

    .sh-banner-badge {
        display: none;
    }

    .sh-banner-text {
        font-size: 12.5px;
    }

    .sh-banner-code {
        font-size: 12px;
    }
}