/* WPR Rental Booking Flow — Stylesheet */

.wpr-booking-flow-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
	font-family: 'Poppins', sans-serif;
	color: #1a1a1a;
}

/* Stepper */
.wpr-booking-stepper {
	text-align: center;
	margin-bottom: 40px;
}
.wpr-booking-stepper__title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 24px;
}
.wpr-stepper-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	max-width: 600px;
	margin: 0 auto;
}
.wpr-step-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	position: relative;
	z-index: 2;
}
.wpr-step-num {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #e0e0e0;
	color: #666;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	transition: background 0.3s, color 0.3s;
}
.wpr-step-label {
	font-size: 13px;
	font-weight: 500;
	color: #777;
	white-space: nowrap;
}
.wpr-step-line {
	flex: 1;
	height: 2px;
	background: #e0e0e0;
	margin-top: -24px;
	z-index: 1;
	transition: background 0.3s;
}

/* Active Stepper states */
.wpr-step-item.is-active .wpr-step-num {
	background: #1a1a1a;
	color: #ffffff;
}
.wpr-step-item.is-active .wpr-step-label {
	color: #1a1a1a;
	font-weight: 600;
}
.wpr-step-line.is-active {
	background: #1a1a1a;
}

/* Layout Grid */
.wpr-booking-grid {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 40px;
	align-items: flex-start;
}

@media (max-width: 991px) {
	.wpr-booking-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* Titles */
.wpr-section-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 6px 0;
}
.wpr-section-subtitle {
	font-size: 14px;
	color: #666;
	margin: 0 0 24px 0;
}

/* Cart list */
.wpr-booking-cart-list {
	margin-bottom: 20px;
}
.wpr-booking-cart-empty {
	padding: 40px;
	background: #f9f9f9;
	border-radius: 8px;
	text-align: center;
	border: 1px dashed #ccc;
	color: #666;
}

/* Cart Product Card */
.wpr-booking-card {
	display: flex;
	align-items: center;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 16px;
	background: #ffffff;
	transition: box-shadow 0.2s;
}
.wpr-booking-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.wpr-booking-card__img {
	width: 90px;
	height: 90px;
	border-radius: 6px;
	border: 1px solid #eee;
	overflow: hidden;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.wpr-booking-card__img img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	padding: 6px;
}
.wpr-booking-card__details {
	flex: 1;
	padding: 0 20px;
}
.wpr-booking-card__title {
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 4px 0;
}
.wpr-booking-card__desc {
	font-size: 13px;
	color: #666;
	line-height: 1.5;
	margin: 0 0 8px 0;
}
.wpr-booking-card__price {
	font-size: 14px;
	font-weight: 700;
}
.wpr-price-amt {
	color: #1a1a1a;
}
.wpr-price-suff {
	color: #777;
	font-weight: 400;
}

.wpr-booking-card__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	height: 90px;
	flex-shrink: 0;
}
.wpr-booking-card__delete {
	border: none;
	background: transparent;
	font-size: 24px;
	color: #ccc;
	cursor: pointer;
	line-height: 1;
	padding: 0 4px;
	transition: color 0.2s;
}
.wpr-booking-card__delete:hover {
	color: #ff3b30;
}

/* Quantity Picker */
.wpr-qty-picker {
	display: flex;
	align-items: center;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	overflow: hidden;
	height: 32px;
	background: #ffffff;
}
.wpr-qty-picker__btn {
	width: 32px;
	height: 100%;
	border: none;
	background: #ffffff;
	color: #333;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.wpr-qty-picker__btn:hover {
	background-color: #f5f5f5;
}
.wpr-qty-picker__input {
	width: 36px;
	height: 100%;
	border: none;
	border-left: 1px solid #d0d0d0;
	border-right: 1px solid #d0d0d0;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
	padding: 0;
	outline: none;
	-moz-appearance: textfield;
}
.wpr-qty-picker__input::-webkit-outer-spin-button,
.wpr-qty-picker__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Add More button */
.wpr-booking-add-more-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	border: 1px dashed #d0d0d0;
	border-radius: 8px;
	padding: 16px;
	background: #fafafa;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s;
}
.wpr-booking-add-more-btn:hover {
	background: #f2f2f2;
	border-color: #999;
}
.wpr-booking-add-more-btn .plus-icon {
	font-size: 18px;
}

/* Right Sidebar Sidebar Box */
.wpr-sidebar-card {
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}

