/* ==========================================================================
   Asiafy Theme — Marketo-style e-commerce
   Palette: burgundy #8B0000 primary · white accent · ink #1c1c24
   Font: Rubik · Base 14px/25px
   ========================================================================== */

:root {
	--af-primary: #8B0000;
	--af-primary-dark: #6d0000;
	--af-primary-soft: #fdf2f2;
	--af-accent: #FFFFFF;
	--af-accent-dark: #f0f0f0;
	--af-ink: #1c1c24;
	--af-text: #4a4a4a;
	--af-muted: #999;
	--af-bg: #f5f5f5;
	--af-bg-alt: #fafafc;
	--af-border: #ececec;
	--af-white: #fff;
	--af-green: #25d366;
	--af-red: #ff6251;
	--af-orange: #ff9800;
	--af-blue: #0063d1;
	--af-radius: 5px;
	--af-radius-sm: 3px;
	--af-shadow: 0 1px 3px rgba(0, 0, 0, .08);
	--af-shadow-lg: 0 10px 30px rgba(0, 0, 0, .12);
	--af-ease: .3s ease;
	--af-container: 1320px;
}

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

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

body {
	margin: 0;
	font-family: 'Rubik', sans-serif;
	font-size: 14px;
	line-height: 1.8;
	font-weight: 400;
	color: var(--af-text);
	background: var(--af-white);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--af-ink);
	font-weight: 600;
	line-height: 1.25;
}

p { margin: 0 0 1em; }

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--af-ease);
}
a:hover { color: var(--af-primary); }

img { max-width: 100%; height: auto; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

button,
input,
select,
textarea { font-family: inherit; font-size: inherit; }

button { cursor: pointer; }

table { border-collapse: collapse; }

.af-container {
	width: 100%;
	max-width: var(--af-container);
	margin-inline: auto;
	padding-inline: 15px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}

.af-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	padding: 10px 18px;
	background: var(--af-primary); color: #fff;
}
.af-skip:focus { left: 0; }

/* Buttons */
.af-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border: 2px solid var(--af-primary);
	border-radius: 40px;
	background: var(--af-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	transition: all var(--af-ease);
}
.af-btn:hover {
	background: transparent;
	color: var(--af-primary);
	transform: translateY(-2px);
}
.af-btn--ghost { background: transparent; color: var(--af-primary); }
.af-btn--ghost:hover { background: var(--af-primary); color: #fff; }
.af-btn--dark { background: var(--af-ink); border-color: var(--af-ink); }
.af-btn--dark:hover { background: transparent; color: var(--af-ink); }
.af-btn--gold { background: var(--af-primary); border-color: var(--af-primary); color: #fff; }
.af-btn--gold:hover { background: transparent; color: var(--af-primary); }

/* Section heading — Marketo underline style */
.af-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 34px;
}
.af-section-title {
	position: relative;
	font-size: 26px;
	font-weight: 600;
	padding-bottom: 14px;
	margin: 0;
}
.af-section-title::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 60px; height: 3px;
	border-radius: 2px;
	background: var(--af-primary);
}
.af-section-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--af-primary);
}
.af-section-link:hover { gap: 11px; }

/* Badges */
.af-badge {
	display: inline-block;
	padding: 3px 12px;
	border-radius: 30px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.5;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: #fff;
}
.af-badge--sale { background: var(--af-red); }
.af-badge--new { background: #2eb45b; }
.af-badge--hot { background: var(--af-orange); }

/* Stars */
.af-stars { display: inline-flex; gap: 1px; color: var(--af-primary); }
.af-stars .af-icon { fill: currentColor; stroke: none; }
.af-stars--off { color: #ddd; }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */
.af-topbar {
	background: var(--af-bg);
	border-bottom: 1px solid var(--af-border);
	font-size: 12.5px;
}
.af-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 42px;
	gap: 15px;
	flex-wrap: wrap;
	padding-block: 4px;
}
.af-topbar__side {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}
.af-topbar__link,
.af-topbar__note span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #777;
	font-weight: 400;
}
.af-topbar__link:hover { color: var(--af-primary); }
.af-topbar__link .af-icon { color: var(--af-primary); }
.af-topbar__note { margin: 0; display: flex; align-items: center; }
.af-topbar__note .af-icon { color: var(--af-primary); margin-right: 7px; }
.af-topbar__social {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: 18px;
	padding-left: 18px;
	border-left: 1px solid #ddd;
}
.af-topbar__social a {
	display: grid;
	place-items: center;
	width: 28px; height: 28px;
	border-radius: 50%;
	color: #777;
	transition: all var(--af-ease);
}
.af-topbar__social a:hover {
	background: var(--af-primary);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.af-header {
	position: sticky;
	top: 0;
	z-index: 120;
	background: var(--af-white);
	box-shadow: 0 1px 0 var(--af-border);
}
.af-header.is-stuck { box-shadow: var(--af-shadow-lg); animation: af-slide-down .3s ease; }
@keyframes af-slide-down {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}
.af-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	min-height: 88px;
}

/* Logo */
.af-logo {
	display: inline-flex;
	align-items: baseline;
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	color: var(--af-ink);
	letter-spacing: -.02em;
}
.af-logo__accent { color: var(--af-primary); }
.af-logo__tag {
	font-size: 12px;
	font-weight: 400;
	color: var(--af-muted);
	margin-left: 6px;
	letter-spacing: .08em;
}
.af-logo img { max-height: 52px; width: auto; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { max-height: 52px !important; width: auto !important; height: auto !important; }

/* Horizontal nav */
.af-nav { flex: 1; }
.af-menu {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}
.af-menu > li { position: relative; }
.af-menu > li > a {
	display: block;
	padding: 32px 16px;
	font-size: 14px;
	font-weight: 500;
	color: var(--af-ink);
	position: relative;
}
.af-menu > li > a::after {
	content: "";
	position: absolute;
	left: 16px; right: 16px; bottom: 24px;
	height: 2px;
	background: var(--af-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--af-ease);
}
.af-menu > li:hover > a::after,
.af-menu > li.current-menu-item > a::after { transform: scaleX(1); }
.af-menu .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	z-index: 50;
	min-width: 220px;
	padding: 10px 0;
	background: #fff;
	border-top: 3px solid var(--af-primary);
	box-shadow: var(--af-shadow-lg);
	border-radius: 0 0 var(--af-radius) var(--af-radius);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all var(--af-ease);
}
.af-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.af-menu .sub-menu a {
	display: block;
	padding: 8px 22px;
	font-size: 13px;
	color: var(--af-text);
}
.af-menu .sub-menu a:hover {
	color: var(--af-primary);
	padding-left: 27px;
}
.af-menu--fallback li a { padding: 32px 16px; }

/* Header actions */
.af-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}
.af-action__label { white-space: nowrap; }
.af-cart-total-amt { white-space: nowrap; display: inline-block; max-width: 110px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.af-action {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px;
	color: var(--af-ink);
	background: none;
	border: 0;
}
.af-action:hover { color: var(--af-primary); }
.af-action__label {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
	text-align: left;
}
.af-action__label small { font-size: 11px; color: var(--af-muted); font-weight: 400; }
.af-action__label strong { font-size: 13px; font-weight: 600; color: var(--af-ink); }
.af-cart-total strong { color: var(--af-primary); }
.af-badge-count {
	position: absolute;
	top: 0; right: 0;
	min-width: 18px; height: 18px;
	padding: 0 5px;
	display: grid;
	place-items: center;
	border-radius: 9px;
	background: var(--af-primary);
	color: #fff;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1;
}
.af-badge-count.is-empty { background: #ccc; }

/* Burger (mobile) */
.af-header__burger {
	display: none;
	grid-area: burger;
	place-items: center;
	width: 44px; height: 44px;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius-sm);
	background: #fff;
	color: var(--af-ink);
}

/* Search form (header fallback / drawer) */
.af-search-form { position: relative; width: 100%; }
.af-search-form input[type="search"],
.af-search-form input[type="text"] {
	width: 100%;
	padding: 11px 52px 11px 18px;
	border: 1px solid var(--af-border);
	border-radius: 40px;
	background: var(--af-bg-alt);
	font-size: 13.5px;
	outline: none;
	transition: border var(--af-ease);
}
.af-search-form input:focus { border-color: var(--af-primary); background: #fff; }
.af-search-form button {
	position: absolute;
	right: 4px; top: 4px; bottom: 4px;
	width: 44px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 40px;
	background: var(--af-primary);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Sub navbar: categories toggle · search · promo
   -------------------------------------------------------------------------- */
.af-navbar { background: var(--af-ink); }
.af-navbar__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 25px;
	min-height: 64px;
}
.af-navbar__cat-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 22px;
	border: 0;
	border-radius: var(--af-radius);
	background: var(--af-primary);
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	white-space: nowrap;
	transition: background var(--af-ease);
}
.af-navbar__cat-btn:hover { background: var(--af-primary-dark); color: #fff; }

.af-navbar__search { position: relative; display: flex; max-width: 720px; width: 100%; justify-self: center; }
.af-navbar__search input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 13px 20px;
	border: 0;
	border-radius: var(--af-radius) 0 0 var(--af-radius);
	font-size: 13.5px;
	outline: none;
	background: #fff;
	color: var(--af-ink);
}
.af-navbar__search select {
	max-width: 170px;
	padding: 13px 14px;
	border: 0;
	border-left: 1px solid var(--af-border);
	font-size: 13px;
	color: var(--af-text);
	outline: none;
	background: #fff;
	cursor: pointer;
}
.af-navbar__search button {
	display: grid;
	place-items: center;
	width: 58px;
	border: 0;
	border-radius: 0 var(--af-radius) var(--af-radius) 0;
	background: var(--af-accent);
	color: var(--af-ink);
	transition: background var(--af-ease);
}
.af-navbar__search button:hover { background: var(--af-accent-dark); }

.af-navbar__promo {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 20px;
	border: 1px dashed rgba(255, 255, 255, .25);
	border-radius: var(--af-radius);
	color: #fff;
	font-size: 12.5px;
	line-height: 1.35;
	white-space: nowrap;
	transition: all var(--af-ease);
}
.af-navbar__promo:hover { border-color: var(--af-accent); color: var(--af-accent); }
.af-navbar__promo .af-icon { color: var(--af-accent); flex-shrink: 0; }
.af-navbar__promo strong { display: block; font-size: 13.5px; text-transform: uppercase; letter-spacing: .04em; }
.af-navbar__promo span { opacity: .75; }

/* --------------------------------------------------------------------------
   Drawers + overlay
   -------------------------------------------------------------------------- */
.af-overlay {
	position: fixed;
	inset: 0;
	z-index: 290;
	background: rgba(28, 28, 36, .55);
	opacity: 0;
	visibility: hidden;
	transition: all var(--af-ease);
}
.af-overlay.is-open { opacity: 1; visibility: visible; }

.af-drawer,
.af-categories-drawer {
	position: fixed;
	top: 0; bottom: 0; left: 0;
	z-index: 300;
	width: min(340px, 88vw);
	padding: 22px;
	background: #fff;
	transform: translateX(-105%);
	transition: transform .28s ease;
	overflow-y: auto;
	box-shadow: var(--af-shadow-lg);
}
.af-drawer.is-open,
.af-categories-drawer.is-open { transform: translateX(0); }
.af-drawer__head,
.af-categories-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--af-border);
}
.af-drawer__close,
.af-categories-drawer__close {
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--af-bg);
	color: var(--af-ink);
	transition: all var(--af-ease);
}
.af-drawer__close:hover,
.af-categories-drawer__close:hover { background: var(--af-primary); color: #fff; }

.af-drawer__search { margin-bottom: 18px; }

.af-menu--drawer { flex-direction: column; align-items: stretch; gap: 2px; }
.af-menu--drawer li a {
	display: block;
	padding: 11px 14px;
	border-radius: var(--af-radius-sm);
	font-weight: 500;
	color: var(--af-ink);
}
.af-menu--drawer li a:hover { background: var(--af-primary-soft); color: var(--af-primary); }
.af-menu--drawer .sub-menu { margin-left: 14px; }

.af-categories-list li { border-bottom: 1px dashed var(--af-border); }
.af-categories-list li:last-child { border-bottom: 0; }
.af-categories-list li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 2px;
	font-weight: 500;
	color: var(--af-ink);
}
.af-categories-list li a:hover { color: var(--af-primary); padding-left: 6px; }
.af-categories-list .count { font-size: 12px; color: var(--af-muted); }

