/* ==========================================================================
   Eyewear UX — WooCommerce surfaces
   shop · product · cart · checkout · my account
   ========================================================================== */

/* ---------- notices ---------- */

body.eyewear-ux .woocommerce-message,
body.eyewear-ux .woocommerce-info,
body.eyewear-ux .woocommerce-error,
body.eyewear-ux .woocommerce-noreviews,
body.eyewear-ux p.no-comments {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin: 0 0 22px;
	padding: 16px 18px;
	border-radius: var(--ey-radius-sm);
	border: 1px solid var(--ey-line);
	border-inline-start: 4px solid var(--ey-gold);
	background: var(--ey-cream);
	color: var(--ey-ink);
	font-size: .9rem;
	line-height: 1.8;
	list-style: none;
}

body.eyewear-ux .woocommerce-error {
	border-inline-start-color: var(--ey-err);
	background: #fdf1f0;
}

body.eyewear-ux .woocommerce-message::before,
body.eyewear-ux .woocommerce-info::before,
body.eyewear-ux .woocommerce-error::before {
	display: none;
}

body.eyewear-ux .woocommerce-message .button,
body.eyewear-ux .woocommerce-info .button,
body.eyewear-ux .woocommerce-error .button {
	margin-inline-start: auto;
	min-height: 40px;
	padding: 8px 18px;
	font-size: .85rem;
}

/* ---------- product grid / cards ---------- */

body.eyewear-ux ul.products,
body.eyewear-ux .products.elementor-grid {
	display: grid;
	grid-template-columns: repeat(var(--ey-cols, 4), minmax(0, 1fr));
	gap: clamp(14px, 1.6vw, 24px);
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

body.eyewear-ux ul.products::before,
body.eyewear-ux ul.products::after {
	display: none;
}

body.eyewear-ux ul.products li.product,
body.eyewear-ux .products .product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100% !important;
	margin: 0 !important;
	padding: 0;
	background: #fff;
	border: 1px solid var(--ey-line);
	border-radius: var(--ey-radius);
	box-shadow: var(--ey-shadow-sm);
	overflow: hidden;
	transition: transform .25s var(--ey-ease), box-shadow .25s var(--ey-ease), border-color .25s var(--ey-ease);
	text-align: start;
}

body.eyewear-ux ul.products li.product:hover,
body.eyewear-ux .products .product:hover {
	transform: translateY(-4px);
	border-color: rgba(198, 161, 91, .55);
	box-shadow: var(--ey-shadow);
}

body.eyewear-ux ul.products li.product > a:first-of-type {
	display: block;
	position: relative;
	overflow: hidden;
	background: var(--ey-cream);
	aspect-ratio: 1 / 1;
}

body.eyewear-ux ul.products li.product a img {
	width: 100%;
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
	margin: 0;
	display: block;
	border-radius: 0;
	transition: transform .55s var(--ey-ease);
}

body.eyewear-ux ul.products li.product:hover a img {
	transform: scale(1.05);
}

body.eyewear-ux ul.products li.product .woocommerce-loop-product__title,
body.eyewear-ux ul.products li.product h2,
body.eyewear-ux ul.products li.product h3 {
	padding: 14px 16px 4px;
	margin: 0;
	font-size: .95rem;
	font-weight: 700;
	line-height: 1.7;
	color: var(--ey-ink);
	min-height: 3.4em;
}

body.eyewear-ux ul.products li.product .price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	padding: 0 16px 6px;
	margin: 0;
	color: var(--ey-ink-2);
	font-size: 1rem;
	font-weight: 700;
	flex-wrap: wrap;
}

body.eyewear-ux ul.products li.product .price del {
	color: var(--ey-muted);
	font-size: .82rem;
	font-weight: 500;
	opacity: .9;
}

body.eyewear-ux ul.products li.product .price ins {
	text-decoration: none;
	color: var(--ey-gold-2);
}

body.eyewear-ux ul.products li.product .price .woocommerce-Price-currencySymbol {
	font-size: .78rem;
	font-weight: 500;
	color: var(--ey-muted);
}

body.eyewear-ux ul.products li.product .button,
body.eyewear-ux ul.products li.product .added_to_cart {
	margin: 10px 16px 16px;
	min-height: 42px;
	padding: 10px 14px;
	font-size: .84rem;
	width: calc(100% - 32px);
	background: #fff;
	color: var(--ey-ink) !important;
	border: 1.5px solid var(--ey-line);
	box-shadow: none;
}

body.eyewear-ux ul.products li.product .button:hover,
body.eyewear-ux ul.products li.product .added_to_cart:hover {
	background: linear-gradient(135deg, var(--ey-gold) 0%, var(--ey-gold-2) 100%);
	color: #fff !important;
	border-color: transparent;
}

body.eyewear-ux ul.products li.product .added_to_cart {
	margin-top: -4px;
	background: transparent;
	border: 0;
	text-decoration: underline;
	box-shadow: none;
	color: var(--ey-gold-2) !important;
}

