/*
 * Tamara commerce parity layer.
 * Loaded after style.css/reference-parity.css and WooCommerce block styles.
 */

.commerce-parity {
	--commerce-charcoal: #2d2d2d;
	--commerce-gold: #b4975a;
	--commerce-ivory: #fbf9f4;
	--commerce-teal: #408078;
	--commerce-mist: #cad7e0;
	min-width: 0;
	overflow: clip;
	color: var(--commerce-charcoal);
	background: var(--commerce-ivory);
}

.commerce-shell {
	width: min(1160px, calc(100% - 48px));
	margin-inline: auto;
}

.commerce-eyebrow {
	display: flex;
	align-items: center;
	gap: 13px;
	margin: 0 0 14px;
	color: var(--commerce-teal);
	font-size: .82rem;
	font-weight: 850;
	letter-spacing: .03em;
}

.commerce-eyebrow::before {
	content: "";
	width: 43px;
	height: 1px;
	background: currentColor;
}

.commerce-eyebrow--light {
	color: var(--commerce-gold);
}

.commerce-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 12px 28px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 850;
	text-decoration: none;
	transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.commerce-button--light {
	color: var(--commerce-charcoal);
	background: var(--commerce-ivory);
}

.commerce-button:hover {
	transform: translateY(-2px);
}

.commerce-button svg {
	width: 18px;
	height: 18px;
	transform: rotate(180deg);
}

.commerce-button:focus-visible,
.commerce-parity a:focus-visible,
.commerce-parity button:focus-visible,
.commerce-parity input:focus-visible,
.commerce-parity select:focus-visible,
.commerce-parity textarea:focus-visible {
	outline: 3px solid var(--commerce-gold);
	outline-offset: 3px;
}

/* Accommodation archive */
.commerce-villas__hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	height: 550px;
	min-height: 550px;
	overflow: hidden;
	color: white;
	background: var(--commerce-charcoal);
}

.commerce-villas__hero-image,
.commerce-villas__hero-shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.commerce-villas__hero-image {
	z-index: -2;
	object-fit: cover;
	object-position: center 48%;
}

/* WooCommerce ships `.woocommerce img { height: auto; }` with a more
 * specific selector than the generic hero image rule. Keep the archive hero
 * media locked to its frame so the square source is cropped, not expanded. */
.commerce-villas__hero > img.commerce-villas__hero-image {
	height: 100%;
}

.commerce-villas__hero-shade {
	z-index: -1;
	background: linear-gradient(0deg, rgb(45 45 45 / .88), rgb(45 45 45 / .22));
}

.commerce-villas__hero-copy {
	width: var(--shell);
	padding-block: 0;
	padding-bottom: 74px;
}

.commerce-villas__hero .commerce-eyebrow {
	gap: 11px;
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: normal;
}

.commerce-villas__hero .commerce-eyebrow::before {
	width: 34px;
}

.commerce-villas__hero-copy h1 {
	max-width: 920px;
	margin: 0;
	color: white;
	font-size: clamp(42px, 5vw, 68px);
	line-height: 1.3;
	letter-spacing: -.04em;
}

.commerce-villas__hero-copy > p:not(.commerce-eyebrow) {
	max-width: 780px;
	margin: 18px 0 0;
	color: rgb(255 255 255 / .83);
	font-size: 17px;
	line-height: 1.95;
}

.commerce-villas__catalog,
.commerce-villas__values {
	padding-block: clamp(78px, 9vw, 136px);
}

.commerce-villas__catalog {
	background: var(--commerce-ivory);
}

.commerce-shop-hooks {
	display: none;
}

.commerce-section-heading {
	display: block;
	max-width: 750px;
	margin-bottom: 46px;
}

.commerce-section-heading h2 {
	margin: 0;
	color: var(--commerce-charcoal);
	font-size: clamp(2.125rem, 4.4vw, 3.625rem);
	line-height: 1.34;
}

.commerce-section-heading .section-lead {
	margin: 18px 0 0;
	color: rgb(45 45 45 / .68);
	font-size: 1.06rem;
	line-height: 2;
}