/* Acordeón de categorías */
.af-cat-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	padding: 12px 2px;
	border: 0;
	background: transparent;
	color: var(--af-ink);
	font: inherit;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	transition: color var(--af-ease), padding-left var(--af-ease);
}
.af-cat-toggle:hover { color: var(--af-primary); padding-left: 6px; }
.af-cat-toggle svg {
	width: 15px;
	height: 15px;
	flex: none;
	transition: transform var(--af-ease);
}
.af-cat-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.af-cat-children {
	margin: 0 0 6px;
	padding-left: 12px;
	border-left: 2px solid var(--af-primary-soft);
}
.af-cat-children .af-cat-item { border-bottom: 1px dashed var(--af-border); }
.af-cat-children .af-cat-item:last-child { border-bottom: 0; }
.af-cat-children li a { padding: 9px 2px; font-size: 13px; }
.af-cat-children .af-cat-toggle { padding: 9px 2px; font-size: 13px; font-weight: 500; }
.af-cat-all a { font-weight: 600; color: var(--af-primary); }

.af-drawer__cta { margin-top: 20px; width: 100%; }

/* --------------------------------------------------------------------------
   Hero — slider + side banners
   -------------------------------------------------------------------------- */
.af-hero { padding-block: 24px 10px; }
.af-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 22px;
}

/* Slider */
.af-hero__slider {
	position: relative;
	border-radius: var(--af-radius);
	overflow: hidden;
	box-shadow: var(--af-shadow);
	background: var(--af-ink);
}
.af-hero__slides { position: relative; }
.af-hero__slide {
	position: relative;
	display: none;
	min-height: 480px;
}
.af-hero__slide.is-active { display: block; animation: af-fade .6s ease; }
@keyframes af-fade { from { opacity: 0; } to { opacity: 1; } }
.af-hero__slide-img {
	position: absolute;
	inset: 0;
}
.af-hero__slide-img img {
	width: 100%; height: 100%;
	object-fit: cover;
}
.af-hero__slide-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(28, 28, 36, .72) 8%, rgba(28, 28, 36, .25) 60%, transparent);
}
.af-hero__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: 480px;
	max-width: 520px;
	padding: 48px 56px;
	color: #fff;
}
.af-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	margin-bottom: 18px;
	border-radius: 30px;
	background: var(--af-accent);
	color: var(--af-ink);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.af-hero__title {
	margin: 0 0 14px;
	color: #fff;
	font-size: 42px;
	line-height: 1.15;
	font-weight: 700;
}
.af-hero__subtitle {
	margin: 0 0 26px;
	max-width: 430px;
	font-size: 15.5px;
	color: rgba(255, 255, 255, .82);
}
.af-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.af-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 14px 32px;
	border-radius: 40px;
	background: var(--af-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	transition: all var(--af-ease);
}
.af-hero__btn:hover { background: var(--af-accent); color: var(--af-ink); transform: translateY(-2px); }
.af-hero__btn--alt { background: transparent; border: 2px solid rgba(255, 255, 255, .5); }
.af-hero__btn--alt:hover { border-color: #fff; background: #fff; color: var(--af-ink); }

/* Slider dots + arrows */
.af-hero__dots {
	position: absolute;
	left: 56px; bottom: 26px;
	z-index: 3;
	display: flex;
	gap: 8px;
}
.af-hero__dots button {
	width: 10px; height: 10px;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: rgba(255, 255, 255, .45);
	transition: all var(--af-ease);
}
.af-hero__dots button.is-active { width: 26px; background: var(--af-accent); }
.af-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
	color: #fff;
	backdrop-filter: blur(4px);
	opacity: 0;
	transition: all var(--af-ease);
}
.af-hero__slider:hover .af-hero__arrow { opacity: 1; }
.af-hero__arrow:hover { background: var(--af-primary); }
.af-hero__arrow--prev { left: 18px; }
.af-hero__arrow--next { right: 18px; }

/* Side banners */
.af-hero__side {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 22px;
}
.af-side-banner {
	position: relative;
	display: block;
	border-radius: var(--af-radius);
	overflow: hidden;
	min-height: 228px;
	background: linear-gradient(135deg, var(--af-ink), #33333f);
	box-shadow: var(--af-shadow);
}
.af-side-banner img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.af-side-banner:hover img { transform: scale(1.06); }
.af-side-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 30%, rgba(28, 28, 36, .78));
}
.af-side-banner__body {
	position: absolute;
	left: 24px; right: 24px; bottom: 20px;
	color: #fff;
}
.af-side-banner__tag {
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--af-accent);
}
.af-side-banner__title { margin: 4px 0 0; font-size: 19px; line-height: 1.3; color: #fff; }

/* --------------------------------------------------------------------------
   Promo banners row (3-up)
   -------------------------------------------------------------------------- */
.af-promos { padding-block: 12px; }
.af-promos__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.af-promo {
	position: relative;
	display: block;
	border-radius: var(--af-radius);
	overflow: hidden;
	min-height: 190px;
	background: var(--af-bg);
	box-shadow: var(--af-shadow);
}
.af-promo img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.af-promo:hover img { transform: scale(1.07); }
.af-promo__body {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 26px 30px;
	background: linear-gradient(90deg, rgba(28, 28, 36, .82) 20%, rgba(28, 28, 36, .45) 60%, transparent);
	color: #fff;
}
.af-promo__tag {
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--af-accent);
}
.af-promo__title { margin: 5px 0 0; font-size: 21px; color: #fff; }
.af-promo__more {
	margin-top: 8px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #fff;
	border-bottom: 1px solid var(--af-accent);
	padding-bottom: 2px;
}
.af-promo__logos {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
}
.af-promo__logos img {
	position: static;
	width: 36px;
	height: 36px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: .9;
	transition: opacity var(--af-ease), transform var(--af-ease);
	border-radius: 4px;
	background: transparent;
}
.af-promo:hover .af-promo__logos img {
	opacity: 1;
	transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.af-section { padding-block: 46px; }
.af-section--gray { background: var(--af-bg-alt); }

/* --------------------------------------------------------------------------
   Tabs (Top categories / product filters — home page)
   -------------------------------------------------------------------------- */
.af-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.af-tabs button {
	padding: 9px 20px;
	border: 1px solid var(--af-border);
	border-radius: 30px;
	background: #fff;
	color: var(--af-text);
	font-size: 13px;
	font-weight: 500;
	transition: all var(--af-ease);
}
.af-tabs button:hover { border-color: var(--af-primary); color: var(--af-primary); }
.af-tabs button.is-active {
	background: var(--af-primary);
	border-color: var(--af-primary);
	color: #fff;
}

.af-tab-panel { display: none; }
.af-tab-panel.is-active { display: block; animation: af-fade .4s ease; }

/* --------------------------------------------------------------------------
   Shop grid + card (Marketo-style)
   -------------------------------------------------------------------------- */
.products { list-style: none !important; margin: 0 !important; padding: 0 !important; }
ul.products { list-style: none !important; }
ul.products li { list-style: none !important; padding: 0 !important; margin: 0 !important; width: 25% !important; float: none !important; }

.af-grid-products,
ul.products {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 24px;
}

.af-card,
li.product {
	position: relative;
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	overflow: hidden;
	transition: all var(--af-ease);
	padding: 0 !important;
	margin: 0 !important;
	width: auto !important;
}
.af-card:hover,
li.product:hover {
	border-color: transparent;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
	transform: translateY(-4px);
}

/* Card media */
.af-card__media,
li.product .woocommerce-loop-product__link {
	position: relative;
	display: block;
	background: #f7f7f7;
	overflow: hidden;
}
.af-card__media img,
li.product img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	transition: transform .45s ease;
	display: block;
	padding: 18px;
	box-sizing: border-box;
}
.af-card:hover .af-card__media img,
li.product:hover img { transform: scale(1.05); }

/* Badges */
.af-card__badge {
	position: absolute;
	z-index: 3;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.af-card__badge--sale {
	top: 12px;
	left: 12px;
	background: #62ab00;
	color: #fff;
	border-radius: 50%;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	font-size: 12px;
}
.af-card__badge--source {
	top: 12px;
	right: 12px;
	background: var(--af-primary);
	color: #fff;
	border-radius: 4px;
}
li.product .onsale {
	display: none !important;
}

/* Hover overlay */
.af-card__overlay {
	position: absolute;
	inset: 0;
	background: rgba(28, 28, 36, .7);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	opacity: 0;
	transition: opacity var(--af-ease);
	z-index: 2;
}
.af-card:hover .af-card__overlay { opacity: 1; }
.af-card__act {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: var(--af-ink);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
	transition: all var(--af-ease);
	cursor: pointer;
	text-decoration: none;
}
.af-card__act:hover {
	background: var(--af-primary);
	color: #fff;
}

/* Card body */
.af-card__body,
li.product .woocommerce-loop-product__title + .price {
	padding: 14px 16px 18px;
	text-align: center;
}
.af-card__cat,
li.product .product-category {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--af-muted);
}
.af-card__title,
li.product .woocommerce-loop-product__title {
	display: block;
	margin: 4px 0 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--af-ink);
	min-height: 40px;
}
.af-card__title a,
li.product .woocommerce-loop-product__title a {
	color: inherit;
	text-decoration: none;
}
li.product .woocommerce-loop-product__title { border: 0 !important; padding: 0 !important; }
.af-card__title a:hover,
li.product .woocommerce-loop-product__title a:hover { color: var(--af-primary); }

/* Price */
.af-card__price,
li.product .price {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 8px;
	font-size: 17px;
	font-weight: 700;
	color: var(--af-primary);
	margin: 6px 0;
}
li.product .price { border: 0 !important; padding: 0 16px !important; }
li.product .price del,
.af-card__price del {
	font-size: 13px;
	font-weight: 400;
	color: var(--af-muted);
	text-decoration: line-through;
}
li.product .price ins,
.af-card__price ins {
	text-decoration: none;
	background: transparent;
	font-weight: 700;
	color: var(--af-primary);
}