body.eyewear-ux .woocommerce span.onsale {
	position: absolute;
	inset-inline-start: 14px;
	top: 14px;
	z-index: 3;
	display: grid;
	place-items: center;
	min-width: 52px;
	min-height: 52px;
	padding: 0 10px;
	margin: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--ey-gold) 0%, var(--ey-gold-2) 100%);
	color: #fff;
	font-size: .74rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
}

/* star rating */
body.eyewear-ux .star-rating {
	color: var(--ey-gold);
	font-size: .82rem;
}

body.eyewear-ux .star-rating::before {
	color: #ded6c7;
}

/* shop toolbar + result count */
body.eyewear-ux .woocommerce-products-header__title {
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 700;
	color: var(--ey-ink);
	margin-bottom: 8px;
}

body.eyewear-ux .woocommerce-result-count {
	font-size: .85rem;
	color: var(--ey-muted);
}

body.eyewear-ux .woocommerce-ordering select {
	min-height: 44px;
	padding: 8px 14px;
	font-size: .86rem;
	border-radius: var(--ey-radius-sm);
}

body.eyewear-ux .woocommerce-breadcrumb {
	margin: 0 0 18px;
	font-size: .8rem;
	color: var(--ey-muted);
}

body.eyewear-ux .woocommerce-breadcrumb a {
	color: var(--ey-muted);
}

body.eyewear-ux .woocommerce-breadcrumb a:hover {
	color: var(--ey-gold-2);
}

/* sidebar filters */
body.eyewear-ux .widget_price_filter .ui-slider .ui-slider-range,
body.eyewear-ux .widget_price_filter .ui-slider .ui-slider-handle {
	background-color: var(--ey-gold);
}

body.eyewear-ux .widget_price_filter .ui-slider .ui-slider-handle {
	border: 2px solid #fff;
	box-shadow: 0 2px 8px rgba(11, 18, 32, .2);
}

/* pagination */
body.eyewear-ux .woocommerce-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	gap: 8px;
	border: 0;
	margin: 26px 0;
}

body.eyewear-ux .woocommerce-pagination .page-numbers li {
	border: 0;
}

body.eyewear-ux .woocommerce-pagination .page-numbers .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid var(--ey-line);
	background: #fff;
	color: var(--ey-ink-2);
	font-weight: 600;
	transition: all .18s var(--ey-ease);
}

body.eyewear-ux .woocommerce-pagination .page-numbers .page-numbers:hover,
body.eyewear-ux .woocommerce-pagination .page-numbers .page-numbers.current {
	background: var(--ey-ink);
	border-color: var(--ey-ink);
	color: #fff;
}

/* ---------- single product ---------- */

body.eyewear-ux.single-product .product {
	display: grid;
	gap: clamp(20px, 3vw, 44px);
}

body.eyewear-ux div.product div.images {
	margin: 0;
	border-radius: var(--ey-radius);
	overflow: hidden;
	background: var(--ey-cream);
}

body.eyewear-ux div.product div.images img {
	border-radius: var(--ey-radius);
}

body.eyewear-ux div.product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
	gap: 10px;
	margin: 12px 0 0;
}

body.eyewear-ux div.product div.images .flex-control-thumbs li {
	width: auto;
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
	border: 2px solid transparent;
	transition: border-color .2s var(--ey-ease);
}

body.eyewear-ux div.product div.images .flex-control-thumbs li img {
	opacity: .75;
	transition: opacity .2s var(--ey-ease);
}

body.eyewear-ux div.product div.images .flex-control-thumbs li:hover img,
body.eyewear-ux div.product div.images .flex-control-thumbs li img.flex-active {
	opacity: 1;
}

body.eyewear-ux div.product div.images .flex-control-thumbs li:has(img.flex-active) {
	border-color: var(--ey-gold);
}

body.eyewear-ux div.product .summary {
	padding-top: 4px;
}

body.eyewear-ux div.product .product_title {
	margin: 0 0 10px;
	font-size: clamp(1.25rem, 2.2vw, 1.75rem);
	font-weight: 700;
	line-height: 1.6;
	color: var(--ey-ink);
}

body.eyewear-ux div.product p.price,
body.eyewear-ux div.product span.price {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 16px;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--ey-ink);
	flex-wrap: wrap;
}

body.eyewear-ux div.product p.price del {
	font-size: 1rem;
	color: var(--ey-muted);
	font-weight: 400;
}

body.eyewear-ux div.product p.price ins {
	text-decoration: none;
	color: var(--ey-gold-2);
}

body.eyewear-ux div.product .woocommerce-product-details__short-description {
	font-size: .93rem;
	line-height: 2;
	color: var(--ey-muted);
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ey-line);
	margin-bottom: 18px;
}

body.eyewear-ux div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	padding: 0;
	border: 0;
}

body.eyewear-ux div.product form.cart div.quantity {
	margin: 0;
}

body.eyewear-ux div.product form.cart .button {
	flex: 1 1 220px;
	min-height: 52px;
	font-size: .95rem;
}

body.eyewear-ux div.product form.cart .variations {
	width: 100%;
	margin-bottom: 12px;
}

body.eyewear-ux div.product form.cart .variations th,
body.eyewear-ux div.product form.cart .variations td {
	padding: 8px 0;
	text-align: start;
	vertical-align: middle;
	background: transparent;
}

