/*
 * One coffee as one drink (TC_Product_Page, templates/product/page.php).
 *
 * The tokens are home.css's, hung on .tc-cards, which the page's <article>
 * carries, so the page and its cards read in one palette. Every rule is under
 * #tapper-cafe-app .tc-product: storefront.css styles bare elements inside
 * the app at (0,1,1) -- h2 at 28px among them -- and this has to win.
 *
 * One column on a phone. From 48em, two: the photo and "Also available as" on the
 * left, held while the right column scrolls.
 */

/*
 * No gap over the page: .site-content's own top padding (20px on a roaster
 * page, storefront.css) and the app's 8px are air enough above the back link.
 */
body.tc-product-page .site-content {
	padding-top: 0;
}

#tapper-cafe-app .tc-product {
	max-width: var(--tc-measure, 68rem);
	margin: 0 auto;
	padding: 0 0 6rem;
	color: var(--tc-body);
	font-family: var(--tc-home-display);
	font-size: 0.9375rem;
	line-height: 1.5;
}

/*
 * Links take the text's colour unless a rule below says otherwise. :where()
 * keeps this at (1,1,0), under every named link rule here -- at (1,1,1) it
 * painted the cart bar's white button in the bar's own white.
 */
#tapper-cafe-app .tc-product :where(a) {
	color: inherit;
}

/*
 * "How do you brew?": every brewer this roast is sold for, the same chip as
 * the roasts and packs, but a link -- each is its own address, with its own
 * recipe (owner, 2026-10-01). The one on the page is ticked; the visitor's
 * own remembered brewer, where it is another, carries a dot (product.js).
 */
#tapper-cafe-app .tc-product__brewers ul.tc-product__chips {
	margin: 0;
	padding: 0;
	list-style: none;
}

#tapper-cafe-app .tc-product__chip--brew a {
	display: flex;
	flex-direction: column;
	gap: 0.05rem;
	justify-content: center;
	height: 100%;
	padding: 0.35rem 0.55rem;
	border: 1.5px solid var(--tc-line);
	border-radius: 10px;
	background: var(--tc-cream);
	color: var(--tc-ink);
	line-height: 1.25;
	text-decoration: none;
}

#tapper-cafe-app .tc-product__chip--brew a > * {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#tapper-cafe-app .tc-product__chip--brew a b {
	color: var(--tc-ink);
	font-size: 0.8125rem;
	font-weight: 600;
}

#tapper-cafe-app .tc-product__chip--brew a small {
	color: var(--tc-muted);
	font-size: 0.6875rem;
}

#tapper-cafe-app .tc-product__chip--brew a:hover {
	border-color: var(--tc-green);
}

#tapper-cafe-app .tc-product__chip--brew a:focus-visible {
	outline: 2px solid var(--tc-green);
	outline-offset: 2px;
}

#tapper-cafe-app .tc-product__chip--brew.is-on a {
	border-color: var(--tc-green);
	background: var(--tc-green-soft);
}

#tapper-cafe-app .tc-product__chip--brew.is-yours a b::before {
	content: "";
	display: inline-block;
	width: 0.4rem;
	height: 0.4rem;
	margin-right: 0.3rem;
	border-radius: 50%;
	background: var(--tc-green);
	vertical-align: middle;
}

#tapper-cafe-app .tc-product__brew-unsure {
	display: inline-block;
	margin-top: 0.5rem;
	color: var(--tc-green);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

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

#tapper-cafe-app .tc-product__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas:
		"media"
		"head"
		"buy"
		"details"
		"reviews";
	gap: 1.125rem;
}

/* On a phone the top box and the side column flatten, and their parts go where the areas put them. */
#tapper-cafe-app .tc-product__top { display: contents; }
#tapper-cafe-app .tc-product__side { display: contents; }
#tapper-cafe-app .tc-product__pics { grid-area: media; min-width: 0; }
#tapper-cafe-app .tc-product__head { grid-area: head; }
#tapper-cafe-app .tc-product__buy { grid-area: buy; }
#tapper-cafe-app .tc-product__details { grid-area: details; min-width: 0; }
#tapper-cafe-app .tc-product__reviews { grid-area: reviews; min-width: 0; }

