/* =============================================================================
   Snap Pay Storefront — design layer on top of the Motta theme
   -----------------------------------------------------------------------------
   1. Tokens & base          5. Product cards            9. Cart / checkout blocks
   2. Buttons & forms        6. Shop & category pages   10. My account & pages
   3. Header family          7. Single product          11. Footer
   4. Homepage sections      8. Panels, modals, nav bar 12. Motion & responsive
   ============================================================================= */

/* ---------------------------------------------------------------------------
   1. TOKENS & BASE
   --------------------------------------------------------------------------- */
:root {
	--sp-font-display: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--sp-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--sp-ink: #0f1117;
	--sp-ink-2: #171a23;
	--sp-ink-3: #23262f;
	--sp-red: #e8262f;
	--sp-red-600: #c81e26;
	--sp-red-700: #a5161d;
	--sp-red-50: #ffeced;
	--sp-green: #1fb75a;
	--sp-green-600: #168f46;
	--sp-green-50: #e7f8ee;
	--sp-green-bright: #55dd77;
	--sp-amber: #f5a524;
	--sp-amber-50: #fff5df;
	--sp-blue-50: #e9f0ff;
	--sp-violet-50: #f1ebff;
	--sp-teal-50: #e3f7f5;

	--sp-bg: #f6f6f8;
	--sp-surface: #ffffff;
	--sp-line: #e7e8ee;
	--sp-line-strong: #d6d8e0;
	--sp-text: #14161c;
	--sp-muted: #6a6f7c;

	--sp-radius: 20px;
	--sp-radius-md: 14px;
	--sp-radius-sm: 10px;
	--sp-pill: 999px;

	--sp-shadow-sm: 0 1px 2px rgba(15, 17, 23, .05), 0 4px 14px -6px rgba(15, 17, 23, .10);
	--sp-shadow-md: 0 2px 4px rgba(15, 17, 23, .05), 0 16px 32px -14px rgba(15, 17, 23, .22);
	--sp-shadow-lg: 0 30px 60px -24px rgba(15, 17, 23, .35);
	--sp-shadow-red: 0 10px 24px -10px rgba(232, 38, 47, .55);

	--sp-container: 1320px;
	--sp-gutter: 24px;
	--sp-ease: cubic-bezier(.2, .7, .2, 1);

	/* Motta variables — re-skin the whole theme in one go. */
	--mt-font__main: var(--sp-font-body);
	--mt-border__radius: 12px;
	--mt-color__primary: var(--sp-red);
	--mt-color__primary--dark: var(--sp-red-600);
	--mt-color__primary--darker: var(--sp-red-700);
	--mt-color__primary--light: #fff;
	--mt-color__primary--gray: #ffe3e4;
	--mt-color__primary--grayer: #ffc3c6;
	--mt-color__primary--grayest: #f58b90;
	--mt-color__primary--box-shadow: rgba(232, 38, 47, .35);
	--mt-color__heading: var(--sp-text);
	--mt-input__border-width: 1.5px;
	--mt-input__height: 52px;
}

body.snap-sf {
	font-family: var(--sp-font-body);
	color: var(--sp-text);
	background: var(--sp-surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.snap-sf h1, body.snap-sf h2, body.snap-sf h3, body.snap-sf h4, body.snap-sf h5, body.snap-sf h6,
body.snap-sf .h1, body.snap-sf .h2, body.snap-sf .h3, body.snap-sf .h4,
body.snap-sf .motta-button, body.snap-sf .button, body.snap-sf button,
body.snap-sf .page-header__title, body.snap-sf .woocommerce-loop-product__title,
body.snap-sf .product_title, body.snap-sf .sp-btn, body.snap-sf .price {
	font-family: var(--sp-font-display);
	letter-spacing: -.01em;
}

body.snap-sf a {
	transition: color .2s var(--sp-ease), opacity .2s var(--sp-ease);
}

body.snap-sf .container,
body.snap-sf .site-header__container.container,
body.snap-sf .topbar-container.container,
body.snap-sf .campaign-bar__container.container {
	max-width: calc(var(--sp-container) + var(--sp-gutter) * 2);
	padding-left: var(--sp-gutter);
	padding-right: var(--sp-gutter);
}

.sp-container {
	width: 100%;
	max-width: calc(var(--sp-container) + var(--sp-gutter) * 2);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--sp-gutter);
	padding-right: var(--sp-gutter);
}

.sp-icon {
	width: 1.1em;
	height: 1.1em;
	flex: 0 0 auto;
	vertical-align: -.18em;
}

body.snap-sf ::selection {
	background: var(--sp-red);
	color: #fff;
}

/* Focus rings that look designed, not default. */
body.snap-sf :where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 3px solid rgba(232, 38, 47, .35);
	outline-offset: 2px;
	border-radius: 6px;
}

/* ---------------------------------------------------------------------------
   2. BUTTONS & FORMS
   --------------------------------------------------------------------------- */
.sp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: 0 22px;
	height: 48px;
	border-radius: var(--sp-pill);
	font-weight: 700;
	font-size: 15px;
	line-height: 1;
	text-decoration: none !important;
	border: 1.5px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .25s var(--sp-ease), box-shadow .25s var(--sp-ease), background .2s, color .2s, border-color .2s;
}
.sp-btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.sp-btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.sp-btn .sp-icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--sp-ease); }
.sp-btn:hover .sp-icon--arrow-right { transform: translateX(3px); }

.sp-btn--primary {
	background: linear-gradient(135deg, #ff3b45 0%, var(--sp-red) 55%, var(--sp-red-600) 100%);
	color: #fff !important;
	box-shadow: var(--sp-shadow-red);
}
.sp-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(232, 38, 47, .65); color: #fff; }

.sp-btn--ghost {
	background: rgba(255, 255, 255, .06);
	color: #fff !important;
	border-color: rgba(255, 255, 255, .22);
	backdrop-filter: blur(8px);
}
.sp-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); transform: translateY(-2px); }