/* Date group */
.wpr-sidebar-dates {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 20px;
}
.wpr-sidebar-date-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.wpr-sidebar-label {
	font-size: 13px;
	font-weight: 600;
	color: #333;
}
.wpr-sidebar-date-input-wrap {
	position: relative;
}
.wpr-sidebar-date-field {
	width: 100%;
	height: 42px;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	padding: 0 10px;
	font-size: 13px;
	font-family: inherit;
	color: #1a1a1a;
	box-sizing: border-box;
	outline: none;
	cursor: pointer;
	background: #ffffff;
}
.wpr-sidebar-date-field:focus {
	border-color: #1a1a1a;
}

/* Duration Banner */
.wpr-duration-banner {
	background: #fafafa;
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	padding: 12px;
	text-align: center;
	margin-bottom: 24px;
}
.wpr-duration-val {
	font-size: 13px;
	font-weight: 700;
	color: #333;
}

/* Summary Card */
.wpr-summary-title {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 16px 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.wpr-summary-items {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.wpr-summary-item-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: #333;
}
.wpr-summary-item-name {
	font-weight: 500;
}
.wpr-summary-item-qty {
	color: #777;
}
.wpr-summary-item-price {
	font-weight: 600;
	color: #1a1a1a;
}

.wpr-summary-divider {
	height: 1px;
	background: #e8e8e8;
	margin: 18px 0;
}

.wpr-summary-subtotal-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 24px;
}
.wpr-subtotal-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.wpr-subtotal-label {
	font-size: 16px;
	font-weight: 700;
}
.wpr-subtotal-note {
	font-size: 11px;
	color: #888;
}
.wpr-subtotal-value {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
}

/* Action Buttons */
.wpr-btn-submit-booking {
	width: 100%;
	height: 48px;
	background: #1a1a1a;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background-color 0.2s;
	margin-bottom: 12px;
}
.wpr-btn-submit-booking:hover {
	background-color: #333333;
}
.wpr-btn-submit-booking .arr {
	font-size: 16px;
	transition: transform 0.2s;
}
.wpr-btn-submit-booking:hover .arr {
	transform: translateX(4px);
}

.wpr-btn-back-catalog {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 44px;
	background: #ffffff;
	border: 1px solid #1a1a1a;
	border-radius: 6px;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	box-sizing: border-box;
	transition: background-color 0.2s;
}
.wpr-btn-back-catalog:hover {
	background-color: #f9f9f9;
}

/* Checkout Stepper styles customization */
.wpr-booking-stepper {
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 30px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}

/* Hide default WooCommerce Checkout components completely */
.page-id-147 form.checkout #customer_details,
.page-id-147 form.checkout #order_review_heading,
.page-id-147 form.checkout #order_review,
.page-id-147 form.checkout .woocommerce-additional-fields,
.page-id-147 .woocommerce-message,
.page-id-147 .woocommerce-info,
.page-id-147 .woocommerce-error,
.page-id-147 .woocommerce-form-coupon-toggle,
.page-id-147 .woocommerce-form-coupon,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-form-coupon {
	display: none !important;
}

/* Custom Checkout Grid */
.wpr-rental-checkout-grid {
	display: grid !important;
	grid-template-columns: 1fr 360px !important;
	gap: 40px !important;
	align-items: flex-start !important;
	margin-top: 24px !important;
}

@media (max-width: 991px) {
	.wpr-rental-checkout-grid {
		grid-template-columns: 1fr !important;
		gap: 32px !important;
	}
}

.wpr-rental-checkout-left {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.wpr-checkout-box {
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}

.wpr-checkout-box__title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px 0;
	color: #1a1a1a;
}

.wpr-checkout-sub-title {
	font-size: 14px;
	font-weight: 700;
	margin: 0 0 12px 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #666;
}

.wpr-checkout-summary-items {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wpr-checkout-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	color: #333;
}

.wpr-checkout-box-divider {
	height: 1px;
	background: #e8e8e8;
	margin: 20px 0;
}

.wpr-checkout-details-table {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wpr-checkout-details-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
}

.wpr-details-label {
	color: #666;
}

.wpr-details-val {
	font-weight: 600;
	color: #1a1a1a;
}

.wpr-checkout-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wpr-total-label {
	font-size: 16px;
	font-weight: 700;
}

.wpr-total-value {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
}

