/*
Theme Name: uVe
Theme URI: https://uveshop.com
Author: 787 CREATIVO LLC
Author URI: https://787creativo.com
Description: Mobile-first, app-like black & white WooCommerce theme for the uVe Official Store.
Version: 1.8.2
Requires at least: 6.5
Requires PHP: 8.0
WC requires at least: 9.0
WC tested up to: 11.2
License: GPLv2 or later
Text Domain: uve
*/

/* ---------- Tokens ---------- */
:root {
	--fg: #000;
	--bg: #fff;
	--muted: #6e6e6e;
	--line: #e9e9e9;
	--soft: #f4f4f4;
	--radius: 14px;
	--radius-lg: 22px;
	--gutter: 16px;
	--appbar-h: 56px;
	--tabbar-h: 62px;
	--safe-b: env(safe-area-inset-bottom, 0px);
	--bottom-space: calc(var(--tabbar-h) + var(--safe-b));
	--ease: cubic-bezier(.2, .8, .2, 1);
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--appbar-h); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font: 15px/1.45 var(--font);
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	padding-bottom: calc(var(--bottom-space) + 8px);
	overflow-x: hidden;
}
html body { padding: 0 0 calc(var(--bottom-space) + 8px); }
html body.single-product { padding-bottom: calc(var(--bottom-space) + 84px); }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 8px 12px; background: var(--fg); color: var(--bg); z-index: 1000; border-radius: 8px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Buttons ---------- */
.btn,
.button,
button.button,
input[type="submit"],
.woocommerce-Button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 0 24px;
	background: var(--fg); color: var(--bg);
	border: 1px solid var(--fg); border-radius: 999px;
	font-weight: 600; font-size: 15px; line-height: 1;
	transition: transform .15s var(--ease), opacity .15s;
	text-align: center;
}
.btn:active, .button:active { transform: scale(.97); }
.btn-ghost, .button.wc-backward { background: var(--bg); color: var(--fg); border-color: var(--line); }
.button.disabled, .button:disabled, button:disabled { opacity: .35; cursor: not-allowed; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%;
	background: transparent; border: 0; padding: 0; color: var(--fg);
}
.icon-btn:active { background: var(--soft); }
.link-btn { background: none; border: 0; padding: 8px; font-weight: 600; }

/* ---------- App bar ---------- */
.appbar {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
	border-bottom: 1px solid var(--line);
	padding-top: env(safe-area-inset-top, 0px);
}
.appbar-inner {
	height: var(--appbar-h); max-width: 1240px; margin: 0 auto;
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 0 calc(var(--gutter) - 8px) 0 var(--gutter);
}
.logo img { height: 34px; width: auto; }
.appbar-actions { display: flex; align-items: center; }
.appbar-product .appbar-inner { padding-left: 6px; }
.appbar-product .logo { position: absolute; left: 50%; transform: translateX(-50%); }
.appbar-product .logo img { height: 28px; }

/* ---------- Navigation ---------- */
.nav-desktop { display: none; }
.tabbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	display: grid; grid-template-columns: repeat(5, 1fr);
	height: var(--bottom-space); padding-bottom: var(--safe-b);
	background: rgba(255, 255, 255, .96);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
	border-top: 1px solid var(--line);
}
.tabbar a {
	position: relative;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
	color: var(--muted); font-size: 10.5px; font-weight: 600; letter-spacing: .01em;
}
.tabbar a.is-active { color: var(--fg); }
.tabbar a.is-active .icon-heart,
.tabbar a.is-active .icon-store .awning,
.tabbar a.is-active .icon-grid rect,
.tabbar a.is-active .icon-bag path:first-child { fill: currentColor; }
.tabbar a:active .icon { transform: scale(.9); }
.tabbar .icon { transition: transform .15s var(--ease); }
.uve-cart-count {
	position: absolute; top: 6px; left: calc(50% + 6px);
	min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--fg); color: var(--bg); border: 2px solid var(--bg);
	font-size: 10px; line-height: 14px; text-align: center; font-weight: 700;
}
.uve-cart-count.is-empty { display: none; }

