/* ==========================================================================
   Lola Papelaria - brand stylesheet (loaded after Kadence)
   Palette: lilac + white, pink details. Change the --lola-primary* tokens to re-theme.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Berkshire Swash";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/berkshire-swash-latin-400-normal.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
	/* Brand colors (visual identity guide) */
	--lola-white: #ffffff;
	--lola-pink: #ff7ac1;
	--lola-yellow: #fbd15f;
	--lola-lilac: #e0bdff;

	/* Theme roles: primary = lilac, accent = pink */
	--lola-primary: var(--lola-lilac);
	--lola-primary-strong: #7a4cb8; /* titles, buttons, prices (AA with white) */
	--lola-primary-stronger: #5e3a91; /* hover */
	--lola-primary-soft: #f3e8ff;
	--lola-primary-softer: #faf5ff;
	--lola-accent: var(--lola-pink);
	--lola-accent-strong: #b8237a;
	--lola-ink: #3b1f3a;
	--lola-ink-soft: #6e5a6d;

	--lola-font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--lola-font-display: "Berkshire Swash", "Georgia", serif;

	--lola-container: 1240px;
	--lola-radius-sm: 10px;
	--lola-radius: 16px;
	--lola-radius-lg: 24px;
	--lola-shadow: 0 4px 18px rgba(59, 31, 58, 0.08);
	--lola-shadow-hover: 0 10px 28px rgba(122, 76, 184, 0.18);
	--lola-bottom-nav-height: 64px;

	/* Kadence global variables mapped to the brand */
	--global-palette1: var(--lola-primary-strong);
	--global-palette2: var(--lola-primary-stronger);
	--global-palette3: var(--lola-ink);
	--global-palette4: #4a3349;
	--global-palette5: var(--lola-ink-soft);
	--global-palette6: #9c8a9b;
	--global-palette7: var(--lola-primary-soft);
	--global-palette8: var(--lola-primary-softer);
	--global-palette9: var(--lola-white);
	--global-palette-btn-bg: var(--lola-primary-strong);
	--global-palette-btn-bg-hover: var(--lola-primary-stronger);
	--global-palette-btn: var(--lola-white);
	--global-palette-btn-hover: var(--lola-white);
	--global-body-font-family: var(--lola-font-body);
	--global-heading-font-family: var(--lola-font-body);
	--global-primary-nav-font-family: var(--lola-font-body);
}

/* ---------- Base ---------- */
body {
	font-family: var(--lola-font-body);
	color: var(--lola-ink);
	background: var(--lola-white);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--lola-font-body);
	font-weight: 700;
	color: var(--lola-ink);
}

.lola-display,
h1.entry-title,
.woocommerce-products-header__title,
.product_title {
	font-family: var(--lola-font-display);
	font-weight: 400;
	letter-spacing: 0.01em;
	color: var(--lola-primary-strong);
}

a {
	color: var(--lola-primary-strong);
}

a:hover {
	color: var(--lola-primary-stronger);
}

:focus-visible {
	outline: 3px solid var(--lola-accent-strong);
	outline-offset: 2px;
}

.lola-container {
	width: min(var(--lola-container), calc(100% - 32px));
	margin-inline: auto;
}

.lola-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.lola-icon {
	width: 24px;
	height: 24px;
	flex: none;
}

/* Page title band (inner pages) */
.entry-hero-container-inner,
.entry-hero.page-hero-section .entry-header {
	background: var(--lola-primary-soft);
}

/* ---------- Buttons ---------- */
.button,
button.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.single_add_to_cart_button,
.wc-block-components-button:not(.is-link) {
	background: var(--lola-primary-strong);
	color: var(--lola-white);
	border: 0;
	border-radius: 999px;
	font-weight: 600;
	padding: 0.75em 1.6em;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.button:hover,
button.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.single_add_to_cart_button:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--lola-primary-stronger);
	color: var(--lola-white);
	transform: translateY(-1px);
}

body .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) {
	background: transparent;
	color: var(--lola-ink);
	border: 2px solid var(--lola-ink);
}