body.eyewear-ux div.product form.cart .variations label {
	font-size: .88rem;
	font-weight: 700;
	color: var(--ey-ink);
}

body.eyewear-ux .product_meta {
	display: grid;
	gap: 6px;
	padding-top: 16px;
	margin-top: 8px;
	border-top: 1px dashed var(--ey-line);
	font-size: .82rem;
	color: var(--ey-muted);
}

body.eyewear-ux .product_meta a {
	color: var(--ey-ink-2);
	font-weight: 600;
}

body.eyewear-ux .stock.in-stock {
	color: var(--ey-ok);
	font-size: .85rem;
	font-weight: 700;
}

body.eyewear-ux .stock.out-of-stock {
	color: var(--ey-err);
	font-size: .85rem;
	font-weight: 700;
}

/* quantity control */
body.eyewear-ux .quantity {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--ey-line);
	border-radius: var(--ey-radius-pill);
	background: #fff;
	overflow: hidden;
}

body.eyewear-ux .quantity .qty {
	width: 56px;
	min-height: 46px;
	border: 0;
	text-align: center;
	font-weight: 700;
	font-size: .95rem;
	background: transparent;
	-moz-appearance: textfield;
	appearance: textfield;
}

body.eyewear-ux .quantity .qty::-webkit-outer-spin-button,
body.eyewear-ux .quantity .qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

body.eyewear-ux .ey-qty-btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 46px;
	border: 0;
	background: transparent;
	color: var(--ey-ink);
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background .18s var(--ey-ease), color .18s var(--ey-ease);
}

body.eyewear-ux .ey-qty-btn:hover {
	background: var(--ey-cream);
	color: var(--ey-gold-2);
}

/* tabs */
body.eyewear-ux .woocommerce-tabs {
	margin-top: 32px;
}

body.eyewear-ux .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

body.eyewear-ux .woocommerce-tabs ul.tabs::before,
body.eyewear-ux .woocommerce-tabs ul.tabs li::before,
body.eyewear-ux .woocommerce-tabs ul.tabs li::after {
	display: none;
}

body.eyewear-ux .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--ey-radius-pill);
	background: var(--ey-cream);
}

body.eyewear-ux .woocommerce-tabs ul.tabs li a {
	padding: 10px 20px;
	font-size: .88rem;
	font-weight: 700;
	color: var(--ey-ink-2);
	border-radius: var(--ey-radius-pill);
}

body.eyewear-ux .woocommerce-tabs ul.tabs li.active {
	background: var(--ey-ink);
}

body.eyewear-ux .woocommerce-tabs ul.tabs li.active a {
	color: #fff;
}

body.eyewear-ux .woocommerce-tabs .panel {
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
}

body.eyewear-ux .woocommerce-tabs .panel h2 {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ey-ink);
	margin: 0 0 10px;
}

/* spec table inside the description tab */
body.eyewear-ux .woocommerce-Tabs-panel--description table,
body.eyewear-ux .shop_attributes {
	width: 100%;
	border-collapse: collapse;
	font-size: .9rem;
}

body.eyewear-ux .shop_attributes th,
body.eyewear-ux .shop_attributes td {
	padding: 12px 14px;
	text-align: start;
	border-bottom: 1px solid var(--ey-line);
}

body.eyewear-ux .shop_attributes th {
	width: 34%;
	color: var(--ey-muted);
	font-weight: 600;
	background: var(--ey-cream);
}

/* related products */
body.eyewear-ux .related.products,
body.eyewear-ux .upsells.products {
	margin-top: 44px;
}

body.eyewear-ux .related.products > h2,
body.eyewear-ux .upsells.products > h2 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ey-ink);
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ey-gold-soft);
}

/* mobile sticky add-to-cart */
.ey-buybar {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 75;
	display: none;
	align-items: center;
	gap: 12px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--ey-line);
	box-shadow: 0 -8px 24px rgba(11, 18, 32, .08);
	transform: translateY(110%);
	transition: transform .3s var(--ey-ease);
}

.ey-buybar.is-on {
	transform: translateY(0);
}

.ey-buybar__price {
	display: flex;
	flex-direction: column;
	line-height: 1.4;
}

.ey-buybar__price small {
	font-size: .7rem;
	color: var(--ey-muted);
}

.ey-buybar__price b {
	font-size: .98rem;
	color: var(--ey-ink);
}

.ey-buybar .ey-btn {
	flex: 1 1 auto;
	min-height: 46px;
}

@media (max-width: 767px) {
	body.single-product .ey-buybar {
		display: flex;
	}
}

/* ---------- cart ---------- */

body.eyewear-ux.woocommerce-cart .e-cart-layout-two-column,
body.eyewear-ux.woocommerce-cart .woocommerce {
	gap: clamp(18px, 2.4vw, 32px);
}

body.eyewear-ux .woocommerce-cart-form {
	margin-bottom: 0;
}

body.eyewear-ux table.shop_table {
	width: 100%;
	border: 1px solid var(--ey-line);
	border-radius: var(--ey-radius);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
	font-size: .9rem;
}