@media (min-width: 48em) {
	/* The top box, then the details and reviews full width under it (owner, 2026-10-07). */
	#tapper-cafe-app .tc-product__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"top"
			"details"
			"reviews";
		gap: 2rem;
	}

	/*
	 * The photo beside the head and the buy box. The photo's sticky hold ends
	 * with this box, so it never rides over the tabs below.
	 */
	#tapper-cafe-app .tc-product__top {
		display: grid;
		grid-area: top;
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		grid-template-areas:
			"side head"
			"side buy";
		align-items: start;
		gap: 1.125rem 3rem;
	}

	#tapper-cafe-app .tc-product__side {
		display: flex;
		flex-direction: column;
		gap: 1.125rem;
		grid-area: side;
		/*
		 * Held under Motta's fixed header, not behind it: --tc-sticky-top is
		 * that header's height while it is pinned, measured by storefront.js
		 * (syncStickyTop()), and 0 while it is away.
		 */
		position: sticky;
		top: calc(var(--tc-sticky-top, 0px) + 1rem);
	}
}

#tapper-cafe-app .tc-product__h2 {
	margin: 0 0 0.5rem;
	color: var(--tc-ink);
	font-family: var(--tc-home-display);
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
}

/* ------------------------------------------------------------ the photo */

#tapper-cafe-app .tc-product__media {
	position: relative;
	aspect-ratio: 1;
	max-width: 100%;
	overflow: hidden;
	border-radius: var(--tc-radius);
	background: var(--tc-roast);
}

#tapper-cafe-app .tc-product__img,
#tapper-cafe-app .tc-product__tile {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#tapper-cafe-app .tc-product__tile {
	display: grid;
	place-items: center;
	background: var(--tc-roast);
	color: rgba(255, 253, 248, 0.85);
	font-size: 4rem;
	font-weight: 600;
}

/* The roast's other photos, under the big one. */
#tapper-cafe-app .tc-product__thumbs {
	display: flex;
	gap: 0.5rem;
	margin: 0.6rem 0 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
}

#tapper-cafe-app .tc-product__thumbs li {
	flex: 0 0 auto;
	margin: 0;
}

/*
 * A button, so every theme button rule is undone: the theme gives a bare
 * button a 160px min-width, a 60px line-height, padding and a hover fill.
 */
#tapper-cafe-app .tc-product__thumb,
#tapper-cafe-app .tc-product__thumb:hover,
#tapper-cafe-app .tc-product__thumb:focus,
#tapper-cafe-app .tc-product__thumb:active {
	display: block;
	width: 64px;
	min-width: 0;
	height: 64px;
	margin: 0;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: var(--tc-radius-sm, 8px);
	background: none;
	box-shadow: none;
	color: inherit;
	font: inherit;
	line-height: 0;
	text-transform: none;
	opacity: 0.7;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

#tapper-cafe-app .tc-product__thumb[aria-pressed="true"] {
	border-color: currentColor;
	opacity: 1;
}

#tapper-cafe-app .tc-product__thumb:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

#tapper-cafe-app .tc-product__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*
 * A phone's thumbnails are dots under the photo (owner, 2026-10-07): a swipe
 * on the photo moves along them (product.js), and a dot still picks one.
 */
@media (max-width: 47.99em) {
	#tapper-cafe-app .tc-product__thumbs {
		justify-content: center;
		gap: 0.1rem;
		margin-top: 0.4rem;
		overflow: visible;
	}

	#tapper-cafe-app .tc-product__thumb,
	#tapper-cafe-app .tc-product__thumb:hover,
	#tapper-cafe-app .tc-product__thumb:focus,
	#tapper-cafe-app .tc-product__thumb:active {
		position: relative;
		width: 1.5rem;
		height: 1.5rem;
		border: 0;
		border-radius: 50%;
		opacity: 1;
	}

	/* The dot itself, inside a tap target big enough for a finger. */
	#tapper-cafe-app .tc-product__thumb::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 0.5rem;
		height: 0.5rem;
		border-radius: 50%;
		background: var(--tc-line);
		transform: translate(-50%, -50%);
	}

	#tapper-cafe-app .tc-product__thumb[aria-pressed="true"]::after {
		background: var(--tc-ink);
	}

	#tapper-cafe-app .tc-product__thumb img {
		display: none;
	}
}

