/*
 * Tangy Bliss - main stylesheet
 * Mobile-first, orange & white food branding.
 */

:root {
	--tb-primary: #f26a21;
	--tb-primary-dark: #d2541b;
	--tb-primary-soft: #fff2ea;
	--tb-ink: #2b1d16;
	--tb-body: #56483f;
	--tb-muted: #fbf7f4;
	--tb-line: #efe6df;
	--tb-white: #ffffff;
	--tb-radius: 18px;
	--tb-radius-lg: 28px;
	--tb-shadow: 0 18px 40px -24px rgba(43, 29, 22, 0.35);
	--tb-shadow-lg: 0 30px 60px -30px rgba(43, 29, 22, 0.45);
	--tb-font-head: "Fraunces", Georgia, "Times New Roman", serif;
	--tb-font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--tb-container: 1180px;
}

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

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

.has-smooth-scroll {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--tb-font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--tb-body);
	background: var(--tb-white);
}

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

a {
	color: var(--tb-primary-dark);
	text-decoration: none;
}

a:hover,
a:focus {
	text-decoration: underline;
}

:focus-visible {
	outline: 3px solid var(--tb-primary);
	outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--tb-font-head);
	color: var(--tb-ink);
	line-height: 1.2;
	margin: 0 0 0.6em;
	font-weight: 700;
}

p {
	margin: 0 0 1.1em;
}

ul, ol {
	padding-left: 1.2rem;
}

.tb-container {
	width: 100%;
	max-width: var(--tb-container);
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- Buttons ---------- */

.tb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.8rem 1.5rem;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--tb-font-body);
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	text-decoration: none;
}

.tb-btn:hover,
.tb-btn:focus {
	text-decoration: none;
	transform: translateY(-2px);
}

.tb-btn--primary {
	background: var(--tb-primary);
	color: var(--tb-white);
	box-shadow: 0 12px 26px -14px rgba(242, 106, 33, 0.9);
}

.tb-btn--primary:hover,
.tb-btn--primary:focus {
	background: var(--tb-primary-dark);
	color: var(--tb-white);
}

.tb-btn--ghost {
	background: transparent;
	border-color: var(--tb-line);
	color: var(--tb-ink);
}

.tb-btn--ghost:hover,
.tb-btn--ghost:focus {
	border-color: var(--tb-primary);
	color: var(--tb-primary-dark);
}

.tb-btn--dark {
	background: var(--tb-ink);
	color: var(--tb-white);
}

.tb-btn--lg {
	padding: 1rem 1.9rem;
	font-size: 1rem;
}

.tb-link {
	font-weight: 700;
	color: var(--tb-primary-dark);
}

.tb-link::after {
	content: " \2192";
}

/* ---------- Top bar & header ---------- */

.tb-topbar {
	background: var(--tb-ink);
	color: #f3e7df;
	font-size: 0.85rem;
}

.tb-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.4rem;
	align-items: center;
	justify-content: space-between;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.tb-topbar p {
	margin: 0;
}

.tb-topbar__contact {
	display: flex;
	gap: 1.2rem;
	flex-wrap: wrap;
}

.tb-topbar a {
	color: #ffd9c2;
}

.tb-header {
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--tb-line);
	z-index: 60;
}

.tb-header--sticky {
	position: sticky;
	top: 0;
}

.tb-header.is-scrolled {
	box-shadow: var(--tb-shadow);
}

.tb-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 0.9rem;
	padding-bottom: 0.9rem;
}

.tb-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
}

.tb-logo__mark {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--tb-primary);
	color: var(--tb-white);
	display: grid;
	place-items: center;
	font-family: var(--tb-font-head);
	font-weight: 700;
	letter-spacing: 0.02em;
}

.tb-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.tb-logo__name {
	font-family: var(--tb-font-head);
	font-weight: 700;
	color: var(--tb-ink);
	font-size: 1.1rem;
}

.tb-logo__tagline {
	font-size: 0.75rem;
	color: var(--tb-body);
}

.custom-logo-link img {
	max-height: 56px;
	width: auto;
}

.tb-header__actions {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.tb-header__cta {
	display: none;
}

.tb-nav-toggle {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	border: 1px solid var(--tb-line);
	background: var(--tb-white);
	display: grid;
	place-content: center;
	gap: 5px;
	cursor: pointer;
}

.tb-nav-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--tb-ink);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.tb-nav-toggle[aria-expanded="true"] .tb-nav-toggle__bar:nth-child(2) {
	opacity: 0;
}

