/* ==========================================================================
   TRES SOLES — BETA (2026-10)

   The palette is the shop's own — cream, terracotta, walnut, marigold,
   matcha — with three festive accents for the papel picado (rosa mexicano,
   turquesa, sage). Type: Fraunces for the voice, DM Sans for anything you tap,
   Yellowtail for a hand-painted word here and there, like a panadería sign.

   Sections: 1 tokens · 2 base · 3 parts · 4 strip+header · 5 drawer ·
   6 footer · 7 drawings · 8 home · 9 menu · 10 drink page · 11 cart+checkout ·
   12 other pages · 13 shop notices · 14 motion off · 15 print
   ========================================================================== */

/* ---------------------------------------------------------------- 1 tokens */
:root {
	--tsb-cream: #FBF3E9;
	--tsb-cream-2: #F5E6D6;
	--tsb-paper: #FFFAF3;
	--tsb-sand: #EBD5BE;
	--tsb-line: #E6D1BA;
	--tsb-terra: #C05E2E;
	--tsb-terra-700: #A44D22;
	--tsb-terra-800: #85391A;
	--tsb-walnut: #2A1810;
	--tsb-walnut-2: #3A2418;
	--tsb-ink: #3E2A1E;
	--tsb-ink-soft: #6B5344;
	--tsb-ink-mute: #8E7766;
	--tsb-marigold: #E8A03C;
	--tsb-marigold-200: #F6D29A;
	--tsb-matcha: #66743E;
	--tsb-matcha-200: #CBD6A8;
	--tsb-rosa: #D9487A;
	--tsb-turq: #2F8F8A;
	--tsb-sage: #A8B98A;
	--tsb-leaf: #3F7A35;

	--tsb-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--tsb-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tsb-script: "Italianno", "Yellowtail", "Brush Script MT", cursive;

	--tsb-r: 24px;
	--tsb-r-sm: 14px;
	--tsb-wrap: 1180px;
	--tsb-gut: clamp(18px, 4vw, 40px);
	--tsb-ease: cubic-bezier(.2, .7, .2, 1);
	--tsb-spring: cubic-bezier(.34, 1.56, .64, 1);
	--tsb-shadow: 0 1px 0 rgba(62, 42, 30, .04), 0 14px 34px -18px rgba(62, 42, 30, .35);
	--tsb-shadow-lg: 0 40px 70px -30px rgba(62, 42, 30, .5);
	--tsb-header-h: 72px;

	/* paper grain, drawn by the browser — no image to download */
	--tsb-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .24 0 0 0 0 .16 0 0 0 0 .1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ 2 base */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.tsb {
	background: var(--tsb-cream) var(--tsb-grain);
	color: var(--tsb-ink-soft);
	font-family: var(--tsb-sans);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	/* clip, not hidden: hidden breaks position:sticky on iOS (the old beta's lesson) */
	overflow-x: clip;
}
/* Storefront gives .site overflow-x:hidden, which turns it into a scroll box
   and silently kills every position:sticky inside it (the header, the pour).
   clip trims the same overflow without that side effect. */
body.tsb .site { background: transparent; overflow: visible; overflow-x: clip; }
.tsb h1, .tsb h2, .tsb h3, .tsb h4,
.tsb .product_title, .tsb .entry-title {
	font-family: var(--tsb-serif);
	font-optical-sizing: auto;
	font-variation-settings: "SOFT" 60, "WONK" 0;
	color: var(--tsb-ink);
	letter-spacing: -0.01em;
	font-weight: 560;
	line-height: 1.08;
}
.tsb a { color: var(--tsb-terra-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tsb a:hover { color: var(--tsb-terra-800); }
.tsb ::selection { background: var(--tsb-marigold-200); color: var(--tsb-walnut); }
.tsb img { max-width: 100%; height: auto; }
.tsb :focus-visible { outline: 3px solid var(--tsb-marigold); outline-offset: 3px; border-radius: 6px; }
/* WooCommerce paints a purple ring on every clicked button; keep ours, and only for keyboards */
.tsb button:focus, .tsb a:focus, .tsb .swatch:focus { outline: none; }
.tsb button:focus-visible, .tsb a:focus-visible { outline: 3px solid var(--tsb-marigold) !important; outline-offset: 3px; }

.tsb-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--tsb-walnut); color: var(--tsb-cream) !important;
	padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.tsb-skip:focus { top: 12px; }

/* ----------------------------------------------------------------- 3 parts */
.tsb-wrap { max-width: var(--tsb-wrap); margin: 0 auto; padding: 0 var(--tsb-gut); }

.tsb-kicker {
	display: inline-flex; align-items: center; gap: 10px;
	font: 700 12.5px/1 var(--tsb-sans); letter-spacing: .22em; text-transform: uppercase;
	color: var(--tsb-terra);
}
.tsb-kicker::before {
	content: ""; width: 20px; height: 20px; flex: none;
	background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23C05E2E' d='M12 12C9.6 9.4 9.4 5.6 12 3.2 14.6 5.6 14.4 9.4 12 12ZM12 12C14.4 14.6 14.6 18.4 12 20.8 9.4 18.4 9.6 14.6 12 12Z'/%3E%3Cpath fill='%23E8A03C' d='M12 12C9.4 14.4 5.6 14.6 3.2 12 5.6 9.4 9.4 9.6 12 12ZM12 12C14.6 9.6 18.4 9.4 20.8 12 18.4 14.6 14.6 14.4 12 12Z'/%3E%3Ccircle fill='%233E2A1E' cx='12' cy='12' r='2.4'/%3E%3C/svg%3E");
}
.tsb-dark .tsb-kicker, .tsb-kicker.on-dark { color: var(--tsb-marigold); }

.tsb-script { font-family: var(--tsb-script); font-weight: 400; color: var(--tsb-terra); letter-spacing: 0; line-height: 1.1; }

.tsb-h2 { font-size: clamp(34px, 5.2vw, 62px); margin: 14px 0 16px; }
.tsb-h2 em, .tsb-hero-title em { font-style: italic; font-variation-settings: "SOFT" 100, "WONK" 1; color: var(--tsb-terra); font-weight: 520; }
.tsb-lede { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--tsb-ink-soft); max-width: 54ch; }

.tsb-section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.tsb-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; margin-bottom: clamp(34px, 5vw, 56px); }
.tsb-section-head .tsb-h2 { margin-bottom: 0; }
.tsb-center { text-align: center; }
.tsb-center .tsb-lede { margin-left: auto; margin-right: auto; }

