/**
 * Visual refresh: warmer backgrounds, a real homepage rhythm, announcement bar,
 * WhatsApp button and a fuller footer. Loaded after main.css.
 */

:root {
	--tbb-cream: #faf6f3;
	--tbb-rose: #f8ece8;
	--tbb-rose-2: #f1d9d1;
	--tbb-wa: #25d366;
}

body {
	overflow-x: clip; /* allows full-width bands without a horizontal scrollbar */
}

.tbb-wrap {
	max-width: var(--tbb-max);
	margin: 0 auto;
	padding: 0 1.5rem;
}

/* ---------- Scrolling strips (announcement, ticker, brands) ----------------- */

.tbb-marquee {
	overflow: hidden;
	white-space: nowrap;
}

.tbb-marquee__track {
	display: flex;
	width: max-content;
	animation: tbb-marquee 45s linear infinite;
}

.tbb-marquee:hover .tbb-marquee__track {
	animation-play-state: paused;
}

.tbb-marquee__group {
	display: flex;
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbb-marquee__group li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 0 1.4rem;
}

.tbb-marquee__group li::before {
	content: "\2726";
	margin-right: 2.8rem;
	opacity: 0.55;
	font-size: 0.8em;
}

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

@media (prefers-reduced-motion: reduce) {
	.tbb-marquee__track {
		animation: none;
	}
}

.tbb-announce {
	background: var(--tbb-blush-dark);
	color: #fff;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0.55rem 0;
}

.tbb-ticker {
	background: var(--tbb-ink);
	color: #fff;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	padding: 1rem 0;
}

.tbb-ticker .tbb-marquee__track {
	animation-duration: 38s;
}

/* ---------- Homepage layout ------------------------------------------------ */

.home .site-header {
	margin-bottom: 0;
}

.tbb-homepage .site-main {
	margin-bottom: 0;
}

/* Full-width bands inside Storefront's centred content column. */
.tbb-homepage .tbb-hero,
.tbb-homepage .tbb-ticker,
.tbb-homepage .tbb-band,
.tbb-homepage .tbb-cta-band {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.tbb-band {
	padding: clamp(3rem, 6vw, 5rem) 0;
	background: #fff;
}

.tbb-band--cream {
	background: var(--tbb-cream);
}

.tbb-band--soft {
	background: #fdfaf8;
}

.tbb-band--blush {
	background:
		radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.55) 0, rgba(255, 255, 255, 0) 35%),
		linear-gradient(135deg, var(--tbb-rose) 0%, var(--tbb-rose-2) 100%);
}

.tbb-band--blush-soft {
	background: linear-gradient(180deg, #fff 0%, var(--tbb-rose) 100%);
}

.tbb-band--brands {
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
	border-top: 1px solid var(--tbb-line);
}

/* Section headings. */
.tbb-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2.25rem;
}

.tbb-head h2 {
	margin: 0;
	font-size: clamp(1.9rem, 3.4vw, 2.6rem);
	line-height: 1.1;
}

.tbb-head--center {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.tbb-kicker {
	margin: 0 0 0.4rem;
	font-size: 0.7rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--tbb-blush-dark);
}

.tbb-head__link {
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--tbb-ink);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	white-space: nowrap;
}

.tbb-head__link:hover {
	color: var(--tbb-blush-dark);
}

.tbb-homepage ul.products {
	margin-bottom: 0;
}

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

.tbb-hero {
	position: relative;
	overflow: hidden;
	text-align: left;
	padding: clamp(3rem, 7vw, 6rem) 0;
	background:
		radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.75) 0, rgba(255, 255, 255, 0) 30%),
		radial-gradient(circle at 92% 88%, rgba(184, 122, 109, 0.25) 0, rgba(184, 122, 109, 0) 36%),
		linear-gradient(135deg, #f8eee9 0%, #f0d9d1 55%, #e9c5bb 100%);
}

.tbb-hero::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -120px;
	width: 380px;
	height: 380px;
	border: 1px solid rgba(184, 122, 109, 0.35);
	border-radius: 50%;
	pointer-events: none;
}

.tbb-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 3rem;
	align-items: center;
}

.tbb-hero__grid--text-only {
	grid-template-columns: minmax(0, 720px);
	justify-content: center;
	text-align: center;
}

.tbb-hero__grid--text-only .tbb-hero__actions {
	justify-content: center;
}

.tbb-hero__heading {
	font-size: clamp(2.6rem, 5.2vw, 4.4rem);
	line-height: 1.02;
	margin: 0 0 1.1rem;
}

.tbb-hero__sub {
	max-width: 32rem;
	font-size: 1.08rem;
	margin-bottom: 2rem;
}

.tbb-hero__grid--text-only .tbb-hero__sub {
	margin-left: auto;
	margin-right: auto;
}

.tbb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

