/*
Theme Name: SetSail Child
Theme URI: http://setsail.qodeinteractive.com
Description: A child theme of SetSail Theme
Author: Select Themes
Author URI: http://themeforest.net/user/select-themes
Version: 1.0.7
Text Domain: setsail
Template: setsail
*/

/* Site brand color */
:root {
	--whitestar-brand: #9d1c3a;
	--whitestar-brand-dark: #7a1530;
}

/* Tour single page: wider sidebar, narrower content */
@media only screen and (min-width: 1025px) {
	.qodef-tour-item-single-holder .qodef-grid-col-9 {
		width: 58%;
	}

	.qodef-tour-item-single-holder .qodef-sidebar-holder {
		width: calc(42% - 20px);
		padding: 0 15px;
		margin: 0 -15px;
	}
}

/* Contact form widget container */
.qodef-tour-item-single-holder .qodef-tours-booking-form-holder {
	background-color: var(--whitestar-brand);
	padding: 28px 24px 32px;
}

.qodef-tour-item-single-holder .qodef-tours-booking-form-holder .whitestar-tour-contact-form {
	padding: 0;
	background: transparent;
}

.whitestar-tour-contact-form__title {
	margin: 0 0 22px;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
	color: #fff;
}

/* Form fields */
.whitestar-tour-cf7 label {
	display: block;
	margin-bottom: 16px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
}

.whitestar-tour-cf7 .wpcf7-form-control-wrap {
	display: block;
	margin-top: 7px;
}

.qodef-tours-booking-form-holder .whitestar-tour-cf7 input[type="text"],
.qodef-tours-booking-form-holder .whitestar-tour-cf7 input[type="email"],
.qodef-tours-booking-form-holder .whitestar-tour-cf7 input[type="tel"],
.qodef-tours-booking-form-holder .whitestar-tour-cf7 textarea {
	width: 100%;
	margin: 0;
	padding: 11px 14px;
	background: #fff !important;
	border: 0 !important;
	border-radius: 0;
	color: #333 !important;
	box-sizing: border-box;
}

.qodef-tours-booking-form-holder .whitestar-tour-cf7 textarea {
	min-height: 120px;
	resize: vertical;
	padding-top: 12px;
	line-height: 1.5;
}

.qodef-tours-booking-form-holder .whitestar-tour-cf7 input::placeholder,
.qodef-tours-booking-form-holder .whitestar-tour-cf7 textarea::placeholder {
	color: #888;
}

/* Submit button – white on brand box, like original booking widget */
.qodef-tours-booking-form-holder .whitestar-tour-cf7 input[type="submit"] {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 14px 20px;
	background: #fff !important;
	border: 0 !important;
	border-radius: 0;
	color: #212121 !important;
	font-family: "Poppins", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.qodef-tours-booking-form-holder .whitestar-tour-cf7 input[type="submit"]:hover {
	background: #f2f2f2 !important;
	color: var(--whitestar-brand) !important;
}

/* Validation & response messages */
.whitestar-tour-cf7 .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 10px 12px;
	font-size: 13px;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45) !important;
}

.whitestar-tour-cf7 .wpcf7-not-valid-tip {
	margin-top: 4px;
	font-size: 12px;
	color: #fff;
}

.whitestar-tour-cf7 .wpcf7-not-valid {
	border: 1px solid #fff !important;
}

/* Stack sidebar below content on tablet/mobile */
@media only screen and (max-width: 1024px) {
	.qodef-tour-item-single-holder .qodef-tours-booking-form-holder {
		margin-top: 40px;
	}
}

/* Hide tour prices on listings/search/homepage — backup for all SetSail price wrappers */
body:not(.single-tour-item) .qodef-tours-item-price-holder,
body:not(.single-tour-item) .qodef-tours-list-item-price-and-rating-holder,
body:not(.single-tour-item) .qodef-tours-standard-item-price-and-rating-holder,
body:not(.single-tour-item) .qodef-tours-gi-price-holder,
body:not(.single-tour-item) .qodef-tours-gallery-item-price-holder,
body:not(.single-tour-item) .qodef-tdi-price-holder,
body:not(.single-tour-item) .qodef-gim-title-and-price-holder .qodef-tours-price-holder,
body:not(.single-tour-item) .qodef-tours-search-page-holder .qodef-tours-price-holder {
	display: none !important;
}

/* Single tour: "/ per person" and price amount match tour title typography */
.single-tour-item .qodef-tour-item-title-holder .qodef-tour-item-price-text {
	font-size: inherit;
	font-weight: inherit;
	position: static;
	bottom: auto;
}

.single-tour-item .qodef-tour-item-title-holder .qodef-title-wrapper {
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0 8px;
}

/* Price disclaimer under title/price on single tours */
.single-tour-item .wst-tour-price-disclaimer {
	display: block;
	width: 100%;
	margin: 10px 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 400;
	color: #666;
}

/* No-price tours: call for pricing message */
.single-tour-item .wst-tour-call-for-pricing {
	display: block;
	width: 100%;
	margin: 10px 0 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--whitestar-brand);
}

/* Tour gallery thumbnails: uniform square size */
.qodef-tour-item-single-holder .qodef-tour-gallery-item-holder .qodef-tour-gallery .qodef-tour-gallery-item {
	float: left;
}

.qodef-tour-item-single-holder .qodef-tour-gallery-item-holder .qodef-tour-gallery .qodef-tour-gallery-item a.wst-tour-gallery-thumb,
.qodef-tour-item-single-holder .qodef-tour-item-section .qodef-tour-gallery .qodef-tour-gallery-item a {
	position: relative;
	display: block;
	width: 100%;
	height: 0;
	padding-bottom: 100%;
	overflow: hidden;
}

.qodef-tour-item-single-holder .qodef-tour-gallery-item-holder .qodef-tour-gallery .qodef-tour-gallery-item a.wst-tour-gallery-thumb img,
.qodef-tour-item-single-holder .qodef-tour-item-section .qodef-tour-gallery .qodef-tour-gallery-item a img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center center;
}