body.eyewear-ux table.shop_table th {
	padding: 14px 16px;
	background: var(--ey-cream);
	color: var(--ey-ink-2);
	font-size: .82rem;
	font-weight: 700;
	text-align: start;
	border-bottom: 1px solid var(--ey-line);
}

body.eyewear-ux table.shop_table td {
	padding: 16px;
	border-bottom: 1px solid var(--ey-line);
	vertical-align: middle;
	background: transparent;
}

body.eyewear-ux table.shop_table tr:last-child td {
	border-bottom: 0;
}

body.eyewear-ux .woocommerce-cart-form__cart-item .product-thumbnail img {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid var(--ey-line);
}

body.eyewear-ux .woocommerce-cart-form__cart-item .product-name a {
	font-weight: 700;
	color: var(--ey-ink);
	line-height: 1.7;
}

body.eyewear-ux .product-remove a.remove {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: var(--ey-err) !important;
	font-size: 1.1rem;
	font-weight: 700;
	background: #fdf1f0;
	transition: all .18s var(--ey-ease);
}

body.eyewear-ux .product-remove a.remove:hover {
	background: var(--ey-err);
	color: #fff !important;
}

body.eyewear-ux .cart .actions {
	padding: 16px;
}

body.eyewear-ux .cart .actions .coupon {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

body.eyewear-ux .cart .actions .coupon input#coupon_code {
	min-height: 46px;
	flex: 1 1 180px;
}

body.eyewear-ux .cart .actions > .button {
	min-height: 46px;
}

body.eyewear-ux .cart-collaterals .cart_totals {
	width: 100%;
}

body.eyewear-ux .cart_totals h2 {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ey-ink);
	margin: 0 0 12px;
}

body.eyewear-ux .cart_totals table.shop_table td,
body.eyewear-ux .cart_totals table.shop_table th {
	padding: 12px 16px;
}

body.eyewear-ux .cart_totals .order-total td,
body.eyewear-ux .cart_totals .order-total th {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ey-ink);
	background: var(--ey-cream);
}

body.eyewear-ux .wc-proceed-to-checkout {
	padding: 10px 0 0;
}

body.eyewear-ux .wc-proceed-to-checkout a.checkout-button {
	width: 100%;
	min-height: 54px;
	font-size: 1rem;
}

/* free shipping progress */
.ey-ship-progress {
	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid var(--ey-line);
	border-radius: var(--ey-radius-sm);
	background: var(--ey-cream);
}

.ey-ship-progress__text {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .84rem;
	font-weight: 600;
	color: var(--ey-ink-2);
	margin-bottom: 10px;
}

.ey-ship-progress__text svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: var(--ey-gold-2);
	stroke-width: 1.7;
}

.ey-ship-progress__bar {
	height: 8px;
	border-radius: 99px;
	background: #eae3d6;
	overflow: hidden;
}

.ey-ship-progress__bar span {
	display: block;
	height: 100%;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--ey-gold) 0%, var(--ey-gold-2) 100%);
	transition: width .4s var(--ey-ease);
}

/* ---------- checkout ---------- */

body.eyewear-ux .e-checkout__container {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 40px);
	align-items: start;
}

body.eyewear-ux .e-checkout__column-end {
	position: sticky;
	top: 100px;
}

body.eyewear-ux form.checkout {
	display: block;
}

body.eyewear-ux.woocommerce-checkout #customer_details .col-1,
body.eyewear-ux.woocommerce-checkout #customer_details .col-2 {
	width: 100%;
	float: none;
}

body.eyewear-ux .woocommerce-billing-fields,
body.eyewear-ux .woocommerce-shipping-fields,
body.eyewear-ux .woocommerce-additional-fields,
body.eyewear-ux .woocommerce-checkout-review-order,
body.eyewear-ux .woocommerce-checkout-payment {
	padding: clamp(16px, 2.4vw, 26px);
	border: 1px solid var(--ey-line);
	border-radius: var(--ey-radius);
	background: #fff;
	margin-bottom: 18px;
	box-shadow: var(--ey-shadow-sm);
}

body.eyewear-ux .woocommerce-billing-fields > h3,
body.eyewear-ux .woocommerce-shipping-fields > h3,
body.eyewear-ux .woocommerce-additional-fields > h3,
body.eyewear-ux .woocommerce-checkout-review-order > h3,
body.eyewear-ux #order_review_heading {
	margin: 0 0 16px;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ey-ink);
	line-height: 1.6;
}

body.eyewear-ux .woocommerce form .form-row {
	padding: 0;
	margin: 0 0 14px;
}

body.eyewear-ux .woocommerce form .form-row label {
	font-size: .84rem;
	font-weight: 600;
	color: var(--ey-ink-2);
	margin-bottom: 6px;
	line-height: 1.7;
}

body.eyewear-ux .woocommerce form .form-row .required {
	color: var(--ey-gold-2);
}

body.eyewear-ux .woocommerce form .form-row input.input-text,
body.eyewear-ux .woocommerce form .form-row textarea,
body.eyewear-ux .woocommerce form .form-row select {
	width: 100%;
	min-height: 48px;
	font-size: .92rem;
}

