/**
 * Frontend styles for WooCommerce Hotel Booking
 * Modern, clean design with organized structure
 *
 * @package WooCommerce_Hotel_Booking
 */

/* ============================================
   VARIABLES & BASE STYLES
   ============================================ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--wchb-primary: #667eea;
	--wchb-primary-dark: #5568d3;
	--wchb-secondary: #764ba2;
	--wchb-success: #10b981;
	--wchb-warning: #f59e0b;
	--wchb-danger: #ef4444;
	--wchb-text: #1a1a1a;
	--wchb-text-light: #555;
	--wchb-text-muted: #999;
	--wchb-border: #e8e8e8;
	--wchb-bg: #ffffff;
	--wchb-bg-light: #fafafa;
	--wchb-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	--wchb-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
	--wchb-radius: 12px;
	--wchb-radius-lg: 16px;
	--wchb-transition: all 0.3s ease;
}

/* Prevent horizontal overflow */
body,
html {
	overflow-x: hidden;
	max-width: 100%;
}

/* Main content containers */
.woocommerce,
.woocommerce-page,
#content,
.site-content,
.site-main,
.content-area {
	max-width: 100%;
	overflow-x: hidden;
	width: 100%;
}

/* Container constraints */
.container,
.wrapper,
.site-container,
.woocommerce-container {
	max-width: 100%;
	overflow-x: hidden;
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
	box-sizing: border-box;
}

/* ============================================
   PRODUCT PAGE LAYOUT
   ============================================ */

.woocommerce div.product,
.woocommerce-page div.product {
/* 	display: flex; */
	margin-bottom: 80px;
	padding: 0;
	position: relative;
	max-width: 100%;
	width: 100%;
	overflow: hidden;
	box-sizing: border-box;
	gap: 30px;
	align-items: flex-start;
}

/* Ensure only gallery and summary are in the flex row */
.woocommerce div.product > .woocommerce-product-gallery,
.woocommerce div.product > .summary.entry-summary {
	flex: 0 0 auto;
}

/* Force tabs and related products to be full width at bottom */
.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product > .wc-tabs-wrapper,
.woocommerce div.product > .related,
.woocommerce div.product > .upsells {
	flex-basis: 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	clear: both;
}

/* Product Gallery - Enhanced */
.woocommerce-product-gallery,
.woocommerce div.product .woocommerce-product-gallery {
	flex: 0 0 auto;
	width: 100%;
	max-width: 100%;
	position: relative;
	margin-bottom: 30px;
	overflow: hidden;
	box-sizing: border-box;
}

@media screen and (min-width: 48em) {
	.woocommerce-product-gallery,
	.woocommerce div.product .woocommerce-product-gallery {
		flex: 0 0 65%;
		max-width: 65%;
		width: 65%;
	}
}

.woocommerce-product-gallery__wrapper {
	position: relative;
	background: var(--wchb-bg-light);
	border-radius: var(--wchb-radius-lg);
	padding: 20px;
	box-shadow: var(--wchb-shadow);
	transition: var(--wchb-transition);
	max-width: 100%;
	overflow: hidden;
}

.woocommerce-product-gallery__wrapper:hover {
	box-shadow: var(--wchb-shadow-hover);
}

.woocommerce-product-gallery__image--placeholder,
.woocommerce-product-gallery__image {
	position: relative;
	overflow: hidden;
	border-radius: var(--wchb-radius);
	background: var(--wchb-bg);
	max-width: 100%;
}

.woocommerce-product-gallery__image--placeholder img,
.woocommerce-product-gallery__image img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	border-radius: var(--wchb-radius);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	transition: var(--wchb-transition);
	display: block;
	object-fit: contain;
}

