/* ============================================================
   Cristiano Location Widget for Elementor – v1.3.0
   ============================================================ */

/* ── Hero Banner ── */
.clw-hero {
    position: relative;
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Full-width: escape Elementor e-con-boxed container
   Uses negative margins equal to the container's own padding/margin.
   --container-max-width is 767px on mobile, larger on desktop.
   We pull left by 50vw and push width to 100vw, then use
   a stronger selector chain to beat the mobile override. */
.elementor-widget-container .clw-hero-fullwidth,
.clw-hero-fullwidth {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: none !important;
}

.clw-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    pointer-events: none;
}

/* Banner — Cinzel font matching theme H2, with !important to beat cached CSS */
.elementor-widget-container .clw-open-banner,
.clw-wrapper .clw-open-banner,
.clw-open-banner {
    position: relative;
    z-index: 2;
    background: rgba(80,80,80,0.75) !important;
    color: #fff !important;
    font-family: 'Cinzel', 'Georgia', serif !important;
    font-size: clamp(1.3rem, 4vw, 2rem) !important;
    font-weight: 400 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 0.55em 1.6em !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* ── Three-card row ── */
.clw-cards-row {
    display: flex;
    flex-direction: row;
    gap: 0;
    background: #fff;
}

.clw-card {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.8rem 2rem;
    border-right: 1px solid #ede8e2;
    box-sizing: border-box;
}

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

.clw-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #c8a96e;
    color: #fff;
    margin-bottom: 1.1rem;
    flex-shrink: 0;
}

.clw-card-icon svg {
    display: block;
}

.clw-card-heading {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #3a3028;
    margin: 0 0 1.1rem 0;
}

.clw-card-body {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

.clw-card-body a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.clw-card-body a:hover {
    color: #c8a96e;
}

/* ── Opening Hours list ── */
.clw-hours-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 260px;
}

.clw-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.45rem 0;
    border-bottom: 1px solid #e8e2da;
    font-size: 0.82rem;
    gap: 0.5rem;
}

.clw-hours-row:last-child {
    border-bottom: none;
}

.clw-day {
    font-family: 'Georgia', 'Times New Roman', serif;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.75rem;
    color: #444;
    white-space: nowrap;
    flex-shrink: 0;
}

.clw-time {
    color: #666;
    font-size: 0.82rem;
    white-space: nowrap;
    text-align: right;
}

.clw-hours-row.clw-highlighted .clw-day,
.clw-hours-row.clw-highlighted .clw-time {
    color: #c8a96e;
    font-weight: 600;
}

.clw-today-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-family: sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #c8a96e;
    color: #fff;
    border-radius: 3px;
    padding: 1px 4px;
    margin-left: 4px;
    vertical-align: middle;
    font-weight: 700;
    line-height: 1.6;
}

/* ── Responsive ── */
@media ( max-width: 780px ) {
    .clw-cards-row {
        flex-direction: column;
    }
    .clw-card {
        border-right: none;
        border-bottom: 1px solid #ede8e2;
    }
    .clw-card:last-child {
        border-bottom: none;
    }
    /* Keep full-width on mobile — must re-assert with same specificity */
    .elementor-widget-container .clw-hero-fullwidth,
    .clw-hero-fullwidth {
        width: 100vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-left: 0 !important;
    }
    .clw-open-banner {
        padding: 0.5em 1em !important;
    }
}

/* ── Open Until Badge (no image, hero hidden) ── */
.clw-open-badge-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    background: rgba(80,80,80,0.08);
    border-bottom: 1px solid #e8e2da;
    text-align: center;
}

.clw-open-badge-text {
    font-family: 'Cinzel', 'Georgia', serif;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3a3028;
}
