/*
Theme Name: The Stag Standard - Live Checkout
Theme URI: https://thestagstandard.com
Author: The Stag Standard
Description: Live-checkout child theme for The Stag Standard. Preserves the verified storefront while presenting accurate payment and checkout language.
Template: the-stag-standard
Version: 2.10.55
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: the-stag-standard-review
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

.tss-article-page {
	background: #f6f3ee;
	padding: clamp(48px, 8vw, 96px) 0;
}

.tss-article-shell {
	max-width: 900px;
}

.tss-article {
	padding: clamp(28px, 6vw, 64px);
	background: #fff;
	border-top: 6px solid #74101d;
	box-shadow: 0 18px 48px rgba(23, 23, 22, .09);
}

.tss-article h1 {
	max-width: 780px;
	margin: 0 0 18px;
	font-size: clamp(38px, 6vw, 70px);
	line-height: .98;
}

.tss-article-intro {
	max-width: 720px;
	margin-bottom: 36px;
	color: #5f5953;
	font-size: clamp(19px, 2.4vw, 24px);
	line-height: 1.45;
}

.tss-article-content {
	max-width: 720px;
	font-size: 18px;
	line-height: 1.72;
}

.tss-article-content h2 {
	margin: 48px 0 14px;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.08;
}

.tss-article-content h3 {
	margin: 32px 0 10px;
	font-size: 24px;
}

.tss-article-content li {
	margin: 8px 0;
}

.tss-article-content blockquote {
	margin: 28px 0;
	padding: 18px 22px;
	border-left: 5px solid #74101d;
	background: #f6f3ee;
}

.tss-guide-cta {
	margin: 48px 0 28px;
	padding: 28px;
	background: #191918;
	color: #fff;
}

.tss-guide-cta h2 {
	margin-top: 0;
	color: #fff;
}

.tss-guide-cta .button {
	margin: 6px 8px 6px 0;
}

.tss-featured-guide {
	grid-column: 1 / -1;
	border-top: 5px solid #74101d;
}

.tss-secure-checkout-panel {
	margin: 0 0 28px;
	padding: 22px;
	border: 1px solid #d8d0c6;
	border-top: 5px solid #74101d;
	background: #fff;
	color: #171716;
	box-shadow: 0 12px 28px rgba(23, 23, 22, .08);
}

.tss-secure-checkout-panel h2 {
	margin: 0 0 8px;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.05;
}

.tss-secure-checkout-panel p {
	margin: 0;
	max-width: 760px;
	color: #5f5953;
}

.tss-secure-checkout-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: #74101d;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.tss-secure-checkout-label::before {
	content: "";
	width: 12px;
	height: 10px;
	border: 2px solid currentColor;
	border-radius: 2px;
	box-shadow: inset 0 3px 0 #fff;
}

.tss-card-brands {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
}

.tss-card-brands-label {
	flex-basis: 100%;
	color: #5f5953;
	font-size: 12px;
	font-weight: 700;
}

.tss-card-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid #d8d0c6;
	border-radius: 5px;
	background: #fff;
	font: 800 15px/1 Arial, sans-serif;
	letter-spacing: -.02em;
}

.tss-card-visa { color: #17357f; font-style: italic; font-size: 20px; }
.tss-card-discover { color: #111; font-size: 13px; border-bottom: 5px solid #f58220; }
.tss-card-amex { color: #fff; background: #1478be; border-color: #1478be; font-size: 12px; letter-spacing: .03em; }
.tss-card-mastercard { position: relative; min-width: 72px; overflow: hidden; color: transparent; }
.tss-card-mastercard::before,
.tss-card-mastercard::after { content: ""; position: absolute; width: 24px; height: 24px; border-radius: 50%; top: 6px; }
.tss-card-mastercard::before { left: 20px; background: #eb001b; }
.tss-card-mastercard::after { right: 20px; background: rgba(255, 153, 0, .88); }

.tss-review-mode-note {
	margin: 18px 0 0;
	padding: 12px 14px;
	border-left: 4px solid #74101d;
	background: #fff8f2;
	color: #4f4944;
	font-size: 14px;
}

.single-product .tss-opening-product-notice { display: none; }

@media (max-width: 600px) {
	.tss-secure-checkout-panel { padding: 18px 16px; }
	.tss-card-mark { min-width: 64px; height: 36px; }
}

/* Keep the mandatory age confirmation usable on narrow and enlarged-text screens. */
.age-gate,
.age-gate-panel,
.age-gate-actions { box-sizing: border-box; }

