/* ==========================================================================
   Asiafy theme styles.
   ========================================================================== */

:root {
	--af-primary: #1e5eff;
	--af-primary-dark: #0a3dcc;
	--af-accent: #ff3b4e;
	--af-navy: #0b1530;
	--af-navy-soft: #14224a;
	--af-amber: #ffb020;
	--af-green: #16a34a;
	--af-bg: #f5f7fb;
	--af-border: #e6eaf2;
	--af-text: #101828;
	--af-muted: #667085;
	--af-radius: 14px;
	--af-radius-sm: 10px;
	--af-shadow: 0 4px 16px rgba(16, 24, 40, 0.06);
	--af-shadow-lg: 0 12px 32px rgba(16, 24, 40, 0.12);
	--af-container: 1320px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 140px;
}

body.af-body {
	margin: 0;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: var(--af-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

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

a:hover {
	color: var(--af-primary-dark);
}

h1,
h2,
h3,
h4 {
	line-height: 1.25;
	margin: 0 0 0.5em;
	font-weight: 700;
}

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

button {
	font-family: inherit;
	cursor: pointer;
}

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

.af-skip:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 9999;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	background: var(--af-navy);
	color: #fff;
	border-radius: var(--af-radius-sm);
}

/* --------------------------------------------------------------------------
   Layout utilities.
   -------------------------------------------------------------------------- */

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

.af-section {
	padding-block: 40px;
}

.af-section--tint {
	background: var(--af-bg);
}

.af-section__head {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.af-section__title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: clamp(1.3rem, 2.2vw, 1.6rem);
	font-weight: 800;
	margin: 0;
}

.af-section__title .af-icon {
	color: var(--af-accent);
}

.af-section__lead {
	margin: 4px 0 0;
	color: var(--af-muted);
	width: 100%;
	max-width: 560px;
}

.af-section__head .af-link:last-child {
	margin-left: auto;
}

.af-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 14px;
}

.af-link--accent {
	color: var(--af-accent);
}

.af-link--accent:hover {
	color: #d92b3d;
}

/* Buttons. */

.af-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border: 0;
	border-radius: var(--af-radius-sm);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	text-align: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.af-btn--primary {
	background: linear-gradient(135deg, var(--af-primary), var(--af-primary-dark));
	color: #fff;
	box-shadow: 0 6px 18px rgba(30, 94, 255, 0.32);
}

.af-btn--primary:hover {
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(30, 94, 255, 0.4);
}

.af-btn--ghost {
	background: transparent;
	border: 1px solid var(--af-border);
	color: var(--af-text);
}

.af-btn--ghost:hover {
	border-color: var(--af-primary);
	color: var(--af-primary);
}

.af-btn--wa {
	background: var(--af-green);
	color: #fff;
}

.af-btn--wa:hover {
	background: #12813c;
	color: #fff;
}

/* Chips & badges. */

.af-chip {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	background: rgba(30, 94, 255, 0.1);
	color: var(--af-primary);
}

.af-chip--accent {
	background: var(--af-accent);
	color: #fff;
}

.af-badge-sale {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--af-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
}

.af-badge-source {
	position: absolute;
	top: 10px;
	left: 62px;
	z-index: 2;
	padding: 4px 9px;
	border-radius: 999px;
	background: #101828d9;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   Topbar.
   -------------------------------------------------------------------------- */

.af-topbar {
	background: var(--af-navy);
	color: #cbd5f0;
	font-size: 12.5px;
}

.af-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 36px;
}

.af-topbar__note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.af-topbar__note .af-icon {
	color: var(--af-amber);
	flex-shrink: 0;
}

.af-topbar__side {
	display: flex;
	align-items: center;
	gap: 18px;
}

.af-topbar__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
}

.af-topbar__link:hover {
	color: #fff;
}

/* Social list. */

.af-social {
	display: flex;
	align-items: center;
	gap: 4px;
}

.af-social__link {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: currentColor;
	transition: background 0.15s ease, color 0.15s ease;
}

.af-topbar .af-social__link:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Header.
   -------------------------------------------------------------------------- */

.af-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--af-border);
	transition: box-shadow 0.2s ease;
}

.af-header.is-stuck {
	box-shadow: var(--af-shadow-lg);
}

.af-header.is-stuck .af-navbar {
	display: none;
}

.af-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 22px;
	padding-block: 14px;
}

.af-header__brand {
	flex: 0 0 auto;
}

.af-header__search {
	flex: 1 1 320px;
	max-width: 620px;
}

.custom-logo {
	max-height: 46px;
	width: auto;
}

.af-logo {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	line-height: 1;
}

.af-logo__text {
	font-size: 26px;
	font-weight: 800;
	color: var(--af-navy);
	letter-spacing: -0.03em;
}

.af-logo__accent {
	color: var(--af-accent);
}

.af-logo__tag {
	font-size: 12px;
	font-weight: 600;
	color: var(--af-muted);
}

/* Search form. */

.af-searchform,
.search-form {
	display: flex;
	width: 100%;
	height: 46px;
	border: 2px solid var(--af-primary);
	border-radius: var(--af-radius-sm);
	overflow: hidden;
	background: #fff;
}

.af-searchform:focus-within {
	box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.18);
}

.af-searchform__cat,
.search-form select {
	border: 0;
	border-right: 1px solid var(--af-border);
	padding: 0 12px;
	font-size: 13px;
	color: var(--af-muted);
	background: var(--af-bg);
	max-width: 170px;
	outline-offset: -2px;
}

.af-searchform__input,
.search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 0 14px;
	font-size: 14px;
	outline: none;
}

