/* ==========================================================================
   ARA – bố cục tối giản kiểu trang danh mục thời trang
   ========================================================================== */

:root {
	--ara-bg: #ffffff;
	--ara-fg: #000000;
	--ara-muted: #707070;
	--ara-line: #d9d9d9;
	--ara-card-bg: #f4f4f4;
	--ara-sale: #c0392b;
	--ara-font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--ara-serif: "Bodoni Moda", "Didot", "Times New Roman", serif;
	--ara-fs-xs: 10.5px;
	--ara-fs-s: 11.5px;
	--ara-fs-m: 13px;
	--ara-track: 0.04em;
	--ara-gutter-l: clamp(176px, 14vw, 220px); /* ≥ bề rộng cột tab trái (130px) + lề 26px + khoảng cách; điện thoại ghi đè 16px */
	--ara-gutter-r: clamp(16px, 11vw, 180px);
	/* Chiều cao header: logo lớn ở đầu trang, thu gọn thành thanh trắng khi cuộn.
	   Nội dung, cột tab trái và các khối "dính" đều tính theo các biến này để không bị header đè. */
	--ara-logo-size: clamp(44px, 5vw, 92px);
	--ara-head-full: calc(56px + var(--ara-logo-size) * 1.2);
	--ara-head-compact: 60px;
	--ara-adminbar: 0px;
}
/* Tính ở body (nơi có class .admin-bar) để cộng đúng chiều cao thanh quản trị */
body { --ara-sticky-top: calc(var(--ara-adminbar) + var(--ara-head-compact) + 20px); }
.admin-bar { --ara-adminbar: 32px; }
@media (max-width: 782px) {
	.admin-bar { --ara-adminbar: 46px; }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--ara-bg);
	color: var(--ara-fg);
	font-family: var(--ara-font);
	font-size: var(--ara-fs-s);
	font-weight: 400;
	letter-spacing: var(--ara-track);
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}

body.ara-locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 400; margin: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	z-index: 1000; top: 8px; left: 8px;
	background: #fff; color: #000; padding: 8px 12px;
}

:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

/* --------------------------------------------------------------------------
   Header: chữ trắng + mix-blend-mode → tự đảo màu trên nền ảnh hoặc nền trắng
   -------------------------------------------------------------------------- */
.ara-header {
	position: fixed;
	top: var(--ara-adminbar); /* chừa chỗ cho thanh công cụ WordPress khi đăng nhập */
	left: 0;
	right: 0;
	z-index: 50;
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: start;
	gap: 32px;
	padding: 18px 26px 0;
	color: #fff;
	mix-blend-mode: difference;
	pointer-events: none;
	transition: padding 0.2s ease, background-color 0.2s ease;
}
.ara-header > * { pointer-events: auto; }
.ara-drawer { top: var(--ara-adminbar); }