body.eyewear-ux .select2-container--default .select2-selection--single {
	height: 48px;
	border: 1.5px solid var(--ey-line);
	border-radius: var(--ey-radius-sm);
	padding: 0 12px;
	display: flex;
	align-items: center;
}

body.eyewear-ux .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 1.6;
	padding: 0;
	color: var(--ey-ink);
	font-size: .92rem;
}

body.eyewear-ux .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 46px;
	inset-inline-start: 8px;
	inset-inline-end: auto;
}

body.eyewear-ux .select2-dropdown {
	border: 1.5px solid var(--ey-gold);
	border-radius: var(--ey-radius-sm);
	overflow: hidden;
	z-index: 9999;
}

body.eyewear-ux .select2-container--default .select2-results__option--highlighted[aria-selected] {
	background: var(--ey-gold-2);
}

/* order review table */
body.eyewear-ux .woocommerce-checkout-review-order table.shop_table {
	border: 0;
	box-shadow: none;
	background: transparent;
}

body.eyewear-ux .woocommerce-checkout-review-order table.shop_table th {
	background: transparent;
	border-bottom: 1px solid var(--ey-line);
	padding: 10px 0;
}

body.eyewear-ux .woocommerce-checkout-review-order table.shop_table td {
	padding: 12px 0;
	border-bottom: 1px dashed var(--ey-line);
}

body.eyewear-ux .woocommerce-checkout-review-order table.shop_table tfoot .order-total td,
body.eyewear-ux .woocommerce-checkout-review-order table.shop_table tfoot .order-total th {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ey-ink);
	border-bottom: 0;
	padding-top: 14px;
}

/* payment box */
body.eyewear-ux #payment {
	background: transparent;
	border-radius: 0;
}

body.eyewear-ux #payment ul.payment_methods {
	display: grid;
	gap: 10px;
	padding: 0;
	margin: 0 0 16px;
	border: 0;
}

body.eyewear-ux #payment ul.payment_methods li {
	list-style: none;
	margin: 0;
	padding: 14px 16px;
	border: 1.5px solid var(--ey-line);
	border-radius: var(--ey-radius-sm);
	background: #fff;
	transition: border-color .18s var(--ey-ease), box-shadow .18s var(--ey-ease);
}

body.eyewear-ux #payment ul.payment_methods li:hover {
	border-color: rgba(198, 161, 91, .6);
}

body.eyewear-ux #payment ul.payment_methods li label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: .92rem;
	color: var(--ey-ink);
	cursor: pointer;
}

body.eyewear-ux #payment div.payment_box {
	margin: 10px 0 0;
	padding: 12px 14px;
	background: var(--ey-cream);
	border-radius: 10px;
	font-size: .85rem;
	color: var(--ey-muted);
	line-height: 1.9;
}

body.eyewear-ux #payment div.payment_box::before {
	display: none;
}

body.eyewear-ux #payment #place_order {
	width: 100%;
	min-height: 56px;
	font-size: 1.02rem;
	margin-top: 6px;
}

body.eyewear-ux #payment .terms,
body.eyewear-ux .woocommerce-terms-and-conditions-wrapper {
	font-size: .82rem;
	color: var(--ey-muted);
	margin-bottom: 12px;
}

body.eyewear-ux .woocommerce-privacy-policy-text p {
	font-size: .8rem;
	color: var(--ey-muted);
	line-height: 1.9;
	margin: 0 0 12px;
}

body.eyewear-ux .woocommerce-form__label-for-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: .85rem;
}

body.eyewear-ux .woocommerce-form__label-for-checkbox input {
	min-height: auto;
	width: 18px;
	height: 18px;
	margin-top: 4px;
	accent-color: var(--ey-gold-2);
}

body.eyewear-ux .woocommerce-form-login-toggle,
body.eyewear-ux .woocommerce-form-coupon-toggle {
	margin-bottom: 18px;
}

body.eyewear-ux form.woocommerce-form-login,
body.eyewear-ux form.checkout_coupon {
	padding: 20px;
	border: 1px dashed var(--ey-gold);
	border-radius: var(--ey-radius);
	background: var(--ey-gold-soft);
	margin-bottom: 18px;
}

/* order received */
body.eyewear-ux.woocommerce-order .woocommerce-thankyou-order-received {
	padding: 22px;
	border-radius: var(--ey-radius);
	background: #eef8f3;
	border: 1px solid #cdeadd;
	color: var(--ey-ok);
	font-size: 1rem;
	font-weight: 700;
	margin-bottom: 20px;
}

body.eyewear-ux .woocommerce-order-overview {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	padding: 0;
	margin: 0 0 24px;
	border: 0;
}

body.eyewear-ux .woocommerce-order-overview li {
	margin: 0;
	padding: 14px;
	border: 1px solid var(--ey-line);
	border-radius: var(--ey-radius-sm);
	font-size: .78rem;
	color: var(--ey-muted);
	text-align: start;
	border-inline-end: 1px solid var(--ey-line);
}