.af-searchform__btn,
.search-form button {
	display: inline-grid;
	place-items: center;
	width: 54px;
	border: 0;
	background: var(--af-primary);
	color: #fff;
	transition: background 0.15s ease;
}

.af-searchform__btn:hover,
.search-form button:hover {
	background: var(--af-primary-dark);
}

/* Actions. */

.af-actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	flex: 0 0 auto;
}

.af-action {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	border: 0;
	background: none;
	border-radius: var(--af-radius-sm);
	color: var(--af-navy);
	transition: background 0.15s ease, color 0.15s ease;
}

.af-action:hover {
	background: var(--af-bg);
	color: var(--af-primary);
}

.af-action--cart {
	border: 1px solid var(--af-border);
	border-radius: 999px;
	padding: 7px 16px 7px 10px;
	background: #fff;
}

.af-action--cart:hover {
	border-color: var(--af-primary);
}

.af-badge {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	display: grid;
	place-items: center;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--af-accent);
	color: #fff;
	font-size: 10.5px;
	font-weight: 800;
	font-style: normal;
	line-height: 1;
}

.af-action--cart .af-badge {
	top: -5px;
	right: -4px;
}

.af-badge.is-empty {
	display: none;
}

.af-cart-meta {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	text-align: left;
}

.af-cart-meta__label {
	font-size: 10.5px;
	color: var(--af-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.af-cart-total {
	font-size: 13.5px;
	font-weight: 700;
}

/* Navbar row. */

.af-navbar {
	border-top: 1px solid var(--af-border);
}

.af-navbar__inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 20px;
}

.af-menu {
	display: flex;
}

.af-menu > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 13px 16px;
	color: var(--af-navy);
	font-weight: 600;
	font-size: 14px;
}

.af-menu > li > a::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 0;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--af-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.18s 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: 60;
	min-width: 220px;
	padding: 8px;
	background: #fff;
	border-radius: var(--af-radius-sm);
	box-shadow: var(--af-shadow-lg);
	border: 1px solid var(--af-border);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.18s ease;
}

.af-menu li {
	position: relative;
}

.af-menu li:hover > .sub-menu,
.af-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.af-menu .sub-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--af-text);
	font-size: 13.5px;
}

.af-menu .sub-menu a:hover {
	background: var(--af-bg);
	color: var(--af-primary);
}

.af-navbar__extra {
	display: flex;
	align-items: center;
	gap: 18px;
}

.af-navbar__offers {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 800;
	font-size: 14px;
	color: var(--af-accent);
}

.af-navbar__offers:hover {
	color: #d92b3d;
}

.af-navbar__link {
	font-weight: 600;
	font-size: 14px;
	color: var(--af-navy);
}

.af-navbar__link:hover {
	color: var(--af-primary);
}

/* Burger. */

.af-header__burger {
	grid-area: burger;
	display: none;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius-sm);
	background: #fff;
	color: var(--af-navy);
}

/* Drawer. */

.af-drawer {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 300;
	width: min(340px, 88vw);
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 18px;
	background: #fff;
	transform: translateX(-105%);
	transition: transform 0.26s ease;
	overflow-y: auto;
}

.af-drawer.is-open {
	transform: translateX(0);
}

.af-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.af-drawer__close {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 50%;
	background: var(--af-bg);
	color: var(--af-navy);
}

.af-menu--drawer {
	flex-direction: column;
	gap: 2px;
}

.af-menu--drawer a {
	display: block;
	padding: 11px 12px;
	border-radius: var(--af-radius-sm);
	font-weight: 600;
	color: var(--af-navy);
}

.af-menu--drawer a:hover {
	background: var(--af-bg);
	color: var(--af-primary);
}

.af-menu--drawer .sub-menu {
	margin-left: 14px;
}

.af-overlay {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(11, 21, 48, 0.55);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.af-overlay.is-open {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   Hero.
   -------------------------------------------------------------------------- */

.af-hero {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
	gap: 18px;
	padding-block: 22px;
}

.af-hero__slider {
	position: relative;
	border-radius: var(--af-radius);
	overflow: hidden;
	min-height: 360px;
	box-shadow: var(--af-shadow);
}

.af-hero__track {
	display: grid;
}

.af-slide {
	grid-area: 1 / 1;
	position: relative;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s ease;
}

.af-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.af-slide__img,
.af-slide__img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.af-slide__img--ph {
	background: linear-gradient(135deg, var(--af-navy) 0%, var(--af-primary-dark) 55%, var(--af-primary) 100%);
}

.af-slide__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 10px;
	min-height: 360px;
	padding: 34px;
	color: #fff;
}

.af-slide__content::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 21, 48, 0.05) 30%, rgba(11, 21, 48, 0.82) 100%);
	z-index: -1;
}

.af-slide__title {
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	font-weight: 800;
	max-width: 480px;
	margin: 0;
	text-wrap: balance;
}

.af-slide__subtitle {
	margin: 0;
	max-width: 430px;
	opacity: 0.92;
}

.af-slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #fffffff2;
	color: var(--af-navy);
	box-shadow: var(--af-shadow);
	opacity: 0;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.slider-hover .af-slider-btn,
.af-carousel:hover .af-slider-btn,
.af-hero__slider:hover .af-slider-btn,
.af-slider-btn:focus-visible {
	opacity: 1;
}

.af-slider-btn:hover {
	background: #fff;
	color: var(--af-primary);
	transform: translateY(-50%) scale(1.06);
}

.af-slider-btn--prev {
	left: 12px;
}

.af-slider-btn--next {
	right: 12px;
}