/* Stock */
.af-card__stock,
li.product .stock {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 12px;
	color: #62ab00;
	margin-top: 6px;
	padding: 0 16px;
}
li.product .stock { border: 0 !important; }
.af-card__stock-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #62ab00;
	display: inline-block;
}

/* Card footer — buy button */
.af-card__footer {
	padding: 0 16px 16px;
}
.af-card__buy {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 10px;
	border: 1px solid var(--af-primary);
	border-radius: 8px;
	background: transparent;
	color: var(--af-primary);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all var(--af-ease);
}
.af-card__buy:hover {
	background: var(--af-primary);
	color: #fff;
}
.af-card__buy.loading {
	opacity: .55;
	pointer-events: none;
}
.af-card__buy.added {
	background: #62ab00;
	border-color: #62ab00;
	color: #fff;
}

/* Add-to-cart (loop) */
li.product .button,
.af-card__btn {
	margin-top: 10px;
	width: calc(100% - 32px);
	margin-left: 16px;
	margin-right: 16px;
	padding: 10px;
	border: 1px solid var(--af-primary);
	border-radius: 40px;
	background: transparent;
	color: var(--af-primary);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	transition: all var(--af-ease);
	text-align: center;
	display: block;
}
li.product .button:hover,
.af-card__btn:hover,
li.product .button.added {
	background: var(--af-primary);
	color: #fff;
}
li.product .button.loading { opacity: .55; pointer-events: none; }

/* Category circle strip */
.af-cats-strip {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 18px;
}
.af-cat-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 18px 10px;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	background: #fff;
	text-align: center;
	transition: all var(--af-ease);
}
.af-cat-chip:hover {
	border-color: var(--af-primary);
	box-shadow: var(--af-shadow-lg);
	transform: translateY(-4px);
}
.af-cat-chip__ico {
	display: grid;
	place-items: center;
	width: 62px; height: 62px;
	border-radius: 50%;
	background: var(--af-primary-soft);
	color: var(--af-primary);
	font-size: 19px;
	font-weight: 700;
	overflow: hidden;
}
.af-cat-chip__ico img { width: 100%; height: 100%; object-fit: cover; }
.af-cat-chip span:last-child {
	font-size: 13px;
	font-weight: 500;
	color: var(--af-ink);
	line-height: 1.3;
}

/* --------------------------------------------------------------------------
   Flash sale / Deal of the day
   -------------------------------------------------------------------------- */
.af-flash__grid {
	display: grid;
	grid-template-columns: 420px minmax(0, 1fr);
	gap: 24px;
}
.af-flash__banner {
	position: relative;
	display: block;
	border-radius: var(--af-radius);
	overflow: hidden;
	min-height: 100%;
	background: linear-gradient(160deg, var(--af-primary), #3d0000);
	color: #fff;
	padding: 38px 34px;
}
.af-flash__banner img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: .28;
	mix-blend-mode: luminosity;
}
.af-flash__banner-body { position: relative; z-index: 2; }
.af-flash__banner-tag {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 30px;
	background: var(--af-accent);
	color: var(--af-ink);
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
}
.af-flash__banner h3 {
	margin: 16px 0 10px;
	color: #fff;
	font-size: 30px;
	line-height: 1.2;
}
.af-flash__banner p { color: rgba(255, 255, 255, .78); max-width: 280px; }

.af-flash__panel { background: #fff; border: 1px solid var(--af-border); border-radius: var(--af-radius); padding: 28px; }
.af-flash__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}
.af-countdown {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.af-countdown__label { font-size: 13px; font-weight: 500; color: var(--af-red); margin-right: 6px; }
.af-countdown__box {
	min-width: 46px;
	padding: 7px 6px;
	border-radius: var(--af-radius-sm);
	background: var(--af-ink);
	color: #fff;
	text-align: center;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
}
.af-countdown__box small {
	display: block;
	font-size: 9.5px;
	font-weight: 400;
	text-transform: uppercase;
	opacity: .65;
	letter-spacing: .05em;
}
.af-countdown__sep { color: var(--af-ink); font-weight: 700; }

.af-flash__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.af-mini {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 16px;
	padding: 14px;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	transition: all var(--af-ease);
	background: #fff;
}
.af-mini:hover { border-color: var(--af-primary); box-shadow: var(--af-shadow); }
.af-mini__img { background: var(--af-bg-alt); border-radius: var(--af-radius-sm); overflow: hidden; }
.af-mini__img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.af-mini__cat { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--af-muted); }
.af-mini__title {
	display: block;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--af-ink);
	margin: 3px 0 6px;
}
.af-mini__title:hover { color: var(--af-primary); }
.af-mini__price { font-weight: 700; color: var(--af-primary); font-size: 15px; }
.af-mini__price del { font-weight: 400; font-size: 12px; color: var(--af-muted); margin-left: 6px; }
.af-mini__add {
	margin-top: 8px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 16px;
	border: 0;
	border-radius: 30px;
	background: var(--af-ink);
	color: #fff;
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
	transition: background var(--af-ease);
}
.af-mini__add:hover { background: var(--af-primary); color: #fff; }

/* --------------------------------------------------------------------------
   Category product rows (banner + 2 wide cards)
   -------------------------------------------------------------------------- */
.af-row + .af-row { margin-top: 26px; }
.af-row__grid {
	display: grid;
	grid-template-columns: 380px minmax(0, 1fr);
	gap: 24px;
}
.af-row__side {
	position: relative;
	display: block;
	border-radius: var(--af-radius);
	overflow: hidden;
	min-height: 100%;
	background: linear-gradient(150deg, var(--af-ink), #2c2c37);
	color: #fff;
}
.af-row__side img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	opacity: .35;
	transition: transform .5s ease;
}
.af-row__side:hover img { transform: scale(1.06); }
.af-row__side-body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 420px;
	padding: 30px;
}
.af-row__side-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--af-accent); }
.af-row__side-title { margin: 8px 0 10px; font-size: 25px; color: #fff; line-height: 1.25; }
.af-row__side-more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: #fff;
}
.af-row__side:hover .af-row__side-more { color: var(--af-accent); }

.af-row__list { display: grid; gap: 18px; }
.af-wide {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 0;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	overflow: hidden;
	background: #fff;
	transition: all var(--af-ease);
}
.af-wide:hover { box-shadow: var(--af-shadow-lg); border-color: transparent; }
.af-wide__media {
	position: relative;
	background: var(--af-bg-alt);
	padding: 20px;
	overflow: hidden;
}
.af-wide__media img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .45s ease; }
.af-wide:hover .af-wide__media img { transform: scale(1.08); }
.af-wide__flag { position: absolute; top: 12px; left: 12px; }
.af-wide__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 24px 28px;
	border-left: 1px solid var(--af-border);
}
.af-wide__cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--af-muted); }
.af-wide__title { margin: 6px 0 8px; font-size: 18px; line-height: 1.35; }
.af-wide__title a { color: var(--af-ink); }
.af-wide__title a:hover { color: var(--af-primary); }
.af-wide__rating { margin-bottom: 8px; }
.af-wide__price { display: flex; align-items: baseline; gap: 10px; font-size: 19px; font-weight: 700; color: var(--af-primary); }
.af-wide__price del { font-size: 13.5px; font-weight: 400; color: var(--af-muted); }
.af-wide__foot { display: flex; align-items: center; gap: 14px; margin-top: 15px; flex-wrap: wrap; }
.af-wide__add {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	border: 0;
	border-radius: 40px;
	background: var(--af-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	transition: all var(--af-ease);
}
.af-wide__add:hover { background: var(--af-ink); color: #fff; }
.af-wide__wish {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border: 1px solid var(--af-border);
	border-radius: 50%;
	background: #fff;
	color: var(--af-ink);
	transition: all var(--af-ease);
}
.af-wide__wish:hover { border-color: var(--af-red); color: var(--af-red); }

/* --------------------------------------------------------------------------
   Gadget 2x2 grid
   -------------------------------------------------------------------------- */
.af-gadget__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.af-gadget {
	position: relative;
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	padding: 24px;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	background: #fff;
	transition: all var(--af-ease);
}
.af-gadget:hover { box-shadow: var(--af-shadow-lg); border-color: transparent; }
.af-gadget__img { background: var(--af-bg-alt); border-radius: var(--af-radius-sm); overflow: hidden; }
.af-gadget__img img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .45s ease; }
.af-gadget:hover .af-gadget__img img { transform: scale(1.08); }
.af-gadget__cat { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--af-muted); }
.af-gadget__title { margin: 5px 0 7px; font-size: 16.5px; line-height: 1.35; }
.af-gadget__title a { color: var(--af-ink); }
.af-gadget__title a:hover { color: var(--af-primary); }
.af-gadget__price { font-size: 16px; font-weight: 700; color: var(--af-primary); }
.af-gadget__price del { font-size: 12.5px; font-weight: 400; color: var(--af-muted); margin-left: 7px; }
.af-gadget__link {
	margin-top: 9px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--af-primary);
}

/* --------------------------------------------------------------------------
   Steps v2 — premium timeline
   -------------------------------------------------------------------------- */
.af-steps-v2 {
	background: var(--af-bg-alt);
	padding-block: clamp(56px, 7vw, 92px);
}
.af-steps-v2__head {
	text-align: center;
	max-width: 620px;
	margin: 0 auto 60px;
}
.af-steps-v2__eyebrow { margin-bottom: 18px; }
.af-steps-v2__title {
	display: inline-block;
	font-size: clamp(28px, 3.4vw, 42px);
	margin-bottom: 14px;
}
.af-steps-v2__title::after { left: 50%; transform: translateX(-50%); }
.af-steps-v2__lead { color: var(--af-text); font-size: 15.5px; margin: 0; }

