/**
 * Dokan vendor storefront — banner, about-seller, products section with
 * sidebar category filter + AJAX search, blog row, merch carousel.
 *
 * Conditionally enqueued on dokan_is_store_page(). All page-local rules are
 * scoped under .ts-storefront so we don't collide with the global shop /
 * mercantile styles. Shared `.shop-product-card` (main-style.css) is reused
 * for the grid, plus `.shop-grid-loader` from base.css.
 */

.ts-storefront { background: var(--white); }

/* ── BANNER ── */
.ts-storefront .store-banner-wrap {
	background: var(--bg);
	/* padding: 28px 5%; */
	padding: 24px 40px 40px;
	background: transparent;
}
.ts-storefront .store-banner {
	width: 100%;
	/* max-width: 1600px; */
	aspect-ratio: 4 / 1;
	margin: 0 auto;
	border-radius: 16px;
	border: 1px solid var(--border);
	box-shadow: 0 4px 20px rgba(28,26,24,0.06), 0 1px 4px rgba(28,26,24,0.04);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.ts-storefront .store-banner--default {
	background: linear-gradient(135deg, #F5EDE4 0%, #EDE3D8 20%, #E8DDD2 40%, #F0E6DB 60%, #F7F0E8 80%, #FBF7F2 100%);
}

/* ── ABOUT SELLER ── */
.ts-storefront .about-seller {
	background: var(--white);
	/* border-top: 1px solid var(--border); */
	padding: 64px 48px 72px;
}
.ts-storefront .about-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 52%;
	gap: 56px;
	align-items: start;
}

.ts-storefront .seller-profile-col,
.ts-storefront .seller-video-col {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ts-storefront .seller-avatar-row {
	display: flex;
	align-items: center;
	gap: 16px;
}
.ts-storefront .seller-avatar {
	width: 144px;
	height: 144px;
	border-radius: 50%;
	background: var(--gold-light, #F6EFE1);
	border: 2px solid var(--border, #D8D4CE);
	box-shadow: 0 1px 3px rgba(28,26,24,0.04);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}
.ts-storefront .seller-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ts-storefront .seller-avatar i {
	font-size: 48px;
	color: var(--stone, #8C8278);
}
.ts-storefront .seller-name-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}
.ts-storefront .seller-store-name {
	font-family: 'Inter', sans-serif;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.05em;
	color: var(--charcoal);
	line-height: 1.2;
}
.ts-storefront .seller-name-loc {
	font-size: 13px;
	color: var(--stone, #8C8278);
	margin-bottom: 4px;
}
.ts-storefront .seller-name-loc strong { color: var(--charcoal); font-weight: 600; }
.ts-storefront .seller-avatar-row .pro-badge { margin-top: 8px; }

.ts-storefront .seller-stars {
	display: flex;
	align-items: center;
	gap: 3px;
}
.ts-storefront .seller-stars i {
	color: var(--gold, #C9A96E);
	font-size: 16px;
}
.ts-storefront .seller-rating {
	font-size: 12px;
	color: var(--stone, #8C8278);
	margin-left: 6px;
}

.ts-storefront .seller-bio {
	font-size: 14px;
	color: var(--ink);
	line-height: 1.7;
	max-width: 520px;
}
/* Inline links inside the bio rest Mascot (2.1 redline — both tiers). */
.ts-storefront .seller-bio a { color: var(--mascot); font-weight: 500; transition: color 0.15s; }
.ts-storefront .seller-bio a:hover { color: var(--mascot); }
.ts-storefront .seller-bio p { margin: 0; }
.ts-storefront .seller-bio p + p { margin-top: 14px; }
/* University, degrees and years of experience under the bio (#334).
 * .seller-profile-col is a flex column with a 14px gap, so the margins below
 * are 14px short of the design's spacing: bio → creds 20px, then an even
 * 28px to the email box and on to the social icons (#61). */
.ts-storefront .seller-creds { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
/* "… Read more" is 13px on the store page (#61); main.js matches the bio's
 * size inline so it sits on line 4, hence !important. */
.ts-storefront .seller-profile-col .ts-bio-more { font-size: 13px !important; }
.ts-storefront .seller-creds li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.ts-storefront .seller-creds svg { flex: none; color: var(--stone); }
/* "Read more" — shown only when the bio is longer than the 40-word preview. */
.ts-storefront .seller-bio-toggle {
	display: inline-block; margin-top: 4px; padding: 0; border: 0; background: none;
	font: inherit; font-size: 13px; font-weight: 600; color: var(--mascot);
	text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.ts-storefront .seller-bio-toggle:hover { color: var(--ink); }

.ts-storefront .seller-social-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 14px; /* + the column's 14px gap = 28px (#61) */
}
.ts-storefront .social-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	color: var(--ink, #1C1A18);
	transition: all 0.2s var(--ease-out, ease);
	flex-shrink: 0;
}
.ts-storefront .social-pill i { font-size: 18px; line-height: 1; color: inherit; transition: color 0.2s; }

/* "Your Other Stores" pills: inline SVG logos (assets/images/store-logos/),
   filled with currentColor so they tint on hover like the Remix glyphs. Sized
   to the 18px glyphs; the TPT mark is wider than tall, so width is capped
   rather than fixed. */
.ts-storefront .social-pill--logo { text-decoration: none; }
.ts-storefront .social-pill-logo { display: inline-flex; align-items: center; justify-content: center; }
.ts-storefront .social-pill-logo svg { display: block; height: 18px; width: auto; max-width: 26px; transition: color 0.2s; }
/* #327: the prototype's sizes for the store and own-site icons. */
.ts-storefront .social-pill-logo--tpt svg { width: 36px; height: auto; max-width: none; }
.ts-storefront .social-pill-logo--etsy svg { height: 20px; }
.ts-storefront .social-pill-logo--boom svg { height: 22px; }
.ts-storefront .social-pill-logo--amazon svg { height: 20px; }
.ts-storefront .social-pill-logo--website svg { width: 24px; height: auto; max-width: none; }
.ts-storefront .social-pill-logo--blog svg { height: 19px; }
.ts-storefront .social-pill-logo--podcast svg { height: 21px; }
/* TIER SPLIT (2.1 redline): Standard hovers Mascot, PRO hovers Gold. Confirmed
 * in both storefront-standard.html and storefront-pro.html. */
.ts-storefront .social-pill:hover { transform: translateY(-3px); color: var(--mascot); }
.ts-storefront.is-pro .social-pill:hover { color: var(--gold); }

/* ── SELLER ACTIONS (Follow / Message, above the video) ── */
.ts-storefront .seller-actions {
	display: flex;
	gap: 8px;
	margin-bottom: 14px;
	justify-content: flex-end;
}
.ts-storefront .seller-actions .ts-store-message,
.ts-storefront .seller-actions .ts-store-follow.dokan-follow-store-button {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--ff-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--ink, #1C1A18);
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 7px 18px;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.4;
	min-height: 0;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.ts-storefront .seller-actions .ts-store-message:hover,
.ts-storefront .seller-actions .ts-store-follow.dokan-follow-store-button:hover {
	border-color: var(--ink, #1C1A18);
	box-shadow: 0 2px 8px rgba(28,26,24,0.12);
	background: transparent;
	color: var(--ink, #1C1A18);
}
/* Native Dokan button ships a filled-teal theme + heart prefix via ::before. */
.ts-storefront .seller-actions .ts-store-follow.dokan-follow-store-button::before { content: "\2661"; font-size: 13px; line-height: 1; }
/* Following: "♥ Following"; pointing at it shows "Unfollow" (click unfollows). */
.ts-storefront .seller-actions .ts-store-follow[data-status="following"]::before { content: "\2665"; }
.ts-storefront .seller-actions .ts-store-follow .dokan-follow-store-button-label-unfollow { display: none; }
.ts-storefront .seller-actions .ts-store-follow[data-status="following"]:hover .dokan-follow-store-button-label-current { display: none; }
.ts-storefront .seller-actions .ts-store-follow[data-status="following"]:hover .dokan-follow-store-button-label-unfollow { display: inline; }
.ts-storefront .seller-actions .ts-store-follow[data-status="following"]:hover::before { content: "\2661"; }
/* While Dokan saves the follow it makes the label transparent and swaps in a
 * Font Awesome spinner — that font isn't loaded here, so the button looked
 * empty. Keep the label readable and just dim the button until it's done. */
.ts-storefront .seller-actions .ts-store-follow.dokan-follow-store-button-working,
.ts-storefront .seller-actions .ts-store-follow.dokan-follow-store-button-working:hover,
.ts-storefront .seller-actions .ts-store-follow.dokan-follow-store-button-working:focus,
.ts-storefront .seller-actions .ts-store-follow.dokan-follow-store-button-working:active { color: var(--ink, #1C1A18); opacity: .55; cursor: wait; }
.ts-storefront .seller-actions .ts-store-follow.dokan-follow-store-button-working > span { opacity: 1; }
.ts-storefront .seller-actions .ts-store-follow.dokan-follow-store-button-working::after { content: none; display: none; }

/* ── INLINE EMAIL OPT-IN (seller profile) ── */
.ts-storefront .seller-inline-optin { margin: 14px 0 0; } /* + the column's 14px gap = 28px (#61) */
.ts-storefront .seller-inline-optin .email-headline {
	font-family: 'Inter', sans-serif;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.05em;
	color: var(--ink);
	margin-bottom: 10px;
}
.ts-storefront .seller-inline-optin .email-headline em { font-style: italic; }
.ts-storefront .seller-inline-optin .email-form { display: flex; gap: 0; max-width: 400px; }
.ts-storefront .seller-inline-optin .email-input {
	flex: 1;
	min-width: 0;
	padding: 11px 14px;
	border: 1px solid var(--border);
	border-right: none;
	border-radius: 0;
	font-family: var(--ff-body);
	font-size: 14px;
	color: var(--ink);
	outline: none;
	background: var(--white);
}
.ts-storefront .seller-inline-optin .email-input:focus { border-color: var(--ink); }
.ts-storefront .seller-inline-optin .email-input::placeholder { color: var(--dust); }
.ts-storefront .seller-inline-optin .email-btn {
	padding: 11px 20px;
	background: var(--ink);
	color: #fff;
	border: 1px solid var(--ink);
	border-radius: 0;
	font-family: var(--ff-body);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s, border-color 0.2s;
}
.ts-storefront .seller-inline-optin .email-btn:hover { background: var(--mascot); border-color: var(--mascot); } /* black → Mascot, not Fri-yay (#89) */
.ts-storefront .seller-inline-optin .email-btn--pro { background: var(--gold); color: #fff; border: none; }
.ts-storefront .seller-inline-optin .email-btn--pro:hover { background: var(--sunny-honey, #DDB84E); border-color: var(--sunny-honey, #DDB84E); color: #fff; }

/* Banner tile + lightbox styles moved to assets/css/video-banner.css so the
   single-product page can reuse them without duplicating CSS. */

/* ── PRODUCTS SECTION ── */
.ts-storefront .store-products-section {
	background: var(--white);
	padding: 32px 48px 64px;
	/* border-top: 1px solid var(--border); */
}
.ts-storefront .store-products-inner {
	max-width: 1420px;
	margin: 0 auto;
}

.ts-storefront .store-products-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 12px;
	/* border-bottom: 1px solid var(--border); */
	gap: 12px;
}
.ts-storefront .store-products-title {
	font-family: 'Inter', sans-serif;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.05em;
	color: var(--charcoal);
}
.ts-storefront .store-products-count {
	font-size: 12px;
	color: var(--stone, #8C8278);
	letter-spacing: 0.02em;
	white-space: nowrap;
}

/* Filter row: search (flexy) + chip toggler + per-parent dropdowns + price + rating.
 * Search takes the leftover space; chips wrap onto a second line on narrow viewports. */
.ts-storefront .store-filter-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}

.ts-storefront .store-search-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--bg);
	border: 1px solid var(--charcoal);
	border-radius: 6px;
	padding: 5px 5px 5px 20px;
	flex: 1;
	min-width: 220px;
	transition: all 0.2s var(--ease-out, ease);
}
.ts-storefront .store-search-bar:focus-within { border-color: var(--mascot); box-shadow: 0 0 0 3px rgba(196,115,90,0.08); }
.ts-storefront .store-search-bar > i { color: var(--stone, #8C8278); font-size: 15px; }
.ts-storefront .store-search-bar input {
	border: none;
	outline: none;
	font-family: var(--ff-body);
	font-size: 14px;
	color: var(--ink);
	background: transparent;
	flex: 1;
	min-width: 0;
}
.ts-storefront .store-search-bar input::placeholder { color: var(--dust, #C4B9AE); }
.ts-storefront .store-search-btn {
	background: var(--charcoal);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 6px 16px;
	font-family: var(--ff-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background 0.2s ease;
}
.ts-storefront .store-search-btn:hover { background: #333; }

/* Wrapper for the top-row chip dropdowns (everything except the search bar
 * and the All Filters button). `display: contents` lets each chip flow as a
 * direct child of .store-filter-row's flexbox; collapsing toggles their
 * visibility without disturbing the search bar's flex-grow. */
.ts-storefront .store-filter-chips { display: contents; }
.ts-storefront .store-filter-chips.is-collapsed > * { display: none; }

/* ── FILTER CHIPS ── */
.ts-storefront .filter-chip {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 8px 16px;
	font-family: var(--ff-body);
	font-size: 12px;
	font-weight: 500;
	color: var(--ink);
	cursor: pointer;
	transition: all 0.2s var(--ease-out, ease);
	box-shadow: 0 1px 3px rgba(28,26,24,0.04);
	flex-shrink: 0;
}
.ts-storefront .filter-chip:hover { border-color: var(--mascot); color: var(--mascot); }
.ts-storefront .filter-chip.is-open,
.ts-storefront .filter-chip.has-active { border-color: var(--mascot); color: var(--mascot); }

.ts-storefront .filter-chip--all {
	background: var(--charcoal);
	color: #fff;
	border-color: var(--charcoal);
}
.ts-storefront .filter-chip--all:hover { background: #333; color: #fff; border-color: #333; }
.ts-storefront .filter-chip--all[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ts-storefront .filter-chip--all[aria-expanded="true"]:hover { background: var(--mascot); border-color: var(--mascot); color: #fff; }

.ts-storefront .filter-chip--dropdown { padding: 0; }
.ts-storefront .filter-chip-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: none;
	padding: 8px 16px;
	font: inherit;
	color: inherit;
	cursor: pointer;
}
.ts-storefront .filter-chip-caret { font-size: 16px; line-height: 1; transition: transform 0.2s ease; }
.ts-storefront .filter-chip.is-open .filter-chip-caret { transform: rotate(180deg); }
.ts-storefront .filter-chip-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	background: var(--mascot);
	color: #fff;
	border-radius: 100px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0;
}
/* The badge ships with the `hidden` attribute and storefront.js toggles it as
 * the per-chip count changes. Without this guard the `display: inline-flex`
 * above wins over the UA's [hidden] rule and every chip shows a "0". */
.ts-storefront .filter-chip-badge[hidden] { display: none; }

.ts-storefront .filter-chip-panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 200px;
	max-height: 320px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--border, #D8D4CE);
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(28,26,24,0.10);
	padding: 10px 8px;
	z-index: 30;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
/* `[hidden]` would normally `display:none` — but the rule above sets
 * `display: flex` which beats it. Restore the hide here so the panel
 * actually starts closed and only opens via JS toggling `[hidden]`. */
.ts-storefront .filter-chip-panel[hidden] { display: none; }
.ts-storefront .filter-chip-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 13px;
	color: var(--ink);
	cursor: pointer;
	transition: background 0.15s ease;
}
.ts-storefront .filter-chip-option:hover { background: var(--bg, #FAFAF6); }
.ts-storefront .filter-chip-option input { accent-color: var(--mascot); width: 14px; height: 14px; }
.ts-storefront .filter-chip-option input:checked + span { color: var(--mascot); font-weight: 600; }

/* Sidebar is always visible (Subject + Grade multi-select). The "All Filters"
 * chip toggles the top-row chip strip only — never the sidebar. */
.ts-storefront .store-products-layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 32px;
	align-items: start;
}

.ts-storefront .store-products-grid-wrap { position: relative; min-height: 240px; }
/* "4 resources in Doodle Notes · Clear" (#97; design: storefront-standard.html #catBar). */
.ts-storefront .store-cat-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 14px; font-size: 13px; color: #55514D; }
.ts-storefront .store-cat-bar[hidden] { display: none; }
.ts-storefront .store-cat-bar b { color: var(--ink); }
.ts-storefront .store-cat-bar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ts-storefront .store-cat-bar a:hover { color: var(--mascot); }

/* `.shop-product-grid` styles live in shop.css which only loads on the WC
 * shop archive. Restate the grid here so the storefront page renders 4
 * product cards per row matching html/storefront-pro. Column count stays
 * stable across filter toggles — only natural responsive breakpoints
 * collapse it. */
.ts-storefront .shop-product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	min-height: 200px;
	transition: opacity 0.2s var(--ease-out, ease);
}
.ts-storefront .shop-product-grid[aria-busy="true"] { opacity: 0.45; pointer-events: none; }
.ts-storefront .shop-grid-empty {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 64px 24px;
	color: var(--stone, #8C8278);
	text-align: center;
}
.ts-storefront .shop-grid-empty i { font-size: 32px; color: var(--dust, #C4B9AE); }

/* ── SIDEBAR ── */
.ts-storefront .store-sidebar {
	background: transparent;
	border: none;
	padding: 24px 0;
	position: sticky;
	top: 24px;
}
.ts-storefront .store-sidebar-title {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--charcoal);
	margin-bottom: 4px;
}
.ts-storefront .store-sidebar-sub {
	font-size: 11px;
	color: var(--stone, #8C8278);
	margin-bottom: 16px;
}
.ts-storefront .store-sidebar-search {
	display: flex; align-items: center; gap: 8px;
	background: var(--bg); border: 1px solid var(--border, #D8D4CE);
	border-radius: 6px; padding: 8px 12px; margin-bottom: 18px;
	transition: border-color 0.2s;
}
.ts-storefront .store-sidebar-search:focus-within { border-color: var(--charcoal); }
.ts-storefront .store-sidebar-search i { color: var(--stone, #8C8278); font-size: 13px; flex-shrink: 0; }
.ts-storefront .store-sidebar-search input { border: none; outline: none; background: transparent; font-family: var(--ff-body); font-size: 12px; color: var(--ink); width: 100%; }
.ts-storefront .store-sidebar-search input::placeholder { color: var(--dust, #C4B9AE); }
.ts-storefront .store-sidebar-cat.is-hidden,
.ts-storefront .store-sidebar-section.is-hidden { display: none; }
.ts-storefront .store-sidebar-section {
	display: flex;
	flex-direction: column;
	margin-bottom: 18px;
}
.ts-storefront .store-sidebar-section:last-child { margin-bottom: 0; }
.ts-storefront .store-sidebar-section-title {
	font-size: 9px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--stone, #8C8278);
	margin-bottom: 8px;
}
.ts-storefront .store-sidebar-cat {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 0;
	font-size: 12px;
	color: var(--ink);
	cursor: pointer;
	border-bottom: 1px solid #ECE9E4;
	transition: color 0.15s;
}
.ts-storefront .store-sidebar-cat:last-child { border-bottom: none; }
.ts-storefront .store-sidebar-cat:hover { color: var(--mascot); }
.ts-storefront .store-sidebar-cat input[type="checkbox"] {
	accent-color: var(--mascot);
	width: 14px;
	height: 14px;
}
/* Checked sidebar row: bump the label colour + weight via the adjacent span
 * so the "active filter" cue matches the chip dropdowns. */
.ts-storefront .store-sidebar-cat input:checked ~ span { color: var(--mascot); font-weight: 600; }
.ts-storefront .store-sidebar-cat span:first-of-type { flex: 1; }
.ts-storefront .store-sidebar-count { color: var(--stone, #8C8278); font-size: 11px; }

/* ── BLOG ROW ── */
.ts-storefront .more-from-blog {
	padding: 56px 0 48px;
	background: var(--white);
	/* border-top: 1px solid var(--border); */
}
.ts-storefront .more-from-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 48px;
}
.ts-storefront .more-from-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 32px;
	gap: 20px;
}
.ts-storefront .more-from-eyebrow {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ink, #1C1A18);
	margin-bottom: 8px;
}
.ts-storefront .more-from-title {
	font-family: 'Inter', sans-serif;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -0.05em;
	color: var(--charcoal);
	line-height: 1.15;
}
.ts-storefront .more-from-title em { font-style: italic; }
.ts-storefront .more-from-link {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mascot);
	white-space: nowrap;
	transition: color 0.2s;
}
.ts-storefront .more-from-link:hover { color: var(--stone, #8C8278); }

.ts-storefront .more-from-grid-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 48px;
}
.ts-storefront .more-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.ts-storefront .more-blog-card {
	display: block;
	color: inherit;
	text-decoration: none;
	border: 1px solid rgba(216,212,206,0.5);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 8px rgba(28,26,24,0.04);
	transition: transform 0.3s var(--ease-out, ease), box-shadow 0.3s var(--ease-out, ease);
}
.ts-storefront .more-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(28,26,24,0.08);
}
.ts-storefront .more-blog-img {
	aspect-ratio: 16 / 10;
	background: #EDEAE4;
	position: relative;
}
.ts-storefront .more-blog-category {
	position: absolute;
	top: 12px;
	left: 12px;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: #fff;
	color: var(--ink);
	padding: 4px 10px;
	border-radius: 3px;
}
.ts-storefront .more-blog-body {
	padding: 16px 16px 20px;
	color: var(--ink);
}
.ts-storefront .more-blog-title {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.35;
	margin-bottom: 6px;
}
.ts-storefront .more-blog-excerpt {
	font-size: 13px;
	color: var(--ink);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ts-storefront .more-blog-footer {
	font-size: 11px;
	color: var(--stone, #8C8278);
	margin-top: 8px;
	letter-spacing: 0.02em;
}

/* ── VIDEO LIGHTBOX ──
   Moved to assets/css/video-banner.css; see banner-tile note above. */

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
	.ts-storefront .shop-product-grid { grid-template-columns: repeat(3, 1fr); }
	.ts-storefront .store-products-layout { grid-template-columns: 220px 1fr; gap: 24px; }
}
@media (max-width: 1024px) {
	.ts-storefront .more-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	/* minmax(0, 1fr), not 1fr: a bare 1fr track can't shrink below its widest
	 * child (the email form / name row), so on phones the column ran 22px past
	 * the right gutter and everything sat flush against the screen edge. */
	.ts-storefront .about-inner { grid-template-columns: minmax(0, 1fr); }
	.ts-storefront .seller-profile-col,
	.ts-storefront .seller-video-col { min-width: 0; }
	.ts-storefront .about-seller { padding: 48px 24px; }
	.ts-storefront .store-products-section { padding: 32px 24px 56px; }
	.ts-storefront .store-products-layout { grid-template-columns: 1fr; }
	.ts-storefront .store-sidebar { position: static; }
	.ts-storefront .more-from-inner,
	.ts-storefront .more-from-grid-wrap { padding: 0 24px; }
	.ts-storefront .shop-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
	.ts-storefront .store-banner-wrap { padding: 16px 16px; }
	.ts-storefront .seller-avatar { width: 96px; height: 96px; }
	.ts-storefront .seller-store-name { font-size: 22px; }
	.ts-storefront .more-blog-grid { grid-template-columns: 1fr; }
	.ts-storefront .more-from-title { font-size: 28px; }
	/* 2 across on phones too (storefront-*.html: 6 rows of 4 → 2 across). */
	.ts-storefront .shop-product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}


/* ── SECTION JUMP NAV (PRO) — storefront-pro.html ──────────────────────── */
.ts-storefront .section-jump-nav { padding: 18px 48px; background: var(--white); border-bottom: 1px solid var(--border); }
.ts-storefront .section-jump-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ts-storefront .section-jump-label { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: 0.03em; text-transform: uppercase; flex-shrink: 0; }
.ts-storefront .section-jump-links { display: flex; gap: 28px; flex-wrap: wrap; }
.ts-storefront .section-jump-links a { position: relative; font-size: 13px; color: var(--ink); font-weight: 400; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; transition: color 0.2s; }
.ts-storefront .section-jump-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--ink); transition: width 0.3s var(--ease-out); }
.ts-storefront .section-jump-links a:hover { color: var(--ink); font-weight: 700; }
.ts-storefront .section-jump-links a:hover::after { width: 100%; }
/* "Go To" bar: the Free Communities dropdown (Pro, #328), as storefront-pro.html. */
.ts-storefront .gt-drop { position: relative; display: inline-flex; align-items: center; }
.ts-storefront .gt-drop-btn { display: inline-flex; align-items: center; gap: 5px; }
.ts-storefront .gt-caret { font-size: 10px; line-height: 1; }
.ts-storefront .gt-menu { display: none; position: absolute; top: 100%; left: -16px; padding-top: 12px; z-index: 60; }
.ts-storefront .gt-menu-in { display: block; min-width: 230px; background: var(--white, #fff); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 12px 30px rgba(28,26,24,.12); padding: 8px 0; }
.ts-storefront .gt-drop:hover .gt-menu, .ts-storefront .gt-drop:focus-within .gt-menu, .ts-storefront .gt-drop.is-open .gt-menu { display: block; }
.ts-storefront .section-jump-links .gt-menu a { display: block; padding: 10px 20px; white-space: nowrap; text-transform: none; }
.ts-storefront .section-jump-links .gt-menu a::after { display: none; }
.ts-storefront .section-jump-links .gt-menu a:hover { background: var(--cream, #F7F2EB); }
@media (max-width: 600px) {
	.ts-storefront .section-jump-nav { padding: 14px 16px; }
	.ts-storefront .section-jump-inner { gap: 12px 18px; }
	.ts-storefront .section-jump-links { gap: 12px 20px; }
}
/* Jumped-to sections land below the sticky header, not under it. */
.ts-storefront #section-community,
.ts-storefront #section-resources,
.ts-storefront .more-from-section[id] { scroll-margin-top: 140px; }

/* ── Resources pagination: ← Prev · 1 2 3 … · Next → (storefront-*.html
 * .product-pagination). Real ?page=N links; storefront.js swaps in place. ── */
.ts-storefront .product-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 32px; }
.ts-storefront .product-pagination .page-btn {
	font-family: var(--ff-body);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink);
	background: var(--white);
	border: 1.5px solid var(--border);
	border-radius: 4px;
	padding: 8px 14px;
	min-width: 40px;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s var(--ease-out);
}
.ts-storefront .product-pagination a.page-btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.ts-storefront .product-pagination .page-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.ts-storefront .product-pagination .page-btn[aria-disabled="true"] { opacity: 0.35; cursor: default; }
.ts-storefront .product-pagination .page-gap { padding: 0 2px; color: var(--stone); }
@media (max-width: 600px) {
	.ts-storefront .product-pagination { flex-wrap: wrap; }
	.ts-storefront .product-pagination .page-btn { padding: 8px 10px; min-width: 34px; }
}

/* ── Phones: blog / video / podcast cards become one swipeable row, each
 * card ~78% of the screen and snapping into place (they were squeezed 3
 * across with titles breaking mid-word). From the storefront references. ── */
@media (max-width: 760px) {
	.ts-storefront .more-from-blog .more-blog-grid,
	.ts-storefront .more-from-blog .more-blog-grid--four {
		display: grid;
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 78%;
		gap: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		margin-right: -20px;
		padding-right: 20px;
		padding-bottom: 6px;
	}
	.ts-storefront .more-from-blog .more-blog-grid::-webkit-scrollbar { display: none; }
	.ts-storefront .more-from-blog .more-blog-card { scroll-snap-align: start; }
}

/* ── Store Coupons row ──
   Sits on white, directly above the Go To bar. Hidden entirely when the
   seller has no public coupons, so there is never an empty heading. */
.store-coupons {
	padding: 16px 48px;
	background: var(--white);
	border-bottom: 1px solid var(--border);
}

.store-coupons-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	max-width: 1100px;
	margin: 0 auto;
}

/* The label and its line sit above the coupons, left-aligned with them. */
.store-coupons-head {
	flex: 0 0 100%;
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 6px;
}

.store-coupons-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
}

.store-coupons-note {
	font-size: 13px;
	color: var(--ink);
}

/* All the same size, as the design asks. */
.store-coupons .ts-coupon {
	width: 232px;
	min-height: 46px;
	justify-content: center;
}

@media (max-width: 768px) {
	.store-coupons { padding: 16px 20px; }
	.store-coupons .ts-coupon { width: 100%; }
}

/* #46: "⚡ 10% off" on a product card's image when a public coupon applies
   (storefront-pro.html .pc-sale-tag). */
.shop-product-card .pc-sale-tag { position: absolute; top: 8px; left: 8px; z-index: 2; background: #F5E8E2; border: 1px dashed #D9A99A; border-radius: 4px; padding: 3px 7px; font-size: 10.5px; font-weight: 600; color: var(--ink, #1C1A18); line-height: 1.2; pointer-events: none; }
.shop-product-card .pc-sale-tag--below { top: 32px; }