body.eyewear-ux .woocommerce-order-overview li strong {
	display: block;
	margin-top: 4px;
	font-size: .95rem;
	color: var(--ey-ink);
}

/* ---------- my account ---------- */

body.eyewear-ux.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 268px minmax(0, 1fr);
	gap: clamp(18px, 2.4vw, 30px);
	align-items: start;
}

body.eyewear-ux.woocommerce-account.woocommerce-orders .woocommerce,
body.eyewear-ux.woocommerce-account .woocommerce > .woocommerce-MyAccount-content,
body.eyewear-ux.woocommerce-account .woocommerce > nav {
	min-width: 0;
}

body.eyewear-ux nav.woocommerce-MyAccount-navigation {
	width: 100%;
	float: none;
	margin: 0;
	border: 1px solid var(--ey-line);
	border-radius: var(--ey-radius);
	background: #fff;
	padding: 10px;
	box-shadow: var(--ey-shadow-sm);
}

body.eyewear-ux nav.woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 4px;
}

body.eyewear-ux nav.woocommerce-MyAccount-navigation li {
	margin: 0;
	border: 0;
}

body.eyewear-ux nav.woocommerce-MyAccount-navigation li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	border-radius: 12px;
	font-size: .9rem;
	font-weight: 600;
	color: var(--ey-ink-2);
	transition: background .18s var(--ey-ease), color .18s var(--ey-ease);
}

body.eyewear-ux nav.woocommerce-MyAccount-navigation li a::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ey-line);
	transition: background .18s var(--ey-ease);
}

body.eyewear-ux nav.woocommerce-MyAccount-navigation li a:hover {
	background: var(--ey-cream);
	color: var(--ey-ink);
}

body.eyewear-ux nav.woocommerce-MyAccount-navigation li.is-active a {
	background: var(--ey-ink);
	color: #fff;
}

body.eyewear-ux nav.woocommerce-MyAccount-navigation li.is-active a::before {
	background: var(--ey-gold);
}

body.eyewear-ux .woocommerce-MyAccount-content {
	width: 100%;
	float: none;
	padding: clamp(18px, 2.6vw, 30px);
	border: 1px solid var(--ey-line);
	border-radius: var(--ey-radius);
	background: #fff;
	box-shadow: var(--ey-shadow-sm);
	font-size: .92rem;
}

body.eyewear-ux .woocommerce-MyAccount-content > p {
	color: var(--ey-muted);
}

body.eyewear-ux .woocommerce-MyAccount-content table.shop_table {
	font-size: .86rem;
}

body.eyewear-ux .woocommerce-MyAccount-content .woocommerce-Button,
body.eyewear-ux .woocommerce-MyAccount-content button.button {
	min-height: 46px;
}

/* login / register (logged-out) */
body.eyewear-ux.woocommerce-account:not(.logged-in) .woocommerce {
	display: block;
	max-width: 980px;
	margin-inline: auto;
}

body.eyewear-ux.woocommerce-account:not(.logged-in) .u-column1,
body.eyewear-ux.woocommerce-account:not(.logged-in) .u-column2 {
	float: none;
	width: 100%;
	max-width: 100%;
	padding: clamp(20px, 3vw, 32px);
	border: 1px solid var(--ey-line);
	border-radius: var(--ey-radius);
	background: #fff;
	box-shadow: var(--ey-shadow-sm);
}

body.eyewear-ux.woocommerce-account:not(.logged-in) .u-column1 {
	margin-bottom: 20px;
}

body.eyewear-ux.woocommerce-account:not(.logged-in) .u-column1 h2,
body.eyewear-ux.woocommerce-account:not(.logged-in) .u-column2 h2 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ey-ink);
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--ey-gold-soft);
}

body.eyewear-ux .woocommerce-form-login .lost_password a,
body.eyewear-ux .woocommerce-LostPassword a {
	font-size: .82rem;
	color: var(--ey-gold-2);
	font-weight: 600;
}

body.eyewear-ux .woocommerce-form-login .woocommerce-form-login__submit,
body.eyewear-ux .woocommerce-form-register .woocommerce-form-register__submit {
	width: 100%;
	min-height: 50px;
	margin-top: 6px;
}

body.eyewear-ux .woocommerce-form-login .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .85rem;
	color: var(--ey-muted);
}

body.eyewear-ux.woocommerce-account .woocommerce-form-row {
	display: grid;
	gap: 6px;
	margin: 0 0 14px;
}

body.eyewear-ux.woocommerce-account .woocommerce-form-row label {
	font-size: .84rem;
	font-weight: 600;
	color: var(--ey-ink-2);
}

body.eyewear-ux.woocommerce-account .woocommerce-form-row input.input-text {
	width: 100%;
	min-height: 48px;
}

body.eyewear-ux.woocommerce-account .woocommerce-EditAccountForm fieldset {
	margin: 20px 0 0;
	padding: 18px;
	border: 1px dashed var(--ey-line);
	border-radius: var(--ey-radius-sm);
}

body.eyewear-ux.woocommerce-account .woocommerce-EditAccountForm legend {
	padding: 0 8px;
	font-size: .9rem;
	font-weight: 700;
	color: var(--ey-ink);
}

