/* ==========================================================================
   Zira & Pals — main.css  (dùng token trong tokens.css)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
/* Font/màu/line-height base nằm ở tokens.css. Ở đây chỉ layout. */
body { margin: 0; background: var(--zp-bg-white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.zp-container { width: 100%; max-width: var(--zp-container); margin-inline: auto; padding-inline: var(--zp-space-4); }

/* --- Buttons --- */
.zp-btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: var(--zp-btn-height); padding-inline: var(--zp-space-8);
	border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer;
	border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.zp-btn--primary { background: var(--zp-brand); color: var(--zp-text-white); }
.zp-btn--primary:hover { background: var(--zp-brand-hover); }
.zp-btn--light { background: var(--zp-bg-white); color: var(--zp-brand-800); }
.zp-btn--light:hover { background: var(--zp-brand-50); }
.zp-btn--outline { background: transparent; border-color: var(--zp-brand); color: var(--zp-brand); height: 40px; padding-inline: var(--zp-space-6); }
.zp-btn--outline:hover { background: var(--zp-brand); color: var(--zp-text-white); }

/* --- Icon base (Phosphor) --- */
.ph, .ph-fill, .ph-bold { display: inline-flex; line-height: 1; font-size: 20px; }
.zp-search__icon .ph { font-size: 20px; }
.zp-action .ph { font-size: 20px; }
.zp-announce__close .ph { font-size: 20px; }

/* --- Announcement label (Figma 103:124) --- */
.zp-announce {
	position: relative;
	display: flex; align-items: center; justify-content: center;
	gap: var(--zp-space-2);
	background: var(--zp-brand-800); color: var(--zp-text-white);
	padding: 10px 44px;
	font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); text-align: center;
}
.zp-announce__text { margin: 0; }
.zp-announce__close {
	position: absolute; right: var(--zp-space-4); top: 50%; transform: translateY(-50%);
	display: inline-flex; background: none; border: 0; color: inherit; cursor: pointer; padding: 0;
	opacity: .8; transition: opacity .15s;
}
.zp-announce__close:hover { opacity: 1; }

/* --- Header (Figma 136:1614) --- */
.zp-header {
	position: sticky; top: 0; z-index: var(--zp-z-header);
	background: var(--zp-header-bg);
	-webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px);
	border-bottom: 1px solid var(--zp-brand-200);
}
.zp-header__top {
	display: flex; align-items: center; gap: var(--zp-space-8);
	max-width: var(--zp-container); margin-inline: auto;
	padding: var(--zp-space-4) 80px 0;
}
.zp-logo-text { font-weight: var(--zp-fw-bold); font-size: 22px; letter-spacing: .5px; color: var(--zp-brand-800); }
.zp-logo-text--light { color: var(--zp-text-white); }
.zp-header__logo { flex: 1 1 0; min-width: 0; display: flex; }
.zp-header__logo img { max-height: 54px; width: auto; }

/* Search box — cố định giữa header */
.zp-search {
	position: relative;
	flex: 0 1 549px; width: 100%; max-width: 549px; min-width: 0;
	display: flex; align-items: center; gap: var(--zp-space-2);
	background: var(--zp-bg-white); border-radius: var(--zp-radius-md);
	padding: 10px var(--zp-space-3);
}
.zp-search__icon { display: inline-flex; color: var(--zp-icon-secondary); }
.zp-search__input {
	flex: 1; border: 0; outline: 0; background: transparent;
	font-family: var(--zp-font-sans); font-size: var(--zp-fs-sm); color: var(--zp-text-primary);
}
.zp-search__input::placeholder { color: var(--zp-text-secondary); transition: opacity .2s ease; opacity: 1; }
.zp-search__input.is-fading::placeholder { opacity: 0; }

/* Live search dropdown — glassmorphism */
.zp-search__results {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 300;
	background: rgba(255, 252, 249, 0.94);
	-webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
	border: 1px solid rgba(255, 255, 255, 0.5); border-radius: var(--zp-radius-md);
	box-shadow: 0 16px 40px rgba(60, 31, 6, .16);
	max-height: 440px; overflow-y: auto; padding: var(--zp-space-2);
}
.zp-search__results[hidden] { display: none; }
.zp-search__head { padding: 8px 10px 6px; font-size: var(--zp-fs-caption); font-weight: var(--zp-fw-semibold); text-transform: uppercase; letter-spacing: .04em; color: var(--zp-text-secondary); }
.zp-search__list { list-style: none; margin: 0; padding: 0; }
.zp-search__list a { display: flex; align-items: center; gap: var(--zp-space-3); padding: 8px 10px; border-radius: var(--zp-radius-sm); transition: background .15s ease; }
.zp-search__list a:hover { background: rgba(255, 255, 255, 0.55); }
.zp-search__thumb { flex: 0 0 auto; width: 48px; height: 48px; border-radius: var(--zp-radius-sm); overflow: hidden; background: var(--zp-brand-50); }
.zp-search__thumb img { width: 48px; height: 48px; object-fit: cover; display: block; }
.zp-search__info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.zp-search__name { font-size: var(--zp-fs-sm); color: var(--zp-text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zp-search__price { font-size: var(--zp-fs-caption); font-weight: var(--zp-fw-semibold); color: var(--zp-brand-600); }
.zp-search__price del { color: var(--zp-text-secondary); font-weight: var(--zp-fw-regular); margin-right: 4px; }
.zp-search__all { display: block; margin-top: 4px; padding: 10px; text-align: center; font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-brand-600); border-top: 1px solid rgba(255, 255, 255, 0.5); }
.zp-search__all:hover { background: rgba(255, 255, 255, 0.55); }
.zp-search__empty { margin: 0; padding: 16px 10px; text-align: center; font-size: var(--zp-fs-sm); color: var(--zp-text-secondary); }

/* Actions — cùng chiều rộng với khu logo để search cân giữa */
.zp-header__actions { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 18px; }
.zp-action {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-grey-5);
	transition: color .15s;
}
.zp-action:hover { color: var(--zp-brand-600); }
.zp-action__ic-wrap { position: relative; display: inline-flex; }
.zp-cart-count, .zp-wishlist-count {
	position: absolute; top: -6px; right: -8px;
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 16px; height: 16px; padding: 0 4px;
	background: var(--zp-brand-600); color: #fff; border-radius: 999px;
	font-size: 10px; font-weight: var(--zp-fw-semibold); line-height: 1;
}
.zp-cart-count[data-count="0"], .zp-wishlist-count[data-count="0"] { display: none; }
.zp-action__avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.zp-action--user { flex-shrink: 0; }
.zp-action__label { white-space: nowrap; }
.zp-action { flex-shrink: 0; }

/* Nav */
.zp-header__nav { display: flex; justify-content: center; padding: var(--zp-space-2) var(--zp-space-8) 0; }
.zp-menu { list-style: none; display: flex; gap: 48px; margin: 0; padding: 0; }
.zp-menu__item a {
	display: inline-block; position: relative; padding-bottom: var(--zp-space-2);
	font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-grey-4);
}
.zp-menu__item a::after {
	content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
	background: var(--zp-brand-600); transition: width .2s ease;
}
.zp-menu__item a:hover::after,
.zp-menu__item.current-menu-item a::after,
.zp-menu__item.current_page_item a::after { width: 100%; }
.zp-menu__item--sale a { color: var(--zp-accent-sale); }
.zp-menu__item--sale a::after { background: var(--zp-accent-sale); }

