/* Trade Route Promotions – brand colours: navy, brass, paper, rust */
.trc-bar, .trc-card, .trc-offers, .trc-note {
	--trc-navy: #10233F; --trc-brass: #C9973F; --trc-paper: #F1E6CF; --trc-rust: #B5432B; --trc-ink: #1E1A16;
	box-sizing: border-box;
}
.trc-bar *, .trc-card *, .trc-offers *, .trc-note * { box-sizing: border-box; }

/* Buttons */
.trc-btn {
	display: inline-block; background: #1f8f4e; color: #fff !important; text-decoration: none !important;
	font-weight: 700; padding: 12px 20px; border-radius: 999px; line-height: 1.2; font-size: 16px;
}
.trc-btn:hover, .trc-btn:focus { background: #177340; }
.trc-btn::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .45em; vertical-align: -0.15em;
	background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-3.9-4.7-4.1-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.3 0 .5l-.4.6-.3.4c-.1.1-.3.3-.1.6.2.3.7 1.2 1.6 2 1.1 1 2 1.3 2.3 1.4.3.1.4.1.6-.1l.9-1.1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.8-.1 1.4z'/%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'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2-.5.1-1 .2-3.3-.7-2.8-1.1-4.5-3.9-4.7-4.1-.1-.2-1.1-1.5-1.1-2.9s.7-2 1-2.3c.2-.3.5-.3.7-.3h.5c.2 0 .4 0 .6.5l.8 2c.1.2.1.3 0 .5l-.4.6-.3.4c-.1.1-.3.3-.1.6.2.3.7 1.2 1.6 2 1.1 1 2 1.3 2.3 1.4.3.1.4.1.6-.1l.9-1.1c.2-.3.4-.2.6-.1l1.9.9c.3.1.5.2.5.3.1.2.1.8-.1 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* 1. Top bar */
.trc-bar { position: relative; z-index: 99990; background: var(--trc-navy); color: var(--trc-paper); font-size: 15px; line-height: 1.35;
	border-bottom: 3px solid var(--trc-brass); }
.trc-bar__in { max-width: 1200px; margin: 0 auto; padding: 10px 48px 10px 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: center; text-align: center; }
.trc-bar__msg strong { color: var(--trc-brass); }
.trc-bar__count { font-weight: 700; color: #fff; background: var(--trc-rust); padding: 2px 10px; border-radius: 4px; font-size: 13px; letter-spacing: .02em; }
.trc-bar__btn { color: var(--trc-navy) !important; background: var(--trc-brass); text-decoration: none !important; font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: 14px; white-space: nowrap; }
.trc-bar__btn:hover { background: #e0ae55; }
.trc-bar__x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--trc-paper); font-size: 26px; line-height: 1; padding: 4px 10px; cursor: pointer; }
.trc-bar--teaser .trc-bar__msg { font-style: italic; }
@media (max-width: 600px) { .trc-bar { font-size: 14px; } .trc-bar__in { padding: 9px 40px 9px 12px; } }

/* 2. Corner card */
.trc-card { position: fixed; left: 20px; bottom: 20px; z-index: 99991; width: 340px; max-width: calc(100vw - 32px); background: var(--trc-paper); color: var(--trc-ink);
	border: 2px solid var(--trc-navy); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(16,35,63,.35);
	transform: translateY(30px); opacity: 0; transition: transform .3s ease, opacity .3s ease; font-size: 15px; line-height: 1.4; }
.trc-card.is-in { transform: none; opacity: 1; }
.trc-card__img { display: block; width: 100%; height: 150px; object-fit: cover; }
.trc-card__body { padding: 14px 16px 16px; }
.trc-card__kicker { padding-right: 34px; margin: 0 0 4px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--trc-rust); font-weight: 700; }
.trc-card__title { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.15; font-weight: 700; color: var(--trc-navy); }
.trc-card__facts, .trc-card__also { margin: 0 0 8px; padding: 0 0 0 18px; }
.trc-card__also { border-top: 1px dashed rgba(16,35,63,.3); padding-top: 8px; list-style: none; padding-left: 0; }
.trc-card__also a { color: #1f8f4e; font-weight: 700; }
.trc-card__count { margin: 0 0 10px; font-weight: 700; color: var(--trc-rust); font-size: 14px; }
.trc-card__count:empty { display: none; }
.trc-card__btns { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.trc-card__more { color: var(--trc-navy); font-weight: 700; }
.trc-card__x { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(16,35,63,.85); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
@media (max-width: 600px) {
	.trc-card { left: 8px; right: 8px; bottom: 8px; width: auto; max-width: none; display: grid; grid-template-columns: 96px 1fr; font-size: 14px; }
	.trc-card__img { height: 100%; min-height: 120px; }
	.trc-card__body { padding: 10px 12px 12px; }
	.trc-card__title { font-size: 18px; margin-bottom: 6px; padding-right: 30px; }
	.trc-card__facts { display: none; }
	.trc-card__also { font-size: 13px; }
	.trc-card__count { margin-bottom: 8px; font-size: 13px; }
	.trc-card .trc-btn { padding: 9px 14px; font-size: 14px; }
	.trc-card__x { width: 30px; height: 30px; font-size: 20px; top: 6px; right: 6px; }
}
@media (prefers-reduced-motion: reduce) { .trc-card { transition: none; } }

/* 3. Offers page section */
.trc-offers { display: grid; gap: 32px; margin: 24px 0; }
.trc-offer { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; background: var(--trc-paper); color: var(--trc-ink);
	border: 2px solid var(--trc-navy); border-radius: 16px; padding: 22px; }
.trc-offer[hidden] { display: none; }
.trc-offer__media img { display: block; width: 100%; height: auto; border-radius: 10px; }
.trc-offer__kicker { margin: 0 0 6px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--trc-rust); font-weight: 700; }
.trc-offer__title { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; color: var(--trc-navy); }
.trc-offer__soon { display: none; margin: 0 0 10px; font-weight: 700; color: var(--trc-rust); }
.trc-offer.is-upcoming .trc-offer__soon { display: block; }
.trc-offer.is-upcoming .trc-offer__cta, .trc-offer.is-upcoming .trc-offer__count { display: none; }
.trc-offer__text { margin: 0 0 14px; font-size: 17px; line-height: 1.55; }
.trc-offer__facts { margin: 0 0 16px; padding: 0; list-style: none; }
.trc-offer__facts li { padding: 8px 0 8px 28px; border-bottom: 1px dashed rgba(16,35,63,.25); position: relative; font-weight: 600; }
.trc-offer__facts li::before { content: "⚓"; position: absolute; left: 0; color: var(--trc-brass); }
.trc-offer__photo { margin: 0 0 18px; }
.trc-offer__photo img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid rgba(16,35,63,.2); }
.trc-offer__photo figcaption { font-size: 13px; opacity: .75; margin-top: 6px; font-style: italic; }
.trc-offer__cta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 0 0 8px; }
.trc-offer__say strong { font-family: "Courier New", monospace; background: var(--trc-navy); color: var(--trc-paper); padding: 2px 8px; border-radius: 4px; }
.trc-offer__count { margin: 6px 0; font-weight: 700; color: var(--trc-rust); }
.trc-offer__count:empty { display: none; }
.trc-offer__how { margin: 8px 0 12px; font-size: 15px; }
.trc-offer__terms { margin: 0; font-size: 12.5px; line-height: 1.5; opacity: .75; }
.trc-offer.is-teaser { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); background: var(--trc-navy); color: var(--trc-paper); }
.trc-offer.is-teaser .trc-offer__title { color: var(--trc-paper); font-style: italic; }
.trc-offers__none { text-align: center; font-size: 17px; padding: 24px; border: 2px dashed rgba(16,35,63,.3); border-radius: 14px; }
.trc-offers__none[hidden] { display: none; }
@media (max-width: 760px) {
	.trc-offer, .trc-offer.is-teaser { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
	.trc-offer__media img { max-height: 420px; object-fit: cover; }
}

/* 4. Product-page note */
.trc-note { display: grid; gap: 6px; margin: 14px 0 18px; padding: 14px 16px; background: var(--trc-paper); color: var(--trc-ink);
	border-left: 5px solid var(--trc-brass); border-radius: 8px; }
.trc-note[hidden] { display: none; }
.trc-note__kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--trc-rust); font-weight: 700; }
.trc-note__text { font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--trc-navy); }
.trc-note__btn { justify-self: start; background: #1f8f4e; color: #fff !important; text-decoration: none !important; font-weight: 700; padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.trc-note__count { font-size: 13px; font-weight: 700; color: var(--trc-rust); }
.trc-note__count:empty { display: none; }

/* Theme compatibility (v1.0.1): themes that style content with .prose / entry-content */
.trc-offers { width: max(100%, min(1000px, calc(100vw - 4rem))); max-width: none; }
.trc-offers .trc-offer__facts li { padding: 8px 0 8px 28px !important; margin: 0 !important; list-style: none !important; }
.trc-offers .trc-offer__facts li::marker { content: none; }
.trc-offers .trc-offer__title { margin-top: 0 !important; }
.trc-offers p { margin-top: 0; }
.trc-offers img { margin: 0 !important; }
.trc-offers figure { margin: 0 0 18px !important; }
.trc-card ul, .trc-card li { list-style: disc; }
.trc-card .trc-card__also, .trc-card .trc-card__also li { list-style: none; }