#tapper-cafe-app .tc-product__media .tc-home__badge {
	top: 0.75rem;
	left: 0.75rem;
}

#tapper-cafe-app .tc-product__closed {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	padding: 0.3rem 0.65rem;
	border-radius: 999px;
	background: #9B2C1F;
	color: #FFFFFF;
	font-size: 0.75rem;
	font-weight: 600;
}

#tapper-cafe-app .tc-product svg {
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ------------------------------------------------------------ the head */

#tapper-cafe-app .tc-product__notice {
	margin: 0 0 0.75rem;
	padding: 0.5rem 0.75rem;
	border-radius: 10px;
	background: #FBF0D9;
	color: var(--tc-amber-ink);
	font-size: 0.875rem;
}

/*
 * Best with milk or black, and strength: the card's own row (home.css,
 * parts/traits.php), just above the name (owner, 2026-10-02). The same
 * drawing a step larger -- 13px for the card's 11px, its icon in
 * proportion -- because here it leads a page's title, not a card's.
 */
#tapper-cafe-app .tc-product__head .tc-home__traits {
	gap: 0.3rem 0.875rem;
	margin: 0 0 0.5rem;
	font-size: 0.8125rem;
}

#tapper-cafe-app .tc-product__head .tc-home__trait {
	gap: 0.3rem;
}

#tapper-cafe-app .tc-product__head .tc-home__trait .tc-home__trait-icon {
	width: 0.9375rem;
	height: 0.9375rem;
}

#tapper-cafe-app .tc-product__title {
	margin: 0 0 0.5rem;
	color: var(--tc-ink);
	font-family: var(--tc-home-display);
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem);
	font-weight: 600;
	line-height: 1.15;
	text-wrap: balance;
}

/* The rating and the roaster, one line under the title (owner, 2026-10-07). */
#tapper-cafe-app .tc-product__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.4rem;
	margin: 0 0 0.75rem;
	color: var(--tc-body);
	font-size: 0.875rem;
}

#tapper-cafe-app .tc-product__meta-dot {
	color: var(--tc-muted);
}

#tapper-cafe-app .tc-product__rating {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem;
	color: var(--tc-body);
	text-decoration: none;
}

#tapper-cafe-app .tc-product__rating strong {
	color: var(--tc-ink);
}

#tapper-cafe-app .tc-product__rating:hover,
#tapper-cafe-app .tc-product__rating:focus-visible {
	text-decoration: underline;
}

#tapper-cafe-app .tc-product__star {
	color: var(--tc-amber);
}

/*
 * The card's three fact lines (parts/facts.php, home.css) a step larger here,
 * where they lead a page and not a card.
 */
#tapper-cafe-app .tc-product__head .tc-home__item-notes,
#tapper-cafe-app .tc-product__head .tc-home__item-bean {
	margin: 0 0 0.35rem;
	font-size: 0.875rem;
}

#tapper-cafe-app .tc-product__head .tc-home__line-icon {
	width: 1rem;
	height: 1rem;
	margin-top: 0.1rem;
}

/* Two lines and "More" (owner, 2026-10-07). */
#tapper-cafe-app .tc-product__blurb-wrap {
	max-width: 36em;
	margin: 0.75rem 0 0;
}

#tapper-cafe-app .tc-product__blurb {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

#tapper-cafe-app .tc-product__blurb.is-open {
	display: block;
}

#tapper-cafe-app .tc-product__blurb-more,
#tapper-cafe-app .tc-product__blurb-more:hover,
#tapper-cafe-app .tc-product__blurb-more:focus {
	min-width: 0;
	margin: 0.15rem 0 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--tc-green-dark);
	font: inherit;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: underline;
	text-transform: none;
	cursor: pointer;
}