/* --- Hero (Figma 27:18) --- */
.zp-hero { position: relative; height: 512px; overflow: hidden; }
.zp-hero__bg { position: absolute; inset: 0; }
.zp-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.zp-hero--placeholder .zp-hero__bg { background: linear-gradient(90deg, var(--zp-brand-200), var(--zp-brand-100)); }
.zp-hero__inner { position: relative; height: 100%; max-width: var(--zp-container); margin-inline: auto; }
.zp-hero__content {
	position: absolute; left: 226px; top: 170px; width: 442px;
	display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
.zp-hero__title {
	margin: 0; white-space: nowrap;
	font-family: var(--zp-font-sans); font-weight: var(--zp-fw-bold);
	font-size: var(--zp-fs-2xl); line-height: var(--zp-lh-hero); letter-spacing: 22.8px;
	text-transform: uppercase; color: var(--zp-text-white); text-indent: 22.8px;
	text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.zp-hero__cta {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 32px; background: var(--zp-bg-white); border: 1px solid var(--zp-stroke-white);
	color: var(--zp-brand-600); font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium);
	cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.zp-hero__cta:hover { background: var(--zp-brand-600); color: var(--zp-text-white); border-color: var(--zp-brand-600); }

/* --- Sections --- */
.zp-section { padding-block: var(--zp-space-15); }
.zp-section__title { text-align: center; font-size: var(--zp-fs-3xl); font-weight: var(--zp-fw-semibold); margin: 0 0 var(--zp-space-8); color: var(--zp-text-primary); }
.zp-section__cta { text-align: center; margin-top: var(--zp-space-8); }

/* --- Promo / Mã ưu đãi (Figma 44:375) --- */
.zp-promo__carousel { display: flex; align-items: center; justify-content: center; gap: var(--zp-space-4); }
.zp-promo__track {
	display: flex; gap: var(--zp-space-4); justify-content: flex-start;
	overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 0; flex: 1;
}
.zp-promo__track::-webkit-scrollbar { display: none; }

.zp-carousel-arrow {
	flex-shrink: 0; width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--zp-stroke-primary); border-radius: 999px;
	background: var(--zp-bg-white); color: var(--zp-text-secondary); cursor: pointer;
	transition: border-color .15s, color .15s;
}
.zp-carousel-arrow:hover { border-color: var(--zp-brand-500); color: var(--zp-brand-600); }
.zp-carousel-arrow .ph { font-size: 24px; }

/* Coupon ticket — scalloped mask 2 cạnh + dashed border trong */
.zp-coupon {
	--sc: 10px;             /* bán kính scallop */
	--sc-gap: 9px;          /* đoạn phẳng giữa 2 scallop (hết nhọn) */
	--sc-tile: calc(2 * var(--sc) + var(--sc-gap));
	position: relative; flex-shrink: 0;
	width: 352px; max-width: 100%; height: 152px;
	background: var(--zp-coupon-bg); border-radius: 10px;
	-webkit-mask:
		radial-gradient(circle var(--sc) at left, #0000 98%, #000) 0 / 100% var(--sc-tile) repeat-y,
		radial-gradient(circle var(--sc) at right, #0000 98%, #000) 0 / 100% var(--sc-tile) repeat-y;
	-webkit-mask-composite: source-in;
	mask:
		radial-gradient(circle var(--sc) at left, #0000 98%, #000) 0 / 100% var(--sc-tile) repeat-y,
		radial-gradient(circle var(--sc) at right, #0000 98%, #000) 0 / 100% var(--sc-tile) repeat-y;
	mask-composite: intersect;
}
.zp-coupon__inner {
	position: absolute; inset: 10px;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--zp-space-4);
	padding: var(--zp-space-2) var(--zp-space-6); text-align: center;
}
.zp-coupon__desc { margin: 0; font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); line-height: 24px; color: var(--zp-text-primary); }
.zp-coupon__actions { display: flex; gap: var(--zp-space-2); }
.zp-coupon__code {
	border: 1px solid var(--zp-brand-500); background: transparent; color: var(--zp-brand-500);
	font-family: var(--zp-font-sans); font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium);
	padding: 8px 32px; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s;
}
.zp-coupon__code:hover { background: var(--zp-brand-500); color: var(--zp-text-white); }
.zp-coupon__copy {
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--zp-brand-500); background: transparent; color: var(--zp-brand-500);
	padding: 8px; cursor: pointer; transition: background .15s, color .15s;
}
.zp-coupon__copy:hover { background: var(--zp-brand-500); color: var(--zp-text-white); }
.zp-coupon__copy .ph { font-size: 20px; }

/* --- Sản phẩm mới (Figma 34:238) --- */
.zp-products { background: var(--zp-bg-mustard); }

/* Grid 4 cột: column-gap 20, row-gap 64 (khớp Figma).
   Dùng .woocommerce ul.products để thắng specificity của general.css. */
.woocommerce ul.products,
ul.products {
	list-style: none; padding: 0;
	max-width: var(--zp-content); /* 1088px: 4×256 + 3×20, canh giữa như Figma */
	margin-inline: auto;
	display: grid; grid-template-columns: repeat(4, 1fr);
	column-gap: 20px; row-gap: 64px;
}
/* Reset style mặc định Woo còn sót trên item */
.woocommerce ul.products li.product,
ul.products li.zp-card {
	float: none; width: auto; margin: 0; padding: 0; text-align: left;
}
/* Woo general.css thêm clearfix ::before/::after lên ul.products -> thành grid item rỗng. Tắt đi. */
.woocommerce ul.products::before, .woocommerce ul.products::after,
ul.products::before, ul.products::after { content: none; display: none; }
.woocommerce ul.products li.product::before, .woocommerce ul.products li.product::after { content: none; }
.woocommerce ul.products li.product .button { margin: 0; }

/* Card sản phẩm */
.zp-card { display: flex; flex-direction: column; gap: var(--zp-space-4); }
.zp-card__media { position: relative; overflow: hidden; background: var(--zp-brand-50); aspect-ratio: 1 / 1; }
.zp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.zp-card:hover .zp-card__media img { transform: scale(1.04); }

.zp-card__overlay { position: absolute; top: 12px; right: 12px; display: flex; gap: var(--zp-space-2); z-index: 2; }

/* Hover: phủ tối nhẹ ảnh + hiện nút "Thêm vào giỏ hàng" (Figma 105:366) */
.zp-card__media::after {
	content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .1);
	opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.zp-card:hover .zp-card__media::after { opacity: 1; }

.zp-card__add {
	position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
	display: flex; align-items: center; justify-content: center; gap: 10px;
	padding: 8px 32px; border: 1px solid rgba(255, 255, 255, .1);
	background: rgba(255, 255, 255, .7);
	-webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
	font-family: var(--zp-font-sans); font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium);
	color: var(--zp-brand-500); text-decoration: none; cursor: pointer;
	white-space: nowrap;
	opacity: 0; transform: translateY(6px);
	transition: opacity .2s ease, transform .2s ease, background .15s ease;
	pointer-events: none;
}
.zp-card__add .ph { font-size: 20px; flex-shrink: 0; }
.zp-card__add span { white-space: nowrap; }
/* Chỉ hiện khi hover vào card (đúng Figma state Hover) */
.zp-card:hover .zp-card__add { opacity: 1; transform: none; pointer-events: auto; }
.zp-card__add:hover { background: rgba(255, 255, 255, .95); }
/* Thiết bị cảm ứng không có hover -> hiện luôn để bấm được */
@media (hover: none) { .zp-card__add { opacity: 1; transform: none; pointer-events: auto; } }

/* Nút Trả hàng trong chi tiết đơn (My Account) */
.zp-return {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--zp-space-4);
	margin-top: var(--zp-space-6); padding: 20px var(--zp-space-6);
	background: var(--zp-brand-50); border-radius: var(--zp-radius-md);
}
.zp-return__text { display: flex; flex-direction: column; gap: 2px; }
.zp-return__text strong { color: var(--zp-text-primary); }
.zp-return__text span { font-size: var(--zp-fs-sm); color: var(--zp-text-secondary); }
.zp-return__btn,
.zp-return .zp-return__btn:link,
.zp-return .zp-return__btn:visited {
	display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
	padding: 12px 24px; background: var(--zp-brand-500); color: #fff !important;
	border: 1px solid var(--zp-brand-500);
	font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); text-decoration: none;
	transition: background .15s ease;
}
.zp-return__btn:hover { background: var(--zp-brand-600); border-color: var(--zp-brand-600); color: #fff !important; }
.zp-return__btn .ph { font-size: 18px; color: #fff; }

/* Floating liên hệ (Figma 105:344) — ảnh PNG trần, không nền/viền */
.zp-float {
	position: fixed; right: 20px; bottom: 24px; z-index: 90;
	display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.zp-float__item {
	display: block; line-height: 0; padding: 0; margin: 0;
	background: none; border: 0; cursor: pointer; text-decoration: none;
	transition: transform .15s ease;
}
.zp-float__item:hover { transform: scale(1.08); }
/* Blur nhẹ nằm SAU icon (không cắt hình): dùng drop-shadow mờ theo đúng alpha của PNG */
.zp-float__item img {
	display: block; width: 40px; height: 40px;
	filter: drop-shadow(0 2px 4px rgba(60, 31, 6, .22));
}
@media (max-width: 600px) {
	.zp-float { right: 12px; bottom: 16px; gap: 20px; }
}
.zp-card__add[disabled] { opacity: .6; cursor: wait; }
.zp-card__wishlist {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 4px 6px; border: 0; cursor: pointer;
	background: var(--zp-overlay-white-60); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
	color: var(--zp-icon-primary); transition: color .15s;
}
.zp-card__wishlist:hover,
.zp-card__wishlist.is-active { color: var(--zp-accent-sale); }
.zp-card__wishlist .ph { font-size: 20px; }

/* Trang Yêu thích — empty state */
.zp-wishlist-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 40px 0 20px; text-align: center; }
.zp-wishlist-empty .ph { font-size: 56px; color: var(--zp-brand-200); }
.zp-wishlist-empty p { margin: 0; color: var(--zp-text-secondary); }

.zp-card__body { display: flex; flex-direction: column; gap: var(--zp-space-2); }
.zp-card__cat { font-size: var(--zp-fs-caption); color: var(--zp-text-secondary); text-decoration: underline; }
.zp-card__cat:hover { color: var(--zp-brand-600); }
/* Figma 31:149 — tên SP chiếm CỐ ĐỊNH 2 dòng (48px = 2 × 24px):
   tên 1 dòng vẫn giữ chỗ nên giá của mọi card luôn thẳng hàng,
   tên quá dài thì cắt bằng "…". Dùng min-height (không phải height cố định
   1 dòng) để không cắt mất dấu tiếng Việt. */
.zp-card__title {
	margin: 0; font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); line-height: 24px;
	color: var(--zp-text-primary);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden; text-overflow: ellipsis;
	min-height: 48px;
}
.zp-card__title a:hover { color: var(--zp-brand-600); }

.zp-card__price { display: flex; align-items: baseline; gap: var(--zp-space-2); padding-top: var(--zp-space-3); }
.zp-card__now { font-size: var(--zp-fs-base); font-weight: var(--zp-fw-semibold); color: var(--zp-text-primary); }
.zp-card__pct { font-size: var(--zp-fs-base); font-weight: var(--zp-fw-semibold); color: var(--zp-accent-sale); }
.zp-card__was { font-size: var(--zp-fs-sm); color: var(--zp-text-tertiary); text-decoration: line-through; }

/* Nút "Xem thêm" — outline nâu, vuông góc */
.zp-btn-outline-brand {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 32px; border: 1px solid var(--zp-brand-500); background: transparent;
	color: var(--zp-brand-500); font-family: var(--zp-font-sans); font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium);
	cursor: pointer; transition: background .15s, color .15s;
}
.zp-btn-outline-brand:hover { background: var(--zp-brand-500); color: var(--zp-text-white); }

/* Nút filled nâu (brand-500), vuông góc — dùng cho form Tài khoản, Sổ địa chỉ */
.zp-btn-brand {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 32px; border: 0; background: var(--zp-brand-500);
	color: var(--zp-text-white); font-family: var(--zp-font-sans);
	font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium);
	line-height: 1; cursor: pointer; transition: background .15s;
}
.zp-btn-brand:hover { background: var(--zp-brand-600); }