.tb-nav {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(88vw, 340px);
	background: var(--tb-white);
	transform: translateX(100%);
	transition: transform 0.25s ease;
	padding: 5rem 1.5rem 2rem;
	overflow-y: auto;
	box-shadow: var(--tb-shadow-lg);
	z-index: 70;
}

.tb-nav.is-open {
	transform: translateX(0);
}

.tb-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tb-menu li {
	position: relative;
	border-bottom: 1px solid var(--tb-line);
}

.tb-menu a {
	display: block;
	padding: 0.85rem 0;
	color: var(--tb-ink);
	font-weight: 600;
}

.tb-menu a:hover,
.tb-menu a:focus,
.tb-menu .current-menu-item > a {
	color: var(--tb-primary-dark);
	text-decoration: none;
}

.tb-submenu {
	list-style: none;
	margin: 0;
	padding: 0 0 0 1rem;
	display: none;
}

.tb-submenu.is-open {
	display: block;
}

.tb-submenu-toggle {
	position: absolute;
	top: 0.5rem;
	right: 0;
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: var(--tb-ink);
}

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

.tb-hero {
	position: relative;
	background:
		radial-gradient(1000px 500px at 85% -10%, rgba(242, 106, 33, 0.16), transparent 60%),
		linear-gradient(180deg, var(--tb-primary-soft), var(--tb-white));
	padding: 3.5rem 0 4rem;
	overflow: hidden;
}

.tb-hero__inner {
	display: grid;
	gap: 2.5rem;
}

.tb-eyebrow {
	display: inline-block;
	margin: 0 0 0.9rem;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	background: rgba(242, 106, 33, 0.12);
	color: var(--tb-primary-dark);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.tb-hero__title {
	font-size: clamp(2.1rem, 6vw, 3.6rem);
	margin-bottom: 1rem;
}

.tb-hero__text {
	font-size: 1.05rem;
	max-width: 34rem;
}

.tb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-bottom: 2rem;
}

.tb-hero__stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.5rem;
}

.tb-hero__stats strong {
	display: block;
	font-family: var(--tb-font-head);
	font-size: 1.8rem;
	color: var(--tb-primary-dark);
	line-height: 1.1;
}

.tb-hero__stats span {
	font-size: 0.85rem;
}

.tb-hero__media {
	position: relative;
}

.tb-hero__media img {
	border-radius: var(--tb-radius-lg);
	box-shadow: var(--tb-shadow-lg);
	width: 100%;
	object-fit: cover;
	animation: tb-float 7s ease-in-out infinite;
}

.tb-hero__badge {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	background: var(--tb-white);
	border-radius: var(--tb-radius);
	padding: 0.75rem 1.1rem;
	box-shadow: var(--tb-shadow);
	line-height: 1.25;
}

.tb-hero__badge strong {
	display: block;
	color: var(--tb-ink);
	font-family: var(--tb-font-head);
}

.tb-hero__badge span {
	font-size: 0.8rem;
}

@keyframes tb-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

/* ---------- Sections ---------- */

.tb-section {
	padding: 3.5rem 0;
}

.tb-section--muted {
	background: var(--tb-muted);
}

.tb-section-heading {
	max-width: 46rem;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.tb-section-title {
	font-size: clamp(1.7rem, 4vw, 2.5rem);
	margin-bottom: 0.6rem;
}

.tb-section-text {
	margin: 0;
}

.tb-section-cta {
	text-align: center;
	margin: 2.5rem 0 0;
}

.tb-h3 {
	font-family: var(--tb-font-head);
	font-size: 1.3rem;
	color: var(--tb-ink);
	margin: 0 0 0.7rem;
}

.tb-grid {
	display: grid;
	gap: 1.5rem;
}

/* ---------- About ---------- */

.tb-about {
	display: grid;
	gap: 2.2rem;
	align-items: center;
}

.tb-about__media img {
	border-radius: var(--tb-radius-lg);
	box-shadow: var(--tb-shadow);
}

.tb-about .tb-section-heading {
	text-align: left;
	margin: 0 0 1.2rem;
}

.tb-checklist {
	list-style: none;
	padding: 0;
	margin: 0 0 1.6rem;
	display: grid;
	gap: 0.6rem;
}

.tb-checklist li {
	position: relative;
	padding-left: 1.9rem;
}

.tb-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45rem;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background: var(--tb-primary);
	box-shadow: inset 0 0 0 3px var(--tb-white);
}

