/*
Theme Name:     Videeco X
Theme URI:      https://videeco.com/
Description:    Astra child theme.
Author:         Videeco
Author URI:     https://videeco.com/niccolo-perazza/
Template:       astra
Version:        0.1.3
*/


/* ==========================================================================
   Single Evento Template
   ========================================================================== */

.single-evento-wrapper {
    padding-bottom: 60px;
}

/* Header */
.evento-header {
    padding: 40px 0 30px;
}

.evento-title {
    color: var(--ast-global-color-0);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
}

.evento-data {
    font-weight: 700 !important;
    color: #B90C13;
    font-size: 45px;
    margin: 0 0 4px;
}

.evento-orario {
    color: var(--ast-global-color-0);
    font-size: 30px;
    font-weight: 300;
    margin: 0;
}

/* Thumbnail */
.evento-thumbnail {
    margin-bottom: 40px;
}

.evento-thumbnail img {
    border-radius: 20px;
    width: 100%;
    height: auto;
    display: block;
}

/* Content */
.evento-content {
    max-width: 800px;
}

.evento-content-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ast-global-color-0);
    margin: 0 0 15px;
}

.evento-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

/* Responsive */
@media (max-width: 768px) {
    .evento-title {
        font-size: 1.8rem;
    }
    .evento-data {
    font-weight: 700 !important;
        font-size: 32px;
    }
    .evento-orario {
        font-size: 22px;
    }
    .evento-header {
        padding: 25px 0 20px;
    }
}

/* ==========================================================================
   Archive Eventi Template
   ========================================================================== */

.eventi-archive-wrapper {
    padding: 40px 0 60px;
}

/* Header */
.eventi-archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.eventi-archive-title {
    font-size: 35px;
    font-weight: 700;
    color: rgb(191, 190, 190);
    text-transform: uppercase;
    margin: 0 0 10px;
    font-style: normal;
}

.eventi-archive-title span {
    color: var(--ast-global-color-0);
}

.eventi-archive-subtitle {
    color: #B90C13;
    font-size: 18px;
    margin: 0;
}

/* Grid */
.eventi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card */
.evento-card {
    border: 2px solid var(--ast-global-color-0);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.evento-card:hover {
    box-shadow: 0 4px 20px rgba(185, 12, 19, 0.15);
}

.evento-card-link {
    display: block;
    text-decoration: none;
    padding: 20px;
}

.evento-card-thumbnail {
    margin-bottom: 15px;
}

.evento-card-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

.evento-card-placeholder {
    width: 100%;
    padding-bottom: 60%;
    background: #e5e5e5;
    border-radius: 15px;
}

.evento-card-content {
    padding: 0 5px;
}

.evento-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ast-global-color-0);
    margin: 0 0 5px;
}

.evento-card-data {
    font-size: 18px;
    font-weight: 700;
    color: var(--ast-global-color-0);
    margin: 0 0 3px;
}

.evento-card-orario {
    font-size: 14px;
    color: var(--ast-global-color-0);
    margin: 0;
}

.no-eventi {
    text-align: center;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .eventi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .eventi-archive-title {
        font-size: 28px;
    }
    .evento-card-title {
        font-size: 18px;
    }
}

/* ==========================================================================
   ARCHIVE STORE (Punti Vendita)
   ========================================================================== */

