/* Prestige Umrah Content — front-end card styles */

.pu-gallery {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 110px;
	gap: 8px;
	border-radius: 10px;
	overflow: hidden;
	width: 460px;
	max-width: 100%;
	flex-shrink: 0;
}

.pu-gallery-count-1 { grid-template-columns: 1fr !important; grid-auto-rows: 420px; }
.pu-gallery-count-2 { grid-template-columns: 1fr 1fr !important; grid-auto-rows: 420px; }
.pu-gallery-count-3 { grid-template-columns: repeat(2, 1fr) !important; grid-auto-rows: 208px; }

.pu-gallery-item {
	display: block;
	position: relative;
	overflow: hidden;
	cursor: zoom-in;
}

.pu-gallery-count-1 .pu-gallery-item,
.pu-gallery-count-2 .pu-gallery-item {
	grid-row: span 1;
}

.pu-gallery-count-3 .pu-gallery-item:first-child,
.pu-gallery-count-5plus .pu-gallery-item:first-child {
	grid-column: span 2;
	grid-row: span 2;
}

.pu-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease, filter 0.35s ease;
}

.pu-gallery-item:hover img {
	transform: scale(1.06);
	filter: brightness(1.05);
}

.pu-gallery-item::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(1, 14, 30, 0);
	transition: background 0.25s ease;
	pointer-events: none;
}

.pu-gallery-item:hover::after {
	background: rgba(1, 14, 30, 0.12);
}

.pu-hotels-city-heading {
	font-family: "Cinzel", serif;
	font-weight: 600;
	font-size: 32px;
	color: #ffffff;
	text-align: center;
	margin: 40px 0 24px;
}

.pu-packages-grid,
.pu-hotels-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	margin: 0 0 40px;
}

.pu-card {
	border: 1px solid #B58E4D;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: transparent;
}

.pu-card-image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.pu-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pu-card-body {
	padding: 16px 20px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.pu-card-title {
	font-family: "Cinzel", serif;
	font-weight: 600;
	font-size: 22px;
	color: #ffffff;
	margin: 0 0 6px;
	text-transform: capitalize;
}

.pu-card-subtitle {
	font-family: "Roboto", sans-serif;
	font-size: 13px;
	color: #ffffff;
	opacity: 0.85;
	margin: 0 0 12px;
	line-height: 1.4;
}

.pu-card-meta {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.pu-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: "Roboto", sans-serif;
	font-size: 12px;
	color: #ffffff;
}

.pu-meta-icon svg {
	width: 14px;
	height: 14px;
	fill: #B58E4D;
}

.pu-card-divider {
	border: none;
	border-top: 1px solid rgba(181, 142, 77, 0.4);
	margin: 0 0 14px;
}

.pu-card-footer {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.pu-card-price {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.pu-price-label {
	font-family: "Roboto", sans-serif;
	font-size: 11px;
	color: #ffffff;
	letter-spacing: 0.05em;
}

.pu-price-value {
	font-family: "Cinzel", serif;
	font-weight: 600;
	font-size: 20px;
	color: #B58E4D;
}

.pu-card-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid #B58E4D;
	border-radius: 4px;
	padding: 8px 14px;
	font-family: "Roboto", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: #ffffff;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.pu-card-button:hover {
	background-color: #B58E4D;
	color: #010E1E;
}

.pu-btn-arrow {
	font-size: 14px;
}

@media (max-width: 600px) {
	.pu-packages-grid,
	.pu-hotels-grid {
		grid-template-columns: 1fr;
	}
}

/* Related packages sidebar cards */
.pu-related-packages {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pu-related-package-card {
	display: flex;
	gap: 12px;
	align-items: center;
	border: 1px solid rgba(181, 142, 77, 0.4);
	border-radius: 8px;
	padding: 10px;
	text-decoration: none;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.pu-related-package-card:hover {
	border-color: #B58E4D;
	transform: translateY(-2px);
}

.pu-related-package-image {
	width: 70px;
	height: 70px;
	flex-shrink: 0;
	border-radius: 6px;
	overflow: hidden;
}

.pu-related-package-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pu-related-package-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pu-related-package-body h4 {
	margin: 0;
	font-family: "Cinzel", serif;
	font-size: 14px;
	color: #ffffff;
}

.pu-related-package-price {
	font-family: "Cinzel", serif;
	font-weight: 600;
	color: #B58E4D;
	font-size: 14px;
}

.pu-related-package-link {
	font-family: "Roboto", sans-serif;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.6);
}

/* Hotel photo used in the Hotel Details cards on the single-package page */
.pu-meta-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Itinerary day cards */
.pu-itinerary {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin: 0 0 30px;
}

.pu-itinerary-card {
	border: 1px solid rgba(181, 142, 77, 0.4);
	border-radius: 8px;
	padding: 16px 14px;
	background: rgba(181, 142, 77, 0.04);
}

.pu-itinerary-day {
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.05em;
	color: #B58E4D;
	margin-bottom: 6px;
}

.pu-itinerary-title {
	font-family: "Cinzel", serif;
	font-size: 15px;
	color: #ffffff;
	margin: 0 0 10px;
}

.pu-itinerary-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.pu-itinerary-list li {
	font-family: "Roboto", sans-serif;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	padding-left: 12px;
	position: relative;
}

.pu-itinerary-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #B58E4D;
}

@media (max-width: 900px) {
	.pu-itinerary {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Hotel detail cards (Makkah / Madinah) on the single-package page */
.pu-hotel-detail-card {
	border: 1px solid rgba(181, 142, 77, 0.4);
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 20px;
	min-width: 0;
}

.pu-hotel-detail-image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.pu-hotel-detail-image img {
	width: 100% !important;
	height: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	object-fit: cover;
	display: block;
}

.pu-hotel-detail-card,
.pu-hotel-detail-image {
	min-width: 0;
}

/* Standard flexbox fix: without this, a shortcode widget's content (e.g. an
   image with intrinsic dimensions) prevents its Elementor flex-column
   ancestors from shrinking below that content's natural width, even with
   flex-shrink set — the classic "min-width: auto" flex gotcha. */
.elementor-widget-shortcode,
.elementor-widget-shortcode .elementor-shortcode,
.elementor-widget-form {
	min-width: 0;
}

/* Hotel Details / Booking two-column row on the single-package page. Elementor's
   flex-grow/shrink presets weren't enough to stop these columns wrapping onto
   separate lines (their content's intrinsic min-width exceeded half the row),
   so the split is enforced directly here via a hard flex-basis. */
.pu-two-col {
	flex: 1 1 45% !important;
	min-width: 0 !important;
	max-width: 100% !important;
}

@media (max-width: 900px) {
	.pu-two-col {
		flex-basis: 100% !important;
	}
}

.pu-hotel-detail-body {
	padding: 16px 18px;
}

.pu-hotel-detail-city {
	font-family: "Roboto", sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #B58E4D;
}

.pu-hotel-detail-body h4 {
	font-family: "Cinzel", serif;
	font-size: 18px;
	color: #ffffff;
	margin: 6px 0 12px;
}

.pu-hotel-detail-amenities {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.pu-hotel-detail-amenities li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: "Roboto", sans-serif;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.8);
}

/* Inclusions & Exclusions checklist */
.pu-inc-exc {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.pu-inc-exc-col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pu-inc-exc-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: "Roboto", sans-serif;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
}

.pu-check-icon svg,
.pu-cross-icon svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.pu-check-icon svg { fill: #4CAF50; }
.pu-cross-icon svg { fill: #E05959; }

@media (max-width: 700px) {
	.pu-inc-exc {
		grid-template-columns: 1fr;
	}
}
