/* ANVY Website Fix Pack 3.2 */

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

.anvy-live-cart-count {
	position: absolute;
	top: -8px;
	right: -9px;
	min-width: 20px;
	height: 20px;
	padding: 0 5px;
	border-radius: 999px;
	background: #ef2b2d;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 20px;
	text-align: center;
	box-shadow: 0 2px 7px rgba(0,0,0,.18);
}

.anvy-fix-pack .woocommerce-result-count:nth-of-type(n+2) { display: none !important; }

.anvy-fix-cart-page .woocommerce {
	max-width: 1180px;
	margin-inline: auto;
}

.anvy-fix-cart-page form.woocommerce-cart-form,
.anvy-fix-cart-page .cart_totals {
	background: #fff;
	border: 1px solid #e8edf5;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(22,40,80,.07);
	overflow: hidden;
}

.anvy-fix-cart-page table.shop_table {
	width: 100%;
	border: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0;
	margin: 0 !important;
}

.anvy-fix-cart-page table.shop_table thead { background: #f7f9fd; }
.anvy-fix-cart-page table.shop_table th {
	padding: 15px 12px;
	border: 0;
	color: #415168;
	font-size: 13px;
	font-weight: 700;
}
.anvy-fix-cart-page table.shop_table td {
	padding: 17px 12px;
	border-top: 1px solid #edf0f5;
	vertical-align: middle;
}
.anvy-fix-cart-page .product-thumbnail img {
	width: 92px !important;
	height: 92px !important;
	object-fit: cover;
	border-radius: 11px;
}
.anvy-fix-cart-page .product-name a {
	color: #18243a;
	font-weight: 750;
	line-height: 1.4;
	text-decoration: none;
}
.anvy-fix-cart-page .variation {
	margin-top: 7px;
	color: #6a7688;
	font-size: 13px;
}
.anvy-fix-cart-page .product-price,
.anvy-fix-cart-page .product-subtotal {
	color: #ef3b26;
	font-weight: 800;
}
.anvy-fix-cart-page .quantity.anvy-qty-ready {
	display: inline-grid !important;
	grid-template-columns: 34px 44px 34px !important;
	align-items: stretch !important;
	width: 112px !important;
	height: 36px !important;
	border: 1px solid #d9dfeb !important;
	border-radius: 9px !important;
	overflow: hidden !important;
	background: #fff !important;
}
.anvy-fix-cart-page .quantity.anvy-qty-ready input.qty {
	width: 44px !important;
	height: 34px !important;
	min-height: 34px !important;
	padding: 0 3px !important;
	border: 0 !important;
	border-right: 1px solid #e2e6ee !important;
	border-left: 1px solid #e2e6ee !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	text-align: center !important;
	font-weight: 700 !important;
	appearance: textfield !important;
}
.anvy-fix-cart-page .quantity.anvy-qty-ready input.qty::-webkit-inner-spin-button,
.anvy-fix-cart-page .quantity.anvy-qty-ready input.qty::-webkit-outer-spin-button { display: none; }
.anvy-qty-button {
	width: 34px !important;
	height: 34px !important;
	padding: 0 !important;
	border: 0 !important;
	background: #fff !important;
	color: #2f3c51 !important;
	font-size: 20px !important;
	line-height: 1 !important;
	cursor: pointer !important;
}
.anvy-fix-cart-page td.product-remove a.remove {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	border-radius: 9px !important;
	background: #fff1f1 !important;
	color: #e53434 !important;
	font-size: 22px !important;
	text-decoration: none !important;
}
.anvy-fix-cart-page .coupon {
	display: flex;
	gap: 10px;
	align-items: center;
}
.anvy-fix-cart-page .coupon input.input-text {
	min-width: 190px;
	height: 42px;
	border: 1px solid #d9dfeb;
	border-radius: 9px;
}
.anvy-fix-cart-page .cart-collaterals {
	display: grid;
	grid-template-columns: minmax(0,1fr) minmax(320px,420px);
	gap: 24px;
	align-items: start;
	margin-top: 24px;
}
.anvy-fix-cart-page .cart-collaterals .cart_totals {
	width: auto;
	float: none;
	padding: 22px;
}
.anvy-fix-cart-page .wc-proceed-to-checkout a.checkout-button {
	margin: 0;
	border-radius: 11px;
	background: #ee4d2d;
	font-size: 17px;
	font-weight: 800;
}

.anvy-cart-mobile-bar { display: none; }

@media (max-width: 782px) {
	body.woocommerce,
	body.woocommerce-page { overflow-x: hidden !important; }

	body.woocommerce #primary,
	body.woocommerce-page #primary,
	body.woocommerce .content-area,
	body.woocommerce-page .content-area,
	body.woocommerce .site-main,
	body.woocommerce-page .site-main {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		float: none !important;
		clear: both !important;
		margin: 0 !important;
		padding-right: 12px !important;
		padding-left: 12px !important;
	}

	body.woocommerce .woocommerce-result-count,
	body.woocommerce-page .woocommerce-result-count,
	body.woocommerce .woocommerce-ordering,
	body.woocommerce-page .woocommerce-ordering {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		clear: both !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
	body.woocommerce .woocommerce-ordering select,
	body.woocommerce-page .woocommerce-ordering select {
		width: 100% !important;
		min-height: 44px !important;
		padding: 8px 12px !important;
		border-radius: 8px !important;
	}

	body.woocommerce ul.products,
	body.woocommerce-page ul.products {
		display: grid !important;
		grid-template-columns: repeat(2,minmax(0,1fr)) !important;
		gap: 12px !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 0 22px !important;
		padding: 0 !important;
		float: none !important;
		clear: both !important;
	}
	body.woocommerce ul.products::before,
	body.woocommerce ul.products::after,
	body.woocommerce-page ul.products::before,
	body.woocommerce-page ul.products::after { display: none !important; content: none !important; }
	body.woocommerce ul.products li.product,
	body.woocommerce-page ul.products li.product,
	body.woocommerce ul.products[class*="columns-"] li.product,
	body.woocommerce-page ul.products[class*="columns-"] li.product {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		height: 100% !important;
		float: none !important;
		clear: none !important;
		margin: 0 !important;
		padding: 8px !important;
		overflow: hidden !important;
		border: 1px solid #ececec !important;
		border-radius: 10px !important;
		background: #fff !important;
		box-shadow: 0 2px 8px rgba(0,0,0,.05) !important;
	}
	body.woocommerce ul.products li.product a img,
	body.woocommerce-page ul.products li.product a img {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		aspect-ratio: 1/1 !important;
		margin: 0 0 8px !important;
		object-fit: cover !important;
		border-radius: 8px !important;
	}
	body.woocommerce ul.products li.product .woocommerce-loop-product__title,
	body.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
	body.woocommerce ul.products li.product h2,
	body.woocommerce-page ul.products li.product h2 {
		display: -webkit-box !important;
		min-height: 40px !important;
		max-height: 40px !important;
		margin: 0 0 6px !important;
		overflow: hidden !important;
		font-size: 15px !important;
		font-weight: 650 !important;
		line-height: 20px !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 2 !important;
	}
	body.woocommerce ul.products li.product .price,
	body.woocommerce-page ul.products li.product .price {
		display: block !important;
		min-height: 40px !important;
		margin: 0 0 8px !important;
		overflow-wrap: anywhere !important;
		font-size: 14px !important;
		font-weight: 750 !important;
		line-height: 20px !important;
	}
	body.woocommerce ul.products li.product .button,
	body.woocommerce-page ul.products li.product .button {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 40px !important;
		margin: auto 0 0 !important;
		padding: 8px 6px !important;
		white-space: normal !important;
		text-align: center !important;
		font-size: 13px !important;
		line-height: 1.2 !important;
		border-radius: 8px !important;
	}

	body.anvy-fix-cart-page {
		padding-bottom: calc(105px + env(safe-area-inset-bottom)) !important;
	}
	body.anvy-fix-cart-page .woocommerce { padding-inline: 0 !important; }
	body.anvy-fix-cart-page form.woocommerce-cart-form {
		width: 100% !important;
		max-width: 100% !important;
		border-radius: 14px !important;
		box-shadow: none !important;
		overflow: hidden !important;
	}
	body.anvy-fix-cart-page table.shop_table_responsive,
	body.anvy-fix-cart-page table.shop_table_responsive tbody {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}
	body.anvy-fix-cart-page table.shop_table_responsive thead { display: none !important; }
	body.anvy-fix-cart-page table.shop_table_responsive tr.anvy-cart-item-fixed,
	body.anvy-fix-cart-page table.shop_table_responsive tr.woocommerce-cart-form__cart-item {
		position: relative !important;
		display: grid !important;
		grid-template-columns: 88px minmax(0,1fr) !important;
		grid-template-areas:
			"thumb name"
			"thumb price"
			"thumb qty"
			"subtotal subtotal" !important;
		column-gap: 12px !important;
		row-gap: 8px !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 14px 12px !important;
		border-bottom: 1px solid #edf0f5 !important;
		background: #fff !important;
	}
	body.anvy-fix-cart-page table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td {
		display: block !important;
		width: auto !important;
		max-width: 100% !important;
		min-width: 0 !important;
		height: auto !important;
		float: none !important;
		clear: none !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		text-align: left !important;
	}
	body.anvy-fix-cart-page table.shop_table_responsive tr.woocommerce-cart-form__cart-item > td::before { display: none !important; content: none !important; }
	body.anvy-fix-cart-page td.product-thumbnail { grid-area: thumb !important; align-self: start !important; }
	body.anvy-fix-cart-page td.product-thumbnail img {
		display: block !important;
		width: 88px !important;
		height: 88px !important;
		max-width: 88px !important;
		object-fit: cover !important;
		border-radius: 10px !important;
	}
	body.anvy-fix-cart-page td.product-name {
		grid-area: name !important;
		padding-right: 42px !important;
		overflow-wrap: anywhere !important;
	}
	body.anvy-fix-cart-page td.product-name > a {
		display: block !important;
		max-width: 100% !important;
		font-size: 16px !important;
		font-weight: 750 !important;
		line-height: 1.35 !important;
		white-space: normal !important;
		overflow-wrap: anywhere !important;
	}
	body.anvy-fix-cart-page td.product-name dl.variation {
		display: grid !important;
		grid-template-columns: max-content minmax(0,1fr) !important;
		gap: 4px 8px !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 8px 0 0 !important;
		font-size: 13px !important;
		line-height: 1.35 !important;
	}
	body.anvy-fix-cart-page td.product-name dl.variation dt,
	body.anvy-fix-cart-page td.product-name dl.variation dd {
		float: none !important;
		clear: none !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow-wrap: anywhere !important;
	}
	body.anvy-fix-cart-page td.product-name dl.variation dd p { margin: 0 !important; }
	body.anvy-fix-cart-page td.product-price {
		grid-area: price !important;
		font-size: 15px !important;
		font-weight: 800 !important;
		line-height: 1.35 !important;
		white-space: normal !important;
		overflow-wrap: anywhere !important;
	}
	body.anvy-fix-cart-page td.product-quantity {
		grid-area: qty !important;
		align-self: end !important;
		justify-self: start !important;
		width: 112px !important;
		max-width: 112px !important;
	}
	body.anvy-fix-cart-page td.product-subtotal {
		grid-area: subtotal !important;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin-top: 4px !important;
		padding-top: 10px !important;
		border-top: 1px dashed #e2e6ee !important;
		font-size: 16px !important;
		font-weight: 800 !important;
		line-height: 1.35 !important;
		white-space: normal !important;
		text-align: right !important;
		overflow-wrap: anywhere !important;
	}
	body.anvy-fix-cart-page td.product-remove {
		position: absolute !important;
		top: 12px !important;
		right: 12px !important;
		z-index: 3 !important;
		width: 34px !important;
		height: 34px !important;
	}
	body.anvy-fix-cart-page tr:last-child td.actions {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
		width: 100% !important;
		padding: 14px !important;
	}
	body.anvy-fix-cart-page .coupon {
		display: grid !important;
		grid-template-columns: minmax(0,1fr) minmax(120px,42%) !important;
		gap: 10px !important;
		width: 100% !important;
	}
	body.anvy-fix-cart-page .coupon input.input-text,
	body.anvy-fix-cart-page .coupon button {
		width: 100% !important;
		min-width: 0 !important;
		min-height: 44px !important;
		margin: 0 !important;
	}
	body.anvy-fix-cart-page button[name="update_cart"] { display: none !important; }
	body.anvy-fix-cart-page .cart-collaterals { display: block !important; margin-top: 16px !important; }
	body.anvy-fix-cart-page .cart-collaterals .cart_totals {
		position: static !important;
		width: 100% !important;
		padding: 18px !important;
		border-radius: 14px !important;
		box-shadow: none !important;
	}
	body.anvy-fix-cart-page .wc-proceed-to-checkout { display: none !important; }

	.anvy-cart-mobile-bar {
		position: fixed !important;
		right: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		z-index: 999998 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 12px !important;
		padding: 11px 14px calc(11px + env(safe-area-inset-bottom)) !important;
		border-top: 1px solid #e8edf5 !important;
		background: rgba(255,255,255,.98) !important;
		box-shadow: 0 -8px 24px rgba(20,33,61,.12) !important;
		backdrop-filter: blur(10px) !important;
	}
	.anvy-cart-mobile-summary { display: flex; flex-direction: column; min-width: 0; }
	.anvy-cart-mobile-label { color: #6b7789; font-size: 12px; }
	.anvy-cart-mobile-total { color: #ee4d2d; font-size: 17px; line-height: 1.25; white-space: nowrap; }
	.anvy-cart-mobile-checkout {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		min-width: 150px !important;
		min-height: 50px !important;
		padding: 10px 18px !important;
		border-radius: 11px !important;
		background: #ee4d2d !important;
		color: #fff !important;
		font-size: 16px !important;
		font-weight: 800 !important;
		text-decoration: none !important;
	}

	body.anvy-fix-checkout-page .woocommerce,
	body.anvy-fix-checkout-page form.checkout,
	body.anvy-fix-checkout-page #customer_details,
	body.anvy-fix-checkout-page #order_review,
	body.anvy-fix-checkout-page #order_review_heading,
	body.anvy-fix-checkout-page .col2-set,
	body.anvy-fix-checkout-page .col2-set .col-1,
	body.anvy-fix-checkout-page .col2-set .col-2,
	body.anvy-fix-checkout-page .form-row,
	body.anvy-fix-checkout-page .form-row-first,
	body.anvy-fix-checkout-page .form-row-last,
	body.anvy-fix-checkout-page .form-row-wide {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		clear: both !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}
	body.anvy-fix-checkout-page input.input-text,
	body.anvy-fix-checkout-page textarea,
	body.anvy-fix-checkout-page select,
	body.anvy-fix-checkout-page .select2-container,
	body.anvy-fix-checkout-page .select2-selection {
		width: 100% !important;
		max-width: 100% !important;
		min-height: 46px !important;
		font-size: 16px !important;
		border-radius: 8px !important;
	}
	body.anvy-fix-checkout-page textarea { min-height: 90px !important; }
	body.anvy-fix-checkout-page #place_order {
		width: 100% !important;
		min-height: 50px !important;
		border-radius: 9px !important;
		font-size: 16px !important;
	}

	body.anvy-fix-cart-page .anvy-contact-buttons,
	body.anvy-fix-cart-page [class*="contact-fixed"],
	body.anvy-fix-cart-page [class*="fixed-contact"] {
		bottom: calc(110px + env(safe-area-inset-bottom)) !important;
	}
}

@media (max-width: 360px) {
	body.woocommerce ul.products,
	body.woocommerce-page ul.products { gap: 8px !important; }
	body.woocommerce ul.products li.product,
	body.woocommerce-page ul.products li.product { padding: 6px !important; }
	body.anvy-fix-cart-page table.shop_table_responsive tr.woocommerce-cart-form__cart-item {
		grid-template-columns: 78px minmax(0,1fr) !important;
		column-gap: 10px !important;
		padding: 12px 10px !important;
	}
	body.anvy-fix-cart-page td.product-thumbnail img {
		width: 78px !important;
		height: 78px !important;
		max-width: 78px !important;
	}
	.anvy-cart-mobile-checkout { min-width: 132px !important; padding-inline: 12px !important; }
}


/* Shopee-style Vietnam address selector */
.anvy-address-picker-field { position: relative; }
.anvy-address-picker-field::after {
	content: '›';
	position: absolute;
	right: 14px;
	bottom: 12px;
	z-index: 2;
	color: #667085;
	font-size: 27px;
	line-height: 1;
	pointer-events: none;
}
.anvy-address-picker-input {
	padding-right: 42px !important;
	cursor: pointer !important;
	background: #fff !important;
	white-space: nowrap;
	text-overflow: ellipsis;
}
#billing_state_field,
#billing_city_field,
#shipping_state_field,
#shipping_city_field { display: none !important; }

body.anvy-address-open { overflow: hidden !important; }
.anvy-address-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15,23,42,.48);
}
.anvy-address-modal.is-open { display: flex; }
.anvy-address-sheet {
	display: grid;
	grid-template-rows: auto auto auto minmax(0,1fr) auto;
	width: min(620px,100%);
	max-height: min(820px,calc(100vh - 48px));
	overflow: hidden;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(15,23,42,.28);
}
.anvy-address-header {
	display: grid;
	grid-template-columns: 42px minmax(0,1fr) 42px;
	gap: 8px;
	align-items: center;
	padding: 14px 16px;
	border-bottom: 1px solid #eceff4;
}
.anvy-address-back,
.anvy-address-close {
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #ee4d2d;
	font-size: 30px;
	font-weight: 400;
	line-height: 42px;
	text-align: center;
	cursor: pointer;
}
.anvy-address-close { color: #667085; }
.anvy-address-search-wrap { position: relative; min-width: 0; }
.anvy-address-search-icon {
	position: absolute;
	top: 50%;
	left: 13px;
	transform: translateY(-50%);
	color: #8a94a4;
	font-size: 22px;
	pointer-events: none;
}
.anvy-address-search {
	width: 100%;
	height: 46px;
	padding: 0 14px 0 42px;
	border: 1px solid #e6e9ef;
	border-radius: 11px;
	outline: none;
	background: #f5f6f8;
	color: #182230;
	font-size: 16px;
}
.anvy-address-search:focus { border-color: #ee4d2d; background: #fff; box-shadow: 0 0 0 3px rgba(238,77,45,.1); }
.anvy-address-selected { padding: 14px 20px 10px; border-bottom: 1px solid #eef1f5; }
.anvy-address-selected-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #98a1ad; font-size: 14px; }
.anvy-address-reset { padding: 4px 0; border: 0; background: transparent; color: #ee4d2d; font-size: 14px; cursor: pointer; }
.anvy-address-selected-province,
.anvy-address-selected-ward {
	position: relative;
	display: flex;
	align-items: center;
	gap: 13px;
	width: 100%;
	min-height: 44px;
	padding: 6px 4px;
	border: 0;
	background: transparent;
	color: #1f2937;
	font-size: 16px;
	text-align: left;
	cursor: pointer;
}
.anvy-address-selected-province::after {
	content: '';
	position: absolute;
	top: 34px;
	bottom: -18px;
	left: 11px;
	width: 1px;
	background: #d7dce4;
}
.anvy-address-selected-ward.is-empty::after { display: none; }
.anvy-address-selected-province.is-empty,
.anvy-address-selected-ward.is-empty { color: #a1a8b2; }
.anvy-address-dot {
	position: relative;
	z-index: 1;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
	border: 2px solid #ee4d2d;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 3px #fff;
}
.anvy-address-selected-ward .anvy-address-dot { border-color: #ee4d2d; background: #ee4d2d; }
.anvy-address-selected-province.is-empty .anvy-address-dot,
.anvy-address-selected-ward.is-empty .anvy-address-dot { border-color: #d6dbe3; background: #d6dbe3; }
.anvy-address-section-title { padding: 10px 20px; background: #f5f6f8; color: #5f6876; font-size: 15px; }
.anvy-address-list { min-height: 180px; overflow: auto; overscroll-behavior: contain; }
.anvy-address-option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: calc(100% - 40px);
	min-height: 56px;
	margin: 0 20px;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid #eceff3;
	background: #fff;
	color: #202733;
	font-size: 16px;
	line-height: 1.35;
	text-align: left;
	cursor: pointer;
}
.anvy-address-option:hover { color: #ee4d2d; }
.anvy-address-option.is-selected { color: #ee4d2d; font-weight: 700; }
.anvy-address-check { visibility: hidden; color: #ee4d2d; font-weight: 800; }
.anvy-address-option.is-selected .anvy-address-check { visibility: visible; }
.anvy-address-empty,
.anvy-address-loading { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 190px; padding: 30px; color: #7b8491; text-align: center; }
.anvy-address-loading span { width: 22px; height: 22px; border: 3px solid #e7eaf0; border-top-color: #ee4d2d; border-radius: 50%; animation: anvy-address-spin .8s linear infinite; }
@keyframes anvy-address-spin { to { transform: rotate(360deg); } }
.anvy-address-manual { padding: 18px 20px; overflow: auto; }
.anvy-address-manual[hidden] { display: none !important; }
.anvy-address-manual p { margin: 0 0 14px; color: #667085; font-size: 14px; }
.anvy-address-manual label { display: block; margin-bottom: 12px; color: #344054; font-size: 14px; font-weight: 650; }
.anvy-address-manual input { width: 100%; height: 46px; margin-top: 6px; padding: 0 12px; border: 1px solid #d9dee7; border-radius: 9px; font-size: 16px; }
.anvy-address-footer { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #e9edf2; background: #fff; }
.anvy-address-complete { width: 100%; min-height: 48px; border: 0; border-radius: 10px; background: #ee4d2d; color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; }
.anvy-address-complete:disabled { background: #f2b4a7; cursor: not-allowed; }

@media (max-width: 782px) {
	.anvy-address-modal { align-items: stretch; padding: 0; background: #fff; }
	.anvy-address-sheet { width: 100%; max-height: none; height: 100%; border-radius: 0; box-shadow: none; }
	.anvy-address-header { padding-top: calc(12px + env(safe-area-inset-top)); }
	.anvy-address-option { min-height: 58px; font-size: 16px; }
	body.anvy-fix-cart-page td.product-subtotal {
		position: static !important;
		grid-column: 2 !important;
		align-self: auto !important;
		justify-self: stretch !important;
		padding-right: 0 !important;
		word-break: normal !important;
	}
}


/* v3.1: real button instead of a readonly text input (more reliable on iPhone/Safari) */
.anvy-address-picker-row .woocommerce-input-wrapper { display: block; width: 100%; }
.anvy-address-picker-button {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 12px !important;
	width: 100% !important;
	min-height: 58px !important;
	padding: 12px 15px !important;
	border: 1px solid #d7dce4 !important;
	border-radius: 9px !important;
	background: #fff !important;
	color: #182230 !important;
	font: inherit !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	text-align: left !important;
	cursor: pointer !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}
.anvy-address-picker-button.is-placeholder { color: #98a1ad !important; }
.anvy-address-picker-button:focus,
.anvy-address-picker-button:active { border-color: #ee4d2d !important; outline: 0 !important; box-shadow: 0 0 0 3px rgba(238,77,45,.12) !important; }
.anvy-address-picker-button-text { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.anvy-address-picker-arrow { flex: 0 0 auto; color: #667085; font-size: 28px; line-height: 1; }

/* v3.4 checkout address safety */
#billing_country_field,#shipping_country_field{display:none!important}
.anvy-address-picker-row,.anvy-address-picker-row .woocommerce-input-wrapper{position:relative!important;z-index:5!important}
.anvy-address-picker-button{pointer-events:auto!important;touch-action:manipulation!important;position:relative!important;z-index:10!important}