body .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):hover {
	background: var(--lola-ink);
	color: var(--lola-white);
}

.lola-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	min-height: 32px; /* comfortable touch target */
	padding: 0.3em 0.95em;
	border-radius: 999px;
	background: var(--lola-accent);
	color: var(--lola-ink);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: lowercase;
	text-decoration: none;
	white-space: nowrap;
}

.lola-pill:hover {
	background: var(--lola-accent-strong);
	color: var(--lola-white);
}

/* ==========================================================================
   Header
   ========================================================================== */
#masthead { display: none; } /* Kadence header is replaced; safety net if a plugin re-adds it */

.lola-topbar {
	overflow: hidden;
	background: var(--lola-primary-strong);
	color: var(--lola-white);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.lola-topbar__track {
	display: flex;
	width: max-content;
	animation: lola-marquee 40s linear infinite;
}

.lola-topbar:hover .lola-topbar__track {
	animation-play-state: paused;
}

.lola-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 22px;
	white-space: nowrap;
}

.lola-topbar__item::before {
	content: "✦";
	color: var(--lola-accent);
}

@keyframes lola-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

/* Static on mobile (the bottom nav is always at hand); sticky on desktop. */
.lola-header {
	position: relative;
	z-index: 40;
	background: var(--lola-primary);
	color: var(--lola-ink);
}

/* Mobile: side columns size to their icons and the logo takes the remaining space,
   so menu + logo + icons always fit (down to 320px). Desktop centers the logo exactly. */
.lola-header__main {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	padding-block: 10px;
}

.lola-header__logo {
	justify-self: center;
	display: inline-flex;
	align-items: center;
	min-width: 0;
	max-width: 100%;
	padding-block: 8px; /* taller touch target */
	text-decoration: none;
}

.lola-header__logo img {
	max-height: 48px;
	max-width: 100%;
	width: auto;
	height: auto;
}

.lola-header__logo-text {
	font-family: var(--lola-font-display);
	font-size: clamp(1.35rem, 6.2vw, 2.2rem);
	line-height: 1;
	white-space: nowrap;
	color: var(--lola-accent);
	text-shadow: 1px 1px 0 var(--lola-ink);
}

.lola-header__actions {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 4px;
}

.lola-icon-btn {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--lola-ink);
	cursor: pointer;
}

.lola-icon-btn:hover,
.lola-icon-btn:focus-visible {
	background: rgba(255, 255, 255, 0.45);
	color: var(--lola-ink);
}

.lola-cart-count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--lola-accent);
	color: var(--lola-ink);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.lola-cart-count[hidden] { display: none; }

.lola-header__search {
	padding-bottom: 12px;
}

.lola-header__search .woocommerce-product-search {
	display: flex;
	align-items: center;
	max-width: 760px;
	margin: 0 auto;
	padding: 4px 4px 4px 18px;
	border-radius: 999px;
	background: var(--lola-white);
}

.lola-header__search .search-field {
	flex: 1;
	min-width: 0;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 8px 0 !important;
	font-size: 0.95rem;
	color: var(--lola-ink);
}

.lola-header__search button {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	background: var(--lola-primary-strong);
	color: var(--lola-white);
	font-size: 0;
}

.lola-header__nav {
	display: none;
	border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.lola-header__nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0 22px;
	margin: 0 auto; /* keep the container's side margins */
	padding: 2px 0;
	list-style: none;
}

.lola-header__nav a,
.lola-header__nav-all {
	display: inline-block;
	padding-block: 8px !important;
}

.lola-header__nav a {
	color: var(--lola-ink);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
}

.lola-header__nav a:hover {
	color: var(--lola-primary-strong);
}

.lola-header__nav-all {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--lola-primary-strong);
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
}

/* Drawer (all categories) */
.lola-drawer[hidden] { display: none; }

.lola-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
}

.lola-drawer__overlay {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(59, 31, 58, 0.45);
	cursor: pointer;
}