/* Custom Payment Method Radio Boxes */
.wpr-payment-methods-selector {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.wpr-payment-method-option {
	display: flex;
	align-items: center;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 16px;
	cursor: pointer;
	background: #ffffff;
	transition: border-color 0.2s, background-color 0.2s;
}

.wpr-payment-method-option:hover {
	background-color: #fafafa;
}

.wpr-payment-method-option.is-active {
	border-color: #1a1a1a;
	background-color: #ffffff;
}

.wpr-pm-bullet {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #d0d0d0;
	margin-right: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.wpr-payment-method-option.is-active .wpr-pm-bullet {
	border-color: #1a1a1a;
}

.wpr-payment-method-option.is-active .wpr-pm-bullet::after {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #1a1a1a;
	display: block;
}

.wpr-pm-icon {
	font-size: 20px;
	margin-right: 12px;
}

.wpr-pm-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wpr-pm-title {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

.wpr-pm-desc {
	font-size: 12px;
	color: #666;
}

/* Right Sidebar */
.wpr-rental-checkout-right {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.wpr-checkout-sidebar-box {
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}

.wpr-instructions-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 16px;
}

.wpr-instruction-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.wpr-ins-num {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #1a1a1a;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.wpr-ins-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wpr-ins-content strong {
	font-size: 13px;
	font-weight: 600;
	color: #1a1a1a;
}

.wpr-ins-content span {
	font-size: 11px;
	color: #666;
}

.wpr-security-badge {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 0 8px;
}

.wpr-sec-icon {
	font-size: 20px;
	margin-top: 2px;
}

.wpr-sec-details {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wpr-sec-details strong {
	font-size: 13px;
	font-weight: 600;
	color: #1a1a1a;
}

.wpr-sec-details span {
	font-size: 11px;
	color: #666;
	line-height: 1.4;
}

.wpr-btn-checkout-submit {
	width: 100%;
	height: 48px;
	background: #1a1a1a;
	color: #ffffff;
	border: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wpr-btn-checkout-submit:hover {
	background-color: #333333;
}

/* Force standard checkout form and order completion page wrappers to align exactly with cart padding and width */
.woocommerce-checkout form.checkout,
.woocommerce-order {
	max-width: 1200px !important;
	margin: 0 auto !important;
	padding: 0 20px 40px 20px !important;
	box-sizing: border-box !important;
}

/* Fix stepper container bottom space on checkout */
.wpr-booking-flow-checkout-wrapper {
	margin-bottom: 0 !important;
}

/* Spacing 100px so content is not hidden under navbar */
.woocommerce-cart .wpr-booking-flow-container,
.woocommerce-checkout .wpr-booking-flow-checkout-wrapper,
.woocommerce-checkout form.checkout,
.woocommerce-order {
	padding-top: 100px !important;
}

/* Hide page title / entry title on Cart, Checkout, and Order Received pages */
.woocommerce-cart h1.entry-title,
.woocommerce-cart .entry-header,
.woocommerce-checkout h1.entry-title,
.woocommerce-checkout .entry-header {
	display: none !important;
}

/* Make main menu links black on Cart, Checkout, and Order Received pages */
.woocommerce-cart .wpr-navbar-menu li a,
.woocommerce-checkout .wpr-navbar-menu li a {
	color: #1a1a1a !important;
}
.woocommerce-cart .wpr-navbar-menu li a:hover,
.woocommerce-checkout .wpr-navbar-menu li a:hover {
	color: #e98244 !important;
}

/* Make mobile hamburger toggle menu black on these pages */
.woocommerce-cart .wpr-navbar-mobile-toggle span,
.woocommerce-checkout .wpr-navbar-mobile-toggle span {
	background-color: #1a1a1a !important;
}

/* Hide address cards (Billing Address / Shipping Address) on checkout and order received page */
.woocommerce-checkout .woocommerce-customer-details,
.woocommerce-order-received .woocommerce-customer-details,
.woocommerce-checkout .customer_details,
.woocommerce-checkout #customer_details {
	display: none !important;
}

/* Scrolled state: make menu links and mobile toggle white when page is scrolled */
.woocommerce-cart .wpr-navbar-container.is-scrolled .wpr-navbar-menu li a,
.woocommerce-checkout .wpr-navbar-container.is-scrolled .wpr-navbar-menu li a {
	color: #ffffff !important;
}
.woocommerce-cart .wpr-navbar-container.is-scrolled .wpr-navbar-mobile-toggle span,
.woocommerce-checkout .wpr-navbar-container.is-scrolled .wpr-navbar-mobile-toggle span {
	background-color: #ffffff !important;
}

