/**
 * WooCommerce styles for thanhlxr-theme.
 *
 * Self-contained on purpose: the cart and checkout templates used to rely on
 * Bootstrap grid classes that the theme never loaded, so those pages rendered
 * with no layout at all. The `.thanhlxr-wc-layout` block below replaces that
 * dependency.
 *
 * Custom properties are declared here so a child theme can restyle without
 * rewriting selectors.
 */

:root {
	--thanhlxr-wc-gap: 2rem;
	--thanhlxr-wc-aside-width: 22rem;
	--thanhlxr-wc-border: #e2e2e2;
	--thanhlxr-wc-muted: #6b6b6b;
	--thanhlxr-wc-accent: #b4232a;
	--thanhlxr-wc-surface: #fafafa;
	--thanhlxr-wc-radius: 6px;
}

/* -------------------------------------------------------------------------
 * Shared wrappers
 * ---------------------------------------------------------------------- */

.woocommerce-main .container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 1rem;
}

/* -------------------------------------------------------------------------
 * Two-column layout (cart, checkout)
 * ---------------------------------------------------------------------- */

.thanhlxr-wc-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--thanhlxr-wc-gap);
	align-items: start;
}

@media (min-width: 62em) {
	.thanhlxr-wc-layout {
		grid-template-columns: minmax(0, 1fr) var(--thanhlxr-wc-aside-width);
	}
}

.thanhlxr-wc-layout__main {
	min-width: 0;
}

.thanhlxr-wc-layout__aside {
	min-width: 0;
	padding: 1.25rem;
	border: 1px solid var(--thanhlxr-wc-border);
	border-radius: var(--thanhlxr-wc-radius);
	background: var(--thanhlxr-wc-surface);
}

@media (min-width: 62em) {
	.thanhlxr-wc-layout__aside {
		position: sticky;
		top: 1.5rem;
	}
}

/* -------------------------------------------------------------------------
 * Tables (cart, order review, account orders)
 * ---------------------------------------------------------------------- */

.woocommerce-main table.shop_table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

.woocommerce-main table.shop_table th,
.woocommerce-main table.shop_table td {
	padding: 0.75rem 0.5rem;
	border-bottom: 1px solid var(--thanhlxr-wc-border);
	text-align: left;
	vertical-align: middle;
}

.woocommerce-main table.shop_table thead th {
	font-weight: 600;
}

.woocommerce-main td.product-thumbnail img {
	width: 64px;
	height: auto;
	display: block;
}

/* Order review keeps its <thead> in the markup for screen readers, but the
   design does not show it. */