/* --- Collections --- */
.zp-collections__head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; max-width: 560px; margin: 0 auto; }
.zp-collections__title { margin: 0; font-size: var(--zp-fs-3xl); font-weight: var(--zp-fw-semibold); line-height: var(--zp-lh-tight); color: var(--zp-text-primary); }
.zp-collections__desc { margin: 0; font-size: var(--zp-fs-base); line-height: 24px; color: var(--zp-text-secondary); }
/* Dải ảnh full-bleed, gap 5px */
.zp-collections__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: var(--zp-space-8); }
.zp-collections__item { position: relative; display: block; aspect-ratio: 356 / 474; overflow: hidden; background: var(--zp-brand-100); }
.zp-collections__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.zp-collections__item:hover img { transform: scale(1.03); }
.zp-collections__item.is-flip img { transform: scaleX(-1); }
.zp-collections__item.is-flip:hover img { transform: scaleX(-1) scale(1.03); }

/* --- Tin tức (Figma 39:197) --- */
.zp-news { position: relative; background: var(--zp-bg-mustard); }
.zp-news__nav { position: absolute; top: 60px; right: 72px; display: flex; gap: var(--zp-space-8); }

.zp-news__carousel { width: 100%; }
.zp-news__track {
	display: flex; gap: 40px; padding-left: 176px; padding-right: 40px;
	overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none;
}
.zp-news__track::-webkit-scrollbar { display: none; }

.zp-news__card { flex-shrink: 0; display: flex; align-items: center; gap: 28px; padding-left: 28px; width: 688px; max-width: 100%; height: 260px; overflow: hidden; }
.zp-news__card--nude { background: var(--zp-news-nude); }
.zp-news__card--pink { background: var(--zp-news-pink); }
.zp-news__body { display: flex; flex-direction: column; gap: 28px; width: 372px; }
.zp-news__text { display: flex; flex-direction: column; gap: var(--zp-space-3); }
.zp-news__title { margin: 0; font-size: 28px; font-weight: var(--zp-fw-semibold); line-height: var(--zp-lh-tight); color: var(--zp-text-primary);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zp-news__title a { color: inherit; }
.zp-news__title a:hover { color: var(--zp-brand-600); }
.zp-news__excerpt { margin: 0; font-size: var(--zp-fs-base); line-height: 24px; color: var(--zp-text-secondary);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zp-news__thumb { width: 260px; height: 260px; flex-shrink: 0; background: var(--zp-brand-100); }
.zp-news__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Footer (Figma 130:1581) --- */
.zp-footer { background: var(--zp-footer-bg); color: var(--zp-text-primary); }
.zp-footer__inner { max-width: var(--zp-container); margin-inline: auto; padding: 60px 80px; display: flex; flex-direction: column; gap: var(--zp-space-8); }

/* Membership CTA */
.zp-footer__cta-row { display: flex; gap: 132px; align-items: flex-end; }
.zp-footer__cta-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--zp-space-3); }
.zp-footer__cta-title { margin: 0; font-size: var(--zp-fs-xl); font-weight: var(--zp-fw-semibold); color: var(--zp-grey-4); }
.zp-footer__cta-brand { text-transform: uppercase; }
.zp-footer__cta-desc { margin: 0; max-width: 843px; font-size: var(--zp-fs-base); line-height: 24px; color: var(--zp-text-secondary); }
.zp-footer__register { flex-shrink: 0; width: 200px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 32px; background: var(--zp-brand-500); color: var(--zp-text-white); font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); transition: background .15s; }
.zp-footer__register:hover { background: var(--zp-brand-600); }

.zp-footer__divider { width: 100%; height: 0; border: 0; border-top: 1px solid rgba(60, 31, 6, .12); margin: 0; }

/* Columns */
.zp-footer__cols { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--zp-space-8); }
.zp-footer__col { width: 210px; }
.zp-footer__col--info { width: 280px; }
.zp-footer__col-title { margin: 0 0 28px; font-size: var(--zp-fs-xl); font-weight: var(--zp-fw-semibold); color: var(--zp-grey-4); }
.zp-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--zp-space-3); }
.zp-footer__links a { font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-footer__links a:hover { color: var(--zp-brand-600); }
.zp-footer__company { display: flex; flex-direction: column; gap: 6px; font-size: var(--zp-fs-base); line-height: 1.5; color: var(--zp-text-secondary); }
.zp-footer__company p { margin: 0; }

/* Social */
.zp-footer__social { display: flex; gap: 22px; align-items: center; flex-shrink: 0; }
.zp-footer__badge { width: 117px; height: 117px; border-radius: 50%; flex-shrink: 0; }
.zp-footer__social-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--zp-space-4); }
.zp-footer__social-list a { display: inline-flex; align-items: center; gap: var(--zp-space-3); font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-footer__social-list a:hover { color: var(--zp-brand-600); }
.zp-footer__social-list .ph { font-size: 24px; }

/* ===== Giỏ hàng drawer (Figma 139:2072) ===== */
.zp-drawer { position: fixed; inset: 0; z-index: var(--zp-z-modal); visibility: hidden; pointer-events: none; }
.zp-drawer.is-open { visibility: visible; pointer-events: auto; }
.zp-drawer__overlay { position: absolute; inset: 0; background: rgba(19,19,19,.4); opacity: 0; transition: opacity .3s; }
.zp-drawer.is-open .zp-drawer__overlay { opacity: 1; }
.zp-drawer__panel {
	position: absolute; top: 0; right: 0; height: 100%;
	width: 586px; max-width: 100%;
	background: var(--zp-bg-white);
	display: flex; flex-direction: column; padding: 30px 16px 30px 40px;
	transform: translateX(100%); transition: transform .3s ease;
}
.zp-drawer.is-open .zp-drawer__panel { transform: translateX(0); }

.zp-drawer__top { flex-shrink: 0; }
.zp-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.zp-drawer__title { margin: 0; font-size: var(--zp-fs-2xl); font-weight: var(--zp-fw-semibold); color: var(--zp-grey-4); }
.zp-drawer__close { display: inline-flex; background: none; border: 0; cursor: pointer; color: var(--zp-icon-primary); padding: 0; }
.zp-drawer__close .ph { font-size: 24px; }
.zp-drawer__divider { width: 100%; height: 0; border: 0; border-top: 1px solid var(--zp-stroke-primary); margin: 12px 0 0; }

.zp-drawer__inner { flex: 1; display: flex; flex-direction: column; min-height: 0; padding-top: 24px; }
.zp-drawer__items { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 40px; padding-right: 8px; }
.zp-drawer__empty { color: var(--zp-text-secondary); }
.zp-drawer__foot { flex-shrink: 0; padding-top: 24px; display: flex; flex-direction: column; gap: 24px; }
.zp-drawer__totals { display: flex; flex-direction: column; gap: 8px; }
.zp-drawer__row { display: flex; align-items: baseline; justify-content: space-between; color: var(--zp-text-secondary); }
.zp-drawer__row span:first-child { font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); }
.zp-drawer__row span:last-child { font-size: var(--zp-fs-base); font-weight: var(--zp-fw-semibold); }
.zp-drawer__grand { color: var(--zp-brand-500); }
.zp-drawer__checkout { display: flex; align-items: center; justify-content: center; padding: 12px 32px; background: var(--zp-brand-500); color: var(--zp-text-white); font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); transition: background .15s; }
.zp-drawer__checkout:hover { background: var(--zp-brand-600); }

/* Cart card */
.zp-cartcard { display: flex; gap: 24px; align-items: flex-start; }
.zp-cartcard__media { flex-shrink: 0; width: 148px; height: 148px; overflow: hidden; background: var(--zp-brand-50); }
.zp-cartcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-cartcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.zp-cartcard__name { font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); line-height: 20px; color: var(--zp-text-primary); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zp-cartcard__variant { display: flex; gap: 8px; font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-semibold); color: var(--zp-text-primary); }
.zp-cartcard__sep { color: var(--zp-text-tertiary); }
.zp-cartcard__price { display: flex; align-items: baseline; gap: 8px; padding-top: 8px; }
.zp-cartcard__pct { font-size: var(--zp-fs-base); font-weight: var(--zp-fw-semibold); color: var(--zp-accent-sale); }
.zp-cartcard__now { font-size: var(--zp-fs-base); font-weight: var(--zp-fw-semibold); color: var(--zp-grey-4); }
.zp-cartcard__was { font-size: var(--zp-fs-caption); color: var(--zp-text-tertiary); text-decoration: line-through; }
.zp-cartcard__remove { flex-shrink: 0; display: inline-flex; background: none; border: 0; cursor: pointer; color: var(--zp-icon-primary); padding: 0; }
.zp-cartcard__remove .ph { font-size: 24px; }
.zp-cartcard__remove:hover { color: var(--zp-accent-sale); }

/* Quantity stepper — size nhỏ trong drawer */
.zp-qty--sm .zp-qty__btn { width: 32px; height: 32px; }
.zp-qty--sm .zp-qty__btn .ph { font-size: 16px; }
.zp-qty--sm .zp-qty__val { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 32px; border: 1px solid var(--zp-stroke-secondary); border-inline: 0; font-size: var(--zp-fs-caption); color: var(--zp-text-secondary); }

/* --- Shop wrapper --- */
.zp-shop { padding-block: var(--zp-space-8); }
.woocommerce-products-header__title { text-align: center; font-size: 32px; }

/* ===== Trang Sản phẩm (archive) ===== */
/* Breadcrumb — căn lề 80px khớp logo/header */
.zp-breadcrumb { display: flex; align-items: center; gap: 6px; padding-inline: 80px; padding-top: var(--zp-space-6); font-size: var(--zp-fs-sm); color: var(--zp-text-secondary); }
.zp-breadcrumb a:hover { color: var(--zp-brand-600); }
.zp-breadcrumb .ph { font-size: 18px; color: var(--zp-text-tertiary); }