.ara-header__left { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

/* Khi cuộn: thanh trắng gọn, logo nhỏ – nội dung chạy bên dưới không bị chữ header đè lên */
.ara-scrolled .ara-header {
	height: var(--ara-head-compact);
	padding: 0 26px;
	align-items: center;
	background: #fff;
	color: #000;
	mix-blend-mode: normal;
	box-shadow: 0 1px 0 var(--ara-line);
}
.ara-scrolled .ara-header__left { flex-direction: row; align-items: center; gap: 24px; }
.ara-scrolled .ara-logo { font-size: 30px; line-height: 1; }
.ara-scrolled .custom-logo { max-height: 36px; filter: none; }

.ara-burger {
	/* Nằm trên logo: phần chữ của logo (Bodoni, line-height < 1) tràn lên trên và che mất nút */
	position: relative;
	z-index: 2;
	box-sizing: content-box;
	width: 36px; height: 20px;
	padding: 10px 8px;
	margin: -10px -8px;
	display: flex; flex-direction: column; justify-content: center; gap: 7px;
}
.ara-burger span { display: block; height: 1px; background: currentColor; }

.ara-logo {
	font-family: var(--ara-serif);
	font-size: var(--ara-logo-size);
	line-height: 0.82;
	letter-spacing: -0.04em;
	font-weight: 400;
	transition: font-size 0.2s ease;
}
.ara-logo:hover { text-decoration: none; }
.custom-logo { max-height: 110px; width: auto; filter: invert(1); }

.ara-search input {
	width: clamp(140px, 20vw, 300px);
	background: transparent;
	border: 0;
	border-bottom: 1px solid currentColor;
	color: inherit;
	font: inherit;
	letter-spacing: var(--ara-track);
	padding: 4px 0 6px;
	text-align: right;
	border-radius: 0;
}
.ara-search input::placeholder { color: inherit; opacity: 1; }
.ara-search input:focus { outline: none; text-align: left; }

/* GIỎ · TÀI KHOẢN · TRỢ GIÚP: một hàng ngang cạnh ô tìm kiếm (trước đây xếp dọc, đè lên khối mua hàng) */
.ara-header__right {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	padding-top: 6px;
	font-size: var(--ara-fs-xs);
	white-space: nowrap;
}
.ara-scrolled .ara-header__right { padding-top: 0; }
/* Giỏ hàng: chữ + icon túi (đủ 4 cạnh, có quai), số lượng nằm giữa thân túi */
.ara-cart-link { display: inline-flex; align-items: center; gap: 7px; }
.ara-cart-link:hover { text-decoration: none; }
.ara-cart-link:hover .ara-cart-label { text-decoration: underline; text-underline-offset: 2px; }
.ara-cart-icon { position: relative; display: inline-block; width: 22px; height: 24px; margin-top: -6px; flex: none; }
.ara-cart-icon svg { display: block; width: 100%; height: 100%; }
.ara-cart-count {
	position: absolute;
	left: 0;
	right: 0;
	top: 8px;
	bottom: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Cột tab đánh số bên trái
   -------------------------------------------------------------------------- */
.ara-sidenav {
	position: fixed;
	top: calc(var(--ara-adminbar) + var(--ara-head-full) + 12px);
	transition: top 0.2s ease;
	left: 26px;
	bottom: 26px;
	z-index: 40;
	width: calc(var(--ara-gutter-l) - 40px);
	min-width: 130px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	color: #fff;
	mix-blend-mode: difference;
	font-size: var(--ara-fs-xs);
}
@media (min-width: 768px) {
	.ara-scrolled .ara-sidenav { top: calc(var(--ara-adminbar) + var(--ara-head-compact) + 28px); }
}
.ara-sidenav__tabs { display: flex; flex-direction: column; gap: 4px; }
.ara-sidenav__tabs a { display: grid; grid-template-columns: 30px 1fr; gap: 2px; opacity: 0.75; }
.ara-sidenav__tabs a:hover { opacity: 1; text-decoration: none; }
.ara-sidenav__tabs .is-active a { opacity: 1; font-weight: 500; }
.ara-num { font-variant-numeric: tabular-nums; }

.ara-filters-toggle { align-self: flex-start; font-size: var(--ara-fs-xs); }
.ara-filters-toggle[aria-expanded="true"] { text-decoration: underline; text-underline-offset: 2px; }

.ara-density { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.ara-density div { display: flex; gap: 14px; }
.ara-density button { opacity: 0.55; }
.ara-density button.is-active { opacity: 1; font-weight: 500; }

/* --------------------------------------------------------------------------
   Menu trượt
   -------------------------------------------------------------------------- */
.ara-drawer { position: fixed; inset: 0; z-index: 100; }
.ara-drawer[hidden] { display: none; }
.ara-drawer__backdrop { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.4); }
.ara-drawer__panel {
	position: relative;
	z-index: 1;
	width: min(420px, 100%);
	height: 100%;
	overflow-y: auto;
	background: #fff;
	color: #000;
	padding: 26px 36px 40px;
	border-right: 1px solid var(--ara-line);
	animation: ara-slide-in 0.25s ease-out;
}
@keyframes ara-slide-in { from { transform: translateX(-100%); } to { transform: none; } }
.ara-drawer__close { font-size: 28px; line-height: 1; font-weight: 300; }
.ara-drawer__tabs { display: flex; gap: 24px; margin: 40px 0 34px; font-size: var(--ara-fs-m); }
.ara-drawer__tabs .is-active { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.ara-drawer__list { display: flex; flex-direction: column; gap: 10px; font-size: var(--ara-fs-s); }
.ara-drawer__list .sub-menu { padding: 8px 0 0 16px; display: flex; flex-direction: column; gap: 8px; }
.ara-drawer__sep { height: 14px; }
.ara-sale-link,
.ara-sale-link > a { color: var(--ara-sale); }
.ara-drawer__list .ara-sep-before { margin-top: 14px; }

/* --------------------------------------------------------------------------
   Khung nội dung chung
   -------------------------------------------------------------------------- */
.ara-main { min-height: 70vh; }

.ara-archive,
.ara-home-collection,
.ara-related {
	padding: calc(var(--ara-head-full) + 16px) var(--ara-gutter-r) 80px var(--ara-gutter-l);
}
.ara-home-collection,
.ara-related { padding-top: 90px; }

.ara-archive__title {
	font-size: var(--ara-fs-m);
	margin: 0 0 36px;
	text-transform: uppercase;
}

.ara-section-title {
	font-size: var(--ara-fs-m);
	margin-bottom: 36px;
}

.ara-empty { padding: 200px var(--ara-gutter-r) 120px var(--ara-gutter-l); color: var(--ara-muted); }
.ara-center { text-align: center; margin-top: 56px; }

/* Bảng lọc */
.ara-filters {
	display: flex;
	gap: 80px;
	padding: 0 0 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--ara-line);
}
.ara-filters[hidden] { display: none; }
.ara-filters h2 { font-size: var(--ara-fs-xs); color: var(--ara-muted); margin-bottom: 12px; }
.ara-filters ul { display: flex; flex-direction: column; gap: 6px; }
.ara-filters .is-active { text-decoration: underline; text-underline-offset: 2px; }
.ara-filters small { color: var(--ara-muted); }

/* --------------------------------------------------------------------------
   Lưới sản phẩm
   -------------------------------------------------------------------------- */
.ara-grid {
	--cols: 4;
	display: grid;
	grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 72px;
}
.ara-grid[data-density="1"] { --cols: 2; column-gap: 24px; row-gap: 96px; }
.ara-grid[data-density="3"] { --cols: 6; column-gap: 8px; row-gap: 40px; }

.ara-card { min-width: 0; }
.ara-card__frame { position: relative; }

.ara-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	background: var(--ara-card-bg);
	overflow: hidden;
}
.ara-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	mix-blend-mode: multiply; /* nền trắng của ảnh Shopee hoà vào nền xám */
	transition: opacity 0.35s ease;
}
.ara-card__img--alt { opacity: 0; }
.ara-card__media:hover .ara-card__img--alt { opacity: 1; }
.ara-card__badge {
	position: absolute;
	left: 8px; bottom: 8px;
	font-size: var(--ara-fs-xs);
	background: #fff;
	padding: 2px 6px;
}