.thanhlxr-review-order thead {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.thanhlxr-review-order .product-name .name {
	margin: 0;
	font-weight: 500;
}

.thanhlxr-review-order .product-total .price {
	margin: 0;
	white-space: nowrap;
}

.thanhlxr-review-order tfoot th {
	font-weight: 600;
}

.thanhlxr-review-order tfoot .order-total th,
.thanhlxr-review-order tfoot .order-total td {
	font-size: 1.05rem;
	color: var(--thanhlxr-wc-accent);
}

/* Responsive tables: stack rows and use the data-title attribute as the label. */
@media (max-width: 47.9375em) {
	.woocommerce-main table.shop_table_responsive thead {
		display: none;
	}

	.woocommerce-main table.shop_table_responsive tr {
		display: block;
		margin-bottom: 1rem;
		border: 1px solid var(--thanhlxr-wc-border);
		border-radius: var(--thanhlxr-wc-radius);
	}

	.woocommerce-main table.shop_table_responsive td {
		display: flex;
		justify-content: space-between;
		gap: 1rem;
		border-bottom: 1px solid var(--thanhlxr-wc-border);
	}

	.woocommerce-main table.shop_table_responsive td:last-child {
		border-bottom: 0;
	}

	.woocommerce-main table.shop_table_responsive td::before {
		content: attr(data-title) ":";
		font-weight: 600;
	}

	.woocommerce-main table.shop_table_responsive td:empty,
	.woocommerce-main table.shop_table_responsive td.woocommerce-orders-table__detail-cell::before {
		display: none;
	}
}

/* -------------------------------------------------------------------------
 * Header cart badge
 * ---------------------------------------------------------------------- */

.cart-item {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.cart-item .number-cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.5rem;
	height: 1.5rem;
	padding: 0 0.375rem;
	border-radius: 999px;
	background: var(--thanhlxr-wc-accent);
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1;
}

.cart-count {
	margin-bottom: 1rem;
	color: var(--thanhlxr-wc-muted);
}

/* -------------------------------------------------------------------------
 * Payment methods
 * ---------------------------------------------------------------------- */

.thanhlxr-payment-methods {
	margin: 1.5rem 0;
}

.thanhlxr-payment-methods .title {
	margin-bottom: 0.75rem;
}

.thanhlxr-payment-methods .list-payment {
	list-style: none;
	margin: 0;
	padding: 0;
}

.thanhlxr-payment-methods .wc_payment_method {
	padding: 0.75rem;
	border: 1px solid var(--thanhlxr-wc-border);
	border-radius: var(--thanhlxr-wc-radius);
	margin-bottom: 0.5rem;
}

.thanhlxr-payment-methods .payment_box {
	margin-top: 0.5rem;
	padding: 0.75rem;
	border-radius: var(--thanhlxr-wc-radius);
	background: var(--thanhlxr-wc-surface);
	font-size: 0.9375rem;
}

/* -------------------------------------------------------------------------
 * Guest order lookup results
 * ---------------------------------------------------------------------- */

.woocommerce-orders-table__detail-cell {
	padding: 0 !important;
	border: 0 !important;
}

.woocommerce-orders-table__row-detail {
	padding: 1rem;
	background: var(--thanhlxr-wc-surface);
	border-bottom: 1px solid var(--thanhlxr-wc-border);
}

.woocommerce-orders-table__row-detail .flex {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
}

.woocommerce-orders-table__row-detail .thead {
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--thanhlxr-wc-border);
}

.woocommerce-orders-table__row-detail .tbody {
	padding: 0.5rem 0;
}

.woocommerce-orders-table__row-detail .item-name,
.woocommerce-orders-table__row-detail .item-total {
	margin: 0;
}

.woocommerce-orders-table__row-detail .item-total {
	white-space: nowrap;
}

.woocommerce-orders-table__row-detail .tfoot {
	padding-top: 0.5rem;
	border-top: 1px solid var(--thanhlxr-wc-border);
	font-weight: 600;
}

/* -------------------------------------------------------------------------
 * Thank-you page
 * ---------------------------------------------------------------------- */

#thank-you .title {
	margin: 1.5rem 0 0.5rem;
	font-weight: 600;
}

#thank-you .woocommerce-order-overview {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 1rem;
	border: 1px solid var(--thanhlxr-wc-border);
	border-radius: var(--thanhlxr-wc-radius);
	background: var(--thanhlxr-wc-surface);
}

#thank-you .woocommerce-order-overview li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--thanhlxr-wc-border);
}

#thank-you .woocommerce-order-overview li:last-child {
	border-bottom: 0;
}

.thanhlxr-order-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* -------------------------------------------------------------------------
 * Product loop
 * ---------------------------------------------------------------------- */

.woocommerce-main ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: var(--thanhlxr-wc-gap);
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.woocommerce-main ul.products li.product {
	margin: 0;
}

.woocommerce-main ul.products li.product a img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 0.5rem;
}

.woocommerce-main ul.products li.product .woocommerce-loop-product__title {
	font-size: 1rem;
	margin: 0 0 0.25rem;
}

.woocommerce-main ul.products li.product .price {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--thanhlxr-wc-accent);
	font-weight: 600;
}

.woocommerce-main span.onsale {
	display: inline-block;
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	background: var(--thanhlxr-wc-accent);
	color: #fff;
	font-size: 0.75rem;
}

/* -------------------------------------------------------------------------
 * Single product
 * ---------------------------------------------------------------------- */

