/* Thiết kế dùng chung: font, màu, các khối trang chủ, cửa hàng. Phần chỉnh riêng cho Astra nằm ở style.css. */

@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/be-vietnam-pro-400-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/be-vietnam-pro-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/be-vietnam-pro-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/be-vietnam-pro-500-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/be-vietnam-pro-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/be-vietnam-pro-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/be-vietnam-pro-600-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/be-vietnam-pro-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/be-vietnam-pro-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/be-vietnam-pro-700-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/be-vietnam-pro-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/be-vietnam-pro-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(assets/fonts/oswald-500-700-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(assets/fonts/oswald-500-700-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500 700; font-display: swap; src: url(assets/fonts/oswald-500-700-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Great Vibes'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/great-vibes-400-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Great Vibes'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/great-vibes-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Great Vibes'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/great-vibes-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--wine: #8f1236;
	--wine-deep: #5c0b23;
	--coral: #e86880;
	--blush: #fbcad3;
	--blush-soft: #fee8ec;
	--paper: #fff9f7;
	--ink: #2c0f19;
	--muted: #6f5560;
	--line: #f4d3da;
	--body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Oswald", "Arial Narrow", sans-serif;
	--script: "Great Vibes", cursive;
	--wrap: 1160px;
	--edge: max(20px, calc((100% - var(--wrap)) / 2));
	--radius: 16px;
	--shadow: 0 14px 34px rgb(92 11 35 / 14%);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 92px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1rem/1.7 var(--body);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--wine);
	text-underline-offset: 3px;
}

h1,
h2,
h3 {
	margin: 0 0 .6em;
	color: var(--wine);
	font-family: var(--display);
	font-weight: 600;
	line-height: 1.25;
}

h1 {
	font-size: clamp(2.4rem, 6vw, 3.6rem);
}

h2 {
	font-size: clamp(1.9rem, 4.4vw, 2.9rem);
	text-transform: uppercase;
}

h3 {
	font-size: 1.35rem;
}

p {
	margin: 0 0 1em;
}

:focus-visible {
	outline: 3px solid var(--coral);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip {
	position: absolute;
	top: -60px;
	left: 12px;
	z-index: 60;
	padding: 8px 14px;
	background: var(--wine);
	color: #fff;
}

.skip:focus {
	top: 8px;
}

/* Nút */

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 26px;
	border: 2px solid var(--wine);
	border-radius: 999px;
	background: var(--wine);
	color: #fff;
	font: 600 1rem/1.2 var(--body);
	text-align: center;
	text-decoration: none;
	transition: background .18s, color .18s, transform .18s;
}

.btn:hover,
.wp-block-button__link:hover {
	background: var(--wine-deep);
	border-color: var(--wine-deep);
	color: #fff;
	transform: translateY(-1px);
}

.btn--ghost,
.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wine);
}

.btn--ghost:hover,
.is-style-outline .wp-block-button__link:hover {
	background: var(--wine);
	border-color: var(--wine);
	color: #fff;
}

.btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--wine);
}

.btn--light:hover {
	background: var(--blush);
	border-color: var(--blush);
	color: var(--wine-deep);
}

.btn--line {
	background: transparent;
	border-color: #fff;
	color: #fff;
}

.btn--small {
	min-height: 42px;
	padding: 8px 18px;
	font-size: .92rem;
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.wp-block-button {
	margin: 0;
}

/* Đầu trang */

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid var(--line);
	background: rgb(255 249 247 / 94%);
	backdrop-filter: blur(10px);
}

.site-header__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0 24px;
	padding-inline: var(--edge);
}

.logo {
	padding-block: 14px;
}

.logo img {
	width: auto;
	height: 40px;
}

.site-header__cta {
	display: none;
}

.nav-toggle {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: none;
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--wine);
	transition: transform .18s, background .18s;
}