#tapper-cafe-app .tc-product__blurb-more[hidden] {
	display: none;
}

#tapper-cafe-app .tc-product__by {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--tc-ink);
}

#tapper-cafe-app .tc-product__logo {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 50%;
	object-fit: cover;
}

/* ------------------------------------------------------------ buying */

#tapper-cafe-app .tc-product__buy {
	padding: 1rem;
	border: 1px solid var(--tc-line);
	border-radius: var(--tc-radius);
	background: var(--tc-card);
	box-shadow: var(--tc-shadow);
}

#tapper-cafe-app .tc-product__roast-form {
	margin: 0;
}

#tapper-cafe-app .tc-product__set {
	min-width: 0;
	margin: 0 0 0.75rem;
	padding: 0;
	border: 0;
}

#tapper-cafe-app .tc-product__legend {
	margin: 0 0 0.5rem;
	padding: 0;
	color: var(--tc-ink);
	font-size: 0.9375rem;
	font-weight: 600;
}

/*
 * Roast and pack chips alike (owner, 2026-09-29): one look, and one fixed
 * size -- a row of two is not stretched to fill the box, and a long line is
 * cut short rather than making its chip taller than its neighbours. They wrap
 * on a desk; on a phone each row scrolls sideways (below).
 */
#tapper-cafe-app .tc-product__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

#tapper-cafe-app .tc-product__chip {
	position: relative;
	flex: 0 0 7.25rem;
	width: 7.25rem;
	height: 4rem;
}

#tapper-cafe-app .tc-product__chip input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

#tapper-cafe-app .tc-product__chip label {
	display: flex;
	flex-direction: column;
	gap: 0.05rem;
	justify-content: center;
	height: 100%;
	padding: 0.35rem 0.55rem;
	border: 1.5px solid var(--tc-line);
	border-radius: 10px;
	background: var(--tc-cream);
	cursor: pointer;
	font-variant-numeric: tabular-nums;
	line-height: 1.25;
}

#tapper-cafe-app .tc-product__chip label > * {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#tapper-cafe-app .tc-product__chip label b {
	color: var(--tc-ink);
	font-size: 0.8125rem;
	font-weight: 600;
}

#tapper-cafe-app .tc-product__chip label span {
	color: var(--tc-ink);
	font-size: 0.8125rem;
}

#tapper-cafe-app .tc-product__chip label small {
	color: var(--tc-muted);
	font-size: 0.6875rem;
}

#tapper-cafe-app .tc-product__chip input:checked + label {
	border-color: var(--tc-green);
	background: var(--tc-green-soft);
}

#tapper-cafe-app .tc-product__chip input:focus-visible + label {
	outline: 2px solid var(--tc-green);
	outline-offset: 2px;
}

#tapper-cafe-app .tc-product__chip input:hover + label {
	border-color: var(--tc-green);
}

#tapper-cafe-app .tc-product__chip--roast label b {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

#tapper-cafe-app .tc-product__chip--roast label b::before {
	content: "";
	flex: none;
	width: 0.625rem;
	height: 0.625rem;
	border-radius: 50%;
	background: var(--tc-product-roast, var(--tc-roast));
}

/*
 * On a phone each picker -- brewer, roast, pack -- is one row that scrolls
 * sideways rather than wrapping. The row runs out to the box's own edges, so
 * a chip is cut by the border, and a chip is two-fifths of the row at least,
 * so with three or more the next one always shows a part of itself: that is
 * the only sign there is more. The padding above and below keeps a chip's
 * focus ring inside the scroller. The brewers' list is named for its own
 * reset above, which would otherwise win. product.js brings the ticked chip
 * into view.
 */
@media (max-width: 47.99em) {
	#tapper-cafe-app .tc-product__chips,
	#tapper-cafe-app .tc-product__brewers ul.tc-product__chips {
		flex-wrap: nowrap;
		margin: -0.3rem -1rem;
		padding: 0.3rem 1rem;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	#tapper-cafe-app .tc-product__chips::-webkit-scrollbar {
		display: none;
	}

	#tapper-cafe-app .tc-product__chip {
		flex: 0 0 max(7.25rem, 40%);
		width: auto;
	}
}