.commerce-section-heading--center {
	margin-inline: auto;
	text-align: center;
}

.commerce-section-heading--center .commerce-eyebrow {
	justify-content: center;
}

.commerce-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 25px;
	padding: 15px 18px;
	border: 1px solid rgb(64 128 120 / .16);
	border-radius: 14px;
	background: white;
}

.commerce-shop-toolbar .woocommerce-result-count,
.commerce-shop-toolbar .woocommerce-ordering {
	float: none;
	margin: 0;
}

.commerce-shop-toolbar .woocommerce-result-count {
	color: rgb(45 45 45 / .68);
	font-size: .78rem;
}

.commerce-shop-toolbar select {
	min-height: 43px;
	padding-inline: 13px 36px;
	border: 1px solid var(--commerce-mist);
	border-radius: 9px;
	color: var(--commerce-charcoal);
	background: white;
}

.commerce-villas .woocommerce ul.products.stay-grid,
.commerce-villas ul.products.stay-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.commerce-villas .woocommerce ul.products li.stay-card,
.commerce-villas ul.products li.stay-card {
	float: none !important;
	clear: none !important;
	width: 100% !important;
	min-width: 0;
	max-width: none;
	margin: 0 !important;
	padding: 0;
	border: 1px solid rgb(64 128 120 / .14);
	border-radius: 4px 46px 4px 4px;
	background: white;
	box-shadow: 0 16px 50px rgb(45 45 45 / .07);
}

.commerce-villas .woocommerce ul.products li.stay-card .stay-card-media img,
.commerce-villas ul.products li.stay-card .stay-card-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	aspect-ratio: auto;
	object-fit: cover;
}

.commerce-villas .woocommerce ul.products li.stay-card .woocommerce-loop-product__title,
.commerce-villas ul.products li.stay-card .woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	color: var(--commerce-charcoal);
	font-size: 1.44rem;
	line-height: 1.5;
}

.commerce-villas .stay-price b,
.commerce-villas .stay-price .amount {
	color: var(--commerce-teal);
	font-weight: 850;
}

.commerce-villas__values {
	background: white;
}

.commerce-value-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.commerce-value-grid article {
	min-height: 260px;
	padding: 30px;
	border: 0;
	border-top: 4px solid var(--commerce-teal);
	border-radius: 0;
	background: white;
	box-shadow: 0 14px 45px rgb(45 45 45 / .06);
}

.commerce-value-grid article:nth-child(2) {
	border-color: var(--commerce-gold);
}

.commerce-value-grid article:nth-child(3) {
	border-color: var(--commerce-teal);
}

.commerce-value-grid article > span {
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	color: var(--commerce-teal);
	background: transparent;
}

.commerce-value-grid article > span svg {
	width: 34px;
	height: 34px;
}

.commerce-value-grid h3 {
	margin: 18px 0 8px;
	font-size: 1.38rem;
}

.commerce-value-grid p {
	margin: 0;
	color: rgb(45 45 45 / .68);
	font-size: .88rem;
	line-height: 1.7;
}

.commerce-cta {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: 520px;
	overflow: hidden;
	margin-bottom: 18px;
	border-radius: 4px 90px 4px 4px;
	color: white;
}

.commerce-cta > img,
.commerce-cta > .cta-banner-shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.commerce-cta > img {
	z-index: -2;
	object-fit: cover;
	object-position: center 45%;
}

.commerce-cta > .cta-banner-shade {
	z-index: -1;
	background: linear-gradient(90deg, rgb(45 45 45 / .25), rgb(45 45 45 / .83));
}

.commerce-cta .cta-banner-copy {
	position: relative;
	z-index: 2;
	width: min(640px, 70%);
	margin-inline: clamp(34px, 8vw, 120px) auto;
}

.commerce-cta h2 {
	margin: 0;
	color: white;
	font-size: clamp(2.38rem, 5vw, 4.06rem);
	line-height: 1.35;
}

.commerce-cta .cta-banner-copy > p:not(.eyebrow) {
	margin: 19px 0 29px;
	color: rgb(251 249 244 / .8);
	font-size: 1rem;
}