.af-hero__dots {
	position: absolute;
	right: 18px;
	bottom: 14px;
	z-index: 5;
	display: flex;
	gap: 6px;
}

.af-hero__dots button {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #ffffff80;
	transition: width 0.2s ease, background 0.2s ease;
}

.af-hero__dots button.is-active {
	width: 26px;
	background: #fff;
}

/* Side banners. */

.af-hero__side {
	display: grid;
	grid-template-rows: 1fr 1fr;
	gap: 18px;
}

.af-sidebanner {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	background: #fff;
	box-shadow: var(--af-shadow);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	overflow: hidden;
}

.af-sidebanner:hover {
	transform: translateY(-2px);
	box-shadow: var(--af-shadow-lg);
	border-color: var(--af-primary);
	color: inherit;
}

.af-sidebanner__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	flex-shrink: 0;
}

.af-sidebanner__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.af-sidebanner__body strong {
	font-size: 15px;
	color: var(--af-navy);
}

.af-sidebanner__body small {
	color: var(--af-muted);
	font-size: 12.5px;
}

.af-sidebanner__art {
	margin-left: auto;
	color: var(--af-primary);
	opacity: 0.85;
}

.af-sidebanner__art img {
	width: 84px;
	height: 84px;
	object-fit: cover;
	border-radius: 10px;
}

/* --------------------------------------------------------------------------
   Trust strip.
   -------------------------------------------------------------------------- */

.af-trust {
	border-block: 1px solid var(--af-border);
	background: #fff;
	padding-block: 18px;
}

.af-trust__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}

.af-trust__item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.af-trust__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #eaf1ff;
	color: var(--af-primary);
	flex-shrink: 0;
}

.af-trust__item strong {
	display: block;
	font-size: 14px;
	color: var(--af-navy);
}

.af-trust__item small {
	color: var(--af-muted);
	font-size: 12.5px;
	line-height: 1.35;
}

/* --------------------------------------------------------------------------
   Categories.
   -------------------------------------------------------------------------- */

.af-cats {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(112px, 1fr);
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	scrollbar-width: thin;
}

.af-cat {
	scroll-snap-align: start;
}

.af-cat a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 14px 8px;
	border: 1px solid transparent;
	border-radius: var(--af-radius);
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.af-cat a:hover {
	border-color: var(--af-border);
	box-shadow: var(--af-shadow);
	transform: translateY(-2px);
	color: var(--af-primary);
}

.af-cat__thumb {
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 25%, #ffffff, var(--af-bg));
	border: 1px solid var(--af-border);
	overflow: hidden;
	font-weight: 800;
	color: var(--af-primary);
}

.af-cat__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.af-cat__name {
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	color: var(--af-navy);
}

/* --------------------------------------------------------------------------
   Countdown.
   -------------------------------------------------------------------------- */

.af-countdown {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--af-muted);
	font-size: 13px;
}

.af-countdown__clock {
	display: inline-grid;
	place-items: center;
	padding: 6px 12px;
	min-width: 96px;
	border-radius: 999px;
	background: var(--af-navy);
	color: var(--af-amber);
	font-variant-numeric: tabular-nums;
	font-size: 14px;
	letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Product cards & carousels.
   -------------------------------------------------------------------------- */

.af-products {
	display: grid;
	gap: 16px;
}

.af-products--grid {
	grid-template-columns: repeat(4, 1fr);
}

.af-carousel {
	position: relative;
}

.af-products--carousel {
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 48px) / 4);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-block: 6px;
	margin-block: -6px;
}

.af-products--carousel::-webkit-scrollbar {
	display: none;
}

.af-products--carousel > * {
	scroll-snap-align: start;
}

ul.products {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, 1fr);
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.products.columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

ul.products li.product {
	margin: 0;
	width: auto;
	float: none;
}

.af-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.af-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--af-shadow-lg);
}

li.product .woocommerce-loop-product__title {
	font-size: 14px;
	font-weight: 600;
	color: var(--af-text);
}

.af-card__badges {
	position: static;
}

.af-card .woocommerce-loop-product__link {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	text-decoration: none;
	color: inherit;
}

.af-card img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--af-bg);
}

.af-card .price {
	display: flex;
	flex-direction: column;
	margin: 6px 0 0;
	font-size: 16.5px;
	font-weight: 800;
	color: var(--af-navy);
}

.af-card .price del {
	order: 2;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--af-muted);
	opacity: 0.75;
}

.af-card .price ins {
	order: 1;
	text-decoration: none;
	color: var(--af-accent);
}

.af-card__rating .star-rating {
	color: var(--af-amber);
	font-size: 12px;
}

.af-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	padding: 12px 14px;
	border-top: 1px solid var(--af-border);
}