.lola-drawer__panel {
	position: absolute;
	inset: 0 auto 0 0;
	display: flex;
	flex-direction: column;
	width: min(340px, 88vw);
	background: var(--lola-white);
	box-shadow: var(--lola-shadow-hover);
	animation: lola-drawer-in 0.2s ease-out;
}

@keyframes lola-drawer-in {
	from { transform: translateX(-100%); }
	to { transform: translateX(0); }
}

.lola-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 12px 12px 20px;
	background: var(--lola-primary);
	font-weight: 700;
}

.lola-drawer__body {
	overflow-y: auto;
	padding: 8px 0 24px;
}

.lola-drawer__title {
	margin: 16px 20px 6px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lola-primary-strong);
}

.lola-drawer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lola-drawer__list a {
	display: flex;
	justify-content: space-between;
	padding: 10px 20px;
	color: var(--lola-ink);
	text-decoration: none;
}

.lola-drawer__list a:hover {
	background: var(--lola-primary-softer);
	color: var(--lola-primary-strong);
}

.lola-drawer__count {
	color: var(--lola-ink-soft);
	font-size: 0.8rem;
}

body.lola-drawer-open { overflow: hidden; }

/* ==========================================================================
   Home sections
   ========================================================================== */
.lola-section {
	padding-block: clamp(1.25rem, 3vw, 2.25rem);
}

.lola-section__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.lola-section__title {
	margin: 0;
	font-size: clamp(1rem, 2.2vw, 1.3rem);
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--lola-primary-strong);
}

.lola-section__line {
	flex: 1;
	height: 2px;
	border-radius: 2px;
	background: var(--lola-primary-soft);
}

.lola-rail__arrows {
	display: none;
	gap: 6px;
}

.lola-rail__arrow {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 2px solid var(--lola-primary);
	border-radius: 50%;
	background: var(--lola-white);
	color: var(--lola-primary-strong);
	cursor: pointer;
}

.lola-rail__arrow:hover { background: var(--lola-primary-soft); }

/* Product rail: horizontal scroller built on WooCommerce's ul.products */
.lola-rail .woocommerce ul.products,
.lola-rail ul.products {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 14px;
	margin: 0 !important;
	padding: 4px 2px 12px !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	grid-template-columns: none !important;
}

.lola-rail ul.products::before,
.lola-rail ul.products::after { display: none !important; }

.lola-rail ul.products li.product {
	flex: 0 0 clamp(160px, 42vw, 230px);
	width: auto !important;
	margin: 0 !important;
	scroll-snap-align: start;
}

/* Carousel (home banners): any direct child of .lola-carousel is a slide */
.lola-carousel {
	position: relative;
	margin-top: clamp(0.75rem, 2vw, 1.25rem);
}

.lola-carousel__viewport {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	border-radius: var(--lola-radius-lg);
	scrollbar-width: none;
}

.lola-carousel__viewport::-webkit-scrollbar { display: none; }

.lola-carousel__viewport > * {
	flex: 0 0 100%;
	margin: 0 !important;
	scroll-snap-align: start;
}

.lola-carousel__viewport img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--lola-radius-lg);
}

.lola-slide {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: clamp(220px, 34vw, 380px);
	padding: clamp(1.5rem, 5vw, 3.5rem) !important;
	border-radius: var(--lola-radius-lg);
	background: var(--lola-primary-soft);
}

.lola-slide::before,
.lola-slide::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.lola-slide::before {
	right: -40px;
	top: -50px;
	width: clamp(140px, 22vw, 260px);
	height: clamp(140px, 22vw, 260px);
	background: var(--lola-primary);
}

.lola-slide::after {
	right: 18%;
	bottom: -60px;
	width: clamp(90px, 14vw, 170px);
	height: clamp(90px, 14vw, 170px);
	background: var(--lola-accent);
}