.commerce-cta .primary-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 13px 27px;
	border-radius: 999px;
	color: var(--commerce-charcoal);
	background: white;
	font-weight: 800;
}

/* Single WooCommerce accommodation */
.commerce-product__shell {
	padding-block: 68px 110px;
}

.commerce-product .woocommerce div.product,
.commerce-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
	align-items: start;
	gap: 0 clamp(35px, 5vw, 70px);
}

.commerce-product .woocommerce div.product div.images,
.commerce-product div.product div.images,
.commerce-product .woocommerce div.product div.summary,
.commerce-product div.product div.summary {
	float: none;
	width: auto;
	margin: 0;
}

.commerce-product .woocommerce-product-gallery__wrapper,
.commerce-product .woocommerce-product-gallery__image a {
	display: block;
	overflow: hidden;
	border-radius: 4px 80px 4px 4px;
	background: var(--commerce-mist);
}

.commerce-product .woocommerce-product-gallery__image a {
	height: 680px;
}

.commerce-product .woocommerce-product-gallery__image img,
.commerce-product .woocommerce div.product div.images img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.commerce-product .summary {
	position: sticky;
	top: 25px;
	align-self: start;
	padding-top: 0;
}

.commerce-product .product_title {
	margin: 0 0 16px !important;
	color: var(--commerce-charcoal);
	font-size: clamp(2.25rem, 4vw, 3.44rem) !important;
	line-height: 1.35;
}

.tamara-product-price {
	display: grid;
	gap: 7px;
	margin: 18px 0 22px;
}

.tamara-product-price__label {
	color: rgb(45 45 45 / .66);
	font-size: .76rem;
	font-weight: 750;
}

.tamara-product-price__row {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px 12px;
}

.tamara-product-price__amounts,
.tamara-product-price__amounts .price {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 9px;
	direction: rtl;
	unicode-bidi: isolate;
	color: var(--commerce-teal);
	font-size: clamp(1.72rem, 3vw, 2.12rem);
	font-weight: 900;
	line-height: 1.25;
}

.tamara-product-price__amounts ins {
	order: 1;
	color: var(--commerce-teal);
	text-decoration: none;
}

.tamara-product-price__amounts del {
	order: 2;
	color: rgb(45 45 45 / .43);
	font-size: .61em;
	font-weight: 650;
	text-decoration-color: currentColor;
	text-decoration-thickness: 1.5px;
}

.tamara-product-price__amounts bdi,
.tamara-product-price__discount bdi {
	unicode-bidi: isolate;
}

.tamara-product-price__unit {
	color: rgb(45 45 45 / .62);
	font-size: .77rem;
	font-weight: 550;
}

.tamara-product-price__discount,
.tamara-compact-price__discount {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 10px;
	border: 1px solid rgb(180 151 90 / .24);
	border-radius: 999px;
	color: var(--commerce-charcoal);
	background: rgb(180 151 90 / .17);
	font-size: .72rem;
	font-weight: 850;
	line-height: 1;
}

.tamara-product-price__discount[hidden] {
	display: none;
}

.commerce-product.tamara-price-enhanced .woocommerce-variation-price {
	display: none;
}

.commerce-product .woocommerce-product-details__short-description {
	margin-block: 22px;
	color: rgb(45 45 45 / .68);
	font-size: .98rem;
	line-height: 1.95;
}

.commerce-product div.product form.cart {
	display: block;
	margin-block: 28px;
	padding: 22px;
	border: 1px solid var(--commerce-mist);
	border-radius: 20px;
	background: white;
	box-shadow: 0 14px 42px rgb(45 45 45 / .06);
}

.commerce-product form.cart .tamara-booking-fields {
	width: 100%;
	min-width: 0;
	margin: 0 0 16px;
}

.commerce-product form.cart .tamara-booking-fields__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.commerce-product form.cart input[type="date"],
.commerce-product form.cart input[type="text"],
.commerce-product form.cart select {
	width: 100%;
	max-width: 100%;
	min-height: 49px;
	border: 1px solid var(--commerce-mist);
	border-radius: 11px;
	background: var(--commerce-ivory);
}