.af-timeline {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	position: relative;
	counter-reset: af-step-v2;
}
.af-timeline::before {
	content: "";
	position: absolute;
	top: 31px;
	left: 12.5%;
	right: 12.5%;
	height: 2px;
	background: linear-gradient(90deg, var(--af-primary), var(--af-primary-dark), var(--af-primary));
	z-index: 0;
}
.af-step-v2 {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.af-step-v2:nth-child(even) .af-step-v2__card { margin-top: 54px; }

.af-step-v2__num {
	display: grid;
	place-items: center;
	width: 62px; height: 62px;
	border-radius: 50%;
	background: var(--af-bg-alt);
	border: 2px solid var(--af-primary);
	color: var(--af-primary);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .06em;
	box-shadow: 0 0 0 8px var(--af-bg-alt), inset 0 0 0 1px rgba(139, 0, 0, .12);
	transition: all var(--af-ease);
}
.af-step-v2__card {
	width: 100%;
	min-height: 218px;
	margin-top: 22px;
	padding: 26px 22px 24px;
	background: #fff;
	border: 1px solid rgba(28, 28, 36, .08);
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(28, 28, 36, .07);
	text-align: center;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.af-step-v2__ico {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 52px; height: 52px;
	margin-bottom: 18px;
	border-radius: 14px;
	color: #fff;
	transition: transform .25s ease, box-shadow .25s ease;
}
.af-step-v2__ico-inner {
	display: grid;
	place-items: center;
	width: 100%; height: 100%;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--af-primary), #bd3434);
	box-shadow:
		0 0 0 5px rgba(255, 215, 0, .28),
		0 10px 22px rgba(139, 0, 0, .28);
}
.af-step-v2__title {
	font-size: 18px;
	line-height: 1.25;
	margin-bottom: 10px;
}
.af-step-v2__text {
	font-size: 13.5px;
	line-height: 1.6;
	color: #70707a;
	margin: 0;
}

.af-step-v2:hover .af-step-v2__card {
	transform: translateY(-8px);
	box-shadow: 0 18px 38px rgba(28, 28, 36, .13);
	border-color: rgba(139, 0, 0, .22);
}
.af-step-v2:hover .af-step-v2__ico {
	transform: translateY(-3px) rotate(-3deg);
}
.af-step-v2:hover .af-step-v2__ico-inner {
	box-shadow: 0 12px 26px rgba(139, 0, 0, .32);
}
.af-step-v2:hover .af-step-v2__num {
	background: var(--af-primary);
	color: #fff;
	border-color: var(--af-primary);
	box-shadow: 0 0 0 8px var(--af-bg-alt), 0 6px 16px rgba(139, 0, 0, .35);
}

@media (max-width: 991px) {
	.af-timeline { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
	.af-timeline::before { display: none; }
	.af-step-v2:nth-child(even) .af-step-v2__card { margin-top: 22px; }
}
@media (max-width: 599px) {
	.af-timeline { grid-template-columns: 1fr; gap: 18px; }
	.af-step-v2 {
		display: grid;
		grid-template-columns: 62px 1fr;
		column-gap: 18px;
		align-items: start;
	}
	.af-step-v2__card {
		margin-top: 0;
		text-align: left;
		min-height: 0;
	}
	.af-step-v2:not(:last-child)::before {
		content: "";
		position: absolute;
		left: 30px;
		top: 62px;
		bottom: -18px;
		width: 2px;
		background: var(--af-accent);
	}
	.af-step-v2__ico { margin-bottom: 14px; }
}

/* --------------------------------------------------------------------------
   Testimonios
   -------------------------------------------------------------------------- */
.af-testi__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 24px;
	align-items: stretch;
}
.af-testi__panel {
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	padding: 34px;
}
.af-testi__tabs { display: flex; gap: 12px; margin-bottom: 24px; }
.af-testi__tabs button {
	width: 54px; height: 54px;
	padding: 0;
	border: 2px solid var(--af-border);
	border-radius: 50%;
	background: var(--af-bg-alt) center/cover no-repeat;
	font-weight: 600;
	color: var(--af-muted);
	transition: all var(--af-ease);
}
.af-testi__tabs button.is-active { border-color: var(--af-primary); color: var(--af-primary); }
.af-testi__quote { position: relative; padding-top: 8px; }
.af-testi__stars { margin-bottom: 12px; }
.af-testi__text { font-size: 15.5px; line-height: 1.85; color: var(--af-text); font-style: italic; }
.af-testi__who { display: flex; align-items: center; gap: 13px; margin-top: 18px; }
.af-testi__avatar {
	width: 48px; height: 48px;
	border-radius: 50%;
	background: var(--af-primary);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 600;
	font-size: 16px;
}
.af-testi__name { font-weight: 600; color: var(--af-ink); }
.af-testi__role { font-size: 12.5px; color: var(--af-muted); }
.af-testi__side {
	position: relative;
	border-radius: var(--af-radius);
	overflow: hidden;
	background: linear-gradient(140deg, var(--af-primary), #4d0000);
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 34px;
	min-height: 300px;
}
.af-testi__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.af-testi__side-body { position: relative; z-index: 2; }
.af-testi__side h3 { color: #fff; font-size: 24px; }
.af-testi__side p { color: rgba(255,255,255,.8); }

/* --------------------------------------------------------------------------
   Calculadora de flete
   -------------------------------------------------------------------------- */
.af-calc {
	background: var(--af-ink);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.af-calc::before {
	content: "";
	position: absolute;
	right: -120px; top: -120px;
	width: 380px; height: 380px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139, 0, 0, .55), transparent 70%);
}
.af-calc__inner { position: relative; z-index: 2; padding-block: 54px; }
.af-calc__title { color: #fff; font-size: 27px; }
.af-calc__title span { color: var(--af-accent); }
.af-calc__sub { color: rgba(255, 255, 255, .68); margin-bottom: 28px; }
.af-calc__form {
	display: grid;
	grid-template-columns: repeat(4, 1fr) auto;
	gap: 14px;
	align-items: end;
}
.af-calc__field label {
	display: block;
	font-size: 11.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: rgba(255, 255, 255, .6);
	margin-bottom: 7px;
}
.af-calc__field input,
.af-calc__field select {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: var(--af-radius);
	background: rgba(255, 255, 255, .07);
	color: #fff;
	outline: none;
	transition: border var(--af-ease);
}
.af-calc__field select option { color: var(--af-ink); }
.af-calc__field input:focus,
.af-calc__field select:focus { border-color: var(--af-accent); }
.af-calc__submit {
	padding: 13px 30px;
	border: 0;
	border-radius: var(--af-radius);
	background: var(--af-accent);
	color: var(--af-ink);
	font-weight: 700;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .05em;
	transition: all var(--af-ease);
	white-space: nowrap;
}
.af-calc__submit:hover { background: var(--af-primary); color: #fff; }
.af-calc__result {
	margin-top: 20px;
	padding: 18px 24px;
	border-radius: var(--af-radius);
	background: rgba(139, 0, 0, .35);
	border: 1px dashed rgba(255, 215, 0, .5);
	font-size: 15px;
	display: none;
}
.af-calc__result.is-visible { display: block; animation: af-fade .4s ease; }
.af-calc__result strong { color: var(--af-accent); font-size: 21px; }

/* --------------------------------------------------------------------------
   CTA / Newsletter — premium pre-footer band
   -------------------------------------------------------------------------- */
.af-cta {
	padding-block: 20px;
}
.af-cta__inner {
	position: relative;
	overflow: hidden;
	background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.12), transparent 30%),
		linear-gradient(115deg, #720000, #8B0000 58%, #5f0000);
	border-radius: 24px;
	padding: 52px 60px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
	gap: 56px;
	align-items: center;
}
.af-cta__inner::after {
	content: "";
	position: absolute;
	width: 280px;
	height: 280px;
	right: -100px;
	bottom: -150px;
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 50%;
	box-shadow: 0 0 0 24px rgba(255,255,255,.03), 0 0 0 48px rgba(255,255,255,.02);
	pointer-events: none;
}
.af-cta__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--af-accent);
	margin-bottom: 12px;
}
.af-cta__title {
	color: #fff;
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.1;
	margin: 0 0 14px;
}
.af-cta__title span { color: var(--af-accent); }
.af-cta__text {
	margin: 0;
	color: rgba(255,255,255,.78);
	font-size: 15px;
	line-height: 1.6;
}
.af-cta__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 26px;
	list-style: none;
	padding: 0;
}
.af-cta__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 999px;
	color: rgba(255,255,255,.88);
	background: rgba(28,28,36,.16);
	font-size: 13px;
	white-space: nowrap;
}
.af-cta__panel {
	background: var(--af-ink);
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 16px 34px rgba(0,0,0,.2);
}
.af-cta__form-wrap {
	display: flex;
	gap: 10px;
}
.af-cta__input {
	flex: 1;
	min-width: 0;
	height: 50px;
	padding: 0 16px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 9px;
	background: #292932;
	color: #fff;
	font-size: 14px;
	outline: none;
	transition: border-color var(--af-ease), box-shadow var(--af-ease);
}
.af-cta__input::placeholder { color: rgba(255,255,255,.4); }
.af-cta__input:focus {
	border-color: var(--af-accent);
	box-shadow: 0 0 0 3px rgba(255,255,255,.16);
}
.af-cta__btn {
	height: 50px;
	padding: 0 22px;
	border: 0;
	border-radius: 9px;
	background: var(--af-accent);
	color: var(--af-ink);
	font-weight: 700;
	font-size: 14px;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .2s, box-shadow .2s, background .2s;
}
.af-cta__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(255,255,255,.2);
	background: var(--af-primary);
	color: #fff;
}
.af-cta__wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
	padding: 10px 0;
	color: var(--af-accent);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity var(--af-ease);
}
.af-cta__wa:hover { opacity: .8; color: var(--af-accent); }
@media (max-width: 991px) {
	.af-cta__inner { grid-template-columns: 1fr; padding: 36px 32px; gap: 32px; }
}
@media (max-width: 767px) {
	.af-cta__inner { padding: 28px 20px; }
	.af-cta__form-wrap { flex-direction: column; }
	.af-cta__btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Marcas — real platform logos on dark strip
   -------------------------------------------------------------------------- */
.af-brands {
	background: var(--af-ink);
	padding-block: 28px;
	border-top: 1px solid rgba(255,255,255,.08);
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.af-brands__row {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 32px;
	align-items: center;
}
.af-brand {
	display: grid;
	place-items: center;
	padding: 8px;
	opacity: .62;
	filter: grayscale(1) brightness(0) invert(1);
	transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}
.af-brand:hover {
	opacity: 1;
	filter: grayscale(0) brightness(1) invert(0);
	transform: translateY(-2px);
}
.af-brand img {
	max-width: 132px;
	max-height: 44px;
	width: 100%;
	height: auto;
	object-fit: contain;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.af-footer { background: var(--af-ink); color: #a5a5ad; font-size: 13.5px; }
.af-footer__main {
	display: grid;
	grid-template-columns: 1.35fr 1fr .8fr .8fr;
	gap: 40px;
	padding-block: 58px 44px;
}
.af-footer .af-logo { color: #fff; font-size: 26px; }
	.af-footer .af-logo img { filter: brightness(0) invert(1); }
.af-footer__about { margin: 16px 0 20px; line-height: 1.9; max-width: 320px; }
.af-footer__contact li { display: flex; gap: 11px; margin-bottom: 9px; align-items: flex-start; }
.af-footer__contact .af-icon { color: var(--af-accent); flex-shrink: 0; margin-top: 4px; }
.af-footer__heading {
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 20px;
	position: relative;
	padding-bottom: 12px;
}
.af-footer__heading::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 34px; height: 2px;
	background: var(--af-primary);
}
.af-footer__links li { margin-bottom: 10px; }
.af-footer__links a { color: #a5a5ad; display: inline-flex; align-items: center; gap: 8px; }
.af-footer__links a::before {
	content: "";
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--af-primary);
	opacity: .7;
	transition: all var(--af-ease);
}
.af-footer__links a:hover { color: #fff; padding-left: 4px; }
.af-footer__links a:hover::before { background: var(--af-accent); opacity: 1; }
.af-footer__pay { display: flex; gap: 10px; flex-wrap: wrap; }
.af-footer__pay span {
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: var(--af-radius-sm);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .05em;
	color: #cfcfd6;
	text-transform: uppercase;
}
.af-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .09); }
.af-footer__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 58px;
	flex-wrap: wrap;
	font-size: 12.5px;
}
.af-footer__legal { margin: 0; color: #88888f; }
.af-footer__legal strong { color: var(--af-accent); font-weight: 600; }
.af-footer__social { display: flex; gap: 6px; }
.af-footer__social a {
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .07);
	color: #cfcfd6;
	transition: all var(--af-ease);
}
.af-footer__social a:hover { background: var(--af-primary); color: #fff; }

/* --------------------------------------------------------------------------
   Floating: WhatsApp + Back to top
   -------------------------------------------------------------------------- */
.af-wa-float {
	position: fixed;
	right: 22px; bottom: 88px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 54px; height: 54px;
	border-radius: 50%;
	background: var(--af-green);
	color: #fff;
	box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px) scale(.9);
	transition: all var(--af-ease);
}
.af-wa-float.is-visible { opacity: 1; visibility: visible; transform: none; animation: af-pulse 2.4s infinite; }
.af-wa-float:hover { color: #fff; transform: scale(1.08); }
@keyframes af-pulse {
	0% { box-shadow: 0 8px 22px rgba(37, 211, 102, .45); }
	50% { box-shadow: 0 8px 22px rgba(37, 211, 102, .75); }
	100% { box-shadow: 0 8px 22px rgba(37, 211, 102, .45); }
}
.af-totop {
	position: fixed;
	right: 26px; bottom: 26px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--af-ink);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all var(--af-ease);
}
.af-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.af-totop:hover { background: var(--af-primary); }

/* --------------------------------------------------------------------------
   WooCommerce base overrides
   -------------------------------------------------------------------------- */
.woocommerce-result-count,
.woocommerce-ordering select { font-size: 13px; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 !important; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product { display: block !important; float: none !important; clear: none !important; }
.woocommerce ul.products li.product {
	width: auto !important;
	float: none !important;
	margin: 0 !important;
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	overflow: hidden;
	padding-bottom: 18px;
	text-align: center;
	transition: all var(--af-ease);
}
.woocommerce ul.products li.product:hover { box-shadow: var(--af-shadow-lg); transform: translateY(-4px); }
.woocommerce ul.products li.product img { margin: 0 0 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14.5px; font-weight: 500; padding: 0 16px; color: var(--af-ink); }
.woocommerce ul.products li.product .price { color: var(--af-primary) !important; font-weight: 700; font-size: 16px; }
.woocommerce ul.products li.product .button {
	margin-top: 10px;
	border-radius: 40px;
	background: var(--af-primary) !important;
	color: #fff;
	font-weight: 600;
	padding: 10px 22px;
}
.woocommerce span.onsale {
	background: var(--af-red) !important;
	border-radius: 30px;
	font-weight: 600;
	line-height: 1.6;
	min-height: auto;
	min-width: auto;
	padding: 3px 12px;
	z-index: 5;
}
.woocommerce div.product .product_title { font-size: 28px; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--af-primary) !important; font-size: 24px; font-weight: 700; }
.woocommerce div.product form.cart .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	border-radius: 40px;
	background: var(--af-primary) !important;
	color: #fff !important;
	font-weight: 600;
	padding: 12px 28px;
	transition: all var(--af-ease);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--af-ink) !important; }