@media (max-width: 480px) {
	.age-gate { padding: 12px; }
	.age-gate-panel {
		width: 100%;
		min-width: 0;
		max-height: calc(100dvh - 24px);
		overflow-y: auto;
		padding: 26px 20px;
	}
	.age-gate-actions {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}
	.age-gate button,
	.age-gate a {
		width: 100%;
		white-space: normal;
		text-align: center;
	}
}

/* Discreet, consent-based email signup supported by the parent theme. */
.tss-email-signup {
	padding: clamp(42px, 7vw, 76px) 20px;
	background: #171716;
	color: #fff;
}

.tss-email-signup-shell {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
	gap: clamp(28px, 6vw, 72px);
	align-items: center;
	width: min(1120px, 100%);
	margin: 0 auto;
}

.tss-email-signup-copy h2 {
	margin: 8px 0 14px;
	color: #fff;
	font-size: clamp(32px, 5vw, 54px);
	line-height: 1;
}

.tss-email-signup-copy p:last-child {
	max-width: 560px;
	margin: 0;
	color: #ded8d1;
	font-size: 17px;
	line-height: 1.6;
}

.tss-email-signup-kicker {
	margin: 0;
	color: #e6b7bd;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.tss-email-signup-form {
	padding: clamp(22px, 4vw, 34px);
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .06);
}

.tss-email-signup-email {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 800;
}

.tss-email-signup-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

.tss-email-signup-row input[type="email"] {
	min-width: 0;
	height: 50px;
	padding: 0 14px;
	border: 1px solid #bfb7ae;
	border-radius: 0;
	background: #fff;
	color: #171716;
	font: inherit;
}

