/**
 * Agriturismo Poggio Pollino - Global Styles & UX Fixes
 */

/* 1. Global typography and layout stability */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    font-family: 'Manrope', sans-serif;
    font-size: 16px; 
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif !important;
}

/* 2. Fix visual lines / artifacts during text selection or zoom */
::selection {
    background: rgba(200, 169, 106, 0.3); /* Accent color opacity */
    color: inherit;
}

* {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

/* Ensure clean rendering on sections and borders */
section, div, header, footer {
    background-clip: padding-box;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Fix zoom artifacts on images and boxes */
img {
    transform: translateZ(0);
    image-rendering: -webkit-optimize-contrast;
}

/* 3. Footer stability */
.footer-copyright, 
footer p, 
footer span {
    font-size: 10px !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* 4. Navbar fixes */
.nav-link {
    transition: color 0.3s ease, background-color 0.3s ease;
}

#main-header {
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

/* Ensure navbar stability */
.nav-scrolled {
    background-color: #5A1E1E !important;
}

/* 5. Lightbox enhancements */
#lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(31, 31, 31, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#lightbox-overlay.active {
    opacity: 1;
}

#lightbox-container {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

#lightbox-container img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    object-fit: contain;
}

#lightbox-close {
    position: absolute;
    top: 30px; right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    transition: transform 300ms ease;
}

#lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    transition: all 0.3s ease;
    user-select: none;
    z-index: 10001;
}

#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }

#lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-weight: 300;
}

#lightbox-counter {
    position: absolute;
    top: 30px;
    left: 30px;
    color: white;
    font-size: 14px;
    opacity: 0.6;
}

.lightbox-enabled:hover {
    cursor: pointer !important;
}