/* Danh mục sản phẩm */
.zp-catbar__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; }
.zp-catbar__item { display: flex; flex-direction: column; align-items: center; gap: var(--zp-space-4); width: 100px; text-align: center; }
.zp-catbar__ic { display: inline-flex; align-items: center; justify-content: center; height: 64px; color: var(--zp-brand-600); }
.zp-catbar__ic img { width: 64px; height: 64px; object-fit: contain; }
.zp-catbar__ic .ph { font-size: 56px; }
.zp-catbar__label { font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-catbar__item:hover .zp-catbar__label { color: var(--zp-brand-600); }

/* Banner */
.zp-catbar__banner { max-width: 1200px; margin: var(--zp-space-8) auto 0; border-radius: var(--zp-radius-lg); overflow: hidden; aspect-ratio: 1200 / 375; }
.zp-catbar__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-catbar__banner.is-placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(120deg, var(--zp-brand-100), var(--zp-brand-50)); }
.zp-catbar__banner-ph { text-align: center; color: var(--zp-brand-800); }
.zp-catbar__banner-title { margin: 0; font-size: 44px; font-weight: var(--zp-fw-bold); letter-spacing: 2px; }
.zp-catbar__banner-sub { margin: 4px 0 0; font-size: var(--zp-fs-xl); }
.zp-catbar__banner-sub strong { color: var(--zp-brand-600); }

/* Filter bar */
.zp-filterbar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--zp-space-4); max-width: var(--zp-content); margin: 0 auto var(--zp-space-8); }
.zp-filterbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--zp-space-3); }
.zp-filter-label { display: inline-flex; align-items: center; gap: var(--zp-space-2); font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); white-space: nowrap; }
.zp-filter-label .ph { font-size: 18px; }
.zp-filter {
	display: inline-flex; align-items: center; gap: var(--zp-space-2);
	padding: 10px var(--zp-space-4); border: 1px solid var(--zp-stroke-secondary); border-radius: var(--zp-radius-sm);
	background: var(--zp-bg-white); color: var(--zp-text-primary); font-family: var(--zp-font-sans);
	font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); cursor: pointer; transition: border-color .15s, color .15s;
}
.zp-filter:hover { border-color: var(--zp-brand-500); color: var(--zp-brand-600); }
.zp-filter.is-active { border-color: var(--zp-brand-500); color: var(--zp-brand-600); }
.zp-filter .ph { font-size: 18px; }

/* Dropdown filter */
.zp-filter-dd { position: relative; }
.zp-filter-dd__menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 190px; background: var(--zp-bg-white); border: 1px solid var(--zp-stroke-secondary); padding: 6px; display: none; box-shadow: 0 8px 24px rgba(60,31,6,.12); }
.zp-filter-dd__menu--right { left: auto; right: 0; }
.zp-filter-dd.is-open .zp-filter-dd__menu { display: block; }
.zp-filter-dd__menu a { display: block; padding: 8px 12px; font-size: var(--zp-fs-sm); color: var(--zp-text-primary); white-space: nowrap; }
.zp-filter-dd__menu a:hover { background: var(--zp-brand-50); }
.zp-filter-dd__menu a.is-active { color: var(--zp-brand-600); font-weight: var(--zp-fw-semibold); }

/* Load more (infinite scroll) */
.zp-loadmore { display: flex; justify-content: center; padding: 28px 0; }
.zp-loadmore[hidden] { display: none; }
.zp-loadmore__spin { width: 26px; height: 26px; border: 2px solid var(--zp-brand-100); border-top-color: var(--zp-brand-600); border-radius: 50%; animation: zp-spin .7s linear infinite; }
@keyframes zp-spin { to { transform: rotate(360deg); } }
#zp-products { scroll-margin-top: 90px; }

/* Pagination */
.zp-pagination { margin-top: var(--zp-space-8); }
.zp-pagination .woocommerce-pagination ul { display: flex; justify-content: center; gap: var(--zp-space-2); list-style: none; margin: 0; padding: 0; }
.zp-pagination .woocommerce-pagination a,
.zp-pagination .woocommerce-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--zp-stroke-primary); border-radius: var(--zp-radius-sm); color: var(--zp-text-primary); }
.zp-pagination .woocommerce-pagination .current { background: var(--zp-brand-600); color: #fff; border-color: var(--zp-brand-600); }
.zp-empty { text-align: center; color: var(--zp-text-secondary); }
.zp-term-desc { max-width: 560px; margin: calc(-1 * var(--zp-space-4)) auto var(--zp-space-8); text-align: center; color: var(--zp-text-secondary); font-size: var(--zp-fs-base); line-height: 24px; }

/* ===== Chi tiết sản phẩm (PDP — Figma 155:1725) ===== */
.zp-pdp { padding-bottom: var(--zp-space-15); }
.zp-pdp__grid { display: grid; grid-template-columns: 500px 1fr; column-gap: 100px; max-width: 1056px; margin: var(--zp-space-6) auto 0; align-items: start; }

/* Gallery (custom) */
.zp-gallery { display: flex; flex-direction: column; gap: 12px; }
.zp-gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--zp-radius-lg); overflow: hidden; background: var(--zp-brand-50); }
.zp-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--zp-overlay-white-60); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; color: var(--zp-text-primary); }
.zp-gallery__prev { left: 22px; }
.zp-gallery__next { right: 22px; }
.zp-gallery__nav .ph { font-size: 24px; }
.zp-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 12px; }
.zp-gallery__thumb { width: 90px; height: 90px; padding: 0; border: 1px solid transparent; border-radius: var(--zp-radius-md); overflow: hidden; background: var(--zp-brand-50); cursor: pointer; }
.zp-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zp-gallery__thumb.is-active { border-color: var(--zp-brand-500); }

/* Info */
.zp-pdp__info { display: flex; flex-direction: column; gap: 36px; }
.zp-pdp__head { display: flex; flex-direction: column; gap: var(--zp-space-3); }
.zp-pdp__title { margin: 0; font-size: var(--zp-fs-2xl); font-weight: var(--zp-fw-medium); line-height: var(--zp-lh-snug); color: var(--zp-text-primary); }
.zp-pdp__sku { margin: 0; font-size: var(--zp-fs-base); color: var(--zp-text-primary); }
.zp-pdp__rating { display: flex; align-items: center; gap: 14px; }
.zp-stars { display: inline-flex; color: #f5b301; }
.zp-stars .ph, .zp-stars .ph-fill { font-size: 20px; }
.zp-pdp__reviewlink { font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); text-decoration: underline; color: var(--zp-text-primary); }

/* Price */
.zp-pdp__price { display: flex; align-items: baseline; gap: var(--zp-space-3); }
.zp-pdp__pct { font-size: var(--zp-fs-2xl); font-weight: var(--zp-fw-semibold); color: var(--zp-accent-sale); }
.zp-pdp__now { font-size: var(--zp-fs-2xl); font-weight: var(--zp-fw-semibold); color: var(--zp-grey-4); }
.zp-pdp__now .woocommerce-Price-amount { font: inherit; color: inherit; }
.zp-pdp__was { font-size: 17px; color: var(--zp-text-tertiary); text-decoration: line-through; }

.zp-pdp__divider { width: 100%; height: 0; border: 0; border-top: 1px solid var(--zp-stroke-primary); margin: 0; }

/* Form / options */
.zp-pdp__form { display: flex; flex-direction: column; gap: 20px; margin: 0; }
.zp-pdp__row { display: flex; align-items: center; gap: 28px; }
.zp-pdp__label { width: 90px; flex-shrink: 0; font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-pdp__select { position: relative; flex: 1; }
.zp-pdp__select select {
	width: 100%; appearance: none; -webkit-appearance: none;
	border: 1px solid var(--zp-stroke-secondary); border-radius: 0; background: transparent;
	padding: 12px 40px 12px 16px; font-family: var(--zp-font-sans); font-size: var(--zp-fs-base);
	color: var(--zp-text-secondary); cursor: pointer;
}
.zp-pdp__select .ph { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 20px; pointer-events: none; color: var(--zp-icon-secondary); }

/* Quantity stepper */
.zp-qty { display: inline-flex; align-items: stretch; }
.zp-qty__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--zp-stroke-secondary); background: transparent; cursor: pointer; color: var(--zp-text-primary); }
.zp-qty__btn .ph { font-size: 20px; }
.zp-qty__btn:hover { color: var(--zp-brand-600); }
.zp-qty__input { width: 80px; height: 44px; text-align: center; border: 1px solid var(--zp-stroke-secondary); border-inline: 0; font-family: var(--zp-font-sans); font-size: var(--zp-fs-base); color: var(--zp-text-primary); -moz-appearance: textfield; }
.zp-qty__input::-webkit-outer-spin-button, .zp-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.zp-pdp__guide { font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); text-decoration: underline; color: var(--zp-text-primary); align-self: flex-start; }

/* Actions */
.zp-pdp__actions { display: flex; align-items: stretch; gap: 13px; flex-wrap: nowrap; }
.zp-pdp__wishlist { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 48px; padding: 12px; border: 1px solid var(--zp-brand-500); background: transparent; color: var(--zp-brand-500); cursor: pointer; transition: background .15s, color .15s; }
.zp-pdp__wishlist:hover { background: var(--zp-brand-500); color: #fff; }
.zp-pdp__wishlist.is-active { color: var(--zp-accent-sale); border-color: var(--zp-accent-sale); background: #fdecec; }
.zp-pdp__wishlist .ph { font-size: 20px; }
.zp-pdp__addcart, .zp-pdp__buynow { flex: 1; min-width: 0; white-space: nowrap; padding: 12px 16px; font-family: var(--zp-font-sans); font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); cursor: pointer; border: 1px solid var(--zp-brand-500); transition: background .15s, color .15s; }
.zp-pdp__addcart { background: transparent; color: var(--zp-brand-500); }
.zp-pdp__addcart:hover { background: var(--zp-brand-50); }
.zp-pdp__buynow { background: var(--zp-brand-500); color: #fff; }
.zp-pdp__buynow:hover { background: var(--zp-brand-600); border-color: var(--zp-brand-600); }

/* Notes */
.zp-pdp__notes { display: flex; flex-direction: column; gap: 4px; }
.zp-pdp__notes p { margin: 0; font-size: var(--zp-fs-sm); color: var(--zp-text-secondary); text-decoration: underline; }

/* Tabs */
.zp-pdp__tabs { max-width: 1056px; margin: var(--zp-space-15) auto 0; }
.zp-pdp__tabnav { display: flex; justify-content: center; gap: 80px; border-bottom: 1px solid var(--zp-stroke-primary); }
.zp-tab { position: relative; padding: 16px 8px; background: none; border: 0; cursor: pointer; font-family: var(--zp-font-sans); font-size: var(--zp-fs-lg); font-weight: var(--zp-fw-medium); color: var(--zp-text-secondary); }
.zp-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--zp-brand-600); transform: scaleX(0); transition: transform .2s; }
.zp-tab.is-active { color: var(--zp-text-primary); }
.zp-tab.is-active::after { transform: scaleX(1); }
.zp-pdp__tabpanel { display: none; padding-top: var(--zp-space-8); color: var(--zp-text-secondary); line-height: 1.7; }
.zp-pdp__tabpanel.is-active { display: block; }