.sp-btn--light { background: #fff; color: var(--sp-ink) !important; box-shadow: var(--sp-shadow-md); }
.sp-btn--light:hover { transform: translateY(-2px); box-shadow: var(--sp-shadow-lg); }

.sp-btn--dark { background: var(--sp-ink); color: #fff !important; }
.sp-btn--dark:hover { background: var(--sp-ink-3); transform: translateY(-2px); }

.sp-link {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	font-weight: 700;
	font-family: var(--sp-font-display);
	color: var(--sp-text) !important;
	text-decoration: none !important;
	padding-bottom: 2px;
	border-bottom: 2px solid var(--sp-line-strong);
	transition: border-color .2s, color .2s;
}
.sp-link:hover { color: var(--sp-red) !important; border-color: var(--sp-red); }
.sp-link .sp-icon { transition: transform .25s var(--sp-ease); }
.sp-link:hover .sp-icon { transform: translateX(3px); }

/* Theme buttons: pill + brand palette. */
body.snap-sf .motta-button,
body.snap-sf .button:not(.wp-block-button__link),
body.snap-sf button.single_add_to_cart_button,
body.snap-sf .woocommerce-mini-cart__buttons a,
body.snap-sf .wc-block-components-button {
	border-radius: var(--sp-pill);
	font-family: var(--sp-font-display);
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

body.snap-sf .motta-button--raised,
body.snap-sf .motta-button--base,
body.snap-sf button.single_add_to_cart_button,
body.snap-sf .motta-button--bg-color-black,
body.snap-sf .motta-button--color-black {
	transition: transform .25s var(--sp-ease), box-shadow .25s var(--sp-ease), background .2s, color .2s;
}
body.snap-sf .motta-button--raised:hover,
body.snap-sf button.single_add_to_cart_button:hover {
	transform: translateY(-1px);
}

body.snap-sf .motta-button--bg-color-black,
body.snap-sf .motta-button--color-black {
	background-color: var(--sp-ink);
	color: #fff;
}
body.snap-sf .motta-button--bg-color-black:hover,
body.snap-sf .motta-button--color-black:hover {
	background-color: var(--sp-ink-3);
	color: #fff;
}

body.snap-sf input[type="text"],
body.snap-sf input[type="email"],
body.snap-sf input[type="tel"],
body.snap-sf input[type="password"],
body.snap-sf input[type="search"],
body.snap-sf input[type="number"],
body.snap-sf textarea,
body.snap-sf select,
body.snap-sf .select2-container--default .select2-selection--single {
	border-radius: var(--sp-radius-sm);
	border-color: var(--sp-line-strong);
	font-family: var(--sp-font-body);
	transition: border-color .2s, box-shadow .2s;
}
body.snap-sf input:focus,
body.snap-sf textarea:focus,
body.snap-sf select:focus {
	border-color: var(--sp-red);
	box-shadow: 0 0 0 4px rgba(232, 38, 47, .12);
}

/* ---------------------------------------------------------------------------
   3. HEADER FAMILY (campaign bar · topbar · main · bottom · sticky · mobile)
   --------------------------------------------------------------------------- */
body.snap-sf .campaign-bar {
	background: var(--sp-ink) !important;
	background-image: linear-gradient(90deg, #0f1117 0%, #1b1024 50%, #0f1117 100%) !important;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
body.snap-sf .campaign-bar .campaign-bar__container { min-height: 40px; }
body.snap-sf .campaign-bar__item { --mt-color__primary: #fff; color: #fff; font-weight: 500; font-size: 13px; letter-spacing: .01em; }
body.snap-sf .campaign-bar__item.text-dark { color: #fff; }
body.snap-sf .campaign-bar__text { color: rgba(255, 255, 255, .92); }
body.snap-sf .campaign-bar__text::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sp-green-bright);
	box-shadow: 0 0 0 4px rgba(85, 221, 119, .18);
	margin-right: 10px;
	vertical-align: 1px;
	animation: sp-pulse 2.2s infinite;
}
body.snap-sf .campaign-bar__button {
	color: #fff !important;
	font-weight: 700;
	border-radius: var(--sp-pill);
	padding: 4px 12px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .14);
	margin-left: 14px;
	text-decoration: none;
	transition: background .2s;
}
body.snap-sf .campaign-bar__button:hover { background: rgba(255, 255, 255, .16); }

body.snap-sf .topbar {
	background: #fff;
	border-bottom: 1px solid var(--sp-line);
	font-size: 13px;
}
body.snap-sf .topbar::before { display: none; }
body.snap-sf .topbar-navigation .nav-menu > li > a { color: var(--sp-muted); font-weight: 500; }
body.snap-sf .topbar-navigation .nav-menu > li > a:hover { color: var(--sp-red); }

body.snap-sf #site-header.site-header { box-shadow: none; }
body.snap-sf .site-header__desktop .header-main {
	background: #fff;
	height: 92px;
}
body.snap-sf .site-header__desktop .header-bottom {
	background: #fff;
	border-top: 1px solid var(--sp-line);
	border-bottom: 1px solid var(--sp-line);
	height: 56px;
}
body.snap-sf .site-header__desktop.motta-header-sticky .header-sticky {
	background: rgba(255, 255, 255, .86);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	box-shadow: 0 10px 30px -18px rgba(15, 17, 23, .35);
	border-bottom: 1px solid rgba(15, 17, 23, .06);
}

body.snap-sf .header-logo > a img {
	height: 40px !important;
	width: auto !important;
	image-rendering: -webkit-optimize-contrast;
	transition: transform .25s var(--sp-ease);
}
body.snap-sf .header-logo > a:hover img { transform: scale(1.04); }
body.snap-sf .header-logo .site-title,
body.snap-sf .header-logo .site-description { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Search bar → one soft pill with a red circular button. */
body.snap-sf .header-search--form .header-search__container.motta-type--input-text {
	background: var(--sp-bg);
	border: 1.5px solid transparent;
	border-radius: var(--sp-pill);
	box-shadow: inset 0 0 0 1px rgba(15, 17, 23, .04);
	transition: background .2s, border-color .2s, box-shadow .2s;
	height: 52px;
}
body.snap-sf .header-search--form .header-search__container.motta-type--input-text:focus-within {
	background: #fff;
	border-color: var(--sp-red);
	box-shadow: 0 0 0 4px rgba(232, 38, 47, .12);
}
body.snap-sf .header-search--form .header-search__field {
	background: transparent;
	border: 0 !important;
	box-shadow: none !important;
	height: 50px;
	padding-left: 22px;
	font-size: 15px;
	font-family: var(--sp-font-body);
}
body.snap-sf .header-search__divider { background: var(--sp-line-strong); height: 22px; }
body.snap-sf .header-search__categories-label { font-weight: 600; font-size: 14px; color: var(--sp-text); padding: 0 18px; }
body.snap-sf .header-search--form.header-search--outside .header-search__button {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	margin-left: 10px;
	background: var(--sp-red);
	box-shadow: var(--sp-shadow-red);
	border: 0;
}
body.snap-sf .header-search--form.header-search--outside .header-search__button:hover { background: var(--sp-red-600); transform: translateY(-1px); }
body.snap-sf .header-search__trending {
	border-radius: var(--sp-radius-md);
	box-shadow: var(--sp-shadow-md);
	border: 1px solid var(--sp-line);
}
body.snap-sf .header-search__trending-label { font-weight: 700; font-family: var(--sp-font-display); color: var(--sp-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
body.snap-sf .header-search__trending-links a { border-radius: var(--sp-pill); padding: 6px 12px; background: var(--sp-bg); display: inline-block; margin: 4px 6px 4px 0; font-weight: 500; }
body.snap-sf .header-search__trending-links a:hover { background: var(--sp-red-50); color: var(--sp-red); }
body.snap-sf .header-search__categories { border-radius: var(--sp-radius-md); box-shadow: var(--sp-shadow-md); border: 1px solid var(--sp-line); }
body.snap-sf .header-search__results { border-radius: var(--sp-radius-md); box-shadow: var(--sp-shadow-lg); border: 1px solid var(--sp-line); }

/* Account / cart buttons. */
body.snap-sf .header-account .motta-button--text,
body.snap-sf .header-cart .motta-button--text,
body.snap-sf .header-wishlist .motta-button--text,
body.snap-sf .header-compare .motta-button--text {
	font-weight: 600;
	font-size: 14px;
	color: var(--sp-text);
	border-radius: var(--sp-pill);
	padding: 8px 12px;
	transition: background .2s, color .2s;
}
body.snap-sf .header-account .motta-button--text:hover,
body.snap-sf .header-cart .motta-button--text:hover,
body.snap-sf .header-wishlist .motta-button--text:hover,
body.snap-sf .header-compare .motta-button--text:hover {
	background: var(--sp-bg);
	color: var(--sp-red);
}
body.snap-sf .header-counter,
body.snap-sf .header-cart__counter,
body.snap-sf .header-wishlist__counter,
body.snap-sf .header-compare__counter,
body.snap-sf .motta-mobile-navigation-bar .counter {
	background: var(--sp-red) !important;
	color: #fff !important;
	font-weight: 700;
	border-radius: var(--sp-pill);
	box-shadow: 0 0 0 2px #fff;
}

/* Category menu button + dropdown. */
body.snap-sf .header-category-menu .header-category__title {
	border-radius: var(--sp-pill);
	background: var(--sp-ink);
	color: #fff;
	font-weight: 700;
	font-family: var(--sp-font-display);
	border: 0 !important;
	padding: 0 22px 0 18px;
	height: 42px;
	box-shadow: none !important;
	transition: background .2s, transform .2s var(--sp-ease);
}
body.snap-sf .header-category-menu .header-category__title:hover { background: var(--sp-ink-3); }
body.snap-sf .header-category-menu .header-category__title .header-category__name { color: #fff; }
body.snap-sf .header-category-menu .header-category__title .motta-svg-icon { color: #fff; }
body.snap-sf .header-category-menu .header-category__content {
	border-radius: var(--sp-radius);
	box-shadow: var(--sp-shadow-lg);
	border: 1px solid var(--sp-line);
	overflow: hidden;
	margin-top: 8px;
	background: #fff;
}
body.snap-sf .header-category__menu > ul > li > a {
	font-weight: 600;
	font-size: 14.5px;
	padding: 11px 20px;
	color: var(--sp-text);
	transition: background .15s, color .15s, padding-left .2s var(--sp-ease);
}
body.snap-sf .header-category__menu > ul > li > a:hover {
	background: var(--sp-red-50);
	color: var(--sp-red);
	padding-left: 26px;
}
body.snap-sf .header-category__menu > ul > li > a .menu-item-icon { color: var(--sp-muted); }
body.snap-sf .header-category__menu > ul > li > a:hover .menu-item-icon { color: var(--sp-red); }

/* Primary menu. */
body.snap-sf .primary-navigation .nav-menu > li > a {
	font-weight: 600;
	font-size: 15px;
	color: var(--sp-text);
	position: relative;
}
body.snap-sf .primary-navigation .nav-menu > li > a::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 6px;
	height: 2px;
	border-radius: 2px;
	background: var(--sp-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--sp-ease);
}
body.snap-sf .primary-navigation .nav-menu > li > a:hover::after,
body.snap-sf .primary-navigation .nav-menu > li.current-menu-item > a::after { transform: scaleX(1); }
body.snap-sf .primary-navigation .nav-menu > li > a:hover { color: var(--sp-red); }
body.snap-sf #header-custom-text a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--sp-red);
	background: var(--sp-red-50);
	border-radius: var(--sp-pill);
	padding: 8px 16px;
	font-family: var(--sp-font-display);
	font-size: 14px;
	transition: background .2s, color .2s;
}
body.snap-sf #header-custom-text a:hover { background: var(--sp-red); color: #fff; }

/* Mobile header. */
body.snap-sf .site-header__mobile .header-mobile-main { background: #fff; border-bottom: 1px solid var(--sp-line); height: 64px; }
body.snap-sf .site-header__mobile .header-logo > a img { height: 32px !important; width: auto !important; }
body.snap-sf .header-hamburger { border-radius: var(--sp-pill); }

/* ---------------------------------------------------------------------------
   4. HOMEPAGE SECTIONS
   --------------------------------------------------------------------------- */
body.snap-home #site-content { padding-top: 0 !important; padding-bottom: 0 !important; }
.sp-home { overflow-x: clip; }

.sp-section { padding: 72px 0; }
.sp-section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}
.sp-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.sp-kicker {
	display: inline-block;
	font-family: var(--sp-font-display);
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--sp-red);
	margin-bottom: 10px;
}
.sp-kicker--light { color: var(--sp-green-bright); }
.sp-section__title {
	font-family: var(--sp-font-display);
	font-weight: 800;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.1;
	letter-spacing: -.02em;
	margin: 0;
	color: var(--sp-text);
}

/* --- Hero --- */
.sp-hero {
	position: relative;
	background: var(--sp-ink);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.sp-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sp-hero__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: .55;
	will-change: transform;
}
.sp-hero__glow--red { width: 640px; height: 640px; left: -160px; top: -240px; background: radial-gradient(circle, #ff3b45 0%, rgba(255, 59, 69, 0) 70%); animation: sp-drift 18s ease-in-out infinite alternate; }
.sp-hero__glow--green { width: 560px; height: 560px; right: -120px; bottom: -220px; background: radial-gradient(circle, #55dd77 0%, rgba(85, 221, 119, 0) 70%); opacity: .4; animation: sp-drift 22s ease-in-out infinite alternate-reverse; }
.sp-hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
	-webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 72%);
}
.sp-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: 48px;
	padding-top: 72px;
	padding-bottom: 72px;
	min-height: 600px;
}
.sp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px 8px 10px;
	border-radius: var(--sp-pill);
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(255, 255, 255, .14);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .01em;
	color: #fff;
	margin-bottom: 26px;
	backdrop-filter: blur(6px);
}
.sp-eyebrow .sp-icon { color: var(--sp-green-bright); }
.sp-hero__title {
	font-family: var(--sp-font-display);
	font-weight: 800;
	font-size: clamp(40px, 5.4vw, 72px);
	line-height: 1.02;
	letter-spacing: -.035em;
	margin: 0 0 22px;
	color: #fff;
}
.sp-hero__title-accent {
	background: linear-gradient(92deg, #ff6b72 0%, #ff3b45 35%, #ffb547 70%, #55dd77 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.sp-hero__lead {
	font-size: clamp(16px, 1.3vw, 19px);
	line-height: 1.6;
	color: rgba(255, 255, 255, .78);
	max-width: 560px;
	margin: 0 0 32px;
}
.sp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.sp-hero__trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	font-size: 13.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, .8);
}
.sp-hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.sp-hero__trust .sp-icon { color: var(--sp-green-bright); width: 18px; height: 18px; background: rgba(85, 221, 119, .12); border-radius: 50%; padding: 3px; }

/* Floating collage */
.sp-hero__collage {
	position: relative;
	height: 520px;
}
.sp-float {
	position: absolute;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	border-radius: var(--sp-radius);
	background: rgba(255, 255, 255, .96);
	color: var(--sp-text);
	text-decoration: none !important;
	box-shadow: var(--sp-shadow-lg), 0 0 0 1px rgba(255, 255, 255, .5) inset;
	width: 46%;
	transition: transform .35s var(--sp-ease), box-shadow .35s var(--sp-ease);
	animation: sp-float 7s ease-in-out infinite;
	will-change: transform;
}
.sp-float:hover { z-index: 5; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .6); animation-play-state: paused; transform: translateY(-6px) scale(1.03) !important; }
.sp-float__img {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: var(--sp-radius-md);
	background: var(--sp-bg);
	overflow: hidden;
}
.sp-float__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-float__meta { display: flex; flex-direction: column; gap: 2px; padding: 0 4px 2px; }
.sp-float__name { font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.sp-float__price { font-family: var(--sp-font-display); font-weight: 800; font-size: 15px; color: var(--sp-red); }
.sp-float__price .woocommerce-Price-amount { color: inherit; }
.sp-float--1 { left: 0; top: 24px; z-index: 2; animation-delay: -1s; }
.sp-float--2 { right: 0; top: 0; width: 42%; animation-delay: -3s; }
.sp-float--3 { left: 8%; bottom: 0; width: 40%; animation-delay: -5s; }
.sp-float--4 { right: 4%; bottom: 36px; width: 44%; z-index: 2; animation-delay: -2s; }
.sp-float__chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px 10px 10px;
	border-radius: var(--sp-pill);
	background: rgba(23, 26, 35, .82);
	border: 1px solid rgba(255, 255, 255, .14);
	color: #fff;
	backdrop-filter: blur(10px);
	box-shadow: var(--sp-shadow-lg);
	z-index: 4;
	animation: sp-float 6s ease-in-out infinite;
	white-space: nowrap;
}
.sp-float__chip .sp-icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--sp-green-bright); color: var(--sp-ink); }
.sp-float__chip span { display: flex; flex-direction: column; line-height: 1.15; }
.sp-float__chip strong { font-size: 13px; font-family: var(--sp-font-display); }
.sp-float__chip em { font-style: normal; font-size: 11.5px; color: rgba(255, 255, 255, .7); }
.sp-float__chip--pay { left: 36%; top: 42%; animation-delay: -4s; }
.sp-float__chip--ship { right: -2%; top: 50%; animation-delay: -1.5s; }
.sp-float__chip--ship .sp-icon { background: #ffb547; }

/* Marquee */
.sp-marquee {
	border-top: 1px solid rgba(255, 255, 255, .08);
	background: rgba(255, 255, 255, .03);
	overflow: hidden;
	padding: 14px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sp-marquee__track {
	display: flex;
	align-items: center;
	gap: 28px;
	width: max-content;
	animation: sp-marquee 40s linear infinite;
	font-family: var(--sp-font-display);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .72);
}
.sp-marquee__track i { font-style: normal; color: var(--sp-red); font-size: 12px; }
.sp-marquee:hover .sp-marquee__track { animation-play-state: paused; }

/* --- Category rail --- */
.sp-cats { padding-top: 64px; }
.sp-cats__rail {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(176px, 1fr);
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 6px 6px 18px;
	margin: -6px -6px 0;
	scrollbar-width: none;
}
.sp-cats__rail::-webkit-scrollbar { display: none; }
.sp-cat {
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 18px 14px 20px;
	border-radius: var(--sp-radius);
	background: var(--sp-surface);
	border: 1px solid var(--sp-line);
	text-decoration: none !important;
	color: var(--sp-text);
	transition: transform .3s var(--sp-ease), box-shadow .3s var(--sp-ease), border-color .3s;
	position: relative;
	overflow: hidden;
}
.sp-cat::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 58%;
	background: var(--sp-tone, var(--sp-bg));
	border-radius: var(--sp-radius) var(--sp-radius) 50% 50% / var(--sp-radius) var(--sp-radius) 28px 28px;
	transition: height .3s var(--sp-ease);
}
.sp-cat:hover { transform: translateY(-6px); box-shadow: var(--sp-shadow-md); border-color: transparent; }
.sp-cat:hover::before { height: 66%; }
.sp-cat--red { --sp-tone: var(--sp-red-50); }
.sp-cat--green { --sp-tone: var(--sp-green-50); }
.sp-cat--ink { --sp-tone: #ececf1; }
.sp-cat--amber { --sp-tone: var(--sp-amber-50); }
.sp-cat--blue { --sp-tone: var(--sp-blue-50); }
.sp-cat--violet { --sp-tone: var(--sp-violet-50); }
.sp-cat--teal { --sp-tone: var(--sp-teal-50); }
.sp-cat__img {
	position: relative;
	width: 122px;
	height: 122px;
	border-radius: 50%;
	background: #fff;
	box-shadow: var(--sp-shadow-sm);
	overflow: hidden;
	display: grid;
	place-items: center;
	margin-bottom: 8px;
	transition: transform .35s var(--sp-ease);
}
.sp-cat:hover .sp-cat__img { transform: scale(1.06) rotate(-2deg); }
.sp-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-cat__name { position: relative; font-family: var(--sp-font-display); font-weight: 700; font-size: 15px; line-height: 1.25; }
.sp-cat__count { position: relative; font-size: 12.5px; color: var(--sp-muted); }

/* --- Product sections --- */
.sp-products { background: var(--sp-bg); }
.sp-products--alt { background: #fff; }

/* --- Promo tiles --- */
.sp-promos { padding-top: 24px; padding-bottom: 24px; }
.sp-promos__grid {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr;
	gap: 20px;
}
.sp-promo {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 360px;
	border-radius: var(--sp-radius);
	overflow: hidden;
	text-decoration: none !important;
	color: #fff;
	isolation: isolate;
	box-shadow: var(--sp-shadow-sm);
	transition: transform .35s var(--sp-ease), box-shadow .35s var(--sp-ease);
}
.sp-promo:hover { transform: translateY(-6px); box-shadow: var(--sp-shadow-lg); }
.sp-promo--ink { background: linear-gradient(160deg, #23262f 0%, #0f1117 100%); }
.sp-promo--red { background: linear-gradient(160deg, #ff4d55 0%, #c81e26 100%); }
.sp-promo--green { background: linear-gradient(160deg, #2fd371 0%, #118a44 100%); }
.sp-promo__img {
	position: absolute;
	right: -6%;
	top: -4%;
	width: 62%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	z-index: -1;
	opacity: .95;
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
	transition: transform .5s var(--sp-ease);
	transform: rotate(-6deg);
}
.sp-promo--1 .sp-promo__img { width: 48%; right: 4%; top: 8%; }
.sp-promo:hover .sp-promo__img { transform: rotate(0deg) scale(1.05); }
.sp-promo__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-promo__body {
	position: relative;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 100%);
	max-width: 100%;
}
.sp-promo__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.sp-promo__title { font-family: var(--sp-font-display); font-weight: 800; font-size: clamp(22px, 2vw, 30px); line-height: 1.12; letter-spacing: -.02em; max-width: 18ch; }
.sp-promo__text { font-size: 14.5px; line-height: 1.5; opacity: .9; max-width: 34ch; }
.sp-promo__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-family: var(--sp-font-display); margin-top: 8px; font-size: 14px; }
.sp-promo__cta .sp-icon { transition: transform .25s var(--sp-ease); }
.sp-promo:hover .sp-promo__cta .sp-icon { transform: translateX(4px); }

/* --- Why --- */
.sp-why { background: #fff; }
.sp-why__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.sp-why__item {
	padding: 28px 26px;
	border-radius: var(--sp-radius);
	background: var(--sp-bg);
	border: 1px solid var(--sp-line);
	transition: transform .3s var(--sp-ease), box-shadow .3s var(--sp-ease), background .3s;
}
.sp-why__item:hover { transform: translateY(-5px); box-shadow: var(--sp-shadow-md); background: #fff; }
.sp-why__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--sp-ink);
	color: var(--sp-green-bright);
	margin-bottom: 18px;
	box-shadow: 0 10px 20px -10px rgba(15, 17, 23, .5);
}
.sp-why__icon .sp-icon { width: 24px; height: 24px; }
.sp-why__item h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.sp-why__item p { margin: 0; color: var(--sp-muted); font-size: 14.5px; line-height: 1.55; }

/* --- Pay band --- */
.sp-pay { padding-top: 24px; padding-bottom: 88px; }
.sp-pay__card {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 48px;
	align-items: center;
	padding: 56px;
	border-radius: 28px;
	background: var(--sp-ink);
	color: #fff;
	overflow: hidden;
	max-width: var(--sp-container);
}
.sp-pay__card::before {
	content: "";
	position: absolute;
	width: 520px;
	height: 520px;
	right: -160px;
	top: -200px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(85, 221, 119, .55), rgba(85, 221, 119, 0) 70%);
	filter: blur(50px);
	pointer-events: none;
}
.sp-pay__card::after {
	content: "";
	position: absolute;
	width: 420px;
	height: 420px;
	left: -140px;
	bottom: -220px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 59, 69, .5), rgba(255, 59, 69, 0) 70%);
	filter: blur(50px);
	pointer-events: none;
}
.sp-pay__copy { position: relative; z-index: 1; }
.sp-pay__copy h2 { font-family: var(--sp-font-display); font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.1; letter-spacing: -.025em; color: #fff; margin: 0 0 16px; }
.sp-pay__copy p { color: rgba(255, 255, 255, .78); font-size: 16px; line-height: 1.6; margin: 0 0 22px; max-width: 48ch; }
.sp-pay__copy .sp-paypills { margin-bottom: 28px; }
.sp-pay__steps {
	position: relative;
	z-index: 1;
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	counter-reset: step;
}
.sp-pay__steps li {
	display: grid;
	grid-template-columns: 44px 1fr;
	grid-template-rows: auto auto;
	column-gap: 16px;
	padding: 16px 18px;
	border-radius: var(--sp-radius-md);
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1);
	backdrop-filter: blur(6px);
	transition: background .2s, transform .25s var(--sp-ease);
}
.sp-pay__steps li:hover { background: rgba(255, 255, 255, .1); transform: translateX(4px); }
.sp-pay__num {
	grid-row: 1 / span 2;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--sp-font-display);
	font-weight: 800;
	background: linear-gradient(135deg, var(--sp-green-bright), #19b65a);
	color: var(--sp-ink);
}
.sp-pay__steps strong { font-family: var(--sp-font-display); font-size: 15.5px; }
.sp-pay__steps span:not(.sp-pay__num) { font-size: 13.5px; color: rgba(255, 255, 255, .72); }

/* Payment pills (used in hero, pay band, footer, product page). */
.sp-paypills { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-paypill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 10px;
	border-radius: var(--sp-pill);
	font-family: var(--sp-font-display);
	font-weight: 700;
	font-size: 13px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .12);
	color: #fff;
}
.sp-paypill::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.sp-paypill--mpesa::before { background: #3cc251; }
.sp-paypill--airtel::before { background: #ff3b45; }
.sp-paypill--mtn::before { background: #ffcc00; }
.sp-paypills--lg .sp-paypill { font-size: 14px; padding: 9px 16px 9px 12px; }
.sp-paypills--light .sp-paypill { background: var(--sp-bg); border-color: var(--sp-line); color: var(--sp-text); }

/* ---------------------------------------------------------------------------
   5. PRODUCT CARDS (global — shop, category, related, homepage, quick view)
   --------------------------------------------------------------------------- */
body.snap-sf ul.products { gap: 20px; }
body.snap-sf ul.products li.product {
	background: var(--sp-surface);
	border: 1px solid var(--sp-line);
	border-radius: var(--sp-radius);
	padding: 12px 12px 16px;
	transition: transform .3s var(--sp-ease), box-shadow .3s var(--sp-ease), border-color .3s;
	position: relative;
	overflow: hidden;
}
body.snap-sf ul.products li.product:hover {
	transform: translateY(-6px);
	box-shadow: var(--sp-shadow-md);
	border-color: transparent;
}
body.snap-sf ul.products li.product .product-inner { display: flex; flex-direction: column; height: 100%; }
body.snap-sf ul.products li.product .product-thumbnail {
	border-radius: var(--sp-radius-md);
	overflow: hidden;
	background: var(--sp-bg);
	margin-bottom: 14px;
	position: relative;
}
body.snap-sf ul.products li.product .product-thumbnail img {
	transition: transform .6s var(--sp-ease);
	border-radius: 0;
}
body.snap-sf ul.products li.product:hover .product-thumbnail img { transform: scale(1.06); }
body.snap-sf ul.products li.product .motta-product-card-swiper-button {
	background: rgba(255, 255, 255, .9);
	border-radius: 50%;
	box-shadow: var(--sp-shadow-sm);
	width: 34px;
	height: 34px;
}
body.snap-sf ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--sp-font-display);
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.35;
	margin: 0 0 6px;
}
body.snap-sf ul.products li.product .woocommerce-loop-product__title a { color: var(--sp-text); }
body.snap-sf ul.products li.product .woocommerce-loop-product__title a:hover { color: var(--sp-red); }
body.snap-sf ul.products li.product .meta-wrapper,
body.snap-sf ul.products li.product .meta-wrapper a {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--sp-muted);
}
body.snap-sf ul.products li.product .meta-wrapper { margin-bottom: 6px; }
body.snap-sf ul.products li.product .meta-wrapper a:hover { color: var(--sp-red); }
body.snap-sf ul.products li.product .price {
	font-family: var(--sp-font-display);
	font-weight: 800;
	font-size: 16px;
	color: var(--sp-text);
}
body.snap-sf ul.products li.product .price del { color: var(--sp-muted); font-weight: 500; font-size: 13px; opacity: 1; margin-right: 6px; }
body.snap-sf ul.products li.product .price ins { text-decoration: none; color: var(--sp-red); }
body.snap-sf ul.products li.product .motta-rating { margin: 2px 0 6px; }
body.snap-sf ul.products li.product .star-rating,
body.snap-sf .star-rating .user-rating { color: var(--sp-amber); }
body.snap-sf ul.products li.product .review-count { font-size: 12px; color: var(--sp-muted); }

/* Product actions row (price + add to cart). */
body.snap-sf ul.products li.product .product-actions {
	margin-top: auto;
	padding-top: 10px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
body.snap-sf ul.products li.product .product-actions .price { margin-right: auto; }
body.snap-sf ul.products li.product .product-actions .motta-button--atc,
body.snap-sf ul.products li.product .product-actions .button.add_to_cart_button,
body.snap-sf ul.products li.product .product-actions .button.product_type_simple,
body.snap-sf ul.products li.product .product-actions .button.product_type_variable,
body.snap-sf ul.products li.product .product-actions .button.product_type_grouped {
	border-radius: var(--sp-pill);
	background: var(--sp-ink);
	color: #fff;
	font-weight: 700;
	font-size: 13px;
	padding: 0 16px;
	height: 40px;
	line-height: 40px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 0;
	transition: background .2s, transform .2s var(--sp-ease), box-shadow .2s;
}
body.snap-sf ul.products li.product .product-actions .motta-button--atc:hover,
body.snap-sf ul.products li.product .product-actions .button.add_to_cart_button:hover {
	background: var(--sp-red);
	box-shadow: var(--sp-shadow-red);
	transform: translateY(-1px);
	color: #fff;
}
body.snap-sf ul.products li.product .product-actions .motta-button--atc.loading { opacity: .7; }
body.snap-sf ul.products li.product .product-actions .motta-button--atc.added { background: var(--sp-green-600); }
body.snap-sf ul.products li.product .product-actions .motta-button--quickview,
body.snap-sf ul.products li.product .product-actions .product-featured-icons { display: none; }
body.snap-sf ul.products li.product .added_to_cart { display: none !important; }

/* Hover icons on the thumbnail (quick view / compare / wishlist). */
body.snap-sf ul.products li.product .product-thumbnail .product-featured-icons {
	position: absolute;
	top: 10px;
	right: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	opacity: 0;
	transform: translateX(8px);
	transition: opacity .25s, transform .25s var(--sp-ease);
	z-index: 3;
}
body.snap-sf ul.products li.product:hover .product-thumbnail .product-featured-icons { opacity: 1; transform: none; }
body.snap-sf ul.products li.product .product-thumbnail .product-featured-icons > a {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	color: var(--sp-text);
	display: grid;
	place-items: center;
	box-shadow: var(--sp-shadow-sm);
	padding: 0;
	font-size: 0;
	transition: background .2s, color .2s, transform .2s var(--sp-ease);
}
body.snap-sf ul.products li.product .product-thumbnail .product-featured-icons > a:hover { background: var(--sp-red); color: #fff; transform: scale(1.08); }
body.snap-sf ul.products li.product .product-thumbnail .product-featured-icons > a .motta-svg-icon { font-size: 16px; }
body.snap-sf ul.products li.product .product-thumbnail .product-featured-icons > a span:not(.motta-svg-icon):not(.motta-button__icon):not(.wcboost-products-compare-button__icon):not(.wcboost-wishlist-button__icon) { display: none; }
body.snap-sf ul.products li.product .product-thumbnail .product-featured-icons .add-to-cart-text { display: none; }

/* Badges. */
body.snap-sf .onsale,
body.snap-sf .sp-badge,
body.snap-sf .woocommerce-badges .woocommerce-badge,
body.snap-sf .product-badges .badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	background: var(--sp-red);
	color: #fff;
	font-family: var(--sp-font-display);
	font-weight: 800;
	font-size: 12px;
	padding: 5px 10px;
	border-radius: var(--sp-pill);
	line-height: 1.2;
	box-shadow: var(--sp-shadow-red);
}
body.snap-sf .woocommerce-badges .woocommerce-badge.new { background: var(--sp-green); }
body.snap-sf .woocommerce-badges .woocommerce-badge.sold-out,
body.snap-sf .woocommerce-badges .woocommerce-badge.out-of-stock { background: var(--sp-ink); box-shadow: none; }
.sp-price-ask { font-size: 13px; font-weight: 600; color: var(--sp-muted); }

/* ---------------------------------------------------------------------------
   6. SHOP & CATEGORY PAGES
   --------------------------------------------------------------------------- */
body.snap-sf .page-header {
	background: var(--sp-bg);
	border-bottom: 1px solid var(--sp-line);
	padding: 26px 0 22px;
	min-height: 0 !important;
	height: auto !important;
}
body.snap-sf .page-header .page-header__image { display: none !important; }
body.snap-sf .page-header .page-header__content { padding: 0; min-height: 0; height: auto; text-align: left; }
body.snap-sf .page-header .page-header__title {
	font-family: var(--sp-font-display);
	font-weight: 800;
	font-size: clamp(28px, 3.4vw, 40px);
	letter-spacing: -.025em;
	color: var(--sp-text) !important;
	margin: 6px 0 0;
	text-align: left;
}
body.snap-sf .page-header--products .page-header__title { color: var(--sp-text) !important; }
body.snap-sf .page-header .page-header__description { color: var(--sp-muted); font-size: 15px; max-width: 70ch; margin-top: 8px; }
body.snap-sf .site-breadcrumb,
body.snap-sf .woocommerce-breadcrumb {
	font-size: 13px;
	color: var(--sp-muted);
	margin-bottom: 4px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
body.snap-sf .woocommerce-breadcrumb a { color: var(--sp-muted); }
body.snap-sf .woocommerce-breadcrumb a:hover { color: var(--sp-red); }
.sp-crumb-sep { opacity: .45; margin: 0 2px; }

body.snap-sf .motta-catalog-page #site-content { padding-top: 28px; }
body.snap-sf .catalog-toolbar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding: 10px 14px;
	border: 1px solid var(--sp-line);
	border-radius: var(--sp-radius-md);
	background: #fff;
	margin-bottom: 24px;
}
body.snap-sf .motta-result-count { font-size: 14px; color: var(--sp-muted); margin: 0 auto 0 0; }
body.snap-sf .catalog-toolbar__toolbar { display: flex; align-items: center; gap: 12px; }
body.snap-sf .woocommerce-ordering__label { font-size: 13px; color: var(--sp-muted); font-weight: 500; }
body.snap-sf .woocommerce-ordering select.orderby {
	border-radius: var(--sp-pill);
	border: 1.5px solid var(--sp-line-strong);
	padding: 0 36px 0 16px;
	height: 40px;
	font-weight: 600;
	font-size: 13.5px;
	background-color: #fff;
}
body.snap-sf #motta-toolbar-view { display: inline-flex; gap: 2px; padding: 3px; background: var(--sp-bg); border-radius: var(--sp-pill); }
body.snap-sf #motta-toolbar-view a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--sp-muted); transition: background .2s, color .2s; }
body.snap-sf #motta-toolbar-view a.current, body.snap-sf #motta-toolbar-view a:hover { background: #fff; color: var(--sp-text); box-shadow: var(--sp-shadow-sm); }

body.snap-sf nav.woocommerce-navigation { text-align: center; margin: 36px 0 12px; }
body.snap-sf nav.woocommerce-navigation .nav-links.motta-button {
	border-radius: var(--sp-pill);
	background: var(--sp-ink);
	color: #fff;
	padding: 0 32px;
	height: 52px;
	line-height: 52px;
	font-weight: 700;
	box-shadow: var(--sp-shadow-md);
}
body.snap-sf nav.woocommerce-navigation .nav-links.motta-button:hover { background: var(--sp-red); box-shadow: var(--sp-shadow-red); }
body.snap-sf .woocommerce-pagination ul.page-numbers { display: inline-flex; gap: 6px; }
body.snap-sf .woocommerce-pagination .page-numbers li a,
body.snap-sf .woocommerce-pagination .page-numbers li span {
	border-radius: 50%;
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	font-weight: 700;
	border: 1px solid var(--sp-line);
}
body.snap-sf .woocommerce-pagination .page-numbers li span.current { background: var(--sp-ink); color: #fff; border-color: var(--sp-ink); }

/* Catalog sidebar / filters. */
body.snap-sf .catalog-sidebar .widget,
body.snap-sf .catalog-filters-sidebar .widget {
	border: 1px solid var(--sp-line);
	border-radius: var(--sp-radius-md);
	padding: 18px 20px;
	margin-bottom: 16px;
	background: #fff;
}
body.snap-sf .catalog-sidebar .widget .widget-title,
body.snap-sf .catalog-sidebar .widget .widgettitle { font-family: var(--sp-font-display); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
body.snap-sf .widget_product_categories li a,
body.snap-sf .widget_layered_nav li a { color: var(--sp-text); font-size: 14px; }
body.snap-sf .widget_product_categories li a:hover { color: var(--sp-red); }
body.snap-sf .widget_product_categories li .count { color: var(--sp-muted); font-size: 12px; }

/* ---------------------------------------------------------------------------
   7. SINGLE PRODUCT
   --------------------------------------------------------------------------- */
body.snap-sf.single-product #site-content { padding-top: 24px; }
body.snap-sf.single-product .motta-breadcrumb-social-wrapper { margin-bottom: 18px; }
body.snap-sf.single-product .motta-product-quick-links .motta-button--text { color: var(--sp-muted); font-weight: 600; font-size: 13px; }
body.snap-sf.single-product .product-gallery-summary {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 48px;
	align-items: start;
}
body.snap-sf.single-product .motta-product-gallery { position: sticky; top: 100px; }
body.snap-sf.single-product .woocommerce-product-gallery__wrapper {
	border-radius: var(--sp-radius);
	background: var(--sp-bg);
	overflow: hidden;
	border: 1px solid var(--sp-line);
}
body.snap-sf.single-product .woocommerce-product-gallery__image img { border-radius: 0; }
body.snap-sf.single-product .flex-control-thumbs li img,
body.snap-sf.single-product .woocommerce-product-gallery .swiper-slide img { border-radius: var(--sp-radius-sm); }
body.snap-sf.single-product .flex-control-thumbs li img { border: 2px solid transparent; opacity: .7; transition: opacity .2s, border-color .2s; }
body.snap-sf.single-product .flex-control-thumbs li img.flex-active,
body.snap-sf.single-product .flex-control-thumbs li img:hover { opacity: 1; border-color: var(--sp-red); }
body.snap-sf.single-product .motta-product-images-buttons .motta-button { background: #fff; box-shadow: var(--sp-shadow-sm); border-radius: 50%; }

body.snap-sf.single-product .summary.entry-summary { padding-top: 8px; }
body.snap-sf.single-product .summary h1.product_title {
	font-family: var(--sp-font-display);
	font-weight: 800;
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.15;
	letter-spacing: -.025em;
	margin: 0 0 12px;
	color: var(--sp-text);
}
body.snap-sf.single-product .product-meta-wrapper .meta { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sp-muted); }
body.snap-sf.single-product .product-meta-wrapper .meta a { color: var(--sp-red); }
body.snap-sf.single-product .motta-price-stock {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	padding: 18px 0;
	margin: 14px 0 18px;
	border-top: 1px solid var(--sp-line);
	border-bottom: 1px solid var(--sp-line);
}
body.snap-sf.single-product .summary p.price,
body.snap-sf.single-product .summary .price {
	font-family: var(--sp-font-display);
	font-weight: 800;
	font-size: clamp(26px, 2.6vw, 34px);
	color: var(--sp-text);
	margin: 0;
	letter-spacing: -.02em;
}
body.snap-sf.single-product .summary .price del { font-size: .55em; font-weight: 500; color: var(--sp-muted); margin-right: 10px; }
body.snap-sf.single-product .summary .price ins { text-decoration: none; color: var(--sp-red); }
body.snap-sf.single-product .summary p.stock {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: var(--sp-pill);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
body.snap-sf.single-product .summary p.stock.in-stock { background: var(--sp-green-50); color: var(--sp-green-600); }
body.snap-sf.single-product .summary p.stock.in-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sp-green); }
body.snap-sf.single-product .summary p.stock.out-of-stock { background: var(--sp-red-50); color: var(--sp-red-600); }

body.snap-sf.single-product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
body.snap-sf.single-product form.cart .quantity {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--sp-line-strong);
	border-radius: var(--sp-pill);
	height: 54px;
	padding: 0 8px;
	background: #fff;
}
body.snap-sf.single-product form.cart .quantity input.qty {
	border: 0 !important;
	box-shadow: none !important;
	width: 48px;
	text-align: center;
	font-weight: 700;
	font-family: var(--sp-font-display);
	font-size: 16px;
	height: 50px;
	background: transparent;
}
body.snap-sf.single-product form.cart .quantity .motta-qty-button {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background .2s;
}
body.snap-sf.single-product form.cart .quantity .motta-qty-button:hover { background: var(--sp-bg); }
body.snap-sf.single-product button.single_add_to_cart_button {
	flex: 1 1 180px;
	height: 54px;
	border-radius: var(--sp-pill);
	background: linear-gradient(135deg, #ff3b45 0%, var(--sp-red) 55%, var(--sp-red-600) 100%);
	color: #fff;
	font-size: 15.5px;
	font-weight: 700;
	box-shadow: var(--sp-shadow-red);
	border: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
body.snap-sf.single-product button.single_add_to_cart_button:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(232, 38, 47, .65); }
body.snap-sf.single-product button.motta-buy-now-button {
	height: 54px;
	border-radius: var(--sp-pill);
	border: 1.5px solid var(--sp-ink);
	color: var(--sp-ink);
	background: #fff;
	font-weight: 700;
	padding: 0 24px;
	flex: 1 1 140px;
	transition: background .2s, color .2s, transform .2s var(--sp-ease);
}
body.snap-sf.single-product button.motta-buy-now-button:hover { background: var(--sp-ink); color: #fff; transform: translateY(-2px); }

/* Trust list under the form. */
.sp-trust-list {
	list-style: none;
	margin: 6px 0 20px;
	padding: 16px 18px;
	border-radius: var(--sp-radius-md);
	background: var(--sp-bg);
	border: 1px solid var(--sp-line);
	display: grid;
	gap: 10px;
}
.sp-trust-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--sp-muted); line-height: 1.45; }
.sp-trust-list li .sp-icon { width: 22px; height: 22px; color: var(--sp-green-600); flex: 0 0 22px; margin-top: 1px; }
.sp-trust-list strong { color: var(--sp-text); font-weight: 700; display: block; }

body.snap-sf.single-product .summary .product-featured-icons { margin-top: 4px; }
body.snap-sf.single-product .summary .product-featured-icons .motta-button--text { color: var(--sp-muted); font-weight: 600; font-size: 13px; }

/* Tabs / description / reviews. */
body.snap-sf.single-product .woocommerce-tabs { margin-top: 56px; }
body.snap-sf.single-product .motta-tabs-heading { border-bottom: 1px solid var(--sp-line); gap: 8px; }
body.snap-sf.single-product .motta-tabs-heading li a {
	font-family: var(--sp-font-display);
	font-weight: 700;
	font-size: 15px;
	color: var(--sp-muted);
	padding: 14px 18px;
	border-radius: var(--sp-pill) var(--sp-pill) 0 0;
	position: relative;
}
body.snap-sf.single-product .motta-tabs-heading li.active a { color: var(--sp-text); }
body.snap-sf.single-product .motta-tabs-heading li.active a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; background: var(--sp-red); border-radius: 3px; }
body.snap-sf.single-product .woocommerce-Tabs-panel { padding: 28px 0; font-size: 15px; line-height: 1.7; color: #2b2f3a; }
body.snap-sf.single-product .woocommerce-Tabs-panel h2 { font-size: 20px; }
body.snap-sf.single-product .motta-dropdown__title { font-family: var(--sp-font-display); font-weight: 700; }
body.snap-sf.single-product .motta-product-rating { border-radius: var(--sp-radius); background: var(--sp-bg); border: 1px solid var(--sp-line); padding: 24px; }
body.snap-sf.single-product .motta-product-rating__average-value { font-family: var(--sp-font-display); font-weight: 800; }
body.snap-sf.single-product .motta-form-review.motta-button { border-radius: var(--sp-pill); background: var(--sp-ink); color: #fff; }
body.snap-sf.single-product .commentlist .review { border-radius: var(--sp-radius-md); border: 1px solid var(--sp-line); padding: 18px 20px; margin-bottom: 14px; }
body.snap-sf.single-product .commentlist .review .meta { font-size: 13px; color: var(--sp-muted); }
body.snap-sf.single-product section.related.products,
body.snap-sf.single-product section.upsells.products { margin-top: 64px; }
body.snap-sf.single-product section.related.products > h2,
body.snap-sf.single-product section.upsells.products > h2 {
	font-family: var(--sp-font-display);
	font-weight: 800;
	font-size: clamp(22px, 2.4vw, 30px);
	letter-spacing: -.02em;
	margin-bottom: 24px;
}
body.snap-sf.single-product .product-sticky-header { background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); box-shadow: var(--sp-shadow-md); }

/* Quick view modal. */
body.snap-sf .quick-view-modal .modal__quickview { border-radius: var(--sp-radius); overflow: hidden; }

/* ---------------------------------------------------------------------------
   8. PANELS, MODALS, MOBILE NAV BAR
   --------------------------------------------------------------------------- */
body.snap-sf .offscreen-panel .panel__container {
	border-radius: 24px 0 0 24px;
	box-shadow: var(--sp-shadow-lg);
}
body.snap-sf .offscreen-panel.offscreen-panel--side-left .panel__container { border-radius: 0 24px 24px 0; }
body.snap-sf .offscreen-panel .panel__header { font-family: var(--sp-font-display); font-weight: 800; font-size: 18px; border-bottom: 1px solid var(--sp-line); }
body.snap-sf .offscreen-panel .panel__button-close { border-radius: 50%; background: var(--sp-bg); width: 36px; height: 36px; display: grid; place-items: center; }
body.snap-sf .account-panel__links .motta-button--text { border-radius: var(--sp-radius-sm); font-weight: 600; }
body.snap-sf .account-panel__links .motta-button--text:hover { background: var(--sp-bg); color: var(--sp-red); }
body.snap-sf .cart-panel .woocommerce-mini-cart__buttons .button { border-radius: var(--sp-pill); font-weight: 700; }
body.snap-sf .cart-panel .woocommerce-mini-cart__buttons .button.checkout { background: var(--sp-red); color: #fff; box-shadow: var(--sp-shadow-red); }
body.snap-sf .cart-panel .woocommerce-mini-cart__buttons .button:not(.checkout) { background: var(--sp-ink); color: #fff; }
body.snap-sf .cart-panel .woocommerce-mini-cart__total { font-family: var(--sp-font-display); font-weight: 800; }
body.snap-sf .widget_shopping_cart_content .woocommerce-mini-cart img { border-radius: var(--sp-radius-sm); }
body.snap-sf .modal .modal__container { border-radius: var(--sp-radius); }
body.snap-sf .hamburger-panel .hamburger-panel__item .motta-button--text { font-weight: 600; }
body.snap-sf .hamburger-panel .header-category__title { font-family: var(--sp-font-display); font-weight: 800; }

body.snap-sf .motta-mobile-navigation-bar {
	background: rgba(255, 255, 255, .92) !important;
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-top: 1px solid var(--sp-line);
	box-shadow: 0 -10px 30px -18px rgba(15, 17, 23, .4);
}
body.snap-sf .motta-mobile-navigation-bar .motta-mobile-navigation-bar__icon { color: var(--sp-muted); font-weight: 600; }
body.snap-sf .motta-mobile-navigation-bar .motta-mobile-navigation-bar__icon em { font-style: normal; font-size: 11px; font-weight: 600; }
body.snap-sf .motta-mobile-navigation-bar .motta-mobile-navigation-bar__icon:hover,
body.snap-sf .motta-mobile-navigation-bar .motta-mobile-navigation-bar__icon.active { color: var(--sp-red); }
body.snap-sf #gotop {
	border-radius: 50%;
	background: var(--sp-ink);
	color: #fff;
	box-shadow: var(--sp-shadow-md);
	width: 46px;
	height: 46px;
}
body.snap-sf #gotop:hover { background: var(--sp-red); }

/* ---------------------------------------------------------------------------
   9. CART / CHECKOUT (WooCommerce blocks)
   --------------------------------------------------------------------------- */
body.snap-sf .wp-block-woocommerce-cart,
body.snap-sf .wp-block-woocommerce-checkout { --wc-primary: var(--sp-red); font-family: var(--sp-font-body); }
body.snap-sf .wc-block-components-button:not(.is-link) {
	background: var(--sp-ink) !important;
	color: #fff !important;
	border-radius: var(--sp-pill) !important;
	font-weight: 700;
	font-family: var(--sp-font-display);
	box-shadow: none;
	transition: background .2s, transform .2s var(--sp-ease);
}
body.snap-sf .wc-block-components-button:not(.is-link):hover { background: var(--sp-red) !important; transform: translateY(-1px); }
body.snap-sf .wc-block-cart__submit-button,
body.snap-sf .wc-block-components-checkout-place-order-button {
	background: linear-gradient(135deg, #ff3b45 0%, var(--sp-red) 55%, var(--sp-red-600) 100%) !important;
	box-shadow: var(--sp-shadow-red) !important;
}
body.snap-sf .wc-block-components-sidebar,
body.snap-sf .wc-block-components-totals-wrapper,
body.snap-sf .wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper {
	border-color: var(--sp-line);
}
body.snap-sf .wc-block-cart .wc-block-components-sidebar,
body.snap-sf .wc-block-checkout .wc-block-components-sidebar {
	background: var(--sp-bg);
	border-radius: var(--sp-radius);
	padding: 8px 20px;
	border: 1px solid var(--sp-line);
}
body.snap-sf .wc-block-components-product-name { font-family: var(--sp-font-display); font-weight: 600; color: var(--sp-text); }
body.snap-sf .wc-block-cart-item__image img { border-radius: var(--sp-radius-sm); }
body.snap-sf .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--sp-font-display); font-weight: 800; font-size: 20px; }
body.snap-sf .wc-block-components-text-input input,
body.snap-sf .wc-block-components-combobox .wc-block-components-combobox-control input,
body.snap-sf .wc-block-components-select .components-custom-select-control__button { border-radius: var(--sp-radius-sm) !important; border-color: var(--sp-line-strong) !important; }
body.snap-sf .wc-block-components-text-input.is-active input { border-color: var(--sp-red) !important; box-shadow: 0 0 0 3px rgba(232, 38, 47, .12); }
body.snap-sf .wc-block-components-radio-control__option { border-color: var(--sp-line); }
body.snap-sf .wc-block-components-radio-control__input:checked { border-color: var(--sp-red); }
body.snap-sf .wc-block-components-radio-control__input:checked::before { background: var(--sp-red); }
body.snap-sf .wc-block-components-checkout-step__title,
body.snap-sf .wc-block-components-title { font-family: var(--sp-font-display); font-weight: 800; }
body.snap-sf .wc-block-components-payment-method-label { font-weight: 600; }
body.snap-sf .wc-block-cart__empty-cart__title { font-family: var(--sp-font-display); font-weight: 800; }
body.snap-sf .wc-block-grid__product { border: 0; }
body.snap-sf .wc-block-grid__product-image img { border-radius: var(--sp-radius-md); }
body.snap-sf .wc-block-grid__product-add-to-cart .wp-block-button__link { border-radius: var(--sp-pill); background: var(--sp-ink); font-weight: 700; }
body.snap-sf .wc-block-grid__product-add-to-cart .wp-block-button__link:hover { background: var(--sp-red); }
body.snap-sf .wc-block-components-notice-banner { border-radius: var(--sp-radius-md); }

/* Classic cart/checkout fallbacks (if shortcodes are used). */
body.snap-sf .woocommerce-cart table.shop_table,
body.snap-sf .woocommerce-checkout #order_review { border-radius: var(--sp-radius); border-color: var(--sp-line); }
body.snap-sf .woocommerce-checkout #payment { border-radius: var(--sp-radius); background: var(--sp-bg); }
body.snap-sf #place_order { background: var(--sp-red); border-radius: var(--sp-pill); font-weight: 700; }

/* ---------------------------------------------------------------------------
   10. MY ACCOUNT & GENERIC PAGES
   --------------------------------------------------------------------------- */
body.snap-sf .woocommerce-account .woocommerce-form-login,
body.snap-sf .woocommerce-account .woocommerce-form-register,
body.snap-sf .woocommerce-account .woocommerce-ResetPassword {
	border: 1px solid var(--sp-line);
	border-radius: var(--sp-radius);
	padding: 32px;
	box-shadow: var(--sp-shadow-sm);
	background: #fff;
}
body.snap-sf .woocommerce-account .woocommerce-form-login .button,
body.snap-sf .woocommerce-account .woocommerce-form-register .button,
body.snap-sf .woocommerce-account .woocommerce-Button {
	background: var(--sp-red);
	color: #fff;
	border-radius: var(--sp-pill);
	font-weight: 700;
	width: 100%;
	height: 50px;
	box-shadow: var(--sp-shadow-red);
}
body.snap-sf .woocommerce-MyAccount-navigation ul li a {
	border-radius: var(--sp-radius-sm);
	font-weight: 600;
	padding: 10px 14px;
	display: block;
	color: var(--sp-text);
}
body.snap-sf .woocommerce-MyAccount-navigation ul li.is-active a,
body.snap-sf .woocommerce-MyAccount-navigation ul li a:hover { background: var(--sp-red-50); color: var(--sp-red); }
body.snap-sf .woocommerce-MyAccount-content { font-size: 15px; }
body.snap-sf .woocommerce-orders-table { border-radius: var(--sp-radius-md); overflow: hidden; }
body.snap-sf .woocommerce-message,
body.snap-sf .woocommerce-info,
body.snap-sf .woocommerce-error { border-radius: var(--sp-radius-md); }
body.snap-sf .woocommerce-message { background: var(--sp-green-50); color: var(--sp-green-600); }
body.snap-sf .woocommerce-error { background: var(--sp-red-50); color: var(--sp-red-700); }

body.snap-sf.page .site-content .entry-content { font-size: 16px; line-height: 1.75; }
body.snap-sf .wpcf7-form input[type="submit"],
body.snap-sf .wpcf7-form .wpcf7-submit { background: var(--sp-red); color: #fff; border-radius: var(--sp-pill); font-weight: 700; padding: 0 28px; height: 50px; border: 0; }
body.snap-sf .woocommerce form.track_order { border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: 28px; box-shadow: var(--sp-shadow-sm); }
body.snap-sf .woocommerce form.track_order .button { background: var(--sp-red); color: #fff; border-radius: var(--sp-pill); font-weight: 700; }

/* ---------------------------------------------------------------------------
   11. FOOTER
   --------------------------------------------------------------------------- */
body.snap-sf #site-footer.site-footer { background: transparent; padding: 0; margin: 0; }
.sp-footer {
	position: relative;
	background: var(--sp-ink);
	color: rgba(255, 255, 255, .78);
	overflow: hidden;
	isolation: isolate;
	margin-top: 0;
}
.sp-footer__glow {
	position: absolute;
	width: 700px;
	height: 700px;
	left: 50%;
	top: -480px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(circle, rgba(232, 38, 47, .35), rgba(232, 38, 47, 0) 70%);
	filter: blur(60px);
	z-index: -1;
	pointer-events: none;
}
.sp-footer__top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 48px;
	padding-top: 72px;
	padding-bottom: 56px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.sp-footer__logo { display: inline-block; margin-bottom: 18px; background: #fff; padding: 10px 14px; border-radius: var(--sp-radius-sm); }
.sp-footer__logo img { height: 34px; width: auto; display: block; }
.sp-footer__blurb { font-size: 14.5px; line-height: 1.65; max-width: 44ch; margin: 0 0 20px; }
.sp-footer__social { list-style: none; display: flex; gap: 10px; margin: 22px 0 0; padding: 0; }
.sp-footer__social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	transition: background .2s, transform .2s var(--sp-ease);
}
.sp-footer__social a:hover { background: var(--sp-red); transform: translateY(-2px); }
.sp-footer__col h4 {
	font-family: var(--sp-font-display);
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff;
	margin: 6px 0 18px;
}
.sp-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sp-footer__col a { color: rgba(255, 255, 255, .78); font-size: 14.5px; text-decoration: none; transition: color .2s, padding-left .2s var(--sp-ease); }
.sp-footer__col a:hover { color: #fff; padding-left: 4px; }
.sp-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 22px;
	padding-bottom: 22px;
	font-size: 13px;
	color: rgba(255, 255, 255, .55);
}
.sp-footer__loc { display: inline-flex; align-items: center; gap: 6px; }
body.snap-sf .motta-navigation-bar-show .sp-footer__bottom { padding-bottom: 22px; }

/* ---------------------------------------------------------------------------
   12. MOTION & RESPONSIVE
   --------------------------------------------------------------------------- */
@keyframes sp-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-12px) rotate(.6deg); }
}
@keyframes sp-drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(60px, 40px, 0) scale(1.15); }
}
@keyframes sp-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@keyframes sp-pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(85, 221, 119, .18); }
	50% { box-shadow: 0 0 0 7px rgba(85, 221, 119, .05); }
}