/* 6. Room stay options selectable logic */
.stay-option {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.stay-option.active {
    background-color: #5A1E1E !important;
    color: white !important;
    border-color: #5A1E1E !important;
}

.bed-option {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.bed-option.active,
.bed-option[data-selected="true"] {
    background-color: #5A1E1E !important;
    color: white !important;
    border-color: #5A1E1E !important;
    transition: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    button, input, select, textarea, .stay-option, .bed-option {
        min-height: 44px;
    }
    .room-detail-grid {
        grid-template-columns: 1fr !important;
    }
    .room-btn-full {
        width: 100% !important;
        display: block !important;
    }
}

/* 7. General Custom Styles */
.badge-granata {
    background-color: #5A1E1E;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

button:active, a.bg-primary:active, .stay-option:active, .bed-option:active {
    transition: none !important;
}

button, .btn {
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.text-vista-yellow {
    color: #C8A96A;
    font-size: 14px;
    font-weight: bold;
}

/* 8. AI Assistant Widget Style */
#ai-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (max-width: 768px) {
    #ai-widget-container {
        bottom: 20px;
        right: auto;
        left: 20px;
        align-items: flex-start;
    }
}

.ai-bubble {
    background: white;
    padding: 20px;
    border-radius: 20px 20px 4px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 250px;
    border: 1px solid rgba(200, 169, 106, 0.2);
    margin-bottom: 15px;
    animation: slideUp 0.3s ease-out;
}

@media (max-width: 768px) {
    .ai-bubble {
        border-radius: 20px 20px 20px 4px;
    }
}

.ai-icon {
    width: 60px;
    height: 60px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ai-icon:hover {
    transform: scale(1.05);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 9. AI Widget - round shape */
.ai-icon {
    width: 56px !important;
    height: 56px !important;
    min-width: unset !important;
    border-radius: 50% !important;
    padding: 0 !important;
    gap: 0 !important;
    flex-direction: column !important;
    color: #5A1E1E !important;
    font-size: 9px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.3;
    text-align: center;
}

/* 10. Carousel slide animations */
.carousel-inner, .carousel-track, [class*="carousel"],
[class*="slider"], .lightbox-content img {
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 11. GUIDAMI box */
.guidami-box {
    background: #d4af37;
    border-radius: 12px;
    padding: 14px 20px;
    color: #5A1E1E;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    width: 100%;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    transition: opacity 0.2s;
    box-sizing: border-box;
}
.guidami-box:hover { opacity: 0.9; }
.guidami-box span { font-family: 'Cormorant Garamond', serif; }

/* 12. Amenities modal */
.amenities-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(31,31,31,0.6);
    z-index: 9998;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.amenities-modal-overlay.active { display: flex; }

.amenities-modal {
    background: #f4f1e8;
    border: 2px solid #d4af37;
    border-radius: 16px;
    padding: 32px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.amenities-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5A1E1E;
    font-size: 18px;
    transition: transform 0.3s ease;
    border: 1px solid #d4af37;
    border-radius: 6px;
    background: transparent;
    line-height: 1;
}
.amenities-modal-close:hover { transform: rotate(90deg); }

.all-amenities-link {
    color: #5A1E1E;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    margin-top: 12px;
    display: inline-block;
    font-size: 13px;
}
.all-amenities-link:hover { text-decoration-style: solid; }

/* 13. Custom Calendar */
.pp-calendar-wrapper { position: relative; width: 100%; }

.pp-calendar-input {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 14px;
    border: 1px solid rgba(31,31,31,0.2);
    border-radius: 12px;
    background: #f4f1e8;
    font-size: 14px;
    color: #1F1F1F;
    min-height: 44px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
}
.pp-calendar-input:hover { border-color: #5A1E1E; }

.pp-calendar-dropdown {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    min-width: 280px;
}

.pp-calendar {
    background: #f4f1e8;
    border: 1px solid #d4af37;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    color: #5A1E1E;
    box-shadow: 0 4px 20px rgba(114,47,55,0.15);
    padding: 16px;
    user-select: none;
}

.pp-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.pp-calendar-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: #5A1E1E;
    font-size: 15px;
}

.pp-calendar-nav {
    color: #5A1E1E;
    border: 1px solid #d4af37;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s;
    line-height: 1;
}
.pp-calendar-nav:hover { background: rgba(114,47,55,0.1); }

.pp-calendar-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 6px;
}
.pp-calendar-day-name {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    color: #d4af37;
    padding: 4px 0;
    text-transform: uppercase;
}

.pp-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.pp-calendar-day {
    text-align: center;
    padding: 6px 2px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    color: #5A1E1E;
    transition: background 0.15s;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pp-calendar-day:hover { background: rgba(114,47,55,0.1); }
.pp-calendar-day.selected { background: #5A1E1E !important; color: #f4f1e8 !important; font-weight: 700 !important; }
.pp-calendar-day.today { border: 2px solid #d4af37; }
.pp-calendar-day.disabled { color: #ccc; pointer-events: none; }
.pp-calendar-day.empty { pointer-events: none; }

@media (max-width: 768px) {
    .guidami-box { width: 100%; }
    .pp-calendar-dropdown { width: 100%; min-width: unset; }
    .amenities-modal { padding: 24px 16px; }
}

/* =====================================================================
   Design tokens
   ===================================================================== */
:root {
    --color-burgundy:        #5A1E1E;
    --color-burgundy-light:  #8a3d46;
    --color-burgundy-dark:   #5a2329;
    --color-beige:           #f4f1e8;
    --color-cream:           #faf7f0;
    --color-gold:            #d4af37;
    --color-gold-soft:       #e8d4a0;
    --color-text-dark:       #2a1a1c;
    --color-text-muted:      rgba(42, 26, 28, 0.6);
    --shadow-card:           0 4px 20px rgba(114, 47, 55, 0.08);
    --radius-card:           12px;
    --transition-default:    200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Room page cream background (Task 5) */
body.room-page { background-color: var(--color-cream) !important; }

/* =====================================================================
   Navbar (Task 4)
   ===================================================================== */
.pp-header.pp-nav-blend {
    box-shadow: none !important;
}
.pp-header.pp-nav-granata .lang-switcher-text .lang-btn {
    color: rgba(255, 255, 255, 0.65) !important;
    transition: color 200ms ease, transform 200ms ease;
}
.pp-header.pp-nav-granata .lang-switcher-text .lang-btn.active,
.pp-header.pp-nav-granata .lang-switcher-text .lang-btn[data-active="true"] {
    color: #fff !important;
    font-weight: 600 !important;
}
.pp-header.pp-nav-granata .lang-switcher-text > span {
    color: rgba(255, 255, 255, 0.4) !important;
}
.nav-link, .lang-btn, #nav-cta-btn {
    transition: transform 200ms ease-out, text-shadow 200ms ease-out, color 200ms ease;
    display: inline-block;
}
.nav-link:hover, .lang-btn:hover, #nav-cta-btn:hover {
    transform: scale(1.05);
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* =====================================================================
   AI widget v2 (Task 8)
   ===================================================================== */
.ai-icon-v2 {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #e8d4a0 0%, #d4af37 100%) !important;
    box-shadow:
        0 4px 16px rgba(212, 175, 55, 0.35),
        0 0 0 1px rgba(212, 175, 55, 0.4) !important;
    color: #5A1E1E !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    position: relative;
    animation: pulse-soft 3s ease-in-out infinite;
    transition: transform 250ms ease, box-shadow 250ms ease;
    font-size: 0 !important;
    letter-spacing: 0 !important;
}
.ai-icon-v2:hover {
    transform: scale(1.1);
    box-shadow:
        0 6px 24px rgba(212, 175, 55, 0.55),
        0 0 0 2px rgba(212, 175, 55, 0.6) !important;
    animation-play-state: paused;
}
.ai-icon-v2 svg { display: block; }
.ai-icon-v2 .ai-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #2a1a1c;
    color: #f4f1e8;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease, transform 200ms ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.ai-icon-v2:hover .ai-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
@media (max-width: 768px) {
    .ai-icon-v2 .ai-tooltip {
        right: auto;
        left: calc(100% + 12px);
        transform: translateY(-50%) translateX(-8px);
    }
    .ai-icon-v2:hover .ai-tooltip {
        transform: translateY(-50%) translateX(0);
    }
}
@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* =====================================================================
   Pricing widget (Task 1)
   ===================================================================== */
.pw-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: rgba(42, 26, 28, 0.5);
    margin: 0 0 6px 8px;
}
.pw-date-block, .pw-guests-block { margin-bottom: 12px; }

.pw-date-btn {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(114, 47, 55, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    color: var(--color-text-dark);
    font-size: 14px;
    text-align: left;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}
.pw-date-btn:hover { border-color: var(--color-burgundy); }
.pw-date-btn:focus { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.pw-date-text { color: #999; font-size: 14px; }

.pw-guests {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(114, 47, 55, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    min-height: 48px;
    color: var(--color-text-dark);
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23722f37' stroke-width='2.5' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 38px;
}

.pw-panel {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--radius-card);
    padding: 18px 20px;
    margin: 14px 0;
    box-shadow: var(--shadow-card);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1),
                transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pw-panel.pw-empty,
.pw-panel.pw-loaded,
.pw-panel.pw-animate-in {
    opacity: 1;
    transform: translateY(0);
}
.pw-placeholder {
    font-style: italic;
    color: rgba(114, 47, 55, 0.7);
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    padding: 8px 0;
}
.pw-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
}
.pw-spinner {
    width: 28px; height: 28px;
    border: 3px solid rgba(212, 175, 55, 0.25);
    border-top-color: var(--color-burgundy);
    border-radius: 50%;
    animation: pw-spin 0.7s linear infinite;
}
@keyframes pw-spin { to { transform: rotate(360deg); } }
.pw-loading-text { color: var(--color-text-muted); font-size: 13px; }

.pw-result { display: flex; flex-direction: column; gap: 10px; }
.pw-event-badge {
    align-self: flex-start;
    background: linear-gradient(135deg, #e8d4a0 0%, #d4af37 100%);
    color: #5a2329;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.pw-total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid rgba(114, 47, 55, 0.1);
    padding-top: 6px;
}
.pw-total-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    font-weight: 600;
}
.pw-total-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--color-burgundy);
    line-height: 1;
}
.pw-subtitle {
    color: var(--color-text-dark);
    font-size: 14px;
}
.pw-citytax {
    font-size: 12px;
    color: var(--color-text-muted);
    border-top: 1px dashed rgba(114, 47, 55, 0.15);
    padding-top: 8px;
}
.pw-details summary {
    cursor: pointer;
    font-size: 12px;
    color: var(--color-burgundy);
    font-weight: 600;
    padding: 4px 0;
    list-style: none;
}
.pw-details summary::-webkit-details-marker { display: none; }
.pw-details summary::before {
    content: '+ ';
    font-weight: 700;
}
.pw-details[open] summary::before {
    content: '− ';
}
.pw-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 12px;
    background: rgba(244, 241, 232, 0.6);
    border-radius: 8px;
}
.pw-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: var(--color-text-dark);
}
.pw-row-date { font-weight: 600; min-width: 56px; }
.pw-row-event { color: var(--color-text-muted); font-size: 12px; }
.pw-row-price { font-weight: 700; color: var(--color-burgundy); }
.pw-tier {
    display: inline-block;
    background: var(--color-gold);
    color: #5a2329;
    font-weight: 700;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 4px;
}
.pw-policy {
    font-size: 11px;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 4px;
}
.pw-error {
    color: #5a2329;
    text-align: center;
    padding: 8px 0;
}
.pw-error-msg { font-size: 13px; margin-bottom: 6px; }
.pw-error-link { color: var(--color-burgundy); text-decoration: underline; font-size: 13px; }

.pw-calc-btn {
    width: 100%;
    background: transparent;
    color: var(--color-burgundy);
    border: 2px solid var(--color-burgundy);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: background 200ms ease, color 200ms ease, opacity 200ms ease;
    margin-bottom: 12px;
    min-height: 44px;
}
.pw-calc-btn:hover:not(:disabled) {
    background: var(--color-burgundy);
    color: var(--color-beige);
}
.pw-calc-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* easepick palette overrides */
.easepick-wrapper { --primary-color: #5A1E1E !important; }
.easepick-wrapper .container {
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    box-shadow: 0 10px 40px rgba(114, 47, 55, 0.15) !important;
    border-radius: 12px !important;
}
.easepick-wrapper .day.start, .easepick-wrapper .day.end {
    background-color: #5A1E1E !important;
    color: #f4f1e8 !important;
}
.easepick-wrapper .day.in-range {
    background-color: rgba(212, 175, 55, 0.25) !important;
    color: #2a1a1c !important;
}
.easepick-wrapper .day:hover {
    color: #5A1E1E !important;
}
@media (max-width: 768px) {
    .easepick-wrapper .container.inline-mode,
    .easepick-wrapper .container {
        position: fixed !important;
        top: 0 !important; left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        z-index: 99999 !important;
        border-radius: 0 !important;
        overflow-y: auto;
    }
    .easepick-wrapper::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 99998;
    }
}

/* PPCalendar month picker (Task 6) */
.pp-calendar-month-picker {
    background: #f4f1e8;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
}
.pp-month-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.pp-month-cell {
    text-align: center;
    padding: 8px 4px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: #5A1E1E;
    background: #fff;
    transition: background 150ms ease;
}
.pp-month-cell:hover { background: rgba(212, 175, 55, 0.25); }
.pp-month-cell.selected {
    background: #5A1E1E;
    color: #f4f1e8;
    font-weight: 700;
}

/* =====================================================================
   Mobile improvements (Task 7)
   ===================================================================== */
body.home-page { overflow-x: hidden; }
body.home-page > * { max-width: 100vw; }

[class*="carousel"], #mainPhotoContainer {
    touch-action: pan-y;
}

@media (max-width: 768px) {
    .pp-header.pp-nav-blend {
        background: rgba(244, 241, 232, 0.85) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    #mobile-menu.pp-mobile-open {
        background: #5A1E1E !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: #f4f1e8 !important;
    }
    #mobile-menu.pp-mobile-open a:not([style*="background"]),
    #mobile-menu.pp-mobile-open .lang-btn {
        color: #f4f1e8 !important;
    }
    #mobile-menu.pp-mobile-open a[style*="background"] {
        background-color: #C8A96A !important;
        color: #5A1E1E !important;
    }
}

/* =====================================================================
   ROUND 2 — Pricing widget v2 (Pilot: camera-doppia-vigneto.html)
   APPEND-ONLY. Override prior .pw-* rules via specificity, never edit them.
   ===================================================================== */

/* Sticky form container (desktop) */
.pw-form-container {
    background: #fdfaf3;
    border: 1px solid rgba(114, 47, 55, 0.2);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(114, 47, 55, 0.06);
    overflow: visible;
}

.pw-form-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-burgundy, #5A1E1E);
    margin: 0 0 18px;
    line-height: 1.2;
}

.pw-form-section {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(114, 47, 55, 0.08);
}
.pw-form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 14px;
    padding-bottom: 0;
}
.pw-form-section-rates { padding-top: 4px; }