.af-addtocart,
.button.af-addtocart {
	padding: 9px 18px;
	border-radius: 999px;
	background: var(--af-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.af-addtocart:hover,
.button.af-addtocart:hover {
	background: var(--af-primary-dark);
	color: #fff;
}

.af-card__footer .button.add_to_cart_button.loading {
	opacity: 0.6;
	pointer-events: none;
}

.af-wish-btn {
	position: absolute;
	top: 44px;
	right: 10px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: #fffffff2;
	color: var(--af-muted);
	box-shadow: var(--af-shadow);
	opacity: 0;
	transition: opacity 0.15s ease, color 0.15s ease;
}

.af-card:hover .af-wish-btn,
.af-wish-btn:focus-visible {
	opacity: 1;
}

.af-wish-btn.is-active {
	opacity: 1;
	color: var(--af-accent);
}

.af-wish-btn.is-active svg {
	fill: var(--af-accent);
}

/* --------------------------------------------------------------------------
   Duo banners.
   -------------------------------------------------------------------------- */

.af-duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.af-duo__card {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 190px;
	border-radius: var(--af-radius);
	overflow: hidden;
	isolation: isolate;
}

.af-duo__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform 0.4s ease;
}

.af-duo__card:hover .af-duo__img {
	transform: scale(1.04);
}

.af-duo__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.af-duo__card--cn .af-duo__scrim {
	background: linear-gradient(120deg, rgba(214, 40, 57, 0.88), rgba(11, 21, 48, 0.75));
}

.af-duo__card--usa .af-duo__scrim {
	background: linear-gradient(120deg, rgba(30, 94, 255, 0.88), rgba(11, 21, 48, 0.75));
}

.af-duo__body {
	display: grid;
	gap: 2px;
	justify-items: center;
	text-align: center;
	color: #fff;
	padding: 24px;
}

.af-duo__flag {
	font-size: 30px;
	line-height: 1;
}

.af-duo__body strong {
	font-size: 1.25rem;
	font-weight: 800;
}

.af-duo__body small {
	font-size: 13px;
	opacity: 0.9;
}

/* --------------------------------------------------------------------------
   Steps.
   -------------------------------------------------------------------------- */

.af-section--navy {
	background: linear-gradient(160deg, var(--af-navy), var(--af-navy-soft));
	color: #fff;
	padding-block: 56px;
}

.af-section__head--light .af-section__lead {
	color: #aab6d3;
}

.af-steps__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	counter-reset: afstep;
}

.af-step {
	position: relative;
	padding: 26px 20px 22px;
	background: #ffffff0d;
	border: 1px solid #ffffff1f;
	border-radius: var(--af-radius);
	backdrop-filter: blur(2px);
}

.af-step__num {
	position: absolute;
	top: -14px;
	left: 18px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: var(--af-accent);
	color: #fff;
	font-weight: 800;
	font-size: 14px;
}

.af-step__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #ffffff14;
	color: var(--af-amber);
	margin-bottom: 14px;
}

.af-step__title {
	font-size: 15.5px;
	margin: 0 0 6px;
}

.af-step__text {
	margin: 0;
	font-size: 13.5px;
	color: #c4cee6;
}

/* --------------------------------------------------------------------------
   Quotes.
   -------------------------------------------------------------------------- */

.af-quotes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.af-quote {
	margin: 0;
	padding: 22px;
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	box-shadow: var(--af-shadow);
}

.af-quote__stars {
	color: var(--af-amber);
	letter-spacing: 2px;
}

.af-quote blockquote {
	margin: 10px 0 12px;
	font-size: 14.5px;
	color: var(--af-text);
}

.af-quote figcaption {
	font-size: 13px;
	color: var(--af-muted);
}

.af-quote figcaption strong {
	color: var(--af-navy);
}

/* --------------------------------------------------------------------------
   Calculator.
   -------------------------------------------------------------------------- */

.af-calc {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	padding: 36px;
	border-radius: 20px;
	background:
		radial-gradient(circle at 90% 10%, rgba(30, 94, 255, 0.09), transparent 45%),
		var(--af-bg);
	border: 1px solid var(--af-border);
}

.af-calc__notes {
	display: grid;
	gap: 8px;
	margin-top: 18px;
}

.af-calc__notes li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--af-muted);
}

.af-calc__notes .af-icon {
	color: var(--af-green);
	flex-shrink: 0;
}

.af-calc__form {
	display: grid;
	gap: 16px;
	align-content: start;
}

.af-field {
	display: grid;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--af-navy);
}

.af-field select,
.af-field input {
	height: 46px;
	padding: 0 14px;
	border: 1.5px solid var(--af-border);
	border-radius: var(--af-radius-sm);
	font-size: 14px;
	font-family: inherit;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.af-field select:focus,
.af-field input:focus {
	outline: none;
	border-color: var(--af-primary);
	box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.15);
}

.af-calc__result {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	border-radius: var(--af-radius-sm);
	background: linear-gradient(135deg, var(--af-primary), var(--af-primary-dark));
	color: #fff;
}

.af-calc__result small {
	opacity: 0.85;
}

.af-calc__result strong {
	font-size: 1.7rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Newsletter.
   -------------------------------------------------------------------------- */

.af-newsletter {
	background: linear-gradient(120deg, #ff5b3b, var(--af-accent));
	color: #fff;
	padding-block: 44px;
}

.af-newsletter__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	flex-wrap: wrap;
}

.af-newsletter h2 {
	font-size: clamp(1.25rem, 2.4vw, 1.65rem);
	margin-bottom: 4px;
}

.af-newsletter p {
	margin: 0;
	opacity: 0.92;
	max-width: 520px;
}

/* --------------------------------------------------------------------------
   Footer.
   -------------------------------------------------------------------------- */

.af-footer {
	background: var(--af-navy);
	color: #aab6d3;
	padding: 52px 0 0;
	margin-top: 30px;
}

.af-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr;
	gap: 34px;
	padding-bottom: 34px;
}

.af-logo--light .af-logo__text {
	color: #fff;
}

.af-footer__about {
	font-size: 13.5px;
	line-height: 1.7;
	margin: 14px 0 18px;
	max-width: 320px;
}

.af-footer .af-social__link {
	color: #cbd5f0;
}

.af-footer .af-social__link:hover {
	background: #ffffff1a;
	color: #fff;
}

.af-footer__heading {
	color: #fff;
	font-size: 14.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 16px;
}