.sp-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s var(--sp-ease), transform .7s var(--sp-ease);
	transition-delay: var(--sp-delay, 0ms);
}
.sp-reveal.is-visible { opacity: 1; transform: none; }
html.no-js .sp-reveal, body.sp-no-observer .sp-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.sp-float, .sp-float__chip, .sp-hero__glow, .sp-marquee__track, .campaign-bar__text::before { animation: none !important; }
	.sp-reveal { opacity: 1; transform: none; transition: none; }
	body.snap-sf * { transition-duration: .01ms !important; }
}

@media (max-width: 1199px) {
	:root { --sp-gutter: 20px; }
	.sp-section { padding: 56px 0; }
	.sp-hero__inner { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding-top: 56px; padding-bottom: 48px; }
	.sp-hero__copy { text-align: center; }
	.sp-hero__lead { margin-left: auto; margin-right: auto; }
	.sp-hero__actions, .sp-hero__trust { justify-content: center; }
	.sp-hero__collage { height: 440px; max-width: 560px; margin: 0 auto; width: 100%; }
	.sp-promos__grid { grid-template-columns: 1fr 1fr; }
	.sp-promo--1 { grid-column: 1 / -1; min-height: 300px; }
	.sp-why__grid { grid-template-columns: repeat(2, 1fr); }
	.sp-pay__card { grid-template-columns: 1fr; padding: 40px 32px; }
	.sp-footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
	.sp-footer__brand { grid-column: 1 / -1; }
	body.snap-sf.single-product .product-gallery-summary { grid-template-columns: 1fr; gap: 28px; }
	body.snap-sf.single-product .motta-product-gallery { position: static; }
}