#tapper-cafe-app .tc-product__roast-go {
	margin-top: 0.5rem;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--tc-green);
	border-radius: 999px;
	background: var(--tc-card);
	color: var(--tc-green);
	font-weight: 600;
	min-width: 0;
}

#tapper-cafe-app .tc-product__add-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.25rem;
}

#tapper-cafe-app .tc-product__add,
#tapper-cafe-app .tc-product__add:hover,
#tapper-cafe-app .tc-product__add:focus,
#tapper-cafe-app .tc-product__add:active {
	flex: 1;
	min-width: 0;
	min-height: 3rem;
	padding: 0 1rem;
	border: 0;
	border-radius: 999px;
	background: var(--tc-green);
	color: #FFFFFF;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}

#tapper-cafe-app .tc-product__add:hover,
#tapper-cafe-app .tc-product__add:focus-visible {
	background: var(--tc-green-dark);
}

#tapper-cafe-app .tc-product__add[disabled] {
	opacity: 0.6;
	cursor: default;
}

/* "₹450 · 250 g" over the pack's per-cup price, left of Add. */
#tapper-cafe-app .tc-product__total {
	display: flex;
	flex: none;
	flex-direction: column;
	align-items: flex-start;
	margin: 0;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

#tapper-cafe-app .tc-product__total strong {
	color: var(--tc-ink);
	font-size: 1.125rem;
}

#tapper-cafe-app .tc-product__total small {
	color: var(--tc-muted);
	font-size: 0.75rem;
}

#tapper-cafe-app .tc-product__note {
	margin: 0.625rem 0 0;
	color: #9B2C1F;
	font-size: 0.875rem;
}

/* "Not available right now", in red, just above Add (product.js). */
#tapper-cafe-app .tc-product__unavailable {
	margin: 0.75rem 0 -0.25rem;
	color: #9B2C1F;
	font-size: 0.875rem;
	font-weight: 600;
}

#tapper-cafe-app .tc-product__unavailable[hidden] {
	display: none;
}

/* "Delivering to Wakad, Pune · Change", once a place is known (product.js). */
#tapper-cafe-app .tc-product__where {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25rem 0.5rem;
	margin: 0.5rem 0 0;
	color: var(--tc-body);
	font-size: 0.8125rem;
}

#tapper-cafe-app .tc-product__where[hidden] {
	display: none;
}

#tapper-cafe-app .tc-product__where strong {
	color: var(--tc-ink);
	font-weight: 600;
}

/* A link-like button; the theme gives a bare button a 160px minimum width. */
#tapper-cafe-app .tc-product__where-change,
#tapper-cafe-app .tc-product__where-change:hover,
#tapper-cafe-app .tc-product__where-change:focus {
	min-width: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--tc-green);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: underline;
	cursor: pointer;
}

/* What the bag holds, leading "In your bag": "Ground medium-fine to order for V60." */
#tapper-cafe-app .tc-product__buy-line {
	margin: 0 0 0.625rem;
	color: var(--tc-muted);
	font-size: 0.8125rem;
}

#tapper-cafe-app .tc-product__buy-line a {
	color: var(--tc-green);
}

/* ------------------------------------------------------------ facts */

#tapper-cafe-app .tc-product__dl {
	display: grid;
	/* The labels' column is as wide as its longest word, and no wider. */
	grid-template-columns: max-content minmax(0, 1fr);
	gap: 0.45rem 0.75rem;
	margin: 0 0 0.5rem;
}

#tapper-cafe-app .tc-product__dl dt {
	color: var(--tc-muted);
	font-size: 0.875rem;
	font-weight: 400;
}

#tapper-cafe-app .tc-product__dl dd {
	margin: 0;
	color: var(--tc-ink);
}

#tapper-cafe-app .tc-product__dl dd small {
	display: block;
	color: var(--tc-body);
	font-size: 0.8125rem;
}

#tapper-cafe-app .tc-product__notes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 0.625rem;
	padding: 0;
	list-style: none;
}