.commerce-product form.cart .quantity {
	float: none;
	margin: 0 0 12px;
}

.commerce-product form.cart .single_add_to_cart_button {
	float: none;
	width: 100%;
	min-height: 54px;
	margin: 0;
	border-radius: 999px;
	color: white;
	background: var(--commerce-teal);
	font-weight: 900;
}

.commerce-product form.cart .single_add_to_cart_button:hover {
	background: var(--commerce-charcoal);
}

.commerce-product .product_meta {
	display: none !important;
}

.tamara-compact-price {
	display: grid;
	justify-items: end;
	gap: 3px;
}

.tamara-compact-price__amounts,
.tamara-compact-price__amounts .price {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 6px;
	direction: rtl;
	unicode-bidi: isolate;
}

.tamara-compact-price__amounts ins {
	order: 1;
	color: var(--commerce-teal);
	text-decoration: none;
}

.tamara-compact-price__amounts del {
	order: 2;
	color: rgb(45 45 45 / .42);
	font-size: .65em;
	font-weight: 650;
	text-decoration-thickness: 1px;
}

.tamara-compact-price__discount {
	padding: 4px 7px;
	font-size: .62rem;
}

.commerce-product .amenity-list {
	grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.commerce-product .woocommerce-tabs,
.commerce-product section.related,
.commerce-product section.up-sells {
	display: none !important;
}

/* Cart and checkout shells (both Woo Blocks and classic shortcodes). */
.commerce-flow__hero {
	padding: 70px 24px 52px;
	color: var(--commerce-ivory);
	background: var(--commerce-charcoal);
}

.commerce-flow--checkout .commerce-flow__hero {
	padding-block: 62px 46px;
}

.commerce-flow--checkout .commerce-flow__content {
	padding-block: 50px 86px;
}

.commerce-flow__hero .commerce-eyebrow {
	color: var(--commerce-gold);
}

.commerce-flow__hero h1 {
	margin: 0;
	color: var(--commerce-ivory);
	font-size: clamp(2.2rem, 5vw, 3.5rem);
	line-height: 1.35;
}

.commerce-flow__hero p:last-child {
	max-width: 700px;
	margin: 12px 0 0;
	color: var(--commerce-mist);
	line-height: 1.8;
}

.commerce-flow__content {
	width: min(1160px, calc(100% - 48px));
	min-height: 360px;
	margin-inline: auto;
	padding-block: 52px 88px;
}

.commerce-flow__inquiry {
	width: min(1160px, calc(100% - 48px));
	margin: -64px auto 58px;
	font-size: .81rem;
	font-weight: 800;
	text-align: center;
}

.commerce-flow__inquiry a {
	color: var(--commerce-teal);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.commerce-flow__content > .wp-block-woocommerce-cart,
.commerce-flow__content > .wp-block-woocommerce-checkout,
.commerce-flow__content .wp-block-woocommerce-cart,
.commerce-flow__content .wp-block-woocommerce-checkout {
	width: 100%;
	margin: 0;
}

.commerce-flow .wc-block-components-sidebar-layout {
	gap: 28px;
}

.commerce-flow .wc-block-components-sidebar-layout .wc-block-components-main {
	width: calc(68% - 14px);
}

.commerce-flow .wc-block-components-sidebar-layout .wc-block-components-sidebar {
	width: calc(32% - 14px);
}

.commerce-flow .wc-block-cart-items,
.commerce-flow .wc-block-components-checkout-step,
.commerce-flow .wc-block-components-order-summary,
.commerce-flow .wc-block-components-totals-wrapper,
.commerce-flow .wc-block-cart__submit-container,
.commerce-flow .wc-block-components-sidebar {
	border-color: var(--commerce-mist) !important;
	border-radius: 20px;
	background: white;
}

.commerce-flow .wc-block-components-checkout-step,
.commerce-flow .wc-block-components-order-summary,
.commerce-flow .wc-block-components-totals-wrapper {
	padding: 22px !important;
}

.commerce-flow .wc-block-cart__submit-button,
.commerce-flow .wc-block-components-checkout-place-order-button,
.commerce-flow .checkout-button,
.commerce-flow #place_order {
	min-height: 53px;
	border: 1px solid var(--commerce-teal);
	border-radius: 999px;
	color: white;
	background: var(--commerce-teal);
	font-weight: 900;
}

.commerce-flow .wc-block-cart__submit-button:hover,
.commerce-flow .wc-block-components-checkout-place-order-button:hover,
.commerce-flow .checkout-button:hover,
.commerce-flow #place_order:hover {
	border-color: var(--commerce-charcoal);
	color: white;
	background: var(--commerce-charcoal);
}