@media (max-width: 767px) {
	:root { --sp-gutter: 16px; --sp-radius: 16px; }
	.sp-section { padding: 44px 0; }
	.sp-section__head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 22px; }
	.sp-section__head--center { align-items: center; }
	.sp-hero__title { font-size: clamp(34px, 10vw, 48px); }
	.sp-hero__collage { height: 380px; }
	.sp-float { padding: 8px; gap: 6px; border-radius: 16px; }
	.sp-float__name { font-size: 12px; }
	.sp-float__price { font-size: 13px; }
	.sp-float__chip { padding: 6px 10px 6px 6px; }
	.sp-float__chip .sp-icon { width: 28px; height: 28px; padding: 6px; }
	.sp-float__chip strong { font-size: 11.5px; }
	.sp-float__chip em { font-size: 10.5px; }
	.sp-float__chip--pay { left: 30%; top: 40%; }
	.sp-float__chip--ship { right: 0; top: 6%; }
	.sp-cats__rail { grid-auto-columns: 150px; gap: 12px; }
	.sp-cat__img { width: 96px; height: 96px; }
	.sp-promos__grid { grid-template-columns: 1fr; gap: 14px; }
	.sp-promo { min-height: 260px; }
	.sp-promo--1 { min-height: 260px; }
	.sp-why__grid { grid-template-columns: 1fr; gap: 12px; }
	.sp-pay { padding-bottom: 56px; }
	.sp-pay__card { padding: 32px 22px; border-radius: 22px; }
	.sp-footer__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 48px; padding-bottom: 36px; }
	.sp-footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 90px; }
	body.snap-sf ul.products { gap: 12px; }
	body.snap-sf ul.products li.product { padding: 8px 8px 12px; border-radius: 14px; }
	body.snap-sf ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
	body.snap-sf ul.products li.product .price { font-size: 14px; }
	body.snap-sf ul.products li.product .product-actions .motta-button--atc,
	body.snap-sf ul.products li.product .product-actions .button.add_to_cart_button { height: 36px; line-height: 36px; padding: 0 12px; font-size: 12px; }
	body.snap-sf ul.products li.product .product-thumbnail .product-featured-icons { opacity: 1; transform: none; }
	body.snap-sf .catalog-toolbar { padding: 8px 10px; }
	body.snap-sf.single-product button.single_add_to_cart_button,
	body.snap-sf.single-product button.motta-buy-now-button { flex-basis: 100%; }
	.sp-marquee__track { font-size: 12px; gap: 18px; }
}