.nav-toggle__bars {
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__bars::before {
	top: -7px;
}

.nav-toggle__bars::after {
	top: 7px;
}

.nav-open .nav-toggle__bars {
	background: transparent;
}

.nav-open .nav-toggle__bars::before {
	transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle__bars::after {
	transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
	display: none;
	flex-basis: 100%;
	padding-bottom: 12px;
}

.nav-open .site-nav {
	display: block;
}

.site-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	display: block;
	padding: 12px 0;
	border-top: 1px solid var(--line);
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
}

.site-nav__list .current-menu-item > a:not([href*="#"]) {
	color: var(--wine);
}

@media (min-width: 960px) {
	.site-header__bar {
		flex-wrap: nowrap;
	}

	.nav-toggle {
		display: none;
	}

	.site-header__cta {
		display: inline-flex;
		flex: none;
	}

	.site-nav {
		display: block;
		flex: 1;
		flex-basis: auto;
		padding: 0;
	}

	.site-nav__list {
		display: flex;
		gap: 28px;
		justify-content: center;
	}

	.site-nav__list a {
		padding: 8px 0;
		border: 0;
		border-bottom: 2px solid transparent;
		font-size: .95rem;
		white-space: nowrap;
	}

	.site-nav__list a:hover,
	.site-nav__list .current-menu-item > a:not([href*="#"]) {
		border-bottom-color: var(--coral);
		color: var(--wine);
	}
}

/* Thanh mua hàng trên điện thoại */

.buybar {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 30;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 8px;
	padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--line);
	background: var(--paper);
}

.buybar .btn {
	min-height: 44px;
	padding: 8px;
	font-size: .92rem;
}

body {
	padding-bottom: 62px;
}

@media (min-width: 960px) {
	.buybar {
		display: none;
	}

	body {
		padding-bottom: 0;
	}
}

/* Khung ảnh polaroid lấy từ banner 10 năm */

.polaroid {
	position: relative;
	margin: 0;
	padding: 9px 9px 0;
	background: #fff;
	box-shadow: var(--shadow);
	transform: rotate(var(--tilt, -2deg));
}

.polaroid::before {
	content: "";
	position: absolute;
	top: -13px;
	left: 50%;
	z-index: 1;
	width: 84px;
	height: 26px;
	background: rgb(143 18 54 / 52%);
	transform: translateX(-50%) rotate(-4deg);
}

.polaroid img {
	width: 100%;
	aspect-ratio: 1 / 1.04;
	object-fit: cover;
}

.polaroid figcaption,
.polaroid .wp-element-caption {
	margin: 0;
	padding: 2px 0 6px;
	color: var(--wine);
	font: 400 clamp(1.25rem, 2.6vw, 1.6rem)/1.3 var(--script);
	text-align: center;
}

/* Khối đầu trang chủ */

.hero {
	position: relative;
	display: grid;
	gap: 64px;
	overflow: hidden;
	padding: clamp(32px, 6vw, 72px) var(--edge) clamp(88px, 12vw, 150px);
	background: var(--blush);
}

.hero::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	z-index: 2;
	height: clamp(44px, 8vw, 110px);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23fff9f7' d='M0 64c180 56 360 56 600 16s480-96 840-24v64H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero__copy,
.hero__art {
	position: relative;
	z-index: 1;
}

.hero__badge {
	display: inline-block;
	margin-bottom: 22px;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--wine);
	color: #fff;
	font-size: .88rem;
	font-weight: 500;
}

.hero__script {
	margin: 0;
	color: var(--wine);
	font: 400 clamp(2.9rem, 8vw, 4.6rem)/1.15 var(--script);
}

.hero__title {
	margin: 0 0 18px;
	font-size: clamp(3rem, 11vw, 5.4rem);
	line-height: 1.16;
	text-transform: uppercase;
}

.hero__lead {
	max-width: 29em;
	font-size: clamp(1.05rem, 2.2vw, 1.2rem);
}

.hero__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
	margin-bottom: 18px;
	color: var(--wine);
	font-family: var(--display);
	font-size: 2.3rem;
	font-weight: 600;
	line-height: 1.2;
}

.hero__price del {
	color: var(--muted);
	font-size: 1.25rem;
	font-weight: 500;
}

.hero__price em {
	color: var(--ink);
	font: 500 .95rem/1.4 var(--body);
}

.hero__hint {
	margin: 14px 0 0;
	font-size: .95rem;
}

.hero__art {
	width: 100%;
	max-width: 560px;
	aspect-ratio: 1 / .98;
	margin-inline: auto;
}

.hero__art::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 118%;
	aspect-ratio: 1;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cpath fill='%238f1236' d='M430 40c150-30 320 60 340 230s-60 270-60 380-120 170-290 130-230-90-320-190S10 380 90 240 280 70 430 40z'/%3E%3C/svg%3E") center / contain no-repeat;
	transform: translate(-50%, -50%);
}

.hero__art .polaroid {
	position: absolute;
}

.hero__art .polaroid.p1 {
	top: 5%;
	left: 1%;
	z-index: 2;
	width: 50%;
	--tilt: -5deg;
}