.commerce-flow .wc-block-components-text-input input,
.commerce-flow .wc-block-components-combobox .wc-block-components-combobox-control input,
.commerce-flow .wc-block-components-address-form select,
.commerce-flow .woocommerce form .input-text,
.commerce-flow .woocommerce form select {
	min-height: 49px;
	border-color: var(--commerce-mist) !important;
	border-radius: 11px !important;
	background: white !important;
}

.commerce-flow .wc-block-cart__empty-cart__title,
.commerce-flow .wp-block-woocommerce-empty-cart-block {
	text-align: center;
}

.commerce-flow .wc-block-cart__empty-cart__title {
	margin-top: 0;
	color: var(--commerce-charcoal);
	font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.commerce-flow .wc-block-cart__empty-cart__title::before {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin: 0 auto 18px;
	border-radius: 50%;
	content: "0";
	color: white;
	background: var(--commerce-teal);
	font-size: .84rem;
	font-weight: 900;
}

.commerce-flow .wp-block-woocommerce-empty-cart-block {
	padding: clamp(38px, 7vw, 72px) 24px;
	border: 1px solid var(--commerce-mist);
	border-radius: 24px;
	background: white;
	box-shadow: 0 14px 42px rgb(45 45 45 / .06);
}

.commerce-flow .wp-block-woocommerce-empty-cart-block > .wp-block-heading:not(.wc-block-cart__empty-cart__title),
.commerce-flow .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new {
	display: none;
}

.commerce-flow .woocommerce-cart-form,
.commerce-flow .cart-collaterals,
.commerce-flow .woocommerce-checkout-review-order,
.commerce-flow .woocommerce-billing-fields,
.commerce-flow .woocommerce-additional-fields {
	min-width: 0;
}

.commerce-flow--cart .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, .7fr);
	align-items: start;
	gap: 28px;
}

.commerce-flow--cart .woocommerce > .woocommerce-notices-wrapper,
.commerce-flow--cart .woocommerce > .woocommerce-error,
.commerce-flow--cart .woocommerce > .woocommerce-message,
.commerce-flow--cart .woocommerce > .woocommerce-info,
.commerce-flow--cart .woocommerce > .cart-empty,
.commerce-flow--cart .woocommerce > .return-to-shop {
	grid-column: 1 / -1;
}

.commerce-flow--cart .woocommerce-cart-form,
.commerce-flow--cart .cart-collaterals,
.commerce-flow--cart .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
}

.commerce-flow--cart .cart-collaterals .cart_totals {
	position: sticky;
	top: 22px;
}

.commerce-flow--checkout form.woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(310px, .72fr);
	align-items: start;
	gap: 0 28px;
}

.commerce-flow--checkout form.woocommerce-checkout > .col2-set {
	grid-column: 1;
	grid-row: 1 / span 3;
}

.commerce-flow--checkout form.woocommerce-checkout > #order_review_heading,
.commerce-flow--checkout form.woocommerce-checkout > #order_review {
	grid-column: 2;
}

.commerce-flow--checkout form.woocommerce-checkout > #order_review_heading {
	margin: 0 0 13px;
	font-size: 1.44rem;
}

.commerce-flow .woocommerce-cart-form,
.commerce-flow .cart-collaterals .cart_totals,
.commerce-flow .woocommerce-checkout #order_review,
.commerce-flow .woocommerce-checkout .col2-set {
	border: 1px solid var(--commerce-mist);
	border-radius: 20px;
	background: white;
	box-shadow: 0 14px 42px rgb(45 45 45 / .06);
}

