/* VARIABILI UNIMORE BRAND */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}


/* BREADCRUMB */

.breadcrumb-area {
    margin: 20px auto 10px;
    font-size: 0.9rem;
}

.back-link {
    color: var(--unimore-blue);
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--text-muted);
}

.current-page {
    color: var(--text-muted);
}


/* LAYOUT A DUE COLONNE */

.detail-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 900px) {
    .detail-layout {
        grid-template-columns: 2fr 1fr;
    }
}


/* CARDS E CONTENITORI */

.detail-header-card,
.section-card,
.gallery-card,
.sticky-sidebar-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}


/* INTESTAZIONE ANNUNCIO */

.header-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.detail-title {
    font-size: 1.5rem;
    color: var(--grigio);
    margin-bottom: 8px;
    line-height: 1.3;
}

.detail-location {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 8px;
}

.detail-meta {
    font-size: 0.82rem;
    color: #94a3b8;
}


/* GALLERIA */

.gallery-card {
    padding: 12px;
}

.main-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.image-grid img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.image-grid img:hover {
    opacity: 0.8;
}


/* SEZIONE CAMERE */

.section-card h2 {
    font-size: 1.2rem;
    color: var(--granato);
    margin-bottom: 16px;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 8px;
}

.rooms-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.room-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
    padding: 14px 18px;
    border-radius: 8px;
    border-left: 4px solid var(--unimore-blue);
}

.room-info h3 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.room-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.room-price {
    text-align: right;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--unimore-red);
}

.all-inclusive {
    display: block;
    font-size: 0.75rem;
    color: #16a34a;
    font-weight: 600;
}


/* DESCRIZIONE */

.description-content p {
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.description-content ul {
    margin: 10px 0 16px 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.terms-note {
    background-color: #fffbeb;
    border: 1px solid #fef3c7;
    padding: 10px 14px;
    border-radius: 6px;
    color: #92400e;
}


/* GRIGLIA SERVIZI */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.feature-box {
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-box.active {
    background-color: var(--crema);
    color: var(--grigio);
}

.feature-box.disabled {
    background-color: #fafafa;
    color: #a1a1aa;
    text-decoration: line-through;
}


/* SIDEBAR STICKY */

@media (min-width: 900px) {
    .sticky-sidebar-card {
        position: sticky;
        top: 20px;
    }
}

.price-header {
    text-align: center;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--unimore-red);
    line-height: 1;
    margin: 6px 0;
}

.main-price .period {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-muted);
}

.price-badge {
    display: inline-block;
    background-color: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
}

.divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.cta-box h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.cta-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 16px;
}

.btn-primary {
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: var(--grigio);
}

.sub-cta-info {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 8px;
}

.quick-summary {
    margin-top: 20px;
    background-color: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
}

.summary-item span {
    color: var(--text-muted);
}