/* dashboard cards */
.ey-dash {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 14px;
	margin: 0 0 20px;
}

.ey-dash__card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--ey-line);
	border-radius: var(--ey-radius);
	background: var(--ey-cream);
	transition: transform .2s var(--ey-ease), box-shadow .2s var(--ey-ease);
}

.ey-dash__card:hover {
	transform: translateY(-2px);
	box-shadow: var(--ey-shadow);
}

.ey-dash__card svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: var(--ey-gold-2);
	stroke-width: 1.7;
}

.ey-dash__card b {
	display: block;
	font-size: .92rem;
	color: var(--ey-ink);
	line-height: 1.6;
}

.ey-dash__card span {
	font-size: .76rem;
	color: var(--ey-muted);
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
	body.eyewear-ux ul.products,
	body.eyewear-ux .products.elementor-grid {
		--ey-cols: 3;
	}
}

@media (max-width: 1024px) {
	body.eyewear-ux .e-checkout__container {
		grid-template-columns: 1fr;
	}

	body.eyewear-ux .e-checkout__column-end {
		position: static;
	}

	body.eyewear-ux.woocommerce-account .woocommerce {
		grid-template-columns: 1fr;
	}

	body.eyewear-ux nav.woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		scrollbar-width: none;
		padding-bottom: 4px;
	}

	body.eyewear-ux nav.woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
		display: none;
	}

	body.eyewear-ux nav.woocommerce-MyAccount-navigation li a {
		white-space: nowrap;
		background: var(--ey-cream);
	}

	body.eyewear-ux nav.woocommerce-MyAccount-navigation li a::before {
		display: none;
	}
}

@media (max-width: 900px) {
	body.eyewear-ux ul.products,
	body.eyewear-ux .products.elementor-grid {
		--ey-cols: 2;
	}
}

@media (max-width: 767px) {
	body.eyewear-ux ul.products li.product .woocommerce-loop-product__title,
	body.eyewear-ux ul.products li.product h2 {
		font-size: .86rem;
		padding: 10px 12px 2px;
		min-height: 4.3em;
	}

	body.eyewear-ux ul.products li.product .price {
		padding: 0 12px 4px;
		font-size: .92rem;
	}

	body.eyewear-ux ul.products li.product .button {
		margin: 8px 12px 12px;
		width: calc(100% - 24px);
		min-height: 38px;
		font-size: .78rem;
		padding: 8px 10px;
	}

	body.eyewear-ux .woocommerce span.onsale {
		min-width: 42px;
		min-height: 42px;
		font-size: .66rem;
		inset-inline-start: 8px;
		top: 8px;
	}

	/* cart becomes stacked cards */
	body.eyewear-ux table.shop_table_responsive tr.woocommerce-cart-form__cart-item {
		display: grid;
		grid-template-columns: 92px minmax(0, 1fr);
		grid-template-areas:
			"thumb name"
			"thumb price"
			"thumb qty"
			"thumb total"
			"thumb remove";
		gap: 4px 14px;
		position: relative;
		padding: 14px;
		border-bottom: 1px solid var(--ey-line);
	}

	body.eyewear-ux table.shop_table_responsive tr.woocommerce-cart-form__cart-item td {
		display: block;
		padding: 0;
		border: 0;
		text-align: start;
	}

	body.eyewear-ux table.shop_table_responsive tr.woocommerce-cart-form__cart-item td::before {
		display: none !important;
	}

	body.eyewear-ux table.shop_table_responsive tr.woocommerce-cart-form__cart-item .product-thumbnail {
		grid-area: thumb;
	}

	body.eyewear-ux table.shop_table_responsive tr.woocommerce-cart-form__cart-item .product-thumbnail img {
		width: 92px;
		height: 92px;
	}

	body.eyewear-ux table.shop_table_responsive tr.woocommerce-cart-form__cart-item .product-name {
		grid-area: name;
	}

	body.eyewear-ux table.shop_table_responsive tr.woocommerce-cart-form__cart-item .product-price {
		grid-area: price;
		font-size: .82rem;
		color: var(--ey-muted);
	}

	body.eyewear-ux table.shop_table_responsive tr.woocommerce-cart-form__cart-item .product-quantity {
		grid-area: qty;
		margin-top: 4px;
	}

	body.eyewear-ux table.shop_table_responsive tr.woocommerce-cart-form__cart-item .product-subtotal {
		grid-area: total;
		font-weight: 700;
		color: var(--ey-ink);
		font-size: .9rem;
	}

	body.eyewear-ux table.shop_table_responsive tr.woocommerce-cart-form__cart-item .product-remove {
		position: absolute;
		inset-inline-end: 10px;
		top: 10px;
	}

	body.eyewear-ux table.shop_table_responsive thead {
		display: none;
	}

	body.eyewear-ux .cart .actions .coupon {
		flex-direction: column;
	}

	body.eyewear-ux .cart .actions .coupon .button,
	body.eyewear-ux .cart .actions > .button {
		width: 100%;
	}

	body.eyewear-ux div.product div.images {
		border-radius: var(--ey-radius-sm);
	}

	body.eyewear-ux div.product form.cart .button {
		width: 100%;
	}

	body.eyewear-ux .woocommerce-checkout-review-order,
	body.eyewear-ux .woocommerce-billing-fields,
	body.eyewear-ux .woocommerce-shipping-fields,
	body.eyewear-ux .woocommerce-additional-fields,
	body.eyewear-ux .woocommerce-checkout-payment,
	body.eyewear-ux .woocommerce-MyAccount-content {
		padding: 16px;
		border-radius: var(--ey-radius-sm);
	}

	body.eyewear-ux .woocommerce-order-overview {
		grid-template-columns: 1fr 1fr;
	}

	body.eyewear-ux .woocommerce-tabs ul.tabs li a {
		padding: 8px 14px;
		font-size: .82rem;
	}
}