a.button.tbb-button--ghost {
	background: transparent;
	color: var(--tbb-ink);
	border: 1px solid var(--tbb-ink);
}

a.button.tbb-button--ghost:hover {
	background: var(--tbb-ink);
	color: #fff;
}

.tbb-hero__visual {
	position: relative;
	min-height: 440px;
}

.tbb-hero__photo {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: 0 25px 50px rgba(90, 50, 40, 0.18);
}

.tbb-hero__frame {
	position: absolute;
	display: block;
	padding: 0.6rem;
	background: #fff;
	box-shadow: 0 22px 45px rgba(90, 50, 40, 0.16);
	transition: transform 0.35s ease;
}

.tbb-hero__frame img {
	display: block;
	width: 100%;
	height: auto;
}

.tbb-hero__frame--1 {
	width: 56%;
	left: 0;
	top: 10%;
	z-index: 2;
	transform: rotate(-4deg);
}

.tbb-hero__frame--2 {
	width: 48%;
	right: 2%;
	top: 0;
	z-index: 1;
	transform: rotate(5deg);
}

.tbb-hero__frame--3 {
	width: 44%;
	right: 14%;
	bottom: 0;
	z-index: 3;
	transform: rotate(-1.5deg);
}

.tbb-hero__frame:hover {
	transform: rotate(0deg) translateY(-6px);
	z-index: 4;
}

.tbb-hero__visual--count-1 .tbb-hero__frame--1 {
	position: relative;
	width: 72%;
	margin: 0 auto;
	top: auto;
}

.tbb-hero__visual--count-2 .tbb-hero__frame--2 {
	top: auto;
	bottom: 0;
}

@media (max-width: 900px) {
	.tbb-hero__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		text-align: center;
	}

	.tbb-hero__sub {
		margin-left: auto;
		margin-right: auto;
	}

	.tbb-hero__actions {
		justify-content: center;
	}

	.tbb-hero__visual {
		min-height: 340px;
		max-width: 460px;
		width: 100%;
		margin: 0 auto;
	}
}

/* ---------- Category tiles -------------------------------------------------- */

.tbb-cat-tiles {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbb-cat-tiles li {
	margin: 0;
}

.tbb-cat-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: var(--tbb-ink);
	text-decoration: none;
}

.tbb-cat-tile__img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	margin-bottom: 0.9rem;
	overflow: hidden;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 12px 28px rgba(90, 50, 40, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tbb-cat-tile__img img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.tbb-cat-tile__img--empty {
	background: linear-gradient(135deg, var(--tbb-rose) 0%, var(--tbb-rose-2) 100%);
}

.tbb-cat-tile__initial {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 3rem;
	color: var(--tbb-blush-dark);
}

.tbb-cat-tile:hover .tbb-cat-tile__img {
	transform: translateY(-5px);
	box-shadow: 0 18px 34px rgba(90, 50, 40, 0.16);
}

.tbb-cat-tile__name {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.15;
}

.tbb-cat-tile__count {
	margin-top: 0.2rem;
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tbb-muted);
}

@media (max-width: 1000px) {
	.tbb-cat-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.tbb-cat-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem 1rem;
	}
}

/* ---------- Split spotlight ------------------------------------------------- */

.tbb-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.tbb-split__media img {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: 0 25px 50px rgba(90, 50, 40, 0.15);
}

.tbb-split__text h2 {
	font-size: clamp(2rem, 3.6vw, 2.8rem);
	line-height: 1.08;
	margin: 0 0 1rem;
}

.tbb-split__text p {
	max-width: 30rem;
	margin-bottom: 1.75rem;
	color: #4a443d;
}