#tapper-cafe-app .tc-product__notes .tc-home__note {
	gap: 0.45rem;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--tc-line);
	border-radius: 999px;
	background: var(--tc-card);
	color: var(--tc-ink);
	font-size: 0.875rem;
}

#tapper-cafe-app .tc-product__words {
	margin: 0;
	font-size: 0.875rem;
	font-style: italic;
}

/* The recipe's box, and the Why's: one look for both folds. */
#tapper-cafe-app .tc-product__brew-box,
#tapper-cafe-app .tc-product__fold-box {
	padding: 1rem;
	border-radius: var(--tc-radius);
	background: var(--tc-cream-deep);
}

#tapper-cafe-app .tc-product__figs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
	gap: 0.75rem 1rem;
	margin: 0 0 0.875rem;
}

#tapper-cafe-app .tc-product__figs div {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

#tapper-cafe-app .tc-product__figs dt {
	color: var(--tc-muted);
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

#tapper-cafe-app .tc-product__figs dd {
	margin: 0;
	color: var(--tc-ink);
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

#tapper-cafe-app .tc-product__brew-why {
	margin: 0 0 0.625rem;
	color: var(--tc-body);
	font-size: 0.8125rem;
}

#tapper-cafe-app .tc-product__steps {
	margin: 0 0 0.75rem;
	padding-left: 1.25rem;
}

#tapper-cafe-app .tc-product__steps li {
	margin-bottom: 0.25rem;
}

#tapper-cafe-app .tc-product__link {
	color: var(--tc-green);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

#tapper-cafe-app .tc-product__link:hover,
#tapper-cafe-app .tc-product__link:focus-visible {
	text-decoration: underline;
}

/*
 * "Why this coffee?" is drawn as "How to brew it?" is (owner, 2026-10-02):
 * a bare heading over the tinted box. why.css makes .tc-why--inline a
 * bordered card with the title inside it; here the card is undone and the
 * box inside (.tc-product__fold-box, the recipe's .tc-product__brew-box)
 * carries the reasons.
 */
#tapper-cafe-app .tc-product__why.tc-why--inline {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
}

/* The last line in the box, where there is no case to make yet. */
#tapper-cafe-app .tc-product__fold-box > .tc-why__none {
	margin-top: 0;
}

/*
 * "How to brew it?" and "Why this coffee?": <details>, folded on a phone
 * with a chevron after the heading, and plain open sections on a desk,
 * where product.js keeps them open and the heading is not a toggle.
 */
#tapper-cafe-app .tc-product__fold-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	list-style: none;
	cursor: pointer;
}

#tapper-cafe-app .tc-product__fold-head::-webkit-details-marker {
	display: none;
}

#tapper-cafe-app .tc-product__fold-head::after {
	content: "";
	flex: none;
	width: 0.55rem;
	height: 0.55rem;
	margin-right: 0.25rem;
	border-right: 2px solid var(--tc-ink);
	border-bottom: 2px solid var(--tc-ink);
	transform: translateY(-25%) rotate(45deg);
	transition: transform 0.15s ease;
}

#tapper-cafe-app .tc-product__fold[open] > .tc-product__fold-head::after {
	transform: translateY(25%) rotate(-135deg);
}

#tapper-cafe-app .tc-product__fold-head .tc-product__h2 {
	margin: 0;
}

#tapper-cafe-app .tc-product__fold[open] > .tc-product__fold-head {
	margin-bottom: 0.625rem;
}

#tapper-cafe-app .tc-product__fold-head:focus-visible {
	outline: 2px solid var(--tc-green);
	outline-offset: 2px;
	border-radius: 4px;
}

/*
 * The five details (owner, 2026-10-07): folds, each a row with a line under
 * it, on a phone; tabs on a desk once product.js has set them up
 * (.is-tabbed), one open at a time and its heading hidden behind its tab.
 */
#tapper-cafe-app .tc-product__details {
	border-top: 1px solid var(--tc-line);
}

#tapper-cafe-app .tc-product__details > .tc-product__fold {
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--tc-line);
}