.lola-slide--pink { background: #ffe3f1; }
.lola-slide--pink::before { background: var(--lola-accent); }
.lola-slide--pink::after { background: var(--lola-primary); }
.lola-slide--yellow { background: #fff6d6; }
.lola-slide--yellow::before { background: var(--lola-yellow); }

.lola-slide > * {
	position: relative;
	z-index: 1;
	max-width: 560px;
}

.lola-slide h1,
.lola-slide h2 {
	margin: 0 0 0.5rem;
	font-family: var(--lola-font-display);
	font-weight: 400;
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.1;
	color: var(--lola-primary-strong);
}

.lola-slide p {
	margin: 0 0 1.25rem;
	font-size: clamp(0.95rem, 1.8vw, 1.1rem);
}

.lola-carousel__btn {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--lola-primary-strong);
	box-shadow: var(--lola-shadow);
	transform: translateY(-50%);
	cursor: pointer;
}

.lola-carousel__btn--prev { left: 12px; }
.lola-carousel__btn--next { right: 12px; }

.lola-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 0;
	margin-top: 2px;
}

/* 32px touch target; the visible dot is drawn by ::before */
.lola-carousel__dot {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.lola-carousel__dot::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 999px;
	background: var(--lola-primary);
	transition: width 0.2s ease;
}

.lola-carousel__dot[aria-current="true"]::before {
	width: 24px;
	background: var(--lola-primary-strong);
}

/* Category circles */
.lola-circles {
	display: flex;
	gap: clamp(12px, 3vw, 28px);
	justify-content: flex-start;
	margin: 0;
	padding: 6px 2px 10px;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.lola-circles::-webkit-scrollbar { display: none; }

.lola-circles a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: clamp(72px, 18vw, 110px);
	color: var(--lola-ink);
	font-size: 0.8rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

.lola-circles__img {
	display: grid;
	place-items: center;
	width: clamp(64px, 16vw, 100px);
	aspect-ratio: 1;
	overflow: hidden;
	border: 3px solid var(--lola-primary);
	border-radius: 50%;
	background: var(--lola-primary-soft);
	color: var(--lola-primary-strong);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.lola-circles__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lola-circles__img .lola-icon {
	width: 40%;
	height: 40%;
}

.lola-circles a:hover .lola-circles__img {
	border-color: var(--lola-accent);
	transform: translateY(-3px);
}

/* Featured category block: banner panel + product rail */
.lola-feature {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	align-items: stretch;
}

.lola-feature__banner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	min-height: 150px;
	padding: 1.5rem;
	border-radius: var(--lola-radius);
	background: var(--lola-primary);
	color: var(--lola-ink);
	text-decoration: none;
}

.lola-feature__banner--image {
	background-size: cover;
	background-position: center;
}

.lola-feature__kicker {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.lola-feature__name {
	font-family: var(--lola-font-display);
	font-size: clamp(2rem, 4vw, 2.6rem);
	line-height: 1;
	color: var(--lola-primary-strong);
}

.lola-feature__banner .lola-pill { align-self: flex-start; }

/* Instagram band */
.lola-insta {
	margin-block: clamp(1.5rem, 4vw, 3rem);
	padding: clamp(1.75rem, 5vw, 3rem) 1.25rem;
	border-radius: var(--lola-radius-lg);
	background: var(--lola-primary);
	text-align: center;
}

.lola-insta__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	color: var(--lola-primary-strong);
}

/* CEP lookup in progress (checkout / account addresses) */
.lola-cep-loading input {
	background-image: linear-gradient(90deg, var(--lola-primary-soft), var(--lola-white), var(--lola-primary-soft));
	background-size: 200% 100%;
	animation: lola-cep-loading 1s linear infinite;
}

@keyframes lola-cep-loading {
	from { background-position: 100% 0; }
	to { background-position: -100% 0; }
}

/* First-purchase coupon banner (cart and checkout) */
.lola-fp-banner {
	width: min(var(--lola-container), calc(100% - 32px));
	margin: 1rem auto 0;
	padding: 0.85rem 1.1rem;
	border-radius: var(--lola-radius);
	background: var(--lola-primary-soft);
	font-weight: 600;
}

.lola-fp-banner p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin: 0;
}