.commerce-flow .woocommerce-cart-form {
	overflow: hidden;
}

.commerce-flow .woocommerce-checkout .col2-set {
	padding: clamp(20px, 4vw, 36px);
}

.commerce-flow .cart-empty.woocommerce-info {
	max-width: 760px;
	margin: 0 auto !important;
	padding: clamp(38px, 7vw, 72px) 24px !important;
	border: 1px solid var(--commerce-mist);
	border-radius: 24px;
	color: var(--commerce-charcoal);
	background: white;
	box-shadow: 0 14px 42px rgb(45 45 45 / .06);
	font-size: clamp(1.5rem, 4vw, 2.1rem);
	font-weight: 800;
	text-align: center;
}

.commerce-flow .cart-empty.woocommerce-info::before {
	position: static;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	margin: 0 auto 18px;
	border-radius: 50%;
	content: "0";
	color: white;
	background: var(--commerce-teal);
	font-size: .84rem;
}

.commerce-flow .return-to-shop {
	margin: -32px auto 0;
	text-align: center;
}

.commerce-flow .return-to-shop .button {
	min-height: 52px;
	padding: 12px 25px;
	border-radius: 999px;
	color: white;
	background: var(--commerce-teal);
}

@media (max-width: 900px) {
	.commerce-section-heading {
		align-items: start;
		flex-direction: column;
		gap: 15px;
	}

	.commerce-section-heading--center {
		align-items: center;
	}

	/*
	 * WooCommerce Blocks and Paymob both inject checkout layout rules at runtime.
	 * Paymob 4.1.x forces the main column to width: 0 and WooCommerce RTL can
	 * retain row-reverse on narrow screens, so reset the flex item explicitly.
	 */
	.commerce-flow--checkout .wc-block-checkout .wc-block-components-sidebar-layout,
	.commerce-flow--checkout .wc-block-checkout .wc-block-components-sidebar-layout:has(> :last-child.wp-block-woocommerce-checkout-fields-block) {
		align-items: stretch !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
	}

	.commerce-flow--checkout .wc-block-checkout .wc-block-components-sidebar-layout > .wc-block-components-main,
	.commerce-flow--checkout .wc-block-checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
		box-sizing: border-box;
		flex: 0 0 auto !important;
		inline-size: 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-inline: 0 !important;
		padding-inline: 0 !important;
	}

	.commerce-flow--checkout .wc-block-checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
		position: static !important;
	}

	.commerce-flow--checkout .wc-block-components-checkout-step,
	.commerce-flow--checkout .wc-block-components-address-form,
	.commerce-flow--checkout .wc-block-components-text-input,
	.commerce-flow--checkout .wc-block-components-text-input input,
	.commerce-flow--checkout .wc-block-components-combobox,
	.commerce-flow--checkout .wc-block-components-combobox-control {
		box-sizing: border-box;
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.commerce-flow .wc-block-components-sidebar-layout .wc-block-components-main,
	.commerce-flow .wc-block-components-sidebar-layout .wc-block-components-sidebar {
		width: 100%;
	}

	.commerce-flow--cart .woocommerce,
	.commerce-flow--checkout form.woocommerce-checkout {
		grid-template-columns: 1fr;
	}

	.commerce-flow--checkout form.woocommerce-checkout > .col2-set,
	.commerce-flow--checkout form.woocommerce-checkout > #order_review_heading,
	.commerce-flow--checkout form.woocommerce-checkout > #order_review {
		grid-column: 1;
		grid-row: auto;
	}

	.commerce-flow--checkout form.woocommerce-checkout > #order_review_heading {
		margin-top: 30px;
	}

	.commerce-flow--cart .cart-collaterals .cart_totals {
		position: static;
	}
}