.woocommerce-product-gallery__image--placeholder img:hover,
.woocommerce-product-gallery__image img:hover {
	transform: scale(1.03);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Product Summary - Enhanced */
.woocommerce div.product .summary.entry-summary,
.woocommerce-page div.product .summary.entry-summary {
	flex: 1 1 auto;
	min-width: 300px;
	max-width: 100%;
	width: 100%;
	float: none;
	padding: 0;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}

@media screen and (min-width: 48em) {
	.woocommerce div.product .summary.entry-summary,
	.woocommerce-page div.product .summary.entry-summary {
		flex: 0 0 30%;
		max-width: 30%;
		width: 30%;
	}
}

.woocommerce div.product .product_title {
	font-size: 36px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0 0 25px 0;
	color: var(--wchb-text);
	letter-spacing: -0.8px;
	position: relative;
	padding-bottom: 20px;
}

.woocommerce div.product .product_title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 4px;
	background: linear-gradient(135deg, var(--wchb-primary) 0%, var(--wchb-secondary) 100%);
	border-radius: 2px;
}

.woocommerce div.product .price {
	font-size: 32px;
	font-weight: 700;
	color: var(--wchb-primary);
	margin: 0 0 35px 0;
	padding: 20px 0;
	display: flex;
	align-items: center;
	gap: 15px;
}