.woocommerce .star-rating span::before { color: var(--af-accent); }

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--af-primary);
	border-radius: var(--af-radius);
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--af-primary); }

/* Pagination */
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; }
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
	min-width: 42px;
	padding: 9px 14px;
	border: 1px solid var(--af-border) !important;
	border-radius: var(--af-radius) !important;
	background: #fff;
	color: var(--af-ink);
	text-align: center;
	font-weight: 500;
}
.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
	background: var(--af-primary) !important;
	border-color: var(--af-primary) !important;
	color: #fff !important;
}

/* --------------------------------------------------------------------------
   Content pages (blog/single)
   -------------------------------------------------------------------------- */
.af-page-wrap { padding-block: 46px; }
.af-page-head { margin-bottom: 30px; }
.af-entry-card {
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	overflow: hidden;
	transition: all var(--af-ease);
}
.af-entry-card:hover { box-shadow: var(--af-shadow-lg); }
.af-entry-card__body { padding: 24px 26px 28px; }
.af-entry-meta { display: flex; gap: 16px; font-size: 12.5px; color: var(--af-muted); margin-bottom: 10px; }
.af-entry-title { font-size: 20px; margin-bottom: 10px; }
.af-entry-title a { color: var(--af-ink); }
.af-entry-title a:hover { color: var(--af-primary); }
.af-post-content { font-size: 15px; line-height: 1.9; }
.af-post-content img { border-radius: var(--af-radius); }
.af-post-content blockquote {
	margin: 24px 0;
	padding: 18px 26px;
	border-left: 4px solid var(--af-primary);
	background: var(--af-bg-alt);
	border-radius: 0 var(--af-radius) var(--af-radius) 0;
	font-style: italic;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.af-grid-products { grid-template-columns: repeat(3, 1fr); }
	.af-cats-strip { grid-template-columns: repeat(4, 1fr); }
	.af-hero__grid { grid-template-columns: minmax(0, 1fr) 330px; }
	.af-hero__title { font-size: 36px; }
	.af-flash__grid { grid-template-columns: 340px minmax(0, 1fr); }
	.af-row__grid { grid-template-columns: 320px minmax(0, 1fr); }
	.af-calc__form { grid-template-columns: repeat(2, 1fr); }
	.af-calc__submit { grid-column: span 2; justify-self: start; }
	.af-brands__row { grid-template-columns: repeat(3, 1fr); }
	.af-footer__main { grid-template-columns: 1fr 1fr; gap: 34px; }
	.af-menu > li > a { padding: 30px 11px; }
}

@media (max-width: 991px) {
	.af-header__inner { min-height: 72px; gap: 14px; }
	.af-header__burger { display: grid; }
	.af-nav { display: none; }
	.af-action__label { display: none; }
	.af-navbar__inner { grid-template-columns: auto minmax(0, 1fr); }
	.af-navbar__promo { display: none; }
	.af-hero__grid { grid-template-columns: 1fr; }
	.af-hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	.af-hero__slide { min-height: 400px; }
	.af-hero__content { min-height: 400px; padding: 34px; }
	.af-hero__dots { left: 34px; }
	.af-flash__grid { grid-template-columns: 1fr; }
	.af-flash__banner { min-height: 240px; }
	.af-row__grid { grid-template-columns: 1fr; }
	.af-row__side-body { min-height: 230px; }
	.af-gadget__grid { grid-template-columns: 1fr; }
	.af-steps__grid { grid-template-columns: repeat(2, 1fr); }
	.af-testi__grid { grid-template-columns: 1fr; }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
	body { font-size: 13.5px; }
	.af-topbar__side:first-child .af-topbar__link:not(:first-child) { display: none; }
	.af-topbar__note { display: none; }
	.af-section { padding-block: 34px; }
	.af-section-title { font-size: 21px; }
	.af-promos__grid { grid-template-columns: 1fr; }
	.af-grid-products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.af-cats-strip { grid-template-columns: repeat(2, 1fr); }
	.af-hero__title { font-size: 28px; }
	.af-hero__content { padding: 24px; }
	.af-hero__arrow { display: none; }
	.af-hero__dots { left: 24px; bottom: 18px; }
	.af-flash__list { grid-template-columns: 1fr; }
	.af-flash__panel { padding: 20px; }
	.af-countdown__box { min-width: 40px; font-size: 14px; }
	.af-wide { grid-template-columns: 130px minmax(0, 1fr); }
	.af-wide__body { padding: 16px 18px; }
	.af-wide__title { font-size: 15px; }
	.af-steps__grid { grid-template-columns: 1fr; }
	.af-calc__form { grid-template-columns: 1fr; }
	.af-calc__submit { grid-column: auto; width: 100%; }
	.af-brands__row { grid-template-columns: repeat(2, 1fr); gap: 20px 18px; }
	.af-brands__row .af-brand:last-child { grid-column: 1 / -1; justify-self: center; }
	.af-footer__main { grid-template-columns: 1fr; gap: 30px; padding-block: 40px 30px; }
	.af-footer__bottom-inner { justify-content: center; text-align: center; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.af-gadget { grid-template-columns: 110px minmax(0, 1fr); padding: 16px; }
	.af-testi__panel { padding: 24px 20px; }
}

/* --------------------------------------------------------------------------
   Compat & extras
   -------------------------------------------------------------------------- */
.af-promo__ico {
	position: absolute;
	right: -14px;
	bottom: -18px;
	z-index: 1;
	color: rgba(255, 255, 255, .16);
	pointer-events: none;
}
.af-flash__banner > .af-icon,
.af-row__side-ico {
	position: absolute;
	right: -20px;
	bottom: -24px;
	color: rgba(255, 255, 255, .12);
	pointer-events: none;
}
.af-section--navy {
	background: var(--af-ink);
}
.af-benefits__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}
.af-benefits__item {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 18px 20px;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	background: #fff;
	transition: all var(--af-ease);
}
.af-benefits__item:hover { border-color: var(--af-primary); box-shadow: var(--af-shadow); }
.af-benefits__item strong { display: block; font-size: 14px; color: var(--af-ink); }
.af-benefits__item small { font-size: 12.5px; color: var(--af-muted); }

@media (max-width: 991px) {
	.af-benefits__grid { grid-template-columns: repeat(2, 1fr); }
	.af-calc__form { grid-template-columns: repeat(2, 1fr); }
	.af-calc__intro { grid-column: span 2; }
}
@media (max-width: 767px) {
	.af-benefits__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Calculator v2 — premium split banner
   -------------------------------------------------------------------------- */
.af-calc {
	background:
		radial-gradient(720px 420px at 88% -12%, rgba(255, 215, 0, .22), transparent 62%),
		linear-gradient(140deg, #4d0000, var(--af-primary) 45%, #2b0000);
}
.af-calc__grid {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
	gap: clamp(36px, 5vw, 72px);
	align-items: center;
	padding-block: clamp(48px, 6vw, 80px);
	position: relative;
	z-index: 2;
}
.af-calc__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 18px;
	margin-bottom: 22px;
	border-radius: 30px;
	background: rgba(28, 28, 36, .35);
	border: 1px solid rgba(255, 255, 255, .3);
	color: var(--af-accent);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	backdrop-filter: blur(3px);
}
.af-calc__title {
	color: #fff;
	font-size: clamp(30px, 3.4vw, 44px);
	line-height: 1.12;
	font-weight: 700;
	letter-spacing: -.02em;
	margin-bottom: 16px;
}
.af-calc__lead {
	color: rgba(255, 255, 255, .8);
	font-size: 16.5px;
	line-height: 1.65;
	max-width: 430px;
	margin-bottom: 26px;
}
.af-calc__notes {
	display: grid;
	gap: 13px;
	margin-bottom: 30px;
}
.af-calc__notes li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	color: rgba(255, 255, 255, .92);
	font-size: 14.5px;
	line-height: 1.55;
}
.af-calc__note-check {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 21px; height: 21px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--af-accent);
	color: var(--af-primary-dark);
}
.af-calc__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 28px;
	border-radius: 40px;
	border: 2px solid rgba(255, 255, 255, .35);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	transition: all var(--af-ease);
}
.af-calc__cta:hover {
	background: var(--af-green);
	border-color: var(--af-green);
	color: #fff;
	transform: translateY(-2px);
}