@media (max-width: 880px) {
	.commerce-product .woocommerce div.product,
	.commerce-product div.product {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.commerce-product .woocommerce-product-gallery__image a {
		height: 540px;
	}

	.commerce-product .summary {
		position: static;
	}
}

@media (max-width: 720px) {
	.commerce-shell,
	.commerce-flow__content {
		width: min(100% - 32px, 1160px);
	}

	.commerce-villas__catalog,
	.commerce-villas__values {
		padding-block: clamp(78px, 9vw, 136px);
	}

	.commerce-villas .woocommerce ul.products.stay-grid,
	.commerce-villas ul.products.stay-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.commerce-villas .woocommerce ul.products li.stay-card,
	.commerce-villas ul.products li.stay-card {
		border-radius: 4px 46px 4px 4px;
	}

	.commerce-value-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.commerce-value-grid article {
		min-height: 260px;
	}

	.commerce-product__shell {
		padding-block: 42px 88px;
	}

	.commerce-product .woocommerce-product-gallery__wrapper,
	.commerce-product .woocommerce-product-gallery__image a {
		border-radius: 4px 42px 4px 4px;
	}

	.commerce-product div.product form.cart {
		padding: 18px;
	}

	.commerce-product form.cart .tamara-booking-fields__grid {
		grid-template-columns: 1fr;
	}

	.commerce-product form.cart .tamara-booking-fields,
	.commerce-product form.cart .single_add_to_cart_button,
	.commerce-product form.cart .quantity {
		width: 100%;
		max-width: none;
	}

	.commerce-flow .wc-block-components-checkout-step,
	.commerce-flow .wc-block-components-order-summary,
	.commerce-flow .wc-block-components-totals-wrapper {
		padding: 16px !important;
	}

	.commerce-shop-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.commerce-shop-toolbar select {
		width: 100%;
	}
}

@media (max-width: 600px) {
	.commerce-villas__hero {
		height: 500px;
		min-height: 500px;
	}

	.commerce-villas__hero-copy {
		padding-bottom: 50px;
	}

	.commerce-villas__hero-copy h1 {
		font-size: clamp(30px, 9vw, 39px);
		line-height: 1.3;
	}

	.commerce-villas__hero-copy > p:not(.commerce-eyebrow) {
		font-size: 14px;
		line-height: 1.95;
	}

	.commerce-villas__catalog,
	.commerce-villas__values {
		padding-block: 72px;
	}

	.commerce-value-grid {
		grid-template-columns: 1fr;
	}

	.commerce-cta {
		min-height: 550px;
	}

	.commerce-cta .cta-banner-copy {
		width: auto;
		margin-inline: 25px;
	}

	.commerce-cta h2 {
		font-size: 2.31rem;
	}

	.commerce-product .amenity-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.commerce-product .woocommerce-product-gallery__image a {
		height: 430px;
	}

	.tamara-product-price__amounts,
	.tamara-product-price__amounts .price {
		font-size: 1.58rem;
	}

	.tamara-product-price__row {
		gap: 7px 9px;
	}
}

@media (max-width: 640px) {
	.commerce-flow--cart .commerce-flow__hero {
		padding: 52px 20px 40px;
	}

	.commerce-flow--cart .commerce-flow__content {
		padding-block: 32px 65px;
	}
}

@media (max-width: 620px) {
	.commerce-flow--checkout .commerce-flow__hero {
		padding: 50px 20px 38px;
	}

	.commerce-flow--checkout .commerce-flow__content {
		padding-block: 32px 65px;
	}
}

@media (max-width: 420px) {

	.commerce-button {
		width: 100%;
	}

	.commerce-product div.product form.cart {
		margin-inline: 0;
		padding: 16px;
	}

	.commerce-flow .wp-block-woocommerce-empty-cart-block {
		padding-inline: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.commerce-parity *,
	.commerce-parity *::before,
	.commerce-parity *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}


/* Let the product gallery follow each image's proportions on every screen. */
.commerce-product .woocommerce-product-gallery__wrapper {
  background: transparent;
  border-radius: 0;
}
.commerce-product .woocommerce-product-gallery__image a {
  height: auto;
  background: transparent;
  border-radius: 12px;
}
.commerce-product div.product div.images .woocommerce-product-gallery__image > a > img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  max-height: 78svh;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}
.commerce-product div.product div.images .flex-control-thumbs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.commerce-product div.product div.images .flex-control-thumbs li {
  min-width: 0;
}
.commerce-product div.product div.images .flex-control-thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