.ara-card__info { padding-top: 8px; font-size: var(--ara-fs-xs); }
.ara-card__row { display: flex; align-items: flex-start; gap: 8px; }
.ara-card__name {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ara-card__add { font-size: 16px; line-height: 0.9; font-weight: 300; padding: 0 2px; }
.ara-card__price { margin-top: 2px; }
.ara-grid[data-density="3"] .ara-card__info { display: none; }

del { color: var(--ara-muted); }
.ara-price.is-sale .ara-price-now { color: var(--ara-sale); }
.ara-price-old { margin-left: 2px; }
.ara-discount { color: var(--ara-sale); }
.ara-card__badge--sale { left: 0; top: 0; bottom: auto; background: var(--ara-sale); color: #fff; padding: 3px 7px; letter-spacing: 0.02em; }
.ara-card__price { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ara-pdp__price .ara-price-now { font-size: 15px; font-weight: 500; }
.ara-pdp__price .ara-discount { display: inline-block; background: var(--ara-sale); color: #fff; padding: 1px 6px; margin-left: 4px; font-size: var(--ara-fs-xs); }
.ara-pdp__save { display: block; margin-top: 4px; color: var(--ara-sale); font-size: var(--ara-fs-xs); }

/* Popup chọn size khi bấm "+" */
.ara-quick {
	position: absolute;
	z-index: 5;
	inset: auto 0 0 0;
	background: #fff;
	border-top: 1px solid var(--ara-line);
	padding: 12px;
	font-size: var(--ara-fs-xs);
}
.ara-quick__title { color: var(--ara-muted); margin-bottom: 8px; display: flex; justify-content: space-between; }
.ara-quick__list { display: flex; flex-wrap: wrap; gap: 6px; }
.ara-quick__list button { border: 1px solid var(--ara-line); padding: 5px 8px; }
.ara-quick__list button:hover { border-color: #000; }
.ara-quick__list button:disabled { color: var(--ara-line); text-decoration: line-through; cursor: not-allowed; }

/* Phân trang */
.woocommerce-pagination { margin-top: 80px; text-align: center; }
.woocommerce-pagination ul.page-numbers { display: inline-flex; gap: 14px; border: 0; }
.woocommerce-pagination .page-numbers li { border: 0; }
.woocommerce-pagination .current { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Trang chủ editorial
   -------------------------------------------------------------------------- */
.ara-hero {
	position: relative;
	height: 100vh;
	min-height: 520px;
	background: #b0582a;
	overflow: hidden;
}
.ara-hero__media { width: 100%; height: 100%; object-fit: cover; }
.ara-hero__title {
	position: absolute;
	left: 50%;
	bottom: 48px;
	transform: translateX(-50%);
	color: #fff;
	font-size: var(--ara-fs-m);
	letter-spacing: 0.12em;
	text-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
	white-space: nowrap;
}

.ara-statement {
	padding: 140px var(--ara-gutter-r) 140px var(--ara-gutter-l);
	text-align: center;
}
.ara-statement p {
	max-width: 1100px;
	margin: 0 auto;
	font-family: var(--ara-serif);
	font-size: clamp(20px, 2.1vw, 30px);
	line-height: 1.35;
	letter-spacing: 0;
	color: var(--ara-statement-color, var(--ara-sale));
}

.ara-mosaic { display: grid; grid-template-columns: repeat(3, 1fr); }
.ara-mosaic__tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--tone);
}
.ara-mosaic__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ara-mosaic__tile:hover img { transform: scale(1.03); }
.ara-mosaic__tile.is-framed { display: grid; place-items: center; }
.ara-mosaic__tile.is-framed img {
	width: 74%;
	height: 72%;
	border: 6px solid #fff;
	background: #fff;
}
.ara-mosaic__caption {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	color: #fff;
	font-size: var(--ara-fs-xs);
	white-space: nowrap;
	max-width: 90%;
	overflow: hidden;
	text-overflow: ellipsis;
	opacity: 0;
	transition: opacity 0.3s;
}
.ara-mosaic__tile:hover { text-decoration: none; }
.ara-mosaic__tile:hover .ara-mosaic__caption { opacity: 1; }

/* --------------------------------------------------------------------------
   Trang chi tiết sản phẩm
   -------------------------------------------------------------------------- */
.ara-pdp { padding: calc(var(--ara-head-full) + 16px) 26px 40px; }
.ara-pdp__grid {
	display: grid;
	grid-template-columns: minmax(180px, 0.75fr) minmax(0, 2.1fr) minmax(280px, 0.9fr);
	gap: 40px;
	align-items: stretch; /* cột cao bằng cột ảnh để khối mô tả / mua hàng dính theo khi cuộn */
	padding-left: calc(var(--ara-gutter-l) - 26px);
}
.ara-sticky { position: sticky; top: var(--ara-sticky-top); }

.ara-pdp__desc summary { cursor: pointer; list-style: none; margin-bottom: 12px; font-size: var(--ara-fs-xs); }
.ara-pdp__desc summary::-webkit-details-marker { display: none; }
.ara-pdp__desc-body { font-size: var(--ara-fs-xs); line-height: 1.7; max-height: 50vh; overflow: auto; }
.ara-pdp__desc-body p { margin: 0 0 10px; }
.ara-pdp__meta { color: var(--ara-muted); font-size: var(--ara-fs-xs); margin: 16px 0 0; }

/* Ảnh sản phẩm: cột ảnh thu nhỏ dính + ảnh lớn xếp dọc (desktop), slider vuốt (mobile) */
.ara-pdp__media { position: relative; min-width: 0; }
.ara-pdp__media.has-thumbs { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; }

.ara-pdp__thumbs { position: sticky; top: var(--ara-sticky-top); display: flex; flex-direction: column; gap: 8px; max-height: calc(100vh - var(--ara-sticky-top) - 30px); overflow-y: auto; scrollbar-width: none; }
.ara-pdp__thumbs::-webkit-scrollbar { display: none; }
.ara-pdp__thumbs button { display: block; width: 100%; aspect-ratio: 1; background: #fff; border: 1px solid transparent; opacity: 0.55; transition: opacity 0.2s, border-color 0.2s; }
.ara-pdp__thumbs button:hover { opacity: 0.9; }
.ara-pdp__thumbs button.is-active { opacity: 1; border-color: #000; }
.ara-pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.ara-pdp__slides { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ara-pdp__img { margin: 0; background: #fff; scroll-margin-top: var(--ara-sticky-top); }
.ara-pdp__img a { display: block; cursor: zoom-in; }
.ara-pdp__img img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100vh - 150px); margin: 0 auto; }
.ara-pdp__counter { display: none; }

/* Xem ảnh lớn */
.ara-lightbox { position: fixed; inset: 0; z-index: 200; background: #fff; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.ara-lightbox[hidden] { display: none; }
.ara-lightbox__img { max-width: calc(100vw - 160px); max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; user-select: none; }
.ara-lightbox__close { position: absolute; top: 14px; right: 22px; font-size: 34px; line-height: 1; font-weight: 300; z-index: 1; }
.ara-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 46px; font-weight: 200; line-height: 1; padding: 20px; }
.ara-lightbox__prev { left: 10px; }
.ara-lightbox__next { right: 10px; }
.ara-lightbox__counter { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: var(--ara-fs-xs); }

.ara-pdp__buy .ara-sticky { padding: 22px; border: 1px solid var(--ara-line); }
.ara-pdp__title { font-size: var(--ara-fs-m); font-weight: 500; line-height: 1.35; }
.ara-pdp__price { margin-top: 10px; font-size: var(--ara-fs-s); }
.ara-pdp__tax { color: var(--ara-muted); font-size: var(--ara-fs-xs); margin: 4px 0 20px; }
.ara-pdp__short { font-size: var(--ara-fs-xs); line-height: 1.6; margin: -8px 0 18px; }
.ara-pdp__short p { margin: 0 0 6px; }
.ara-term-desc { max-width: 720px; margin: -20px 0 36px; font-size: var(--ara-fs-s); line-height: 1.7; color: var(--ara-muted); }
.ara-home-content { padding: 40px var(--ara-gutter-r) 100px var(--ara-gutter-l); }
.ara-home-content > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.ara-page__thumb { margin: 0 0 32px; }
.ara-page__thumb img { width: 100%; }
.ara-page__meta { color: var(--ara-muted); font-size: var(--ara-fs-xs); margin: -20px 0 28px; }

.ara-pdp__form form.cart { margin: 0; }
.ara-pdp__form table.variations { width: 100%; border: 0; margin: 0 0 12px; border-collapse: collapse; }
.ara-pdp__form table.variations th,
.ara-pdp__form table.variations td { display: block; padding: 0; border: 0; text-align: left; }
.ara-pdp__form table.variations th label { font-weight: 400; font-size: var(--ara-fs-xs); color: var(--ara-muted); }
.ara-pdp__form table.variations td { margin: 6px 0 16px; }
.ara-pdp__form .reset_variations { font-size: var(--ara-fs-xs); color: var(--ara-muted); }
.ara-pdp__form .woocommerce-variation-price { display: none; }
.ara-pdp__form .stock { font-size: var(--ara-fs-xs); color: var(--ara-muted); }
.ara-pdp__form .quantity { display: none; }

.ara-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 0; border-top: 1px solid var(--ara-line); border-left: 1px solid var(--ara-line); }
.ara-swatches button {
	border-right: 1px solid var(--ara-line);
	border-bottom: 1px solid var(--ara-line);
	padding: 10px 4px;
	font-size: var(--ara-fs-xs);
	text-align: center;
}
.ara-swatches button:hover { background: var(--ara-card-bg); }
.ara-swatches button.is-active { background: #000; color: #fff; }
.ara-swatches button.is-disabled { color: #bbb; text-decoration: line-through; }
.ara-swatches + select { display: none !important; }

/* --------------------------------------------------------------------------
   Nút
   -------------------------------------------------------------------------- */
.ara-btn,
.ara-pdp__form .single_add_to_cart_button,
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.wc-block-components-button:not(.is-link),
.wp-element-button {
	display: block;
	width: 100%;
	padding: 13px 16px !important;
	border: 1px solid #000 !important;
	border-radius: 0 !important;
	background: #000 !important;
	color: #fff !important;
	font-family: var(--ara-font) !important;
	font-size: var(--ara-fs-xs) !important;
	font-weight: 400 !important;
	letter-spacing: var(--ara-track) !important;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
}
.ara-btn--outline { background: #fff !important; color: #000 !important; margin-top: 8px; }
.ara-btn--outline:hover { background: #000 !important; color: #fff !important; }
.ara-center .ara-btn { display: inline-block; width: auto; min-width: 220px; }
.ara-pdp__form .single_add_to_cart_button.disabled { opacity: 0.35; }

/* Hoàn thiện phong cách của bạn */
.ara-look { margin-top: 28px; }
.ara-look__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ara-look__title { font-size: var(--ara-fs-xs); font-weight: 400; letter-spacing: var(--ara-track); text-transform: uppercase; }
.ara-look__nav { display: flex; gap: 10px; }
.ara-look__nav button { display: grid; place-items: center; width: 24px; height: 20px; }
.ara-look__nav button:disabled { opacity: 0.25; cursor: default; }
.ara-look__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 4 * 8px) / 4.4); /* ~4 món + hé món tiếp theo, như Zara */
	gap: 8px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.ara-look__track::-webkit-scrollbar { display: none; }
.ara-look__item { scroll-snap-align: start; }
.ara-look__item a { display: block; aspect-ratio: 3 / 4; background: var(--ara-card-bg); overflow: hidden; }
.ara-look__item img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 0.3s ease; }
.ara-look__item a:hover img, .ara-look__item a:focus-visible img { transform: scale(1.04); }
.ara-look__caption { min-height: 1.5em; margin: 8px 0 0; font-size: var(--ara-fs-xs); color: var(--ara-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ara-pdp__notes { margin-top: 22px; color: var(--ara-muted); font-size: var(--ara-fs-xs); display: flex; flex-direction: column; gap: 4px; }
.ara-pdp__notes li::before { content: "— "; }

/* --------------------------------------------------------------------------
   Trang thường / giỏ hàng / thanh toán / tài khoản
   -------------------------------------------------------------------------- */
.ara-page { padding: calc(var(--ara-head-full) + 24px) var(--ara-gutter-r) 100px var(--ara-gutter-l); }
.ara-page__article { max-width: 1040px; }
.ara-page__title { font-size: var(--ara-fs-m); text-transform: uppercase; margin-bottom: 32px; }
.ara-page__content { font-size: var(--ara-fs-s); line-height: 1.7; }
.ara-page__content h2 { font-size: var(--ara-fs-s); font-weight: 500; text-transform: uppercase; margin: 28px 0 8px; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border: 1px solid var(--ara-line) !important;
	background: #fff !important;
	color: #000 !important;
	font-size: var(--ara-fs-xs);
	padding: 14px 18px !important;
	margin: 0 0 24px !important;
	list-style: none;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; }
.woocommerce-message .button { display: inline-block; width: auto; float: right; padding: 4px 10px !important; }

.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce textarea,
.woocommerce select,
.wc-block-components-text-input input {
	border: 0 !important;
	border-bottom: 1px solid #000 !important;
	border-radius: 0 !important;
	padding: 8px 0 !important;
	background: transparent !important;
	font-family: var(--ara-font);
}

/* --------------------------------------------------------------------------
   Footer & toast
   -------------------------------------------------------------------------- */
.ara-footer { padding: 100px var(--ara-gutter-r) 40px var(--ara-gutter-l); font-size: var(--ara-fs-xs); }
.ara-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 190px));
	gap: 32px 40px;
	margin-bottom: 80px;
}
.ara-footer__title { font-size: var(--ara-fs-s); font-weight: 600; letter-spacing: 0.06em; margin: 0 0 22px; text-transform: uppercase; }
.ara-footer__list { display: flex; flex-direction: column; gap: 12px; }
.ara-footer__list a { text-transform: uppercase; line-height: 1.6; }
.ara-footer__list .current-menu-item > a { text-decoration: underline; text-underline-offset: 2px; }
.ara-info-missing { color: var(--ara-muted); }
.ara-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; border-top: 1px solid var(--ara-line); padding-top: 24px; }
.ara-footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.ara-footer__copy { margin: 0; color: var(--ara-muted); }

.ara-toast {
	position: fixed;
	right: 26px;
	bottom: 26px;
	z-index: 120;
	background: #fff;
	border: 1px solid #000;
	padding: 14px 18px;
	font-size: var(--ara-fs-xs);
	display: flex;
	gap: 18px;
	align-items: center;
}
.ara-toast[hidden] { display: none; }
.ara-toast a { text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.ara-pdp__grid { grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); padding-left: 0; }
	.ara-pdp__details { grid-column: 1 / -1; order: 3; }
	.ara-pdp__details .ara-sticky { position: static; }
}

@media (max-width: 767px) {
	:root { --ara-gutter-l: 16px; --ara-gutter-r: 16px; }

	:root { --ara-head-full: 70px; --ara-head-compact: 56px; }
	.ara-header { grid-template-columns: auto 1fr auto; gap: 14px; padding: 14px 16px 0; align-items: center; }
	.ara-scrolled .ara-header { padding: 0 16px; }
	.ara-header__left { flex-direction: row; align-items: center; gap: 14px; }
	.ara-logo { font-size: 40px; }
	.ara-search { justify-self: end; }
	.ara-search input { width: 90px; }
	.ara-header__right { padding-top: 0; flex-direction: row; gap: 10px; }
	.ara-header__right a:not(.ara-cart-link) { display: none; }
	.ara-cart-label { display: none; } /* điện thoại: chỉ icon túi, tên đọc qua aria-label */

	.ara-sidenav {
		position: relative;
		inset: auto;
		width: auto;
		min-width: 0;
		padding: 84px 16px 0;
		gap: 12px;
		color: #000;
		mix-blend-mode: normal;
	}
	.home .ara-sidenav { position: absolute; top: 0; left: 0; right: 0; z-index: 40; color: #fff; }
	.ara-sidenav__tabs { flex-direction: row; overflow-x: auto; gap: 18px; scrollbar-width: none; }
	.ara-sidenav__tabs a { display: flex; white-space: nowrap; gap: 4px; }
	.ara-sidenav .ara-num { display: none; }
	.ara-density { margin-top: 0; flex-direction: row; align-items: center; gap: 14px; }
	.ara-filters-toggle { position: absolute; right: 16px; bottom: 0; }

	.ara-archive { padding-top: 24px; }
	.ara-grid { --cols: 2; column-gap: 4px; row-gap: 36px; }
	.ara-grid[data-density="1"] { --cols: 1; row-gap: 48px; }
	.ara-grid[data-density="3"] { --cols: 3; column-gap: 2px; row-gap: 20px; }
	.ara-card__info { padding: 8px 6px 0; }

	.ara-filters { flex-direction: column; gap: 24px; }

	.ara-statement { padding: 80px 16px; }
	.ara-mosaic { grid-template-columns: 1fr 1fr; }
	.ara-mosaic__tile:nth-child(3n + 2) { grid-column: 1 / -1; }

	.ara-pdp { padding: 70px 0 40px; }
	.ara-pdp__grid { grid-template-columns: 1fr; gap: 24px; }
	.ara-pdp__media.has-thumbs { display: block; }
	.ara-pdp__thumbs { display: none; }
	.ara-pdp__slides { flex-direction: row; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
	.ara-pdp__slides::-webkit-scrollbar { display: none; }
	.ara-pdp__img { flex: 0 0 100%; scroll-snap-align: start; }
	.ara-pdp__img img { width: 100%; max-height: none; aspect-ratio: 1; object-fit: contain; }
	.ara-pdp__counter { display: block; position: absolute; right: 12px; bottom: 12px; background: rgba(255, 255, 255, 0.85); padding: 3px 8px; font-size: var(--ara-fs-xs); }
	.ara-lightbox__img { max-width: 100vw; max-height: calc(100vh - 100px); }
	.ara-lightbox__nav { display: none; }
	.ara-pdp__buy { margin: 0 16px; }
	.ara-pdp__details { padding: 0 16px; }
	.ara-sticky { position: static; }

	.ara-page { padding-top: 100px; }
	.ara-footer { padding-top: 64px; }
	.ara-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; margin-bottom: 48px; }
	.ara-toast { left: 16px; right: 16px; bottom: 16px; justify-content: space-between; }
}