@media (min-width: 900px) {
	html body, html body.single-product { padding-bottom: 0; }
	.tabbar { display: none; }
	.nav-desktop { display: flex; gap: 4px; margin-left: auto; }
	.nav-desktop a {
		position: relative; display: flex; align-items: center; gap: 6px;
		padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted);
	}
	.nav-desktop a:hover { color: var(--fg); background: var(--soft); }
	.nav-desktop a.is-active { color: var(--bg); background: var(--fg); }
	.nav-desktop a.nav-search { display: none; }
	.nav-desktop .icon { width: 20px; height: 20px; }
	.nav-desktop .uve-cart-count { position: static; border: 0; margin-left: 2px; }
	.nav-desktop a.is-active .uve-cart-count { background: var(--bg); color: var(--fg); }
}

/* ---------- Catalog ---------- */
.catalog-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
	padding-top: 20px; padding-bottom: 12px;
}
.catalog-title h1 { font-size: 26px; font-weight: 800; margin: 0; letter-spacing: -.02em; }
.catalog-title .count { color: var(--muted); font-size: 13px; }
.filter-btn {
	position: relative; display: inline-flex; align-items: center; gap: 6px;
	height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px;
	font-weight: 600; font-size: 14px; flex: none;
}
.filter-btn .icon { width: 20px; height: 20px; }
.filter-btn.has-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.filter-btn .badge {
	min-width: 20px; height: 20px; border-radius: 10px; padding: 0 6px;
	background: var(--bg); color: var(--fg); font-size: 11px; line-height: 20px; text-align: center;
}
.catalog-bar { position: sticky; top: calc(var(--appbar-h) + env(safe-area-inset-top, 0px)); z-index: 40; background: var(--bg); padding: 4px 0 12px; }

.chips {
	display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
	padding: 0 var(--gutter); max-width: 1240px; margin: 0 auto;
	scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
}
.chips::-webkit-scrollbar { display: none; }
.chips-active { margin-top: 8px; }
.chip {
	flex: none; display: inline-flex; align-items: center; gap: 4px;
	height: 36px; padding: 0 16px; border-radius: 999px;
	background: var(--soft); font-size: 14px; font-weight: 600; white-space: nowrap;
	scroll-snap-align: start;
}
.chip.is-active { background: var(--fg); color: var(--bg); }
.chip .icon { width: 16px; height: 16px; }
.chip-remove { padding-right: 10px; }
.chip-clear { background: none; text-decoration: underline; text-underline-offset: 3px; }