/* ---------- Cards ---------- */

.tb-card,
.tb-feature,
.tb-dish,
.tb-post-card {
	background: var(--tb-white);
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius-lg);
	box-shadow: var(--tb-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tb-card,
.tb-feature {
	padding: 1.8rem;
}

.tb-card:hover,
.tb-feature:hover,
.tb-dish:hover,
.tb-post-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--tb-shadow-lg);
}

.tb-card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--tb-primary-soft);
	margin-bottom: 1rem;
	font-size: 1.4rem;
}

.tb-icon::before {
	content: "\1F374";
}

.tb-icon--takeaway::before { content: "\1F961"; }
.tb-icon--delivery::before { content: "\1F6F5"; }
.tb-icon--catering::before { content: "\1F371"; }
.tb-icon--kiosk::before { content: "\1F3EA"; }
.tb-icon--menu::before { content: "\1F957"; }
.tb-icon--online::before { content: "\1F4F1"; }

.tb-card__title,
.tb-feature__title,
.tb-dish__title {
	font-size: 1.2rem;
	margin-bottom: 0.5rem;
}

.tb-card__text,
.tb-feature__text,
.tb-dish__text {
	margin-bottom: 0.9rem;
}

.tb-feature__num {
	display: inline-block;
	font-family: var(--tb-font-head);
	font-size: 1.5rem;
	color: var(--tb-primary);
	margin-bottom: 0.4rem;
}

.tb-dish {
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.tb-dish__media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.tb-dish__body {
	padding: 1.4rem 1.5rem 1.6rem;
}

.tb-dish__price {
	margin: 0;
	font-weight: 700;
	color: var(--tb-primary-dark);
}

/* ---------- Slider ---------- */

.tb-section--reviews {
	background: linear-gradient(180deg, var(--tb-white), var(--tb-primary-soft));
}

.tb-slider {
	max-width: 800px;
	margin: 0 auto;
}

.tb-slider__track {
	position: relative;
	background: var(--tb-white);
	border-radius: var(--tb-radius-lg);
	box-shadow: var(--tb-shadow);
	padding: 2rem 1.8rem;
	min-height: 260px;
}

.tb-slide {
	display: none;
	margin: 0;
}

.tb-slide.is-active {
	display: block;
	animation: tb-fade 0.4s ease;
}

@keyframes tb-fade {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}

.tb-slide__quote {
	margin: 0 0 1.2rem;
	font-size: 1.05rem;
	color: var(--tb-ink);
	border: 0;
	padding: 0;
}

.tb-slide__quote::before {
	content: "\201C";
	display: block;
	font-family: var(--tb-font-head);
	font-size: 3rem;
	line-height: 0.6;
	color: var(--tb-primary);
	margin-bottom: 0.6rem;
}

.tb-slide__meta {
	display: flex;
	flex-direction: column;
}

.tb-slide__name {
	font-weight: 700;
	color: var(--tb-ink);
}

.tb-slide__role {
	font-size: 0.85rem;
}

.tb-slider__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.4rem;
}

.tb-slider__btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--tb-line);
	background: var(--tb-white);
	cursor: pointer;
	color: var(--tb-ink);
	font-size: 1rem;
}

.tb-slider__btn:hover {
	background: var(--tb-primary);
	color: var(--tb-white);
	border-color: var(--tb-primary);
}

.tb-slider__dots {
	display: flex;
	gap: 0.5rem;
}

.tb-slider__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border-radius: 50%;
	border: 0;
	background: rgba(242, 106, 33, 0.3);
	cursor: pointer;
}

.tb-slider__dot.is-active {
	background: var(--tb-primary);
	transform: scale(1.25);
}

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

.tb-accordion {
	max-width: 780px;
	margin: 0 auto;
	display: grid;
	gap: 0.8rem;
}

.tb-accordion__item {
	background: var(--tb-white);
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius);
	padding: 1rem 1.3rem;
	box-shadow: var(--tb-shadow);
}

.tb-accordion__q {
	cursor: pointer;
	font-family: var(--tb-font-head);
	font-weight: 700;
	color: var(--tb-ink);
	list-style: none;
	position: relative;
	padding-right: 2rem;
}