@media (min-width: 48em) {
	.woocommerce-main div.product {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--thanhlxr-wc-gap);
		align-items: start;
	}

	.woocommerce-main div.product .woocommerce-product-gallery {
		grid-row: span 2;
	}

	.woocommerce-main div.product .woocommerce-tabs,
	.woocommerce-main div.product .related,
	.woocommerce-main div.product .up-sells {
		grid-column: 1 / -1;
	}
}

.woocommerce-main .woocommerce-product-gallery img {
	width: 100%;
	height: auto;
}

/* -------------------------------------------------------------------------
 * Notices
 * ---------------------------------------------------------------------- */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	margin-bottom: 1.5rem;
	padding: 0.875rem 1rem;
	border: 0;
	border-left: 4px solid var(--thanhlxr-wc-accent);
	border-radius: var(--thanhlxr-wc-radius);
	background: var(--thanhlxr-wc-surface);
	list-style: none;
}

/* Woo focuses validation notices after a failed form submit. Keep the error
   stripe as the status cue without the global pink focus ring or core frame. */
.woocommerce-account .woocommerce-notices-wrapper:focus-visible,
.woocommerce-account .woocommerce-message:focus-visible,
.woocommerce-account .woocommerce-info:focus-visible,
.woocommerce-account .woocommerce-error:focus-visible {
	outline: 0 !important;
	box-shadow: none !important;
}

.woocommerce-error {
	border-left-color: #b4232a;
}

.woocommerce-message {
	border-left-color: #2e7d32;
}

/* -------------------------------------------------------------------------
 * Forms
 * ---------------------------------------------------------------------- */

.woocommerce-main .form-row {
	display: flex;
	flex-direction: column;
	margin-bottom: 1rem;
}

.woocommerce-main .form-row label {
	margin-bottom: 0.25rem;
	font-weight: 500;
}

.woocommerce-main .form-row input,
.woocommerce-main .form-row select,
.woocommerce-main .form-row textarea {
	width: 100%;
	padding: 0.5rem 0.625rem;
	border: 1px solid var(--thanhlxr-wc-border);
	border-radius: var(--thanhlxr-wc-radius);
}

.woocommerce-main .required {
	color: var(--thanhlxr-wc-accent);
	text-decoration: none;
}

@media (min-width: 48em) {
	.woocommerce-main .col2-set {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--thanhlxr-wc-gap);
	}
}

/* Used by the optional VN single-name-field mode. */
.thanhlxr-hidden-field {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Vi Feerie customer account: sign-in, registration and account dashboard
 * ---------------------------------------------------------------------- */

.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: start;
}

.woocommerce-account:not(.logged-in) .woocommerce { display: block; }

/* WooCommerce floats its account columns at 30% / 68%. Reset those widths
   when the theme places the same columns in a grid. */
.woocommerce-account .vifeerie-account-page .woocommerce > .woocommerce-MyAccount-navigation,
.woocommerce-account .vifeerie-account-page .woocommerce > .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
	max-width: none;
	min-width: 0;
	margin: 0;
	box-sizing: border-box;
}

.woocommerce-account .vifeerie-account-page .woocommerce > .woocommerce-MyAccount-navigation {
	grid-column: 1;
}

.woocommerce-account .vifeerie-account-page .woocommerce > .woocommerce-MyAccount-content {
	grid-column: 2;
}