.hero__art .polaroid.p2 {
	top: 0;
	right: 1%;
	z-index: 1;
	width: 47%;
	--tilt: 4deg;
}

.hero__art .polaroid.p3 {
	right: 15%;
	bottom: 0;
	z-index: 3;
	width: 48%;
	--tilt: -2deg;
}

@media (min-width: 900px) {
	.hero {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
		align-items: center;
		gap: 56px;
	}

	.hero__art::before {
		width: 140%;
		transform: translate(-40%, -50%);
	}

	.hero__copy .wp-block-buttons {
		flex-wrap: nowrap;
	}
}

/* Các dải tin cậy */

.trust {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	padding: 28px var(--edge) 36px;
}

.trust__item {
	margin: 0;
	padding-left: 14px;
	border-left: 3px solid var(--coral);
	color: var(--muted);
	font-size: .9rem;
	line-height: 1.5;
}

.trust__item strong {
	display: block;
	color: var(--wine);
	font-size: 1rem;
	font-weight: 600;
}

@media (min-width: 900px) {
	.trust {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Khoảng cách chung */

.sec {
	padding: clamp(56px, 8vw, 104px) var(--edge);
}

.sec--tint {
	background: var(--blush-soft);
}

.sec__lead {
	max-width: 40em;
	color: var(--muted);
	font-size: 1.08rem;
}

/* Hồi đó và giờ thì */

.shift__grid {
	display: grid;
	gap: 44px;
	margin-top: 40px;
}

.shift__card {
	position: relative;
	padding: 28px 24px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow);
}

.shift__card--after {
	background: var(--wine);
	color: #fff;
}

.shift__card h3 {
	font-family: var(--script);
	font-size: clamp(2.6rem, 6vw, 3.2rem);
	font-weight: 400;
	line-height: 1.2;
}

.shift__card--after h3 {
	color: #fff;
}

.shift__card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.shift__card li {
	position: relative;
	padding: 9px 0 9px 28px;
	border-top: 1px solid var(--line);
}

.shift__card--after li {
	border-top-color: rgb(255 255 255 / 22%);
}

.shift__card li::before {
	content: "×";
	position: absolute;
	top: 7px;
	left: 2px;
	color: var(--coral);
	font-size: 1.25rem;
	font-weight: 600;
}

.shift__card--after li::before {
	content: "✓";
	color: var(--blush);
	font-size: 1rem;
	top: 10px;
}

.shift__card .polaroid {
	position: absolute;
	top: -18px;
	right: 18px;
	width: 112px;
	padding: 6px;
	--tilt: 5deg;
}

.shift__card .polaroid::before {
	top: -9px;
	width: 56px;
	height: 18px;
}

.shift__card--after .polaroid {
	--tilt: -4deg;
}

@media (min-width: 820px) {
	.shift__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
	}

	.shift__card {
		padding: 36px;
	}

	.shift__card .polaroid {
		width: 136px;
	}
}

/* Dải tiết kiệm */

.band {
	padding: clamp(56px, 8vw, 96px) var(--edge);
	background: var(--wine);
	color: #fff;
}

.band h2 {
	color: #fff;
}

.band__stats {
	display: grid;
	gap: 32px;
	margin-top: 32px;
}

.stat__num {
	margin: 0 0 6px;
	font-family: var(--display);
	font-size: clamp(3.2rem, 10vw, 5.6rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--blush);
}

.stat--dim .stat__num {
	color: rgb(255 255 255 / 58%);
	text-decoration: line-through;
	text-decoration-thickness: 3px;
}

.stat__cap {
	max-width: 26em;
	margin: 0;
}

@media (min-width: 820px) {
	.band__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 48px;
	}
}

/* Chọn size */

.size__layout {
	display: grid;
	gap: 32px;
	margin-top: 32px;
}

.size__photo.polaroid {
	max-width: 340px;
	margin-inline: auto;
	--tilt: -2deg;
}

.size__photo img {
	aspect-ratio: 1;
}

@media (min-width: 900px) {
	.size__layout {
		grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
		align-items: start;
		gap: 56px;
	}
}

.finder__step {
	min-width: 0;
	margin: 0 0 22px;
	padding: 0;
	border: 0;
}

.finder__step legend {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	padding: 0;
	font-weight: 600;
}

.finder__step legend span {
	display: grid;
	place-items: center;
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--wine);
	color: #fff;
	font-size: .85rem;
}

.finder__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip {
	cursor: pointer;
}