#tapper-cafe-app .tc-product__tabs {
	display: flex;
	gap: 0.25rem;
	margin: 0 0 1rem;
	overflow-x: auto;
	border-bottom: 1px solid var(--tc-line);
	scrollbar-width: none;
}

#tapper-cafe-app .tc-product__tabs[hidden] {
	display: none;
}

#tapper-cafe-app .tc-product__tab,
#tapper-cafe-app .tc-product__tab:hover,
#tapper-cafe-app .tc-product__tab:focus {
	flex: none;
	min-width: 0;
	margin: 0 0 -1px;
	padding: 0.75rem 1rem;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: none;
	color: var(--tc-body);
	font: inherit;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
	cursor: pointer;
}

#tapper-cafe-app .tc-product__tab[aria-selected="true"] {
	border-bottom-color: var(--tc-green);
	color: var(--tc-ink);
}

#tapper-cafe-app .tc-product__tab:focus-visible {
	outline: 2px solid var(--tc-green);
	outline-offset: -2px;
}

#tapper-cafe-app .tc-product__details.is-tabbed {
	border-top: 0;
}

#tapper-cafe-app .tc-product__details.is-tabbed > .tc-product__fold {
	padding: 0;
	border-bottom: 0;
}

#tapper-cafe-app .tc-product__details.is-tabbed > .tc-product__fold:not([open]),
#tapper-cafe-app .tc-product__details.is-tabbed .tc-product__fold-head {
	display: none;
}

#tapper-cafe-app .tc-product__details.is-tabbed .tc-product__fold-body,
#tapper-cafe-app .tc-product__details.is-tabbed .tc-product__fold-box,
#tapper-cafe-app .tc-product__details.is-tabbed .tc-product__brew-box {
	max-width: 44rem;
}

@media (prefers-reduced-motion: reduce) {
	#tapper-cafe-app .tc-product__fold-head::after {
		transition: none;
	}
}

#tapper-cafe-app .tc-product__reviews .tc-coffeePage__section {
	margin: 0;
}

/* ------------------------------------------------------------ more from */

#tapper-cafe-app .tc-product__more {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--tc-line);
}

#tapper-cafe-app .tc-product__more .tc-home__items {
	margin-top: 0.5rem;
}

/* ------------------------------------------------------------ the phone's buy bar */

/*
 * The pack's price and Add at a phone's foot while the real Add row is off
 * screen (owner, 2026-10-07; product.js). Above the bottom nav, and above the
 * cart bar while that shows too (.has-bar). Never on a desk.
 */
#tapper-cafe-app .tc-product__sticky {
	position: fixed;
	right: 0.75rem;
	bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tc-bottom-nav, 64px) + 0.5rem);
	left: 0.75rem;
	z-index: 91;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.5rem 0.5rem 0.5rem 1rem;
	border: 1px solid var(--tc-line);
	border-radius: 999px;
	background: var(--tc-card);
	box-shadow: var(--tc-shadow-lift);
}

#tapper-cafe-app .tc-product.has-bar .tc-product__sticky {
	bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tc-bottom-nav, 64px) + 4.5rem);
}

#tapper-cafe-app .tc-product__sticky[hidden] {
	display: none;
}

#tapper-cafe-app .tc-product__sticky p {
	margin: 0;
	color: var(--tc-ink);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

#tapper-cafe-app .tc-product__sticky-add,
#tapper-cafe-app .tc-product__sticky-add:hover,
#tapper-cafe-app .tc-product__sticky-add:focus {
	flex: none;
	min-width: 0;
	min-height: 2.75rem;
	padding: 0 1.25rem;
	border: 0;
	border-radius: 999px;
	background: var(--tc-green);
	color: #FFFFFF;
	font: inherit;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
	cursor: pointer;
}

#tapper-cafe-app .tc-product__sticky-add[disabled] {
	opacity: 0.6;
	cursor: default;
}

@media (min-width: 48em) {
	#tapper-cafe-app .tc-product__sticky {
		display: none;
	}
}

/* ------------------------------------------------------------ the bar */