/* ---------------------------------------------------------------------------
   13. REFINEMENTS (added after the first live preview)
   --------------------------------------------------------------------------- */
/* Homepage product grids: explicit grid regardless of theme/woocommerce wrappers. */
body.snap-sf ul.products.sp-product-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body.snap-sf ul.products.sp-product-grid li.product,
body.snap-sf ul.products.sp-product-grid li.product.first,
body.snap-sf ul.products.sp-product-grid li.product.last {
	width: auto !important;
	margin: 0 !important;
	float: none;
	clear: none;
}
body.snap-sf ul.products.sp-product-grid::before,
body.snap-sf ul.products.sp-product-grid::after { display: none; }

/* Hero headline: a touch smaller so the two lines stay intact on laptops. */
.sp-hero__title { font-size: clamp(38px, 4.7vw, 64px); text-wrap: balance; }

/* Homepage: the theme opens the category mega-menu by default on the front page. Keep it closed until hovered/clicked. */
body.snap-home .header-category-menu.header-category--open:not(.motta-open):not(:hover) .header-category__content { display: none; }

/* Product card: keep the price on the left and the button on the right when there is room. */
body.snap-sf ul.products li.product .product-actions .motta-button--atc,
body.snap-sf ul.products li.product .product-actions .button.add_to_cart_button { flex: 1 1 auto; justify-content: center; }