/* ===== Sản phẩm có biến thể — dùng lại đúng style design của PDP ===== */
/* Select biến thể dùng NGUYÊN style .zp-pdp__select đã có (khớp Figma 157:1844):
   cao 44px, bo góc 0, padding-trái 16, caret cách phải 16 — không đè lại ở đây. */
.zp-pdp__select select:focus { outline: 0; border-color: var(--zp-brand-500); }

/* Khoảng cách giữa các dòng chọn biến thể (form.zp-pdp__form chỉ áp gap cho
   con trực tiếp, mà các dòng này nằm lồng trong .variations nên phải khai báo lại) */
.zp-pdp__variable .variations { display: flex; flex-direction: column; gap: 20px; }

/* Ô màu (swatch) — thay dropdown chữ cho thuộc tính Màu sắc */
.zp-pdp__select.is-hidden-select { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.zp-pdp__row--color { align-items: center; }
.zp-swatches { display: flex; align-items: center; flex-wrap: wrap; gap: var(--zp-space-3); flex: 1; }
.zp-swatch {
	width: 36px; height: 36px; padding: 3px; border-radius: 999px; cursor: pointer;
	background: transparent; border: 1px solid transparent; transition: border-color .15s ease;
	display: inline-flex; align-items: center; justify-content: center;
}
.zp-swatch__dot { display: block; width: 100%; height: 100%; border-radius: 999px; border: 1px solid rgba(0, 0, 0, .1); }
.zp-swatch:hover { border-color: var(--zp-stroke-secondary); }
.zp-swatch.is-active { border-color: var(--zp-brand-600); border-width: 2px; padding: 2px; }
.zp-swatch--nohex .zp-swatch__dot {
	background-image: linear-gradient(45deg, #ddd 25%, #fff 25%, #fff 50%, #ddd 50%, #ddd 75%, #fff 75%);
	background-size: 8px 8px;
}
.zp-swatches__name { font-size: var(--zp-fs-sm); color: var(--zp-text-secondary); margin-left: var(--zp-space-2); }
.zp-pdp__variable .reset_variations { display: none !important; }

/* Giá của biến thể được đổ vào ô giá chính phía trên -> ẩn ô giá phụ ở đây */
.zp-pdp__variable .woocommerce-variation-price { display: none !important; }
.zp-pdp__price .price { font-size: inherit; color: inherit; }
.zp-pdp__price del { color: var(--zp-text-secondary); font-weight: var(--zp-fw-regular); font-size: var(--zp-fs-lg); margin-right: 8px; }
.zp-pdp__price ins { text-decoration: none; }

/* Khối giá/tồn kho rỗng của WooCommerce -> không chiếm chỗ */
.zp-pdp__variable .woocommerce-variation:empty,
.zp-pdp__variable .woocommerce-variation-description:empty,
.zp-pdp__variable .woocommerce-variation-price:empty { display: none; }
.zp-pdp__variable .single_variation_wrap { display: flex; flex-direction: column; gap: 20px; }
.zp-pdp__variable .woocommerce-variation { margin: 0; }

/* Khối số lượng + nút: cùng nhịp 20px như form sản phẩm đơn giản */
.zp-pdp__variable .woocommerce-variation-add-to-cart {
	display: flex; flex-direction: column; gap: 20px; margin: 0;
}

/* Giá + tồn kho của biến thể đang chọn */
.zp-pdp__variable .woocommerce-variation { margin: 0 0 var(--zp-space-4); }
.zp-pdp__variable .woocommerce-variation-price { margin-bottom: var(--zp-space-2); }
.zp-pdp__variable .woocommerce-variation-price .price { font-size: var(--zp-fs-xl); font-weight: var(--zp-fw-semibold); color: var(--zp-brand-600); }
.zp-pdp__variable .woocommerce-variation-price del { color: var(--zp-text-secondary); font-weight: var(--zp-fw-regular); font-size: var(--zp-fs-base); margin-right: 8px; }

/* Tồn kho nằm cạnh ô số lượng: "Còn: 3" / "Hết hàng" */
.zp-pdp__stockinline {
	margin-left: var(--zp-space-4); font-size: var(--zp-fs-sm);
	font-weight: var(--zp-fw-medium); color: var(--zp-text-secondary); white-space: nowrap;
}
.zp-pdp__stockinline.is-low { color: #8a6412; }
.zp-pdp__stockinline.is-out { color: #a32020; font-weight: var(--zp-fw-semibold); }
.zp-pdp__maxhint {
	margin: -12px 0 0 118px; font-size: var(--zp-fs-caption); color: #8a6412;
}
.zp-pdp__maxhint[hidden] { display: none; }
/* Dòng availability mặc định của WooCommerce -> ẩn, đã có badge cạnh số lượng */
.zp-pdp__variable .woocommerce-variation-availability { display: none; }

/* Dòng "Còn X sản phẩm" (sản phẩm đơn giản) */
.zp-pdp__stock { margin: 0 0 var(--zp-space-4); }
.zp-pdp__stock p.stock,
.zp-pdp__variable p.stock {
	display: inline-flex; align-items: center; gap: 6px; margin: 0;
	padding: 6px 14px; border-radius: 999px;
	font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium);
}
p.stock.in-stock { background: #e7f4ea; color: #1f6b34; }
p.stock.available-on-backorder { background: #fdf3d8; color: #8a6412; }
p.stock.out-of-stock { background: #fdeaea; color: #a32020; }

/* Số lượng trong form biến thể: WooCommerce bọc input trong .quantity,
   dùng display:contents để input trở thành con trực tiếp của .zp-qty,
   giữ nguyên vạch ngăn 44|80|44 của design. */
.zp-pdp__variable .quantity { display: contents; }
.zp-pdp__variable .quantity .screen-reader-text,
.zp-pdp__variable .quantity label { position: absolute !important; left: -9999px; }
/* Nút mua kế thừa .zp-pdp__addcart / .zp-pdp__buynow của design */
.zp-pdp__variable .single_add_to_cart_button.disabled,
.zp-pdp__variable .single_add_to_cart_button:disabled { opacity: .5; cursor: not-allowed; }
.zp-pdp__variable .woocommerce-variation-add-to-cart--disabled .zp-pdp__buynow { display: none; }

/* ===== Đánh giá (WooCommerce reviews) ===== */
.zp-pdp__tabpanel #reviews .woocommerce-Reviews-title { display: none; }
.zp-pdp__tabpanel .commentlist { list-style: none; margin: 0 0 var(--zp-space-8); padding: 0; display: flex; flex-direction: column; gap: var(--zp-space-6); }
.zp-pdp__tabpanel .commentlist li { padding: 0; }
.zp-pdp__tabpanel .comment_container { display: flex; gap: var(--zp-space-4); }
.zp-pdp__tabpanel .comment_container img.avatar { width: 48px; height: 48px; border-radius: 999px; border: 0; margin: 0; }
.zp-pdp__tabpanel .comment-text { flex: 1; min-width: 0; border: 0; margin: 0; padding: 0; }
.zp-pdp__tabpanel .comment-text .meta { margin: 0 0 4px; font-size: var(--zp-fs-sm); color: var(--zp-text-secondary); }
.zp-pdp__tabpanel .comment-text .woocommerce-review__author { font-weight: var(--zp-fw-semibold); color: var(--zp-text-primary); }
.zp-pdp__tabpanel .comment-text .star-rating { margin: 2px 0 6px; font-size: 14px; color: var(--zp-brand-600); }
.zp-pdp__tabpanel .comment-text .description { color: var(--zp-text-primary); line-height: 1.7; }
.zp-pdp__tabpanel .woocommerce-noreviews { margin: 0 0 var(--zp-space-6); color: var(--zp-text-secondary); }

/* Thông báo khoá review */
.zp-pdp__tabpanel .woocommerce-verification-required {
	margin: 0; padding: 16px 20px; background: var(--zp-brand-50);
	border-radius: var(--zp-radius-md); color: var(--zp-text-primary);
	font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium);
}

/* Form đánh giá */
.zp-pdp__tabpanel #respond .comment-reply-title { display: block; font-size: var(--zp-fs-lg); font-weight: var(--zp-fw-semibold); color: var(--zp-text-primary); margin: 0 0 var(--zp-space-4); }
.zp-pdp__tabpanel .comment-form-rating label { display: block; margin-bottom: 6px; font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-pdp__tabpanel .comment-form-comment label,
.zp-pdp__tabpanel .comment-form-author label,
.zp-pdp__tabpanel .comment-form-email label { display: block; margin-bottom: 6px; font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-pdp__tabpanel .comment-form textarea,
.zp-pdp__tabpanel .comment-form input[type="text"],
.zp-pdp__tabpanel .comment-form input[type="email"] {
	width: 100%; padding: 12px 14px; border: 1px solid var(--zp-stroke-secondary);
	border-radius: var(--zp-radius-sm); background: transparent;
	font-family: var(--zp-font-sans); font-size: var(--zp-fs-sm); color: var(--zp-text-primary);
}
.zp-pdp__tabpanel .comment-form textarea:focus,
.zp-pdp__tabpanel .comment-form input:focus { outline: 0; border-color: var(--zp-brand-500); }
.zp-pdp__tabpanel .comment-form p { margin: 0 0 var(--zp-space-4); }
.zp-pdp__tabpanel .stars a { color: var(--zp-brand-600); }
.zp-pdp__tabpanel .form-submit input[type="submit"],
.zp-pdp__tabpanel #respond #submit {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 28px; background: var(--zp-brand-600); color: #fff;
	border: 0; border-radius: 999px; cursor: pointer;
	font-family: var(--zp-font-sans); font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium);
	transition: background .15s ease;
}
.zp-pdp__tabpanel .form-submit input[type="submit"]:hover,
.zp-pdp__tabpanel #respond #submit:hover { background: var(--zp-brand-800); }
.zp-pdp__tabpanel .must-log-in a { color: var(--zp-brand-600); font-weight: var(--zp-fw-medium); }

/* ===== Trang giỏ hàng (Figma 146:1045) ===== */
.zp-cart__grid { display: grid; grid-template-columns: 620px 320px; column-gap: 60px; max-width: 1000px; margin: var(--zp-space-6) auto 0; align-items: start; }
.zp-cart__left { display: flex; flex-direction: column; gap: var(--zp-space-6); }
.zp-cart__items { display: flex; flex-direction: column; gap: 40px; }
.zp-cart__note-input { width: 100%; min-height: 120px; padding: 16px; border: 1px solid var(--zp-stroke-secondary); border-radius: 0; background: transparent; font-family: var(--zp-font-sans); font-size: var(--zp-fs-sm); color: var(--zp-text-primary); resize: vertical; }
.zp-cart__note-input::placeholder { color: var(--zp-text-secondary); }
.zp-cart__note-input:focus { outline: none; border-color: var(--zp-brand-500); }

.zp-cart__summary-title { margin: 0 0 24px; font-size: var(--zp-fs-xl); font-weight: var(--zp-fw-semibold); color: var(--zp-grey-4); }
.zp-cart__rows { display: flex; flex-direction: column; gap: 12px; }
.zp-cart__row { display: flex; align-items: baseline; justify-content: space-between; }
.zp-cart__row span:first-child { font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-text-secondary); }
.zp-cart__row span:last-child { font-size: var(--zp-fs-base); font-weight: var(--zp-fw-semibold); color: var(--zp-text-primary); }
.zp-cart__divider { border: 0; border-top: 1px solid var(--zp-stroke-primary); margin: 12px 0; }
.zp-cart__grand { color: var(--zp-brand-500) !important; }
.zp-cart__note-text { margin: 12px 0 24px; font-size: var(--zp-fs-sm); line-height: 20px; color: var(--zp-text-tertiary); }
.zp-cart__order, .zp-cart__continue { display: flex; align-items: center; justify-content: center; padding: 12px 32px; font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); transition: background .15s, color .15s; }
.zp-cart__order { background: var(--zp-brand-500); color: var(--zp-text-white); margin-bottom: 12px; }
.zp-cart__order:hover { background: var(--zp-brand-600); }
.zp-cart__continue { border: 1px solid var(--zp-brand-500); color: var(--zp-brand-500); }
.zp-cart__continue:hover { background: var(--zp-brand-500); color: var(--zp-text-white); }
.zp-cart-related { margin-top: var(--zp-space-15); }
.zp-page { padding-block: var(--zp-space-8); }
.zp-page__title { font-size: var(--zp-fs-3xl); font-weight: var(--zp-fw-semibold); }

/* ===== Đăng nhập: modal + form + Google + My Account ===== */
.zp-modal { position: fixed; inset: 0; z-index: var(--zp-z-modal); visibility: hidden; pointer-events: none; }
.zp-modal.is-open { visibility: visible; pointer-events: auto; }
.zp-modal__overlay { position: absolute; inset: 0; background: rgba(19,19,19,.28); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .25s; }
.zp-modal.is-open .zp-modal__overlay { opacity: 1; }
/* Liquid glass / glassmorphism */
.zp-modal__box {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -46%); opacity: 0;
	transition: transform .25s, opacity .25s;
	width: 420px; max-width: calc(100% - 32px); max-height: calc(100% - 48px); overflow-y: auto;
	background: rgba(255, 252, 249, 0.8);
	-webkit-backdrop-filter: blur(10px) saturate(140%);
	backdrop-filter: blur(10px) saturate(140%);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 26px;
	box-shadow: 0 16px 48px rgba(60, 31, 6, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.65);
	padding: 32px;
}
.zp-modal.is-open .zp-modal__box { transform: translate(-50%, -50%); opacity: 1; }
.zp-modal__close { position: absolute; top: 18px; right: 18px; z-index: 1; background: none; border: 0; cursor: pointer; color: var(--zp-icon-secondary); padding: 0; display: inline-flex; transition: color .15s; }
.zp-modal__close:hover { color: var(--zp-text-primary); }
.zp-modal__close .ph { font-size: 24px; }

/* Login box (branded — Figma design system) */
.zp-loginbox { position: relative; padding: 44px 32px 32px; text-align: center; }
.zp-loginbox__badge { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%; background: var(--zp-brand-50); display: flex; align-items: center; justify-content: center; }
.zp-loginbox__badge img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.zp-loginbox__title { margin: 0 0 8px; font-size: var(--zp-fs-2xl); font-weight: var(--zp-fw-semibold); color: var(--zp-brand-800); }
.zp-loginbox__sub { margin: 0 auto 24px; max-width: 300px; font-size: var(--zp-fs-sm); line-height: 1.6; color: var(--zp-text-secondary); }
.zp-loginbox__terms { margin: 20px auto 0; max-width: 300px; font-size: var(--zp-fs-caption); line-height: 1.5; color: var(--zp-text-secondary); }
.zp-loginbox .zp-social-login--only { margin-top: 0; }
.zp-loginbox .zp-social-hint { display: none; }
.zp-loginbox .nsl-container { margin: 0 auto; }

/* Form đăng nhập / đăng ký */
.zp-login-form { display: flex; flex-direction: column; gap: 16px; }
.zp-field { display: flex; flex-direction: column; gap: 6px; }
.zp-field label { font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-field label span { color: var(--zp-accent-sale); }
.zp-field input { height: 44px; padding: 0 14px; border: 1px solid var(--zp-stroke-secondary); border-radius: 0; font-family: var(--zp-font-sans); font-size: var(--zp-fs-sm); color: var(--zp-text-primary); }
.zp-field input:focus { outline: none; border-color: var(--zp-brand-500); }
.zp-login-form__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.zp-check { display: inline-flex; align-items: center; gap: 8px; font-size: var(--zp-fs-sm); color: var(--zp-text-secondary); }
.zp-login-form__lost { font-size: var(--zp-fs-sm); color: var(--zp-brand-600); text-decoration: underline; }
.zp-btn-solid { height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--zp-brand-500); color: var(--zp-text-white); border: 0; font-family: var(--zp-font-sans); font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); cursor: pointer; transition: background .15s; }
.zp-btn-solid:hover { background: var(--zp-brand-600); }

/* Social / Google */
.zp-social-login { margin-top: 20px; }
.zp-social-login .nsl-container,
.zp-social-login .nsl-container-buttons { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
.zp-social-login .nsl-container-buttons { display: flex !important; justify-content: center !important; }

/* Nút Google (Nextend) — vuông góc, full width, khớp button design system Zira & Pals */
.zp-social-login .nsl-button {
	border-radius: 0 !important;
	height: 48px !important;
	width: 100% !important; max-width: 100% !important; margin: 0 !important;
	display: flex !important; align-items: center !important; justify-content: center !important; gap: 10px !important;
	border: 1px solid var(--zp-brand-500) !important;
	background: rgba(255, 255, 255, 0.85) !important;
	box-shadow: none !important;
	overflow: hidden;
	transition: background .15s, color .15s;
}
.zp-social-login .nsl-button:hover { background: var(--zp-brand-50) !important; }
.zp-social-login .nsl-button-svg-container {
	position: static !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; padding: 0 !important; margin: 0 !important; flex: 0 0 auto !important;
}
.zp-social-login .nsl-button-label-container {
	flex: 0 0 auto !important; width: auto !important; margin: 0 !important; text-align: center !important;
	font-family: var(--zp-font-sans) !important;
	font-size: 15px !important; font-weight: var(--zp-fw-medium) !important;
	color: var(--zp-text-primary) !important;
}
.zp-or { position: relative; text-align: center; margin: 16px 0; }
.zp-or::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--zp-stroke-primary); }
.zp-or span { position: relative; background: var(--zp-bg-white); padding: 0 12px; font-size: var(--zp-fs-caption); color: var(--zp-text-tertiary); }
.zp-google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 44px; border: 1px solid var(--zp-stroke-secondary); color: var(--zp-text-primary); font-size: 15px; font-weight: var(--zp-fw-medium); transition: border-color .15s; }
.zp-google-btn .ph { font-size: 20px; }
.zp-google-btn:hover { border-color: var(--zp-brand-500); }
.zp-social-note { margin: 10px 0 0; font-size: var(--zp-fs-caption); color: var(--zp-text-tertiary); text-align: center; }
.zp-social-login--only { margin-top: 0; text-align: center; }
.zp-social-login--only .nsl-container { margin: 0 auto; }
.zp-social-hint { margin: 14px 0 0; font-size: var(--zp-fs-sm); color: var(--zp-text-secondary); text-align: center; }