.tb-accordion__q::-webkit-details-marker {
	display: none;
}

.tb-accordion__q::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 0;
	color: var(--tb-primary);
	font-size: 1.3rem;
	line-height: 1.2;
}

.tb-accordion__item[open] .tb-accordion__q::after {
	content: "\2013";
}

.tb-accordion__a {
	padding-top: 0.7rem;
}

.tb-accordion__a p {
	margin: 0;
}

/* ---------- Contact ---------- */

.tb-contact {
	display: grid;
	gap: 2rem;
}

.tb-contact-list {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 0.7rem;
}

.tb-contact-list li {
	display: flex;
	flex-direction: column;
}

.tb-contact-label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--tb-primary-dark);
	font-weight: 700;
}

.tb-map {
	border-radius: var(--tb-radius);
	overflow: hidden;
	box-shadow: var(--tb-shadow);
}

.tb-map iframe {
	display: block;
	width: 100%;
	border: 0;
}

.tb-form,
.tb-contact__form {
	background: var(--tb-white);
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius-lg);
	padding: 1.8rem;
	box-shadow: var(--tb-shadow);
}

.tb-contact__form .tb-form {
	background: transparent;
	border: 0;
	padding: 0;
	box-shadow: none;
}

.tb-form__row {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 1rem;
}

.tb-form__row label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--tb-ink);
}

.tb-form__hp {
	position: absolute;
	left: -9999px;
}

.tb-input,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea,
select {
	width: 100%;
	padding: 0.8rem 1rem;
	border-radius: 14px;
	border: 1px solid var(--tb-line);
	background: var(--tb-white);
	font-family: var(--tb-font-body);
	font-size: 1rem;
	color: var(--tb-ink);
}

.tb-input:focus,
textarea:focus,
select:focus {
	border-color: var(--tb-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.18);
}

.tb-form-notice {
	border-radius: 14px;
	padding: 0.9rem 1.1rem;
	font-weight: 600;
}

.tb-form-notice--success {
	background: #e9f7ee;
	color: #1c6b3c;
}

.tb-form-notice--error {
	background: #fdeceb;
	color: #a52a1f;
}

.tb-search-form {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.tb-search-form .tb-input {
	flex: 1 1 200px;
}

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

.tb-newsletter {
	background: var(--tb-ink);
	color: #f7ece5;
	padding: 3rem 0;
}

.tb-newsletter__inner {
	display: grid;
	gap: 1.6rem;
	align-items: center;
}

.tb-newsletter__title {
	color: var(--tb-white);
	margin-bottom: 0.4rem;
}

.tb-newsletter__text {
	margin: 0;
}

.tb-newsletter__form {
	display: flex;
	gap: 0.7rem;
	flex-wrap: wrap;
}

.tb-newsletter__form .tb-input {
	flex: 1 1 240px;
}

.tb-newsletter .tb-btn--dark {
	background: var(--tb-primary);
	color: var(--tb-white);
}

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

.tb-footer {
	background: #241812;
	color: #cdbcb1;
	padding: 3rem 0 1.5rem;
}

.tb-footer__grid,
.tb-footer__widgets {
	display: grid;
	gap: 2rem;
}

.tb-footer__widgets {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tb-footer__title,
.tb-footer .widget-title {
	color: var(--tb-white);
	font-size: 1.05rem;
	margin-bottom: 0.9rem;
}

.tb-footer__text {
	font-size: 0.95rem;
}

.tb-footer__links,
.tb-footer__contact,
.tb-footer ul {
	list-style: none;
	margin: 0 0 1.2rem;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.tb-footer a {
	color: #f0dcd0;
}

.tb-footer a:hover,
.tb-footer a:focus {
	color: var(--tb-primary);
}

.tb-socials {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.6rem;
}

.tb-social {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.08);
	color: var(--tb-white);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
}

.tb-social:hover,
.tb-social:focus {
	background: var(--tb-primary);
	color: var(--tb-white);
	text-decoration: none;
}

.tb-footer__bottom {
	margin-top: 2.4rem;
	padding-top: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: grid;
	gap: 0.8rem;
	font-size: 0.9rem;
}

.tb-copyright {
	margin: 0;
}

.tb-footer__legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- Back to top ---------- */

.tb-back-to-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 0;
	background: var(--tb-primary);
	color: var(--tb-white);
	font-size: 1.2rem;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
	box-shadow: var(--tb-shadow);
	z-index: 80;
}

.tb-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* ---------- Inner pages ---------- */

.tb-page-hero {
	background: linear-gradient(180deg, var(--tb-primary-soft), var(--tb-white));
	padding: 2.6rem 0 2.2rem;
	border-bottom: 1px solid var(--tb-line);
}

.tb-page-title {
	font-size: clamp(1.8rem, 4.5vw, 2.8rem);
	margin-bottom: 0.4rem;
}

.tb-page-subtitle {
	margin: 0;
	max-width: 42rem;
}

.tb-page-search {
	margin-top: 1.2rem;
	max-width: 480px;
}

.tb-breadcrumbs {
	font-size: 0.85rem;
	margin-bottom: 0.8rem;
}

.tb-breadcrumbs ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
}