.product-grid,
ul.products {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px;
}
@media (min-width: 700px) { .product-grid, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { position: relative; margin: 0; }
.card-link { display: block; }
.card-link:active .card-media img { transform: scale(.98); }
.card-media {
	position: relative; aspect-ratio: 1 / 1; overflow: hidden;
	border-radius: var(--radius); background: var(--soft);
}
.card-media img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transition: opacity .3s, transform .3s var(--ease);
}
.card-alt { opacity: 0; }
@media (hover: hover) { .card:hover .card-alt { opacity: 1; } }
.card.outofstock .card-media img { opacity: .55; }
.tag {
	position: absolute; left: 8px; top: 8px;
	padding: 4px 9px; border-radius: 999px; background: var(--bg); color: var(--fg);
	font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.tag-sale { background: var(--fg); color: var(--bg); }
.card-body { padding: 10px 2px 0; }
.card-title {
	font-size: 14px; font-weight: 500; margin: 0 0 2px; line-height: 1.3;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.price { font-weight: 700; font-size: 14px; }
.price del { color: var(--muted); font-weight: 400; margin-right: 4px; }
.price ins { text-decoration: none; }

/* Heart */
.save-btn { color: var(--fg); background: none; border: 0; padding: 0; }
.save-btn .icon-heart { transition: fill .15s; }
.save-btn.is-saved .icon-heart { fill: currentColor; }
.save-btn.pop .icon { animation: pop .35s var(--ease); }
@keyframes pop { 40% { transform: scale(1.3); } 100% { transform: scale(1); } }
.card-save {
	position: absolute; top: 8px; right: 8px;
	width: 36px; height: 36px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .85);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.card-save .icon { width: 20px; height: 20px; }

/* Pagination */
.woocommerce-pagination { margin: 32px 0 8px; }
.woocommerce-pagination ul { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 0; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; border-radius: 999px; font-weight: 600; background: var(--soft);
}
.woocommerce-pagination .current { background: var(--fg); color: var(--bg); }

.empty-state { text-align: center; padding: 56px 16px; color: var(--muted); }
.empty-state .icon { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--fg); }
.empty-state .btn { margin-top: 8px; }

/* ---------- Sheets ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .25s; }
.sheet-panel {
	position: absolute; left: 0; right: 0; bottom: 0;
	max-height: 88vh; display: flex; flex-direction: column;
	background: var(--bg); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
	transform: translateY(100%); transition: transform .3s var(--ease);
	padding-bottom: var(--safe-b);
}
.sheet.is-open .sheet-backdrop { opacity: 1; }
.sheet.is-open .sheet-panel { transform: none; }
.sheet-handle { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 8px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; }
.sheet-head h2 { font-size: 18px; margin: 0; }
.sheet-body { overflow-y: auto; padding: 0 20px 8px; overscroll-behavior: contain; }
.sheet-foot { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 12px 20px 16px; border-top: 1px solid var(--line); }
@media (min-width: 700px) {
	.sheet-panel { left: 50%; right: auto; width: 480px; bottom: 24px; border-radius: var(--radius-lg); transform: translate(-50%, 110%); }
	.sheet.is-open .sheet-panel { transform: translate(-50%, 0); }
}

.filter-group { border: 0; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; }
.filter-group legend { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.options { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option-label,
.option.has-swatch {
	display: inline-flex; align-items: center; gap: 8px;
	min-height: 40px; padding: 0 14px; border-radius: 999px;
	border: 1px solid var(--line); font-size: 14px; font-weight: 500; cursor: pointer;
}
.option.has-swatch { padding-left: 6px; }
.option.has-swatch .option-label { border: 0; padding: 0; min-height: 0; }
.option input:checked + .option-label,
.option.has-swatch:has(input:checked) { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.option input:focus-visible + .option-label,
.option input:focus-visible + .swatch { outline: 2px solid var(--fg); outline-offset: 2px; }
.options-size .option-label { min-width: 52px; justify-content: center; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); flex: none; }

/* Search sheet */
.sheet-top .sheet-panel {
	top: 0; bottom: auto; max-height: none;
	flex-direction: row; align-items: center; gap: 8px;
	padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 10px 16px;
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	transform: translateY(-100%);
}
@media (min-width: 700px) {
	.sheet-top .sheet-panel { top: 24px; left: 50%; width: 560px; border-radius: var(--radius-lg); transform: translate(-50%, -150%); }
	.sheet-top.is-open .sheet-panel { transform: translate(-50%, 0); }
}
.search-field { flex: 1; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 999px; background: var(--soft); }
.search-field .icon { width: 20px; height: 20px; color: var(--muted); }
.search-field input { flex: 1; min-width: 0; border: 0; background: none; outline: 0; font-size: 16px; }

/* ---------- Product page ---------- */
.product-page { padding-bottom: 24px; }
.gallery { position: relative; background: var(--soft); }
.gallery-track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	-webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery-dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(0, 0, 0, .25); transition: width .2s, background .2s; }
.gallery-dots span.is-active { width: 18px; background: var(--fg); }

.buy { padding: 20px var(--gutter) 0; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.product-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.product-price { font-size: 18px; margin-bottom: 14px; }
.short-description { color: var(--muted); font-size: 14px; }
.short-description p { margin-bottom: .5em; }

@media (min-width: 900px) {
	.product-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; max-width: 1240px; margin: 24px auto 0; padding: 0 var(--gutter) 48px; align-items: start; }
	.gallery { border-radius: var(--radius-lg); overflow: hidden; }
	.buy { padding: 8px 0 0; position: sticky; top: calc(var(--appbar-h) + 24px); }
	.product-title { font-size: 32px; }
}