.woocommerce div.product .price .woocommerce-Price-amount {
	font-size: 36px;
	font-weight: 800;
	background: linear-gradient(135deg, var(--wchb-primary) 0%, var(--wchb-secondary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	margin: 0 0 40px 0;
	padding: 25px;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border-left: 4px solid var(--wchb-primary);
	border-radius: var(--wchb-radius);
	font-size: 16px;
	line-height: 1.8;
	color: var(--wchb-text-light);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.woocommerce div.product .woocommerce-product-details__short-description p {
	margin: 0 0 15px 0;
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.woocommerce div.product .woocommerce-product-details__short-description p:last-child {
	margin-bottom: 0;
}

/* WooCommerce Buttons - Enhanced */
.woocommerce div.product form.cart,
.woocommerce div.product form.cart .quantity {
	margin-bottom: 30px;
}

.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: linear-gradient(135deg, var(--wchb-primary) 0%, var(--wchb-secondary) 100%);
	color: #fff;
	border: none;
	padding: 18px 40px;
	font-size: 17px;
	font-weight: 700;
	border-radius: var(--wchb-radius);
	cursor: pointer;
	transition: var(--wchb-transition);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
	text-transform: none;
	letter-spacing: 0.5px;
	position: relative;
	overflow: hidden;
	display: inline-block;
	text-align: center;
	min-width: 200px;
	max-width: 100%;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.woocommerce div.product form.cart .button::before,
.woocommerce div.product form.cart button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.woocommerce div.product form.cart .button:hover::before,
.woocommerce div.product form.cart button:hover::before {
	left: 100%;
}

.woocommerce div.product form.cart .button:hover,
.woocommerce div.product form.cart button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background: linear-gradient(135deg, var(--wchb-primary-dark) 0%, #6a3d8f 100%);
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.woocommerce div.product form.cart .button:active,
.woocommerce div.product form.cart button:active {
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Product Meta - Enhanced */
.woocommerce div.product .product_meta {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 2px solid var(--wchb-border);
	display: flex;
	gap: 20px;
	font-size: 14px;
	max-width: 100%;
	overflow: hidden;
}

.woocommerce div.product .product_meta > span {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	background: var(--wchb-bg-light);
	border-radius: var(--wchb-radius);
	border: 1px solid var(--wchb-border);
	transition: var(--wchb-transition);
}

.woocommerce div.product .product_meta > span:hover {
	background: #fff;
	border-color: var(--wchb-primary);
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.woocommerce div.product .product_meta > span > span {
	font-weight: 600;
	color: var(--wchb-text);
}

.woocommerce div.product .product_meta > span > a {
	color: var(--wchb-primary);
	text-decoration: none;
	font-weight: 500;
	transition: var(--wchb-transition);
}

.woocommerce div.product .product_meta > span > a:hover {
	color: var(--wchb-secondary);
	text-decoration: underline;
}

/* Product Tabs - Enhanced */
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .wc-tabs-wrapper {
	margin-top: 60px;
	clear: both;
	background: var(--wchb-bg);
	border-radius: var(--wchb-radius-lg);
	padding: 30px;
	box-shadow: var(--wchb-shadow);
	max-width: 100%;
	width: 100%;
	overflow: hidden;
	flex-basis: 100%;
	order: 999;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	list-style: none;
	margin: 0 0 30px 0;
	padding: 0;
	display: flex;
	gap: 10px;
	border-bottom: 2px solid var(--wchb-border);
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 15px 25px;
	color: var(--wchb-text-light);
	text-decoration: none;
	font-weight: 600;
	border-bottom: 3px solid transparent;
	transition: var(--wchb-transition);
	position: relative;
	top: 2px;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--wchb-primary);
	border-bottom-color: var(--wchb-primary);
}

.woocommerce div.product .woocommerce-tabs .panel {
	padding: 0;
	max-width: 100%;
	overflow: hidden;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 20px 0;
	color: var(--wchb-text);
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.woocommerce div.product .woocommerce-tabs .panel p {
	line-height: 1.8;
	color: var(--wchb-text-light);
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* Related Products - Force to bottom */
.woocommerce div.product .related,
.woocommerce div.product .upsells,
.woocommerce .related.products,
.woocommerce .upsells.products {
	clear: both;
	width: 100% !important;
	max-width: 100% !important;
	margin-top: 60px;
	flex-basis: 100%;
	order: 1000;
}

.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 30px;
	color: var(--wchb-text);
	text-align: center;
}

.woocommerce .related.products ul.products,
.woocommerce .upsells.products ul.products {
	display: flex;
	gap: 30px;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce .related.products ul.products li.product,
.woocommerce .upsells.products ul.products li.product {
	width: 100%;
	max-width: 300px;
	margin: 0;
}

/* General Images */
.woocommerce img,
.woocommerce-page img {
	height: auto;
	max-width: 100%;
	border-radius: 8px;
	transition: var(--wchb-transition);
}

/* Stock Status */
.woocommerce div.product .stock {
	padding: 10px 18px;
	border-radius: var(--wchb-radius);
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 20px;
	display: inline-block;
}

.woocommerce div.product .stock.in-stock {
	background: #d1fae5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.woocommerce div.product .stock.out-of-stock {
	background: #fee2e2;
	color: #991b1b;
	border: 1px solid #fca5a5;
}

/* Quantity Input - Enhanced */
.woocommerce div.product form.cart .quantity {
	margin-right: 15px;
}

.woocommerce div.product form.cart .quantity .qty {
	padding: 12px 16px;
	border: 2px solid var(--wchb-border);
	border-radius: var(--wchb-radius);
	font-size: 16px;
	font-weight: 600;
	width: 80px;
	text-align: center;
	transition: var(--wchb-transition);
}

.woocommerce div.product form.cart .quantity .qty:focus {
	outline: none;
	border-color: var(--wchb-primary);
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* ============================================
   BOOKING CALENDAR
   ============================================ */

.wchb-booking-calendar {
	margin: 50px 0;
	padding: 0;
	border: none;
	border-radius: var(--wchb-radius-lg);
	background: var(--wchb-bg);
	box-shadow: var(--wchb-shadow);
	overflow: hidden;
	transition: var(--wchb-transition);
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.wchb-booking-calendar:hover {
	box-shadow: var(--wchb-shadow-hover);
}

/* Calendar Header */
.wchb-calendar-header {
	padding: 40px 30px 30px;
	background: linear-gradient(135deg, var(--wchb-primary) 0%, var(--wchb-secondary) 100%);
	color: #fff;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.wchb-calendar-header::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	pointer-events: none;
}

.wchb-calendar-title {
	margin: 0 0 8px 0;
	font-size: 28px;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.5px;
	position: relative;
	z-index: 1;
}

.wchb-calendar-subtitle {
	margin: 0;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 400;
	position: relative;
	z-index: 1;
}

/* Calendar Wrapper */
.wchb-calendar-wrapper {
	display: block;
	padding: 0;
	max-width: 100%;
	overflow: hidden;
}

.wchb-calendar-container {
	padding: 40px 30px;
	background: linear-gradient(to bottom, var(--wchb-bg-light) 0%, var(--wchb-bg) 100%);
	min-height: 500px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	max-width: 100%;
	overflow: hidden;
}

.wchb-calendar-container #wchb-inline-calendar {
	width: 100%;
	max-width: 600px;
	overflow: hidden;
}

/* Booking Details */
.wchb-booking-details {
	padding: 40px 30px;
	background: var(--wchb-bg);
	display: flex;
	flex-direction: column;
	gap: 25px;
	border-top: 1px solid var(--wchb-border);
}

/* Date Selection */
.wchb-date-selection {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wchb-selected-date-display {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wchb-date-display-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	background: var(--wchb-bg);
	border: 2px solid var(--wchb-border);
	border-radius: var(--wchb-radius);
	transition: var(--wchb-transition);
}

.wchb-date-display-item.has-value {
	border-color: var(--wchb-primary);
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.wchb-date-display-item:hover {
	border-color: var(--wchb-primary);
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
	transform: translateY(-2px);
}

.wchb-date-display-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, var(--wchb-primary) 0%, var(--wchb-secondary) 100%);
	border-radius: 10px;
	color: #fff;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.wchb-date-display-icon svg {
	width: 24px;
	height: 24px;
}

.wchb-date-display-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.wchb-date-display-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--wchb-text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.wchb-date-display-value {
	font-size: 16px;
	font-weight: 600;
	color: var(--wchb-text);
}

/* Guests Selection */
.wchb-guests-selection {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wchb-guests-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--wchb-text);
}

.wchb-guests-label svg {
	width: 18px;
	height: 18px;
	color: var(--wchb-primary);
}

.wchb-guests-select {
	padding: 12px 16px;
	border: 2px solid var(--wchb-border);
	border-radius: var(--wchb-radius);
	background: var(--wchb-bg);
	font-size: 15px;
	font-weight: 500;
	color: var(--wchb-text);
	transition: var(--wchb-transition);
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 40px;
}

.wchb-guests-select:focus {
	outline: none;
	border-color: var(--wchb-primary);
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Availability Legend */
.wchb-availability-legend {
	padding: 20px;
	background: var(--wchb-bg-light);
	border-radius: var(--wchb-radius);
	border: 1px solid var(--wchb-border);
}

.wchb-legend-title {
	margin: 0 0 12px 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--wchb-text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.wchb-legend-items {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wchb-legend-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}

.wchb-legend-color {
	width: 24px;
	height: 24px;
	border-radius: 4px;
	border: 2px solid rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.wchb-legend-green {
	background-color: var(--wchb-success);
	border-color: #059669;
}

.wchb-legend-yellow {
	background-color: var(--wchb-warning);
	border-color: #d97706;
}

.wchb-legend-red {
	background-color: var(--wchb-danger);
	border-color: #dc2626;
}

.wchb-legend-text {
	color: var(--wchb-text-light);
	font-weight: 500;
}

/* ============================================
   CUSTOM CALENDAR
   ============================================ */

.wchb-custom-calendar {
	width: 100%;
	max-width: 100%;
	background: var(--wchb-bg);
	border-radius: var(--wchb-radius);
	overflow: hidden;
}

/* Calendar Navigation */
.wchb-calendar-header-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	background: linear-gradient(135deg, var(--wchb-primary) 0%, var(--wchb-secondary) 100%);
	color: #fff;
	max-width: 100%;
	overflow: hidden;
}

.wchb-calendar-prev,
.wchb-calendar-next {
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--wchb-transition);
	font-weight: bold;
}

.wchb-calendar-prev:hover,
.wchb-calendar-next:hover {
	background: rgba(255, 255, 255, 0.3);
	transform: scale(1.1);
}

.wchb-calendar-month-year {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.wchb-calendar-month {
	font-size: 20px;
	font-weight: 700;
	color: #fff;
}

.wchb-calendar-year {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
}

/* Calendar Weekdays */
.wchb-calendar-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	background: var(--wchb-bg-light);
	border-bottom: 2px solid var(--wchb-border);
	max-width: 100%;
	overflow: hidden;
}

.wchb-calendar-weekday {
	text-align: center;
	font-weight: 600;
	font-size: 12px;
	color: var(--wchb-primary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 12px 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Calendar Days Grid */
.wchb-calendar-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	padding: 10px;
	background: var(--wchb-bg);
	max-width: 100%;
	overflow: hidden;
}

.wchb-calendar-day {
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 500;
	font-size: 14px;
	transition: var(--wchb-transition);
	border: 2px solid transparent;
	position: relative;
}

.wchb-calendar-day-empty {
	cursor: default;
	visibility: hidden;
}

.wchb-calendar-day-past {
	color: #ccc;
	cursor: not-allowed;
	opacity: 0.5;
}

.wchb-calendar-day-past:hover {
	background: transparent !important;
	transform: none !important;
}

.wchb-calendar-day[data-available="true"]:hover:not(.wchb-calendar-day-past) {
	background: #f0f0f0;
	transform: scale(1.05);
	border-color: var(--wchb-primary);
}

.wchb-calendar-day-selected {
	background: var(--wchb-primary) !important;
	color: #fff !important;
	border-color: var(--wchb-primary) !important;
	font-weight: 700;
	box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.wchb-calendar-day-in-range {
	background: #e0e7ff !important;
	color: var(--wchb-primary) !important;
	border-color: #c7d2fe !important;
}

/* Availability Colors */
.wchb-calendar-day.wchb-avail-green {
	background-color: #d1fae5;
	border-color: #a7f3d0;
	color: #065f46;
}

.wchb-calendar-day.wchb-avail-green:hover:not(.wchb-calendar-day-past) {
	background-color: #a7f3d0;
	border-color: #6ee7b7;
}

.wchb-calendar-day.wchb-avail-yellow {
	background-color: #fef3c7;
	border-color: #fde68a;
	color: #92400e;
}

.wchb-calendar-day.wchb-avail-yellow:hover:not(.wchb-calendar-day-past) {
	background-color: #fde68a;
	border-color: #fcd34d;
}

.wchb-calendar-day.wchb-avail-red {
	background-color: #fee2e2;
	border-color: #fecaca;
	color: #991b1b;
	font-weight: 600;
}

.wchb-calendar-day.wchb-avail-red:hover:not(.wchb-calendar-day-past) {
	background-color: #fecaca;
	border-color: #fca5a5;
}

.wchb-calendar-day.wchb-avail-unavailable {
	background-color: #f5f5f5 !important;
	border-color: #e0e0e0 !important;
	color: #999 !important;
	cursor: not-allowed !important;
	opacity: 0.5;
	pointer-events: none;
}

.wchb-calendar-day.wchb-avail-unavailable:hover {
	background-color: #f5f5f5 !important;
	border-color: #e0e0e0 !important;
	transform: none !important;
}

/* Selected dates maintain style */
.wchb-calendar-day.wchb-avail-green.wchb-calendar-day-selected,
.wchb-calendar-day.wchb-avail-yellow.wchb-calendar-day-selected,
.wchb-calendar-day.wchb-avail-red.wchb-calendar-day-selected {
	background: var(--wchb-primary) !important;
	border-color: var(--wchb-primary) !important;
	color: #fff !important;
}

/* ============================================
   BOOKING SUMMARY
   ============================================ */

.wchb-booking-summary {
	margin-top: 30px;
	padding: 35px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: var(--wchb-radius-lg);
	border: 1px solid rgba(102, 126, 234, 0.1);
	box-shadow: var(--wchb-shadow);
	transition: var(--wchb-transition);
}

.wchb-booking-summary:hover {
	box-shadow: var(--wchb-shadow-hover);
	transform: translateY(-2px);
}

.wchb-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	transition: var(--wchb-transition);
}

.wchb-summary-row:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.wchb-summary-row.wchb-summary-total {
	font-size: 22px;
	font-weight: 700;
	color: var(--wchb-primary);
	margin-top: 20px;
	padding-top: 20px;
	border-top: 2px solid var(--wchb-primary);
	background: rgba(102, 126, 234, 0.05);
	padding-left: 15px;
	padding-right: 15px;
	margin-left: -15px;
	margin-right: -15px;
	border-radius: 8px;
}

.wchb-summary-label {
	font-weight: 600;
	color: var(--wchb-text-light);
	font-size: 15px;
	letter-spacing: 0.3px;
}

.wchb-summary-value {
	color: var(--wchb-text);
	font-weight: 600;
	font-size: 16px;
	text-align: right;
}

.wchb-summary-row.wchb-summary-total .wchb-summary-label {
	color: var(--wchb-primary);
	font-size: 20px;
}

.wchb-summary-row.wchb-summary-total .wchb-summary-value {
	font-size: 26px;
	font-weight: 700;
	color: var(--wchb-primary);
}

/* ============================================
   MESSAGES & ERRORS
   ============================================ */

.wchb-error-message {
	margin-top: 20px;
	padding: 18px 24px;
	background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
	border: 2px solid #fca5a5;
	border-radius: var(--wchb-radius);
	color: #991b1b;
	font-size: 15px;
	font-weight: 500;
	box-shadow: 0 2px 10px rgba(239, 68, 68, 0.15);
	display: flex;
	align-items: center;
	gap: 10px;
}

.wchb-availability-message {
	margin-top: 20px;
	margin-bottom: 0;
	padding: 18px 24px;
	background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
	border: 2px solid #93c5fd;
	border-radius: var(--wchb-radius);
	color: #1e40af;
	font-size: 15px;
	font-weight: 500;
	box-shadow: 0 2px 10px rgba(59, 130, 246, 0.15);
}

/* ============================================
   CART DISPLAY
   ============================================ */

.wchb-cart-booking-details {
	margin-top: 10px;
	font-size: 13px;
	color: var(--wchb-text-light);
}

.wchb-cart-booking-details > div {
	margin-bottom: 5px;
}

.wchb-cart-booking-details strong {
	color: var(--wchb-text);
}

.wchb-mini-cart-booking {
	font-size: 12px;
	color: var(--wchb-text-light);
}

.wchb-mini-cart-booking small {
	display: block;
	margin-top: 4px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (min-width: 48em) {
	.woocommerce div.product,
	.woocommerce-page div.product {
/* 		display: flex; */
		gap: 40px;
		align-items: flex-start;
	}
	
	.woocommerce div.product .summary.entry-summary,
	.woocommerce-page div.product .summary.entry-summary,
	.woocommerce-page #content div.product div.summary,
	.woocommerce-page div.product div.summary,
	.woocommerce #content div.product div.summary,
	.woocommerce div.product div.summary {
		flex: 0 0 30%;
		width: 30% !important;
		max-width: 30% !important;
		float: none !important;
		overflow: hidden;
		box-sizing: border-box;
	}
	
	.woocommerce-product-gallery,
	.woocommerce div.product .woocommerce-product-gallery {
		flex: 0 0 65%;
		max-width: 65%;
		width: 65%;
		margin-bottom: 0;
	}
	
	/* Force tabs and related products to full width at bottom */
	.woocommerce div.product > .woocommerce-tabs,
	.woocommerce div.product > .wc-tabs-wrapper,
	.woocommerce div.product > .related,
	.woocommerce div.product > .upsells {
		flex-basis: 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		clear: both;
		margin-top: 60px;
	}

	.woocommerce div.product .product_title {
		font-size: 42px;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}

	.woocommerce div.product .price {
		font-size: 32px;
		max-width: 100%;
		overflow: hidden;
	}

	.wchb-selected-date-display {
		display: none;
	}
}

@media screen and (min-width: 62em) {
	.woocommerce div.product,
	.woocommerce-page div.product {
		gap: 60px;
		max-width: 100%;
		overflow: hidden;
	}
	
	.woocommerce-product-gallery,
	.woocommerce div.product .woocommerce-product-gallery {
		flex: 0 0 55%;
		max-width: 55%;
		width: 55%;
		overflow: hidden;
		box-sizing: border-box;
	}
	
	.woocommerce div.product .summary.entry-summary,
	.woocommerce-page div.product .summary.entry-summary {
		flex: 0 0 40%;
		width: 40%;
		max-width: 40%;
		padding-left: 0;
		overflow: hidden;
		box-sizing: border-box;
	}
	
	/* Force tabs and related products to full width at bottom */
	.woocommerce div.product > .woocommerce-tabs,
	.woocommerce div.product > .wc-tabs-wrapper,
	.woocommerce div.product > .related,
	.woocommerce div.product > .upsells {
		flex-basis: 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		clear: both;
		margin-top: 60px;
	}

	.woocommerce div.product .product_title {
		font-size: 48px;
		margin-bottom: 25px;
		overflow-wrap: break-word;
		word-wrap: break-word;
	}

	.woocommerce div.product .price {
		font-size: 36px;
		margin-bottom: 35px;
		max-width: 100%;
		overflow: hidden;
	}
}

@media screen and (max-width: 47.99em) {
	.woocommerce div.product,
	.woocommerce-page div.product {
		display: flex;
		flex-direction: column;
		gap: 30px;
		max-width: 100%;
		width: 100%;
	}
	
	.woocommerce-product-gallery,
	.woocommerce div.product .woocommerce-product-gallery {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
	}
	
	.woocommerce div.product .summary.entry-summary,
	.woocommerce-page div.product .summary.entry-summary {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		padding-left: 0;
		float: none !important;
	}

	.woocommerce div.product .product_title {
		font-size: 28px;
	}

	.woocommerce div.product .price {
		font-size: 24px;
	}

	.wchb-booking-calendar {
		margin: 30px 0;
		border-radius: 12px;
		max-width: 100%;
		width: 100%;
	}
	
	.wchb-calendar-header {
		padding: 30px 20px 20px;
	}
	
	.wchb-calendar-title {
		font-size: 22px;
	}
	
	.wchb-calendar-subtitle {
		font-size: 13px;
	}
	
	.wchb-calendar-container,
	.wchb-booking-details {
		padding: 25px 20px;
		max-width: 100%;
		overflow: hidden;
	}
	
	.wchb-calendar-day {
		font-size: 12px;
	}
	
	.wchb-calendar-header-nav {
		padding: 15px;
		max-width: 100%;
		overflow: hidden;
	}
	
	.wchb-calendar-month {
		font-size: 16px;
	}
	
	.wchb-calendar-year {
		font-size: 12px;
	}
	
	.wchb-calendar-prev,
	.wchb-calendar-next {
		width: 32px;
		height: 32px;
		font-size: 14px;
	}
}

@media (max-width: 1024px) {
	.wchb-calendar-container {
		border-right: none;
	}
}

/* ============================================
   CUSTOM LOGO (if needed)
   ============================================ */

.custom-logo {
	float: left;
	width: 100%;
	padding-right: 2.1875em;
}

.content-area:not(.full-width) {
	float: left;
	width: 100% !important;
	padding-right: 2.1875em;
}