/* Trang Đăng nhập / Đăng ký */
.zp-account-auth { padding-bottom: var(--zp-space-15); }
.zp-auth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 900px; margin: var(--zp-space-6) auto 0; align-items: start; }
.zp-auth__grid.is-single { grid-template-columns: 1fr; max-width: 420px; }
.zp-auth__col--register { border-left: 1px solid var(--zp-stroke-primary); padding-left: 60px; }
.zp-auth__title { margin: 0 0 8px; font-size: var(--zp-fs-2xl); font-weight: var(--zp-fw-semibold); color: var(--zp-grey-4); }
.zp-auth__sub { margin: 0 0 24px; font-size: var(--zp-fs-sm); line-height: 1.6; color: var(--zp-text-secondary); }

/* My Account dashboard */
.zp-account { padding-top: 28px; padding-bottom: var(--zp-space-15); } /* section mặc định 60px -> kéo content lên 32px */
/* Content thụt vào 2 bên (px-120 như design) -> mép trái trùng item thứ 2 của breadcrumb.
   Breadcrumb giữ nguyên full container. Spacing trên sát lại (space-4). */
.zp-account__grid { display: grid; grid-template-columns: 280px 1fr; gap: 48px; padding-inline: 152px; margin: var(--zp-space-4) auto 0; align-items: start; }
.zp-account-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.zp-account-nav a { display: flex; align-items: center; gap: 8px; padding: 12px; font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-text-secondary); border-radius: 0; transition: background .15s, color .15s; }
.zp-account-nav a .ph { font-size: 20px; line-height: 1; flex: 0 0 auto; }
.zp-account-nav li.is-active a { background: var(--zp-brand-500); color: var(--zp-text-white); }
.zp-account-nav a:hover { background: var(--zp-brand-50); color: var(--zp-brand-800); }
.zp-account-nav li.is-active a:hover { background: var(--zp-brand-500); color: var(--zp-text-white); }
/* Đăng xuất: giữ nền brown khi active, hover nhẹ */
.zp-account__content { min-width: 0; border-left: 1px solid var(--zp-stroke-primary); padding-left: 48px; }
.zp-account__content a { color: var(--zp-brand-600); }
.zp-account__content .button, .zp-account__content .woocommerce-button { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 24px; background: var(--zp-brand-500); color: var(--zp-text-white); border: 0; font-weight: var(--zp-fw-medium); }
.zp-account__content .button:hover { background: var(--zp-brand-600); }