.af-calc__card {
	background: var(--af-ink);
	border: 1px solid rgba(255, 255, 255, .15);
	border-radius: 18px;
	padding: clamp(24px, 3vw, 34px);
	box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.af-calc__form {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 20px;
}
.af-calc__field--full { grid-column: 1 / -1; }
.af-calc__field span,
#af-calculator .af-field > span {
	display: block;
	margin-bottom: 8px;
	color: rgba(255, 255, 255, .72);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.af-calc__field input,
.af-calc__field select {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	background: #272731;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 10px;
	font-size: 15px;
	outline: none;
	appearance: none;
	transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.af-calc__field select option { color: var(--af-ink); }
.af-calc__field input:focus,
.af-calc__field select:focus {
	border-color: var(--af-accent);
	box-shadow: 0 0 0 3px rgba(255, 215, 0, .18);
	background: #30303b;
}
.af-calc__total {
	grid-column: 1 / -1;
	margin-top: 14px;
	padding: 24px 28px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--af-primary), var(--af-primary-dark));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	transition: transform .2s ease, box-shadow .2s ease;
}
.af-calc__total.is-updated {
	transform: scale(1.02);
	box-shadow: 0 8px 26px rgba(255, 215, 0, .35);
}
.af-calc__total small {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	max-width: 170px;
	line-height: 1.5;
	opacity: .85;
}
.af-calc__total strong {
	font-size: clamp(32px, 4.5vw, 46px);
	line-height: 1;
	font-weight: 700;
	letter-spacing: -.03em;
}

@media (max-width: 991px) {
	.af-calc__grid { grid-template-columns: 1fr; gap: 38px; }
	.af-calc__lead { max-width: none; }
}
@media (max-width: 520px) {
	.af-calc__form { grid-template-columns: 1fr; }
	.af-calc__total { padding: 18px 20px; }
}

/* --------------------------------------------------------------------------
   Shop layout + toolbar
   -------------------------------------------------------------------------- */
.af-breadcrumb { margin-bottom: 16px; }
.af-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 4px;
	font-size: 13px;
}
.af-breadcrumb ol li { display: flex; align-items: center; gap: 4px; }
.af-breadcrumb ol li::after { content: '/'; color: var(--af-muted); }
.af-breadcrumb ol li:last-child::after { content: ''; }
.af-breadcrumb ol li a { color: var(--af-primary); text-decoration: none; }
.af-breadcrumb ol li a:hover { text-decoration: underline; }
.af-breadcrumb ol li span { color: var(--af-muted); }

/* Shop layout with sidebar */
.af-shop__layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 30px;
	align-items: start;
}
.af-shop__main ul.products,
.af-shop__main .af-grid-products {
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 20px;
}
.af-shop__aside {
	position: sticky;
	top: 100px;
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	padding: 24px;
}
.af-shop__aside .widget {
	margin-bottom: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--af-border);
}
.af-shop__aside .widget:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}
.af-shop__aside .widget-title,
.af-widget__title {
	font-size: 16px;
	font-weight: 600;
	color: var(--af-ink);
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--af-primary);
}
.af-shop__aside ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.af-shop__aside ul li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	margin: 0 -12px;
	border-radius: 8px;
	border-bottom: 1px solid #f5f5f5;
	transition: all var(--af-ease);
}
.af-shop__aside ul li:last-child { border-bottom: 0; }
.af-shop__aside ul li:hover {
	background: var(--af-primary-soft);
	border-color: transparent;
}
.af-shop__aside ul li a {
	flex: 1;
	min-width: 0;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--af-ink);
	text-decoration: none;
	transition: color var(--af-ease);
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: flex;
	align-items: center;
	gap: 8px;
}
.af-shop__aside ul li a::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #d9d9e0;
	flex-shrink: 0;
	transition: all var(--af-ease);
}
.af-shop__aside ul li:hover a::before {
	background: var(--af-primary);
	transform: scale(1.3);
}
.af-shop__aside ul li a:hover { color: var(--af-primary); }
.af-shop__aside ul li .count,
.af-shop__aside ul li a .count {
	flex-shrink: 0;
	background: #fff;
	border: 1px solid #ececec;
	padding: 2px 9px;
	border-radius: 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--af-muted);
	line-height: 1.4;
	transition: all var(--af-ease);
	min-width: 32px;
	text-align: center;
}
.af-shop__aside ul li:hover .count,
.af-shop__aside ul li:hover a .count {
	background: var(--af-primary);
	color: #fff;
	border-color: var(--af-primary);
}
/* Sidebar ocultar categorías (fallback) */
.af-shop__aside .widget_product_categories { display: none !important; }
/* Buscador premium sidebar — Marketo */
.af-shop__aside .widget_product_search,
.af-shop__aside .widget_search {
	padding: 0;
}
.af-shop__aside .woocommerce-product-search,
.af-shop__aside .widget_product_search form,
.af-shop__aside .widget_search form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}
.af-shop__aside .woocommerce-product-search .search-field,
.af-shop__aside .widget_product_search .search-field,
.af-shop__aside .widget_search .search-field,
.af-shop__aside .woocommerce-product-search input[type="search"],
.af-shop__aside .widget_search input[type="search"] {
	width: 100%;
	padding: 12px 16px;
	border: 1.5px solid var(--af-border);
	border-radius: 10px;
	background: #fff;
	font-size: 13px;
	color: var(--af-ink);
	outline: none;
	transition: all var(--af-ease);
}
.af-shop__aside .woocommerce-product-search .search-field::placeholder,
.af-shop__aside .widget_search .search-field::placeholder { color: #aaa; }
.af-shop__aside .woocommerce-product-search .search-field:focus,
.af-shop__aside .widget_search .search-field:focus {
	border-color: var(--af-primary);
	box-shadow: 0 0 0 3px rgba(139,0,0,.08);
}
.af-shop__aside .woocommerce-product-search button[type="submit"],
.af-shop__aside .widget_product_search button,
.af-shop__aside .widget_search button,
.af-shop__aside .woocommerce-product-search button {
	width: 100%;
	padding: 11px 18px;
	border: 0;
	border-radius: 40px;
	background: var(--af-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	cursor: pointer;
	transition: all var(--af-ease);
	box-shadow: 0 4px 12px rgba(139,0,0,.15);
}
.af-shop__aside .woocommerce-product-search button:hover,
.af-shop__aside .widget_search button:hover {
	background: #6b0000;
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(139,0,0,.22);
}
/* Price slider */
.af-shop__aside .price_slider_wrapper { margin: 10px 0; }
.af-shop__aside .price_slider {
	background: var(--af-border);
	height: 4px;
	border-radius: 2px;
}
.af-shop__aside .price_slider_amount {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 12px;
	font-size: 13px;
	color: var(--af-muted);
}
.af-shop__aside .button {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 10px;
	border: 0;
	border-radius: 8px;
	background: var(--af-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: background var(--af-ease);
}
.af-shop__aside .button:hover { background: #6b0000; }
/* Product search widget */
.af-shop__aside .product-search form {
	display: flex;
	gap: 0;
}
.af-shop__aside .product-search input[type="search"] {
	flex: 1;
	padding: 10px 12px;
	border: 1px solid var(--af-border);
	border-radius: 8px 0 0 8px;
	font-size: 13px;
	outline: none;
}
.af-shop__aside .product-search button[type="submit"] {
	padding: 10px 14px;
	border: 0;
	border-radius: 0 8px 8px 0;
	background: var(--af-primary);
	color: #fff;
	cursor: pointer;
}
.af-shop { padding-top: 20px; }
.af-shop__main { width: 100%; }

.af-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 20px;
	margin-bottom: 28px;
	background: #f5f5f5;
	border-radius: var(--af-radius);
}
.af-toolbar__left { display: flex; align-items: baseline; gap: 14px; }
.af-toolbar__title {
	font-size: 18px;
	font-weight: 600;
	color: var(--af-ink);
	margin: 0;
}
.af-toolbar__right { display: flex; align-items: center; gap: 16px; }
.result-count { font-size: 13px; color: var(--af-muted); white-space: nowrap; }
.af-toolbar__view { display: flex; gap: 4px; }
.af-toolbar__view-btn {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--af-border);
	border-radius: 6px;
	background: #fff;
	color: var(--af-muted);
	cursor: pointer;
	transition: all var(--af-ease);
}
.af-toolbar__view-btn.active,
.af-toolbar__view-btn:hover {
	background: var(--af-primary);
	border-color: var(--af-primary);
	color: #fff;
}
.orderby {
	padding: 8px 32px 8px 14px;
	border: 1px solid var(--af-border);
	border-radius: 6px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%234a4a4a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center;
	font-size: 13px;
	color: var(--af-ink);
	appearance: none;
	cursor: pointer;
}

/* List view */
ul.products.af-view-list,
.af-grid-products.af-view-list {
	grid-template-columns: 1fr !important;
}
ul.products.af-view-list li.product,
.af-grid-products.af-view-list .af-card {
	display: grid !important;
	grid-template-columns: 200px 1fr !important;
}
ul.products.af-view-list li.product .af-card__media,
ul.products.af-view-list li.product .woocommerce-loop-product__link {
	aspect-ratio: auto;
}
ul.products.af-view-list li.product img {
	aspect-ratio: 1;
	height: 100%;
}

/* Pagination */
.woocommerce-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 40px 0;
}
.woocommerce-pagination .page-numbers {
	display: flex;
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.woocommerce-pagination .page-numbers li a,
.woocommerce-pagination .page-numbers li span {
	display: grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--af-border);
	border-radius: 6px;
	background: #fff;
	color: var(--af-ink);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all var(--af-ease);
}
.woocommerce-pagination .page-numbers li a:hover {
	border-color: var(--af-primary);
	color: var(--af-primary);
}
.woocommerce-pagination .page-numbers li span.current {
	background: var(--af-primary);
	border-color: var(--af-primary);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Shop banner (category header)
   -------------------------------------------------------------------------- */
.af-shopbanner {
	position: relative;
	height: 200px;
	border-radius: var(--af-radius);
	overflow: hidden;
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.af-shopbanner__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(139, 0, 0, .85), rgba(28, 28, 36, .9));
	z-index: 1;
}
.af-shopbanner__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.af-shopbanner__body {
	position: relative;
	z-index: 2;
	text-align: center;
	color: #fff;
}
.af-shopbanner__title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	color: #fff;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Single product page
   -------------------------------------------------------------------------- */
.af-single {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	padding: 30px 0 50px;
}

/* Gallery */
.af-single__gallery { position: relative; }
.af-single__gallery-main {
	position: relative;
	background: #f7f7f7;
	border-radius: var(--af-radius);
	overflow: hidden;
	margin-bottom: 12px;
}
.af-single__gallery-main-img img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	display: block;
}
.af-single__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 3;
}
.af-single__badge-source {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
}
.af-single__zoom {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	display: grid;
	place-items: center;
	color: var(--af-ink);
	box-shadow: var(--af-shadow);
	transition: all var(--af-ease);
	z-index: 4;
	text-decoration: none;
}
.af-single__zoom:hover { background: var(--af-primary); color: #fff; }
.af-single__gallery-thumbs {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 4px 0;
}
.af-single__thumb {
	flex: 0 0 80px;
	height: 80px;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	transition: border-color var(--af-ease);
	opacity: .6;
}
.af-single__thumb.active,
.af-single__thumb:hover {
	border-color: var(--af-primary);
	opacity: 1;
}
.af-single__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Summary */
.af-single__summary { padding-top: 10px; }
.af-single__title {
	font-size: clamp(22px, 2.5vw, 28px);
	font-weight: 600;
	color: var(--af-ink);
	margin: 0 0 12px;
	line-height: 1.3;
}
.af-single__rating {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}
.af-single__rating--empty { opacity: 1; }
.af-single__rating-text {
	font-size: 13px;
	color: var(--af-muted);
	background: #fff7e6;
	border: 1px solid #ffe2a8;
	padding: 3px 10px;
	border-radius: 20px;
	font-weight: 500;
}

/* Stars premium — overlay técnica BOLD */
.af-single__rating {
	background: #FFFBF0;
	border: 1px solid #FFECC0;
	border-radius: 10px;
	padding: 10px 14px;
}
.af-stars-wrapper {
	position: relative;
	display: inline-flex;
	line-height: 1;
	user-select: none;
	vertical-align: middle;
}
.af-stars-bg,
.af-stars-fill {
	display: flex;
	gap: 4px;
}
.af-stars-bg { color: #E8E8ED; }
.af-stars-fill {
	position: absolute;
	top: 0;
	left: 0;
	white-space: nowrap;
	overflow: hidden;
	color: #FFA500;
	filter: drop-shadow(0 1px 2px rgba(255,165,0,.3));
}
.af-star-icon {
	width: 19px;
	height: 19px;
	fill: currentColor;
	flex-shrink: 0;
}
.af-single__rating-score {
	font-size: 15px;
	font-weight: 800;
	color: #fff;
	background: var(--af-primary);
	padding: 4px 9px;
	border-radius: 6px;
	line-height: 1;
	letter-spacing: -.02em;
}
.af-single__rating-divider {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #e0c9a8;
	flex-shrink: 0;
}
.af-single__review-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--af-primary);
	text-decoration: none;
	transition: all var(--af-ease);
	background: #fff;
	border: 1px solid var(--af-primary);
	padding: 4px 12px;
	border-radius: 20px;
}
.af-single__review-link:hover {
	color: #fff;
	background: var(--af-primary);
}
.af-link-arrow {
	width: 14px;
	height: 14px;
	opacity: 1;
	transform: translateX(0);
	transition: all var(--af-ease);
	flex-shrink: 0;
}
.af-single__review-link:hover .af-link-arrow {
	transform: translateX(3px);
}