.chip input {
	position: absolute;
	opacity: 0;
}

.chip span {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 18px;
	border: 1.5px solid var(--wine);
	border-radius: 999px;
	background: #fff;
	color: var(--wine);
	font-weight: 500;
	transition: background .15s, color .15s;
}

.chip input:checked + span {
	background: var(--wine);
	color: #fff;
}

.chip input:focus-visible + span {
	outline: 3px solid var(--coral);
	outline-offset: 2px;
}

.finder__result {
	display: grid;
	gap: 18px;
	margin-top: 8px;
	padding: 24px;
	border-radius: var(--radius);
	background: var(--wine);
	color: #fff;
}

.finder__result[hidden] {
	display: none;
}

.finder__size {
	color: var(--blush);
	font-family: var(--display);
	line-height: 1;
	text-transform: uppercase;
}

.finder__size span {
	display: block;
	margin-bottom: 4px;
	font-size: 1.1rem;
}

.finder__size strong {
	font-size: 5rem;
	font-weight: 600;
}

.finder__why {
	margin-bottom: 6px;
	font-size: 1.08rem;
	font-weight: 500;
}

.finder__spec {
	color: var(--blush);
	font-size: .95rem;
}

.finder__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.finder__note {
	margin: 0;
	font-size: .86rem;
	line-height: 1.55;
}

.finder__note a {
	color: #fff;
}

@media (min-width: 560px) {
	.finder__result {
		grid-template-columns: auto minmax(0, 1fr);
		gap: 28px;
	}
}

/* Bảng */

.wp-block-table {
	margin: 0;
	overflow-x: auto;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
}

.wp-block-table th,
.wp-block-table td {
	padding: 13px 14px;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.wp-block-table thead {
	border: 0;
}

.wp-block-table th {
	color: var(--wine);
	font-weight: 600;
	white-space: nowrap;
}

.sizes {
	margin-top: 44px !important;
}

.sizes td:first-child,
.compare td:first-child {
	font-weight: 600;
}

.sizes table {
	min-width: 660px;
}

.compare {
	margin-top: 28px !important;
}

.compare table {
	min-width: 540px;
}

.compare th:last-child,
.compare td:last-child {
	background: var(--wine);
	border-bottom-color: rgb(255 255 255 / 22%);
	color: #fff;
	font-weight: 600;
}

/* Cách dùng */

.steps {
	display: grid;
	gap: 28px;
	margin-top: 32px;
	padding: 0;
	counter-reset: step;
	list-style: none;
}

.steps > li {
	margin: 0;
	padding-top: 14px;
	border-top: 2px solid var(--wine);
	counter-increment: step;
}

.steps > li::before {
	content: counter(step);
	display: block;
	color: var(--coral);
	font-family: var(--display);
	font-size: 2.6rem;
	font-weight: 600;
	line-height: 1.2;
}

.steps strong {
	display: block;
	margin-bottom: 4px;
	color: var(--wine);
	font-size: 1.1rem;
}

.sec__note {
	margin-top: 28px;
	color: var(--muted);
}

@media (min-width: 720px) {
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1040px) {
	.steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Chứng nhận */

.proof {
	display: grid;
	gap: 36px;
	align-items: center;
}

.proof__cert {
	max-width: 340px;
	margin: 0 auto;
	box-shadow: var(--shadow);
}

.proof__list {
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.proof__list li {
	padding: 12px 0;
	border-top: 1px solid var(--line);
}

.proof__list strong {
	color: var(--wine);
}

@media (min-width: 860px) {
	.proof {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
		gap: 64px;
	}
}

/* Đánh giá */

.reviews {
	display: grid;
	grid-auto-columns: min(84%, 340px);
	grid-auto-flow: column;
	gap: 16px;
	margin: 32px calc(var(--edge) * -1) 0;
	padding: 4px var(--edge) 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--edge);
}

.review {
	margin: 0;
	padding: 24px;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: 0 6px 18px rgb(92 11 35 / 8%);
	scroll-snap-align: start;
}

.review p {
	margin: 0 0 10px;
	font-size: .98rem;
}

.review cite {
	color: var(--wine);
	font-family: var(--script);
	font-size: 1.7rem;
	font-style: normal;
	line-height: 1.2;
}

@media (min-width: 960px) {
	.reviews {
		grid-auto-flow: row;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		margin-inline: 0;
		padding: 0;
		overflow: visible;
	}
}

/* Hỏi đáp */

.faq-list {
	max-width: 820px;
	margin-top: 28px;
}

.wp-block-details {
	border-top: 1px solid var(--line);
}

.wp-block-details:last-of-type {
	border-bottom: 1px solid var(--line);
}

.wp-block-details summary {
	position: relative;
	padding: 16px 36px 16px 0;
	color: var(--wine);
	font-size: 1.05rem;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "+";
	position: absolute;
	top: 11px;
	right: 4px;
	color: var(--coral);
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.4;
}

.wp-block-details[open] summary::after {
	content: "−";
}

.wp-block-details p {
	max-width: 42em;
	padding-bottom: 6px;
}

/* Thẻ bài viết */

.cards {
	display: grid;
	gap: 28px;
	margin-top: 28px;
}

.card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: var(--radius);
	background: var(--blush);
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}

.card:hover .card__media img {
	transform: scale(1.03);
}

.card__blank {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--wine);
	font: 400 2.6rem/1 var(--script);
}