.tss-email-signup-row button {
	min-height: 50px;
	padding: 0 22px;
	border: 1px solid #f7f3ed;
	border-radius: 0;
	background: #f7f3ed;
	color: #171716;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.tss-email-signup-row button:hover,
.tss-email-signup-row button:focus-visible {
	background: #e6b7bd;
	border-color: #e6b7bd;
}

.tss-email-signup-consent {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	margin-top: 16px;
	color: #ded8d1;
	font-size: 13px;
	line-height: 1.5;
}

.tss-email-signup-consent input {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
}

.tss-email-signup-privacy {
	margin: 12px 0 0;
	color: #bfb7ae;
	font-size: 12px;
}

.tss-email-signup-privacy a { color: #fff; }
.tss-email-signup-honeypot { position: absolute; left: -9999px; }
.tss-email-signup-message {
	grid-column: 1 / -1;
	margin: 0;
	padding: 13px 16px;
	border-left: 4px solid #e6b7bd;
	background: rgba(255, 255, 255, .09);
}
.tss-email-signup-message-error { border-left-color: #ffb49e; }

@media (max-width: 760px) {
	.tss-email-signup-shell { grid-template-columns: minmax(0, 1fr); }
	.tss-email-signup-row { grid-template-columns: minmax(0, 1fr); }
	.tss-email-signup-row button { width: 100%; }
}

/* Learn library layout and header legibility, approved September 11, 2026. */
.header-route-row a:nth-child(-n+10){
	border-bottom:1px solid #4b4742;
}

@media (min-width:481px){
	.header-route-row a{
		min-height:68px;
		padding:16px 12px;
		font-size:clamp(18px,1.35vw,20px);
		line-height:1.15;
		letter-spacing:.035em;
	}
}

.tss-learn-page .preview-section{
	padding:clamp(56px,7vw,82px) 0;
}

.tss-learn-heading{
	align-items:flex-end;
	margin-bottom:34px;
}

.tss-learn-heading > div{
	min-width:0;
}

.tss-learn-heading .preview-kicker{
	margin:0 0 10px;
}

.tss-learn-heading h2{
	margin:0;
	font-size:clamp(40px,5vw,58px);
}

.tss-learn-heading > p{
	max-width:430px;
	margin:0;
	color:#6f6962;
	font-size:17px;
	line-height:1.55;
}

body .tss-learn-page .preview-guide h2{
	font-size:clamp(28px,3vw,34px);
	line-height:1.1;
}

.tss-reference-guide-grid{
	grid-template-columns:repeat(3,minmax(0,1fr));
}

.tss-start-guide-grid{
	grid-template-columns:repeat(2,minmax(0,1fr));
}

@media (max-width:820px){
	.tss-learn-heading{
		display:block;
	}
	.tss-learn-heading > p{
		margin-top:14px;
	}
	.tss-reference-guide-grid,
	.tss-start-guide-grid{
		grid-template-columns:1fr;
	}
}

@media (max-width:480px){
	.header-route-row a:nth-child(-n+10){
		border-bottom:1px solid #4b4742;
	}
	.tss-learn-heading h2{
		font-size:38px;
	}
}

/* Keep department navigation readable and tap-friendly on phones. */
@media (max-width:480px){
	.header-route-row a:nth-child(n){
		min-height:56px;
		padding:9px 8px;
		font-size:13px;
		line-height:1.25;
		letter-spacing:.02em;
		overflow-wrap:anywhere;
	}
}

/* Keep the Cart block checkout action available on large screens. */
.wc-block-cart.is-large .wc-block-cart__submit-container--sticky {
  display: block;
  position: static;
  width: auto;
  padding: 0;
  background: transparent;
}
.wc-block-cart.is-large .wc-block-cart__submit-container--sticky::before {
  content: none;
}


/* Site-wide contact path and question form. */
.tss-contact-banner {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid rgba(255, 255, 255, .28);
	background: #74101d;
	color: #fff;
}
.tss-contact-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: min(1160px, calc(100% - 36px));
	min-height: 52px;
	margin: 0 auto;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
}
.tss-contact-banner a { color: #fff; }
.tss-contact-banner__inner > span a { text-underline-offset: 3px; }
.tss-contact-banner__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 7px 14px;
	border: 1px solid #f5f0e8;
	background: #f5f0e8;
	color: #171716 !important;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}
.tss-contact-banner__button:hover,
.tss-contact-banner__button:focus-visible { background: #fff; }

.tss-contact-section {
	padding: clamp(52px, 7vw, 86px) 0;
	background: #f5f0e8;
}
.tss-contact-card {
	width: min(780px, 100%);
	margin: 0 auto;
	padding: clamp(26px, 5vw, 48px);
	border: 1px solid #d8d0c6;
	border-top: 6px solid #74101d;
	background: #fff;
	box-shadow: 0 18px 48px rgba(23, 23, 22, .09);
}
.tss-contact-card h2 {
	margin: 8px 0 12px;
	font-size: clamp(34px, 5vw, 52px);
}
.tss-contact-card > p { max-width: 620px; }
.tss-contact-form { margin-top: 28px; }
.tss-contact-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}
.tss-contact-form p { margin: 0 0 18px; }
.tss-contact-form label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 800;
}
.tss-contact-form label span { color: #6f6962; font-weight: 400; }
.tss-contact-form input,
.tss-contact-form textarea {
	width: 100%;
	border: 1px solid #968e83;
	border-radius: 0;
	background: #fff;
	color: #171716;
	font: inherit;
}
.tss-contact-form input { min-height: 48px; padding: 10px 12px; }
.tss-contact-form textarea { min-height: 150px; padding: 12px; resize: vertical; }
.tss-contact-form .button { margin: 2px 0 0; }
.tss-contact-privacy {
	margin: 16px 0 0 !important;
	color: #6f6962;
	font-size: 12px;
}
.tss-contact-honeypot { position: absolute; left: -9999px; }
.tss-contact-message {
	margin: 22px 0 0 !important;
	padding: 13px 15px;
	border-left: 4px solid #74101d;
	background: #f6f3ee;
}
.tss-contact-message--error { border-left-color: #b7472f; }

@media (max-width: 640px) {
	.tss-contact-banner__inner {
		display: grid;
		gap: 9px;
		width: min(100% - 24px, 1160px);
		padding: 11px 0 12px;
		text-align: center;
	}
	.tss-contact-banner__button { width: 100%; }
	.tss-contact-fields { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