/* Price */
.af-single__price {
	font-size: 28px;
	font-weight: 700;
	color: var(--af-primary);
	margin-bottom: 16px;
	display: flex;
	align-items: baseline;
	gap: 12px;
}
.af-single__price del {
	font-size: 18px;
	font-weight: 400;
	color: var(--af-muted);
	text-decoration: line-through;
}
.af-single__price ins {
	text-decoration: none;
	background: transparent;
	color: var(--af-primary);
}
.af-single__min-qty {
	display: inline-flex;
	align-items: center;
	margin: 0 0 16px;
	padding: 6px 12px;
	border: 1px solid #f3d2d2;
	border-radius: 20px;
	background: var(--af-primary-soft);
	font-size: 12px;
	font-weight: 600;
	color: var(--af-primary);
}

/* Description */
.af-single__desc {
	font-size: 14px;
	line-height: 1.7;
	color: var(--af-body);
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--af-border);
}

/* Stock */
.af-single__stock {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	margin-bottom: 20px;
}
.af-single__stock--in { color: #62ab00; }
.af-single__stock--out { color: #c00; }

/* Add to cart form */
.af-single .cart {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}
.af-single__qty { display: flex; flex-direction: column; gap: 6px; }
.af-single__qty label,
.af-single__qty-label {
	font-size: 12px;
	font-weight: 500;
	color: var(--af-muted);
	text-transform: uppercase;
	letter-spacing: .04em;
}
.af-single__qty-control,
.af-single__qty > .quantity {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid var(--af-border);
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
}
.af-single__qty-control .quantity {
	display: inline-flex;
	align-items: stretch;
	border: 0;
}
.af-single__qty-btn {
	min-width: 42px;
	height: 46px;
	border: 0;
	background: #f7f7f7;
	color: var(--af-ink);
	font-size: 18px;
	cursor: pointer;
	transition: background var(--af-ease), color var(--af-ease);
}
.af-single__qty-btn:hover { background: var(--af-primary); color: #fff; }
.af-single__qty .qty {
	width: 56px;
	height: 46px;
	border: 0;
	border-left: 1px solid var(--af-border);
	border-right: 1px solid var(--af-border);
	text-align: center;
	font-size: 15px;
	font-weight: 600;
	background: #fff;
	-moz-appearance: textfield;
}
.af-single__qty .qty::-webkit-inner-spin-button,
.af-single__qty .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.single_add_to_cart_button {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	padding: 14px 40px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: linear-gradient(135deg, #b00000, var(--af-primary) 45%, #5f0000) !important;
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	box-shadow: 0 10px 24px rgba(139, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .18);
	transition: box-shadow var(--af-ease), filter var(--af-ease);
	cursor: pointer;
}
.single_add_to_cart_button:hover {
	box-shadow: 0 14px 30px rgba(139, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .24);
	filter: brightness(1.07);
}
.single_add_to_cart_button:active {
	filter: brightness(.96);
	box-shadow: 0 5px 12px rgba(139, 0, 0, .26);
}
.single_add_to_cart_button:disabled,
.single_add_to_cart_button.disabled {
	opacity: .55;
	box-shadow: none;
	cursor: not-allowed;
}
.af-single__buy { flex: 1 1 240px; max-width: 420px; }
.single_add_to_cart_button svg {
	width: 19px;
	height: 19px;
	padding: 7px;
	box-sizing: content-box;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
}
.af-single__total {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	flex: 1 1 100%;
	margin: 0 0 16px;
	padding: 10px 16px;
	border: 1px solid var(--af-border);
	border-radius: 10px;
	background: var(--af-bg-alt);
}
.af-single__total-label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .05em;
	color: var(--af-muted);
}
.af-single__total-amount {
	font-size: 20px;
	font-weight: 700;
	color: var(--af-primary);
}
/* Variations premium — Marketo style */
.variations_form.cart {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.variations {
	width: 100%;
	border: 0;
	margin: 0 0 8px;
	border-collapse: separate;
	border-spacing: 0;
}
.variations tr {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}
.variations tr:last-child { margin-bottom: 0; }
.variations th.label {
	padding: 0;
	text-align: left;
	border: 0;
	background: transparent;
	width: auto;
}
.variations th.label label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--af-ink);
	margin: 0;
}
.variations td.value {
	padding: 0;
	border: 0;
	position: relative;
}
.variations td.value select {
	width: 100%;
	padding: 12px 40px 12px 16px;
	border: 1.5px solid var(--af-border);
	border-radius: 10px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%234a4a4a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
	background-size: 12px;
	font-size: 14px;
	font-weight: 500;
	color: var(--af-ink);
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	transition: all var(--af-ease);
	cursor: pointer;
}
.variations td.value select:focus {
	border-color: var(--af-primary);
	box-shadow: 0 0 0 3px rgba(139,0,0,.08);
	background-color: #fff;
}
.variations .reset_variations {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--af-muted);
	text-decoration: none;
	border: 1px solid var(--af-border);
	padding: 4px 10px;
	border-radius: 20px;
	background: #fafafa;
	transition: all var(--af-ease);
}
.variations .reset_variations:hover {
	color: var(--af-primary);
	border-color: var(--af-primary);
	background: #fff;
}
.woocommerce-variation.single_variation {
	margin-bottom: 12px;
	padding: 12px 14px;
	background: var(--af-primary-soft);
	border: 1px solid #f3d2d2;
	border-radius: 8px;
}
.woocommerce-variation-price .price {
	font-size: 22px !important;
	font-weight: 700;
	color: var(--af-primary) !important;
	margin: 0;
}
.woocommerce-variation-availability { font-size: 12px; color: #62ab00; margin-top: 4px; }
.single_variation_wrap {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.single_variation_wrap .woocommerce-variation-add-to-cart {
	display: flex;
	align-items: flex-end;
	gap: 16px;
	flex-wrap: wrap;
}

/* Meta — pills PREMIUM v2 (más contraste) */
.af-single__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--af-border);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,.04);
	margin-bottom: 22px;
}
.af-single__meta-group {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.af-single__meta-label {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #1c1c24;
	background: #f0f0f5;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
}
.af-pill__list {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.af-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	background: #fff;
	color: var(--af-ink);
	border: 1.5px solid var(--af-primary);
	transition: all .2s cubic-bezier(.16,1,.3,1);
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 1px 4px rgba(139,0,0,.06);
}
.af-pill__icon {
	width: 15px;
	height: 15px;
	color: var(--af-primary);
	flex-shrink: 0;
	transition: color .2s ease;
}
.af-pill:hover {
	background: var(--af-primary);
	color: #fff;
	border-color: var(--af-primary);
	box-shadow: 0 4px 12px rgba(139,0,0,.18);
	transform: translateY(-1px);
}
.af-pill:hover .af-pill__icon { color: #fff; }
.af-pill--platform {
	background: var(--af-primary);
	color: #fff;
	border-color: var(--af-primary);
	font-weight: 700;
}
.af-pill--platform .af-pill__icon { color: #fff; }
.af-pill--platform:hover {
	background: #6d0000;
	border-color: #6d0000;
}
.af-pill--category {
	background: #fff;
	border-color: #e8d5d5;
}
.af-pill--category:hover {
	background: var(--af-primary);
	border-color: var(--af-primary);
	color:#fff;
}

/* Trust badges */
.af-single__trust {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.af-single__trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--af-ink);
}
.af-single__trust-item svg { color: var(--af-primary); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Product tabs (Marketo-style) — soporta ambas nomenclaturas
   -------------------------------------------------------------------------- */
#af-product-tabs,
.af-product-tabs {
	margin: 50px 0;
	border: 1px solid var(--af-border);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.af-tabs__nav,
.af-product-tabs__nav {
	display: flex;
	border-bottom: 1px solid var(--af-border);
	background: #fafafa;
	gap: 0;
}
.af-tabs__btn,
.af-product-tabs__btn {
	flex: 1;
	padding: 16px 24px;
	border: 0;
	border-bottom: 3px solid transparent;
	background: transparent;
	color: #8a8a96;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	cursor: pointer;
	transition: all var(--af-ease);
	position: relative;
	text-align: center;
	margin-bottom: -1px;
}
.af-tabs__btn::after,
.af-product-tabs__btn::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--af-primary);
	transform: scaleX(0);
	transition: transform var(--af-ease);
}
.af-tabs__btn:hover,
.af-product-tabs__btn:hover { color: var(--af-ink); background: #fff; }
.af-tabs__btn.active,
.af-product-tabs__btn.active {
	color: var(--af-primary);
	background: #fff;
	border-bottom-color: var(--af-primary);
}
.af-tabs__btn.active::after,
.af-product-tabs__btn.active::after { transform: scaleX(1); }

.af-tabs__panels,
.af-product-tabs__panels { padding: 30px; background: #fff; }
.af-tabs__panel,
.af-product-tabs__panel { display: none; }
.af-tabs__panel.active,
.af-product-tabs__panel.active {
	display: block;
	animation: af-fade .3s ease;
}
.af-tabs__panel p,
.af-product-tabs__panel p { margin-bottom: 1em; line-height: 1.7; }
.af-tabs__panel ul, .af-tabs__panel ol,
.af-product-tabs__panel ul, .af-product-tabs__panel ol { padding-left: 20px; margin-bottom: 1em; }

/* Product table (additional info) */
.af-table {
	width: 100%;
	border-collapse: collapse;
}
.af-table tr { border-bottom: 1px solid var(--af-border); }
.af-table tr:last-child { border-bottom: 0; }
.af-table th {
	padding: 12px 16px;
	text-align: left;
	font-size: 13px;
	font-weight: 600;
	color: var(--af-ink);
	background: #fafafa;
	width: 200px;
}
.af-table td {
	padding: 12px 16px;
	font-size: 13px;
	color: var(--af-body);
}

/* --------------------------------------------------------------------------
   Related products
   -------------------------------------------------------------------------- */
.af-related {
	padding: 40px 0 60px;
}
.af-section__title {
	font-size: 22px;
	font-weight: 600;
	color: var(--af-ink);
	margin: 0 0 28px;
	text-align: center;
}
.af-related__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

/* --------------------------------------------------------------------------
   WooCommerce overrides for product page + Reviews Premium
   -------------------------------------------------------------------------- */
.woocommerce div.product div.images { float: none; width: 100%; }
.woocommerce div.product div.summary { float: none; width: 100%; clear: none; }
.woocommerce div.product form.cart { margin-bottom: 0; }
.woocommerce .woocommerce-Tabs-panel { padding: 0; }
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before { color: var(--af-primary); }
.woocommerce #reviews #comments ol.commentlist li .comment-text {
	border: 1px solid var(--af-border);
	border-radius: 8px;
	padding: 20px;
}
.woocommerce #reviews #comments ol.commentlist li img.avatar {
	border: 1px solid var(--af-border);
	border-radius: 50%;
}

/* Reviews Premium — empty state, stars, form */
.woocommerce #reviews #comments { margin-bottom: 0; }
.woocommerce #reviews #comments p.woocommerce-noreviews {
	background: #FFFBF0;
	border: 2px dashed rgba(255,165,0,.35);
	border-radius: 12px;
	padding: 32px 24px;
	text-align: center;
	color: var(--af-ink);
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.woocommerce #reviews #comments p.woocommerce-noreviews::before {
	content: "★";
	font-size: 32px;
	color: #FFA500;
	line-height: 1;
}
.woocommerce #reviews #comments h2.woocommerce-Reviews-title { display: none; }
.woocommerce #review_form_wrapper {
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 2px 12px rgba(0,0,0,.04);
	margin-top: 0;
}
.woocommerce #review_form #respond .comment-reply-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--af-ink);
	text-transform: uppercase;
	letter-spacing: .04em;
	margin: 0 0 20px;
	display: block;
	border: 0;
}
.woocommerce #review_form #respond .comment-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin: 0;
}
@media (min-width: 768px) {
	.woocommerce #review_form #respond .comment-form {
		grid-template-columns: 1fr 1fr;
	}
	.woocommerce #review_form #respond .comment-form-rating,
	.woocommerce #review_form #respond .comment-form-comment,
	.woocommerce #review_form #respond .comment-form-cookies-consent,
	.woocommerce #review_form #respond .form-submit {
		grid-column: span 2;
	}
}
.woocommerce #review_form #respond label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--af-ink);
	margin-bottom: 8px;
}
.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"],
.woocommerce #review_form #respond textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--af-border);
	border-radius: 8px;
	background: #fafafa;
	color: var(--af-ink);
	font-size: 14px;
	transition: all .2s ease;
	box-sizing: border-box;
	height: auto;
}
.woocommerce #review_form #respond textarea { min-height: 120px; resize: vertical; }
.woocommerce #review_form #respond input[type="text"]:focus,
.woocommerce #review_form #respond input[type="email"]:focus,
.woocommerce #review_form #respond textarea:focus {
	outline: none;
	border-color: var(--af-primary);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(139,0,0,.1);
}
.woocommerce #review_form #respond .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 10px;
}
.woocommerce #review_form #respond .comment-form-cookies-consent input { width: 16px; height: 16px; accent-color: var(--af-primary); }
.woocommerce #review_form #respond .comment-form-cookies-consent label {
	text-transform: none;
	font-size: 13px;
	font-weight: 400;
	color: var(--af-muted);
	margin: 0;
	letter-spacing: 0;
}
/* Stars selector */
.woocommerce #review_form #respond .comment-form-rating { margin: 0; }
.woocommerce #review_form #respond .comment-form-rating label { margin-bottom: 10px; }
.woocommerce #review_form #respond .comment-form-rating p.stars {
	font-size: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}