.af-footer__links-list {
	display: grid;
	gap: 9px;
	font-size: 13.5px;
}

.af-footer__links-list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #aab6d3;
	transition: color 0.15s ease, transform 0.15s ease;
}

.af-footer__links-list a:hover {
	color: #fff;
	transform: translateX(2px);
}

.af-footer__links-list .af-icon {
	color: var(--af-green);
}

.af-footer__address {
	display: flex;
	gap: 10px;
	font-size: 13.5px;
	margin: 0;
}

.af-footer__address .af-icon {
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--af-accent);
}

.af-footer__payments {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	padding-block: 20px;
	border-top: 1px solid #ffffff17;
}

.af-paychip {
	padding: 6px 14px;
	border-radius: 999px;
	background: #ffffff12;
	border: 1px solid #ffffff24;
	color: #dbe3f5;
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
}

.af-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding-block: 18px;
	border-top: 1px solid #ffffff17;
	font-size: 12.5px;
}

.af-footer__bottom p {
	margin: 0;
}

/* Floating buttons. */

.af-float-wa {
	position: fixed;
	right: 20px;
	bottom: 86px;
	z-index: 150;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--af-green);
	color: #fff;
	box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45);
	transition: transform 0.15s ease;
	animation: af-pulse 2.6s infinite;
}

.af-float-wa:hover {
	transform: scale(1.07);
	color: #fff;
}

@keyframes af-pulse {

	0%,
	100% {
		box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45), 0 0 0 0 rgba(22, 163, 74, 0.35);
	}

	50% {
		box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45), 0 0 0 14px rgba(22, 163, 74, 0);
	}
}

.af-totop {
	position: fixed;
	right: 86px;
	bottom: 92px;
	z-index: 150;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--af-navy);
	color: #fff;
	opacity: 0;
	pointer-events: none;
	transform: rotate(180deg) translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.af-totop.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: rotate(180deg) translateY(0);
}

/* Mobile bottom nav. */

.af-mobilenav {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 180;
	background: #fffffffc;
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--af-border);
	padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}

.af-mobilenav__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	flex: 1;
	padding: 6px 0;
	color: var(--af-muted);
	font-size: 10.5px;
	font-weight: 600;
}

.af-mobilenav__item.is-active,
.af-mobilenav__item:active {
	color: var(--af-primary);
}

.af-mobilenav .af-badge {
	top: 2px;
	right: calc(50% - 22px);
}

/* --------------------------------------------------------------------------
   Shop / archive pages.
   -------------------------------------------------------------------------- */

.af-shop {
	padding-block: 26px 46px;
}

.af-shop__layout {
	display: grid;
	grid-template-columns: 264px minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.af-shop__aside .af-widget {
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	padding: 18px;
	margin-bottom: 16px;
	box-shadow: var(--af-shadow);
}

.af-widget__title {
	font-size: 15px;
	margin: 0 0 12px;
	color: var(--af-navy);
}

.af-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 18px;
	padding: 12px 16px;
	background: var(--af-bg);
	border-radius: var(--af-radius-sm);
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	margin-bottom: 20px;
	border-radius: var(--af-radius-sm);
	border-left: 4px solid var(--af-primary);
	background: #eaf1ff;
	list-style: none;
}

/* Single product. */

.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	margin: 0;
}

.single-product .product_title {
	font-size: clamp(1.4rem, 2.6vw, 2rem);
	font-weight: 800;
}

.single-product .price {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--af-accent);
}

.single-product .single_add_to_cart_button {
	padding: 14px 34px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--af-primary), var(--af-primary-dark));
	color: #fff;
	font-weight: 700;
	border: 0;
}

.single-product .quantity input {
	height: 46px;
	width: 70px;
	text-align: center;
	border: 1.5px solid var(--af-border);
	border-radius: var(--af-radius-sm);
}

.single-product div.product .woocommerce-tabs {
	grid-column: 1 / -1;
}

.single-product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 6px;
	border-bottom: 2px solid var(--af-border);
	margin-bottom: 20px;
}

.single-product .woocommerce-tabs ul.tabs li {
	margin: 0;
}

.single-product .woocommerce-tabs ul.tabs li a {
	display: inline-block;
	padding: 12px 18px;
	font-weight: 600;
	color: var(--af-muted);
	border-radius: 10px 10px 0 0;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
	color: var(--af-primary);
	background: #eaf1ff66;
	box-shadow: inset 0 -2px 0 var(--af-primary);
}

.related.products > h2,
.upsells > h2 {
	font-size: 1.3rem;
	font-weight: 800;
	margin-bottom: 18px;
}

/* Cart / checkout tables. */

.woocommerce table.shop_table {
	border-collapse: collapse;
	width: 100%;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--af-border);
	text-align: left;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	padding: 11px 22px;
	border-radius: 999px;
	background: var(--af-primary);
	color: #fff;
	font-weight: 700;
	border: 0;
	transition: background 0.15s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
	background: var(--af-primary-dark);
	color: #fff;
}

.woocommerce .coupon input#coupon_code {
	width: 160px;
	height: 42px;
	border: 1.5px solid var(--af-border);
	border-radius: var(--af-radius-sm);
	padding: 0 12px;
}

/* Pagination. */

.af-pagination,
nav.woocommerce-pagination {
	margin-top: 30px;
}

.af-pagination .page-numbers,
nav.woocommerce-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	margin-right: 6px;
	border-radius: var(--af-radius-sm);
	background: var(--af-bg);
	color: var(--af-navy);
	font-weight: 600;
}

