/*
Theme Name: villacrista
Theme URI: https://www.villacrista.com
Author: Net22
Author URI: https://www.net22.gr
Description: Custom theme for villacrista.com.
Version: 1.1.5
Text Domain: villacrista
*/

.vc-bedrooms {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0;
	font-family: var(--manrope, sans-serif);
	text-align: left;
}
.vc-bedrooms__room {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-width: 0;
}
.vc-bedrooms__icon {
	flex: 0 0 44px;
	width: 44px;
	height: 38px;
}
.vc-bedrooms__copy { min-width: 0; }
.vc-bedrooms__name,
.vc-bedrooms__bed,
.vc-bedrooms__size { display: block; }
.vc-bedrooms__name {
	font-size: 10px;
	line-height: 1.5;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 4px;
}
.vc-bedrooms__bed { font-size: 14px; line-height: 1.5; font-weight: 600; }
.vc-bedrooms__size { font-size: 12px; line-height: 1.6; margin-top: 2px; }
.vc-bedrooms__features { font-size: 13px; line-height: 1.7; margin: 12px 0 0; }

.vc-bedrooms--summary { gap: 24px; }
.vc-bedrooms--summary .vc-bedrooms__room { align-items: center; gap: 10px; }
.vc-bedrooms--summary .vc-bedrooms__icon { width: 30px; height: 27px; flex-basis: 30px; }
.vc-bedrooms--summary .vc-bedrooms__bed { font-size: 13px; font-weight: 500; }
.page--hero-with-bedrooms .page--hero-bottom { gap: 40px; }
.page--hero-with-bedrooms .page--hero-text { font-size: 14px; }
.page--hero-with-bedrooms .vc-bedrooms { width: auto; max-width: 660px; }
.page--hero-with-bedrooms .hero--content { padding-bottom: 150px; }
/* The bedrooms take the scroll cue's slot on desktop */
.page--hero-with-bedrooms .page--hero-scroll { display: none; }
.slider--wrapper.slider--with-stage { height: auto; min-height: 0; }
.slider--stage { height: clamp(779px, calc(428.45px + 24.344vw), 895.8px); }
.vc-bedroom-strip { background: var(--beige); color: var(--ink); padding: 27px 32px; }
.vc-bedroom-strip .vc-bedrooms { max-width: 960px; margin-inline: auto; gap: 0; }
.vc-bedroom-strip .vc-bedrooms__room { justify-content: center; padding-inline: 20px; }
.vc-bedroom-strip .vc-bedrooms__room + .vc-bedrooms__room { border-left: 1px solid var(--line-dark); }
.vc-bedroom-strip .vc-bedrooms__icon { width: 35px; height: 31px; flex-basis: 35px; }
.vc-bedroom-strip .vc-bedrooms__bed { font-size: 14px; }
.pleasures--head .vc-bedrooms {
	max-width: 790px;
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid rgba(44, 42, 37, .2);
	color: var(--ink, #2c2a25);
}
.pleasures--with-bedrooms .pleasures--grid { margin-top: 70px; }
@media (max-width: 1150px) {
	.slider--stage { height: 70svh; min-height: 480px; }
}
@media (max-width: 991px) {
	.page--hero-with-bedrooms .page--hero-text {
    margin-inline: auto;
    text-align: center;
}
	.vc-bedrooms { gap: 18px; }
	/* Hero: the bedrooms are a desktop detail. Below 991 the 3 up grid gets
	   too narrow (and wraps in Greek), so the hero goes back to photo +
	   title + one line, with its scroll cue. The strip right underneath and
	   the detailed list further down still carry the bedrooms. */
	.page--hero-with-bedrooms .vc-bedrooms { display: none; }
	.page--hero-with-bedrooms .page--hero-scroll { display: block; }
	.page--hero-with-bedrooms .page--hero-bottom { gap: 24px; }
	.page--hero-with-bedrooms .page--hero-text { font-size: inherit; }
}
@media (max-width: 767px) {
	.slider--stage { height: 82svh; min-height: 520px; }
	.vc-bedroom-strip { padding: 22px 16px; }
	.vc-bedroom-strip .vc-bedrooms__room { padding-inline: 8px; flex-direction: column; gap: 9px; text-align: center; }
	.vc-bedroom-strip .vc-bedrooms__icon { flex-basis: auto; }
	.vc-bedroom-strip .vc-bedrooms__bed { font-size: 12px; }
	/* Nothing left to make room for: match the other page heroes */
	.page--hero-with-bedrooms .page--hero-bottom { gap: 18px; }
	.page--hero-with-bedrooms .hero--content { padding-bottom: 100px; }
	.page--hero-with-bedrooms .page--hero-scroll { display: none; }
	.vc-bedrooms--details { grid-template-columns: 1fr; gap: 22px; }
	.vc-bedrooms--details .vc-bedrooms__room + .vc-bedrooms__room { border-top: 1px solid rgba(44, 42, 37, .12); padding-top: 22px; }
	.vc-bedrooms--details .vc-bedrooms__icon { width: 40px; flex-basis: 40px; }
	.pleasures--head .vc-bedrooms { margin-top: 32px; }
	.pleasures--with-bedrooms .pleasures--grid { margin-top: 45px; }
}
/* Property summary: bedrooms, bathrooms, interior area and private pool. */
.vc-bedrooms { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vc-bedrooms__bed { text-wrap: balance; }
@media (max-width: 767px) {
	.vc-bedrooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vc-bedrooms--details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

ul.vc-bedrooms.vc-bedrooms--details > li {
    align-items: center;
}

/* Villa highlights: use compact, left-aligned flex layout */
.vc-bedrooms {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    align-items: center;
    column-gap: 36px;
    row-gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vc-bedrooms > .vc-bedrooms__room {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    width: auto;
    min-width: 0;
    margin: 0;
}

.vc-bedrooms .vc-bedrooms__icon {
    flex-shrink: 0;
}

.vc-bedrooms .vc-bedrooms__copy {
    flex: 0 0 auto;
}

/* Smaller screens */
@media (max-width: 767px) {
    .vc-bedrooms {
        column-gap: 24px;
        row-gap: 16px;
    }
}
/* Center property highlights below the homepage slider */
.vc-bedroom-strip .vc-bedrooms {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center !important;
    align-items: center;
    width: fit-content !important;
    max-width: 100%;
    margin: 0 auto !important;
    gap: 0;
}

.vc-bedroom-strip .vc-bedrooms__room {
    flex: 0 0 auto;
}
/* ==========================================
   VILLA CRISTA — RESPONSIVE HIGHLIGHTS
   ========================================== */

/* 1. Hide the highlights strip in the homepage slider */


/* ==========================================
   VILLA CRISTA — FINAL MOBILE LAYOUT
   ========================================== */
@media (max-width: 767px) {
.vc-bedroom-strip {
    display: none !important;
}
    /* 1. Hide the highlights strip in the homepage slider */
    .vc-bedroom-strip {
        display: none !important;
    }


    /* 2. Homepage pleasures — centered 2 x 2 grid */
    .pleasures--head .vc-bedrooms--details {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        width: 100% !important;
        max-width: 420px;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 0 !important;
        border: 0 !important;
        list-style: none;
        box-sizing: border-box;
    }

    .pleasures--head .vc-bedrooms--details .vc-bedrooms__room {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px;
        min-width: 0;
        margin: 0 !important;
        padding: 18px 8px !important;
        text-align: center !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-sizing: border-box;
    }

    /* Vertical divider between the two columns */
    .pleasures--head .vc-bedrooms--details
    .vc-bedrooms__room:nth-child(odd) {
        border-right: 1px solid rgba(100, 90, 80, 0.28) !important;
    }

    /* Horizontal divider between the two rows */
    .pleasures--head .vc-bedrooms--details
    .vc-bedrooms__room:nth-child(-n+2) {
        border-bottom: 1px solid rgba(100, 90, 80, 0.28) !important;
    }

    .pleasures--head .vc-bedrooms--details .vc-bedrooms__icon {
        display: block;
        width: 30px;
        height: 27px;
        flex: 0 0 27px;
        margin: 0;
    }

    .pleasures--head .vc-bedrooms--details .vc-bedrooms__copy {
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .pleasures--head .vc-bedrooms--details .vc-bedrooms__bed {
        display: block;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }


    /* 3. Villa hero — separate title from the highlights */
    #hero.page--hero-with-bedrooms {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: stretch !important; 
        position: relative;
        height: auto !important;
		min-height:460px;
    }

    #hero.page--hero-with-bedrooms .hero--content {
        position: relative !important;
        z-index: 2;
        flex: 0 0 auto;
        width: 100% !important;
        padding: 115px 20px 20px !important;
        box-sizing: border-box;
    }

    #hero.page--hero-with-bedrooms .page--hero-title {
        font-size: clamp(38px, 10vw, 46px);
        line-height: 0.98;
        text-align: center;
    }

    /* Keep the intro and highlights in a single vertical flow */
    #hero.page--hero-with-bedrooms .page--hero-bottom {
        position: relative !important;
        inset: auto !important;
        z-index: 2;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 18px;
        width: auto !important;
        margin: 0 20px 24px !important;
        padding: 18px 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.45);
        box-sizing: border-box;
    }

    #hero.page--hero-with-bedrooms .page--hero-text {
        position: relative !important;
        width: 100% !important;
        max-width: 320px;
        margin: 0 auto !important;
        text-align: center !important;
        font-size: 12px;
        line-height: 1.5;
    }


    /* 4. Villa hero highlights — four items in one row,
          with each icon above its text */
    #hero.page--hero-with-bedrooms .vc-bedrooms--summary {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 0 !important;
        border: 0 !important;
        list-style: none;
        box-sizing: border-box;
    }

    #hero.page--hero-with-bedrooms .vc-bedrooms--summary .vc-bedrooms__room {
        display: flex !important;
        flex: none !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px;
        min-width: 0;
        margin: 0 !important;
        padding: 10px 3px !important;
        text-align: center !important;
        border: 0 !important;
        border-right: 1px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 0 !important;
        box-sizing: border-box;
    }

    #hero.page--hero-with-bedrooms .vc-bedrooms--summary
    .vc-bedrooms__room:last-child {
        border-right: 0 !important;
    }

    #hero.page--hero-with-bedrooms .vc-bedrooms__icon {
        display: block;
        width: 26px;
        height: 25px;
        flex: 0 0 25px;
        margin: 0 auto;
    }

    #hero.page--hero-with-bedrooms .vc-bedrooms__copy {
        display: block;
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    #hero.page--hero-with-bedrooms .vc-bedrooms__bed {
        display: block;
        font-size: 10px;
        font-weight: 400;
        line-height: 1.4;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }


    /* 5. Homepage pleasures spacing */
    body.home ul.vc-bedrooms.vc-bedrooms--details {
        margin-top: 30px !important;
    }


    /* 6. Remove the top divider from the Villa hero bottom section */
    #hero.page--hero-with-bedrooms .page--hero-bottom {
        border-top: unset !important;
    }

    /* Hide the scroll prompt on mobile */
    #hero.page--hero-with-bedrooms .page--hero-scroll {
        display: none !important;
    }
}