@media (max-width: 800px) {
	.tbb-split {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.tbb-split__text p {
		margin-left: auto;
		margin-right: auto;
	}
}

/* ---------- Product cards (site-wide polish) ------------------------------- */

ul.products li.product {
	transition: transform 0.25s ease;
}

ul.products li.product .woocommerce-LoopProduct-link img {
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

ul.products li.product:hover .woocommerce-LoopProduct-link img {
	box-shadow: 0 16px 32px rgba(90, 50, 40, 0.12);
}

html:not(.tbb-view-list) ul.products li.product:hover {
	transform: translateY(-4px);
}

/* ---------- Brands --------------------------------------------------------- */

.tbb-brands .tbb-marquee__group li {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	color: var(--tbb-blush-dark);
}

.tbb-brands a {
	color: var(--tbb-ink);
	text-decoration: none;
	transition: color 0.2s ease;
}

.tbb-brands a:hover {
	color: var(--tbb-blush-dark);
}

/* ---------- Benefits ------------------------------------------------------- */

.tbb-benefits {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbb-benefits li {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 2rem 1.25rem;
	text-align: center;
	background: #fff;
	border: 1px solid #efe4de;
}

.tbb-benefits svg {
	width: 38px;
	height: 38px;
	margin-bottom: 0.9rem;
	fill: none;
	stroke: var(--tbb-blush-dark);
	stroke-width: 1.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tbb-benefits strong {
	display: block;
	margin-bottom: 0.3rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.tbb-benefits span {
	font-size: 0.86rem;
	color: var(--tbb-muted);
}

@media (max-width: 900px) {
	.tbb-benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.tbb-benefits {
		grid-template-columns: 1fr;
	}
}

/* ---------- Reviews -------------------------------------------------------- */

.tbb-reviews {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tbb-review {
	margin: 0;
	padding: 1.75rem;
	background: var(--tbb-cream);
}

.tbb-review__stars {
	margin: 0 0 0.75rem;
	color: var(--tbb-blush-dark);
	letter-spacing: 0.15em;
}

.tbb-review blockquote {
	margin: 0 0 1rem;
	padding: 0;
	border: 0;
	font-style: normal;
	font-size: 0.95rem;
}

.tbb-review__meta {
	margin: 0;
	font-size: 0.8rem;
	color: var(--tbb-muted);
}

.tbb-review__meta strong {
	display: block;
	color: var(--tbb-ink);
	font-weight: 500;
}

@media (max-width: 800px) {
	.tbb-reviews {
		grid-template-columns: 1fr;
	}
}

/* ---------- FAQ ------------------------------------------------------------ */

.tbb-faq {
	max-width: 780px;
	margin: 0 auto;
}

.tbb-faq details {
	border-bottom: 1px solid #e9dad3;
	padding: 1.1rem 0;
}

.tbb-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
	list-style: none;
	font-weight: 500;
}

.tbb-faq summary::-webkit-details-marker {
	display: none;
}

.tbb-faq summary::after {
	content: "+";
	font-size: 1.4rem;
	line-height: 1;
	color: var(--tbb-blush-dark);
}

.tbb-faq details[open] summary::after {
	content: "\2212";
}

.tbb-faq details p {
	margin: 0.75rem 0 0;
	color: #5a524b;
}

/* ---------- Call to action band ------------------------------------------- */

.tbb-cta-band {
	padding: clamp(3rem, 6vw, 4.5rem) 0;
	text-align: center;
	color: #e8dcd6;
	background:
		radial-gradient(circle at 15% 20%, rgba(184, 122, 109, 0.35) 0, rgba(184, 122, 109, 0) 40%),
		linear-gradient(135deg, #1a1a1a 0%, #3b2a26 100%);
}

.tbb-cta-band h2 {
	margin: 0 0 0.75rem;
	color: #fff;
	font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.tbb-cta-band .tbb-kicker {
	color: var(--tbb-blush);
}

.tbb-cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

a.button.tbb-button--light {
	background: #fff;
	color: var(--tbb-ink);
}

a.button.tbb-button--light:hover {
	background: var(--tbb-blush);
	color: var(--tbb-ink);
}

a.button.tbb-button--whatsapp {
	background: var(--tbb-wa);
	color: #fff;
}

a.button.tbb-button--whatsapp:hover {
	background: #1ebe5b;
	color: #fff;
}

/* ---------- Floating WhatsApp button -------------------------------------- */

.tbb-wa-float {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.1rem 0.7rem 0.85rem;
	border-radius: 999px;
	background: var(--tbb-wa);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tbb-wa-float:hover,
.tbb-wa-float:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.tbb-wa-float svg {
	width: 24px;
	height: 24px;
	fill: #fff;
}

@media (max-width: 767px) {
	/* Sit above Storefront's mobile footer bar, icon only. */
	.tbb-wa-float {
		bottom: 5rem;
		right: 1rem;
		padding: 0.8rem;
	}

	.tbb-wa-float__label {
		display: none;
	}
}

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

.site-footer {
	padding: 3.5rem 0 1.5rem;
	background: linear-gradient(180deg, #1a1a1a 0%, #231c1a 100%);
}

.tbb-footer {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2rem;
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	text-align: left;
}

.tbb-footer h3 {
	margin: 0 0 1rem;
	font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
}

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

.tbb-footer li {
	margin: 0 0 0.55rem;
}

.tbb-footer p {
	margin: 0 0 0.75rem;
	font-size: 0.9rem;
}

.site-footer .tbb-footer a {
	color: #d9cdc7;
	text-decoration: none;
}

.site-footer .tbb-footer a:hover {
	color: #fff;
}

.tbb-footer__brand {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.7rem !important;
	line-height: 1.1;
	color: #fff;
}

.tbb-footer__social {
	display: flex;
	gap: 1.25rem;
}

.tbb-footer__badge {
	display: inline-block;
	padding: 0.35rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	font-size: 0.8rem;
	color: #fff;
}

@media (max-width: 900px) {
	.tbb-footer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.tbb-footer {
		grid-template-columns: 1fr;
	}
}