.af-pagination .page-numbers.current,
nav.woocommerce-pagination .page-numbers.current,
.af-pagination .page-numbers:hover,
nav.woocommerce-pagination .page-numbers span:hover {
	background: var(--af-primary);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Content pages.
   -------------------------------------------------------------------------- */

.af-page {
	padding-block: 34px 50px;
}

.af-page__head {
	margin-bottom: 22px;
}

.af-page__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.af-entry__meta {
	color: var(--af-muted);
	font-size: 13px;
	margin-top: -6px;
	margin-bottom: 18px;
}

.af-entry__thumb img {
	border-radius: var(--af-radius);
	width: 100%;
}

.af-prose {
	max-width: 760px;
	font-size: 15.5px;
	color: #344054;
}

.af-prose p {
	margin: 0 0 1em;
}

.af-prose h2,
.af-prose h3 {
	margin-top: 1.4em;
	color: var(--af-navy);
}

.af-prose a:not(.af-btn) {
	text-decoration: underline;
	text-decoration-color: rgba(30, 94, 255, 0.35);
	text-underline-offset: 2px;
}

.af-prose img {
	border-radius: var(--af-radius-sm);
}

.af-prose blockquote {
	margin: 1.2em 0;
	padding: 14px 20px;
	border-left: 4px solid var(--af-primary);
	background: var(--af-bg);
	border-radius: 0 var(--af-radius-sm) var(--af-radius-sm) 0;
}

.af-prose code {
	background: var(--af-bg);
	padding: 2px 6px;
	border-radius: 6px;
	font-size: 0.9em;
}

.af-postnav {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin-top: 34px;
	font-weight: 600;
}

.af-empty,
.af-404 {
	text-align: center;
	max-width: 620px;
	margin-inline: auto;
}

.af-404__code {
	margin: 10px 0 0;
	font-size: clamp(4rem, 10vw, 6rem);
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, var(--af-primary), var(--af-accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.af-404__actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-block: 20px;
}

.af-404__search {
	max-width: 460px;
	margin-inline: auto;
}

.af-grid--cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.af-postcard {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	overflow: hidden;
	box-shadow: var(--af-shadow);
	background: #fff;
}

.af-postcard__thumb img {
	width: 100%;
	height: 190px;
	object-fit: cover;
}

.af-postcard__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px;
}

.af-postcard__title {
	font-size: 16px;
	margin: 0;
}

.af-postcard__excerpt {
	margin: 0;
	color: var(--af-muted);
	font-size: 13.5px;
}

/* Toast. */

.af-toast {
	position: fixed;
	left: 50%;
	bottom: 100px;
	transform: translateX(-50%) translateY(16px);
	z-index: 400;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--af-navy);
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	box-shadow: var(--af-shadow-lg);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.af-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive.
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {

	.af-products--grid,
	ul.products {
		grid-template-columns: repeat(3, 1fr);
	}

	.af-products--carousel {
		grid-auto-columns: calc((100% - 32px) / 3);
	}
}

@media (max-width: 1024px) {

	.af-header__search .af-searchform {
		height: 42px;
	}

	.af-searchform__cat {
		display: none;
	}

	.af-actions__item--account .af-action__label,
	.af-cart-meta {
		display: none;
	}

	.af-hero {
		grid-template-columns: 1fr;
	}

	.af-hero__side {
		grid-template-rows: none;
		grid-template-columns: 1fr 1fr;
	}

	.af-slide__content,
	.af-hero__slider {
		min-height: 300px;
	}

	.af-trust__grid {
		grid-template-columns: 1fr 1fr;
	}

	.af-steps__grid {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 30px;
	}

	.af-quotes {
		grid-template-columns: 1fr;
	}

	.af-calc {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 26px;
	}

	.af-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.af-shop__layout {
		grid-template-columns: 1fr;
	}

	.af-shop__aside {
		display: none;
	}

	.af-grid--cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {

	html {
		scroll-padding-top: 90px;
	}

	body.af-body {
		padding-bottom: 64px;
	}

	.af-topbar__note span {
		max-width: 210px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.af-topbar__link {
		display: none;
	}

	.af-header__inner {
		padding-block: 10px;
	}

	.af-header__burger {
		display: grid;
		order: -1;
	}

	.af-actions {
		margin-left: auto;
	}

	.af-header__search {
		order: 10;
		flex-basis: 100%;
		max-width: none;
	}

	.af-logo__text {
		font-size: 22px;
	}

	.af-navbar {
		display: none;
	}

	.af-actions__label {
		display: none;
	}

	.af-hero__side {
		grid-template-columns: 1fr;
	}

	.af-sidebanner__art img {
		width: 64px;
		height: 64px;
	}

	.af-products--grid,
	ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.af-products--carousel {
		grid-auto-columns: calc((100% - 16px) / 2);
	}

	.af-duo {
		grid-template-columns: 1fr;
	}

	.af-countdown {
		width: 100%;
		justify-content: flex-start;
	}

	.af-section__head .af-link:last-child {
		margin-left: 0;
		width: 100%;
	}

	.single-product div.product {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.af-float-wa {
		right: 14px;
		bottom: 76px;
		width: 50px;
		height: 50px;
	}

	.af-totop {
		display: none;
	}

	.af-mobilenav {
		display: flex;
	}
}

@media (max-width: 520px) {

	.af-container {
		padding-inline: 14px;
	}

	.af-trust__grid {
		grid-template-columns: 1fr;
	}

	.af-steps__grid {
		grid-template-columns: 1fr;
		row-gap: 28px;
	}

	.af-products--grid,
	ul.products {
		grid-template-columns: 1fr 1fr;
	}

	.af-card__footer {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.af-card__footer .price {
		align-items: center;
		text-align: center;
	}

	.af-footer__grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.af-footer__bottom {
		justify-content: center;
		text-align: center;
	}

	.af-grid--cards {
		grid-template-columns: 1fr;
	}
}


/* ==========================================================================
   V2: marketplace upgrade (Electro-inspired).
   ========================================================================== */

/* Vertical categories rail. */

.af-hero {
	grid-template-columns: 236px minmax(0, 1fr) 288px;
	gap: 18px;
}

.af-rail {
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	box-shadow: var(--af-shadow);
	overflow: hidden;
	align-self: start;
}

.af-rail__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 14px 16px;
	background: linear-gradient(135deg, var(--af-primary), var(--af-primary-dark));
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.01em;
}

.af-rail__list {
	padding: 8px;
}

.af-rail__list li + li {
	border-top: 1px solid #f1f4f9;
}

.af-rail__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px;
	border-radius: var(--af-radius-sm);
	color: var(--af-navy);
	font-size: 13.5px;
	font-weight: 600;
	transition: background 0.13s ease, color 0.13s ease, padding-left 0.13s ease;
}

.af-rail__list a:hover {
	background: var(--af-bg);
	color: var(--af-primary);
	padding-left: 14px;
}

.af-rail__list a small {
	color: #b3bdd2;
	font-size: 11.5px;
	font-weight: 600;
	background: var(--af-bg);
	border-radius: 999px;
	padding: 1px 8px;
}

.af-rail__list a:hover small {
	background: #eaf1ff;
	color: var(--af-primary);
}

.af-rail__more {
	border-top: 2px solid var(--af-border);
	margin-top: 4px;
}

.af-rail__more a {
	color: var(--af-accent);
	justify-content: center;
	gap: 6px;
}

/* Deal of the day + tabs. */

.af-dealsec__grid {
	display: grid;
	grid-template-columns: 320px minmax(0, 1fr);
	gap: 20px;
	align-items: stretch;
}

.af-deal {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px;
	border-radius: var(--af-radius);
	background:
		radial-gradient(circle at 85% -10%, rgba(255, 176, 32, 0.28), transparent 42%),
		linear-gradient(165deg, #101b3f, var(--af-navy));
	color: #fff;
	box-shadow: var(--af-shadow-lg);
	overflow: hidden;
}

.af-deal::after {
	content: "%";
	position: absolute;
	right: -26px;
	bottom: -46px;
	font-size: 190px;
	font-weight: 800;
	color: #ffffff08;
	line-height: 1;
	pointer-events: none;
}

.af-deal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.af-deal__title {
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.af-deal__save {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	color: #ffb9c2;
}

.af-deal__save strong {
	background: var(--af-accent);
	color: #fff;
	border-radius: 999px;
	padding: 3px 10px;
	font-size: 13px;
}

.af-deal__product {
	display: grid;
	justify-items: center;
	gap: 10px;
	text-align: center;
	color: inherit;
}

.af-deal__thumb img {
	width: 100%;
	max-width: 210px;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
	transition: transform 0.25s ease;
}

.af-deal__product:hover .af-deal__thumb img {
	transform: translateY(-4px) scale(1.02);
}

.af-deal__name {
	font-weight: 600;
	font-size: 14px;
	color: #e7ecf8;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.af-deal__price .price {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin: 0;
}

.af-deal__price ins {
	color: var(--af-amber);
	font-weight: 800;
	font-size: 24px;
	text-decoration: none;
}

.af-deal__price del {
	color: #93a0c2;
	font-size: 14px;
}

.af-countdown--deal {
	margin-top: auto;
	text-align: center;
	display: grid;
	gap: 8px;
}

.af-countdown--deal small {
	color: #aab6d3;
}

.af-countdown--deal .af-countdown__clock {
	width: 100%;
	min-width: 0;
	padding-block: 10px;
	font-size: 19px;
	background: #ffffff14;
	border: 1px solid #ffffff22;
	color: var(--af-amber);
}

/* Tabbed carousels. */

.af-tabscar {
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	box-shadow: var(--af-shadow);
	padding: 14px 16px 18px;
	min-width: 0;
}

.af-tabscar__nav {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	margin-bottom: 14px;
	border-bottom: 1px solid var(--af-border);
	padding-bottom: 12px;
}

.af-tabscar__btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 16px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--af-muted);
	font-size: 13.5px;
	font-weight: 700;
	transition: all 0.15s ease;
}

.af-tabscar__btn:hover {
	color: var(--af-primary);
}

.af-tabscar__btn.is-active {
	background: var(--af-primary);
	color: #fff;
	box-shadow: 0 5px 14px rgba(30, 94, 255, 0.35);
}

.af-tabscar__pane {
	display: none;
	position: relative;
}

.af-tabscar__pane.is-active {
	display: block;
}

/* Product card v2. */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
li.af-cardwrap {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	width: auto;
	float: none;
	position: static;
	list-style: none;
	text-align: left;
}

.af-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.af-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--af-shadow-lg);
	border-color: #d5dced;
}

.af-card__link {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	color: inherit;
	text-decoration: none;
}

.af-card__media {
	display: block;
	position: relative;
	background:
		repeating-linear-gradient(45deg, transparent 0 14px, rgba(16, 24, 40, 0.015) 14px 28px),
		var(--af-bg);
	overflow: hidden;
}

.af-card__media img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.af-card:hover .af-card__media img {
	transform: scale(1.05);
}

.af-card__body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 13px 14px 12px;
	flex-grow: 1;
}