/* Dashboard */
.zp-account__content > p { color: var(--zp-text-secondary); line-height: 1.7; }
.zp-account__heading { margin: 0 0 20px; font-size: var(--zp-fs-xl); font-weight: var(--zp-fw-semibold); color: var(--zp-grey-4); }
.zp-points { display: flex; align-items: baseline; gap: 8px; margin: 0 0 16px; }
.zp-points__num { font-size: var(--zp-fs-3xl); font-weight: var(--zp-fw-semibold); color: var(--zp-brand-600); }
.zp-points__label { color: var(--zp-text-secondary); }
/* Form chi tiết tài khoản (không có mật khẩu — khách login bằng Google) */
.zp-account-form .zp-account__heading { margin: 0 0 24px; font-size: var(--zp-fs-2xl); }
/* Họ + Tên chung 1 dòng */
.zp-account-form__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.zp-account-form__row2 .form-row { margin: 0 0 24px; }
/* Không bao giờ italic (font Be Vietnam Pro không có bản nghiêng) */
.zp-account-form em, .zp-account-form .zp-account-note { font-style: normal; }
/* Input theo design 458:1533 — border #bcbcbc, vuông góc, padding 16/12, 14px.
   Dùng !important vì WooCommerce mặc định (radius + padding) đè rule chung. */
