/**
 * Stile ispirato al demo Vik Booking "Seasons" (hotel elegante, palette chiara).
 * Attivo con body.ipp-seasons-look — le variabili ereditano e sovrascrivono :root del child.
 *
 * @package Albatross_Child
 */

body.ipp-seasons-look {
	--bg-primary: #f5f3ed;
	--bg-secondary: #ffffff;
	--bg-tertiary: #ebe8df;
	--text-primary: #2a2a2a;
	--text-secondary: #5c5c5c;
	--accent: #8b6f3c;
	--accent-hover: #6e5830;
	--border: #ddd9ce;
	--success: #2e7d32;
	--error: #c62828;
	--font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
	--font-body: "Source Sans 3", "Inter", system-ui, sans-serif;
	--shadow-soft: 0 16px 48px rgba(42, 42, 42, 0.09);
	--radius-sm: 2px;
	--radius-md: 6px;
	/* Proporzioni testo / immagine (ospitalità: leggibilità, card camere, gallerie) */
	--ipp-reading-max: 65ch;
	--ipp-text-base: 1.0625rem;
	--ipp-text-lead: 1.125rem;
	--ipp-leading-snug: 1.35;
	--ipp-leading-normal: 1.65;
	--ipp-leading-relaxed: 1.72;
	--ipp-card-image-ratio: 4 / 3;
	--ipp-gallery-ratio: 3 / 2;
	--ipp-section-heading-max: min(48ch, 100%);
}

body.ipp-seasons-look {
	color: var(--text-primary);
}

/* Footer: nero + bianco (il body Seasons usa testo scuro: senza questo il footer eredita grigio/nero illeggibile) */
body.ipp-seasons-look #colophon.site-footer.site-footer--child {
	background: #000 !important;
	background-image: none !important;
	color: #fff !important;
}

body.ipp-seasons-look #colophon.site-footer.site-footer--child a {
	color: #fff !important;
}

body.ipp-seasons-look #colophon.site-footer.site-footer--child .site-footer-child__menu a:hover,
body.ipp-seasons-look #colophon.site-footer.site-footer--child .site-footer-child__contact a:hover,
body.ipp-seasons-look #colophon.site-footer.site-footer--child .site-footer-child__copy a:hover {
	color: var(--accent-hover) !important;
}

body.ipp-seasons-look .site-header:not(.absolute):not(.ipp-header-seasons--dark),
body.ipp-seasons-look .site-header.absolute:not(.ipp-header-seasons--dark) {
	background-color: rgba(255, 255, 255, 0.96) !important;
	color: var(--text-primary) !important;
	border-bottom: 1px solid var(--border);
}

body.ipp-seasons-look .site-header.site-header--child-sticky.is-scrolled:not(.ipp-header-seasons--dark) {
	background-color: #fff !important;
	box-shadow: var(--shadow-soft);
}

body.ipp-seasons-look .site-header:not(.ipp-header-seasons--dark) .main-navigation .primary-menu > ul > li > a,
body.ipp-seasons-look .site-header:not(.ipp-header-seasons--dark) .main-navigation .primary-menu > li > a,
body.ipp-seasons-look .site-header:not(.ipp-header-seasons--dark) .header-menu a {
	color: var(--text-primary) !important;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.75rem;
}

body.ipp-seasons-look .site-header:not(.ipp-header-seasons--dark) .main-navigation li:hover > a,
body.ipp-seasons-look .site-header:not(.ipp-header-seasons--dark) .main-navigation .current-menu-item > a {
	color: var(--accent) !important;
}

body.ipp-seasons-look .site-header:not(.ipp-header-seasons--dark) .header-dropdown-toggle {
	background: var(--accent) !important;
	color: #fff !important;
}

body.ipp-seasons-look .site-header:not(.ipp-header-seasons--dark) .header-dropdown-content {
	background: #fff !important;
}

/* Barra ricerca MotoPress — “booking bar” tipo Seasons (non il form nell’header nero) */
body.ipp-seasons-look .mphb_sc_search-wrapper:not(.ipp-mphb-header-search),
body.ipp-seasons-look .mphb_sc_search-wrapper.mphb_widget_search-search-form,
body.ipp-seasons-look .widget .mphb_sc_search-wrapper {
	background: var(--bg-secondary) !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--radius-md) !important;
	box-shadow: var(--shadow-soft) !important;
	padding: 1.25rem 1.5rem !important;
}