.af-card__title {
	margin: 0;
	font-size: 13.8px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--af-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 38px;
}

.af-card:hover .af-card__title {
	color: var(--af-primary);
}

.af-card__rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: 1;
}

.af-stars {
	color: var(--af-amber);
	letter-spacing: 1px;
	font-size: 12px;
}

.af-card__rating small {
	color: var(--af-muted);
	font-size: 11px;
}

.af-card__price .price {
	display: flex;
	align-items: baseline;
	gap: 7px;
	flex-wrap: wrap;
	margin: 2px 0 0;
}

.af-card__price .price ins,
.af-card__price .price > .amount:first-child,
.woocommerce ul.products li.product .price ins {
	font-size: 17px;
	font-weight: 800;
	order: 1;
}

.af-card__price .price ins,
.woocommerce ul.products li.product .price ins {
	color: var(--af-accent);
	text-decoration: none;
}

.af-card__price .price > .amount:first-child {
	color: var(--af-navy);
}

.af-card__price .price del {
	font-size: 12px;
	color: var(--af-muted);
	opacity: 0.7;
	order: 2;
}

.af-card__stock {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 600;
	color: var(--af-green);
}

.af-card__stock i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.af-card__stock--out {
	color: var(--af-accent);
}

.af-card__footer {
	display: flex;
	gap: 8px;
	padding: 0 14px 14px;
	margin-top: auto;
}