.tb-breadcrumbs li + li::before {
	content: "/";
	margin-right: 0.45rem;
	color: var(--tb-primary);
}

.tb-layout {
	display: grid;
	gap: 2.5rem;
	padding-top: 3rem;
	padding-bottom: 3.5rem;
}

.tb-post-grid {
	display: grid;
	gap: 1.6rem;
}

.tb-post-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.tb-post-card__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.tb-post-card__body {
	padding: 1.4rem 1.5rem 1.6rem;
}

.tb-post-card__title {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.tb-post-card__title a {
	color: var(--tb-ink);
}

.tb-post-card__title a:hover {
	color: var(--tb-primary-dark);
	text-decoration: none;
}

.tb-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
	font-size: 0.82rem;
	color: var(--tb-body);
	margin-bottom: 0.6rem;
}

.tb-post-meta a {
	color: var(--tb-primary-dark);
}

.tb-article__media img {
	border-radius: var(--tb-radius-lg);
	margin-bottom: 1.8rem;
}

.tb-entry-content h2 {
	margin-top: 2rem;
	font-size: 1.6rem;
}

.tb-entry-content h3 {
	margin-top: 1.6rem;
	font-size: 1.25rem;
}

.tb-entry-content blockquote {
	margin: 1.6rem 0;
	padding: 1.2rem 1.5rem;
	background: var(--tb-primary-soft);
	border-left: 4px solid var(--tb-primary);
	border-radius: 0 var(--tb-radius) var(--tb-radius) 0;
}

.tb-entry-content img {
	border-radius: var(--tb-radius);
}

.tb-entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.tb-entry-content th,
.tb-entry-content td {
	border: 1px solid var(--tb-line);
	padding: 0.6rem 0.8rem;
	text-align: left;
}

.tb-tags {
	margin-top: 1.6rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tb-tags a {
	background: var(--tb-primary-soft);
	border-radius: 999px;
	padding: 0.3rem 0.9rem;
	font-size: 0.82rem;
}

.tb-post-nav {
	display: grid;
	gap: 0.8rem;
	margin: 2.4rem 0;
	padding-top: 1.4rem;
	border-top: 1px solid var(--tb-line);
	font-weight: 600;
}

.tb-sidebar {
	display: grid;
	gap: 1.5rem;
	align-content: start;
}

.tb-widget {
	background: var(--tb-white);
	border: 1px solid var(--tb-line);
	border-radius: var(--tb-radius-lg);
	padding: 1.5rem;
	box-shadow: var(--tb-shadow);
}

.tb-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.widget-title {
	font-size: 1.1rem;
	margin-bottom: 0.9rem;
}

.no-sidebar .tb-sidebar,
.tb-layout--full .tb-sidebar {
	display: none;
}

.tb-no-results {
	background: var(--tb-muted);
	border-radius: var(--tb-radius-lg);
	padding: 2rem;
}

/* Comments */

.tb-comments {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--tb-line);
}

.tb-comment-list,
.tb-comment-list .children {
	list-style: none;
	padding-left: 0;
}

.tb-comment-list .children {
	padding-left: 1.5rem;
}

.tb-comment-list li {
	margin-bottom: 1.4rem;
}

.comment-body {
	background: var(--tb-muted);
	border-radius: var(--tb-radius);
	padding: 1.2rem 1.4rem;
}

.comment-form label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 0.3rem;
	color: var(--tb-ink);
}

.comment-form p {
	margin-bottom: 1rem;
}