body.ipp-seasons-look .mphb_sc_search-wrapper:not(.ipp-mphb-header-search) .mphb_sc_search-submit-button-wrapper input[type="submit"],
body.ipp-seasons-look .mphb_sc_search-wrapper:not(.ipp-mphb-header-search) button[type="submit"],
body.ipp-seasons-look .mphb_sc_search-wrapper:not(.ipp-mphb-header-search) input[type="submit"] {
	background: var(--accent) !important;
	color: #fff !important;
	border: none !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 600;
	padding: 0.85rem 1.75rem !important;
	border-radius: var(--radius-sm) !important;
}

body.ipp-seasons-look .mphb_sc_search-wrapper:not(.ipp-mphb-header-search) .mphb_sc_search-submit-button-wrapper input[type="submit"]:hover {
	background: var(--accent-hover) !important;
}

body.ipp-seasons-look .mphb_sc_search-wrapper:not(.ipp-mphb-header-search) label {
	color: var(--text-secondary) !important;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

body.ipp-seasons-look .mphb_sc_search-wrapper:not(.ipp-mphb-header-search) input,
body.ipp-seasons-look .mphb_sc_search-wrapper:not(.ipp-mphb-header-search) select {
	background: var(--bg-primary) !important;
	border-color: var(--border) !important;
	color: var(--text-primary) !important;
}

/* Schede camere / loop */
body.ipp-seasons-look .mphb-room-type-title,
body.ipp-seasons-look .mphb-loop-room-type-title {
	font-family: var(--font-heading);
	font-weight: 600;
	letter-spacing: 0.02em;
}

body.ipp-seasons-look .mphb-room-type,
body.ipp-seasons-look article.mphb_room_type {
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-soft);
	padding: 0;
	overflow: hidden;
}

/* Pulsanti generici */
body.ipp-seasons-look .button,
body.ipp-seasons-look input[type="submit"],
body.ipp-seasons-look button[type="submit"] {
	background: var(--accent);
	color: #fff;
}

/* CF7 */
body.ipp-seasons-look .ipp-cf7-wrap .ipp-input,
body.ipp-seasons-look .ipp-cf7-wrap .ipp-textarea,
body.ipp-seasons-look .ipp-cf7-wrap input,
body.ipp-seasons-look .ipp-cf7-wrap textarea {
	background: var(--bg-secondary) !important;
	border-color: var(--border) !important;
	color: var(--text-primary) !important;
}

body.ipp-seasons-look .ipp-cf7-wrap label {
	color: var(--text-secondary) !important;
}

body.ipp-seasons-look .ipp-cf7-wrap input[type="submit"] {
	background: var(--accent) !important;
	color: #fff !important;
}

body.ipp-seasons-look .front-page-header,
body.ipp-seasons-look .front-page-header .title,
body.ipp-seasons-look .front-page-header .description,
body.ipp-seasons-look .front-page-header .description p,
body.ipp-seasons-look .front-page-header .slide-header a {
	color: #fff !important;
}

/* Patina solo dove serve testo sopra la foto; escludi lo slider home senza titolo */
body.ipp-seasons-look.page-has-thumbnail .page-header-wrapper:not(.ipp-hero-bg-cycle):after {
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.72) 0%,
		rgba(0, 0, 0, 0.8) 100%
	) !important;
}

body.ipp-seasons-look.page-has-thumbnail .page-header-wrapper .entry-header,
body.ipp-seasons-look.page-has-thumbnail .page-header-wrapper .entry-title,
body.ipp-seasons-look.page-has-thumbnail .page-header-wrapper .entry-title a,
body.ipp-seasons-look.page-has-thumbnail .page-header-wrapper .entry-header p,
body.ipp-seasons-look.page-has-thumbnail .page-header-wrapper h1 {
	color: #fff !important;
}

body.ipp-seasons-look .front-page-sidebar-wrapper {
	background: rgba(255, 255, 255, 0.92) !important;
	color: var(--text-primary) !important;
	border: 1px solid var(--border);
}

body.ipp-seasons-look .scroll-to-top-button svg {
	fill: var(--accent);
}

/* Home demo Vik: sfondo pagina bianco (coerente con sezioni Seasons) */
body.ipp-seasons-vik-home {
	background-color: #ffffff !important;
}
