.negril-weather-card {
    margin: 2.5rem 0 3.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(51, 51, 51, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.negril-weather-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.negril-weather-eyebrow {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--gold);
}

.negril-weather-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
}

.negril-weather-temperature {
    font-size: 2.4rem;
    font-weight: 300;
    line-height: 1;
    color: var(--text);
}

.negril-weather-forecast {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(51, 51, 51, 0.1);
}

.negril-weather-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
}

.negril-weather-day-name {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text);
}

.negril-weather-icon {
    font-size: 1.2rem;
    line-height: 1.5;
}

.negril-weather-high {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
}

.negril-weather-low {
    font-size: 0.7rem;
    color: rgba(51, 51, 51, 0.55);
}

@media (max-width: 600px) {

    .negril-weather-card {
        margin: 2rem 0 3rem;
        padding: 1.25rem 1rem;
        border-radius: 15px;
    }

    .negril-weather-temperature {
        font-size: 2.1rem;
    }

    .negril-weather-forecast {
        gap: 0.25rem;
    }

    .negril-weather-day-name {
        font-size: 0.65rem;
    }

    .negril-weather-icon {
        font-size: 1rem;
    }

}

.negril-weather-insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(51, 51, 51, 0.1);
}

.negril-weather-insight {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0;
}

.negril-weather-insight-icon {
    flex: 0 0 auto;
    font-size: 1.15rem;
}

.negril-weather-insight div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.negril-weather-insight strong {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text);
}

.negril-weather-insight span {
    font-size: 0.68rem;
    line-height: 1.35;
    color: rgba(51, 51, 51, 0.6);
}

@media (max-width: 600px) {

    .negril-weather-insights {
        gap: 0.5rem;
    }

    .negril-weather-insight {
        gap: 0.5rem;
        padding: 0.5rem 0;
    }

    .negril-weather-insight-icon {
        font-size: 1rem;
    }

    .negril-weather-insight strong {
        font-size: 0.68rem;
    }

    .negril-weather-insight span {
        font-size: 0.64rem;
    }

}

@media (min-width: 769px) {

    .negril-weather-card {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

}

.weather-panel {
    position: fixed;
    top: 78px;
    right: 24px;
    width: min(390px, calc(100vw - 32px));

    background: rgba(255,255,255,.98);
    border: 1px solid rgba(205,163,73,.35);
    border-radius: 18px;

    box-shadow:
        0 18px 45px rgba(0,0,0,.14);

    z-index: 9998;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;
}

.weather-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.weather-panel-content {
    padding: 20px;
}

.weather-panel-header {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;

    padding-bottom:14px;
    border-bottom:1px solid rgba(205,163,73,.18);
}

.weather-panel-title {
    display:block;

    color:#222;
    font-family:var(--heading-font);
    font-size:1.05rem;
    font-weight:600;
    letter-spacing:.5px;
}

.weather-panel-condition {
    display:block;
    margin-top:3px;

    color:#777;
    font-size:.8rem;
}

.weather-panel-close {
    width:30px;
    height:30px;
    padding:0;

    border:1px solid rgba(205,163,73,.35);
    border-radius:50%;

    background:transparent;
    color:#777;

    font-size:1.35rem;
    line-height:1;

    cursor:pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.weather-panel-close:hover {
    background:var(--gold);
    border-color:var(--gold);
    color:white;
}

.weather-panel-current {
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;
    padding:18px 0;
}

.weather-panel-main {
    display:flex;
    align-items:center;
    gap:10px;
}

.weather-panel-icon {
    font-size:2rem;
    line-height:1;
}

.weather-panel-temperature {
    color:#222;
    font-size:2rem;
    font-weight:600;
}

.weather-panel-feels {
    color:#777;
    font-size:.8rem;
    text-align:right;
}

.weather-panel-feels strong {
    display:block;
    margin-top:2px;

    color:#222;
    font-size:.9rem;
}

.weather-panel-summary {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;

    padding:12px 0;

    border-top:1px solid rgba(205,163,73,.12);
    border-bottom:1px solid rgba(205,163,73,.12);
}

.weather-panel-summary-item {
    display:flex;
    align-items:flex-start;
    gap:7px;

    color:#555;
    font-size:.75rem;
    line-height:1.4;
}

.weather-panel-summary-item > span:first-child {
    flex-shrink:0;
}

.weather-panel-forecast {
    padding-top:15px;
}

.weather-panel-forecast h4 {
    margin:0 0 10px;

    color:#222;
    font-size:.75rem;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
}

.weather-panel-forecast-grid {
    display:grid;
    grid-template-columns:repeat(7, 1fr);
    gap:4px;
}

.weather-panel-day {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;

    padding:7px 2px;

    border-radius:8px;
}

.weather-panel-day-name {
    color:#777;
    font-size:.65rem;
    font-weight:600;
    text-transform:uppercase;
}

.weather-panel-day-icon {
    font-size:1rem;
    line-height:1.2;
}

.weather-panel-day-high {
    color:#222;
    font-size:.72rem;
    font-weight:600;
}

.weather-panel-day-low {
    color:#999;
    font-size:.65rem;
}

@media (max-width:700px) {

    .weather-panel {
        top:72px;
        left:16px;
        right:16px;
        width:auto;
    }

    .weather-panel-content {
        padding:18px;
    }

    .weather-panel-current {
        padding:16px 0;
    }

    .weather-panel-summary-item {
        font-size:.72rem;
    }

}