.card__title {
	margin: 14px 0 4px;
	font-family: var(--body);
	font-size: 1.1rem;
	line-height: 1.4;
}

.card__title a {
	color: var(--ink);
	text-decoration: none;
}

.card__title a:hover {
	color: var(--wine);
}

.card__meta {
	margin: 0;
	color: var(--muted);
	font-size: .86rem;
}

@media (min-width: 720px) {
	.cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Lời kêu gọi cuối trang */

.closing {
	position: relative;
	padding: clamp(64px, 9vw, 112px) var(--edge);
	background: var(--blush);
	text-align: center;
}

.closing__script {
	margin: 0;
	color: var(--wine);
	font: 400 clamp(2.8rem, 8vw, 4.4rem)/1.2 var(--script);
}

.closing .wp-block-buttons {
	justify-content: center;
}

.closing p:last-child {
	margin: 18px 0 0;
}

/* Chân trang */

.site-footer {
	padding: 56px var(--edge) 24px;
	background: var(--wine-deep);
	color: #fbe3e8;
	font-size: .92rem;
}

.site-footer__grid {
	display: grid;
	gap: 36px;
}

.site-footer img {
	width: auto;
	height: 42px;
	margin-bottom: 16px;
	padding: 6px 12px;
	border-radius: 10px;
	background: #fff;
	box-sizing: content-box;
}

.site-footer h2 {
	margin-bottom: 12px;
	color: #fff;
	font-size: 1.15rem;
}

.site-footer a {
	color: #fff;
}

.site-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__links li {
	padding: 4px 0;
}

.site-footer__copy {
	margin: 32px 0 0;
	padding-top: 16px;
	border-top: 1px solid rgb(255 255 255 / 16%);
	color: #e9bcc6;
	font-size: .84rem;
}

@media (min-width: 820px) {
	.site-footer__grid {
		grid-template-columns: 1.6fr 1fr 1fr;
		gap: 56px;
	}
}

/* Trang thường, bài viết */

.page-main {
	max-width: calc(720px + 40px);
	margin-inline: auto;
	padding: clamp(36px, 6vw, 72px) 20px clamp(56px, 8vw, 96px);
}

.page-main--wide {
	max-width: calc(var(--wrap) + 40px);
}

.page-head {
	margin-bottom: 28px;
}

.page-head h1 {
	margin-bottom: 0;
	font-size: clamp(2rem, 5vw, 3rem);
}

.page-head__kicker {
	margin-bottom: 8px;
	color: var(--muted);
	font-size: .9rem;
}

.page-head__script {
	margin: 0;
	color: var(--wine);
	font: 400 2.8rem/1.2 var(--script);
}

.prose {
	font-size: 1.05rem;
}

.prose h2 {
	margin-top: 1.6em;
	font-size: 1.7rem;
	text-transform: none;
}

.prose h3 {
	margin-top: 1.4em;
	font-size: 1.3rem;
}

.prose img {
	border-radius: 10px;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li {
	margin-bottom: .4em;
}

.prose blockquote {
	margin: 1.4em 0;
	padding: 4px 0 4px 18px;
	border-left: 3px solid var(--coral);
	color: var(--muted);
}

.prose figure {
	max-width: 100%;
	margin: 1.4em 0;
}

/* Shortcode [caption] ghi cứng độ rộng 500px trong style. */
.prose .wp-caption {
	width: auto !important;
}

.prose .wp-caption-text {
	color: var(--muted);
	font-size: .9rem;
	text-align: center;
}

/* Biểu tượng cảm xúc dán từ Facebook vào bài viết cũ. */
.prose span > img {
	display: inline;
	vertical-align: -2px;
	border-radius: 0;
}

/* Mục lục của plugin LuckyWP theo màu thương hiệu. */
.prose .lwptoc_i {
	padding: 16px 20px;
	border-radius: var(--radius);
	background: var(--blush-soft);
}

.prose .lwptoc a,
.prose .lwptoc_item_number {
	color: var(--wine);
}

.note {
	margin-top: 44px;
	padding: 28px;
	border-radius: var(--radius);
	background: var(--blush);
}

.note h2 {
	font-size: 1.6rem;
}

.note__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.related {
	margin-top: 56px;
}

.related h2 {
	font-size: 1.6rem;
}

.related .cards {
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.contact-grid {
	display: grid;
	gap: 16px;
	margin: 0 0 32px;
}

.contact-grid .wp-block-group {
	padding: 20px 22px;
	border-radius: var(--radius);
	background: var(--blush-soft);
}

.contact-grid h2 {
	margin: 0 0 4px;
	font-size: 1.2rem;
	text-transform: uppercase;
}

.contact-grid p {
	margin: 0;
}

@media (min-width: 640px) {
	.contact-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 40px;
}

.page-numbers {
	padding: 6px 12px;
	border-radius: 8px;
	text-decoration: none;
}

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

.search-form {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
}

.search-form label {
	flex: 1;
}

.search-field,
input[type="text"],
input[type="email"],
input[type="search"] {
	width: 100%;
	min-height: 46px;
	padding: 8px 12px;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	background: #fff;
	font: inherit;
}

.search-submit,
.track_order .button,
.woocommerce-form-track-order button {
	min-height: 46px;
	padding: 8px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--wine);
	color: #fff;
	font: 600 .95rem var(--body);
	cursor: pointer;
}

/* Cửa hàng */

.shop {
	padding: clamp(28px, 5vw, 56px) var(--edge) clamp(56px, 8vw, 96px);
}

.woocommerce-breadcrumb {
	margin-bottom: 20px;
	color: var(--muted);
	font-size: .88rem;
}

.woocommerce-products-header__title {
	margin-bottom: 8px;
}

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

ul.products li.product {
	margin: 0;
}

ul.products .woocommerce-LoopProduct-link {
	display: block;
	color: var(--ink);
	text-decoration: none;
}

ul.products img {
	width: 100%;
	aspect-ratio: 1;
	border-radius: var(--radius);
	background: var(--blush-soft);
	object-fit: cover;
}

.woocommerce-loop-product__title {
	margin: 12px 0 4px;
	text-transform: none;
	color: var(--ink);
	font-family: var(--body);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
}

.price {
	display: block;
	color: var(--wine);
	font-weight: 600;
}

.price del {
	color: var(--muted);
	font-weight: 400;
}

.price ins {
	text-decoration: none;
}

.price-note {
	color: var(--muted);
	font-size: .9rem;
	font-weight: 500;
}

@media (min-width: 720px) {
	ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px 24px;
	}
}

@media (min-width: 1000px) {
	ul.products.columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	ul.products.columns-5 {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

/* Trang sản phẩm */

.single-product .product {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

.gallery {
	display: grid;
	grid-auto-columns: 86%;
	grid-auto-flow: column;
	gap: 10px;
	margin-inline: calc(var(--edge) * -1);
	padding-inline: var(--edge);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--edge);
}

.gallery img {
	width: 100%;
	aspect-ratio: 1;
	border-radius: var(--radius);
	object-fit: cover;
	scroll-snap-align: start;
}

.summary .product_title {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.summary .price {
	margin-bottom: 14px;
	font-family: var(--display);
	font-size: 2rem;
}

.buy {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 20px 0 14px;
}

.buy__help {
	margin-bottom: 6px;
	color: var(--muted);
	font-size: .95rem;
}

.product-desc,
.related.products {
	grid-column: 1 / -1;
	min-width: 0;
	max-width: 760px;
}

.related.products {
	max-width: none;
	margin-top: 32px;
}

.related.products > h2 {
	font-size: 1.6rem;
}

@media (min-width: 900px) {
	.single-product .product {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		gap: 48px;
		align-items: start;
	}

	.gallery {
		grid-auto-columns: auto;
		grid-auto-flow: row;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.gallery img:first-child {
		grid-column: 1 / -1;
	}

	.summary {
		position: sticky;
		top: 92px;
	}
}

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

	* {
		transition: none !important;
	}
}