@media (max-width: 1199px) {
	body.snap-sf ul.products.sp-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	body.snap-sf ul.products.sp-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* Catalog grids (shop, category, search, related): CSS grid everywhere; price + button always visible. */
body.snap-sf ul.products:not(.sp-product-grid):not(.swiper-wrapper) {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 0 0 8px;
	padding: 0;
}
body.snap-sf ul.products.columns-2:not(.sp-product-grid):not(.swiper-wrapper) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.snap-sf ul.products.columns-3:not(.sp-product-grid):not(.swiper-wrapper) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.snap-sf ul.products.columns-5:not(.sp-product-grid):not(.swiper-wrapper) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
body.snap-sf ul.products.columns-6:not(.sp-product-grid):not(.swiper-wrapper) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
body.snap-sf ul.products:not(.swiper-wrapper) > li.product { width: auto !important; max-width: none !important; margin: 0 !important; float: none; flex: none; }
body.snap-sf ul.products li.product .product-inner { padding: 0 !important; }
body.snap-sf ul.products li.product .product-actions {
	position: static !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	pointer-events: auto;
	background: transparent !important;
	box-shadow: none !important;
	padding: 10px 0 0 !important;
	margin: auto 0 0 !important;
}
body.snap-sf ul.products li.product .product-actions .price { display: none !important; }
body.snap-sf ul.products li.product .product-summary .price { display: flex !important; opacity: 1 !important; visibility: visible !important; }
body.snap-sf ul.products li.product:hover .product-summary { opacity: 1 !important; visibility: visible !important; }
body.snap-sf ul.products li.product .product-summary { padding: 0 4px; }

/* List view from the toolbar switcher. */
body.snap-sf ul.products.list:not(.sp-product-grid):not(.swiper-wrapper) { grid-template-columns: 1fr; }
body.snap-sf ul.products.list li.product .product-inner { display: grid; grid-template-columns: 240px 1fr; gap: 6px 24px; align-items: start; }
body.snap-sf ul.products.list li.product .product-thumbnail { grid-row: 1 / span 2; margin: 0; }
body.snap-sf ul.products.list li.product .product-actions { grid-column: 2; justify-content: flex-start; }

@media (max-width: 1199px) {
	body.snap-sf ul.products:not(.sp-product-grid):not(.swiper-wrapper):not(.list),
	body.snap-sf ul.products.columns-5:not(.sp-product-grid):not(.swiper-wrapper),
	body.snap-sf ul.products.columns-6:not(.sp-product-grid):not(.swiper-wrapper) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	body.snap-sf ul.products:not(.sp-product-grid):not(.swiper-wrapper):not(.list),
	body.snap-sf ul.products.columns-3:not(.sp-product-grid):not(.swiper-wrapper),
	body.snap-sf ul.products.columns-5:not(.sp-product-grid):not(.swiper-wrapper) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	body.snap-sf ul.products.list li.product .product-inner { grid-template-columns: 120px 1fr; }
}

/* Single product: the theme sizes gallery/summary with percentage widths; inside our grid they must fill their cell. */
body.snap-sf.single-product .product-gallery-summary > .motta-product-gallery,
body.snap-sf.single-product .product-gallery-summary > .summary.entry-summary,
body.snap-sf.single-product .product-gallery-summary > .woocommerce-product-gallery {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}
body.snap-sf.single-product .summary h1.product_title { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; }
body.snap-sf.single-product .woocommerce-product-gallery .flex-viewport,
body.snap-sf.single-product .woocommerce-product-gallery__wrapper { width: 100%; }

/* Checkout / cart primary buttons in brand red (overrides the generic block button rule above). */
body.snap-sf .wc-block-components-button.wc-block-cart__submit-button,
body.snap-sf .wc-block-components-button.wc-block-components-checkout-place-order-button {
	background: linear-gradient(135deg, #ff3b45 0%, var(--sp-red) 55%, var(--sp-red-600) 100%) !important;
	box-shadow: var(--sp-shadow-red) !important;
}
body.snap-sf .wc-block-components-button.wc-block-cart__submit-button:hover,
body.snap-sf .wc-block-components-button.wc-block-components-checkout-place-order-button:hover {
	background: var(--sp-red-600) !important;
}

/* Product tabs: natural-width tabs, centred, with the underline hugging the active label. */
body.snap-sf.single-product .motta-tabs-heading { display: flex; justify-content: center; }
body.snap-sf.single-product .motta-tabs-heading li { flex: 0 0 auto; width: auto; }

/* Product cards: tighter rhythm between title, (hidden) rating row and price. */
body.snap-sf ul.products li.product .motta-rating:empty { display: none; }
body.snap-sf ul.products li.product .product-summary > .price { margin-top: 4px; }

/* Mobile: product summary + gallery stack; sticky mobile add-to-cart bar stays readable. */
@media (max-width: 767px) {
	body.snap-sf.single-product .summary h1.product_title { font-size: 20px; }
	body.snap-sf.single-product .motta-price-stock { gap: 10px; }
	body.snap-sf .campaign-bar__item { font-size: 12px; }
	body.snap-sf .campaign-bar__button { margin-left: 8px; padding: 3px 10px; }
}

/* Mobile pass (390px check): promo tiles keep the image clear of the copy, campaign bar wraps,
   category labels on 2-column product cards never overflow. */
@media (max-width: 767px) {
	.sp-promo,
	.sp-promo--1 { min-height: 0; }
	.sp-promo__img,
	.sp-promo--1 .sp-promo__img { width: 44%; right: -2%; top: -2%; opacity: .92; }
	.sp-promo__body {
		padding: 150px 20px 22px;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .28) 45%, rgba(0, 0, 0, .5) 100%);
	}
	.sp-promo__title { font-size: 24px; max-width: 16ch; }
	.sp-promo__text { max-width: 30ch; }
	body.snap-sf .campaign-bar__item {
		flex-wrap: wrap;
		justify-content: center;
		white-space: normal;
		text-align: center;
		gap: 2px 8px;
		padding: 5px 12px;
		line-height: 1.35;
	}
	body.snap-sf ul.products li.product .meta.meta-cat {
		display: block;
		max-width: 100%;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		font-size: 10.5px;
		letter-spacing: .06em;
	}
}

/* Quick-view icon on product cards sits in an unclassed span: let it show. Mobile toolbar keeps only the views that fit a phone. */
body.snap-sf ul.products li.product .product-thumbnail .product-featured-icons > a.motta-button--quickview > span { display: inline-grid !important; place-items: center; font-size: 16px; }
body.snap-sf ul.products li.product .product-thumbnail .product-featured-icons > a .motta-button__icon { display: inline-grid; place-items: center; font-size: 16px; }
body.snap-sf ul.products li.product .product-thumbnail .product-featured-icons > a .motta-button__icon svg { width: 16px; height: 16px; }
@media (max-width: 767px) {
	body.snap-sf .motta-toolbar-view .grid-3,
	body.snap-sf .motta-toolbar-view .grid-4,
	body.snap-sf .motta-toolbar-view .grid-5 { display: none !important; }
}