.woocommerce #review_form #respond .comment-form-rating p.stars a {
	position: relative;
	display: inline-block;
	width: 32px;
	height: 32px;
	font-size: 32px;
	line-height: 32px;
	color: #E0E0E5;
	text-decoration: none;
	transition: transform .15s ease, color .15s ease;
}
.woocommerce #review_form #respond .comment-form-rating p.stars a::before {
	content: "★";
	position: absolute;
	top: 0;
	left: 0;
}
.woocommerce #review_form #respond .comment-form-rating p.stars:hover a { color: #FFA500; }
.woocommerce #review_form #respond .comment-form-rating p.stars a:hover ~ a { color: #E0E0E5; }
.woocommerce #review_form #respond .comment-form-rating p.stars a:hover { transform: scale(1.15); }
.woocommerce #review_form #respond .comment-form-rating p.stars a.active { color: #FFA500; }
.woocommerce #review_form #respond .comment-form-rating p.stars a.active ~ a { color: #E0E0E5; }
/* Submit pill */
.woocommerce #review_form #respond input[type="submit"]#submit,
.woocommerce #review_form #respond .form-submit input[type="submit"] {
	background: var(--af-primary) !important;
	color: #fff !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .06em !important;
	padding: 14px 36px !important;
	border: 0 !important;
	border-radius: 40px !important;
	box-shadow: 0 4px 14px rgba(139,0,0,.18) !important;
	cursor: pointer !important;
	transition: all .25s ease !important;
	opacity: 1 !important;
	height: auto !important;
	line-height: 1 !important;
}
.woocommerce #review_form #respond input[type="submit"]#submit:hover {
	background: #6b0000 !important;
	box-shadow: 0 6px 20px rgba(139,0,0,.28) !important;
	transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Responsive — shop + product
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
	.af-shop__layout {
		grid-template-columns: 1fr;
	}
	.af-shop__aside {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
		padding: 20px;
	}
	.af-shop__aside .widget { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
	.af-single {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.af-related__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 768px) {
	ul.products,
	.af-grid-products {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 16px;
	}
	.af-shop__main ul.products,
	.af-shop__main .af-grid-products {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.af-toolbar {
		flex-wrap: wrap;
		gap: 12px;
	}
	.af-toolbar__title { display: none; }
	.af-single__title { font-size: 20px; }
	.af-single__price { font-size: 24px; }
	.af-single__buy { flex: 1 1 100%; max-width: none; }
	.single_add_to_cart_button { width: 100%; }
	.af-product-tabs__btn { padding: 12px 16px; font-size: 13px; }
	.af-product-tabs__panels { padding: 20px; }
	.af-shop__aside {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 480px) {
	ul.products,
	.af-grid-products {
		grid-template-columns: 1fr !important;
	}
	.af-shop__main ul.products,
	.af-shop__main .af-grid-products {
		grid-template-columns: 1fr !important;
	}
	.af-related__grid {
		grid-template-columns: 1fr;
	}
	.af-single {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.single_add_to_cart_button { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Side Cart Panel
   ========================================================================== */

.af-hidden { display: none !important; }

.af-sidecart-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	transition: opacity 0.3s ease;
}
.af-sidecart-overlay.af-hidden {
	opacity: 0;
	pointer-events: none;
}

.af-sidecart {
	position: fixed;
	top: 0;
	right: 0;
	width: 400px;
	max-width: 90vw;
	height: 100vh;
	background: #fff;
	z-index: 9999;
	transform: translateX(100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}
.af-sidecart.is-open {
	transform: translateX(0);
}

.af-sidecart__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 2px solid var(--af-primary);
	background: var(--af-ink);
	color: #fff;
}
.af-sidecart__head h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fff;
}
.af-sidecart__head h3 svg { fill: #fff; }
.af-sidecart__close {
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 4px;
	line-height: 1;
	display: flex;
	align-items: center;
}
.af-sidecart__close svg { fill: #fff; }

.af-sidecart__body {
	flex: 1;
	overflow-y: auto;
	padding: 0;
}
.af-sidecart__items { padding: 0; }

.af-sidecart__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 20px;
	border-bottom: 1px solid #f0f0f0;
}
.af-sidecart__item-img {
	flex-shrink: 0;
	width: 60px;
	height: 60px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--af-light);
}
.af-sidecart__item-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.af-sidecart__item-info {
	flex: 1;
	min-width: 0;
}
.af-sidecart__item-name {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--af-ink);
	text-decoration: none;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.af-sidecart__item-name:hover { color: var(--af-primary); }
.af-sidecart__item-meta {
	display: flex;
	gap: 12px;
	margin-top: 4px;
	font-size: 13px;
}
.af-sidecart__item-qty { color: var(--af-body); font-weight: 500; }
.af-sidecart__item-price { color: var(--af-primary); font-weight: 700; }
.af-sidecart__remove {
	background: none;
	border: 1px solid #ddd;
	border-radius: 50%;
	width: 26px;
	height: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	color: var(--af-body);
	transition: all 0.2s ease;
}
.af-sidecart__remove:hover {
	border-color: var(--af-primary);
	color: var(--af-primary);
	background: #fff0f0;
}

.af-sidecart__empty {
	text-align: center;
	padding: 60px 20px;
	color: #999;
	font-size: 15px;
}

.af-sidecart__foot {
	border-top: 2px solid #eee;
	padding: 16px 20px;
	background: #fafafa;
}
.af-sidecart__total {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 16px;
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px dashed #ddd;
}
.af-sidecart__total span { color: var(--af-body); }
.af-sidecart__total strong { color: var(--af-primary); font-size: 18px; }
.af-sidecart__view-cart,
.af-sidecart__checkout {
	display: block;
	width: 100%;
	text-align: center;
	padding: 12px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	margin-bottom: 8px;
}
.af-sidecart__view-cart {
	background: #fff;
	color: var(--af-ink);
	border: 2px solid #ddd;
}
.af-sidecart__view-cart:hover { border-color: var(--af-primary); color: var(--af-primary); }
.af-sidecart__checkout {
	background: var(--af-primary);
	color: #fff;
}
.af-sidecart__checkout:hover { background: var(--af-primary-dark); }