/* stage 09 (net22 pre-launch): space between the text and the "Back to home" link on the 404 and archive pages */
.page--404-link {
    margin-top: 24px;
}

/* stage 14 (net22): the thank-you page has two links ("Back to home", "Check availability") side by side */
.page--thank-you-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 40px;
}

/* stage 09 (net22 pre-launch): net22 logo in the footer credit, sized to the text it replaces */
.footer--net22-logo {
    display: inline-block;
    vertical-align: -0.08em;
}
.footer--net22-logo svg {
    display: block;
    width: 2.49em;
    height: 0.8em;
}

/* stage 16 (net22): cookie consent banner (built by main.js) and the footer "Cookie settings" link */
.consent {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    max-width: 960px;
    margin-inline: auto;
    padding: 20px 24px;
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(41, 38, 38, .12);
    font-family: var(--manrope);
}
.consent[hidden] {
    display: none;
}
.consent--text {
    flex: 1 1 360px;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}
.consent--text a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.consent--buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.consent .consent--button {
    min-width: 130px;
    font-size: 15px;
}
.footer--cookie-settings {
    display: block;
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity .3s var(--ease);
}
.footer--cookie-settings:hover {
    opacity: .6;
}
@media (max-width: 767px) {
    .consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px;
    }
    .consent--text {
        flex-basis: 100%;
        font-size: 13px;
    }
    .consent--buttons {
        width: 100%;
    }
    .consent .consent--button {
        flex: 1 1 0;
        min-width: 0;
    }
    /* the footer bottom is a centred column here */
    .footer--legal-left {
        text-align: center;
    }
    .footer--cookie-settings {
        margin-inline: auto;
    }
}