/* buttons */
.tsb .tsb-btn, .tsb a.tsb-btn {
	--bg: var(--tsb-terra); --fg: #FFF9F2; --bd: var(--tsb-terra);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; min-height: 52px;
	border-radius: 999px; border: 1.5px solid var(--bd);
	background: var(--bg); color: var(--fg);
	font: 650 16px/1.1 var(--tsb-sans); letter-spacing: .01em; text-decoration: none;
	box-shadow: 0 10px 22px -12px rgba(164, 77, 34, .7), inset 0 1px 0 rgba(255, 255, 255, .18);
	transition: transform .25s var(--tsb-ease), background .2s, box-shadow .25s, color .2s, border-color .2s;
	cursor: pointer; white-space: nowrap;
}
.tsb .tsb-btn:hover { transform: translateY(-2px); --bg: var(--tsb-terra-700); --bd: var(--tsb-terra-700); color: var(--fg); box-shadow: 0 16px 28px -14px rgba(164, 77, 34, .8); }
.tsb .tsb-btn:active { transform: translateY(0) scale(.98); }
.tsb .tsb-btn .tsb-ico { width: 18px; height: 18px; transition: transform .25s var(--tsb-ease); }
.tsb .tsb-btn:hover .tsb-ico-arrow { transform: translateX(4px); }
.tsb .tsb-btn.tsb-btn-ghost { --bg: transparent; --fg: var(--tsb-ink); --bd: rgba(62, 42, 30, .28); box-shadow: none; }
.tsb .tsb-btn.tsb-btn-ghost:hover { --bg: var(--tsb-ink); --fg: var(--tsb-cream); --bd: var(--tsb-ink); box-shadow: none; }
.tsb .tsb-btn.tsb-btn-light { --bg: var(--tsb-cream); --fg: var(--tsb-walnut); --bd: var(--tsb-cream); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.tsb .tsb-btn.tsb-btn-light:hover { --bg: #fff; --fg: var(--tsb-walnut); --bd: #fff; }
.tsb .tsb-btn.tsb-btn-gold { --bg: var(--tsb-marigold); --fg: var(--tsb-walnut); --bd: var(--tsb-marigold); box-shadow: 0 12px 26px -14px rgba(160, 100, 20, .8); }
.tsb .tsb-btn.tsb-btn-gold:hover { --bg: #F0B054; --bd: #F0B054; --fg: var(--tsb-walnut); }
.tsb .tsb-btn.tsb-btn-matcha { --bg: var(--tsb-matcha); --bd: var(--tsb-matcha); box-shadow: 0 10px 22px -12px rgba(80, 95, 40, .7); }
.tsb .tsb-btn.tsb-btn-matcha:hover { --bg: #56632F; --bd: #56632F; }
.tsb .tsb-btn.tsb-btn-sm { padding: 10px 18px; min-height: 42px; font-size: 14.5px; }
.tsb .tsb-btn.tsb-btn-block { display: flex; width: 100%; }

.tsb-link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 650 15.5px/1.2 var(--tsb-sans); text-decoration: none !important; color: var(--tsb-terra-700); }
.tsb-link-arrow .tsb-ico { width: 18px; height: 18px; transition: transform .25s var(--tsb-ease); }
.tsb-link-arrow:hover .tsb-ico { transform: translateX(4px); }

.tsb-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* chips */
.tsb-status, .tsb-chip {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 8px 14px; border-radius: 999px;
	font: 600 13.5px/1.2 var(--tsb-sans);
	background: rgba(255, 250, 243, .8); border: 1px solid var(--tsb-line); color: var(--tsb-ink);
}
.tsb-status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tsb-marigold); flex: none; position: relative; }
.tsb-status.is-open .tsb-status-dot { background: #4C9A4A; }
.tsb-status.is-open .tsb-status-dot::after {
	content: ""; position: absolute; inset: -4px; border-radius: 50%;
	border: 2px solid #4C9A4A; opacity: 0; animation: tsb-ping 2.4s var(--tsb-ease) infinite;
}
.tsb-status.on-dark { background: rgba(255, 255, 255, .06); border-color: rgba(251, 243, 233, .16); color: var(--tsb-cream); }
.tsb-chip .tsb-ico { width: 17px; height: 17px; color: var(--tsb-terra); }
@keyframes tsb-ping { 0% { transform: scale(.6); opacity: .8; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* the vegan leaf */
.tsb-leaf { width: 1em; height: 1em; fill: var(--tsb-leaf); flex: none; }
.tsb-vegan-tag {
	display: inline-flex; align-items: center; gap: 5px;
	padding: 3px 9px 3px 7px; border-radius: 999px;
	background: #EAF2E2; color: #2E5A27; border: 1px solid #CFE0C2;
	font: 650 11.5px/1.3 var(--tsb-sans); letter-spacing: .02em; white-space: nowrap;
}
.tsb-vegan-tag .tsb-leaf { width: 13px; height: 13px; }

/* scroll reveals: only once JS has said it is running (no JS = everything visible) */
.tsb-js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--tsb-ease), transform .9s var(--tsb-ease); transition-delay: calc(var(--d, 0) * 90ms); }
.tsb-js [data-reveal="left"] { transform: translateX(-34px); }
.tsb-js [data-reveal="right"] { transform: translateX(34px); }
.tsb-js [data-reveal="zoom"] { transform: scale(.94); }
.tsb-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------------------------------------------------- 4 strip + header */
/* the live "Open until 5:00 pm" strip from tres-soles-pickup.php */
.tsb .ts-hours-bar {
	display: flex; align-items: center; justify-content: center; gap: 9px;
	min-height: 34px; padding: 6px 16px; margin: 0;
	background: var(--tsb-walnut); color: var(--tsb-cream);
	font: 600 13px/1.3 var(--tsb-sans); letter-spacing: .02em; text-align: center;
}
.tsb .ts-hours-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tsb-marigold); }
.tsb .ts-hours-bar.is-open .ts-hours-dot { background: #6CC069; box-shadow: 0 0 0 3px rgba(108, 192, 105, .22); }

.tsb-header {
	position: sticky; top: 0; z-index: 900;
	background: color-mix(in srgb, var(--tsb-cream) 84%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s, background .3s;
}
.tsb-header.is-scrolled { border-bottom-color: var(--tsb-line); box-shadow: 0 10px 30px -24px rgba(62, 42, 30, .5); }
.admin-bar .tsb-header { top: 32px; }
.tsb-header-in {
	max-width: calc(var(--tsb-wrap) + 80px); margin: 0 auto; padding: 0 var(--tsb-gut);
	height: var(--tsb-header-h); display: flex; align-items: center; gap: 28px;
}
.tsb-logo { display: block; flex: none; line-height: 0; transition: transform .3s var(--tsb-ease); }
.tsb-logo:hover { transform: scale(1.02); }
.tsb-logo img { height: 36px; width: auto; }
.tsb-nav { margin-left: auto; }
.tsb-nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tsb-nav a {
	position: relative; display: block; padding: 9px 13px; border-radius: 999px;
	font: 550 15px/1 var(--tsb-sans); color: var(--tsb-ink) !important; text-decoration: none;
	transition: background .2s, color .2s;
}
.tsb-nav a:hover { background: rgba(192, 94, 46, .09); color: var(--tsb-terra-700) !important; }
.tsb-nav a.is-current { color: var(--tsb-terra-700) !important; }
.tsb-nav a.is-current::after {
	content: ""; position: absolute; left: 50%; bottom: 1px; width: 5px; height: 5px; margin-left: -2.5px;
	border-radius: 50%; background: var(--tsb-terra);
}
.tsb-tools { display: flex; align-items: center; gap: 10px; }
.tsb-lang {
	display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(62, 42, 30, .07);
	font: 700 12px/1 var(--tsb-sans); letter-spacing: .06em; text-decoration: none !important;
}
.tsb-lang span { padding: 7px 9px; border-radius: 999px; color: var(--tsb-ink-mute); transition: background .2s, color .2s; }
.tsb-lang span.is-on { background: var(--tsb-paper); color: var(--tsb-ink); box-shadow: 0 1px 4px rgba(62, 42, 30, .15); }
.tsb-cart {
	position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
	border-radius: 50%; color: var(--tsb-ink) !important; transition: background .2s;
}
.tsb-cart:hover { background: rgba(62, 42, 30, .07); }
.tsb-cart .tsb-ico { width: 24px; height: 24px; }
.tsb-cart-count {
	position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
	border-radius: 999px; background: var(--tsb-terra); color: #fff;
	font: 700 11px/19px var(--tsb-sans); text-align: center;
	transition: transform .3s var(--tsb-spring);
}
.tsb-cart-count.is-empty { transform: scale(0); }
.tsb-burger { display: none; }

@media (max-width: 980px) {
	:root { --tsb-header-h: 64px; }
	.tsb-nav, .tsb-header-order { display: none !important; }
	.tsb-tools { margin-left: auto; }
	.tsb-logo img { height: 30px; }
	.tsb-burger {
		display: inline-grid; place-items: center; align-content: center; gap: 5px;
		width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
		background: var(--tsb-walnut); cursor: pointer;
	}
	.tsb-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--tsb-cream); transition: transform .3s var(--tsb-ease), opacity .2s; }
	.tsb-burger span:nth-child(3) { width: 12px; margin-right: 6px; }
	.tsb-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.tsb-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.tsb-burger[aria-expanded="true"] span:nth-child(3) { width: 18px; margin: 0; transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 420px) {
	.tsb-lang span { padding: 7px 7px; }
	.tsb-tools { gap: 6px; }
}

/* ------------------------------------------------------------- 5 drawer */
.tsb-drawer {
	position: fixed; inset: 0; z-index: 890; overflow-y: auto;
	padding: calc(var(--tsb-header-h) + 34px) var(--tsb-gut) 28px;
	background: var(--tsb-cream) var(--tsb-grain);
}
.tsb-drawer[hidden] { display: none; }
.tsb-drawer-in { max-width: 520px; margin: 0 auto; min-height: 100%; display: flex; flex-direction: column; }
.tsb-drawer-picado { position: absolute; left: 0; right: 0; top: var(--tsb-header-h); width: 100%; height: 64px; }
.tsb-drawer-nav { list-style: none; margin: 30px 0 26px; padding: 0; }
.tsb-drawer-nav li { border-bottom: 1px solid var(--tsb-line); opacity: 0; transform: translateY(14px); animation: tsb-rise .55s var(--tsb-ease) forwards; }
.tsb-drawer-nav li:nth-child(2) { animation-delay: .05s; } .tsb-drawer-nav li:nth-child(3) { animation-delay: .1s; }
.tsb-drawer-nav li:nth-child(4) { animation-delay: .15s; } .tsb-drawer-nav li:nth-child(5) { animation-delay: .2s; }
.tsb-drawer-nav li:nth-child(6) { animation-delay: .25s; }
.tsb-drawer-nav a {
	display: flex; justify-content: space-between; align-items: center; padding: 15px 2px;
	font: 520 32px/1.1 var(--tsb-serif); font-variation-settings: "SOFT" 80; color: var(--tsb-ink) !important; text-decoration: none;
}
.tsb-drawer-nav a::after { content: "→"; font: 400 22px/1 var(--tsb-sans); color: var(--tsb-terra); transition: transform .25s; }
.tsb-drawer-nav a:hover::after { transform: translateX(5px); }
.tsb-drawer-nav a.is-current { color: var(--tsb-terra-700) !important; }
.tsb-drawer-foot { margin-top: auto; display: grid; gap: 14px; justify-items: center; }
.tsb-drawer-lang { font: 600 15px/1 var(--tsb-sans); }
body.tsb-drawer-open { overflow: hidden; }
@keyframes tsb-rise { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------- 6 footer */
.tsb-footer { position: relative; margin-top: 0; background: var(--tsb-walnut); color: rgba(251, 243, 233, .78); }
.tsb-footer .tsb-edge { position: absolute; left: 0; right: 0; top: -19px; height: 20px; width: 100%; transform: scaleY(-1); }
.tsb-footer-in {
	max-width: var(--tsb-wrap); margin: 0 auto; padding: clamp(64px, 8vw, 96px) var(--tsb-gut) 48px;
	display: grid; grid-template-columns: 1.25fr 1.25fr 1fr 1fr; gap: 40px;
}
.tsb-footer-brand img { width: min(280px, 100%); }
.tsb-footer-brand .tsb-script { color: var(--tsb-marigold); font-size: 27px; margin: 14px 0 10px; }
.tsb-footer-lede { font-size: 15.5px; max-width: 32ch; margin: 0 0 18px; }
.tsb-footer h3 { font: 700 12.5px/1 var(--tsb-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--tsb-marigold); margin: 6px 0 18px; }
.tsb-hours { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14.5px; }
.tsb-hours li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; border-bottom: 1px solid rgba(251, 243, 233, .1); }
.tsb-hours li span:last-child { white-space: nowrap; text-align: right; }
.tsb-hours li.is-today { color: var(--tsb-cream); font-weight: 650; }
.tsb-hours li.is-today span:first-child::before { content: "● "; color: var(--tsb-marigold); }
.tsb-footer-note { font-size: 13.5px; line-height: 1.55; color: rgba(251, 243, 233, .58); margin: 0 0 14px; }
.tsb-footer-where { display: flex; gap: 10px; align-items: flex-start; color: var(--tsb-cream); font-weight: 600; font-size: 15px; margin: 0 0 8px; }
.tsb-footer-where .tsb-ico { color: var(--tsb-marigold); margin-top: 1px; }
.tsb-footer-links, .tsb-footer-social { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.tsb-footer a { color: rgba(251, 243, 233, .85) !important; text-decoration: none; transition: color .2s; }
.tsb-footer a:hover { color: var(--tsb-marigold) !important; }
.tsb-footer-social a { display: inline-flex; align-items: center; gap: 10px; }
.tsb-footer-social .tsb-ico { color: var(--tsb-marigold); }
.tsb-footer-base {
	max-width: var(--tsb-wrap); margin: 0 auto; padding: 22px var(--tsb-gut) 34px;
	display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
	border-top: 1px solid rgba(251, 243, 233, .1); font-size: 13px; color: rgba(251, 243, 233, .5);
}
.tsb-footer-legal { display: inline-flex; gap: 20px; }
@media (max-width: 980px) {
	.tsb-footer-in { grid-template-columns: 1fr 1fr; }
	.tsb-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.tsb-footer-in { grid-template-columns: 1fr; gap: 34px; }
}

/* ------------------------------------------------------------ 7 drawings */
/* the cup */
.tsb-cup { display: block; width: 100%; height: auto; overflow: visible; }
.tsb-cup-shadow { fill: rgba(62, 42, 30, .16); }
.tsb-cup-back { fill: var(--cup-back, rgba(255, 251, 245, .66)); }
.tsb-cup-liquid { fill: var(--base); transition: fill .6s var(--tsb-ease), transform .9s var(--tsb-ease); transform-box: fill-box; transform-origin: 50% 100%; }
.tsb-s-marble { stop-color: var(--marble); transition: stop-color .6s; }
.tsb-cup-marble { transition: opacity .6s, transform .9s var(--tsb-ease); }
.tsb-cup.is-matcha .tsb-cup-marble { opacity: .55; transform: translateY(110px) scaleY(-1); transform-box: fill-box; transform-origin: 50% 50%; }
.tsb-cup-swirl { fill: none; stroke: var(--marble); stroke-width: 5; stroke-linecap: round; opacity: .38; transition: opacity .6s; }
.tsb-cup-swirl2 { opacity: .22; stroke-width: 4; }
.tsb-cup.is-matcha .tsb-cup-swirl { opacity: .16; }
.tsb-cup-ice rect { fill: rgba(255, 255, 255, .28); stroke: rgba(255, 255, 255, .75); stroke-width: 2; }
.tsb-cup-foam { opacity: 0; transform: translateY(-10px); transition: opacity .6s var(--tsb-ease), transform .7s var(--tsb-spring); }
.tsb-cup.has-foam .tsb-cup-foam { opacity: 1; transform: none; }
.tsb-cup-foamtop { fill: var(--foam); transition: fill .5s; }
.tsb-cup-dust { fill: var(--dust); transition: fill .5s; }
.tsb-cup-shine { opacity: .9; mix-blend-mode: screen; }
.tsb-cup-glass { fill: rgba(255, 255, 255, .1); stroke: var(--tsb-ink); stroke-width: 3.2; stroke-linejoin: round; }
.tsb-cup-sticker circle:first-child { fill: #C9A27A; stroke: rgba(62, 42, 30, .25); stroke-width: 1; }
.tsb-cup-sun circle { fill: #FFF6E6; }
.tsb-cup-sun path { stroke: #FFF6E6; stroke-width: 2.4; stroke-linecap: round; }
.tsb-cup-lidrim { fill: rgba(255, 255, 255, .55); stroke: var(--tsb-ink); stroke-width: 3; }
.tsb-cup-liddome { fill: rgba(255, 255, 255, .35); stroke: var(--tsb-ink); stroke-width: 3; stroke-linejoin: round; }
.tsb-cup-sip { fill: var(--tsb-ink); opacity: .7; }
.tsb-cup-body, .tsb-cup-lid { transition: transform .8s var(--tsb-spring); transform-box: view-box; }
.tsb-cup.is-large .tsb-cup-body { transform: scale(1.04, 1.1); transform-origin: 100px 300px; }
.tsb-cup.is-large .tsb-cup-lid { transform: translateY(-24px) scaleX(1.04); transform-origin: 100px 50px; }

/* the sun */
.tsb-sun { display: block; width: 100%; height: auto; overflow: visible; }
.tsb-sun-rays { fill: var(--sun-ray, var(--tsb-terra)); opacity: .9; transform-origin: 100px 100px; transform-box: view-box; animation: tsb-spin 80s linear infinite; }
.tsb-sun-glow { fill: var(--sun-glow, rgba(232, 160, 60, .28)); }
.tsb-sun-disc { fill: var(--sun-disc, var(--tsb-terra)); }
@keyframes tsb-spin { to { transform: rotate(360deg); } }

/* papel picado */
.tsb-picado { display: block; width: 100%; height: 72px; overflow: hidden; }
.tsb-picado-string { stroke: rgba(62, 42, 30, .55); stroke-width: 1.6; }
.tsb-flag-sway { transform-box: fill-box; transform-origin: 50% 0; animation: tsb-sway 5.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
@keyframes tsb-sway { 0%, 100% { transform: rotate(-3.2deg); } 50% { transform: rotate(3.2deg); } }

/* zig-zag edges between bands */
.tsb-edge { display: block; width: 100%; height: 20px; margin-bottom: -1px; }
.tsb-edge.is-flip { margin: 0 0 -1px; }
.tsb-edge.is-flip { transform: scaleY(-1); }

/* --------------------------------------------------------------- 8 home */
.tsb-home .site-content { padding-top: 0; }

/* hero */
.tsb-hero { position: relative; overflow: hidden; padding: 0 0 clamp(40px, 6vw, 80px); isolation: isolate; }
.tsb-hero::before {
	content: ""; position: absolute; z-index: -1; inset: -10% -10% auto auto; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px;
	background: radial-gradient(closest-side, rgba(232, 160, 60, .32), rgba(232, 160, 60, 0));
	transform: translate(14%, 4%);
}
.tsb-hero-picado { position: relative; z-index: 2; height: clamp(58px, 6.4vw, 96px); margin-bottom: clamp(10px, 2vw, 24px); }
.tsb-hero-picado .tsb-picado { height: 100%; }
.tsb-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 60px); align-items: center; }
.tsb-hero-script { font-size: clamp(30px, 3.4vw, 42px); margin: 0 0 6px; transform: rotate(-3deg); transform-origin: left; display: inline-block; }
.tsb-hero-title {
	font-size: clamp(40px, 4.9vw, 74px) !important; line-height: 1.02 !important; font-weight: 600 !important;
	letter-spacing: -0.025em !important; margin: 0 0 22px !important; max-width: 16ch;
	font-variation-settings: "SOFT" 70, "WONK" 0 !important;
}
.tsb-hero-title .tsb-line { display: block; overflow: hidden; padding-bottom: .06em; }
.tsb-hero-title .tsb-line > span { display: inline-block; }
.tsb-js .tsb-hero-title .tsb-line > span { transform: translateY(105%); animation: tsb-line-up 1s var(--tsb-ease) forwards; animation-delay: calc(.15s + var(--l, 0) * .12s); }
@keyframes tsb-line-up { to { transform: none; } }
.tsb-hero-sub { font-size: clamp(17px, 1.7vw, 20px); max-width: 44ch; margin: 0 0 30px; }
.tsb-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.tsb-hero-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.tsb-js .tsb-hero-copy > *:not(.tsb-hero-title) { opacity: 0; transform: translateY(16px); animation: tsb-rise .9s var(--tsb-ease) forwards; }
.tsb-js .tsb-hero-copy > .tsb-hero-script { animation-delay: .05s; }
.tsb-js .tsb-hero-copy > .tsb-hero-sub { animation-delay: .5s; }
.tsb-js .tsb-hero-copy > .tsb-hero-ctas { animation-delay: .62s; }
.tsb-js .tsb-hero-copy > .tsb-hero-meta { animation-delay: .74s; }

.tsb-hero-art { position: relative; aspect-ratio: 1 / .92; max-width: 640px; width: 100%; justify-self: center; }
.tsb-hero-sunrow { position: absolute; left: 0; right: 0; top: 4%; height: 62%; }
.tsb-hero-sunrow .tsb-sun { position: absolute; }
.tsb-hero-sunrow .s1 { width: 36%; left: 0; top: 24%; --sun-disc: #D2753F; --sun-ray: #D2753F; }
.tsb-hero-sunrow .s2 { width: 54%; left: 23%; top: 0; }
.tsb-hero-sunrow .s3 { width: 36%; right: 0; top: 24%; --sun-disc: #D2753F; --sun-ray: #D2753F; }
.tsb-hero-sunrow .s1 .tsb-sun-rays { animation-duration: 110s; animation-direction: reverse; }
.tsb-hero-sunrow .s3 .tsb-sun-rays { animation-duration: 100s; }
.tsb-js .tsb-hero-sunrow .tsb-sun { opacity: 0; transform: translateY(40%) scale(.9); animation: tsb-sunrise 1.6s var(--tsb-ease) forwards; }
.tsb-js .tsb-hero-sunrow .s2 { animation-delay: .25s; }
.tsb-js .tsb-hero-sunrow .s1 { animation-delay: .45s; }
.tsb-js .tsb-hero-sunrow .s3 { animation-delay: .6s; }
@keyframes tsb-sunrise { to { opacity: 1; transform: none; } }
.tsb-hero-horizon { position: absolute; left: 4%; right: 4%; top: 58%; height: 12%; }
.tsb-hero-horizon span { display: block; height: 3px; border-radius: 3px; background: var(--tsb-terra); opacity: .55; margin: 0 auto 9px; }
.tsb-hero-horizon span:nth-child(1) { width: 100%; }
.tsb-hero-horizon span:nth-child(2) { width: 76%; opacity: .4; }
.tsb-hero-horizon span:nth-child(3) { width: 48%; opacity: .28; }
.tsb-hero-cups { position: absolute; left: 0; right: 0; bottom: 0; height: 74%; }
.tsb-hero-cup { position: absolute; bottom: 0; }
.tsb-hero-cup.c1 { width: 30%; left: 3%; bottom: 2%; }
.tsb-hero-cup.c2 { width: 39%; left: 30.5%; z-index: 2; }
.tsb-hero-cup.c3 { width: 30%; right: 3%; bottom: 2%; }
.tsb-hero-cup .tsb-cup { animation: tsb-float 6.5s ease-in-out infinite; }
.tsb-hero-cup.c1 .tsb-cup { animation-delay: -2.2s; }
.tsb-hero-cup.c3 .tsb-cup { animation-delay: -4.1s; }
.tsb-js .tsb-hero-cup { opacity: 0; transform: translateY(60px); animation: tsb-rise 1.2s var(--tsb-spring) forwards; }
.tsb-js .tsb-hero-cup.c2 { animation-delay: .7s; }
.tsb-js .tsb-hero-cup.c1 { animation-delay: .9s; }
.tsb-js .tsb-hero-cup.c3 { animation-delay: 1.05s; }
@keyframes tsb-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-9px) rotate(.6deg); } }
.tsb-hero-tag {
	position: absolute; z-index: 3; padding: 9px 14px; border-radius: 14px;
	background: var(--tsb-paper); box-shadow: var(--tsb-shadow); border: 1px solid var(--tsb-line);
	font: 650 13px/1.25 var(--tsb-sans); color: var(--tsb-ink); white-space: nowrap;
}
.tsb-hero-tag small { display: block; font-weight: 500; color: var(--tsb-ink-mute); font-size: 11.5px; }
.tsb-hero-tag.t1 { left: 36%; top: 93%; transform: rotate(-3deg); }
.tsb-hero-tag.t2 { right: -2%; top: 12%; transform: rotate(4deg); }
.tsb-js .tsb-hero-tag { opacity: 0; animation: tsb-pop .7s var(--tsb-spring) forwards; animation-delay: 1.5s; }
.tsb-js .tsb-hero-tag.t2 { animation-delay: 1.7s; }
@keyframes tsb-pop { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }

.tsb-hero-holiday:empty { display: none; }
.tsb-hero-holiday { margin: 6px 0 22px; }
.ts-hol-card {
	display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px; border-radius: 20px;
	background: var(--hol-bg); color: var(--hol-fg); box-shadow: var(--tsb-shadow); text-align: left;
	animation: tsb-pop .7s var(--tsb-spring) both; animation-delay: .4s;
}
.ts-hol-card .ts-hol-icon { width: 46px; height: 46px; flex: none; }
.ts-hol-card .ts-hol-icon circle { fill: var(--hol-accent); }
.ts-hol-card .ts-hol-icon path { fill: var(--hol-bg); }
.ts-hol-card strong { display: block; font: 400 26px/1.05 var(--tsb-script); color: var(--hol-accent); }
.ts-hol-card span { display: block; font: 600 14.5px/1.35 var(--tsb-sans); }
@media (max-width: 700px) { .tsb-hero-holiday { display: none; } }

@media (max-width: 900px) {
	.tsb-hero-grid { grid-template-columns: 1fr; }
	.tsb-hero-art { order: -1; max-width: 460px; margin-top: -6px; }
	.tsb-hero-copy { text-align: center; }
	.tsb-hero-title { max-width: none; margin-left: auto !important; margin-right: auto !important; }
	.tsb-hero-sub { margin-left: auto; margin-right: auto; }
	.tsb-hero-ctas, .tsb-hero-meta { justify-content: center; }
	.tsb-hero-script { transform-origin: center; }
	.tsb-hero-tag.t1 { left: 0; }
	.tsb-hero-tag.t2 { right: 0; }
}
@media (max-width: 520px) {
	.tsb-hero-ctas .tsb-btn { flex: 1 1 100%; }
	.tsb-hero-tag { font-size: 12px; padding: 7px 10px; }
}

/* marquee */
.tsb-marquee {
	position: relative; overflow: hidden; white-space: nowrap;
	background: var(--tsb-terra); color: #FFF4E8; padding: 18px 0;
	transform: rotate(-1.2deg); margin: 0 -2vw; box-shadow: 0 16px 34px -24px rgba(133, 57, 26, .9);
}
.tsb-marquee-track { display: inline-flex; gap: 0; animation: tsb-marquee 38s linear infinite; will-change: transform; }
.tsb-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.tsb-marquee-item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: italic 500 clamp(20px, 2.4vw, 28px)/1 var(--tsb-serif); font-variation-settings: "SOFT" 100, "WONK" 1; }
.tsb-marquee-item svg { width: 22px; height: 22px; fill: var(--tsb-marigold-200); }
@keyframes tsb-marquee { to { transform: translateX(-50%); } }
.tsb-marquee:hover .tsb-marquee-track { animation-play-state: paused; }

/* drink cards (home favourites + menu) */
.tsb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
@media (min-width: 1000px) { .tsb-menu .tsb-cards { grid-template-columns: repeat(3, 1fr); } .tsb-menu .tsb-card-art { height: 260px; } .tsb-menu .tsb-card-cup { width: 124px; } }
.tsb-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--tsb-paper); border: 1px solid var(--tsb-line); border-radius: var(--tsb-r);
	padding: 18px 20px 22px; text-decoration: none !important; color: inherit !important;
	box-shadow: var(--tsb-shadow);
	transition: transform .45s var(--tsb-ease), box-shadow .45s var(--tsb-ease), border-color .3s, opacity .4s, filter .4s;
	isolation: isolate; overflow: hidden;
}
.tsb-card:hover { transform: translateY(-6px); box-shadow: var(--tsb-shadow-lg); border-color: #E2C3A3; }
.tsb-card-art { position: relative; height: 230px; display: grid; place-items: end center; margin: -6px -8px 14px; border-radius: 18px; overflow: hidden;
	background: radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--card-tint, #E8A03C) 30%, #FFF6EA), #FFF6EA 70%);
}
.tsb-card-art .tsb-sun { position: absolute; width: 230px; left: 50%; top: 50%; margin: -150px 0 0 -115px; opacity: .55; --sun-disc: color-mix(in srgb, var(--card-tint, #E8A03C) 60%, #fff); --sun-ray: color-mix(in srgb, var(--card-tint, #E8A03C) 55%, #fff); --sun-glow: transparent; }
.tsb-card-art .tsb-sun .tsb-sun-rays { animation-duration: 140s; }
.tsb-card:hover .tsb-card-art .tsb-sun .tsb-sun-rays { animation-duration: 18s; }
.tsb-card-cup { position: relative; width: 112px; margin-bottom: 8px; transition: transform .6s var(--tsb-spring); }
.tsb-card:hover .tsb-card-cup { transform: translateY(-8px) rotate(-3deg) scale(1.04); }
.tsb-card-top { display: block; }
.tsb-card h3 { font-size: 26px !important; margin: 0 0 6px !important; }
.tsb-card-price { display: block; font: 700 15px/1.2 var(--tsb-sans); color: var(--tsb-terra-700); white-space: nowrap; }
.tsb-card-price small { font-weight: 500; color: var(--tsb-ink-mute); font-size: 12px; margin-right: 3px; }
.tsb-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; min-height: 0; }
.tsb-card-tags:empty { display: none; }
.tsb-card p.tsb-card-desc { font-size: 15px; line-height: 1.55; margin: 10px 0 18px; color: var(--tsb-ink-soft); flex: 1; }
.tsb-card .tsb-btn { align-self: flex-start; }
.tsb-card.is-matcha { --card-tint: #A8B98A; }
@media (max-width: 600px) {
	.tsb-menu .tsb-cards { gap: 14px; }
	.tsb-menu .tsb-card { display: grid; grid-template-columns: 108px 1fr; grid-template-areas: "art top" "art tags" "art desc" "art btn"; column-gap: 14px; padding: 14px 16px 16px 14px; }
	.tsb-menu .tsb-card-art { grid-area: art; height: auto; min-height: 150px; margin: 0; border-radius: 16px; align-self: stretch; }
	.tsb-menu .tsb-card-art .tsb-sun { width: 160px; margin: -100px 0 0 -80px; }
	.tsb-menu .tsb-card-cup { width: 78px; margin-bottom: 6px; }
	.tsb-menu .tsb-card-top { grid-area: top; }
	.tsb-menu .tsb-card h3 { font-size: 22px !important; }
	.tsb-menu .tsb-card-tags { grid-area: tags; margin-top: 6px; }
	.tsb-menu .tsb-card p.tsb-card-desc { grid-area: desc; font-size: 14px; margin: 8px 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.tsb-menu .tsb-card .tsb-btn { grid-area: btn; justify-self: start; }
}
.tsb-card.is-matcha .tsb-card-price { color: var(--tsb-matcha); }
.tsb-tag {
	display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
	font: 650 11.5px/1.3 var(--tsb-sans); letter-spacing: .02em; white-space: nowrap;
	background: var(--tsb-cream-2); color: var(--tsb-ink-soft); border: 1px solid var(--tsb-line);
}
.tsb-tag.is-season { background: #FCE7CF; color: #8C4B14; border-color: #F2CDA3; }
.tsb-tag.is-peanut { background: #FBEBDD; color: #8A3B1A; border-color: #F0C9AE; }

/* section: favourites */
.tsb-fav { padding-top: clamp(80px, 10vw, 130px); }

/* section: the pour (scroll story) */
.tsb-pour { position: relative; height: 230vh; background: linear-gradient(var(--tsb-cream), var(--tsb-cream-2) 30%, var(--tsb-cream-2) 70%, var(--tsb-cream)); }
.tsb-pour-stage { position: sticky; top: var(--tsb-header-h); height: calc(100vh - var(--tsb-header-h)); height: calc(100svh - var(--tsb-header-h)); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; max-width: var(--tsb-wrap); margin: 0 auto; padding: 0 var(--tsb-gut); }
.tsb-pour-cupwrap { position: relative; justify-self: center; width: min(320px, 70vw); }
.tsb-pour-cupwrap .tsb-sun { position: absolute; width: 170%; left: -35%; top: -12%; opacity: .5; --sun-glow: rgba(232, 160, 60, .2); }
.tsb-pour-cup { position: relative; }
.tsb-pour .tsb-cup-liquid { transform: translateY(calc((1 - var(--fill, 0)) * 210px)); transition: none; }
.tsb-pour .tsb-cup-marble { opacity: var(--marble-op, 0); transform: translateY(calc((1 - var(--fill, 0)) * 210px)); transition: none; }
.tsb-pour .tsb-cup-swirl { opacity: calc(var(--marble-op, 0) * .38); transform: translateY(calc((1 - var(--fill, 0)) * 210px)); }
.tsb-pour .tsb-cup-ice { transform: translateY(calc((1 - var(--ice, 0)) * -150px)); opacity: var(--ice, 0); }
.tsb-pour .tsb-cup.has-foam .tsb-cup-foam { opacity: var(--foamy, 0); transform: translateY(calc((1 - var(--foamy, 0)) * -40px)); transition: none; }
.tsb-pour .tsb-cup-dust { opacity: var(--dusty, 0); }
.tsb-pour-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: pour; }
.tsb-pour-step { position: relative; padding: 20px 22px 20px 70px; border-radius: 20px; border: 1px solid transparent; transition: background .5s, border-color .5s, opacity .5s, transform .5s var(--tsb-ease); opacity: .38; transform: scale(.97); transform-origin: left center; }
.tsb-pour-step.is-on { opacity: 1; transform: none; background: var(--tsb-paper); border-color: var(--tsb-line); box-shadow: var(--tsb-shadow); }
.tsb-pour-step::before { counter-increment: pour; content: counter(pour); position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 15px/1 var(--tsb-sans); background: var(--tsb-terra); color: #fff; }
.tsb-pour-step h3 { font-size: 26px !important; margin: 0 0 6px !important; }
.tsb-pour-step p { margin: 0; font-size: 15.5px; }
.tsb-pour-head { margin-bottom: 26px; }
.tsb-pour-head .tsb-h2 { font-size: clamp(30px, 3.4vw, 46px); }
@media (max-width: 900px) {
	.tsb-pour { height: 250vh; }
	.tsb-pour-stage { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding-top: 6px; padding-bottom: 10px; }
	.tsb-pour-cupwrap { width: min(180px, 44vw); }
	.tsb-pour-head { margin: 0 0 10px; text-align: center; }
	.tsb-pour-head .tsb-kicker { display: none; }
	.tsb-pour-head .tsb-h2 { font-size: 27px; margin: 0; }
	.tsb-pour-steps { position: relative; min-height: 150px; }
	.tsb-pour-step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(14px); padding: 16px 18px 16px 62px; }
	.tsb-pour-step.is-on { opacity: 1; transform: none; }
	.tsb-pour-step::before { left: 16px; top: 16px; }
	.tsb-pour-step h3 { font-size: 22px !important; }
}

/* section: how it works */
.tsb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); position: relative; }
.tsb-steps-line { position: absolute; left: 16%; right: 16%; top: 44px; height: 2px; overflow: visible; }
.tsb-steps-line path { fill: none; stroke: var(--tsb-terra); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; }
.tsb-step { position: relative; text-align: center; padding: 0 10px; }
.tsb-step-badge { position: relative; width: 88px; height: 88px; margin: 0 auto 20px; display: grid; place-items: center; }
.tsb-step-badge .tsb-sun { position: absolute; inset: -18px; width: calc(100% + 36px); --sun-glow: rgba(232, 160, 60, .18); }
.tsb-step-badge .tsb-sun .tsb-sun-rays { animation-duration: 40s; }
.tsb-step-badge .tsb-ico { position: relative; width: 34px; height: 34px; color: #FFF6EA; stroke-width: 1.9; }
.tsb-step h3 { font-size: 26px !important; margin: 0 0 8px !important; }
.tsb-step p { margin: 0 auto; max-width: 30ch; font-size: 15.5px; }
@media (max-width: 760px) {
	.tsb-steps { grid-template-columns: 1fr; gap: 34px; }
	.tsb-steps-line { display: none; }
}

/* section: story */
.tsb-story { background: var(--tsb-walnut); color: rgba(251, 243, 233, .82); overflow: hidden; }
.tsb-story .tsb-h2 { color: var(--tsb-cream); }
.tsb-story .tsb-h2 em { color: var(--tsb-marigold); }
.tsb-story-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.tsb-story-photos { position: relative; height: clamp(380px, 44vw, 540px); }
.tsb-polaroid {
	position: absolute; background: #FFFCF6; padding: 12px 12px 46px; border-radius: 6px;
	box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .6); transition: transform .6s var(--tsb-ease);
}
.tsb-polaroid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.tsb-polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font: 400 21px/1 var(--tsb-script); color: var(--tsb-terra-700); }
.tsb-story-photos .p1 { width: 56%; left: 4%; top: 6%; transform: rotate(-6deg); }
.tsb-story-photos .p2 { width: 52%; right: 2%; top: 22%; transform: rotate(5deg); }
.tsb-story-photos:hover .p1 { transform: rotate(-8deg) translateX(-10px); }
.tsb-story-photos:hover .p2 { transform: rotate(7deg) translateX(10px); }
.tsb-story-quote { font: italic 450 clamp(21px, 2.3vw, 27px)/1.45 var(--tsb-serif); font-variation-settings: "SOFT" 100; color: var(--tsb-cream); margin: 22px 0 18px; }
.tsb-story-sign { font: 400 34px/1 var(--tsb-script); color: var(--tsb-marigold); margin: 0 0 26px; }
.tsb-story .tsb-lede { color: rgba(251, 243, 233, .72); }
.tsb-story-suns { display: flex; gap: 14px; margin: 26px 0 30px; }
.tsb-story-suns .tsb-sun { width: 64px; --sun-disc: var(--tsb-marigold); --sun-ray: var(--tsb-marigold); --sun-glow: rgba(232, 160, 60, .15); }
.tsb-story-suns .tsb-sun:nth-child(2) { width: 76px; margin-top: -8px; }
@media (max-width: 860px) {
	.tsb-story-grid { grid-template-columns: 1fr; }
	.tsb-story-photos { height: 400px; max-width: 460px; width: 100%; margin: 0 auto; }
}

/* section: reviews */
.tsb-reviews-row { display: grid; grid-auto-flow: column; grid-auto-columns: min(380px, 84vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; }
.tsb-review { scroll-snap-align: start; background: var(--tsb-paper); border: 1px solid var(--tsb-line); border-radius: var(--tsb-r); padding: 26px 26px 22px; box-shadow: var(--tsb-shadow); display: flex; flex-direction: column; }
.tsb-review-stars { color: var(--tsb-marigold); letter-spacing: 2px; font-size: 18px; margin-bottom: 12px; }
.tsb-review blockquote { margin: 0 0 16px; padding: 0; border: 0; font: 450 18px/1.5 var(--tsb-serif); font-variation-settings: "SOFT" 80; color: var(--tsb-ink); flex: 1; }
.tsb-review cite { font: 650 13.5px/1 var(--tsb-sans); font-style: normal; color: var(--tsb-ink-mute); }
.tsb-review cite::before { content: "— "; }
.tsb-reviews-row.is-single { display: block; overflow: visible; }
.tsb-reviews-row.is-single .tsb-review { max-width: 860px; margin: 0 auto; padding: clamp(30px, 5vw, 54px); text-align: center; position: relative; }
.tsb-reviews-row.is-single .tsb-review::before { content: "“"; position: absolute; left: 50%; top: -34px; transform: translateX(-50%); font: 700 110px/1 var(--tsb-serif); color: var(--tsb-marigold); }
.tsb-reviews-row.is-single blockquote { font-size: clamp(21px, 2.4vw, 28px); font-style: italic; line-height: 1.45; }
.tsb-reviews-row.is-single .tsb-review-stars { font-size: 22px; }
.tsb-reviews-links { margin-top: 22px; display: flex; gap: 22px; flex-wrap: wrap; }
.tsb-reviews-links.is-center { justify-content: center; }

/* section: punch card */
.tsb-punch { background: var(--tsb-cream-2); }
.tsb-punch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.tsb-punchcard {
	position: relative; background: var(--tsb-paper); border-radius: 26px; padding: 30px 30px 26px;
	border: 2px dashed #DDBB98; box-shadow: var(--tsb-shadow-lg); transform: rotate(-2.5deg); max-width: 470px; margin: 0 auto;
}
.tsb-punchcard::before { content: ""; position: absolute; inset: 8px; border-radius: 20px; border: 1px solid var(--tsb-line); pointer-events: none; }
.tsb-punchcard-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tsb-punchcard-head img { height: 26px; width: auto; }
.tsb-punchcard-head span { font: 700 11.5px/1 var(--tsb-sans); letter-spacing: .2em; text-transform: uppercase; color: var(--tsb-ink-mute); }
.tsb-punchcard-suns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tsb-stamp { position: relative; aspect-ratio: 1; border-radius: 50%; border: 2px dashed #E1C5A8; display: grid; place-items: center; }
.tsb-stamp svg { width: 78%; height: 78%; opacity: 0; transform: scale(1.8) rotate(-30deg); transition: opacity .35s, transform .5s var(--tsb-spring); fill: var(--tsb-terra); }
.tsb-stamp.is-stamped { border-style: solid; border-color: transparent; background: rgba(192, 94, 46, .07); }
.tsb-stamp:nth-child(3n) svg { rotate: 14deg; } .tsb-stamp:nth-child(3n+1) svg { rotate: -9deg; } .tsb-stamp:nth-child(4n) svg { rotate: 22deg; }
.tsb-stamp.is-stamped svg { opacity: 1; transform: none; }
.tsb-stamp.is-free { border-color: var(--tsb-marigold); background: #FFF3DD; }
.tsb-stamp.is-free span { font: 800 10px/1 var(--tsb-sans); letter-spacing: .1em; color: #A8701C; }
.tsb-stamp.is-free.is-stamped span { display: none; }
.tsb-stamp.is-free svg { fill: var(--tsb-marigold); }
.tsb-punchcard-foot { margin-top: 18px; font: 400 24px/1 var(--tsb-script); color: var(--tsb-terra-700); text-align: center; }
@media (max-width: 860px) { .tsb-punch-grid { grid-template-columns: 1fr; } }

/* section: from our kitchen */
.tsb-wall { display: flex; justify-content: center; gap: 0; padding: 30px 0 10px; }
.tsb-wall .tsb-polaroid { position: relative; width: 210px; flex: none; margin: 0 -14px; transform: rotate(var(--r, 0deg)) translateY(var(--y, 0)); }
.tsb-js .tsb-wall .tsb-polaroid[data-reveal] { transform: rotate(var(--r, 0deg)) translateY(calc(var(--y, 0px) + 40px)); }
.tsb-js .tsb-wall .tsb-polaroid[data-reveal].is-in { transform: rotate(var(--r, 0deg)) translateY(var(--y, 0px)); }
.tsb-js .tsb-wall .tsb-polaroid[data-reveal].is-in:hover { transform: rotate(0) translateY(-14px) scale(1.06); }
.tsb-wall .tsb-polaroid:hover { transform: rotate(0) translateY(-14px) scale(1.06); z-index: 5; }
.tsb-wall .tsb-polaroid figcaption { font-size: 19px; }
@media (max-width: 900px) {
	.tsb-wall { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 24px 30px; margin: 0 calc(var(--tsb-gut) * -1); gap: 18px; }
	.tsb-wall .tsb-polaroid { margin: 0; width: 200px; scroll-snap-align: center; }
}

/* section: find us */
.tsb-find-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.tsb-find-card { background: var(--tsb-paper); border: 1px solid var(--tsb-line); border-radius: var(--tsb-r); padding: 30px; box-shadow: var(--tsb-shadow); }
.tsb-find-card .tsb-hours li { border-bottom-color: var(--tsb-line); color: var(--tsb-ink-soft); }
.tsb-find-card .tsb-hours li.is-today { color: var(--tsb-ink); }
.tsb-find-card h3 { font-size: 24px !important; margin: 0 0 14px !important; }
.tsb-find-map .ts-map-wrap, .tsb-find-map > div { margin-top: 0 !important; }
.tsb .ts-map-frame { border-radius: var(--tsb-r) !important; }
.tsb a.ts-map-go-btn, .tsb .ts-map-go-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px !important;
	border-radius: 999px !important; background: var(--tsb-terra) !important; color: #FFF9F2 !important; border: 0 !important;
	font: 650 15.5px/1 var(--tsb-sans) !important; text-decoration: none !important; box-shadow: 0 10px 22px -12px rgba(164, 77, 34, .7);
}
.tsb a.ts-map-go-btn:hover { background: var(--tsb-terra-700) !important; }
.tsb .ts-map-zoom button { border-radius: 12px !important; border: 1px solid var(--tsb-line) !important; background: var(--tsb-paper) !important; color: var(--tsb-ink) !important; }
.tsb .ts-map-where { font-family: var(--tsb-sans) !important; color: var(--tsb-ink) !important; }
@media (max-width: 900px) { .tsb-find-grid { grid-template-columns: 1fr; } }

/* closing call to action */
.tsb-cta { position: relative; background: var(--tsb-marigold); color: var(--tsb-walnut); overflow: hidden; padding: clamp(70px, 9vw, 110px) 0; text-align: center; }
.tsb-cta .tsb-h2 { color: var(--tsb-walnut); }
.tsb-cta .tsb-h2 em { color: var(--tsb-terra-800); }
.tsb-cta p { color: rgba(42, 24, 16, .75); font-size: 18px; margin: 0 auto 28px; max-width: 46ch; }
.tsb-cta .tsb-sun { position: absolute; width: 520px; left: 50%; top: 100%; margin: -210px 0 0 -260px; opacity: .3; --sun-disc: #fff3dc; --sun-ray: #fff3dc; --sun-glow: transparent; }
.tsb-cta-inner { position: relative; }
.tsb-cta .tsb-picado { position: absolute; top: 0; left: 0; right: 0; height: 70px; }

/* --------------------------------------------------------------- 9 menu */
.tsb-menu-hero { position: relative; padding: clamp(36px, 5vw, 64px) 0 clamp(30px, 4vw, 48px); text-align: center; overflow: hidden; }
.tsb-menu-hero .tsb-picado { height: clamp(52px, 6vw, 80px); margin-bottom: 16px; }
.tsb-menu-hero .tsb-h2 { font-size: clamp(42px, 6vw, 76px); }
.tsb-menu-tools {
	position: sticky; top: var(--tsb-header-h); z-index: 50;
	display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center;
	padding: 12px var(--tsb-gut); margin-bottom: 30px;
	background: color-mix(in srgb, var(--tsb-cream) 90%, transparent);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-block: 1px solid var(--tsb-line);
}
.tsb-menu-jump { display: inline-flex; gap: 6px; padding: 4px; border-radius: 999px; background: rgba(62, 42, 30, .06); }
.tsb-menu-jump a { padding: 9px 16px; border-radius: 999px; font: 650 14px/1 var(--tsb-sans); text-decoration: none; color: var(--tsb-ink) !important; transition: background .2s; }
.tsb-menu-jump a:hover, .tsb-menu-jump a.is-on { background: var(--tsb-paper); box-shadow: 0 1px 4px rgba(62, 42, 30, .14); }
.tsb-menu-shelf { padding: 10px 0 60px; scroll-margin-top: calc(var(--tsb-header-h) + 80px); }
.tsb-menu-shelf-head { display: flex; align-items: center; gap: 18px; margin: 0 0 28px; }
.tsb-menu-shelf-head h2 { font-size: clamp(32px, 4vw, 46px) !important; margin: 0 !important; }
.tsb-menu-shelf-head::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--tsb-line) 0 8px, transparent 8px 14px); }
.tsb-menu-shelf.is-matcha h2 { color: var(--tsb-matcha) !important; }
.tsb-menu-notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 10px 0 80px; }
.tsb-menu-note { display: flex; gap: 12px; align-items: flex-start; background: var(--tsb-paper); border: 1px solid var(--tsb-line); border-radius: 18px; padding: 16px 18px; font-size: 14.5px; line-height: 1.5; }
.tsb-menu-note .tsb-ico { color: var(--tsb-terra); margin-top: 2px; }
.tsb-menu-note strong { display: block; color: var(--tsb-ink); font-size: 15px; }

/* --------------------------------------------------------- 10 drink page */
.tsb.single-product .site-content { padding-top: clamp(20px, 3vw, 40px); }
.tsb.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin-bottom: 60px; }
.tsb.single-product div.product::before, .tsb.single-product div.product::after { display: none; }
.tsb.single-product div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.tsb.single-product div.product .woocommerce-product-gallery { width: auto !important; float: none !important; }
.tsb-stage {
	position: sticky; top: calc(var(--tsb-header-h) + 20px);
	border-radius: 32px; padding: 40px 30px 26px; text-align: center; overflow: hidden; isolation: isolate;
	background: radial-gradient(110% 80% at 50% 100%, #F4D9B8, #FFF4E6 75%);
	border: 1px solid var(--tsb-line); box-shadow: var(--tsb-shadow);
}
.tsb-stage.is-matcha { background: radial-gradient(110% 80% at 50% 100%, #DCE5C2, #F7F8EC 75%); }
.tsb-stage-sun { position: absolute; z-index: -1; width: 120%; left: -10%; top: -4%; opacity: .5; }
.tsb-stage.is-matcha .tsb-stage-sun { --sun-disc: #B7C792; --sun-ray: #B7C792; --sun-glow: rgba(168, 185, 138, .25); }
.tsb-stage-cup { width: min(260px, 58%); margin: 10px auto 0; }
.tsb-stage-caption { margin: 18px 0 0; font: 600 14px/1.4 var(--tsb-sans); color: var(--tsb-ink-soft); min-height: 1.4em; }
.tsb-stage-summary { color: var(--tsb-ink); }
.tsb.single-product .product_title { font-size: clamp(40px, 5vw, 64px) !important; margin: 0 0 10px !important; }
.tsb.single-product .summary > .price { font: 700 20px/1.2 var(--tsb-sans) !important; color: var(--tsb-terra-700) !important; margin-bottom: 14px; }
.tsb.single-product .woocommerce-product-details__short-description { font-size: 18px; line-height: 1.6; color: var(--tsb-ink-soft); }
.tsb .ts-product-note { background: var(--tsb-cream-2); border: 1px solid var(--tsb-line); border-left: 4px solid var(--tsb-terra); border-radius: 14px; padding: 12px 16px; margin: 18px 0 22px; font-size: 14.5px; }
.tsb .ts-product-note p { margin: 0; }
.tsb .ts-product-note p + p { margin-top: 4px; }

.tsb table.variations { border: 0; margin: 0 0 6px; }
.tsb table.variations tr { display: block; margin-bottom: 18px; }
.tsb table.variations th, .tsb table.variations td { display: block; padding: 0; background: none !important; border: 0; text-align: left; }
.tsb table.variations th.label label { font: 700 12.5px/1 var(--tsb-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--tsb-ink); margin-bottom: 10px; display: inline-block; }
.tsb .tawcvs-swatches { display: flex !important; flex-wrap: wrap; gap: 9px; padding: 0 !important; }
.tsb .tawcvs-swatches .swatch-item-wrapper { margin: 0 !important; }
.tsb .tawcvs-swatches .swatch.swatch-label {
	position: relative; display: inline-flex !important; align-items: center; gap: 7px;
	width: auto !important; height: auto !important; min-height: 46px; line-height: 1.2 !important;
	padding: 11px 18px !important; margin: 0 !important; border-radius: 14px !important;
	background: var(--tsb-paper) !important; color: var(--tsb-ink) !important;
	border: 1.5px solid #DCC2A6 !important; box-shadow: none !important;
	font: 600 15px/1.2 var(--tsb-sans) !important; text-indent: 0 !important; overflow: visible !important;
	transition: border-color .2s, background .2s, transform .2s var(--tsb-ease), box-shadow .2s, opacity .3s !important;
}
.tsb .tawcvs-swatches .swatch-item-wrapper { padding: 0 !important; display: inline-flex; border: 0 !important; box-shadow: none !important; background: none !important; }
/* the plugin draws its own ring with very specific selectors; ours is the filled pill */
.tsb .tawcvs-swatches .swatch.swatch-label::before, .tsb .tawcvs-swatches .swatch.swatch-label::after,
.woocommerce div.product .cart.variations_form .tawcvs-swatches .swatch::before,
.woocommerce div.product .cart.variations_form .tawcvs-swatches .swatch::after,
.woocommerce div.product .cart.variations_form .tawcvs-swatches .swatch.selected::before,
.woocommerce div.product .cart.variations_form .tawcvs-swatches .swatch.selected::after,
.woocommerce div.product .cart.variations_form .tawcvs-swatches .swatch.selected.swatch-label::before,
.woocommerce div.product .cart.variations_form .tawcvs-swatches .swatch.selected.swatch-label::after {
	content: none !important; display: none !important; border: 0 !important; box-shadow: none !important;
}
.tsb .tawcvs-swatches .swatch { outline: none !important; opacity: 1; }
.tsb .tawcvs-swatches .swatch:focus-visible { outline: 3px solid var(--tsb-marigold) !important; outline-offset: 2px; }
.tsb .tawcvs-swatches .swatch.swatch-label:hover { border-color: #D9B693 !important; transform: translateY(-1px); }
.tsb .tawcvs-swatches .swatch.swatch-label.selected {
	background: var(--tsb-terra) !important; border-color: var(--tsb-terra) !important; color: #FFF8F0 !important;
	box-shadow: 0 8px 18px -10px rgba(164, 77, 34, .9) !important;
}
.tsb .tawcvs-swatches .swatch.swatch-label.disabled { opacity: .35 !important; text-decoration: line-through; }
.tsb.ts-matcha .tawcvs-swatches .swatch.swatch-label.selected { background: var(--tsb-matcha) !important; border-color: var(--tsb-matcha) !important; box-shadow: 0 8px 18px -10px rgba(80, 95, 40, .9) !important; }
.tsb .reset_variations { font: 600 13.5px/1 var(--tsb-sans); color: var(--tsb-ink-mute) !important; }
.tsb .single_variation_wrap .woocommerce-variation-price .price { font: 700 24px/1 var(--tsb-sans); color: var(--tsb-ink) !important; }
.tsb form.cart .quantity .qty { width: 72px; height: 54px; border-radius: 14px; border: 1.5px solid var(--tsb-line); background: var(--tsb-paper); font: 650 17px/1 var(--tsb-sans); text-align: center; }
.tsb form.cart .single_add_to_cart_button, .tsb .single_add_to_cart_button.button.alt {
	min-height: 56px; padding: 0 30px !important; border-radius: 999px !important;
	background: var(--tsb-terra) !important; color: #FFF9F2 !important; border: 0 !important;
	font: 700 16px/1 var(--tsb-sans) !important; letter-spacing: .02em !important; text-transform: none !important;
	box-shadow: 0 14px 26px -14px rgba(164, 77, 34, .9) !important; transition: transform .2s var(--tsb-ease), background .2s, opacity .2s !important;
}
.tsb form.cart .single_add_to_cart_button:hover { background: var(--tsb-terra-700) !important; transform: translateY(-2px); }
.tsb form.cart .single_add_to_cart_button.disabled { opacity: .45 !important; }
.tsb.ts-matcha form.cart .single_add_to_cart_button { background: var(--tsb-matcha) !important; box-shadow: 0 14px 26px -14px rgba(80, 95, 40, .9) !important; }
.tsb .woocommerce-variation-add-to-cart { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
@media (max-width: 900px) {
	/* The button sits under four rows of choices; on a phone it rides along
	   the bottom of the screen while the choices are on screen. */
	.tsb .single_variation_wrap { position: sticky; bottom: 0; z-index: 40; margin: 0 calc(var(--tsb-gut) * -1); padding: 12px var(--tsb-gut) calc(12px + env(safe-area-inset-bottom, 0px));
		background: color-mix(in srgb, var(--tsb-cream) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
		border-top: 1px solid var(--tsb-line); }
	.tsb .single_variation_wrap .woocommerce-variation { margin: 0 0 8px; }
	.tsb .single_variation_wrap .woocommerce-variation-description { display: none; }
	.tsb .woocommerce-variation-add-to-cart { flex-wrap: nowrap; }
	.tsb form.cart .single_add_to_cart_button { flex: 1; }
}
.tsb.single-product .product_meta { display: none; }
.tsb .storefront-product-pagination { display: none !important; }
@media (max-width: 900px) {
	.tsb.single-product div.product { grid-template-columns: 1fr; gap: 24px; }
	.tsb-stage { position: relative; top: 0; padding: 24px 20px 18px; border-radius: 26px; }
	.tsb-stage-cup { width: min(180px, 46%); }
	.tsb.single-product .product_title { text-align: left; }
}

/* ------------------------------------------------------- 11 cart+checkout */
.tsb.woocommerce-cart .entry-header, .tsb.woocommerce-checkout .entry-header { margin-bottom: 10px !important; }
.tsb .wp-block-woocommerce-cart, .tsb .wp-block-woocommerce-checkout { font-family: var(--tsb-sans); padding-top: 0 !important; }
.tsb .wc-block-components-sidebar-layout { margin-top: 10px; }
/* The checkout button follows the basket (live theme behaviour, kept):
   terracotta for anything with coffee in it, matcha green for an all-matcha
   order — body.ts-cart-matcha is set by inc/legacy.php. */
.tsb .wc-block-cart__submit-button, .tsb .wc-block-components-checkout-place-order-button,
.tsb .wc-block-components-button.contained, .tsb .wp-block-woocommerce-checkout .wc-block-components-button:not(.is-link) {
	background: var(--tsb-terra) !important; color: #FFF9F2 !important; border: 0 !important; border-radius: 999px !important;
	min-height: 58px; font: 700 16.5px/1 var(--tsb-sans) !important; letter-spacing: .02em !important; text-transform: none !important;
	text-decoration: none !important; box-shadow: 0 14px 26px -14px rgba(164, 77, 34, .9) !important; transition: background .2s, transform .2s var(--tsb-ease) !important;
}
.tsb .wc-block-cart__submit-button:hover, .tsb .wc-block-components-checkout-place-order-button:hover,
.tsb .wc-block-components-button.contained:hover { background: var(--tsb-terra-700) !important; transform: translateY(-2px); }
.tsb .wc-block-cart__submit-button *, .tsb .wc-block-components-checkout-place-order-button * { color: inherit !important; text-decoration: none !important; }
.tsb.ts-cart-matcha .wc-block-cart__submit-button, .tsb.ts-cart-matcha .wc-block-components-checkout-place-order-button,
.tsb.ts-cart-matcha .wc-block-components-button.contained { background: var(--tsb-matcha) !important; box-shadow: 0 14px 26px -14px rgba(80, 95, 40, .9) !important; }
.tsb.ts-cart-matcha .wc-block-cart__submit-button:hover, .tsb.ts-cart-matcha .wc-block-components-checkout-place-order-button:hover { background: #56632F !important; }
.tsb .wc-block-components-product-name { font: 600 19px/1.3 var(--tsb-serif) !important; color: var(--tsb-ink) !important; text-decoration: none !important; }
.tsb .wc-block-components-product-metadata, .tsb .wc-block-components-product-details { font-size: 13.5px !important; color: var(--tsb-ink-soft) !important; }
.tsb .wc-block-cart-item__image img, .tsb .wc-block-components-order-summary-item__image img { background: #FFF4E6; border-radius: 12px; }
.tsb .wc-block-cart-items, .tsb .wc-block-cart-items th { border-color: var(--tsb-line) !important; }
.tsb .wc-block-cart-items__header { font: 700 12px/1 var(--tsb-sans) !important; letter-spacing: .14em; color: var(--tsb-ink-mute) !important; }
.tsb .wc-block-components-quantity-selector { border-radius: 12px !important; border-color: var(--tsb-line) !important; background: var(--tsb-paper); }
.tsb .wp-block-woocommerce-cart-totals-block, .tsb .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {
	background: var(--tsb-paper); border: 1px solid var(--tsb-line) !important; border-radius: var(--tsb-r); padding: 18px 22px 22px !important; box-shadow: var(--tsb-shadow);
}
.tsb .wc-block-components-totals-item__label, .tsb .wc-block-components-totals-item__value { color: var(--tsb-ink); }
.tsb .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font: 700 26px/1 var(--tsb-sans) !important; }
.tsb .wc-block-components-title, .tsb .wc-block-components-checkout-step__title,
.tsb .wc-block-components-checkout-order-summary__title-text { font-family: var(--tsb-serif) !important; color: var(--tsb-ink) !important; font-weight: 600 !important; }
.tsb .wc-block-components-checkout-step__title { font-size: 26px !important; }
.tsb .wc-block-components-text-input input, .tsb .wc-block-components-textarea, .tsb .wc-blocks-components-select__select,
.tsb .wc-block-components-combobox .wc-block-components-combobox-control input {
	border-radius: 14px !important; border: 1.5px solid #DCC2A6 !important; background: #FFFDF9 !important; color: var(--tsb-ink) !important;
	min-height: 54px; font-family: var(--tsb-sans) !important;
}
.tsb .wc-block-components-text-input input:focus, .tsb .wc-blocks-components-select__select:focus { border-color: var(--tsb-terra) !important; box-shadow: 0 0 0 3px rgba(232, 160, 60, .3) !important; }
.tsb .wc-block-components-radio-control__option, .tsb .wc-block-components-radio-control-accordion-option {
	border-radius: 16px !important; border-color: var(--tsb-line) !important; background: var(--tsb-paper);
}
.tsb .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { border-radius: 6px; border-color: #C9A98A; }
.tsb .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--tsb-terra); border-color: var(--tsb-terra); }
.tsb .wc-block-components-checkbox__mark { fill: #fff; }
/* the pickup time: two buttons (tres-soles-pickup-ux.php), in the new type */
.tsb .ts-pux-row { gap: 12px !important; }
.tsb .ts-pux-btn { border-radius: 16px !important; border: 1.5px solid #DCC2A6 !important; background: var(--tsb-paper) !important; color: var(--tsb-ink) !important;
	font: 700 16px/1.25 var(--tsb-sans) !important; padding: 15px 12px !important; transition: background .2s, border-color .2s, transform .2s var(--tsb-ease) !important; }
.tsb .ts-pux-btn small { font: 500 12.5px/1.3 var(--tsb-sans) !important; }
.tsb .ts-pux-btn:hover { transform: translateY(-1px); border-color: #C9A98A !important; }
.tsb .ts-pux-btn.is-on { background: var(--tsb-terra) !important; border-color: var(--tsb-terra) !important; color: #FFF9F2 !important; box-shadow: 0 10px 22px -12px rgba(164, 77, 34, .8); }
.tsb.ts-cart-matcha .ts-pux-btn.is-on { background: var(--tsb-matcha) !important; border-color: var(--tsb-matcha) !important; }
.tsb .wc-block-checkout__terms { font-size: 14px; }
@media (max-width: 700px) { .tsb .ts-pux-row { flex-direction: column; } }

/* ---------------------------------------------------------- 12 other pages */
/* Pages that keep their wp-admin content sit in one centred column. */
.tsb:not(.tsb-full) .site-content { padding-top: clamp(26px, 4vw, 52px); padding-bottom: clamp(50px, 7vw, 90px); }
.tsb .hentry .entry-header { display: none; }
.tsb.woocommerce-cart .hentry .entry-header, .tsb.woocommerce-checkout .hentry .entry-header { display: block; text-align: center; margin-bottom: 26px; }
.tsb.woocommerce-cart .entry-title, .tsb.woocommerce-checkout .entry-title { font-size: clamp(40px, 5.4vw, 64px) !important; }
.tsb .entry-content > .ts-menu-intro, .tsb .ts-menu-intro { text-align: center; padding: 6px 0 26px; }
.tsb .ts-menu-kicker { display: inline-flex; font: 700 12.5px/1 var(--tsb-sans) !important; letter-spacing: .22em !important; text-transform: uppercase; color: var(--tsb-terra) !important; margin: 0; }
.tsb .ts-menu-title { font-size: clamp(42px, 6vw, 72px) !important; margin: 12px 0 10px !important; }
.tsb .ts-menu-title, .tsb .ts-contact h1 { font-variation-settings: "SOFT" 70 !important; }
.tsb .ts-menu-sub { font-size: 18.5px; color: var(--tsb-ink-soft); margin: 0 auto; max-width: 48ch; }
.tsb .ts-section-head { display: flex; align-items: center; gap: 16px; margin: 36px 0 22px; }
.tsb .ts-section-head::before, .tsb .ts-section-head::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--tsb-line) 0 8px, transparent 8px 14px); }
.tsb .ts-section-head span { font: 700 13px/1 var(--tsb-sans) !important; letter-spacing: .24em !important; text-transform: uppercase; color: var(--tsb-terra) !important; }
.tsb .entry-content .button, .tsb .ts-contact-card .button, .tsb .ts-rev-form .button, .tsb .ts-mycard .button, .tsb .ts-cancel .button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
	border-radius: 999px !important; background: var(--tsb-terra) !important; color: #FFF9F2 !important; border: 0 !important;
	font: 650 15.5px/1 var(--tsb-sans) !important; padding: 0 26px !important; text-decoration: none !important;
	box-shadow: 0 10px 22px -12px rgba(164, 77, 34, .7); transition: transform .2s var(--tsb-ease), background .2s;
}
.tsb .entry-content .button:hover { background: var(--tsb-terra-700) !important; transform: translateY(-2px); }
.tsb .entry-content input[type="text"], .tsb .entry-content input[type="email"], .tsb .entry-content textarea {
	width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid #DCC2A6;
	background: #fff; font: 500 16px/1.4 var(--tsb-sans); color: var(--tsb-ink); box-shadow: none;
}
.tsb .entry-content input:focus, .tsb .entry-content textarea:focus { border-color: var(--tsb-terra); outline: 3px solid rgba(232, 160, 60, .35); outline-offset: 0; }

/* Our Story */
.tsb-story-hero { position: relative; text-align: center; padding: 0 0 clamp(30px, 5vw, 60px); overflow: hidden; }
.tsb-story-hero .tsb-picado { height: clamp(52px, 6vw, 80px); }
.tsb-story-hero-suns { display: flex; justify-content: center; align-items: flex-end; gap: 4px; margin: 18px 0 0; }
.tsb-story-hero-suns .tsb-sun { width: 76px; } .tsb-story-hero-suns .tsb-sun.b { width: 110px; }
.tsb-story-hero-suns .tsb-sun.a, .tsb-story-hero-suns .tsb-sun.c { --sun-disc: #D2753F; --sun-ray: #D2753F; }
.tsb-story-hero-script { font-size: clamp(30px, 3.4vw, 42px); margin: 6px 0 0; }
.tsb-story-hero .tsb-h2 { font-size: clamp(42px, 6vw, 78px); max-width: 15ch; margin-left: auto; margin-right: auto; }
.tsb-story-hero .tsb-lede { margin: 0 auto; }
.tsb-story-body { padding-top: 10px; }
.tsb-story-cols { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.tsb-story-aside { position: sticky; top: calc(var(--tsb-header-h) + 30px); }
.tsb-story-stack { position: relative; height: 560px; }
.tsb-story-stack .tsb-polaroid { width: 64%; }
.tsb-story-stack .s1 { left: 0; top: 0; transform: rotate(-5deg); }
.tsb-story-stack .s2 { right: 0; top: 150px; transform: rotate(6deg); }
.tsb-story-stack .s3 { left: 12%; top: 300px; transform: rotate(-2deg); }
.tsb-story-text .ts-about-logo, .tsb-story-text .ts-about .ts-menu-kicker, .tsb-story-text .ts-about .ts-menu-title { display: none !important; }
.tsb-story-text .ts-about { text-align: left; max-width: 640px; }
.tsb-story-text .ts-about-body p { font-size: 18.5px; line-height: 1.8; color: var(--tsb-ink-soft); margin: 0 0 1.3em; }
.tsb-story-text .ts-about-body p:first-child { font: 500 clamp(24px, 2.6vw, 31px)/1.4 var(--tsb-serif); font-variation-settings: "SOFT" 100; color: var(--tsb-ink); margin-bottom: 1.1em; }
.tsb-story-text .ts-about-body p:nth-child(2)::first-letter {
	float: left; font: 600 4.2em/.82 var(--tsb-serif); color: var(--tsb-terra); margin: .06em .1em 0 0;
}
.tsb-story-text .ts-about-body p:nth-child(3) {
	font: italic 500 24px/1.45 var(--tsb-serif); font-variation-settings: "SOFT" 100; color: var(--tsb-terra-700);
	border-left: 4px solid var(--tsb-marigold); padding: 4px 0 4px 22px; margin: 1.6em 0;
}
.tsb-story-text .ts-about-body p:last-child { font: 400 30px/1.35 var(--tsb-script); color: var(--tsb-terra-700); margin-top: 1.6em; }
.tsb-story-text .ts-about-cta { margin-top: 10px; }
@media (max-width: 900px) {
	.tsb-story-cols { grid-template-columns: 1fr; }
	.tsb-story-aside { position: relative; top: 0; order: 2; }
	.tsb-story-stack { height: 380px; max-width: 440px; margin: 0 auto; }
	.tsb-story-stack .tsb-polaroid { width: 56%; }
	.tsb-story-stack .s2 { top: 90px; } .tsb-story-stack .s3 { top: 180px; }
}

/* Contact */
.tsb .ts-contact-card, .tsb .ts-faq-item { background: var(--tsb-paper) !important; border: 1px solid var(--tsb-line) !important; border-radius: var(--tsb-r) !important; box-shadow: var(--tsb-shadow) !important; }
.tsb .ts-contact { max-width: 860px; margin: 0 auto; text-align: center; }
.tsb .ts-contact h1 { font-size: clamp(40px, 5.4vw, 64px) !important; margin: 10px 0 10px !important; }
.tsb .ts-contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0 10px; }
.tsb .ts-contact-card { padding: 28px 24px !important; text-align: center; }
.tsb .ts-contact-card h3 { font-size: 26px !important; margin: 6px 0 8px !important; }
.tsb .ts-contact-card p { color: var(--tsb-ink-soft); margin: 0 0 16px; }
.tsb .ts-contact-icon { font-size: 34px; display: block; }
.tsb .ts-contact-city { font-size: 13.5px; color: var(--tsb-ink-mute) !important; margin: 14px 0 0 !important; }
.tsb .ts-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; text-align: left; }
.tsb .ts-faq-item { padding: 22px 24px !important; margin: 0 !important; }
.tsb .ts-faq-item h4 { font-size: 21px !important; margin: 0 0 8px !important; }
.tsb .ts-faq-item p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--tsb-ink-soft); }
.tsb .ts-contact-close { font: italic 450 20px/1.5 var(--tsb-serif); color: var(--tsb-ink); margin-top: 34px; }
@media (max-width: 760px) { .tsb .ts-contact-cards, .tsb .ts-faq { grid-template-columns: 1fr; } }
.tsb.page-contact .ts-map, .tsb .entry-content > .ts-map { max-width: 520px; margin: 0 auto; }

/* Reviews */
.tsb .ts-reviews { max-width: 720px; margin: 0 auto; }
.tsb .ts-stars { color: var(--tsb-marigold); letter-spacing: 2px; }
.tsb .ts-rev-avg { text-align: center; font: 600 16px/1.4 var(--tsb-sans); color: var(--tsb-ink); }
.tsb .ts-rev-form { background: var(--tsb-paper); border: 1px solid var(--tsb-line); border-radius: var(--tsb-r); padding: 26px 28px 28px; margin: 22px 0 30px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--tsb-shadow); }
.tsb .ts-rev-form h3 { margin: 0 !important; font-size: 28px !important; }
.tsb .ts-stars-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; }
.tsb .ts-stars-input input { display: none; }
.tsb .ts-stars-input label { font-size: 34px; line-height: 1; color: #E3CBB2; cursor: pointer; padding: 0 2px; transition: color .15s, transform .2s var(--tsb-spring); }
.tsb .ts-stars-input input:checked + label, .tsb .ts-stars-input input:checked ~ label,
.tsb .ts-stars-input label:hover, .tsb .ts-stars-input label:hover ~ label { color: var(--tsb-marigold); }
.tsb .ts-stars-input label:hover { transform: scale(1.15); }
.tsb .ts-rev-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.tsb .ts-rev-error { color: var(--tsb-terra-700); text-align: center; font-weight: 650; }
.tsb .ts-rev-thanks { background: #EEF5E8; border: 1px solid #CFE0C2; color: #2E5A27; border-radius: 18px; padding: 18px 20px; text-align: center; }
.tsb .ts-rev-list { display: flex; flex-direction: column; gap: 14px; }
.tsb .ts-rev-card { background: var(--tsb-paper); border: 1px solid var(--tsb-line); border-radius: var(--tsb-r); padding: 22px 24px; box-shadow: var(--tsb-shadow); }
.tsb .ts-rev-text { margin: 8px 0 10px; font: 450 18px/1.55 var(--tsb-serif); color: var(--tsb-ink); font-variation-settings: "SOFT" 80; }
.tsb .ts-rev-who { margin: 0; font: 650 13.5px/1 var(--tsb-sans); color: var(--tsb-ink-mute); }
.tsb .ts-rev-empty { text-align: center; color: var(--tsb-ink-soft); }

/* My card */
.tsb .ts-mycard { max-width: 700px; margin: 0 auto; }
.tsb .ts-mycard form, .tsb .ts-card-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tsb .ts-mycard form input[type="email"] { flex: 1 1 260px; max-width: 420px; }
.tsb .ts-portal-stats { display: flex; justify-content: center; gap: 36px; margin: 24px 0; padding: 20px; background: var(--tsb-cream-2); border-radius: var(--tsb-r); text-align: center; }
.tsb .ts-portal-stats > div { display: flex; flex-direction: column; }
.tsb .ts-stat-n { font: 600 34px/1.1 var(--tsb-serif); color: var(--tsb-terra); }
.tsb .ts-stat-l { font: 700 11.5px/1.2 var(--tsb-sans); text-transform: uppercase; letter-spacing: .12em; color: var(--tsb-ink-mute); margin-top: 4px; }
.tsb .ts-portal-usual { background: var(--tsb-walnut); color: var(--tsb-cream); border-radius: var(--tsb-r); padding: 26px; margin-bottom: 26px; text-align: center; }
.tsb .ts-usual-kicker { margin: 0 0 6px; font: 700 11.5px/1 var(--tsb-sans); text-transform: uppercase; letter-spacing: .16em; color: var(--tsb-marigold); }
.tsb .ts-usual-drink { margin: 0; font: 600 30px/1.15 var(--tsb-serif); color: var(--tsb-cream); }
.tsb .ts-usual-opts { margin: 6px 0 0; font-size: 15px; color: #D9C9BB; }
.tsb .ts-usual-count { margin: 8px 0 16px; font-size: 14px; color: #B5A294; font-style: italic; }
.tsb .ts-portal-h { font-size: 28px !important; margin: 0 0 14px !important; }
.tsb .ts-portal-orders { display: flex; flex-direction: column; gap: 12px; }
.tsb .ts-porder { background: var(--tsb-paper); border: 1px solid var(--tsb-line); border-left: 6px solid var(--tsb-line); border-radius: 16px; padding: 16px 18px; }
.tsb .ts-porder-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tsb .ts-porder-when { font-weight: 650; color: var(--tsb-ink); }
.tsb .ts-porder-status { font: 800 11.5px/1 var(--tsb-sans); text-transform: uppercase; letter-spacing: .08em; }
.tsb .ts-porder-items { list-style: none; margin: 10px 0 8px; padding: 0; }
.tsb .ts-porder-items li { margin: 0 0 6px; color: var(--tsb-ink); line-height: 1.45; }
.tsb .ts-porder-opts { font-size: 14px; color: var(--tsb-ink-soft); }
.tsb .ts-porder-foot { display: flex; justify-content: space-between; font-size: 14px; color: var(--tsb-ink-soft); padding-top: 8px; border-top: 1px dashed var(--tsb-line); }
.tsb .ts-porder-cancel { margin: 10px 0 0; text-align: right; font-size: 14px; }
.tsb .ts-porder-coming { border-left-color: var(--tsb-terra); } .tsb .ts-porder-coming .ts-porder-status { color: var(--tsb-terra); }
.tsb .ts-porder-waiting, .tsb .ts-porder-owed { border-left-color: #B0894F; } .tsb .ts-porder-waiting .ts-porder-status, .tsb .ts-porder-owed .ts-porder-status { color: #9A7337; }
.tsb .ts-porder-prepaid, .tsb .ts-porder-done { border-left-color: var(--tsb-matcha); } .tsb .ts-porder-prepaid .ts-porder-status, .tsb .ts-porder-done .ts-porder-status { color: var(--tsb-matcha); }
.tsb .ts-porder-done { opacity: .8; }
.tsb .ts-porder-cancelled { border-left-color: #C9C1B8; opacity: .6; } .tsb .ts-porder-cancelled .ts-porder-items { text-decoration: line-through; }
.tsb .ts-portal-cta { text-align: center; margin: 26px 0 0; }

/* Cancel an order */
.tsb .ts-cancel { max-width: 540px; margin: 0 auto; text-align: center; }
.tsb .ts-cancel-order, .tsb .ts-cancel-done { background: var(--tsb-paper); border: 1px solid var(--tsb-line); border-radius: var(--tsb-r); padding: 22px 24px; margin-bottom: 20px; text-align: left; box-shadow: var(--tsb-shadow); }
.tsb .ts-cancel-items { list-style: none; margin: 0 0 10px; padding: 0; }
.tsb .ts-cancel-total { font-weight: 700; color: var(--tsb-ink); }
.tsb .ts-cancel .ts-cancel-btn { background: var(--tsb-terra-800) !important; }

/* Policies */
.tsb .ts-policy { max-width: 720px; margin: 0 auto; }
.tsb .ts-policy h1 { font-size: clamp(38px, 5vw, 58px) !important; }
.tsb .ts-policy-updated { color: var(--tsb-ink-mute); font-size: 14.5px; font-style: italic; margin-bottom: 26px; }
.tsb .ts-policy h2 { font-size: 26px !important; margin: 34px 0 10px !important; padding-top: 22px; border-top: 2px dashed var(--tsb-line); }
.tsb .ts-policy h2:first-of-type { border-top: 0; padding-top: 0; }
.tsb .ts-policy p, .tsb .ts-policy li { font-size: 16.5px; line-height: 1.75; color: var(--tsb-ink-soft); }
.tsb .hentry .entry-content { max-width: 100%; }

/* Empty cart */
.tsb-empty-cart { max-width: 520px; margin: 10px auto 40px; text-align: center; }
.tsb-empty-cup { position: relative; width: 200px; height: 210px; margin: 0 auto 4px; }
.tsb-empty-cup .tsb-sun { position: absolute; width: 150%; left: -25%; top: -22%; opacity: .35; }
.tsb-empty-cup .tsb-cup { position: relative; width: 120px; margin: 0 auto; }
.tsb-cup.is-empty-cup .tsb-cup-liquid, .tsb-cup.is-empty-cup .tsb-cup-marble, .tsb-cup.is-empty-cup .tsb-cup-swirl { opacity: 0; }
.tsb-empty-cart h1, .tsb-empty-cart h2 { font-size: clamp(34px, 4.4vw, 48px) !important; margin: 10px 0 8px !important; }
.tsb-empty-cart p { margin: 0 0 22px; }
.tsb-empty-cart ~ .content-area .entry-header, .tsb-empty-cart ~ .content-area .wp-block-woocommerce-empty-cart-block { display: none !important; }
.tsb .wp-block-woocommerce-empty-cart-block .wp-block-separator,
.tsb .wp-block-woocommerce-empty-cart-block .wp-block-heading:not(.wc-block-cart__empty-cart__title),
.tsb .wp-block-woocommerce-empty-cart-block .wc-block-grid,
.tsb .wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new { display: none !important; }
.tsb .wc-block-cart__empty-cart__title { font-family: var(--tsb-serif) !important; color: var(--tsb-ink) !important; }

/* ------------------------------------------------------- 13 shop notices */
.tsb .woocommerce-message, .tsb .woocommerce-info, .tsb .woocommerce-error, .tsb .wc-block-components-notice-banner {
	border-radius: 16px !important; border: 1px solid var(--tsb-line) !important; background: var(--tsb-paper) !important;
	color: var(--tsb-ink) !important; box-shadow: var(--tsb-shadow);
}
.tsb .woocommerce-message { border-left: 5px solid #4C9A4A !important; }
.tsb .woocommerce-message .button { border-radius: 999px !important; background: var(--tsb-terra) !important; color: #fff !important; }

/* ----------------------------------------------- 16 round 2 (2026-10-03)
   Rodo's notes: the logo's sun instead of the drawn ones (and moving, like a
   GIF), more talavera in the café's own colours — "don't overwhelm the page
   but add some spice" — and the printed menu's look on the Menu page. */

/* the logo's suns: images stacked; the rays turn, the bean stays upright */
@keyframes tsb-turn { to { rotate: 360deg; } }
@keyframes tsb-breathe { 50% { scale: 1.04; } }
.tsb-lsun { position: relative; display: block; aspect-ratio: 1; }
.tsb-lsun img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.tsb-lsun-rays { animation: tsb-turn 80s linear infinite, tsb-breathe 7s ease-in-out infinite; }
.tsb-lsun.is-left .tsb-lsun-rays, .tsb-lsun.is-right .tsb-lsun-rays { animation-duration: 110s, 7s; animation-direction: reverse, normal; }
/* the right sun is the left one, mirrored — its rays turn the mirror way */
.tsb-lsun.is-right { transform: scaleX(-1); }
.tsb-lsuns { display: inline-flex; align-items: center; justify-content: center; }
.tsb-lsuns .tsb-lsun.is-center { width: 180px; }
.tsb-lsuns .tsb-lsun.is-left, .tsb-lsuns .tsb-lsun.is-right { width: 102px; margin-top: 22px; }
.tsb-lsuns .tsb-lsun.is-left { margin-right: -10px; }
.tsb-lsuns .tsb-lsun.is-right { margin-left: -10px; }

/* header: the bean sun + the wordmark */
.tsb-logo { display: flex; align-items: center; gap: 4px; }
.tsb-logo .tsb-lsun.is-icon { width: 56px; overflow: hidden; border-radius: 50%; flex: none; }
.tsb-logo .tsb-lsun.is-icon img { inset: -16%; width: 132%; height: 132%; }
.tsb-logo:hover .tsb-lsun-rays { animation-duration: 8s, 7s; }
.tsb-logo img.tsb-logo-word { height: 36px; width: auto; }
@media (max-width: 980px) { .tsb-logo .tsb-lsun.is-icon { width: 46px; } .tsb-logo img.tsb-logo-word { height: 29px; } }
@media (max-width: 380px) { .tsb-logo .tsb-lsun.is-icon { display: none; } }

/* hero: the three suns over the three cups, the cups on a talavera ledge */
/* the suns sit fully ABOVE the cups, like the logo's row — the bean must show */
.tsb-hero-art { aspect-ratio: 1 / 1.1 !important; }
.tsb-hero-sunrow { position: absolute; left: 0; right: 0; top: 0; height: 50%; }
.tsb-hero-sunrow .tsb-lsuns { position: absolute; inset: 0; display: block; }
.tsb-hero-sunrow .tsb-lsun { position: absolute; margin: 0 !important; }
.tsb-hero-sunrow .tsb-lsun.is-center { width: 52%; left: 24%; top: -6%; }
.tsb-hero-sunrow .tsb-lsun.is-left { width: 33%; left: 1%; top: 12%; }
.tsb-hero-sunrow .tsb-lsun.is-right { width: 33%; right: 1%; top: 12%; }
.tsb-js .tsb-hero-sunrow .tsb-lsun { opacity: 0; translate: 0 26%; animation: tsb-sunrise2 1.7s var(--tsb-ease) forwards; }
.tsb-js .tsb-hero-sunrow .tsb-lsun.is-center { animation-delay: .2s; }
.tsb-js .tsb-hero-sunrow .tsb-lsun.is-left { animation-delay: .45s; }
.tsb-js .tsb-hero-sunrow .tsb-lsun.is-right { animation-delay: .6s; }
@keyframes tsb-sunrise2 { to { opacity: 1; translate: 0 0; } }
.tsb-hero-ledge { position: absolute; left: 2%; right: 2%; bottom: 0; height: 9.5%; border-radius: 6px; box-shadow: 0 16px 26px -16px rgba(62, 42, 30, .55); }
.tsb-hero-cups { bottom: 6.5% !important; height: 52% !important; }
.tsb-hero-cup.c1, .tsb-hero-cup.c3 { bottom: 0 !important; width: 25% !important; }
.tsb-hero-cup.c1 { left: 9% !important; } .tsb-hero-cup.c3 { right: 9% !important; }
.tsb-hero-cup.c2 { width: 31% !important; left: 34.5% !important; }
/* the two little labels sit in the open space between the suns and the cups */
.tsb-hero-tag.t1 { top: 45% !important; bottom: auto; left: -3% !important; }
.tsb-hero-tag.t2 { top: 47% !important; bottom: auto; right: -3% !important; }

/* a row of tiles: the ledge, the footer trim */
.tsb-tiles { background: url(../img/talavera/strip.svg) left center / auto 100% repeat-x; }

/* drink cards: a talavera backsplash behind each cup, softly faded */
.tsb-card-art { background: #FFF6EA !important; isolation: isolate; }
.tsb-card-art::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--tile) center / 116px repeat; opacity: .28; }
.tsb-card-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(58% 62% at 50% 62%, rgba(255, 249, 240, .96) 0, rgba(255, 249, 240, .78) 48%, rgba(255, 249, 240, 0) 78%); }
.tsb-card-price { white-space: normal; font-size: 15px; }
.tsb-card-price small { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--tsb-ink-mute); }
.tsb-card-price-sep { color: var(--tsb-line); margin: 0 5px; font-weight: 400; }

/* how it works: icons sit on a talavera tile */
.tsb-step-badge { width: 92px; height: 92px; border-radius: 20px; overflow: hidden; box-shadow: 0 14px 26px -16px rgba(62, 42, 30, .6); rotate: -3deg; }
.tsb-step:nth-child(3) .tsb-step-badge { rotate: 3deg; }
.tsb-step-badge .tsb-tile { position: absolute; inset: 0; width: 100%; height: 100%; }
.tsb-step-ico { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; background: #FFF9F0; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(62, 42, 30, .85); }
.tsb-step-ico .tsb-ico { width: 26px; height: 26px; color: var(--tsb-terra-700); stroke-width: 2; }

/* the dark story band: a whisper of tile line-art */
.tsb-story { position: relative; isolation: isolate; }
.tsb-story::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/talavera/lines.svg) center / 230px repeat; opacity: .07; }
.tsb-story-suns { margin: 18px 0 24px; }
.tsb-lsuns.is-small .tsb-lsun.is-center { width: 120px; }
.tsb-lsuns.is-small .tsb-lsun.is-left, .tsb-lsuns.is-small .tsb-lsun.is-right { width: 68px; margin-top: 16px; }

/* the pour, the closing band, the empty cart: the bean sun, faint */
.tsb-pour-cupwrap .tsb-lsun.is-faint { position: absolute; width: 160%; left: -30%; top: -16%; opacity: .3; }
.tsb-cta .tsb-lsun.is-cta { position: absolute; width: 620px; left: 50%; top: 100%; margin: -300px 0 0 -310px; opacity: .3; mix-blend-mode: multiply; }
.tsb-empty-cup .tsb-lsun { position: absolute; width: 170%; left: -35%; top: -32%; opacity: .28; }

/* section marks and the marquee: talavera flowers */
.tsb-flower { width: 1em; height: 1em; }
.tsb-flower .p1 { fill: var(--tsb-terra); } .tsb-flower .p2 { fill: var(--tsb-marigold); } .tsb-flower .c { fill: var(--tsb-ink); }
.tsb-marquee-item .tsb-flower { width: 26px; height: 26px; }
.tsb-marquee-item .tsb-flower .p1 { fill: #FFF4E8; } .tsb-marquee-item .tsb-flower .p2 { fill: var(--tsb-marigold-200); } .tsb-marquee-item .tsb-flower .c { fill: var(--tsb-terra-800); }

/* punch card: each stamp is a little logo sun */
.tsb-minisun .r path { fill: var(--tsb-terra); }
.tsb-minisun .d { fill: #D9884A; }
.tsb-minisun .ring { fill: none; stroke: #FFF4E4; stroke-width: 1.5; }
.tsb-minisun .b { fill: #4A2A14; }
.tsb-minisun .bc { fill: none; stroke: #FFEBD2; stroke-width: 1.4; stroke-linecap: round; }
.tsb-stamp svg.tsb-minisun { width: 92%; height: 92%; }
.tsb-stamp.is-free .tsb-minisun .r path { fill: var(--tsb-marigold); }
.tsb-stamp.is-free .tsb-minisun .d { fill: #F0B65C; }
.tsb-punchcard .tsb-tile { position: absolute; width: 54px; height: 54px; }

/* the cup's kraft sticker carries a coffee bean now */
.tsb-cup-bean ellipse { fill: #5A3520; }
.tsb-cup-bean path { fill: none; stroke: #F6E2C6; stroke-width: 2.2; stroke-linecap: round; }

/* the script, Italianno (like the printed menu), runs a little small: sizes up */
.tsb-hero-script { font-size: clamp(42px, 4.6vw, 60px) !important; transform: rotate(-2deg) !important; }
.tsb-polaroid figcaption { font-size: 27px !important; }
.tsb-wall .tsb-polaroid figcaption { font-size: 25px !important; }
.tsb-footer-brand .tsb-script { font-size: 38px !important; }
.tsb-story-sign { font-size: 50px !important; }
.tsb-cta .tsb-script, .tsb-script--menu { font-size: clamp(44px, 4.4vw, 56px) !important; }
.tsb-script--menu { line-height: .9 !important; margin: 0 0 -6px !important; }
.tsb-menu-hero .tsb-h2 { margin-top: 0 !important; }
.tsb-story-hero-script { font-size: clamp(42px, 4.4vw, 58px) !important; }
.tsb-story-text .ts-about-body p:last-child { font-size: 38px !important; }
.tsb-punchcard-foot { font-size: 32px !important; }
.ts-hol-card strong { font-family: "Yellowtail", cursive !important; }

/* footer: a talavera trim along the top, and the full logo */
.tsb-footer-tiles { height: 44px; border-bottom: 4px solid var(--tsb-terra); }
.tsb-footer .tsb-edge { display: none; }
.tsb-footer-brand img.tsb-footer-logo { width: min(250px, 100%); margin: -6px 0 2px -6px; }

/* the drink page: the cup on a counter in front of a tiled wall */
.tsb-stage { background: #FFF6EA !important; padding: 44px 30px 26px !important; }
.tsb-stage-wall { position: absolute; inset: 0 0 30% 0; z-index: -2; background: url(../img/talavera/pattern-flor.svg) center top / 132px repeat; opacity: .5; }
.tsb-stage.is-matcha .tsb-stage-wall { background-image: url(../img/talavera/pattern-hojas.svg); }
.tsb-stage-wall::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 246, 234, 0) 55%, rgba(255, 246, 234, .9)); }
.tsb-stage-counter { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: -1;
	background: linear-gradient(#E9CFAF, #F3E2CC 40%, #F8EBDA); border-top: 5px solid #C9A27A; box-shadow: 0 -6px 14px -8px rgba(62, 42, 30, .35) inset; }
.tsb-stage-cup { position: relative; }
.tsb-stage-caption { position: relative; }

/* the menu: Karla's printed menu, live.
   Fonts match her menu: Tenor Sans ("FALL MENU"), Moon Dance (the script
   headings), EB Garamond (drinks and prices — her menu's own face). */
.tsb-board { position: relative; max-width: 900px; margin: 12px auto 70px; padding: clamp(46px, 6vw, 72px) clamp(22px, 6.5vw, 84px) clamp(36px, 5vw, 56px);
	background: #FEF8F3; border-radius: 4px; box-shadow: 0 34px 64px -34px rgba(62, 42, 30, .5), 0 0 0 1px var(--tsb-line); color: #3B2010; }
.tsb-board-text { position: relative; z-index: 1; }
.tsb-board-corner { position: absolute; width: clamp(48px, 7vw, 70px); height: auto; border-radius: 4px; box-shadow: 0 8px 16px -8px rgba(62, 42, 30, .5); }
.tsb-board-corner.c1 { top: -14px; left: -14px; rotate: -6deg; }
.tsb-board-corner.c2 { top: -14px; right: -14px; rotate: 5deg; }
.tsb-board-corner.c3 { bottom: -14px; left: -14px; rotate: 4deg; }
.tsb-board-corner.c4 { bottom: -14px; right: -14px; rotate: -5deg; }
.tsb .tsb-board-title { text-align: center; font: 400 clamp(34px, 5vw, 60px)/1.05 "Tenor Sans", var(--tsb-sans) !important; letter-spacing: .03em !important; text-transform: uppercase; color: #3B2010 !important; margin: 0 0 clamp(26px, 4vw, 46px) !important; font-variation-settings: normal !important; }
.tsb-board-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 18px; flex-wrap: wrap; margin: 6px 0 6px; }
.tsb .tsb-board-script { font: 400 clamp(54px, 7vw, 84px)/.9 "Moon Dance", var(--tsb-script) !important; color: #3B2010 !important; margin: 0 !important; letter-spacing: 0 !important; font-variation-settings: normal !important; }
.tsb-board-cols { display: grid; grid-template-columns: 90px 12px 90px; align-items: baseline; text-align: center; font: 700 20px/1 "EB Garamond", var(--tsb-serif); color: #3B2010; padding-bottom: 8px; margin-left: auto; }
.tsb-board-cols span { white-space: nowrap; }
.tsb-board-list { list-style: none; margin: 4px 0 6px; padding: 0; }
.tsb-board-list li a, .tsb-board-list.is-extras li { display: grid; grid-template-columns: auto 1fr 90px 12px 90px; align-items: baseline; padding: 5px 0; color: #3B2010 !important; text-decoration: none !important; }
.tsb-board-list.is-extras li.is-plain { display: block; padding: 3px 0; }
.tsb-board-name { display: block; font: 400 25px/1.3 "EB Garamond", var(--tsb-serif); padding-right: 10px; }
.tsb-board-name sup { font-size: 17px; margin-left: 1px; }
.tsb-board-name .tsb-leaf { display: inline-block; width: 15px; height: 15px; vertical-align: 0; margin-left: 8px; }
.tsb-board-dots { align-self: end; margin-bottom: 9px; border-bottom: 2px dotted rgba(59, 32, 16, .16); }
.tsb-board-p { font: 400 25px/1 "EB Garamond", var(--tsb-serif); text-align: center; }
.tsb-board-list li a .tsb-board-p:last-child, .tsb-board-list.is-extras li .tsb-board-p:last-child { grid-column: 5; }
.tsb-board-list li a { transition: color .2s; }
.tsb-board-list li a:hover { color: var(--tsb-terra-700) !important; }
.tsb-board-list li a:hover .tsb-board-dots { border-color: var(--tsb-terra); }
.tsb-board-extras .tsb-board-name { font-size: 24px; }
.tsb-board-extras strong { font-weight: 700; }
.tsb-board-sprig { display: block; width: 130px; margin: 16px auto 4px; }
.tsb-board-sprig-img { display: block; width: clamp(150px, 22%, 210px); margin: 10px auto 2px; }
.tsb-board-notes { margin-top: 20px; font: 700 15px/1.5 Arial, "Helvetica Neue", var(--tsb-sans); color: #1E140C; }
.tsb-board-notes p { margin: 0 0 3px; }
.tsb-board-notes span { font-weight: 400; color: var(--tsb-ink-soft); }
.tsb-board-milk { font-weight: 400 !important; color: var(--tsb-ink-soft); }
.tsb-board-legend { display: inline-flex; align-items: center; gap: 6px; font-weight: 400 !important; color: var(--tsb-ink-soft); }
.tsb-board-group.is-matcha .tsb-board-script { color: #55642E !important; }
.tsb-board-print { position: absolute; z-index: 2; right: 18px; bottom: -54px; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none;
	font: 600 14px/1 var(--tsb-sans); color: var(--tsb-ink-mute); cursor: pointer; padding: 8px 10px; border-radius: 10px; }
.tsb-board-print:hover { color: var(--tsb-terra-700); background: rgba(62, 42, 30, .06); }
.tsb-board-print .tsb-ico { width: 18px; height: 18px; }

/* the menu board, fall: Karla's watercolours, placed as on her printed menu.
   Side paintings are positioned in % of the board, so they spread along
   however long the menu is. */
.tsb-board.is-fall { max-width: 1040px; padding: clamp(150px, 15vw, 172px) 20.5% 150px; border-radius: 2px; overflow: hidden; }
.tsb-board-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tsb-art { position: absolute; height: auto; max-width: none; }
.tsb-art.is-narrow { display: none; }
.tsb-art-corner-l { left: 0; top: 0; width: 37.6%; }
.tsb-art-corner-r { right: 0; top: 0; width: 37.6%; }
.tsb-art-l1 { left: 2.8%; top: 47%; width: 10.5%; }
.tsb-art-l2 { left: 4%; top: 60%; width: 6.9%; }
.tsb-art-l3 { left: 2.7%; top: 72%; width: 9.4%; }
.tsb-art-l4 { left: 4.2%; top: 83%; width: 9.9%; }
.tsb-art-r1 { right: 4.5%; top: 43%; width: 8.1%; }
.tsb-art-r2 { right: 3.8%; top: 58%; width: 8.5%; }
.tsb-art-r3 { right: 3.1%; top: 70%; width: 10.9%; }
.tsb-art-r4 { right: 6.1%; top: 81%; width: 7.8%; }
.tsb-art-branch { left: 50%; bottom: 0; width: 28.7%; transform: translateX(-50%); }
/* a breath of wind through the side leaves */
@keyframes tsb-leaf-breeze { 0%, 100% { rotate: -2.5deg; } 50% { rotate: 2.5deg; } }
.tsb-art-l1, .tsb-art-l3, .tsb-art-r1, .tsb-art-r2 { transform-origin: 50% 0; animation: tsb-leaf-breeze 6s ease-in-out infinite; }
.tsb-art-l3 { animation-delay: -2s; } .tsb-art-r1 { animation-delay: -3.5s; } .tsb-art-r2 { animation-delay: -1.2s; }
@media (max-width: 860px) {
	.tsb-board.is-fall { padding: 26vw 6% 30vw; }
	.tsb-art.is-wide { display: none; }
	.tsb-art.is-narrow { display: block; }
	.tsb-art-vine-l { left: 0; top: 0; width: 46%; }
	.tsb-art-vine-r { right: 0; top: 0; width: 46%; }
	.tsb-art-pk-l { left: 0; bottom: 0; width: 24%; }
	.tsb-art-pk-r { right: 0; bottom: 0; width: 22%; }
	.tsb-art-branch { width: 44%; bottom: 2px; }
	.tsb-board.is-fall .tsb-board-title { margin-top: -4vw !important; }
}
@media (max-width: 640px) {
	.tsb-board-cols { grid-template-columns: 58px 8px 58px; font-size: 13px; }
	.tsb-board-list li a, .tsb-board-list.is-extras li { grid-template-columns: auto 1fr 58px 8px 58px; }
	.tsb-board-name, .tsb-board-p { font-size: 17.5px; }
	.tsb-board-extras .tsb-board-name { font-size: 17px; }
	.tsb-board-name .tsb-leaf { margin-left: 5px; width: 13px; height: 13px; }
	.tsb-board-corner { display: none; }
	.tsb .tsb-board-script { font-size: 46px !important; }
	.tsb-card-price .tsb-wd { display: none; }
	.tsb-board-print { bottom: -50px; right: 50%; transform: translateX(50%); }
}
.tsb-menu-shelf-head.is-center { justify-content: center; }
.tsb-menu-shelf-head.is-center::after { content: none; }
.tsb-menu-group { margin-bottom: 46px; }
.tsb .tsb-group-title { font-size: clamp(50px, 5.6vw, 70px) !important; margin: 0 0 14px !important; }
.tsb-menu-group.is-matcha .tsb-group-title { color: var(--tsb-matcha) !important; }

@media (prefers-reduced-motion: reduce) {
	.tsb-lsun-rays { animation: none !important; }
	.tsb-js .tsb-hero-sunrow .tsb-lsun { opacity: 1; translate: none; }
}

/* the falling leaves' canvas: above the page, never in the way of a tap */
.tsb-fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 950; }

/* ----------------------------------------------- 17 the two looks (round 3)
   body.tsb-look-painted  watercolour: painted cups, painted suns, no tiles
   body.tsb-look-tile     flyer: talavera tiles, papel picado, flat cups   */

/* flat cups (tile look): plain shapes, no outlines */
.tsb-flat .tsb-flat-glass { fill: rgba(255, 255, 255, .6); }
.tsb-flat .tsb-cup-ice rect { fill: rgba(255, 255, 255, .3); stroke: none; }
.tsb-flat .tsb-flat-shine { fill: rgba(255, 255, 255, .34); }
.tsb-flat .tsb-flat-sticker { fill: #C9A27A; }
.tsb-flat .tsb-flat-sun circle, .tsb-flat .tsb-flat-sun rect { fill: #5A3520; }
.tsb-flat .tsb-flat-lid { fill: #E6DED3; }
.tsb-flat .tsb-flat-lidtop { fill: #F4EFE8; }
.tsb-flat .tsb-cup-shadow { fill: rgba(62, 42, 30, .14); }
.tsb-flat .tsb-cup-marble { display: none; }

/* painted cups */
.tsb-painted { display: block; position: relative; transition: transform .6s var(--tsb-spring); }
.tsb-painted img { display: block; width: 100%; height: auto; }
.tsb-painted.is-large { transform: scale(1.06); transform-origin: 50% 100%; }
.tsb-look-painted .tsb-card-cup { width: 152px; }
.tsb-look-painted .tsb-menu .tsb-card-cup { width: 158px; }
/* room above the rim: the painted cups are taller than the old drawings */
.tsb-look-painted .tsb-card-art { height: 256px; }
@media (min-width: 1000px) { .tsb-look-painted .tsb-menu .tsb-card-art { height: 280px; } }
@media (max-width: 600px) {
	.tsb-look-painted .tsb-menu .tsb-card .tsb-card-art { height: auto; min-height: 150px; place-items: center; }
	.tsb-look-painted .tsb-menu .tsb-card .tsb-card-cup { width: 96px; margin: 0; }
}
.tsb-pour-painted .ghost { opacity: .14; filter: grayscale(.5); }
.tsb-pour-painted .fill { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--fill, 0)) * 100%) 0 0 0); }

/* painted look: no tiles, soft washes instead */
.tsb-look-painted .tsb-hero-ledge { display: none; }
.tsb-look-painted .tsb-hero-cups::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -3%; height: 14%; z-index: -1;
	background: radial-gradient(closest-side, rgba(164, 77, 34, .16), rgba(164, 77, 34, 0)); }
.tsb-look-painted .tsb-card-art::before { display: none; }
.tsb-look-painted .tsb-card-art { background: radial-gradient(70% 60% at 50% 72%, color-mix(in srgb, var(--card-tint, #E8A03C) 26%, #FFF6EA), #FFF8EF 72%) !important; }
.tsb-look-painted .tsb-card-art::after { display: none; }
.tsb-look-painted .tsb-footer-tiles { display: none; }
.tsb-look-painted .tsb-story::before { display: none; }
.tsb-look-painted .tsb-stage-wall { background: radial-gradient(60% 55% at 50% 40%, rgba(232, 160, 60, .22), rgba(255, 246, 234, 0) 72%); opacity: 1; }
.tsb-look-painted .tsb-stage-wall::after { display: none; }
/* the tile look's matcha leaf tiles (above) outranked the line before, so they
   showed through the see-through matcha cups (Rodo 2026-10-20) */
.tsb-look-painted .tsb-stage.is-matcha .tsb-stage-wall { background: radial-gradient(60% 55% at 50% 40%, rgba(168, 185, 138, .30), rgba(247, 248, 236, 0) 72%); }
.tsb-look-painted .tsb-kicker::before { background: center / contain no-repeat url(../img/brand/sun-icon.webp); width: 26px; height: 26px; }
.tsb-look-painted .tsb-marquee { background: #F4E3CF; color: var(--tsb-terra-800); box-shadow: none; }
.tsb-mq-sun { width: 32px; height: 32px; }
.tsb-step-num { display: none; }
.tsb-look-painted .tsb-step-badge { background: none; box-shadow: none; rotate: 0deg !important; overflow: visible; width: 110px; height: 96px; }
.tsb-look-painted .tsb-step-badge .tsb-tile, .tsb-look-painted .tsb-step-ico { display: none; }
.tsb-look-painted .tsb-step-badge::before { content: ""; position: absolute; inset: 4px 12px; border-radius: 50%;
	background: radial-gradient(circle at 42% 40%, rgba(232, 160, 60, .42), rgba(232, 160, 60, .14) 58%, rgba(232, 160, 60, 0) 72%); }
.tsb-look-painted .tsb-step-num { display: block; position: relative; font: 400 92px/1 "Moon Dance", var(--tsb-script); color: var(--tsb-terra-700); margin-top: 6px; }
.tsb-stamp-sun { width: 90%; height: 90%; opacity: 0; transform: scale(1.8) rotate(-30deg); transition: opacity .35s, transform .5s var(--tsb-spring); }
.tsb-stamp.is-stamped .tsb-stamp-sun { opacity: 1; transform: none; }
.tsb-stamp.is-free .tsb-stamp-sun { filter: saturate(1.2) brightness(1.08); }
.tsb-look-painted .tsb-stamp { border-style: dashed; }

/* Painted cups are see-through, like real watercolor: anything with an edge
   drawn BEHIND one shows through it. Rodo spotted the drink page's countertop
   line cutting across the cup (2026-10-03). So behind painted cups there are
   only soft glows and shadows — no lines, no suns. */
.tsb-look-painted .tsb-stage-counter {
	border-top: 0; box-shadow: none; left: 15%; right: 15%; bottom: 6%; height: 16%;
	background: radial-gradient(closest-side, rgba(120, 72, 40, .18), rgba(120, 72, 40, 0));
}
.tsb-look-painted .tsb-pour-cupwrap .tsb-lsun { display: none; }
.tsb-look-painted .tsb-pour-cupwrap::before {
	content: ""; position: absolute; inset: -18% -40% -10%; z-index: -1;
	background: radial-gradient(closest-side, rgba(232, 160, 60, .26), rgba(232, 160, 60, 0));
}
.tsb-look-painted .tsb-pour-cupwrap { isolation: isolate; }

/* tile look: the menu board's divider is a row of talavera flowers */
.tsb-board-flower { display: flex; justify-content: center; gap: 12px; margin: 16px 0 4px; }
.tsb-board-flower .tsb-flower { width: 18px; height: 18px; }

/* ----------------------------------------- 18 pre-launch polish (2026-10-03)
   From the full audit before going live (every page, PC + phone + tablet, EN + ES)
   and Rodo: "check things are overlapping or designs that might touch". */

/* Headings break into even lines ("Three suns. / Three sons." not a lone word);
   paragraphs avoid a single word on the last line. Browsers without it ignore it. */
.tsb h1, .tsb h2, .tsb h3, .tsb .tsb-h2, .tsb .entry-title, .tsb .ts-menu-title, .tsb .tsb-step h3 { text-wrap: balance; }
.tsb p, .tsb li, .tsb blockquote, .tsb figcaption { text-wrap: pretty; }

/* Plain pages (privacy, ordering terms, refunds, cancel an order, account) show their
   title again — it was hidden everywhere, so they started with "Last updated".
   Pages that print their own big title (contact, reviews, punch card) still hide it. */
.tsb .hentry .entry-header { display: block; text-align: center; max-width: 860px; margin: 0 auto clamp(28px, 4vw, 44px); }
.tsb:not(.woocommerce-cart):not(.woocommerce-checkout) .hentry .entry-header::before {
	content: "Tres Soles Café"; display: block; margin-bottom: 14px;
	font: 700 12.5px/1 var(--tsb-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--tsb-terra);
}
.tsb:not(.woocommerce-cart):not(.woocommerce-checkout) .hentry .entry-title { font-size: clamp(38px, 5vw, 60px) !important; margin: 0 !important; }
.tsb .hentry:has(.entry-content h1) .entry-header { display: none; }

/* Our Story: the page text ended with an unstyled dark "See the menu" box right above
   the orange band's own "See the menu" — one is enough. */
.tsb-story-text .ts-about-cta { display: none; }

/* Photo collages: the earlier photo sits on top, so every caption stays readable
   ("Made by hand" and "Matcha, no espresso" were covered by the next photo). */
.tsb-story-photos .p1 { z-index: 2; }
.tsb-story-photos .p2 { z-index: 1; }
.tsb-story-stack .s1 { z-index: 3; }
.tsb-story-stack .s2 { z-index: 2; }
.tsb-story-stack .s3 { z-index: 1; }
@media (min-width: 901px) {
	.tsb-wall .tsb-polaroid { width: clamp(172px, 15.5vw, 212px); margin: 0 -5px; }
}

/* Card prices: "Lg 20oz $7.50" never splits; on narrow cards the words Med / Lg go
   so both sizes fit on one line. */
.tsb-card-price .tsb-pp { white-space: nowrap; }
.tsb-card-top { container-type: inline-size; }
@container (max-width: 250px) {
	.tsb-card-price .tsb-wd { display: none; }
}

/* Open / closed pills break evenly ("Closed — opens tomorrow / at 7:30 am"). */
.tsb-status { text-wrap: balance; }

/* Footer: the hours column gets the room for "Thursday – Sunday  7:30 am – 5:00 pm". */
@media (min-width: 981px) {
	.tsb-footer-in { grid-template-columns: 1.2fr 1.4fr 1fr 1.1fr; gap: 36px; }
}

/* The orange "Ready when you are" band: the sun rises behind the button, never
   behind the words, and its dotted line no longer floats above "¿Un cafecito?". */
.tsb-cta { --cta-pb: clamp(70px, 9vw, 110px); --cta-sun: clamp(380px, 44vw, 600px); padding-bottom: var(--cta-pb); }
.tsb-cta .tsb-lsun.is-cta {
	width: var(--cta-sun); height: var(--cta-sun);
	margin: calc(-1 * (var(--cta-pb) + 42px + var(--cta-sun) * .13)) 0 0 calc(var(--cta-sun) / -2);
}
.tsb-cta .tsb-lsun.is-cta .tsb-lsun-still { clip-path: inset(12% 0 0 0); }

/* Contact: "Say hello" had no room after the map's last line. */
.tsb .entry-content .ts-contact { margin-top: clamp(56px, 8vw, 96px); }

/* The map's reset button: the ↺ character drew as a stray hook — a real icon instead. */
.tsb #ts-map-reset { font-size: 0 !important; display: inline-grid; place-items: center; }
.tsb #ts-map-reset::before {
	content: ""; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 2.6-6.4L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 2.6-6.4L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Bigger tap areas on phones for small text links — same look, easier to hit. */
@media (pointer: coarse) {
	.tsb .tsb-link-arrow { padding-block: 12px; margin-block: -12px; }
	.tsb .tsb-footer-legal a { display: inline-block; padding: 12px 4px; margin: -12px -4px; }
}

/* Checkout: the pickup buttons sat right against the allergy checkbox; the
   "Pay in person" box had a dark line on two sides only. */
.tsb .ts-pux-row { margin-top: 18px !important; }
.tsb .wc-block-components-radio-control-accordion-option,
.tsb .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option { box-shadow: none !important; }
.tsb .wc-block-components-radio-control-accordion-option { border: 1.5px solid var(--tsb-line) !important; overflow: hidden; }
.tsb .wc-block-components-radio-control-accordion-option--checked-option-highlighted { border-color: #C9A98A !important; }

/* The moving ribbon of drink names: each little sun overlapped the next name (Rodo's phone, 20:20).
   The browser squeezed the items to their narrowest and counted the sun picture as 0 px wide
   (an image with max-width:100% inside a shrinking flex row), so the sun slid onto the next word.
   The track now takes its full natural width and nothing in it shrinks. */
.tsb-marquee-track { width: max-content; }
.tsb-marquee-item { flex: none; white-space: nowrap; }
.tsb-marquee-item img, .tsb-marquee-item svg { flex: none; max-width: none; }

/* "1 2 3" steps: the script numbers rode low in their circles (measured 6–9 px; Rodo, 22:29),
   and the circle's glow was brightest up-left, which made them look even more off. */
.tsb-look-painted .tsb-step-num { transform: translate(2px, -7px); }
.tsb-look-painted .tsb-step:nth-of-type(1) .tsb-step-num { transform: translate(2px, -9px); }
.tsb-look-painted .tsb-step-badge::before {
	background: radial-gradient(circle at 50% 50%, rgba(232, 160, 60, .40), rgba(232, 160, 60, .14) 58%, rgba(232, 160, 60, 0) 72%);
}

/* "Out today" (tres-soles-out-today.php): a rubber stamp, the drink greyed but still on the menu. */
.tsb-out-stamp {
	position: absolute; z-index: 3; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(-9deg);
	padding: 6px 14px 5px; border: 3px double rgba(164, 77, 34, .85); border-radius: 8px;
	font: 800 15px/1 var(--tsb-sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
	color: rgba(164, 77, 34, .92); background: rgba(255, 250, 243, .82); box-shadow: 0 6px 16px -10px rgba(62, 42, 30, .6);
}
.tsb-out-stamp.is-inline { position: static; display: inline-block; transform: rotate(-4deg); margin: 2px 0 8px; }
.tsb-card.is-out .tsb-card-cup, .tsb-card.is-out .tsb-card-art img { filter: grayscale(.85); opacity: .55; }
.tsb-card.is-out h3, .tsb-card.is-out .tsb-card-price, .tsb-card.is-out .tsb-card-desc { opacity: .6; }
.tsb-card.is-out .tsb-btn { background: transparent !important; color: var(--tsb-terra-700) !important; border: 1.5px dashed rgba(164, 77, 34, .5) !important; box-shadow: none !important; }
.tsb-card-art { position: relative; }
.tsb-board-list li.is-out .tsb-board-name, .tsb-board-list li.is-out .tsb-board-p { opacity: .45; text-decoration: line-through; text-decoration-thickness: 1px; }
.tsb-board-out { display: inline-block; margin-left: 8px; font: 700 11px/1 var(--tsb-sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase;
	color: #A44D22; border: 1.5px solid rgba(164, 77, 34, .6); border-radius: 4px; padding: 3px 5px 2px; transform: rotate(-4deg); text-decoration: none; opacity: 1; vertical-align: 3px; }
.tsb-board-list li.is-out .tsb-board-name .tsb-board-out { opacity: 1; text-decoration: none; }
.tsb-out-note { background: #FFF4E6; border: 1px solid #F0D2B0; border-radius: 16px; padding: 12px 16px 6px; margin: 4px 0 16px; }
.tsb-out-note p { margin: 0 0 8px; color: var(--tsb-ink-soft); }
.tsb .tawcvs-swatches .swatch.ts-out-today { position: relative; opacity: .5; text-decoration: line-through; pointer-events: none; }
.tsb .tawcvs-swatches .swatch.ts-out-today::after {
	content: "out today"; position: absolute !important; left: 50%; top: -9px; transform: translateX(-50%) rotate(-4deg);
	font: 800 9px/1 var(--tsb-sans); letter-spacing: .1em; text-transform: uppercase; color: #A44D22; background: #FFF4E6;
	border: 1px solid rgba(164, 77, 34, .5); border-radius: 4px; padding: 2px 4px; display: block !important; width: auto !important; height: auto !important;
}
html[lang="es"] .tsb .tawcvs-swatches .swatch.ts-out-today::after { content: "agotado"; }

/* Empty cart: a little air between the header and the sun. */
.tsb-empty-cart { margin-top: clamp(26px, 5vw, 46px); }

/* Page not found (404.php): the empty-cart panel's look, a script hello, two ways on. */
.tsb-404 { padding: clamp(10px, 3vw, 30px) 0 clamp(40px, 6vw, 80px); }
.tsb-404 h1 { font-size: clamp(34px, 4.4vw, 50px) !important; margin: 4px 0 10px !important; }
.tsb-404-script { font-size: clamp(40px, 4.4vw, 52px) !important; color: var(--tsb-terra) !important; margin: 0 !important; line-height: 1 !important; }
.tsb-404-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

/* ------------------------------------------------------- 14 motion off */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.tsb *, .tsb *::before, .tsb *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.tsb-js [data-reveal] { opacity: 1; transform: none; }
	.tsb-marquee-track { animation: none !important; }
	.tsb-pour { height: auto; }
	.tsb-pour-stage { position: relative; height: auto; padding-top: 60px; padding-bottom: 60px; }
	.tsb-pour-step { position: relative !important; opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------- 15 print */
@media print {
	.tsb-header, .tsb-drawer, .tsb-footer, .ts-hours-bar, .tsb-marquee, .tsb-fx, .tsb-pill, .ts-hol, .tsb-skip { display: none !important; }
	/* the Menu page prints as Karla's menu: the board alone, one page */
	.page-template-default.tsb-menu-print, body.tsb .tsb-menu-hero, body.tsb .tsb-menu-tools, body.tsb #order, body.tsb .tsb-menu-notes, body.tsb .tsb-board-print { display: none !important; }
	body.tsb { background: #fff !important; }
	body.tsb .tsb-board { box-shadow: none !important; margin: 0 auto !important; max-width: none !important; width: 100% !important; break-inside: avoid; }
	body.tsb .tsb-board-list li a .tsb-board-dots { border-color: rgba(0, 0, 0, .15); }
	@page { size: letter; margin: 0.25in; }
}