.zp-account-form .input-text,
.zp-account-form input[type="text"],
.zp-account-form input[type="email"],
.zp-account-form input[type="tel"],
.zp-account-form input[type="password"] {
	width: 100% !important;
	height: auto !important;
	padding: 12px 16px !important;
	border: 1px solid var(--zp-stroke-secondary) !important;
	border-radius: 0 !important;
	background: #fff !important;
	box-shadow: none !important;
	font-family: var(--zp-font-sans) !important;
	font-size: var(--zp-fs-sm) !important;
	line-height: 20px !important;
	color: var(--zp-text-primary) !important;
}
.zp-account-form input:focus { border-color: var(--zp-brand-500) !important; outline: none !important; }
.zp-account-form input[disabled] { background: var(--zp-bg-mustard) !important; color: var(--zp-text-secondary) !important; cursor: not-allowed; }
.zp-account-form label { font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-account-note { display: block; margin-top: 0; font-size: var(--zp-fs-sm); color: var(--zp-text-tertiary); }
.zp-account__content .required { color: #ed6062; border: 0; text-decoration: none; }
/* Trạng thái lỗi (bỏ trống trường bắt buộc) — design 458:1760 */
.zp-account-form .form-row.has-error input { border-color: #ed6062 !important; }
.zp-account-form .zp-field-msg { display: block; margin-top: 6px; color: #ed6062; font-size: var(--zp-fs-sm); }
.zp-account-form ::placeholder { color: var(--zp-text-tertiary); }
.zp-account-actions { margin-top: var(--zp-space-6); }
.zp-account-submit { width: 240px; height: 48px; }

/* Danh sách đơn hàng — 4 cột đều, canh giữa (design 470:2514) */
.zp-orders { display: flex; flex-direction: column; }
.zp-orders__row { display: grid; grid-template-columns: repeat(4, 1fr) 72px; align-items: center; border-bottom: 1px solid var(--zp-stroke-primary); }
.zp-orders__row > span { padding: 14px 12px; text-align: center; font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-orders__row--head > span { color: var(--zp-text-secondary); }
.zp-orders__id { color: var(--zp-brand-500); font-weight: var(--zp-fw-medium); text-decoration: none; }
.zp-orders__id:hover { text-decoration: underline; }
.zp-orders__view { color: var(--zp-brand-600); font-weight: var(--zp-fw-medium); text-decoration: underline; }
.zp-orders__view:hover { color: var(--zp-brand-800); }
.zp-orders__status--cancelled, .zp-orders__status--failed { color: #b3261e; }
.zp-orders__nav { display: flex; gap: 12px; margin-top: 24px; }
.zp-orders__empty { padding: 40px 24px; text-align: center; border: 1px dashed var(--zp-brand-500); }
.zp-orders__empty p { margin: 0 0 16px; color: var(--zp-text-secondary); }

.zp-points__rule { margin: 0 0 var(--zp-space-6); color: var(--zp-text-secondary); }
.zp-points__rule strong { color: var(--zp-text-primary); }
.zp-points__subhead { margin: var(--zp-space-6) 0 var(--zp-space-3); font-size: var(--zp-fs-lg); font-weight: var(--zp-fw-semibold); color: var(--zp-text-primary); }
.zp-points__table { width: 100%; border-collapse: collapse; font-size: var(--zp-fs-sm); }
.zp-points__table th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--zp-stroke-primary); color: var(--zp-text-secondary); font-weight: var(--zp-fw-medium); }
.zp-points__table td { padding: 12px; border-bottom: 1px solid var(--zp-stroke-secondary); color: var(--zp-text-primary); }
.zp-points__table td:nth-child(3), .zp-points__table td:nth-child(4),
.zp-points__table th:nth-child(3), .zp-points__table th:nth-child(4) { text-align: right; white-space: nowrap; }
.zp-points__plus { color: #2c7a3f; font-weight: var(--zp-fw-semibold); }
.zp-points__minus { color: #b3261e; font-weight: var(--zp-fw-semibold); }
.woocommerce-account-title, .zp-account__content h2, .zp-account__content h3 { color: var(--zp-text-primary); }

/* Form fields (Account details, Address) */
.zp-account__content .woocommerce-form-row,
.zp-account__content .form-row { display: flex; flex-direction: column; gap: 8px; margin: 0 0 24px; }
.zp-account__content .woocommerce-form-row label,
.zp-account__content .form-row label { font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-account__content .input-text,
.zp-account__content input[type="text"], .zp-account__content input[type="email"],
.zp-account__content input[type="tel"], .zp-account__content input[type="password"],
.zp-account__content select { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--zp-stroke-secondary); border-radius: 0; background: transparent; font-family: var(--zp-font-sans); font-size: var(--zp-fs-sm); color: var(--zp-text-primary); }
.zp-account__content textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--zp-stroke-secondary); border-radius: 0; font-family: var(--zp-font-sans); font-size: var(--zp-fs-sm); }
.zp-account__content input:focus, .zp-account__content select:focus, .zp-account__content textarea:focus { outline: none; border-color: var(--zp-brand-500); }
.zp-account__content fieldset { border: 1px solid var(--zp-stroke-primary); padding: 20px; margin: 24px 0 0; }
.zp-account__content fieldset legend { padding: 0 8px; font-weight: var(--zp-fw-semibold); }
.zp-account__content .woocommerce-form-row--first { margin-right: 0; }

/* Bảng đơn hàng + chi tiết đơn */
.zp-account__content .shop_table,
.zp-account__content .woocommerce-orders-table,
.zp-account__content .woocommerce-table--order-details { width: 100%; border-collapse: collapse; margin: 0 0 24px; }
.zp-account__content .shop_table th,
.zp-account__content .woocommerce-orders-table th,
.zp-account__content .woocommerce-table--order-details th { text-align: left; padding: 12px; font-size: var(--zp-fs-caption); font-weight: var(--zp-fw-semibold); text-transform: uppercase; letter-spacing: .4px; color: var(--zp-text-secondary); border-bottom: 1px solid var(--zp-stroke-secondary); }
.zp-account__content .shop_table td,
.zp-account__content .woocommerce-orders-table td,
.zp-account__content .woocommerce-table--order-details td { padding: 16px 12px; font-size: var(--zp-fs-sm); color: var(--zp-text-primary); border-bottom: 1px solid var(--zp-stroke-primary); }
.zp-account__content .shop_table tfoot th, .zp-account__content .woocommerce-table--order-details tfoot th { text-transform: none; }
.zp-account__content .woocommerce-orders-table__cell-order-actions { text-align: right; }
.zp-account__content .woocommerce-orders-table__cell-order-actions .button { height: 36px; padding: 0 16px; font-size: var(--zp-fs-sm); }
.zp-account__content .woocommerce-orders-table__cell-order-status { color: var(--zp-brand-600); font-weight: var(--zp-fw-medium); }

/* Địa chỉ */
.zp-account__content .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.zp-account__content .woocommerce-Address { border: 1px solid var(--zp-stroke-primary); padding: 24px; }
.zp-account__content .woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.zp-account__content .woocommerce-Address-title h3 { margin: 0; font-size: var(--zp-fs-lg); font-weight: var(--zp-fw-semibold); }
.zp-account__content .woocommerce-Address-title .edit { font-size: var(--zp-fs-sm); text-decoration: underline; }
.zp-account__content address { font-style: normal; color: var(--zp-text-secondary); line-height: 1.7; }

/* Chi tiết đơn — địa chỉ khách */
.zp-account__content .woocommerce-column__title,
.zp-account__content .woocommerce-columns--addresses h2 { font-size: var(--zp-fs-lg); font-weight: var(--zp-fw-semibold); margin: 24px 0 12px; }
.zp-account__content .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Notice WooCommerce (dùng chung account/cart/checkout) */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews {
	list-style: none; margin: 0 0 20px; padding: 14px 18px; border-left: 3px solid; font-size: var(--zp-fs-sm); line-height: 1.5;
}
.woocommerce-message { background: var(--zp-brand-50); border-color: var(--zp-brand-500); color: var(--zp-brand-800); }
.woocommerce-info { background: #eef4f8; border-color: #378add; color: #0c447c; }
.woocommerce-error { background: #fceaea; border-color: #e24b4a; color: #a32d2d; }
.woocommerce-message .button, .woocommerce-info .button { margin-left: 12px; height: 34px; padding: 0 14px; }

/* ===== Trang Thanh toán (checkout) ===== */
.zp-checkout { padding-bottom: var(--zp-space-15); }

/* Ô mã giảm giá — trong cột đơn hàng, ngay trước Hình thức thanh toán */
.zp-checkout-coupon { margin: 4px 0 16px; padding-top: 16px; border-top: 1px solid var(--zp-stroke-primary); }
.zp-checkout-coupon > label { display: block; margin-bottom: 8px; font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-checkout-coupon__row { display: flex; gap: 8px; }
.zp-checkout-coupon__input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--zp-stroke-secondary); border-radius: 0; font-family: var(--zp-font-sans); font-size: var(--zp-fs-sm); }
.zp-checkout-coupon__input:focus { outline: none; border-color: var(--zp-brand-500); }
.zp-checkout-coupon__apply { flex-shrink: 0; height: 44px; padding: 0 20px; background: var(--zp-brand-500); color: #fff; border: 0; font-family: var(--zp-font-sans); font-weight: var(--zp-fw-medium); cursor: pointer; transition: background .15s; }
.zp-checkout-coupon__apply:hover { background: var(--zp-brand-600); }
.zp-checkout-coupon__msg { display: block; margin-top: 8px; }

/* Danh sách ưu đãi tại checkout (kiểu Shopee) */
.zp-coupon-list { margin-top: var(--zp-space-4); display: flex; flex-direction: column; gap: var(--zp-space-2); }
.zp-coupon-list__head { margin: 0 0 2px; font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-coupon-item {
	display: flex; align-items: center; gap: var(--zp-space-3); width: 100%; text-align: left;
	padding: 10px 12px; border: 1px solid var(--zp-stroke-secondary); background: var(--zp-bg-white);
	font-family: var(--zp-font-sans); cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.zp-coupon-item:hover { border-color: var(--zp-brand-500); }
.zp-coupon-item__tag {
	flex-shrink: 0; padding: 4px 10px; border: 1px dashed var(--zp-brand-500);
	color: var(--zp-brand-600); font-size: var(--zp-fs-caption); font-weight: var(--zp-fw-semibold);
	background: var(--zp-brand-50);
}
.zp-coupon-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.zp-coupon-item__desc { font-size: var(--zp-fs-sm); color: var(--zp-text-primary); }
.zp-coupon-item__why { font-size: var(--zp-fs-caption); color: #a35c22; }
.zp-coupon-item__state { flex-shrink: 0; font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-brand-600); }

/* Không đủ điều kiện: mờ, không bấm được */
.zp-coupon-item.is-disabled { opacity: .5; cursor: not-allowed; }
.zp-coupon-item.is-disabled:hover { border-color: var(--zp-stroke-secondary); }
.zp-coupon-item.is-disabled .zp-coupon-item__tag { border-color: var(--zp-stroke-secondary); color: var(--zp-text-secondary); background: transparent; }

/* Đang áp dụng: viền brand + nền nhạt */
.zp-coupon-item.is-applied { border-color: var(--zp-brand-600); background: var(--zp-brand-50); }
.zp-coupon-item.is-applied .zp-coupon-item__state { color: var(--zp-text-secondary); }
.zp-checkout-coupon__msg .woocommerce-error, .zp-checkout-coupon__msg .woocommerce-message { margin: 0; padding: 8px 12px; font-size: var(--zp-fs-caption); list-style: none; }

/* Grid 2 cột */
.zp-checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; max-width: var(--zp-content); margin: 0 auto; align-items: start; }
.zp-checkout__review-title { margin: 0 0 16px; font-size: var(--zp-fs-xl); font-weight: var(--zp-fw-semibold); color: var(--zp-grey-4); }
.zp-checkout h3 { font-size: var(--zp-fs-lg); font-weight: var(--zp-fw-semibold); margin: 0 0 16px; color: var(--zp-text-primary); }

/* Form fields */
.zp-checkout .form-row { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.zp-checkout label { font-size: var(--zp-fs-sm); font-weight: var(--zp-fw-medium); color: var(--zp-text-primary); }
.zp-checkout .input-text,
.zp-checkout input[type="text"], .zp-checkout input[type="email"], .zp-checkout input[type="tel"],
.zp-checkout textarea, .zp-checkout select { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--zp-stroke-secondary); border-radius: 0; background: transparent; font-family: var(--zp-font-sans); font-size: var(--zp-fs-sm); color: var(--zp-text-primary); }
.zp-checkout textarea { height: auto; min-height: 90px; padding: 12px 14px; }
.zp-checkout input:focus, .zp-checkout select:focus, .zp-checkout textarea:focus { outline: none; border-color: var(--zp-brand-500); }

/* Order review (cột phải, sticky) */
.zp-checkout__right { position: sticky; top: 90px; border: 1px solid var(--zp-stroke-secondary); padding: 24px; }
.zp-checkout .woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: var(--zp-fs-sm); }
.zp-checkout .woocommerce-checkout-review-order-table th,
.zp-checkout .woocommerce-checkout-review-order-table td { padding: 10px 0; border-bottom: 1px solid var(--zp-stroke-primary); text-align: left; color: var(--zp-text-primary); }
.zp-checkout .woocommerce-checkout-review-order-table td { text-align: right; }
.zp-checkout .cart-discount td { color: var(--zp-accent-sale); }
.zp-checkout .order-total th, .zp-checkout .order-total td { font-size: var(--zp-fs-base); font-weight: var(--zp-fw-semibold); border-bottom: 0; }
.zp-checkout .order-total .woocommerce-Price-amount { color: var(--zp-brand-600); }

/* Payment + Đặt hàng */
.zp-checkout #payment { background: transparent; }
.zp-checkout .wc_payment_methods { list-style: none; margin: 0 0 16px; padding: 0; }
.zp-checkout .wc_payment_methods li { padding: 12px 0; border-bottom: 1px solid var(--zp-stroke-primary); font-size: var(--zp-fs-sm); }
.zp-checkout .payment_box { background: var(--zp-bg-mustard); padding: 12px 14px; font-size: var(--zp-fs-sm); color: var(--zp-text-secondary); margin-top: 8px; }
.zp-checkout #place_order { width: 100%; height: 48px; margin-top: 16px; background: var(--zp-brand-500); color: #fff; border: 0; font-family: var(--zp-font-sans); font-size: var(--zp-fs-base); font-weight: var(--zp-fw-medium); cursor: pointer; transition: background .15s; }
.zp-checkout #place_order:hover { background: var(--zp-brand-600); }

/* --- Responsive --- */
@media (max-width: 1024px) {
	.woocommerce ul.products, ul.products, .zp-collections__grid { grid-template-columns: repeat(3, 1fr); }
	.zp-promo__track { justify-content: flex-start; }
	.zp-header__top { padding-inline: var(--zp-space-6); }
	.zp-breadcrumb { padding-inline: var(--zp-space-6); }
	.zp-account__grid { padding-inline: var(--zp-space-8); }
	.zp-hero__content { left: var(--zp-space-8); top: 50%; transform: translateY(-50%); }
}
@media (max-width: 768px) {
	.woocommerce ul.products, ul.products, .zp-collections__grid { grid-template-columns: repeat(2, 1fr); }
	.zp-news__grid { grid-template-columns: 1fr; }
	.zp-header__nav, .zp-search { display: none; }
	.zp-hero { height: 380px; }
	.zp-hero__content { left: var(--zp-space-6); right: var(--zp-space-6); width: auto; }
	.zp-hero__title { letter-spacing: 12px; text-indent: 12px; line-height: 1.3; white-space: normal; }
	.zp-news__track { padding-left: var(--zp-space-6); }
	.zp-news__nav { top: 60px; right: var(--zp-space-6); }
	.zp-footer__inner { padding: 40px var(--zp-space-6); }
	.zp-footer__cta-row { flex-direction: column; align-items: flex-start; gap: var(--zp-space-6); }
	.zp-footer__cols { flex-wrap: wrap; gap: var(--zp-space-8); }
	.zp-cart__grid { grid-template-columns: 1fr; }
	.zp-checkout__grid { grid-template-columns: 1fr; gap: var(--zp-space-8); }
	.zp-checkout__right { position: static; }
	.zp-pdp__grid { grid-template-columns: 1fr; max-width: 500px; }
	.zp-auth__grid { grid-template-columns: 1fr; gap: var(--zp-space-8); }
	.zp-auth__col--register { border-left: 0; padding-left: 0; }
	.zp-account__grid { grid-template-columns: 1fr; gap: var(--zp-space-6); padding-inline: var(--zp-space-4); }
	.zp-account__content { border-left: 0; padding-left: 0; }
	.zp-account-form__row2 { grid-template-columns: 1fr; gap: 0; }
	.zp-account-submit { width: 100%; }
	.zp-account__content .woocommerce-Addresses,
	.zp-account__content .col2-set { grid-template-columns: 1fr; }
	.zp-account__content .shop_table { font-size: var(--zp-fs-caption); }
	.zp-orders__row { grid-template-columns: repeat(4, 1fr) 52px; }
	.zp-orders__row > span { padding: 12px 4px; font-size: var(--zp-fs-caption); }
}
@media (max-width: 640px) {
	.zp-drawer__panel { width: 100%; padding: 24px 16px; }
}