/* Variations */
table.variations { width: 100%; border-collapse: collapse; margin: 8px 0 4px; }
table.variations, table.variations tbody, table.variations tr, table.variations th, table.variations td { display: block; }
table.variations tr { margin-bottom: 16px; }
table.variations th { text-align: left; padding: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
table.variations td { padding: 0; }
.select-native { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.reset_variations { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.reset_variations[style*="hidden"] { display: none; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 54px; height: 46px; padding: 0 16px; border-radius: 12px;
	background: var(--bg); border: 1px solid var(--line); font-weight: 600; font-size: 14px;
	transition: background .15s, color .15s, border-color .15s;
}
.pills-color .pill { padding-left: 8px; border-radius: 999px; }
.pill .swatch { width: 28px; height: 28px; }
.pill.is-selected { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill.is-selected .swatch { border-color: rgba(255, 255, 255, .6); }
.pill.is-unavailable { opacity: .35; text-decoration: line-through; cursor: not-allowed; }

.single_variation_wrap .woocommerce-variation { margin: 4px 0 8px; font-size: 14px; }
.woocommerce-variation-price .price { font-size: 16px; }
.stock { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.stock.out-of-stock { color: var(--fg); font-weight: 600; }

/* Add to cart — sticky bar above the tab bar on mobile */
form.cart { margin: 0; }
.add-to-cart form.cart:not(.variations_form),
.add-to-cart .woocommerce-variation-add-to-cart {
	display: flex; gap: 10px; align-items: center;
}
.quantity { flex: none; }
.quantity .qty {
	width: 72px; height: 50px; border: 1px solid var(--line); border-radius: 999px;
	text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield;
}
.quantity .qty::-webkit-inner-spin-button, .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.single_add_to_cart_button { flex: 1; }
.single_add_to_cart_button.disabled { opacity: .35; }
@media (max-width: 899px) {
	.add-to-cart form.cart:not(.variations_form),
	.add-to-cart .woocommerce-variation-add-to-cart {
		position: fixed; left: 0; right: 0; bottom: var(--bottom-space); z-index: 55;
		padding: 10px var(--gutter);
		background: rgba(255, 255, 255, .96);
		-webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
		border-top: 1px solid var(--line);
	}
}
@media (min-width: 900px) { .add-to-cart { margin: 16px 0 8px; } }

/* Accordions */
.accordion { border-top: 1px solid var(--line); }
.accordion:last-of-type { border-bottom: 1px solid var(--line); }
.add-to-cart + .accordion { margin-top: 20px; }
.accordion summary {
	list-style: none; display: flex; justify-content: space-between; align-items: center;
	padding: 16px 0; font-weight: 700; cursor: pointer;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 22px; font-weight: 400; line-height: 1; }
.accordion[open] summary::after { content: "–"; }
.accordion-body { padding-bottom: 16px; color: #333; font-size: 14px; }
.accordion-body img { border-radius: var(--radius); }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.woocommerce-product-attributes th { width: 40%; color: var(--muted); font-weight: 500; }
.woocommerce-product-attributes td p { margin: 0; }

.related-wrap { margin-top: 24px; }
.related > h2 { font-size: 20px; font-weight: 800; margin-bottom: 14px; }

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 16px 0; padding: 14px 16px; border-radius: var(--radius);
	background: var(--soft); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.woocommerce-error { background: var(--fg); color: var(--bg); }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 38px; padding: 0 16px; font-size: 13px; order: 2; }
.woocommerce-store-notice, p.demo_store { position: relative; margin: 0; padding: 10px 16px; background: var(--fg); color: var(--bg); text-align: center; font-size: 13px; }

/* ---------- Pages, account, forms ---------- */
.page-wrap { padding-top: 20px; padding-bottom: 24px; }
.page-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.entry { padding: 16px 0; border-bottom: 1px solid var(--line); }
.entry-title { font-size: 18px; }

input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"]:not(.search-field input), select, textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #d6d6d6; border-radius: 12px; background: var(--bg); font-size: 16px;
}
textarea { min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--fg); }
label { font-size: 14px; font-weight: 600; }
.form-row { margin: 0 0 14px; }
.form-row label { display: block; margin-bottom: 6px; }
.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.required { color: inherit; text-decoration: none; border: 0; }
.woocommerce form .password-input { position: relative; display: block; }
.show-password-input { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; }
.show-password-input::after { content: "Show"; font-size: 12px; font-weight: 600; }
.show-password-input.display-password::after { content: "Hide"; }

.u-columns { display: grid; gap: 24px; }
@media (min-width: 800px) { .u-columns { grid-template-columns: 1fr 1fr; gap: 48px; } }
.woocommerce-form-login, .woocommerce-form-register { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.woocommerce-form-login .button, .woocommerce-form-register .button { width: 100%; margin-top: 8px; }
.woocommerce-LostPassword { margin-top: 12px; font-size: 14px; text-decoration: underline; }

.woocommerce-MyAccount-navigation ul {
	list-style: none; margin: 0 calc(var(--gutter) * -1) 20px; padding: 0 var(--gutter);
	display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
.woocommerce-MyAccount-navigation a { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--soft); font-size: 14px; font-weight: 600; white-space: nowrap; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--fg); color: var(--bg); }
.woocommerce-MyAccount-content a:not(.button):not(.btn):not(.card-link) { text-decoration: underline; text-underline-offset: 3px; }

/* Order progress (My account → order) */
.order-steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.order-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 13px; }
.order-step::before { content: ""; position: absolute; top: 14px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.order-step:first-child::before { display: none; }
.order-step.is-done::before, .order-step.is-current::before { background: var(--fg); }
.order-step-dot {
	position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line);
	color: var(--muted); font-size: 13px; font-weight: 700;
}
.order-step.is-done .order-step-dot { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.order-step.is-current .order-step-dot { border-color: var(--fg); color: var(--fg); }
.order-step-text { display: flex; flex-direction: column; gap: 2px; padding: 0 4px; }
.order-step-text span { color: var(--muted); font-size: 12px; }
.order-step:not(.is-done):not(.is-current) strong { color: var(--muted); font-weight: 600; }
.woocommerce-MyAccount-content .order-step-text a { font-size: 12px; font-weight: 600; }
.woocommerce-MyAccount-content mark { background: none; color: inherit; font-weight: 600; }

/* Order tracking (My account) */
.order-tracking { margin: 24px 0; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.order-tracking h2 { font-size: 17px; }
.order-tracking-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.order-tracking-row + .order-tracking-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.order-tracking-row p { margin: 0; font-size: 14px; }
.order-tracking-number { font-variant-numeric: tabular-nums; word-break: break-all; }
.order-tracking-date { color: var(--muted); font-size: 13px; }
.woocommerce-orders-table__cell-order-actions .button + .button { margin-left: 6px; }

table.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.shop_table th, table.shop_table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; }
@media (max-width: 699px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
	table.shop_table_responsive td { display: flex; justify-content: space-between; border: 0; padding: 6px 0; }
	table.shop_table_responsive td::before { content: attr(data-title); font-weight: 600; }
}

/* Cart & checkout blocks — B&W */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	background: var(--fg) !important; color: var(--bg) !important; border-radius: 999px !important; min-height: 52px; font-weight: 600 !important; border: 0 !important;
}
.wc-block-components-text-input input, .wc-blocks-components-select__select, .wc-block-components-combobox .components-combobox-control input { border-radius: 12px !important; }
.wc-block-components-product-name { font-weight: 600; }
.wc-block-cart-item__image img { border-radius: 10px; }
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart { display: none; }

/* ---------- Footer & toast ---------- */
.site-footer { text-align: center; color: var(--muted); font-size: 12px; padding: 32px var(--gutter) 16px; }
.site-footer p { margin-bottom: 10px; }
.social { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--fg); font-size: 13px; font-weight: 600; }
.social .icon { width: 18px; height: 18px; }
.powered-by { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; }
.powered-by img { height: 8.38px; width: auto; }
.toast {
	position: fixed; left: 50%; bottom: calc(var(--bottom-space) + 16px); z-index: 120;
	transform: translate(-50%, 12px); opacity: 0; transition: opacity .2s, transform .2s var(--ease);
	padding: 12px 18px; border-radius: 999px; background: var(--fg); color: var(--bg);
	font-size: 14px; font-weight: 600; white-space: nowrap; pointer-events: none;
}
.single-product .toast { bottom: calc(var(--bottom-space) + 92px); }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast, .single-product .toast { bottom: 24px; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
table.variations.nudge .pills { animation: nudge .4s var(--ease); }
@keyframes nudge { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- ATH Móvil instructions (thank-you page / my account) ---------- */
.athm-box { margin: 8px 0 28px; padding: 20px; border: 2px solid var(--fg); border-radius: var(--radius-lg); }
.athm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.athm-logo { height: 48px; width: auto; }
.athm-badge { display: inline-block; margin: 0; padding: 4px 10px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.athm-box h2 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.athm-rows { margin: 0 0 12px; }
.athm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.athm-row:last-child { border-bottom: 0; }
.athm-row dt { color: var(--muted); font-size: 14px; }
.athm-row dd { margin: 0; display: flex; align-items: center; gap: 10px; text-align: right; }
.athm-row strong { font-size: 16px; }
.athm-copy { min-height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 12px; font-weight: 700; }
.athm-copy:active { background: var(--soft); }
.athm-name { font-size: 14px; color: var(--muted); }
.athm-steps { margin: 4px 0 12px; padding-left: 20px; font-size: 14px; }
.athm-steps li { margin-bottom: 4px; }
.athm-foot { margin: 0; font-size: 13px; color: var(--muted); }

/* Order received page (classic template inside the Checkout block) */
.woocommerce-order { max-width: 720px; }
.woocommerce-thankyou-order-received { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
ul.woocommerce-order-overview { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
ul.woocommerce-order-overview li { padding: 12px 14px; border-radius: var(--radius); background: var(--soft); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; color: var(--fg); font-size: 15px; text-transform: none; letter-spacing: 0; }

/* Checkout block: payment options in B&W */
.athm-checkout-label { display: inline-flex; align-items: center; }
.athm-checkout-logo { height: 36px; max-height: none; width: auto; }
.athm-checkout-note { font-size: 14px; color: var(--muted); margin: 0 0 10px; }
.athm-checkout-important { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--soft); border-left: 4px solid var(--fg); font-size: 13px; line-height: 1.45; color: #333; }
.athm-checkout-important strong { color: var(--fg); font-size: 14px; }
.wc-block-components-radio-control__option-checked, .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--fg) !important; border-radius: 12px; }
.wc-block-components-radio-control__input:checked { border-color: var(--fg) !important; }
.wc-block-components-radio-control__input:checked::before { background: var(--fg) !important; }

/* ---------- Footer policy links ---------- */
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 0 0 14px; }
.footer-links a { color: var(--fg); font-size: 13px; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Text pages (policies, contact) ---------- */
.page-wrap .entry-content { max-width: 720px; font-size: 15px; line-height: 1.65; color: #222; }
.page-wrap .entry-content h2 { font-size: 18px; font-weight: 800; margin: 28px 0 8px; color: var(--fg); }
.page-wrap .entry-content ul { padding-left: 20px; margin: 0 0 1em; }
.page-wrap .entry-content li { margin-bottom: 6px; }
.page-wrap .entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.page-wrap .entry-content em { color: var(--muted); font-size: 13px; }

/* ---------- Physical store (Sample by SNKRLBPR) ---------- */
.store-link { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 8px 14px; border-radius: 999px; background: var(--soft); color: var(--fg); font-size: 13px; font-weight: 700; }
.store-link .icon { width: 18px; height: 18px; }
.store-link:active { transform: scale(.97); }
.store-text { margin: 0 0 14px; font-size: 15px; }
.store-map { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.store-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.store-map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.store-map-placeholder .icon { width: 28px; height: 28px; color: var(--fg); }
.store-map.is-loaded .store-map-placeholder { display: none; }
#store .sheet-foot { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .store-map { aspect-ratio: 16 / 10; } }

/* ---------- Footer actions + "Download app" (phones only) ---------- */
.footer-actions { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 14px; }
.footer-actions .store-link { margin: 0; }
.app-link { display: none; }
@media (max-width: 699px) {
	.site-footer .social { display: none; } /* Instagram stays in the top bar. */
	.app-link { display: inline-flex; }
}
@media (display-mode: standalone) { .app-link { display: none; } }
.is-standalone .app-link { display: none; }

.app-perks { list-style: none; margin: 0 0 16px; padding: 0; }
.app-perks li { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 12px; padding: 8px 0; font-size: 15px; line-height: 1.4; }
.app-perks .icon { width: 22px; height: 22px; }
.app-note { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--soft); border-left: 4px solid var(--fg); font-size: 13px; line-height: 1.45; }
.app-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 16px; border-radius: 999px; background: var(--soft); }
.app-tabs button { min-height: 40px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 600; color: var(--muted); }
.app-tabs button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.app-steps { list-style: none; margin: 0 0 8px; padding: 0; counter-reset: app-step; }
.app-steps li { counter-increment: app-step; display: grid; grid-template-columns: 28px 24px 1fr; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
.app-steps li:last-child { border-bottom: 0; }
.app-steps li::before {
	content: counter(app-step); display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 700;
}
#app .sheet-foot { grid-template-columns: 1fr; }
#app .btn[hidden] { display: none; } /* .btn's display would otherwise beat the hidden attribute. */
#app .sheet-foot.has-install { grid-template-columns: 1fr 1fr; }

/* Footer: copyright and "Powered by" on one line */
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; }
.site-footer .footer-bottom p { margin: 0; }
.footer-bottom .powered-by::before { content: "·"; margin-right: 2px; color: var(--muted); }

/* Category chips as a real list (accessibility) */
ul.chips { list-style: none; margin-top: 0; margin-bottom: 0; }
.chips-cats li { flex: none; margin: 0; scroll-snap-align: start; }