.lola-fp-banner--ok { background: #e6f6ec; color: #1d5b33; }

/* ==========================================================================
   Product cards
   ========================================================================== */
.woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 8px 8px 12px;
	border: 1px solid var(--lola-primary-soft);
	border-radius: var(--lola-radius);
	background: var(--lola-white);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.woocommerce ul.products li.product:hover {
	box-shadow: var(--lola-shadow-hover);
	transform: translateY(-3px);
}

.woocommerce ul.products li.product img {
	aspect-ratio: 1 / 1;
	object-fit: contain;
	border-radius: var(--lola-radius-sm);
	background: var(--lola-primary-softer);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding-inline: 4px;
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--lola-ink);
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--lola-primary-strong);
	font-weight: 700;
}

.woocommerce ul.products li.product .price { padding-inline: 4px; }

.woocommerce ul.products li.product .price del,
.woocommerce div.product .price del {
	color: var(--lola-ink-soft);
	font-weight: 400;
}

.woocommerce ul.products li.product .button {
	margin-top: auto;
	padding: 0.6em 1em;
	font-size: 0.8rem;
}

/* "Oferta" badge at the top LEFT, so it never covers the wishlist heart (top right).
   Kadence/WooCommerce place it on the right with more specific selectors. */
.woocommerce ul.products li.product .onsale,
.woocommerce div.product .onsale,
.wc-block-grid__product .wc-block-grid__product-onsale,
.woocommerce span.onsale {
	top: 14px !important;
	left: 14px !important;
	right: auto !important;
	margin: 0 !important;
}

.wc-block-grid__product .wc-block-grid__product-onsale {
	position: absolute;
	z-index: 2;
	padding: 0.45em 0.85em;
	border: 0;
	border-radius: 999px;
	background: var(--lola-accent);
	color: var(--lola-ink);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
}

.woocommerce span.onsale {
	min-height: auto;
	padding: 0.45em 0.85em;
	border-radius: 999px;
	background: var(--lola-accent);
	color: var(--lola-ink);
	font-weight: 700;
	line-height: 1;
}

.lola-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 0.4em 0.85em;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
}

.lola-badge--soldout {
	background: var(--lola-ink);
	color: var(--lola-white);
}

/* Wishlist heart (TI WooCommerce Wishlist) on cards */
.woocommerce ul.products li.product .tinv-wraper.tinv-wishlist {
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	left: auto !important;
	z-index: 3;
	margin: 0 !important;
}

.tinv-wishlist .tinvwl_add_to_wishlist_button,
.tinv-wishlist .tinvwl_add_to_wishlist_button:hover {
	color: var(--lola-accent-strong) !important;
}

.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button {
	display: inline-grid !important;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0 !important;
	border-radius: 50%;
	background: var(--lola-white);
	box-shadow: var(--lola-shadow);
}

/* The plugin draws the heart with an icon-font glyph that sits off-center in our 34px circle.
   Replace it with an SVG heart (CSS mask, colored by currentColor) centered exactly. */
.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button::before,
.wc-block-grid__product .tinvwl_add_to_wishlist_button::before {
	content: "" !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	font-size: 0 !important;
	background: var(--lola-accent-strong) !important;
	-webkit-mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-7.5-10.4A4.3 4.3 0 0 1 12 7.6a4.3 4.3 0 0 1 7.5 2.5c0 5.8-7.5 10.4-7.5 10.4z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-7.5-4.6-7.5-10.4A4.3 4.3 0 0 1 12 7.6a4.3 4.3 0 0 1 7.5 2.5c0 5.8-7.5 10.4-7.5 10.4z'/%3E%3C/svg%3E") center / contain no-repeat;
	transform: translate(-50%, -50%);
}