.store-archive-wrapper {
    padding: 40px 20px;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.store-archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.store-archive-title {
    font-size: 35px;
    font-weight: 700;
    color: #bfbebe;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.store-archive-title span {
    color: var(--ast-global-color-0, #b90c13) !important;
}

.store-archive-subtitle {
    font-size: 18px;
    color: var(--ast-global-color-0, #b90c13) !important;
    margin: 0;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

@media (max-width: 992px) {
    .store-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .store-grid {
        grid-template-columns: 1fr;
    }
}

.store-card {
    background: #fff;
    border: 2px solid var(--ast-global-color-0, #b90c13);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.store-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.store-card-thumbnail {
    width: 100%;
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    
    background: transparent;
}

.store-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.store-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.store-card-content {
    padding: 20px;
    text-align: center;
}

.store-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ast-global-color-0);
    margin: 0 0 10px 0;
}

.store-card-meta {
    display: flex;
    
    gap: 15px;
    margin: 0 0 10px 0;
    font-size: 13px;
}

.store-tipologia {
    background: var(--ast-global-color-0, #b90c13);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
}

.store-piano {
    background: var(--ast-global-color-6, #ffd547);
    color: var(--ast-global-color-0);
    padding: 3px 10px;
    border-radius: 12px;
}

.store-card-telefono {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.no-store {
    text-align: center;
    font-size: 18px;
    color: #666;
    padding: 60px 20px;
}

/* Store card - no background on thumbnail */
.store-card-thumbnail {
    background: transparent;
}

/* Store phone button */
.store-card-phone-btn {
    display: block;
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    background: var(--ast-global-color-0, #b90c13);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.store-card:hover .store-card-phone-btn {
    background: var(--ast-global-color-2, #71160d);
}

/* Store Filters */
.store-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    
    margin-bottom: 30px;
    padding: 20px;
    background: transparent;
    border-radius: 15px;
}

.store-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 500;
    color: var(--ast-global-color-0);
    font-size: 14px;
}

.store-filter-btn {
    padding: 8px 16px !important;
    border: 2px solid #ccc !important;
    background: #fff !important;
    color: #333 !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.store-filter-btn:hover {
    background: #e5e5e5 !important;
    border-color: #999 !important;
    color: #333 !important;
}

.store-filter-btn.active {
    background: var(--ast-global-color-0, #b90c13) !important;
    color: #fff !important;
    border-color: var(--ast-global-color-0, #b90c13) !important;
}
    text-align: center;
    font-size: 18px;
    color: #666;
    padding: 40px 0;
}

@media (max-width: 576px) {
    .store-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .store-filter-group {
        
    }
}

/* Force full width for Store Archive in page-builder mode */
.ast-page-builder-template.post-type-archive-store .ast-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.ast-page-builder-template.post-type-archive-store #content {
    padding: 0;
}

/* Hide store meta badges on medium screens, show on large and mobile */
@media (max-width: 1739px) and (min-width: 577px) {
    .store-card-meta {
        display: none !important;
    }
}

/* ==========================================================================

/* ==========================================================================
   PAGE TITLES (Elementor) - Same style as archive titles
   ========================================================================== */

/* First heading in Elementor pages - styled like archive titles */
.elementor-page .elementor-top-section:first-of-type .elementor-widget-heading:first-of-type .elementor-heading-title {
    font-size: 35px !important;
    font-weight: 700 !important;
    color: #bfbebe !important;
    font-family: 'Montserrat', sans-serif !important;
    text-transform: uppercase !important;
    margin-bottom: 10px !important;
}

/* Red highlight for span inside page titles */
.elementor-page .elementor-top-section:first-of-type .elementor-widget-heading:first-of-type .elementor-heading-title span {
    color: var(--ast-global-color-0, #b90c13) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .elementor-page .elementor-top-section:first-of-type .elementor-widget-heading:first-of-type .elementor-heading-title {
        font-size: 28px !important;
    }
}

/* ==========================================================================

/* ==========================================================================
   PAGE SERVIZI Template
   ========================================================================== */

.servizi-wrapper {
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.servizi-header {
    text-align: center;
    margin-bottom: 50px;
}

.servizi-title {
    font-size: 35px;
    font-weight: 700;
    color: #bfbebe;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.servizi-title span {
    color: var(--ast-global-color-0, #b90c13) !important;
}

.servizi-subtitle {
    font-size: 18px;
    color: var(--ast-global-color-0, #b90c13) !important;
    margin: 0;
}

.servizi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.servizio-card {
    background: #fff;
    border: 2px solid var(--ast-global-color-0, #b90c13);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servizio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(185, 12, 19, 0.15);
}

.servizio-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 15px;
}

.servizio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servizio-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ast-global-color-0);
    margin: 0 0 10px;
}

.servizio-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

@media (max-width: 1200px) {
    .servizi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .servizi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .servizi-grid {
        grid-template-columns: 1fr;
    }
    
    .servizi-title {
        font-size: 28px;
    }
}


/* ==========================================================================
   POPUP ORARIO
   ========================================================================== */

.orario-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.orario-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.orario-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.orario-popup-content {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.orario-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: var(--ast-global-color-0, #b90c13);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 1;
}

.orario-popup-close:hover {
    background: #8a0a0f;
}

.orario-popup-content img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* ==========================================
   PAGE MAPPA Template
   ========================================== */

.mappa-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.mappa-header {
    text-align: center;
    margin-bottom: 40px;
}

.mappa-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 35px;
    font-weight: 700;
    color: #bfbebe;
    text-transform: uppercase;
    margin: 0;
}

.mappa-title span {
    color: var(--ast-global-color-0, #b90c13) !important;
}

/* Tabs */
.mappa-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.mappa-tab, button.mappa-tab {
    background: #fff !important;
    border: 2px solid var(--ast-global-color-0, #b90c13) !important;
    border-radius: 30px !important;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--ast-global-color-0, #b90c13) !important;
}

.mappa-tab:hover {
    background: transparent;
}

.mappa-tab.active {
    background: var(--ast-global-color-0, #b90c13) !important;
    border-color: var(--ast-global-color-0, #b90c13) !important;
    color: #fff !important;
}

/* Map Container */
.mappa-container {
    position: relative;
}

.mappa-floor {
    display: none;
}

.mappa-floor.active {
    display: block;
}

.mappa-image-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.mappa-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Hotspot styling */
.mappa-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-decoration: none;
}

.mappa-hotspot:hover {
    z-index: 100;
}

.hotspot-marker {
    display: block;
    width: 24px;
    height: 24px;
    background: var(--ast-global-color-0, #b90c13);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.mappa-hotspot:hover .hotspot-marker {
    transform: scale(1.3);
    background: #8a0a0f;
}

/* Tooltip */
.hotspot-tooltip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 10px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    text-align: center;
    min-width: 120px;
    z-index: 1000;
}

.hotspot-tooltip::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    content: '';
    top: 100%;
    border: 8px solid transparent;
    border-top-color: #fff;
}

.mappa-hotspot:hover .hotspot-tooltip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    visibility: visible;
}

.tooltip-logo {
    max-width: 80px;
    max-height: 40px;
    margin-bottom: 5px;
    object-fit: contain;
}

.tooltip-name {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .mappa-title {
        font-size: 24px;
    }

    .mappa-tabs {
        gap: 10px;
    }

    .mappa-tab, button.mappa-tab {
        padding: 10px 20px;
        font-size: 12px;
    }

    .hotspot-marker {
        width: 18px;
        height: 18px;
        border-width: 2px;
    }

    .hotspot-tooltip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
        min-width: 100px;
        padding: 8px 10px;
    }

    .tooltip-logo {
        max-width: 60px;
        max-height: 30px;
    }

    .tooltip-name {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .hotspot-marker {
        width: 14px;
        height: 14px;
    }

    .hotspot-tooltip {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
        display: none;
    }
}

/* Widescreen hotspot offset */
@media (min-width: 769px) {
    .mappa-hotspot {
    position: absolute;
        transform: translate(calc(-50% + 14px), -50%);
    }
}



/* ==========================================================================
   SINGLE STORE Template
   ========================================================================== */

.single-store-wrapper {
    padding-bottom: 60px;
}

/* Header Grid: Orari | Logo | Telefono */
.store-header {
    padding: 30px 0;
}

.store-header .ast-container {
    max-width: 1200px;
}

.store-header-grid {
    display: grid !important;
    grid-template-columns: 1fr 2fr 1fr !important;
    gap: 30px;
    align-items: center;
}

/* Orari */
.store-header-orari {
    border: 2px solid var(--ast-global-color-0, #b90c13);
    border-radius: 10px;
    padding: 0 15px 15px 15px;
    text-align: center;
    position: relative;
    padding-top: 0;
}
.store-orari-title {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--ast-global-color-0, #b90c13);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px 8px 0 0;
    display: block;
    width: calc(100% + 34px);
    margin: 0 -17px;
    text-align: center;
    line-height: 1;
}

.store-orari-content {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.store-orari-content p {
    margin: 0 0 5px;
}

.store-orari-line {
    display: flex;
    flex-direction: column;
}

.store-orari-label {
    color: var(--ast-global-color-0, #b90c13);
    font-weight: 500;
    font-size: 13px;
}

.store-orari-time {
    font-weight: 700;
    font-size: 18px;
    color: var(--ast-global-color-0);
}

/* Logo */
.store-header-logo {
    text-align: center;
}

.store-header-logo img {
    max-width: 280px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Telefono */
.store-header-telefono {
    text-align: right;
}

.store-telefono-link {
    display: block;
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    background: var(--ast-global-color-0, #b90c13);
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ast-global-color-0, #b90c13);
    text-decoration: none;
    transition: color 0.3s ease;
}

.store-telefono-link:hover {
    color: #8a0a0f;
}

/* Mappa Section */
.store-mappa-section {
    padding: 30px 0;
}

.store-mappa-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
}

.store-mappa-img {
    width: 100%;
    height: auto;
    display: block;
}

.store-mappa-hotspot {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--ast-global-color-0, #b90c13);
    border: 4px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(185, 12, 19, 0.4);
    animation: pulse-hotspot 2s infinite;
}

@keyframes pulse-hotspot {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.store-mappa-piano-label {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border: 2px solid var(--ast-global-color-0);
    border-radius: 5px;
    padding: 8px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--ast-global-color-0);
}

/* Title Section */
.store-title-section {
    padding: 30px 0 20px;
}

.store-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--ast-global-color-0);
    margin: 0;
}

/* Content Grid: Descrizione | Galleria */
.store-content-section {
    padding: 0 0 40px;
}

.store-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Descrizione */
.store-descrizione {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.store-descrizione p {
    margin: 0 0 15px;
}

.store-descrizione a {
    color: var(--ast-global-color-0, #b90c13);
    text-decoration: none;
}

.store-descrizione a:hover {
    text-decoration: underline;
}

/* Galleria */
.store-galleria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.store-galleria .gallery {
    display: contents;
}

.store-galleria figure,
.store-galleria .gallery-item {
    margin: 0;
}

.store-galleria img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .store-header-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        text-align: center;
    }
    
    .store-header-orari,
    .store-header-telefono {
        text-align: center;
    }
    
    .store-orari-line {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
    
    .store-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .store-galleria {
        order: -1;
    }
}

@media (max-width: 576px) {
    .store-header-logo img {
        max-width: 200px;
    }
    
    .store-title {
        font-size: 24px;
    }
    
    .store-telefono-link {
    display: block;
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    background: var(--ast-global-color-0, #b90c13);
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 25px;
        font-size: 16px;
    }
    
    .store-galleria {
        grid-template-columns: 1fr;
    }
    
    .store-galleria img {
        height: 200px;
    }
    
    .store-mappa-piano-label {
    position: absolute;
        font-size: 12px;
        padding: 6px 12px;
        bottom: 10px;
        right: 10px;
    }
}


/* ==========================================================================
   CUSTOM HEADER
   ========================================================================== */

.custom-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 999;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    height: 60px;
    width: auto;
}

/* Navigation */
.header-nav {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    background: rgba(128, 128, 128, 0.7);
    border-radius: 20px;
    padding: 10px 15px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 12px;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--ast-global-color-0, #b90c13);
}

/* Search */
.header-search {
    position: relative;
}

.header-search form {
    display: flex;
    align-items: center;
    background: rgba(128, 128, 128, 0.5);
    border-radius: 20px;
    overflow: hidden;
	height: 30px;
}

.header-search input {
    border: none;
    background: transparent;
    padding: 8px 15px;
    font-size: 14px;
    color: #fff;
}

input[type=search]:focus {
    outline: none !important;
	border:none !important;
}

.header-search input::placeholder {
    color: rgba(255,255,255,0.7);
}

.header-search button {
    background: transparent !important;
    border: none;
    padding: 8px 12px;
    color: #fff;
    cursor: pointer;
}

.header-search button svg {
    position:relative;
	top:3px;
}

/* CTA Button */
.header-cta {
    flex-shrink: 0;
}

.cta-button {
    display: inline-block;
    background: var(--ast-global-color-0, #b90c13);
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 25px;
    border-radius: 15px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #8a0a0f;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: #333;
    left: 0;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    top: 8px;
}

/* Responsive */
@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-nav {
        order: 3;
        width: 100%;
        display: none;
    }
    
    .header-nav.active {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        background: #333;
        border-radius: 10px;
        padding: 15px;
    }
    
    .nav-menu li a {
        display: block;
        padding: 10px 15px;
    }
    
    .header-search {
        width: 100%;
    }
    
    .header-search input {
        width: 100%;
    }
    
    .header-cta {
        display: none;
    }
    
    .cta-button {
        padding: 10px 15px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .header-logo img {
        height: 45px;
    }
}


/* ==========================================================================
   PREVENT iOS ZOOM ON INPUT FOCUS
   ========================================================================== */

@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    input[type="password"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px !important;
    }
}


/* ==========================================================================
   MENU TOGGLE - Override Astra styles
   ========================================================================== */

.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-color: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    outline: none !important;
}


/* ==========================================================================
   FIX ELEMENTOR CAROUSEL MOBILE
   ========================================================================== */

@media (max-width: 768px) {
    .e-n-carousel .swiper-slide {
        width: 80% !important;
        min-width: 280px !important;
    }
    
    .e-n-carousel .swiper-wrapper {
        display: flex !important;
    }
}