@media (max-width: 420px) {
	body.eyewear-ux ul.products,
	body.eyewear-ux .products.elementor-grid {
		--ey-cols: 2;
		gap: 10px;
	}

	body.eyewear-ux .woocommerce-order-overview {
		grid-template-columns: 1fr;
	}
}


/* ---------- category tiles inside a product loop ---------- */

body.eyewear-ux ul.products li.product-category {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--ey-line);
	border-radius: var(--ey-radius);
	box-shadow: var(--ey-shadow-sm);
	overflow: hidden;
	transition: transform .25s var(--ey-ease), box-shadow .25s var(--ey-ease), border-color .25s var(--ey-ease);
}

body.eyewear-ux ul.products li.product-category:hover {
	transform: translateY(-4px);
	border-color: rgba(198, 161, 91, .55);
	box-shadow: var(--ey-shadow);
}

body.eyewear-ux ul.products li.product-category > a {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0;
	aspect-ratio: auto;
	overflow: visible;
	background: transparent;
}

body.eyewear-ux ul.products li.product-category img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	padding: 16px;
	background: var(--ey-cream);
	border-bottom: 1px solid var(--ey-line);
	transition: transform .5s var(--ey-ease);
}

body.eyewear-ux ul.products li.product-category:hover img {
	transform: scale(1.04);
}

body.eyewear-ux ul.products li.product-category .woocommerce-loop-category__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 14px 16px;
	margin: 0;
	font-size: .92rem;
	font-weight: 700;
	color: var(--ey-ink);
	min-height: 0;
	line-height: 1.7;
}

body.eyewear-ux ul.products li.product-category .woocommerce-loop-category__title .count {
	display: inline-grid;
	place-items: center;
	min-width: 26px;
	height: 24px;
	padding: 0 8px;
	border-radius: 99px;
	background: var(--ey-gold-soft);
	color: var(--ey-gold-2);
	font-size: .74rem;
	font-weight: 700;
}

/* nicer fallback than the grey WooCommerce placeholder */
body.eyewear-ux ul.products li.product img.woocommerce-placeholder {
	object-fit: contain;
	padding: 18%;
	background: var(--ey-cream);
}

/* ---------- account: side-by-side login / register on desktop ---------- */

@media (min-width: 900px) {
	body.eyewear-ux.woocommerce-account:not(.logged-in) .u-columns.col2-set {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}

	body.eyewear-ux.woocommerce-account:not(.logged-in) .u-column1,
	body.eyewear-ux.woocommerce-account:not(.logged-in) .u-column2 {
		margin-bottom: 0;
		height: 100%;
	}
}

/* ---------- small polish ---------- */

body.eyewear-ux .woocommerce-products-header {
	margin-bottom: 18px;
}

body.eyewear-ux .woocommerce-notices-wrapper:empty {
	display: none;
}

body.eyewear-ux .price_slider_wrapper .price_slider_amount .button {
	min-height: 40px;
	padding: 8px 16px;
	font-size: .82rem;
}


/* account: pin the sidebar to the start column regardless of DOM order */
body.eyewear-ux.woocommerce-account .woocommerce > nav.woocommerce-MyAccount-navigation {
	grid-column: 1;
	grid-row: 1;
}

body.eyewear-ux.woocommerce-account .woocommerce > .woocommerce-MyAccount-content {
	grid-column: 2;
	grid-row: 1;
}

@media (max-width: 1024px) {
	body.eyewear-ux.woocommerce-account .woocommerce > nav.woocommerce-MyAccount-navigation,
	body.eyewear-ux.woocommerce-account .woocommerce > .woocommerce-MyAccount-content {
		grid-column: 1;
		grid-row: auto;
	}
}


/* the loop card must grow with its content (price was being cut off) */
body.eyewear-ux ul.products li.product {
	height: auto !important;
	min-height: 0 !important;
}

body.eyewear-ux ul.products li.product > a:first-of-type {
	display: flex !important;
	flex-direction: column;
	height: auto !important;
	overflow: visible !important;
}

body.eyewear-ux ul.products li.product > a:first-of-type img {
	flex: 0 0 auto;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

body.eyewear-ux ul.products li.product .price {
	flex: 0 0 auto;
	padding-bottom: 10px;
	margin-bottom: 0;
}

body.eyewear-ux ul.products li.product .button {
	margin-top: auto;
}