/* Filled heart once the product is in the wishlist */
.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before,
.wc-block-grid__product .tinvwl_add_to_wishlist_button.tinvwl-product-in-list::before {
	-webkit-mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-7.5-4.6-7.5-10.4A4.3 4.3 0 0 1 12 7.6a4.3 4.3 0 0 1 7.5 2.5c0 5.8-7.5 10.4-7.5 10.4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.5s-7.5-4.6-7.5-10.4A4.3 4.3 0 0 1 12 7.6a4.3 4.3 0 0 1 7.5 2.5c0 5.8-7.5 10.4-7.5 10.4z'/%3E%3C/svg%3E");
}

/* Wishlist link on the product page */
.summary .tinvwl_add_to_wishlist_button {
	display: inline-flex !important;
	align-items: center;
	min-height: 36px;
}

/* Variation swatches (woo-variation-swatches) */
.variable-items-wrapper .variable-item:not(.radio-variable-item) {
	border-radius: 999px;
	box-shadow: 0 0 0 1px var(--lola-primary);
}

.variable-items-wrapper .variable-item.selected:not(.radio-variable-item) {
	box-shadow: 0 0 0 2px var(--lola-primary-strong);
}

/* ==========================================================================
   Footer
   ========================================================================== */
#colophon { display: none; } /* Kadence footer is replaced */

.lola-footer {
	margin-top: clamp(2rem, 5vw, 3.5rem);
	background: var(--lola-primary);
	color: var(--lola-ink);
}

.lola-footer a { color: var(--lola-ink); }
.lola-footer a:hover { color: var(--lola-primary-strong); }

.lola-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.75rem;
	padding-block: 2.5rem 1.5rem;
}

.lola-footer__brand {
	margin: 0 0 0.5rem;
	font-family: var(--lola-font-display);
	font-size: 2.2rem;
	line-height: 1;
	color: var(--lola-accent);
	text-shadow: 1px 1px 0 var(--lola-ink);
}

.lola-footer__title {
	margin: 0 0 0.6rem;
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lola-primary-strong);
}

.lola-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 2;
	font-size: 0.9rem;
}

.lola-footer p { font-size: 0.9rem; }

/* Comfortable touch targets for stacked links (footer, store info) */
.lola-footer ul a,
.lola-footer p a,
.lola-store-info a {
	display: inline-block;
	padding-block: 6px;
}

.lola-footer__social {
	display: flex;
	gap: 8px;
	margin-top: 0.75rem;
}

.lola-footer__social a {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--lola-white);
	color: var(--lola-primary-strong);
}

.lola-footer__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.lola-footer__badges span {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--lola-white);
	font-size: 0.75rem;
	font-weight: 600;
}

.lola-footer__legal {
	padding-block: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.6);
	font-size: 0.78rem;
	text-align: center;
	color: var(--lola-ink-soft);
}

/* Store info (Contato page and footer) */
.lola-store-info {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
	margin: 1.5rem 0;
}

.lola-store-info__item {
	padding: 1.25rem;
	border-radius: var(--lola-radius);
	background: var(--lola-primary-softer);
}

.lola-store-info__item h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	color: var(--lola-primary-strong);
}

.lola-store-info__item p { margin: 0 0 0.5rem; }

/* ==========================================================================
   WhatsApp (desktop) and bottom navigation (mobile)
   ========================================================================== */
.lola-whatsapp {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 50;
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: var(--lola-white);
	box-shadow: var(--lola-shadow-hover);
}

.lola-whatsapp:hover {
	color: var(--lola-white);
	transform: scale(1.06);
}

.lola-bottom-nav {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 60;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	height: var(--lola-bottom-nav-height);
	padding-bottom: env(safe-area-inset-bottom);
	background: var(--lola-primary);
	box-shadow: 0 -4px 16px rgba(59, 31, 58, 0.08);
}

.lola-bottom-nav a,
.lola-bottom-nav button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--lola-ink);
	font: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}

.lola-bottom-nav .lola-icon {
	width: 22px;
	height: 22px;
}

body.lola-has-bottom-nav {
	padding-bottom: var(--lola-bottom-nav-height);
}

body.lola-has-bottom-nav .lola-whatsapp { display: none; }