.comment-form .submit {
	background: var(--tb-primary);
	color: var(--tb-white);
	border: 0;
	border-radius: 999px;
	padding: 0.8rem 1.6rem;
	font-weight: 700;
	cursor: pointer;
}

/* 404 */

.tb-404 {
	padding: 4rem 0;
	text-align: center;
	background: linear-gradient(180deg, var(--tb-primary-soft), var(--tb-white));
}

.tb-404__inner {
	max-width: 640px;
}

.tb-404__code {
	font-family: var(--tb-font-head);
	font-size: clamp(4rem, 18vw, 8rem);
	line-height: 1;
	color: var(--tb-primary);
	margin: 0;
}

.tb-404 .tb-breadcrumbs ol,
.tb-404 .tb-hero__actions {
	justify-content: center;
}

.tb-404__search {
	max-width: 460px;
	margin: 1.5rem auto;
}

.tb-404__links ul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
}

/* Pagination */

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 0.7rem;
	border-radius: 12px;
	border: 1px solid var(--tb-line);
	color: var(--tb-ink);
	font-weight: 600;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--tb-primary);
	border-color: var(--tb-primary);
	color: var(--tb-white);
	text-decoration: none;
}

/* WooCommerce light touch */

.woocommerce ul.products li.product a img {
	border-radius: var(--tb-radius);
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: var(--tb-primary);
	color: var(--tb-white);
	border-radius: 999px;
	font-weight: 700;
}

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

/* Animations */

.tb-animate {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.tb-animate.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}

	.tb-animate {
		opacity: 1;
		transform: none;
	}
}

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

@media (min-width: 640px) {
	.tb-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tb-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tb-hero__stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.tb-footer__bottom {
		grid-template-columns: 1fr auto;
		align-items: center;
	}
}

@media (min-width: 900px) {
	.tb-section {
		padding: 5rem 0;
	}

	.tb-hero {
		padding: 5rem 0 6rem;
	}

	.tb-hero__inner {
		grid-template-columns: 1.05fr 0.95fr;
		align-items: center;
		gap: 3.5rem;
	}

	.tb-about {
		grid-template-columns: 1fr 1fr;
		gap: 3.5rem;
	}

	.tb-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tb-contact {
		grid-template-columns: 1fr 1.05fr;
		gap: 2.5rem;
	}

	.tb-newsletter__inner {
		grid-template-columns: 1.1fr 1fr;
	}

	.tb-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	}

	.tb-footer__widgets {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tb-layout {
		grid-template-columns: minmax(0, 1fr) 330px;
	}

	.tb-layout--full {
		grid-template-columns: minmax(0, 1fr);
		max-width: 860px;
	}

	.tb-header__cta {
		display: inline-flex;
	}

	.tb-nav-toggle {
		display: none;
	}

	.tb-nav {
		position: static;
		width: auto;
		transform: none;
		padding: 0;
		box-shadow: none;
		overflow: visible;
		background: transparent;
	}

	.tb-menu {
		display: flex;
		align-items: center;
		gap: 0.4rem;
	}

	.tb-menu li {
		border: 0;
	}

	.tb-menu > li > a {
		padding: 0.5rem 0.85rem;
		border-radius: 999px;
	}

	.tb-menu > li > a:hover,
	.tb-menu > li.current-menu-item > a {
		background: var(--tb-primary-soft);
	}

	.tb-submenu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 240px;
		background: var(--tb-white);
		border: 1px solid var(--tb-line);
		border-radius: var(--tb-radius);
		box-shadow: var(--tb-shadow-lg);
		padding: 0.6rem;
		display: block;
		opacity: 0;
		visibility: hidden;
		transform: translateY(10px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
		z-index: 90;
	}

	.tb-menu li:hover > .tb-submenu,
	.tb-menu li:focus-within > .tb-submenu,
	.tb-submenu.is-open {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.tb-mega {
		display: grid;
		grid-template-columns: repeat(2, minmax(200px, 1fr));
		gap: 0.2rem 1rem;
		min-width: 520px;
	}

	.tb-submenu a {
		padding: 0.55rem 0.8rem;
		border-radius: 12px;
	}

	.tb-submenu a:hover {
		background: var(--tb-primary-soft);
	}

	.tb-submenu-toggle {
		display: none;
	}

	.tb-post-nav {
		grid-template-columns: 1fr 1fr;
	}

	.tb-post-nav__next {
		text-align: right;
	}
}