#tapper-cafe-app .tc-product__bar {
	position: fixed;
	right: 1rem;
	bottom: calc(env(safe-area-inset-bottom, 0px) + 0.75rem);
	left: 1rem;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 40rem;
	margin: 0 auto;
	padding: 0.6rem 0.6rem 0.6rem 1.1rem;
	border-radius: 999px;
	background: var(--tc-green);
	box-shadow: var(--tc-shadow-lift);
	color: #FFFFFF;
}

#tapper-cafe-app .tc-product__bar[hidden] {
	display: none;
}

@media (max-width: 47.99em) {
	#tapper-cafe-app .tc-product__bar {
		bottom: calc(env(safe-area-inset-bottom, 0px) + var(--tc-bottom-nav, 64px) + 0.5rem);
	}
}

#tapper-cafe-app .tc-product__bar p {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	line-height: 1.25;
	font-variant-numeric: tabular-nums;
}

#tapper-cafe-app .tc-product__bar small {
	overflow: hidden;
	color: #CFE0D8;
	font-size: 0.75rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Green on white, and nothing else's link colour: the theme styles a:hover too. */
#tapper-cafe-app .tc-product .tc-product__bar-go,
#tapper-cafe-app .tc-product .tc-product__bar-go:visited,
#tapper-cafe-app .tc-product .tc-product__bar-go:hover,
#tapper-cafe-app .tc-product .tc-product__bar-go:focus {
	flex: none;
	padding: 0.6rem 1.1rem;
	border-radius: 999px;
	background: #FFFFFF;
	color: var(--tc-green-dark);
	font-weight: 600;
	text-decoration: none;
}

/* Tapper Brews: "How should it reach you?" in the buy box (radios, not buttons). */
.tc-product .tt-ways__list { display: flex; flex-direction: column; gap: 0.5rem; }
.tc-product .tt-ways__opt { position: relative; display: flex; flex-direction: column; gap: 0.15rem; padding: 0.6rem 0.75rem; border: 1px solid var(--tc-line); border-radius: var(--tc-radius-sm, 14px); background: var(--tc-card, #fff); cursor: pointer; }
.tc-product .tt-ways__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tc-product .tt-ways__opt small { color: var(--tc-body); font-size: 0.8rem; line-height: 1.35; }
.tc-product .tt-ways__opt--local:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--tc-green); background: var(--tc-green-soft); }
.tc-product .tt-ways__opt--courier:has(input:checked) { box-shadow: inset 0 0 0 1.5px #8A5A2B; background: #F4E9DA; }
.tc-product .tt-ways__opt:has(input:focus-visible) { outline: 2px solid var(--tc-green); outline-offset: 2px; }

/* What delivery costs, under the arrival line (storefront review, 2026-10-08). */
#tapper-cafe-app .tc-product__fee {
	margin: 0.2rem 0 0;
	color: var(--tc-muted);
	font-size: 0.8125rem;
}

/* Reassurance under Add (E2): three short promises, the refund one linked. */
#tapper-cafe-app .tc-product__assure {
	display: grid;
	gap: 0.3rem;
	margin: 0.75rem 0 0;
	padding: 0;
	list-style: none;
	color: var(--tc-body);
	font-size: 0.8125rem;
	line-height: 1.35;
}

#tapper-cafe-app .tc-product__assure li {
	display: flex;
	gap: 0.4rem;
	align-items: baseline;
}

#tapper-cafe-app .tc-product__assure li::before {
	content: "✓";
	flex: none;
	color: var(--tc-green);
	font-weight: 700;
}

#tapper-cafe-app .tc-product__assure a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--tc-line-strong, rgba(18, 17, 17, 0.2));
}

/* "Next roast Fri 10 Oct", under the roaster (schema 23, 2026-10-08). */
#tapper-cafe-app .tc-product__next {
	margin: 0.25rem 0 0;
	color: var(--tc-green-dark, #1F463B);
	font-size: 0.875rem;
	font-weight: 600;
}

/* The arrival row and "Not available right now" at 1.1rem on every screen (owner, 2026-10-08). */
#tapper-cafe-app .tc-product__way,
#tapper-cafe-app .tc-product__unavailable {
	font-size: 1.1rem;
}