/* ==========================================================================
   WooCommerce details
   ========================================================================== */
/* Product meta (SKU, category) and breadcrumbs: readable size and touchable links */
.woocommerce div.product .product_meta,
.woocommerce div.product .product_meta > span,
.woocommerce div.product .product_meta a {
	font-size: 0.82rem !important;
}

.kadence-breadcrumbs a,
.woocommerce-breadcrumb a {
	display: inline-block;
	padding-block: 6px;
}

/* Product grids rendered by WooCommerce blocks (e.g. suggestions in the empty cart) */
.wc-block-grid__product {
	position: relative;
	padding: 8px 8px 12px !important;
	border: 1px solid var(--lola-primary-soft) !important;
	border-radius: var(--lola-radius);
	background: var(--lola-white);
}

.wc-block-grid__product-title {
	font-size: 0.88rem !important;
	font-weight: 500 !important;
	color: var(--lola-ink);
}

.wc-block-grid__product-price,
.wc-block-grid__product-price .amount {
	font-size: 0.95rem !important;
	font-weight: 700;
	color: var(--lola-primary-strong);
}

.wc-block-grid__product .wp-block-button__link {
	font-size: 0.82rem !important;
	padding: 0.6em 1em !important;
}

.wc-block-grid__product .tinv-wraper.tinv-wishlist {
	position: absolute !important;
	top: 14px !important;
	right: 14px !important;
	left: auto !important;
	z-index: 3;
	margin: 0 !important;
}

.wc-block-grid__product .tinvwl_add_to_wishlist_button,
.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button {
	display: inline-grid !important;
	place-items: center;
	width: 34px !important;
	height: 34px !important;
	margin: 0 !important;
	border-radius: 50%;
	background: var(--lola-white);
	box-shadow: var(--lola-shadow);
}

/* Rail scrollbars: thin and lilac on touch/tablet widths (hidden on desktop, where arrows exist) */
.lola-rail ul.products {
	scrollbar-width: thin;
	scrollbar-color: var(--lola-primary) transparent;
}

.lola-rail ul.products::-webkit-scrollbar { height: 6px; }
.lola-rail ul.products::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: var(--lola-primary);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 599px) {
	.lola-header__account { display: none; } /* "Conta" is in the bottom nav */
	.lola-header__actions { gap: 0; }
	.lola-icon-btn { width: 40px; height: 40px; }
	.lola-header__logo img { max-height: 42px; }
}

@media (max-width: 767px) {
	/* Shorter title band on inner pages (cart, account, institutional pages) */
	.entry-hero.page-hero-section .entry-header,
	.entry-hero.product-archive-hero-section .entry-header {
		min-height: 0 !important;
		padding-block: 1.5rem !important;
	}

	.entry-hero h1,
	.entry-hero .page-title,
	.woocommerce-products-header__title {
		font-size: clamp(1.6rem, 7vw, 2rem) !important;
	}
}

@media (min-width: 768px) {
	.lola-feature { grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); }
	.lola-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.lola-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1.2fr; }
	.lola-header__main { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; }
	.lola-header__logo img { max-height: 56px; }
	.lola-rail .woocommerce ul.products,
	.lola-rail ul.products { scrollbar-width: none; }
	.lola-rail ul.products::-webkit-scrollbar { display: none; }
	.lola-header { position: sticky; top: 0; }
	.admin-bar .lola-header { top: 32px; }
	.lola-header__nav { display: block; }
	.lola-header__menu--mobile { visibility: hidden; }
	.lola-rail__arrows { display: inline-flex; }
	.lola-carousel__btn { display: grid; }
	.lola-circles { justify-content: center; }
	.lola-bottom-nav { display: none; }
	body.lola-has-bottom-nav { padding-bottom: 0; }
	body.lola-has-bottom-nav .lola-whatsapp { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}

	.lola-topbar__track {
		width: auto;
		flex-wrap: wrap;
		justify-content: center;
	}

	.lola-topbar__item[aria-hidden="true"] { display: none; }
}