.af-addtocart,
.button.af-addtocart,
a.af-addtocart {
	flex-grow: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 10px 16px;
	border: 0;
	border-radius: 999px;
	background: var(--af-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	transition: background 0.15s ease, transform 0.15s ease;
}

a.af-addtocart:hover,
.button.af-addtocart:hover {
	background: var(--af-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

.af-addtocart.loading {
	opacity: 0.55;
	pointer-events: none;
}

.af-addtocart--ghost {
	background: transparent !important;
	border: 1.5px solid var(--af-primary);
	color: var(--af-primary) !important;
}

.af-card__quickview {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 40px;
	border: 1.5px solid var(--af-border);
	border-radius: 999px;
	color: var(--af-muted);
	transition: all 0.15s ease;
}

.af-card__quickview:hover {
	border-color: var(--af-accent);
	color: var(--af-accent);
}

/* Shop toolbar & banner. */

.af-shop-intro {
	margin: 6px 0 0;
	color: var(--af-muted);
	max-width: 640px;
}

.af-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 20px;
	padding: 10px 16px;
	background: var(--af-bg);
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius-sm);
}

.af-toolbar .woocommerce-result-count {
	margin: 0;
	font-size: 13px;
	color: var(--af-muted);
}

.af-toolbar form.woocommerce-ordering select {
	height: 38px;
	border: 1.5px solid var(--af-border);
	border-radius: 999px;
	padding: 0 14px;
	background: #fff;
	font-family: inherit;
	font-size: 13px;
	color: var(--af-navy);
	cursor: pointer;
}

.af-shopbanner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 170px;
	border-radius: var(--af-radius);
	overflow: hidden;
	isolation: isolate;
	margin-bottom: 24px;
	background: linear-gradient(120deg, var(--af-navy), var(--af-primary-dark));
}

.af-shopbanner__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}

.af-shopbanner__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(11, 21, 48, 0.92) 25%, rgba(30, 94, 255, 0.55));
}

.af-shopbanner__body {
	padding: 28px 32px;
	color: #fff;
}

.af-shopbanner__body .page-title {
	color: #fff;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	font-weight: 800;
	margin: 0 0 6px;
}

.af-shopbanner__body .term-description,
.af-shopbanner__body p {
	margin: 0;
	max-width: 560px;
	color: #d7dff2;
	font-size: 14px;
}

/* Single product polish. */

.single-product div.product .woocommerce-product-gallery {
	border: 1px solid var(--af-border);
	border-radius: var(--af-radius);
	background: var(--af-bg);
	overflow: hidden;
}

.single-product div.product .summary {
	padding-block: 6px;
}

.single-product .woocommerce-product-details__short-description {
	color: var(--af-muted);
	font-size: 14.5px;
	margin: 14px 0;
}

.single-product p.price {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.woocommerce div.product p.price ins,
.woocommerce ul.products li.product .price ins {
	color: var(--af-accent);
	text-decoration: none;
	font-weight: 800;
}

.single-product p.price del {
	font-size: 1rem;
	color: var(--af-muted);
}

.single-product form.cart {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 18px;
}

.single-product .product_meta {
	border-top: 1px dashed var(--af-border);
	margin-top: 22px;
	padding-top: 14px;
	font-size: 12.5px;
	color: var(--af-muted);
}

/* Responsive v2. */

@media (max-width: 1180px) {

	.af-hero {
		grid-template-columns: minmax(0, 1fr) 288px;
	}

	.af-rail {
		display: none;
	}
}

@media (max-width: 1024px) {

	.af-dealsec__grid {
		grid-template-columns: 1fr;
	}

	.af-deal {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
	}

	.af-deal__head {
		width: 100%;
	}

	.af-deal__product {
		grid-template-columns: 110px minmax(0, 1fr);
		justify-items: start;
		text-align: left;
		flex: 1 1 260px;
	}

	.af-deal__thumb img {
		max-width: 110px;
	}

	.af-deal__price {
		text-align: right;
	}
}

@media (max-width: 768px) {

	.af-hero {
		grid-template-columns: 1fr;
	}

	.af-tabscar__btn {
		flex-grow: 1;
		justify-content: center;
	}
}