/* Override prior .pw-label spacing for new layout */
.pw-form-container .pw-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: rgba(42, 26, 28, 0.55);
    margin: 0 0 6px 2px;
}

.pw-section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-burgundy, #5A1E1E);
    margin: 0 0 12px;
}
.pw-room-label {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--color-gold, #d4af37);
    margin-bottom: 8px;
}
.pw-bed-block {
    background: #faf7f0;
    border-radius: 10px;
    padding: 14px;
}

/* Inputs (form fields) */
.pw-field { margin-bottom: 10px; }
.pw-field:last-child { margin-bottom: 0; }
.pw-input {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(114, 47, 55, 0.18);
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    color: var(--color-text-dark, #2a1a1c);
    min-height: 44px;
    outline: none;
    font-family: inherit;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    box-sizing: border-box;
}
.pw-input:focus {
    border-color: var(--color-burgundy, #5A1E1E);
    box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.1);
}
.pw-textarea { resize: vertical; min-height: 80px; }

/* Date button override (slightly tighter) */
.pw-form-container .pw-date-btn {
    background: #fff;
    border: 1px solid rgba(114, 47, 55, 0.18);
    border-radius: 10px;
    min-height: 48px;
}
.pw-form-container .pw-date-text {
    color: rgba(42, 26, 28, 0.5);
}
.pw-form-container .pw-date-text-filled {
    color: var(--color-text-dark, #2a1a1c);
    font-weight: 500;
}
.pw-form-container .pw-guests {
    background: #fff;
    border: 1px solid rgba(114, 47, 55, 0.18);
    border-radius: 10px;
    min-height: 48px;
}

/* ---------- Rate toggle cards (§2.4) ---------- */
.pw-rates-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}
.pw-rate-card {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--color-beige, #f4f1e8);
    border: 1px solid rgba(114, 47, 55, 0.15);
    border-left: 1px solid rgba(114, 47, 55, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pw-rate-card:hover:not(.pw-selected) {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(114, 47, 55, 0.08);
}
.pw-rate-card.pw-selected {
    background: #faf7f0;
    border: 1px solid var(--color-burgundy, #5A1E1E);
    border-left: 4px solid var(--color-burgundy, #5A1E1E);
    box-shadow: 0 2px 12px rgba(114, 47, 55, 0.08);
    padding-left: 17px; /* compensate the 4px border-left */
}
.pw-rate-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.pw-radio-circle {
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-burgundy, #5A1E1E);
    border-radius: 50%;
    background: transparent;
    position: relative;
    transition: background 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pw-radio-circle.pw-selected {
    background: var(--color-burgundy, #5A1E1E);
}
.pw-radio-circle.pw-selected::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%) scale(1);
    animation: pw-dot-in 250ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes pw-dot-in {
    from { transform: translate(-50%, -50%) scale(0); }
    to   { transform: translate(-50%, -50%) scale(1); }
}
.pw-rate-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.pw-rate-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-burgundy, #5A1E1E);
    line-height: 1.2;
}
.pw-rate-subtitle {
    font-size: 13px;
    color: rgba(42, 26, 28, 0.7);
    line-height: 1.3;
}
.pw-rate-savings {
    font-weight: 700;
    color: var(--color-gold, #d4af37);
}
.pw-rate-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-burgundy, #5A1E1E);
    white-space: nowrap;
}

/* ---------- Price block (live total) ---------- */
.pw-price-block {
    background: #fff;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
    opacity: 1;
    transition: opacity 200ms ease;
}
.pw-price-block.pw-fade-in {
    animation: pw-slide-up 350ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pw-price-block.pw-crossfade { opacity: 0.4; }
@keyframes pw-slide-up {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.pw-price-block .pw-total-line {
    display: flex; justify-content: space-between; align-items: baseline;
    border: none; padding: 0;
}
.pw-price-block .pw-total-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(42, 26, 28, 0.6);
    font-weight: 600;
}
.pw-price-block .pw-total-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-burgundy, #5A1E1E);
    line-height: 1;
}
.pw-price-block .pw-subtitle {
    font-size: 13px;
    color: var(--color-text-dark, #2a1a1c);
    margin-top: 4px;
}
.pw-price-block .pw-policy {
    font-size: 12px;
    color: rgba(42, 26, 28, 0.65);
    font-style: italic;
    margin-top: 6px;
}

/* ---------- Breakdown accordion ---------- */
.pw-breakdown-accordion {
    margin-bottom: 12px;
    border: 1px solid rgba(114, 47, 55, 0.1);
    border-radius: 8px;
    background: #faf7f0;
}
.pw-breakdown-accordion > summary {
    cursor: pointer;
    list-style: none;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-burgundy, #5A1E1E);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.pw-breakdown-accordion > summary::-webkit-details-marker { display: none; }
.pw-breakdown-accordion > summary::before {
    content: '▸ ';
    display: inline-block;
    transition: transform 200ms ease;
}
.pw-breakdown-accordion[open] > summary::before { content: '▾ '; }
.pw-breakdown-accordion .pw-rows {
    padding: 6px 14px 4px;
    background: transparent;
    border-radius: 0;
    margin-top: 0;
}
.pw-breakdown-accordion .pw-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 4px 0;
    border-bottom: 1px dashed rgba(114, 47, 55, 0.08);
}
.pw-breakdown-accordion .pw-row:last-child { border-bottom: none; }
.pw-breakdown-accordion .pw-row-price {
    font-weight: 700;
    color: var(--color-burgundy, #5A1E1E);
}
.pw-breakdown-accordion .pw-citytax {
    font-size: 12px;
    color: rgba(42, 26, 28, 0.65);
    padding: 8px 14px 12px;
    border-top: 1px solid rgba(114, 47, 55, 0.08);
    font-style: italic;
}

/* ---------- Placeholder / loading skeleton / error ---------- */
.pw-form-container .pw-placeholder {
    font-style: italic;
    color: rgba(114, 47, 55, 0.6);
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    padding: 18px 8px;
    background: rgba(244, 241, 232, 0.4);
    border-radius: 8px;
    margin-bottom: 12px;
}
.pw-loading-skeleton {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 6px 0 16px;
}
.pw-skel-bar {
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, rgba(114,47,55,0.06) 0%, rgba(114,47,55,0.14) 50%, rgba(114,47,55,0.06) 100%);
    background-size: 200% 100%;
    animation: pw-skel 1.5s ease-in-out infinite;
}
.pw-skel-bar-short { width: 60%; }
@keyframes pw-skel {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.pw-error-message {
    background: rgba(255, 245, 245, 0.9);
    border: 1px solid rgba(180, 60, 60, 0.25);
    color: #8a2a2a;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* ---------- Submit button ---------- */
.pw-submit {
    width: 100%;
    background: var(--color-burgundy, #5A1E1E);
    color: var(--color-beige, #f4f1e8);
    border: none;
    border-radius: 10px;
    padding: 14px;
    min-height: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 13px;
    cursor: pointer;
    transition: background 200ms ease, transform 200ms ease;
    margin-top: 4px;
}
.pw-submit:hover { background: #5a2329; transform: translateY(-1px); }
.pw-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Persistent "no availability" banner (§3.5) ---------- */
.pw-availability-banner {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    width: min(92vw, 460px);
    background: #fff5f5;
    border: 1px solid rgba(114, 47, 55, 0.3);
    border-radius: 10px;
    padding: 18px 50px 18px 20px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    z-index: 10000;
    opacity: 0;
    transition: opacity 200ms ease, transform 200ms ease;
}
.pw-availability-banner.pw-availability-in {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.pw-availability-banner.pw-availability-fading {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
}
.pw-availability-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 26px;
    height: 26px;
    line-height: 1;
    background: transparent;
    border: none;
    color: var(--color-burgundy, #5A1E1E);
    font-size: 24px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 150ms ease, transform 150ms ease;
    padding: 0;
}
.pw-availability-close:hover { opacity: 1; transform: scale(1.1); }
.pw-availability-close:focus { outline: 2px solid var(--color-burgundy, #5A1E1E); outline-offset: 2px; opacity: 1; }
.pw-availability-title {
    font-family: 'Cormorant Garamond', serif;
    color: var(--color-burgundy, #5A1E1E);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}
.pw-availability-body {
    font-size: 14px;
    color: var(--color-text-dark, #2a1a1c);
    line-height: 1.5;
}
.pw-availability-alts {
    list-style: none;
    padding: 8px 0 0;
    margin: 8px 0 0;
    border-top: 1px dashed rgba(114, 47, 55, 0.15);
}
.pw-availability-alts li { padding: 4px 0; }
.pw-availability-alts a {
    color: var(--color-burgundy, #5A1E1E);
    text-decoration: underline;
    font-size: 14px;
}
.pw-availability-alts a:hover { color: #5a2329; }

/* ---------- Tier badges in breakdown ---------- */
.pw-breakdown-accordion .pw-tier {
    display: inline-block;
    background: var(--color-gold, #d4af37);
    color: #5a2329;
    font-weight: 700;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
}

/* ---------- Mobile (≤768px) ---------- */
@media (max-width: 768px) {
    .pw-form-container {
        padding: 22px 18px;
        border-radius: 14px;
        position: static;
        max-height: none;
    }
    .pw-form-heading { font-size: 24px; }
    .pw-rate-card {
        grid-template-columns: 18px 1fr auto;
        gap: 10px;
        padding: 14px 16px;
    }
    .pw-rate-title { font-size: 15px; }
    .pw-rate-price { font-size: 20px; }
    .pw-price-block .pw-total-value { font-size: 28px; }
    .pw-availability-banner {
        top: 80px;
        width: 92vw;
    }
}

/* =====================================================================
   ROUND 2.1 — Pilot fixes
   ===================================================================== */

/* T4 — Calendar must not be clipped */
.pw-form-container,
.pw-form-section { overflow: visible; }
.easepick-wrapper { z-index: 100; }

/* T5 — easepick visual restyle */
.easepick-wrapper .container {
    background: #f4f1e8 !important;
    border: 1px solid rgba(114, 47, 55, 0.2) !important;
    box-shadow: 0 8px 24px rgba(114, 47, 55, 0.12) !important;
    border-radius: 8px !important;
}
.easepick-wrapper .day.in-range,
.easepick-wrapper .day.start,
.easepick-wrapper .day.end {
    background: #5A1E1E !important;
    color: #fff !important;
}
.easepick-wrapper .day.in-range:not(.start):not(.end) {
    background: rgba(114, 47, 55, 0.15) !important;
    color: #2a1a1c !important;
}
.easepick-wrapper .day:hover:not(.locked) {
    background: rgba(114, 47, 55, 0.25);
}
.easepick-wrapper button.previous-button,
.easepick-wrapper button.next-button { color: #5A1E1E; }

/* T8 — Box contrast + font sizes */
.pw-form-container .pw-form-heading { font-size: 22px; }
.pw-form-container .pw-label { font-size: 11px; }
.pw-form-container .pw-input { font-size: 15px; }
.pw-form-container .pw-price-block .pw-total-value { font-size: 32px; }
.pw-breakdown-accordion .pw-row { font-size: 13px; }

/* T10 — Mobile heading size */
@media (max-width: 768px) {
    main h1, .room-page h1 {
        font-size: 28px !important;
        line-height: 1.15;
        margin: 16px 0 12px;
    }
}

/* === Form box granata variant === */
.pw-form-container.pw-granata {
    background-color: #5A1E1E;
    padding: 32px 28px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.pw-form-container.pw-granata .pw-form-heading {
    color: #F5F1EA;
    font-size: 26px;
}

.pw-form-container.pw-granata .pw-label,
.pw-form-container.pw-granata [data-pw-key] {
    color: #C8A96A;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pw-form-container.pw-granata .pw-input,
.pw-form-container.pw-granata .pw-textarea,
.pw-form-container.pw-granata .pw-guests {
    background-color: #F5F1EA;
    color: #1F1F1F;
    border: 1px solid #d4af37;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 16px;
}

.pw-form-container.pw-granata .pw-input::placeholder,
.pw-form-container.pw-granata .pw-textarea::placeholder {
    color: rgba(107, 91, 91, 0.6);
}

.pw-form-container.pw-granata .pw-date-btn {
    background-color: #F5F1EA;
    color: #5A1E1E;
    border: 1px solid #d4af37;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 8px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.pw-form-container.pw-granata .pw-rate-card {
    background-color: #EAE2D2;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 14px;
    border-radius: 8px;
    opacity: 0.75;
    transition: opacity 0.15s, border-color 0.15s;
    cursor: pointer;
}
.pw-form-container.pw-granata .pw-rate-card:hover {
    opacity: 0.92;
}

.pw-form-container.pw-granata .pw-rate-card.pw-selected {
    background-color: #F5F1EA;
    border: 3px solid #C8A96A;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(200, 169, 106, 0.3);
}

.pw-form-container.pw-granata .pw-rate-title,
.pw-form-container.pw-granata .pw-rate-price {
    color: #1F1F1F;
    font-weight: 600;
}

.pw-form-container.pw-granata .pw-rate-subtitle {
    color: #5A1E1E;
    font-weight: 500;
}

.pw-form-container.pw-granata .pw-total-line {
    color: #F5F1EA;
}

.pw-form-container.pw-granata .pw-total-label {
    color: #F5F1EA;
}

.pw-form-container.pw-granata .pw-total-value {
    color: #C8A96A;
    font-weight: 700;
    font-size: 26px;
}

.pw-form-container.pw-granata .pw-subtitle {
    color: rgba(245, 241, 234, 0.7);
}

.pw-form-container.pw-granata .pw-policy {
    color: rgba(200, 169, 106, 0.95);
    font-style: italic;
    font-weight: 500;
}
.pw-form-container.pw-granata .pw-price-block {
    background-color: transparent !important;
    border: none !important;
    padding: 12px 0 !important;
    margin-top: 8px;
    border-top: 1px solid rgba(212, 175, 55, 0.3) !important;
}
.pw-form-container.pw-granata .pw-total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.pw-form-container.pw-granata .pw-citytax-row {
    color: rgba(245, 241, 234, 0.7);
    font-size: 11px;
    font-style: italic;
    text-align: center;
    margin-top: 8px;
}

.pw-form-container.pw-granata .pw-submit {
    background-color: #C8A96A;
    color: #5A1E1E;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: 100%;
    letter-spacing: 0.08em;
    transition: background-color 0.15s;
}

.pw-form-container.pw-granata .pw-submit:hover {
    background-color: #d4af37;
}


/* === Batch B2: Navbar pagina attiva + lang separator === */
.nav-link-active {
    color: #C8A96A !important;
    border-bottom: 2px solid #C8A96A;
    padding-bottom: 4px;
}
.lang-sep {
    color: inherit;
}


/* === Batch 4b: bed config selector === */
.pw-bed-config { margin: 12px 0; }
.pw-bed-config > .pw-label { display: block; margin-bottom: 8px; }
.pw-bed-room-fixed { font-size: 13px; color: #5A1E1E; margin-bottom: 10px; }
.pw-bed-room-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: #8a7a6a; margin-bottom: 6px; }
.pw-bed-group { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.pw-bed-option {
    flex: 1;
    min-width: 120px;
    padding: 10px 14px;
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 8px;
    background: #EAE2D2;
    color: #5A1E1E;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.75;
    transition: opacity 0.15s, border-color 0.15s, background-color 0.15s;
}
.pw-bed-option:hover { opacity: 0.92; }
.pw-bed-option.active {
    background: #F5F1EA;
    border: 2px solid #C8A96A;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(200, 169, 106, 0.3);
}

/* === [FIX5] Scroll-reveal condiviso ===================================== */
/* Stato iniziale (opacity:0) applicato SOLO con JS attivo: senza la classe
   .js-reveal-ready (messa da components.js) i contenuti restano visibili. */
.js-reveal-ready .reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 2.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 2.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}
.js-reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Accessibilità: "riduci movimento" -> nessuna animazione, comparsa immediata. */
@media (prefers-reduced-motion: reduce) {
    .js-reveal-ready .reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        transition-delay: 0s !important;
    }
}
/* === fine [FIX5] ======================================================== */
/* === [MENU-ANIM] Apertura/chiusura animata menu mobile ================== */
@media (max-width: 768px) {
    #mobile-menu.pp-anim {
        display: block;
        opacity: 0;
        transform: translateY(-12px);
        transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
        pointer-events: none;
    }
    #mobile-menu.pp-anim.pp-mobile-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    #mobile-menu.pp-anim .flex.flex-col > * {
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    }
    #mobile-menu.pp-anim.pp-mobile-open .flex.flex-col > * {
        opacity: 1;
        transform: translateY(0);
    }
    #mobile-menu.pp-anim.pp-mobile-open .flex.flex-col > *:nth-child(1) { transition-delay: 0.05s; }
    #mobile-menu.pp-anim.pp-mobile-open .flex.flex-col > *:nth-child(2) { transition-delay: 0.10s; }
    #mobile-menu.pp-anim.pp-mobile-open .flex.flex-col > *:nth-child(3) { transition-delay: 0.15s; }
    #mobile-menu.pp-anim.pp-mobile-open .flex.flex-col > *:nth-child(4) { transition-delay: 0.20s; }
    #mobile-menu.pp-anim.pp-mobile-open .flex.flex-col > *:nth-child(5) { transition-delay: 0.25s; }
    #mobile-menu.pp-anim.pp-mobile-open .flex.flex-col > *:nth-child(6) { transition-delay: 0.30s; }
    #mobile-menu.pp-anim.pp-mobile-open .flex.flex-col > *:nth-child(7) { transition-delay: 0.35s; }
    #mobile-menu.pp-anim.pp-mobile-open .flex.flex-col > *:nth-child(8) { transition-delay: 0.40s; }
    #mobile-menu.pp-anim.pp-mobile-open .flex.flex-col > *:nth-child(n+9) { transition-delay: 0.45s; }
}
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
    #mobile-menu.pp-anim,
    #mobile-menu.pp-anim .flex.flex-col > * {
        transition: none !important;
        transform: none !important;
    }
}
/* === fine [MENU-ANIM] =================================================== */
/* === [PP-SPLIT] Box foto+testo alternati (modello riusabile) ============ */
.pp-split { display: flex; align-items: stretch; width: 100%; background: #F5F1EA; }
.pp-split__media { flex: 0 0 58%; max-width: 58%; }
.pp-split__text {
    flex: 0 0 42%; max-width: 42%;
    display: flex; flex-direction: column; justify-content: center;
    padding: 3rem clamp(1.5rem, 5vw, 5rem);
}
.pp-split__eyebrow {
    font-family: 'Manrope', sans-serif; color: #C8A96A;
    text-transform: uppercase; letter-spacing: 0.25em;
    font-size: 0.8rem; font-weight: 700; display: block; margin: 0 0 1rem 0;
}
.pp-split__title {
    font-family: 'Cormorant Garamond', serif; color: #5A1E1E;
    font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700;
    line-height: 1.05; letter-spacing: -0.01em; margin: 0 0 1.25rem 0;
}
.pp-split__subtitle {
    font-family: 'Manrope', sans-serif; color: rgba(31,31,31,0.6);
    font-size: clamp(1.05rem, 1.6vw, 1.4rem); font-weight: 300;
    line-height: 1.6; max-width: 32ch; margin: 0;
}
.pp-split--img-right { flex-direction: row-reverse; }
@media (max-width: 768px) {
    .pp-split, .pp-split--img-right { flex-direction: column; }
    .pp-split__media, .pp-split__text { flex: 1 1 auto; max-width: 100%; }
    .pp-split__media { height: auto; }
    .pp-split__text { padding: 2.25rem 1.5rem 2.75rem; text-align: center; align-items: center; }
    .pp-split__eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; }
    .pp-split__title { font-size: 2.25rem; line-height: 1.15; }
    .pp-split__subtitle { font-size: 1.0625rem; line-height: 1.55; max-width: 36ch; margin: 0 auto; }
}
/* === fine [PP-SPLIT] =================================================== */
/* === [PP-PARALLAX] Cornice parallax riusabile ========================== */
.pp-parallax { position: relative; overflow: hidden; width: 100%; aspect-ratio: 21 / 9; }
.pp-parallax__img {
    position: absolute; left: 0; top: 0;
    width: 100%; height: 160%;
    object-fit: cover; object-position: center 60%;
    transform: translate3d(0, 0, 0); will-change: transform; --pp-bias: 0;
}
@media (max-width: 768px) {
    .pp-parallax { aspect-ratio: auto; height: 72vh; height: 72dvh; } /* mobile: box piu alto, non 21:9 */
    .pp-parallax__img { height: 155%; --pp-bias: 0.47; }                /* drift gentile ma percepibile */
}
@media (prefers-reduced-motion: reduce) {
    .pp-parallax__img { height: 100%; transform: none !important; }
}
/* === fine [PP-PARALLAX] ================================================ */
/* === [PP-STACCO] Stacco/heading di sezione (riusabile) ================= */
.pp-stacco { text-align: center; background: #5A1E1E; padding: clamp(2rem, 4.5vw, 4rem) 1.5rem; }
.pp-stacco .pp-split__eyebrow { margin-bottom: 1.25rem; }
.pp-stacco__title { margin: 0; color: #fff; }
/* === fine [PP-STACCO] ================================================= */
/* === [PP-IMMERSIVE] Foto fullwidth + velo + testo bianco (riusabile) === */
.pp-immersive { position: relative; overflow: hidden; width: 100%; height: 88vh; }
.pp-immersive__bg { position: absolute; inset: 0; z-index: 1; }
.pp-immersive__frame { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; width: 100%; }
.pp-immersive__veil { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.40) 45%, rgba(0,0,0,0.65) 100%); z-index: 2; }
.pp-immersive__content {
    position: relative; z-index: 3; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 1.5rem; color: #fff;
    max-width: 60rem; margin: 0 auto; padding: 2rem clamp(1.5rem, 6vw, 6rem);
}
.pp-immersive__title {
    font-family: 'Cormorant Garamond', serif; color: #fff;
    font-size: clamp(2.5rem, 5.5vw, 4.75rem); font-weight: 700; line-height: 1.1; margin: 0;
    text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}
.pp-immersive__subtitle {
    font-family: 'Manrope', sans-serif; color: rgba(255,255,255,0.88);
    font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 300; line-height: 1.6; margin: 0; max-width: 46ch;
}
.pp-immersive__cta {
    display: inline-block; margin-top: 0.5rem; background: #5A1E1E; color: #fff;
    padding: 1.15rem 3rem; border-radius: 0.5rem;
    font-family: 'Manrope', sans-serif; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.95rem;
    transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.pp-immersive__cta:hover { background: #6f2626; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(90,30,30,0.45); }
.pp-immersive .pp-parallax__img { height: 150%; --pp-bias: 0; object-position: center 50%; }
.js-reveal-ready .pp-immersive__bg.reveal { transform: none; }
@media (max-width: 768px) {
    .pp-immersive { height: 82vh; }
    .pp-immersive__content { padding: 2rem 1.5rem; gap: 1.25rem; }
    .pp-immersive__subtitle { font-size: 1.0625rem; }
}
/* === fine [PP-IMMERSIVE] ============================================== */
/* === [PP-FRAME] Cornice statica cover per .pp-split (no parallax) ======= */
.pp-frame { position: relative; overflow: hidden; width: 100%; aspect-ratio: 21 / 9; }
.pp-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@media (max-width: 768px) { .pp-frame { aspect-ratio: auto; height: 56vh; } }

.pp-split__cta {
    display: inline-block; align-self: flex-start; margin-top: 0.5rem;
    background: #5A1E1E; color: #fff; padding: 1rem 2.5rem; border-radius: 0.5rem;
    font-family: 'Manrope', sans-serif; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem;
    transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.pp-split__cta:hover { background: #6f2626; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(90,30,30,0.35); }
@media (max-width: 768px) { .pp-split__cta { align-self: center; } }
/* === fine [PP-FRAME] ================================================== */
/* === [PP-SPLIT-RISTO] Box ristorante: RISTOCUT (gia' ritagliata) mostrata INTERA */
/* Testo piu spaziato + interlinea (tutte le viewport) */
.pp-split--risto .pp-split__eyebrow { margin-bottom: 1.6rem; }
.pp-split--risto .pp-split__title { margin-bottom: 1.85rem; }
.pp-split--risto .pp-split__subtitle { margin-bottom: 2.4rem; line-height: 1.85; }
.pp-split--risto .pp-split__cta { margin-top: 0.75rem; }

/* Cornice = proporzione NATIVA di RISTOCUT (3024x2774) -> foto INTERA, nessun ritaglio forzato */
.pp-split--risto .pp-parallax { aspect-ratio: 3024 / 2774; height: auto; }

/* DESKTOP (>768px): RISTOCUT intera, STATICA (img 100% -> travel 0). Colonna 54/46. Overlay leggero. */
@media (min-width: 769px) {
    .pp-split--risto .pp-split__media { flex: 0 0 54%; max-width: 54%; padding: 0; }
    .pp-split--risto .pp-split__text { flex: 0 0 46%; max-width: 46%; }
    .pp-split--risto .pp-parallax__img { height: 100%; object-position: center; --pp-bias: 0; }
    .pp-split--risto .pp-parallax::after {
        content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
        background:
            radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(0,0,0,0.13) 100%),
            rgba(90,30,30,0.07);
    }
}

/* MOBILE (<=768px): usa RISTO.jpeg (verticale 3:4, EXIF 6 -> via <picture>/<img>, mai background).
   Cornice 75dvh full-width + object-fit cover -> taglia sopra/sotto in egual misura, mai i lati.
   img 112% = filo di parallax verticale (piu leggero del panorama). TESTO poi FOTO. */
@media (max-width: 768px) {
    .pp-split--risto { flex-direction: column-reverse; }
    .pp-split--risto .pp-split__media { padding: 0; display: block; }
    .pp-split--risto .pp-parallax { aspect-ratio: auto; height: 75dvh; width: 100%; overflow: hidden; }
    .pp-split--risto .pp-parallax__img { width: 100%; height: 112%; object-fit: cover; object-position: center; --pp-bias: 0.1; }
    .pp-split--risto .pp-parallax picture { display: contents; }
}
/* === fine [PP-SPLIT-RISTO] ============================================ */


/* === [PP-SPLIT-PISCINA] Box piscina: foto a destra, desktop 16:9, mobile come risto === */
.pp-split--piscina .pp-parallax { aspect-ratio: 16 / 9; }
@media (min-width: 769px) {
    /* stacco crema SOLO desktop (padding interno = sfondo crema del box) + foto che riempie la colonna (no buco -> no striscia) */
    .pp-split--piscina { align-items: stretch; background: #F5F1EA; }
    .pp-split--piscina .pp-split__media { flex: 0 0 54%; max-width: 54%; display: flex; }
    .pp-split--piscina .pp-split__text { flex: 0 0 46%; max-width: 46%; }
    .pp-split--piscina .pp-parallax { height: 100%; width: 100%; }
    .pp-split--piscina .pp-parallax__img { height: 100%; object-position: center; --pp-bias: 0; }
}
@media (max-width: 768px) {
    .pp-split--piscina { flex-direction: column-reverse; }
    .pp-split--piscina .pp-split__media { padding: 0; display: block; }
    .pp-split--piscina .pp-parallax { aspect-ratio: auto; height: 75dvh; width: 100%; overflow: hidden; }
    .pp-split--piscina .pp-parallax__img { width: 100%; height: 112%; object-fit: cover; object-position: center; --pp-bias: 0.1; }
}
/* === fine [PP-SPLIT-PISCINA] === */

/* === [PP-IMMERSIVE-CONTATTI] Box contatti: desktop 21:9, velo piu carico, dati + social === */
@media (min-width: 769px) {
    .pp-immersive--contatti { height: auto; aspect-ratio: 21 / 9; min-height: 34rem; }
}
.pp-immersive--contatti .pp-immersive__veil {
    background: linear-gradient(to bottom, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.72) 100%);
}
.pp-immersive--contatti .pp-immersive__content { gap: 1.1rem; }
.pp-contatti__info {
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    font-family: 'Manrope', sans-serif; color: rgba(255,255,255,0.92);
    font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 300; line-height: 1.5;
}
.pp-contatti__info a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); transition: border-color 200ms ease; }
.pp-contatti__info a:hover { border-color: #fff; }
.pp-contatti__social { display: flex; gap: 1.5rem; margin-top: 0.4rem; }
.pp-contatti__social a {
    color: #C8A96A; display: inline-flex; align-items: center; justify-content: center;
    text-decoration: none; border-bottom: none;
    transition: color 220ms ease, transform 220ms ease;
}
.pp-contatti__social a:hover { color: #F5F1EA; transform: translateY(-2px) scale(1.08); }
.pp-contatti__social svg { width: 36px; height: 36px; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 768px) {
    .pp-immersive--contatti { height: 82vh; height: 82dvh; }
}
/* === fine [PP-IMMERSIVE-CONTATTI] === */

/* === [ROOM-AMENITIES-MOBILE] Box servizi stile TheSense solo mobile === */
@media (max-width: 768px) {
    .room-amenities-box {
        border: none !important;
        border-radius: 0 !important;
        background-color: #F3EAD3 !important;
        width: auto;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding: 2.5rem clamp(1.5rem, 6vw, 2rem) !important;
        box-shadow: none !important;
    }
    .room-amenities-box h3 { color: #5A1E1E !important; font-size: 1.6rem; margin-bottom: 1.5rem; }
    .room-amenities-box ul { grid-template-columns: 1fr !important; gap: 1.4rem 0 !important; }
    .room-amenities-box li span { color: #5A1E1E !important; font-size: 1.1rem; font-weight: 400; }
    .room-amenities-box li svg {
        width: 1.9rem !important; height: 1.9rem !important;
        color: #5A1E1E !important; stroke: #5A1E1E !important;
    }
    .room-amenities-box .all-amenities-link { color: #5A1E1E !important; font-weight: 600; }
}
/* === fine [ROOM-AMENITIES-MOBILE] === */

/* === [ROOM-DESCRIPTION-JUSTIFY] Testo descrizione giustificato (desktop+mobile) === */
.room-description p { text-align: justify; text-justify: inter-word; }
/* === fine [ROOM-DESCRIPTION-JUSTIFY] === */

/* === [FILTER-ACTIVE] Filtro selezionato: granata pieno (robusto, non dipende da Tailwind CDN) === */
.filter-btn.is-active {
    background-color: #5A1E1E !important;
    color: #ffffff !important;
    border-color: #5A1E1E !important;
}
/* === fine [FILTER-ACTIVE] === */

/* === [PW-PEEK-BAR] Anteprima prenota fissa in basso, solo mobile === */
#pw-peek-bar { display: none; }
@media (max-width: 768px) {
    #pw-peek-bar {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        gap: 4px;
        position: fixed; z-index: 50;
        left: 1.5rem; right: 1.5rem; width: auto;
        min-height: 13vh; padding: 14px 20px;
        background: #5A1E1E; color: #F5F1EA;
        border: 1px solid #C8A96A;
        border-radius: 16px;
        bottom: 1.25rem;
        box-shadow: 0 8px 24px rgba(90,30,30,0.35);
        cursor: pointer;
        transition: opacity 300ms ease, transform 300ms ease;
        font-family: 'Manrope', sans-serif;
    }
    #pw-peek-bar.pw-peek-hidden { opacity: 0; transform: translateY(100%); pointer-events: none; }
    .pw-peek-title { font-family: 'Manrope', sans-serif; font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
    .pw-peek-sub { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; opacity: 0.9; letter-spacing: 0.04em; }
    body { padding-bottom: 16vh; }
}
/* === fine [PW-PEEK-BAR] === */

/* === [DESC-STRONG] === */
.room-description strong { color: #5A1E1E; font-weight: 700; }
/* === fine [DESC-STRONG] === */

/* === [PEEK-MENUHIDE] barra prenota nascosta quando il menu mobile e aperto === */
#pw-peek-bar.pw-peek-menuhidden { opacity: 0 !important; transform: translateY(120%) !important; pointer-events: none !important; }
/* === fine [PEEK-MENUHIDE] === */


/* === [PP-ABOUT] strisce chi-siamo: foto+testo alti uguali, attaccate === */
.pp-about { display: flex; align-items: stretch; width: 100%; background: #F5F1EA; margin: 0; }
.pp-about__media { flex: 0 0 58%; max-width: 58%; overflow: hidden; align-self: stretch; }
.pp-about__media .pp-parallax { width: 100%; height: 100%; aspect-ratio: 21 / 9; }
.pp-about__text { /* il flex 42% lo definisce la riga sotto, NON toccare qui */ }
.pp-about__text { flex: 0 0 42%; max-width: 42%; display: flex; flex-direction: column; justify-content: center; padding: clamp(2.5rem,5vw,5rem); }
.pp-about--img-right { flex-direction: row-reverse; }
.pp-about__eyebrow { font-family:'Manrope',sans-serif; color:#C8A96A; text-transform:uppercase; letter-spacing:0.25em; font-size:0.8rem; font-weight:700; display:block; margin:0 0 1rem 0; }
.pp-about__text p { font-family:'Manrope',sans-serif; color:rgba(31,31,31,0.7); font-size:clamp(1.2rem,1.6vw,1.5rem); font-weight:300; line-height:1.65; margin:0 0 1rem 0; text-align:justify; }
.pp-about-full { background:#F5F1EA; text-align:center; padding:clamp(3rem,6vw,5.5rem) clamp(1.5rem,6vw,6rem); }
.pp-about-full__eyebrow { font-family:'Manrope',sans-serif; color:#C8A96A; text-transform:uppercase; letter-spacing:0.25em; font-size:0.8rem; font-weight:700; display:block; margin:0 0 1rem 0; }
.pp-about-full p { font-family:'Manrope',sans-serif; color:rgba(31,31,31,0.7); font-size:clamp(1.25rem,1.7vw,1.55rem); font-weight:300; line-height:1.75; max-width:62ch; margin:0 auto; }
.pp-about-full__title { font-family:'Cormorant Garamond',serif; color:#5A1E1E; font-size:clamp(2.2rem,4vw,3.5rem); font-weight:700; line-height:1.1; margin:0 0 1.5rem 0; }
.pp-about-final { background:#5A1E1E; text-align:center; padding:clamp(2.5rem,4vw,3.5rem) clamp(1.5rem,6vw,6rem); }
.pp-about-final .pp-about-full__eyebrow { color:#C8A96A; }
.pp-about-final__title { font-family:'Cormorant Garamond',serif; color:#fff; font-size:clamp(2.4rem,4.5vw,4rem); font-weight:700; line-height:1.1; margin:0 0 1.25rem 0; }
.pp-about-final p { color:rgba(255,255,255,0.85); max-width:54ch; margin:0 auto 2rem auto; font-family:'Manrope',sans-serif; font-weight:300; line-height:1.65; font-size:clamp(1.05rem,1.5vw,1.3rem); }
.pp-about-final__cta { display:inline-block; background:#C8A96A; color:#5A1E1E; padding:1.1rem 3rem; border-radius:0.5rem; font-family:'Manrope',sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:0.12em; font-size:0.95rem; text-decoration:none; transition:opacity 0.2s; }
.pp-about-final__cta:hover { opacity:0.9; }
@media (max-width:768px) {
    .pp-about, .pp-about--img-right { flex-direction: column; }
    .pp-about__media, .pp-about__text { flex:1 1 auto; max-width:100%; }
    .pp-about__media { order:2; }
    .pp-about__media .pp-parallax { aspect-ratio:auto; height:72vh; height:72dvh; }
    .pp-about__text { order:1; padding:1.75rem 1.5rem; text-align:center; }
    .pp-about__text p { text-align:center; margin-bottom:0.5rem; }
    .pp-about-full { padding:2.5rem 1.5rem; }
    .pp-about-full p { margin-bottom:0.5rem; }
}
/* === fine [PP-ABOUT] === */


/* === [CONTACT-FORM] === */
.contact-form { background:#5A1E1E; border:1px solid #C8A96A; border-radius:16px; padding:clamp(2rem,3.5vw,3rem); }
.contact-form__title { font-family:'Cormorant Garamond',serif; color:#F5F1EA; font-size:clamp(2.1rem,3.4vw,2.9rem); font-weight:700; margin:0 0 1.75rem 0; }
.contact-form__field { margin-bottom:1.5rem; }
.contact-form__label { display:block; font-family:'Manrope',sans-serif; font-size:0.92rem; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; color:#C8A96A; margin-bottom:0.6rem; }
.contact-form__input, .contact-form__textarea { width:100%; padding:0.95rem 1.1rem; border:1px solid rgba(245,241,234,0.25); border-radius:8px; font-family:'Manrope',sans-serif; font-size:1.1rem; color:#1f1f1f; background:#F5F1EA; box-sizing:border-box; }
.contact-form__input::placeholder, .contact-form__textarea::placeholder { color:rgba(31,31,31,0.45); }
.contact-form__input:focus, .contact-form__textarea:focus { outline:none; border-color:#C8A96A; box-shadow:0 0 0 2px rgba(200,169,106,0.3); }
.contact-form__textarea { min-height:140px; resize:vertical; }
.contact-form__submit { width:100%; padding:1.1rem; border-radius:8px; font-family:'Manrope',sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; font-size:1rem; border:none; cursor:not-allowed; background:rgba(245,241,234,0.25); color:#F5F1EA; }
.contact-form__note { margin-top:1rem; font-family:'Manrope',sans-serif; font-size:0.95rem; color:rgba(245,241,234,0.8); text-align:center; }
.contact-form__note a { color:#C8A96A; text-decoration:underline; font-weight:600; }
.contact-info__block { margin-bottom:2rem; }
@media (max-width:768px) { .contact-form { padding:1.75rem; } }
/* === fine [CONTACT-FORM] === */

/* === [GALLERY-MASONRY] === */
.gallery-grid { column-count: 4; column-gap: 1rem; }
.gallery-item { break-inside: avoid; margin-bottom: 1rem; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(90,30,30,0.1); cursor: pointer; display: block; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.is-hidden { display: none; }
@media (max-width: 1024px) { .gallery-grid { column-count: 3; } }
@media (max-width: 768px) { .gallery-grid { column-count: 2; column-gap: 0.6rem; } .gallery-item { margin-bottom: 0.6rem; } }
/* gallery: 2 colonne mantenute anche su mobile stretto (Pinterest-style) */
/* === fine [GALLERY-MASONRY] === */

/* === [RESTO-CAROUSEL] === */
.resto-section { display:flex; align-items:center; gap:clamp(2rem,5vw,5rem); max-width:1200px; margin:0 auto; padding:clamp(3rem,6vw,5rem) clamp(1.5rem,5vw,3rem); background:#F5F1EA; }
.resto-carousel { flex:0 0 54%; max-width:54%; position:relative; }
.resto-carousel__viewport { overflow:hidden; border-radius:16px; }
.resto-carousel__track { display:flex; transition:transform 0.6s ease; }
.resto-carousel__slide { min-width:50%; box-sizing:border-box; padding:0 6px; }
.resto-carousel__slide img { width:100%; aspect-ratio:3/4; height:auto; object-fit:cover; object-position:right center; display:block; border-radius:12px; }
.resto-carousel__arrow { position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:50%; background:rgba(90,30,30,0.7); color:#fff; border:none; cursor:pointer; font-size:1.5rem; line-height:1; display:flex; align-items:center; justify-content:center; z-index:2; transition:background 0.2s; }
.resto-carousel__arrow:hover { background:rgba(90,30,30,0.95); }
.resto-carousel__arrow--prev { left:-8px; }
.resto-carousel__arrow--next { right:-8px; }
.resto-carousel__dots { display:flex; justify-content:center; gap:8px; margin-top:1rem; }
.resto-carousel__dot { width:8px; height:8px; border-radius:50%; background:rgba(90,30,30,0.25); cursor:pointer; transition:background 0.2s; }
.resto-carousel__dot.is-active { background:#5A1E1E; }
.resto-text { flex:0 0 46%; max-width:46%; }
.resto-text__eyebrow { font-family:'Manrope',sans-serif; color:#C8A96A; text-transform:uppercase; letter-spacing:0.25em; font-size:0.8rem; font-weight:700; display:block; margin-bottom:1rem; }
.resto-text__title { font-family:'Cormorant Garamond',serif; color:#5A1E1E; font-size:clamp(2.2rem,4vw,3.4rem); font-weight:700; line-height:1.1; margin:0 0 1.5rem 0; }
.resto-text p { font-family:'Manrope',sans-serif; color:rgba(31,31,31,0.7); font-size:clamp(1.05rem,1.4vw,1.2rem); font-weight:300; line-height:1.7; margin:0 0 1.2rem 0; text-align:justify; }
.resto-text__cta { display:inline-block; margin-top:1rem; background:#5A1E1E; color:#fff; padding:1.1rem 2.5rem; border-radius:8px; font-family:'Manrope',sans-serif; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; font-size:0.9rem; text-decoration:none; transition:background 0.2s; }
.resto-text__cta:hover { background:#C8A96A; color:#5A1E1E; }
.resto-mobile-intro { display:none; }
@media (max-width:768px) {
    .resto-section { flex-direction:column; padding-top:1.5rem; }
    .resto-carousel, .resto-text { flex:1 1 auto; max-width:100%; width:100%; }
    .resto-carousel__slide { min-width:50%; padding:0 4px; }
    .resto-carousel__slide img { aspect-ratio:3/4; }
    .resto-mobile-intro { display:block; background:#F5F1EA; padding:1.5rem 1.5rem 0.5rem; }
    .resto-mobile-intro p { font-family:'Manrope',sans-serif; color:rgba(31,31,31,0.7); font-size:1.05rem; font-weight:300; line-height:1.7; text-align:justify; margin:0; }
    .resto-text p:first-of-type { display:none; }
    .resto-text { text-align:center; }
    .resto-text p { text-align:justify; }
    .pp-immersive--resto { height:68vh; height:68dvh; }
    .pp-immersive--resto .pp-parallax { height:100%; }
    .pp-immersive--resto .pp-parallax__img { height:100%; transform:none !important; object-position:center center; }
}
/* === fine [RESTO-CAROUSEL] === */
