:root {
	--cowly-forest: #263b2e;
	--cowly-deep: #1d3024;
	--cowly-cream: #f5f0e6;
	--cowly-paper: #fffaf1;
	--cowly-sage: #7f8c74;
	--cowly-gold: #d5b873;
	--cowly-text: #243126;
	--cowly-muted: #687068;
	--cowly-border: rgba(38, 59, 46, 0.14);
	--cowly-display: "DM Serif Display", Georgia, serif;
	--cowly-sans: "Be Vietnam Pro", Arial, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	background: var(--cowly-cream);
	color: var(--cowly-text);
	font-family: var(--cowly-sans);
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
	overflow-x: hidden;
}

body.cowly-menu-open {
	overflow: hidden;
}

img {
	height: auto;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
select,
textarea {
	font: inherit;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background: #fff;
	clip: auto !important;
	clip-path: none;
	color: var(--cowly-deep);
	display: block;
	font-size: 14px;
	height: auto;
	left: 8px;
	padding: 12px 18px;
	top: 8px;
	width: auto;
	z-index: 100000;
}

.cowly-container {
	margin-left: auto;
	margin-right: auto;
	max-width: 1360px;
	padding-left: 40px;
	padding-right: 40px;
	width: 100%;
}

.cowly-container--narrow {
	margin-left: auto;
	margin-right: auto;
	max-width: 880px;
	padding-left: 24px;
	padding-right: 24px;
	width: 100%;
}

.cowly-announcement {
	background: var(--cowly-forest);
	color: #f3e7cf;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.18em;
	min-height: 36px;
	padding: 8px 20px;
	position: relative;
	text-align: center;
	text-transform: uppercase;
	z-index: 101;
}

.cowly-header {
	background: var(--cowly-paper);
	border-bottom: 1px solid var(--cowly-border);
	color: var(--cowly-forest);
	position: relative;
	z-index: 100;
}

.cowly-header--overlay {
	background: transparent;
	border-bottom-color: rgba(255, 255, 255, 0.2);
	color: #fff;
	left: 0;
	position: absolute;
	right: 0;
	top: 36px;
	transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.cowly-header--overlay.is-scrolled {
	background: rgba(29, 48, 36, 0.96);
	border-color: transparent;
	position: fixed;
	top: 0;
}

.admin-bar .cowly-header--overlay.is-scrolled {
	top: 32px;
}

.cowly-header__inner {
	align-items: center;
	display: flex;
	height: 88px;
	justify-content: space-between;
}

.cowly-brand {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 12px;
}

.cowly-brand__mark {
	align-items: center;
	background: #f6f1e8;
	border-radius: 50%;
	display: flex;
	height: 46px;
	justify-content: center;
	overflow: hidden;
	width: 46px;
}

.cowly-brand__mark img,
.cowly-brand__mark .custom-logo {
	height: 38px;
	object-fit: contain;
	width: 30px;
}

.cowly-brand__text strong {
	display: block;
	font-family: var(--cowly-display);
	font-size: 23px;
	font-weight: 400;
	line-height: 1;
}

.cowly-brand__text small {
	display: block;
	font-size: 8px;
	letter-spacing: 0.28em;
	margin-top: 6px;
	opacity: 0.68;
	text-transform: uppercase;
}

.cowly-nav__list {
	align-items: center;
	display: flex;
	gap: 34px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cowly-nav__list li {
	position: relative;
}

.cowly-nav__list a {
	font-size: 12px;
	font-weight: 500;
	transition: opacity 160ms ease;
}

.cowly-nav__list a:hover {
	opacity: 0.68;
}

.cowly-nav__list .sub-menu {
	background: var(--cowly-paper);
	border-radius: 12px;
	box-shadow: 0 18px 45px rgba(20, 35, 26, 0.16);
	color: var(--cowly-text);
	left: -18px;
	list-style: none;
	margin: 0;
	min-width: 210px;
	opacity: 0;
	padding: 10px;
	pointer-events: none;
	position: absolute;
	top: calc(100% + 18px);
	transform: translateY(6px);
	transition: opacity 160ms ease, transform 160ms ease;
}

.cowly-nav__list li:hover > .sub-menu,
.cowly-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.cowly-nav__list .sub-menu a {
	border-radius: 8px;
	display: block;
	padding: 9px 10px;
}

.cowly-nav__list .sub-menu a:hover {
	background: #f3eadb;
	opacity: 1;
}

.cowly-header__actions {
	align-items: center;
	display: flex;
	gap: 18px;
}

.cowly-account-link {
	font-size: 12px;
	font-weight: 500;
}

.cowly-menu-toggle {
	background: transparent;
	border: 0;
	cursor: pointer;
	display: none;
	height: 40px;
	padding: 8px;
	width: 42px;
}

.cowly-menu-toggle > span:not(.screen-reader-text) {
	background: currentColor;
	display: block;
	height: 1px;
	margin: 6px 0;
	transition: transform 160ms ease, opacity 160ms ease;
	width: 25px;
}

.cowly-button {
	align-items: center;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	gap: 14px;
	justify-content: center;
	min-height: 46px;
	padding: 0 24px;
	transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.cowly-button--outline {
	border: 1px solid currentColor;
}

.cowly-button--cream {
	background: #f3e7cf;
	color: var(--cowly-forest);
}

.cowly-button--green {
	background: #2e4938;
	color: #fff;
}

.cowly-eyebrow {
	color: #9a7746;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.28em;
	margin: 0;
	text-transform: uppercase;
}

.cowly-eyebrow--light {
	align-items: center;
	color: #f0dfbd;
	display: flex;
	gap: 16px;
}

.cowly-eyebrow--light::before {
	background: #e5c98f;
	content: "";
	height: 1px;
	width: 48px;
}

.cowly-eyebrow--gold {
	color: #d8bd88;
}

.cowly-hero {
	color: #fff;
	min-height: 850px;
	position: relative;
}

.cowly-hero__image {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
}

.cowly-hero__overlay {
	background:
		linear-gradient(90deg, rgba(20, 34, 25, 0.78), rgba(20, 34, 25, 0.24) 62%, transparent),
		linear-gradient(0deg, rgba(20, 34, 25, 0.54), transparent 58%, rgba(20, 34, 25, 0.18));
	inset: 0;
	position: absolute;
}

.cowly-hero__inner {
	align-items: center;
	display: flex;
	min-height: 850px;
	padding-bottom: 90px;
	padding-top: 150px;
	position: relative;
}

.cowly-hero__content {
	max-width: 790px;
}

.cowly-hero h1 {
	font-family: var(--cowly-display);
	font-size: clamp(64px, 7.5vw, 106px);
	font-weight: 400;
	letter-spacing: -0.025em;
	line-height: 0.93;
	margin: 26px 0 0;
	max-width: 850px;
}

.cowly-hero__description {
	color: rgba(255, 255, 255, 0.8);
	font-size: 15px;
	line-height: 1.9;
	margin: 28px 0 32px;
	max-width: 590px;
}

.cowly-booking-bar {
	background: var(--cowly-paper);
	border-radius: 18px;
	bottom: 0;
	box-shadow: 0 22px 60px rgba(24, 38, 29, 0.2);
	color: var(--cowly-text);
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	left: 50%;
	max-width: 1020px;
	overflow: hidden;
	position: absolute;
	transform: translate(-50%, 50%);
	width: calc(100% - 40px);
	z-index: 4;
}

.cowly-booking-bar label {
	border-right: 1px solid var(--cowly-border);
	display: block;
	padding: 17px 24px;
}

.cowly-booking-bar label > span {
	color: #858b84;
	display: block;
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.cowly-booking-bar input,
.cowly-booking-bar select {
	-webkit-appearance: none;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--cowly-text);
	font-size: 13px;
	margin-top: 5px;
	min-height: 24px;
	outline: 0;
	padding: 0;
	width: 100%;
}

.cowly-booking-bar button {
	background: #2e4938;
	border: 0;
	border-radius: 12px;
	color: #fff;
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	margin: 8px;
	min-width: 165px;
	padding: 0 24px;
	transition: background 160ms ease;
}

.cowly-booking-bar button:hover {
	background: #1e3527;
}

.cowly-story {
	padding: 190px 0 140px;
}

.cowly-story__grid {
	align-items: center;
	display: grid;
	gap: 90px;
	grid-template-columns: 0.8fr 1.2fr;
	max-width: 1200px;
}

.cowly-story blockquote {
	color: #84907b;
	font-family: var(--cowly-display);
	font-size: 31px;
	line-height: 1.35;
	margin: 34px 0 0;
}

.cowly-story h2,
.cowly-experience h2,
.cowly-membership h2 {
	font-family: var(--cowly-display);
	font-size: clamp(48px, 5vw, 66px);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.03;
	margin: 0;
}

.cowly-story h2 em,
.cowly-experience h2 em,
.cowly-membership h2 em {
	color: var(--cowly-sage);
	font-weight: 400;
}

.cowly-story__copy {
	color: var(--cowly-muted);
	display: grid;
	font-size: 13px;
	gap: 34px;
	grid-template-columns: 1fr 1fr;
	line-height: 2;
	margin-top: 30px;
}

.cowly-story__copy p {
	margin: 0;
}

.cowly-rooms {
	background: #2b4032;
	color: #fff;
	padding: 120px 0 145px;
}

.cowly-section-heading {
	align-items: flex-end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 50px;
}

.cowly-section-heading h2 {
	font-family: var(--cowly-display);
	font-size: clamp(48px, 5vw, 64px);
	font-weight: 400;
	line-height: 1;
	margin: 18px 0 0;
}

.cowly-section-heading > a {
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
}

.cowly-room-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, 1fr);
}

.cowly-room-card {
	border-radius: 25px;
	overflow: hidden;
	position: relative;
}

.cowly-room-card--offset {
	transform: translateY(32px);
}

.cowly-room-card > a {
	aspect-ratio: 3 / 4;
	display: block;
	overflow: hidden;
	position: relative;
}

.cowly-room-card__image {
	height: 100%;
	object-fit: cover;
	transition: transform 700ms ease;
	width: 100%;
}

.cowly-room-card:hover .cowly-room-card__image {
	transform: scale(1.05);
}

.cowly-room-card__shade {
	background: linear-gradient(0deg, rgba(18, 32, 25, 0.92), transparent 58%);
	inset: 0;
	position: absolute;
}

.cowly-room-card__content {
	bottom: 0;
	display: flex;
	flex-direction: column;
	left: 0;
	padding: 28px;
	position: absolute;
	right: 0;
}

.cowly-room-card__content strong {
	font-family: var(--cowly-display);
	font-size: 32px;
	font-weight: 400;
}

.cowly-room-card__content > span {
	color: rgba(255, 255, 255, 0.68);
	font-size: 10px;
	margin-top: 6px;
}

.cowly-room-card__content .price {
	color: #fff;
	font-size: 12px;
}

.cowly-experience {
	background: #ede4d4;
	padding: 145px 0;
}

.cowly-experience__grid {
	align-items: center;
	display: grid;
	gap: 80px;
	grid-template-columns: 1.08fr 0.92fr;
}

.cowly-experience__visual {
	position: relative;
}

.cowly-experience__visual > img {
	aspect-ratio: 4 / 3;
	border-radius: 120px 24px 24px 24px;
	object-fit: cover;
	width: 100%;
}

.cowly-experience__visual > span {
	align-items: center;
	background: var(--cowly-gold);
	border-radius: 50%;
	bottom: -35px;
	color: #294031;
	display: flex;
	font-size: 9px;
	font-weight: 600;
	height: 138px;
	justify-content: center;
	letter-spacing: 0.14em;
	padding: 24px;
	position: absolute;
	right: -25px;
	text-align: center;
	text-transform: uppercase;
	width: 138px;
}

.cowly-experience h2 {
	margin-top: 20px;
}

.cowly-experience h2 em {
	display: block;
}

.cowly-experience__list {
	border-bottom: 1px solid var(--cowly-border);
	border-top: 1px solid var(--cowly-border);
	margin-top: 35px;
}

.cowly-experience__list > div {
	display: grid;
	gap: 4px 14px;
	grid-template-columns: 42px 1fr;
	padding: 18px 0;
}

.cowly-experience__list > div + div {
	border-top: 1px solid var(--cowly-border);
}

.cowly-experience__list span {
	color: #a1814f;
	font-family: var(--cowly-display);
	font-size: 18px;
	grid-row: 1 / 3;
}

.cowly-experience__list h3 {
	font-family: var(--cowly-display);
	font-size: 24px;
	font-weight: 400;
	margin: 0;
}

.cowly-experience__list p {
	color: var(--cowly-muted);
	font-size: 11px;
	line-height: 1.8;
	margin: 2px 0 0;
}

.cowly-membership {
	background: #f8f3e9;
	overflow: hidden;
	padding: 120px 24px;
	position: relative;
	text-align: center;
}

.cowly-membership::before,
.cowly-membership::after {
	border: 1px solid rgba(126, 138, 118, 0.2);
	border-radius: 50%;
	content: "";
	height: 260px;
	left: -70px;
	position: absolute;
	top: -90px;
	width: 260px;
}

.cowly-membership::after {
	background: rgba(220, 227, 212, 0.45);
	border: 0;
	bottom: -110px;
	height: 290px;
	left: auto;
	right: -40px;
	top: auto;
	width: 290px;
}

.cowly-membership > * {
	position: relative;
	z-index: 1;
}

.cowly-membership > img {
	height: 80px;
	object-fit: contain;
	opacity: 0.75;
	width: 64px;
}

.cowly-membership .cowly-eyebrow {
	margin: 24px 0 18px;
}

.cowly-membership h2 {
	margin-left: auto;
	margin-right: auto;
	max-width: 800px;
}

.cowly-membership h2 em {
	display: block;
}

.cowly-membership > p:not(.cowly-eyebrow) {
	color: var(--cowly-muted);
	font-size: 13px;
	line-height: 1.9;
	margin: 24px auto 28px;
	max-width: 610px;
}

.cowly-front-content {
	background: var(--cowly-paper);
	padding: 70px 0;
}

.cowly-footer {
	background: var(--cowly-deep);
	color: #fff;
	padding: 78px 0 28px;
}

.cowly-footer__grid {
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	display: grid;
	gap: 60px;
	grid-template-columns: 1.4fr 0.6fr 0.6fr;
	padding-bottom: 60px;
}

.cowly-footer__brand {
	font-family: var(--cowly-display);
	font-size: 38px;
	line-height: 1;
	margin: 0;
}

.cowly-footer__intro {
	color: rgba(255, 255, 255, 0.6);
	font-size: 11px;
	line-height: 2;
	margin: 20px 0 0;
	max-width: 440px;
}

.cowly-footer__title,
.cowly-footer-widget__title {
	color: #d8bd88;
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.24em;
	margin: 0;
	text-transform: uppercase;
}

.cowly-footer__menu,
.cowly-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.cowly-footer__menu a,
.cowly-footer__contact {
	color: rgba(255, 255, 255, 0.68);
	font-size: 11px;
}

.cowly-footer__widgets {
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	padding: 40px 0;
}

.cowly-footer__bottom {
	color: rgba(255, 255, 255, 0.38);
	display: flex;
	font-size: 8px;
	justify-content: space-between;
	letter-spacing: 0.15em;
	padding-top: 25px;
	text-transform: uppercase;
}

/* Standard WordPress templates */
.cowly-main {
	min-height: 60vh;
	padding: 90px 0 120px;
}

.cowly-page-header {
	margin-bottom: 54px;
	text-align: center;
}

.cowly-page-header h1 {
	font-family: var(--cowly-display);
	font-size: clamp(48px, 6vw, 76px);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 18px auto 0;
	max-width: 960px;
}

.cowly-archive-description {
	color: var(--cowly-muted);
	font-size: 13px;
	margin: 20px auto 0;
	max-width: 620px;
}

.cowly-entry__hero {
	border-radius: 24px;
	margin-bottom: 48px;
	overflow: hidden;
}

.cowly-entry__hero img {
	display: block;
	width: 100%;
}

.cowly-entry-content {
	color: #424d45;
	line-height: 1.9;
}

.cowly-entry-content h2,
.cowly-entry-content h3,
.cowly-entry-content h4 {
	color: var(--cowly-text);
	font-family: var(--cowly-display);
	font-weight: 400;
	line-height: 1.2;
}

.cowly-entry-content h2 {
	font-size: 40px;
}

.cowly-entry-content h3 {
	font-size: 30px;
}

.cowly-entry-content a {
	color: #7f633b;
	text-decoration: underline;
}

.cowly-entry-content blockquote {
	border-left: 2px solid var(--cowly-gold);
	color: var(--cowly-sage);
	font-family: var(--cowly-display);
	font-size: 28px;
	margin: 40px 0;
	padding-left: 28px;
}

.cowly-entry__footer,
.cowly-tags {
	margin-top: 40px;
}

.cowly-post-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(3, 1fr);
}

.cowly-post-card {
	background: var(--cowly-paper);
	border-radius: 20px;
	overflow: hidden;
}

.cowly-post-card__image {
	aspect-ratio: 4 / 3;
	display: block;
	overflow: hidden;
}

.cowly-post-card__image img {
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
	width: 100%;
}

.cowly-post-card:hover .cowly-post-card__image img {
	transform: scale(1.04);
}

.cowly-post-card__content {
	padding: 25px;
}

.cowly-post-card__content > p {
	color: #9a7746;
	font-size: 9px;
	letter-spacing: 0.16em;
	margin: 0;
	text-transform: uppercase;
}

.cowly-post-card h2 {
	font-family: var(--cowly-display);
	font-size: 28px;
	font-weight: 400;
	line-height: 1.15;
	margin: 10px 0;
}

.cowly-post-card__content > div {
	color: var(--cowly-muted);
	font-size: 12px;
}

.cowly-text-link {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	margin-top: 14px;
}

.navigation.pagination,
.post-navigation {
	margin: 50px auto 0;
	max-width: 900px;
}

.nav-links {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.page-numbers {
	align-items: center;
	border: 1px solid var(--cowly-border);
	border-radius: 50%;
	display: flex;
	height: 40px;
	justify-content: center;
	width: 40px;
}

.page-numbers.current {
	background: var(--cowly-forest);
	color: #fff;
}

.cowly-comments {
	border-top: 1px solid var(--cowly-border);
	margin-top: 70px;
	padding-top: 50px;
}

.cowly-comments h2,
.comment-reply-title {
	font-family: var(--cowly-display);
	font-size: 32px;
	font-weight: 400;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-body {
	background: var(--cowly-paper);
	border-radius: 14px;
	margin: 18px 0;
	padding: 20px;
}

.comment-form input:not([type="submit"]),
.comment-form textarea,
.search-form input[type="search"] {
	background: var(--cowly-paper);
	border: 1px solid var(--cowly-border);
	border-radius: 10px;
	padding: 12px 14px;
	width: 100%;
}

.comment-form input[type="submit"],
.search-form input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--cowly-forest);
	border: 0;
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	font-weight: 600;
	padding: 13px 22px;
}

.cowly-error-page {
	align-items: center;
	display: flex;
	text-align: center;
}

.cowly-error-page h1 {
	font-family: var(--cowly-display);
	font-size: clamp(50px, 7vw, 80px);
	font-weight: 400;
	line-height: 1;
}

.cowly-error-page p:not(.cowly-eyebrow) {
	color: var(--cowly-muted);
	margin: 20px auto 28px;
	max-width: 570px;
}

.cowly-empty {
	grid-column: 1 / -1;
	padding: 60px 0;
	text-align: center;
}

/* WooCommerce compatibility */
.woocommerce .cowly-main,
.woocommerce-page .cowly-main {
	padding-top: 70px;
}

.woocommerce .woocommerce-breadcrumb {
	color: var(--cowly-muted);
	font-size: 11px;
	margin-bottom: 30px;
}

.woocommerce ul.products {
	display: grid;
	gap: 26px;
	grid-template-columns: repeat(3, 1fr);
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	background: var(--cowly-paper);
	border-radius: 18px;
	float: none;
	margin: 0;
	overflow: hidden;
	padding-bottom: 22px;
	width: auto;
}

.woocommerce ul.products li.product a img {
	aspect-ratio: 4 / 3;
	margin: 0 0 18px;
	object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button {
	margin-left: 20px;
	margin-right: 20px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title {
	font-family: var(--cowly-display);
	font-size: 26px;
	font-weight: 400;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: #7f633b;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	background: var(--cowly-paper);
	border-top-color: var(--cowly-gold);
}

@media (max-width: 1024px) {
	.cowly-nav {
		background: var(--cowly-paper);
		color: var(--cowly-text);
		inset: 0;
		opacity: 0;
		padding: 104px 28px 32px;
		pointer-events: none;
		position: fixed;
		transform: translateY(-12px);
		transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 200ms;
		visibility: hidden;
		z-index: -1;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.cowly-nav.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
		visibility: visible;
		transition: opacity 180ms ease, transform 180ms ease;
	}

	.cowly-nav__list {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.cowly-nav__list a {
		font-family: var(--cowly-display);
		font-size: clamp(24px, 6.5vw, 30px);
		line-height: 1.25;
		font-weight: 400;
	}

	.cowly-nav__list .sub-menu {
		box-shadow: none;
		display: block;
		margin: 10px 0 0 20px;
		opacity: 1;
		padding: 0;
		pointer-events: none;
		position: static;
		transform: none;
	}

	.cowly-nav.is-open .cowly-nav__list .sub-menu {
		pointer-events: auto;
	}

	.cowly-nav__list .sub-menu a {
		font-size: 19px;
	}

	@media (max-height: 700px) {
		.cowly-nav {
			padding-top: 88px;
		}
		.cowly-nav__list {
			gap: 10px;
		}
		.cowly-nav__list a {
			font-size: 23px;
		}
	}

	.cowly-menu-toggle {
		display: block;
		position: relative;
		z-index: 2;
	}

	.cowly-menu-toggle[aria-expanded="true"] > span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.cowly-menu-toggle[aria-expanded="true"] > span:nth-child(2) {
		opacity: 0;
	}

	.cowly-menu-toggle[aria-expanded="true"] > span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.cowly-header--overlay .cowly-menu-toggle[aria-expanded="true"],
	.cowly-header--overlay .cowly-brand:has(+ .cowly-menu-toggle[aria-expanded="true"]) {
		color: var(--cowly-text);
	}

	.cowly-story__grid,
	.cowly-experience__grid {
		gap: 50px;
		grid-template-columns: 1fr;
	}

	.cowly-story__grid {
		max-width: 820px;
	}

	.cowly-experience__visual {
		max-width: 760px;
	}

	.cowly-post-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 782px) {
	.admin-bar .cowly-header--overlay.is-scrolled {
		top: 46px;
	}

	.cowly-container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.cowly-brand__text small,
	.cowly-account-link {
		display: none;
	}

	.cowly-header__inner {
		height: 78px;
	}

	.cowly-header__actions {
		margin-left: auto;
	}

	.cowly-menu-toggle {
		margin-left: 8px;
		order: 3;
	}

	.cowly-hero,
	.cowly-hero__inner {
		min-height: 790px;
	}

	.cowly-hero__inner {
		padding-bottom: 170px;
		padding-top: 145px;
	}

	.cowly-hero h1 {
		font-size: clamp(54px, 14vw, 76px);
	}

	.cowly-booking-bar {
		grid-template-columns: 1fr 1fr;
		transform: translate(-50%, 55%);
	}

	.cowly-booking-bar label:nth-child(2) {
		border-right: 0;
	}

	.cowly-booking-bar label:nth-child(3) {
		border-top: 1px solid var(--cowly-border);
	}

	.cowly-booking-bar button {
		min-height: 58px;
	}

	.cowly-story {
		padding: 190px 0 100px;
	}

	.cowly-story__copy {
		grid-template-columns: 1fr;
	}

	.cowly-rooms,
	.cowly-experience {
		padding: 90px 0 110px;
	}

	.cowly-room-grid {
		grid-template-columns: 1fr;
	}

	.cowly-room-card--offset {
		transform: none;
	}

	.cowly-room-card > a {
		aspect-ratio: 4 / 4.5;
	}

	.cowly-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.cowly-footer__grid > div:first-child {
		grid-column: 1 / -1;
	}

	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 540px) {
	.cowly-announcement {
		font-size: 8px;
	}

	.cowly-header--overlay {
		top: 36px;
	}

	.cowly-brand__text strong {
		font-size: 19px;
	}

	.cowly-brand__mark {
		height: 40px;
		width: 40px;
	}

	.cowly-header__actions .cowly-button {
		min-height: 39px;
		padding: 0 16px;
	}

	.cowly-hero__description {
		font-size: 13px;
	}

	.cowly-booking-bar {
		grid-template-columns: 1fr;
	}

	.cowly-booking-bar label {
		border-bottom: 1px solid var(--cowly-border);
		border-right: 0;
		padding: 12px 18px;
	}

	.cowly-booking-bar label:nth-child(3) {
		border-top: 0;
	}

	.cowly-booking-bar button {
		min-height: 52px;
	}

	.cowly-story {
		padding-top: 280px;
	}

	.cowly-story h2,
	.cowly-experience h2,
	.cowly-membership h2 {
		font-size: 44px;
	}

	.cowly-story blockquote {
		font-size: 26px;
	}

	.cowly-section-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 22px;
	}

	.cowly-experience__visual > img {
		border-radius: 70px 20px 20px;
	}

	.cowly-experience__visual > span {
		bottom: -25px;
		height: 110px;
		right: -5px;
		width: 110px;
	}

	.cowly-membership {
		padding: 90px 20px;
	}

	.cowly-footer__grid {
		grid-template-columns: 1fr;
	}

	.cowly-footer__grid > div:first-child {
		grid-column: auto;
	}

	.cowly-footer__bottom {
		flex-direction: column;
		gap: 8px;
	}

	.cowly-post-grid,
	.woocommerce ul.products {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* The Cowly v1.2.0: date + time inputs, availability results. */
.cowly-time-row {
	display: flex;
	gap: 10px;
}

.cowly-time-row input[type="date"] {
	flex: 1.4;
	min-width: 0;
}

.cowly-time-row input[type="time"] {
	flex: 1;
	min-width: 0;
}

.cowly-avail {
	margin: 90px auto 0;
	max-width: 1020px;
	padding: 0 20px;
	position: relative;
	z-index: 4;
}

/* Khi hiện kết quả: giãn đáy hero để kết quả nằm gọn trên thanh tìm kiếm,
   không bị thanh đè lên (thanh absolute tràn 50% qua đáy hero). */
.cowly-hero.has-results {
	padding-bottom: 130px;
}

.cowly-avail__title {
	color: #fff;
	font-family: var(--cowly-display);
	font-size: 26px;
	margin: 0 0 6px;
	text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.cowly-avail__title span {
	opacity: 0.8;
}

.cowly-avail__msg {
	background: var(--cowly-paper);
	border-radius: 12px;
	color: var(--cowly-text);
	padding: 14px 18px;
}

.cowly-avail .cowly-room-grid {
	align-items: start;
	margin-top: 18px;
}

.cowly-avail .cowly-room-card > a:first-child {
	aspect-ratio: 3 / 4;
}

.cowly-avail .cowly-room-card > a.cowly-avail__book {
	aspect-ratio: auto;
	background: #2e4938;
	border-radius: 12px;
	color: #fff;
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-top: 12px;
	overflow: visible;
	padding: 12px;
	position: static;
	text-align: center;
}

.cowly-avail__book:hover {
	background: #1e3527;
	color: #fff;
}

@media (max-width: 720px) {
	.cowly-avail {
		margin-top: 120px;
	}
	.cowly-hero.has-results {
		padding-bottom: 180px;
	}
}

/* Scroll reveal: truot vao tu trai/phai khi keo xuong (JS gan .rv-in). Chay ca mobile. */
.rv{opacity:0;transform:translateX(48px);transition:opacity .7s ease,transform .7s cubic-bezier(.22,.61,.36,1)}
.rv-l{transform:translateX(-48px)}
.rv.rv-in{opacity:1;transform:none}
@media(max-width:640px){.rv{transform:translateX(26px)}.rv-l{transform:translateX(-26px)}}
@media(prefers-reduced-motion:reduce){.rv{opacity:1!important;transform:none!important;transition:none!important}}

/* Chong lech ngang: khoa cuon ngang + giu cho thanh cuon doc de popup khoa scroll khong giat layout. */
html{scrollbar-gutter:stable}
html,body{overflow-x:clip}