.vifeerie-account-page {
	padding-top: clamp(1.5rem, 3vw, 2.75rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
}

.vifeerie-account-page .entry-title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.vifeerie-account-page .entry-content { margin: 0; }

.vifeerie-commerce-page {
	padding-top: clamp(1.5rem, 3vw, 2.75rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
}

.vifeerie-commerce-page .entry-title {
	margin: 0 0 1.5rem;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
}

/* The account cards provide their own border; remove Woo's nested form frame. */
.woocommerce-account .vifeerie-account-auth form.woocommerce-form-login,
.woocommerce-account .vifeerie-account-auth form.woocommerce-form-register,
.woocommerce-account .vifeerie-account-auth form.woocommerce-ResetPassword {
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
}

/* Keep one visible input border instead of Woo's border plus the global ring. */
.woocommerce input.input-text:focus-visible,
.woocommerce textarea:focus-visible,
.woocommerce select:focus-visible {
	outline: none;
	box-shadow: none;
	border-color: #98738e;
}

/* Keep the theme's accessible password toggle as the only eye control. */
.woocommerce input[type="password"]::-ms-reveal,
.woocommerce input[type="password"]::-ms-clear,
.woocommerce input[type="password"]::-webkit-reveal,
.woocommerce input[type="password"]::-webkit-clear-button {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	pointer-events: none !important;
}

.woocommerce input[type="password"]::-webkit-credentials-auto-fill-button {
	visibility: hidden !important;
	display: none !important;
	pointer-events: none !important;
}

/* Cart quantity group: one border around the control, no nested input frame. */
.woocommerce-cart .quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid #d8cbd3;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

.woocommerce-cart .quantity input.qty {
	width: 2.75rem;
	min-height: 2rem;
	padding: .25rem;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
}

.woocommerce-cart .quantity button,
.woocommerce-cart .quantity .minus,
.woocommerce-cart .quantity .plus {
	min-width: 2rem;
	min-height: 2rem;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.woocommerce-cart .quantity button:hover,
.woocommerce-cart .quantity .minus:hover,
.woocommerce-cart .quantity .plus:hover { background: #f7f0f6; }

/* Thin custom remove icon instead of the heavy WooCommerce glyph. */
.woocommerce-cart .product-remove a.remove {
	display: inline-grid;
	width: 2rem;
	height: 2rem;
	place-items: center;
	border-radius: 50%;
	background: transparent;
	color: #8b7a70 !important;
	font-size: 0;
	line-height: 1;
	text-decoration: none;
}

.woocommerce-cart .product-remove a.remove::before,
.woocommerce-cart .product-remove a.remove::after { content: none !important; }
.woocommerce-cart .product-remove a.remove svg { width: 17px; height: 17px; stroke-width: 1.45; }
.woocommerce-cart .product-remove a.remove:hover { background: #f7f0f6; color: #795b72 !important; }

/* The published cart page uses WooCommerce Cart Block. */
.woocommerce-cart .wc-block-cart-item__remove-link {
	color: var(--brand-deep);
	font-size: 13px;
	font-weight: 500;
}
.woocommerce-cart .wc-block-cart-item__remove-link svg { display: none; }
.woocommerce-cart .wc-block-cart-item__remove-link::after { content: "Xóa"; }
html[lang^="en"] .woocommerce-cart .wc-block-cart-item__remove-link::after { content: "Delete"; }

.woocommerce-cart .wc-block-cart__submit-button {
	background: var(--brand-deep);
	color: #fff;
}
.woocommerce-cart .wc-block-cart__submit-button:hover {
	background: var(--brand-deeper);
	color: #fff;
}

/* Checkout Block: use one focus border instead of a border plus outline. */
.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input:focus,
.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input:focus-visible,
.woocommerce-checkout .wc-block-checkout .wc-blocks-components-select__select:focus,
.woocommerce-checkout .wc-block-checkout .wc-blocks-components-select__select:focus-visible,
.woocommerce-checkout .wc-block-checkout textarea:focus,
.woocommerce-checkout .wc-block-checkout textarea:focus-visible {
	outline: none;
	box-shadow: none;
}
.woocommerce-checkout .wc-block-checkout .wc-block-components-text-input input:focus:not([aria-invalid="true"]),
.woocommerce-checkout .wc-block-checkout .wc-blocks-components-select__select:focus:not([aria-invalid="true"]),
.woocommerce-checkout .wc-block-checkout textarea:focus:not([aria-invalid="true"]) {
	border-color: var(--brand-deep);
}

.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-place-order-button {
	background: var(--brand-deep);
	color: #fff;
}
.woocommerce-checkout .wc-block-checkout .wc-block-components-checkout-place-order-button:hover {
	background: var(--brand-deeper);
	color: #fff;
}

.woocommerce-checkout .wc-block-checkout .wc-block-components-notice-banner.is-error > svg {
	display: none;
}
.woocommerce-checkout .wc-block-checkout .wc-block-components-notice-banner.is-error::before {
	content: "!";
	display: grid;
	place-items: center;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #c72c35;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}

.woocommerce-account .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-account .woocommerce > .woocommerce-message,
.woocommerce-account .woocommerce > .woocommerce-info,
.woocommerce-account .woocommerce > .woocommerce-error {
	grid-column: 1 / -1;
}

/* Core notice icons are positioned for WooCommerce's larger default padding. */
.woocommerce-account .vifeerie-account-page .woocommerce-info::before,
.woocommerce-account .vifeerie-account-page .woocommerce-message::before,
.woocommerce-account .vifeerie-account-page .woocommerce-error::before {
	content: none;
}

.woocommerce-account .vifeerie-account-page .woocommerce-info {
	border-left-color: #98738e;
}

.woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: .5rem;
	border: 1px solid var(--thanhlxr-wc-border);
	border-radius: 16px;
	background: #fff;
	list-style: none;
}

.woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-MyAccount-navigation a {
	display: block;
	padding: .75rem .875rem;
	border-radius: 10px;
	color: inherit;
	text-decoration: none;
}
.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover {
	background: #f7f0f6;
	color: #875e7f;
}
.woocommerce-MyAccount-content { min-width: 0; }

.vifeerie-account-auth { max-width: 980px; margin: 0 auto; }
.vifeerie-account-auth__intro { margin: 0 0 1.5rem; text-align: center; }
.vifeerie-account-auth__intro h1 { margin: .25rem 0 .5rem; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.vifeerie-account-auth__intro p { margin: 0; color: var(--thanhlxr-wc-muted); }
.vifeerie-account-auth__intro .vifeerie-account-auth__eyebrow {
	color: #98738e;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .12em;
}
.vifeerie-account-auth__columns { align-items: stretch; }
.vifeerie-account-card {
	min-width: 0;
	padding: clamp(1.15rem, 3vw, 2rem);
	border: 1px solid var(--thanhlxr-wc-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 35px rgba(50, 35, 48, .06);
}
.vifeerie-account-card h2 { margin: 0 0 1rem; font-size: 1.35rem; }
.vifeerie-account-card__intro { margin: -.25rem 0 1rem; color: var(--thanhlxr-wc-muted); }
.vifeerie-account-auth .woocommerce-form-row { margin-bottom: 1rem; }
.vifeerie-account-auth input.input-text { min-height: 46px; }
.vifeerie-account-auth button.button,
.woocommerce-account .woocommerce-MyAccount-content button.button {
	min-height: 44px;
	padding: .7rem 1.25rem;
	border: 0;
	border-radius: 999px;
	background: #98738e;
	color: #fff;
	font-weight: 600;
}
.vifeerie-account-auth button.button:hover,
.woocommerce-account .woocommerce-MyAccount-content button.button:hover { background: #795b72; color: #fff; }
.vifeerie-account-auth .lost_password { margin: 0; text-align: right; }
.vifeerie-account-auth .lost_password a { color: #875e7f; }
.woocommerce-EditAccountForm fieldset {
	margin: 1.5rem 0;
	padding: 1rem;
	border: 1px solid var(--thanhlxr-wc-border);
	border-radius: 14px;
}
.woocommerce-EditAccountForm fieldset legend { padding: 0 .4rem; font-weight: 700; }
.woocommerce-EditAccountForm input[type="password"] { width: 100%; }
.woocommerce-account .woocommerce-orders-table .button { white-space: nowrap; }
.woocommerce-account .vifeerie-account-page .woocommerce-Addresses {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	width: 100%;
}
.woocommerce-account .vifeerie-account-page .woocommerce-Addresses::before,
.woocommerce-account .vifeerie-account-page .woocommerce-Addresses::after { content: none; }
.woocommerce-account .vifeerie-account-page .woocommerce-Address {
	float: none;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 1.25rem;
	border: 1px solid var(--thanhlxr-wc-border);
	border-radius: 14px;
	background: #fff;
	box-sizing: border-box;
}
.woocommerce-account .vifeerie-account-page .woocommerce-Address-title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: .75rem;
	margin-bottom: .75rem;
}
.woocommerce-account .vifeerie-account-page .woocommerce-Address-title h3 { margin: 0; }
.woocommerce-account .vifeerie-account-page .woocommerce-Address-title .edit {
	float: none;
	flex: 0 0 auto;
	color: #875e7f;
	font-size: .9rem;
}
.woocommerce-account .vifeerie-account-page .woocommerce-Address address {
	margin: 0;
	font-style: normal;
	line-height: 1.65;
}
.vifeerie-account-overview__welcome { margin-top: 0; }
.vifeerie-account-overview__welcome span { color: var(--thanhlxr-wc-muted); }
.vifeerie-account-overview h2 { margin: 1.5rem 0 .35rem; }
.vifeerie-account-overview__intro { margin: 0 0 1rem; color: var(--thanhlxr-wc-muted); }
.vifeerie-account-overview__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.vifeerie-account-overview__cards a {
	display: flex;
	flex-direction: column;
	gap: .4rem;
	min-height: 130px;
	padding: 1rem;
	border: 1px solid var(--thanhlxr-wc-border);
	border-radius: 14px;
	background: #fff;
	color: inherit;
	text-decoration: none;
}
.vifeerie-account-overview__cards a:hover { border-color: #98738e; box-shadow: 0 8px 22px rgba(50, 35, 48, .07); }
.vifeerie-account-overview__cards strong { color: #795b72; }
.vifeerie-account-overview__cards span { color: var(--thanhlxr-wc-muted); font-size: .9rem; }

@media (max-width: 980px) {
	.woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-account .vifeerie-account-page .woocommerce > .woocommerce-MyAccount-navigation,
	.woocommerce-account .vifeerie-account-page .woocommerce > .woocommerce-MyAccount-content {
		grid-column: 1;
	}
	.woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: .25rem;
		margin: 0 -1rem;
		padding: .5rem 1rem;
		overflow-x: auto;
		border: 0;
		border-radius: 0;
		background: #faf7fa;
		white-space: nowrap;
	}
	.woocommerce-MyAccount-navigation a { padding: .6rem .8rem; }
	.woocommerce-account .woocommerce-MyAccount-content { width: 100%; }
	.vifeerie-account-overview__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vifeerie-account-auth__columns { grid-template-columns: minmax(0, 1fr); }
	.vifeerie-account-auth__columns .u-column2 { margin-top: 1rem; }
	.woocommerce-account .woocommerce-orders-table td,
	.woocommerce-account .woocommerce-orders-table th { overflow-wrap: anywhere; }
}

@media (max-width: 620px) {
	.woocommerce-account .sticky-contact { display: none; }
	.woocommerce-MyAccount-navigation ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .25rem;
		margin: 0;
		padding: .5rem;
		overflow: visible;
		border: 1px solid var(--thanhlxr-wc-border);
		border-radius: 16px;
		background: #fff;
		white-space: normal;
	}
	.woocommerce-MyAccount-navigation a { line-height: 1.35; }
	.woocommerce-account .vifeerie-account-page .woocommerce-info {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: .75rem;
	}
	.woocommerce-account .vifeerie-account-page .woocommerce-info .button {
		float: none;
		margin: 0;
	}
	.woocommerce-account .vifeerie-account-page .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }
	.vifeerie-account-overview__cards { grid-template-columns: minmax(0, 1fr); }
	.vifeerie-account-overview__cards a { min-height: 0; }
}

/* Cart coupon field: keep its single border when focused. */
.woocommerce-cart .coupon #coupon_code:focus,
.woocommerce-cart .coupon #coupon_code:focus-visible,
.woocommerce-cart .coupon input.input-text:focus,
.woocommerce-cart .coupon input.input-text:focus-visible {
	border: 1px solid #98738e !important;
	box-shadow: none !important;
	outline: 0 !important;
}
