/* ==========================================================================
   Riptide Peps — main stylesheet
   Navy base + brushed-steel structure, red reserved for action/alert.
   Poppins throughout, clipped-corner geometry.
   ========================================================================== */

:root {
	--navy: #0E2240;
	--navy-deep: #081426;
	--accent: #D9403F;      /* action/alert only — overridable via Customizer */
	--accent-dark: #B23130;
	--steel: #AAB4C0;       /* brushed-steel accent, tuned to the trident mark */
	--steel-light: #DCE2E8;
	--steel-dark: #55606E;
	--ink: #111827;
	--gray: #6b7280;
	--light: #EEF1F4;       /* cool-tinted so greys read as intentional */
	--white: #ffffff;
	--font-head: "Poppins", sans-serif;
	--font-body: "Poppins", sans-serif;
	--clip: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
}

h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--navy);
	line-height: 1.15;
	margin: 0 0 .5em;
}
h1 { font-size: 42px; font-weight: 800; }
h2 { font-size: 36px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 800px; }
.center { text-align: center; margin-top: 32px; }

.section { padding: 72px 0; }
.section--alt { background: var(--light); }

.eyebrow {
	display: inline-block;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--steel-dark);
	margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Buttons — clipped corners
   -------------------------------------------------------------------------- */
.btn {
	display: inline-block;
	font-family: var(--font-head);
	font-weight: 700;
	text-transform: capitalize;
	padding: 14px 34px;
	border: none;
	cursor: pointer;
	clip-path: var(--clip);
	transition: background .2s ease, color .2s ease;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.btn--secondary { background: var(--navy); color: var(--white); }
.btn--secondary:hover { background: var(--navy-deep); color: var(--white); }
.btn--lg { padding: 18px 48px; font-size: 18px; }

/* --------------------------------------------------------------------------
   RUO marquee banner
   -------------------------------------------------------------------------- */
.ruo-marquee {
	background: var(--navy-deep);
	color: var(--white);
	overflow: hidden;
	font-size: 13px;
	padding: 7px 0;
	white-space: nowrap;
}
.ruo-marquee__track {
	display: inline-block;
	animation: marquee 30s linear infinite;
}
.ruo-marquee__track span { margin: 0 28px; letter-spacing: .06em; }
@keyframes marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.promo-banner {
	background: var(--accent);
	color: var(--white);
	text-align: center;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 14px;
	padding: 8px 16px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	background: var(--white);
	border-bottom: 1px solid var(--steel-light);
	position: sticky;
	top: 0;
	z-index: 500;
}
.site-header.is-stuck { box-shadow: 0 4px 18px rgba(8, 20, 38, .12); }
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 12px;
	padding-bottom: 12px;
}
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo img {
	height: 46px;
	width: auto;
	background: var(--navy-deep);
	clip-path: var(--clip);
	padding: 7px 13px;
	box-sizing: content-box;
}
.site-logo__text {
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 22px;
	color: var(--navy);
}

.nav-menu {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-menu a {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 15px;
	color: var(--navy);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-actions__link {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 14px;
	color: var(--navy);
}
.header-actions__cart { font-size: 18px; color: var(--navy); position: relative; }
.cart-count {
	background: var(--accent);
	color: var(--white);
	font-size: 11px;
	font-weight: 700;
	border-radius: 50%;
	padding: 1px 6px;
	position: relative;
	top: -8px;
	left: -6px;
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--navy);
	margin: 5px 0;
	transition: transform .2s ease, opacity .2s ease;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative;
	background:
		radial-gradient(ellipse at 22% 18%, rgba(200, 214, 228, .22), transparent 58%),
		radial-gradient(ellipse at 80% 82%, rgba(217, 64, 63, .14), transparent 52%),
		linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
	color: var(--white);
	text-align: center;
	padding: 110px 0;
}
/* Brushed-steel edge ties the hero to the mark's metallic finish. */
.hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--steel), transparent);
}
.hero h1 { color: var(--white); font-size: 52px; margin-bottom: 16px; }
.hero__sub {
	max-width: 640px;
	margin: 0 auto 36px;
	font-size: 18px;
	color: rgba(255, 255, 255, .82);
}

/* --------------------------------------------------------------------------
   Who We Are split
   -------------------------------------------------------------------------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 56px;
	align-items: center;
}
.split__media img {
	clip-path: var(--clip);
	background: var(--navy-deep);
	padding: 32px;
	display: block;
	margin: 0 auto;
	max-height: 460px;
	width: auto;
}

/* --------------------------------------------------------------------------
   Product grid
   -------------------------------------------------------------------------- */
.product-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 32px;
}
.product-card {
	background: var(--white);
	clip-path: var(--clip);
	padding: 16px;
	text-align: center;
	transition: transform .2s ease;
}
.product-card:hover { transform: translateY(-4px); }
.product-card__img { display: block; position: relative; margin-bottom: 12px; }
.product-card h3 { font-size: 16px; margin: 0 0 6px; }
.product-card h3 a { color: var(--navy); }
.product-card__price { font-weight: 600; font-size: 15px; }
.login-to-see { font-size: 14px; font-weight: 600; }

.badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: var(--accent);
	color: var(--white);
	font-family: var(--font-head);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	padding: 3px 10px;
	clip-path: var(--clip);
}
.badge--out { background: var(--gray); left: auto; right: 8px; }

/* --------------------------------------------------------------------------
   Stats row
   -------------------------------------------------------------------------- */
.stats { background: var(--navy); }
.stats__row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}
.stat__num {
	display: block;
	font-family: var(--font-head);
	font-size: 44px;
	font-weight: 800;
	color: var(--steel-light);
}
.stat__label {
	color: rgba(255, 255, 255, .8);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .1em;
}

/* --------------------------------------------------------------------------
   Feature cards
   -------------------------------------------------------------------------- */
.feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 32px;
}
.feature-card {
	background: var(--white);
	clip-path: var(--clip);
	padding: 28px 22px;
	border-top: 3px solid var(--steel);
}
.feature-card p { font-size: 14px; color: var(--gray); margin: 0; }

/* --------------------------------------------------------------------------
   Disclaimer box
   -------------------------------------------------------------------------- */
.disclaimer-box {
	border: 2px solid var(--accent);
	clip-path: var(--clip);
	background: #fdf3f3;
	padding: 28px 32px;
}
.disclaimer-box h3 { color: var(--accent-dark); }
.disclaimer-box p { margin: 0; font-size: 14px; }
.ruo-product-note {
	color: var(--accent-dark);
	font-weight: 600;
	font-size: 14px;
	border-left: 3px solid var(--accent);
	padding-left: 10px;
}
.rp-product-description {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--steel-light);
	font-size: 14px;
	line-height: 1.75;
	color: var(--gray);
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq-item {
	border-bottom: 1px solid var(--steel-light);
	padding: 4px 0;
}
.faq-item summary {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 17px;
	color: var(--navy);
	cursor: pointer;
	padding: 16px 0;
	list-style: none;
	position: relative;
	padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	color: var(--accent);
	font-size: 22px;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0 0 16px; color: var(--gray); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--navy-deep);
	color: rgba(255, 255, 255, .8);
	padding-top: 64px;
	font-size: 14px;
}
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
}
.site-footer h4 {
	color: var(--white);
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .1em;
	margin-bottom: 16px;
}
.footer-logo { height: 150px; width: auto; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: rgba(255, 255, 255, .8); }
.footer-menu a:hover { color: var(--accent); }
.footer-disclaimer {
	border-top: 1px solid rgba(255, 255, 255, .12);
	padding-top: 24px;
	padding-bottom: 24px;
	font-size: 12px;
	color: rgba(255, 255, 255, .55);
}
.footer-bottom {
	background: rgba(0, 0, 0, .3);
	padding: 16px 0;
	font-size: 12px;
}
.footer-bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Age gate
   -------------------------------------------------------------------------- */
.age-gate[hidden] { display: none; }
.age-gate {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(8, 20, 38, .96);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	overflow-y: auto;
}
.age-gate__panel {
	background: var(--white);
	clip-path: var(--clip);
	max-width: 520px;
	width: 100%;
	padding: 40px;
	text-align: center;
}
.age-gate__logo {
	height: 150px;
	width: auto;
	margin-bottom: 16px;
	background: var(--navy-deep);
	clip-path: var(--clip);
	padding: 18px 26px;
	box-sizing: content-box;
}
.age-gate__panel form { text-align: left; margin-top: 20px; }
.age-gate__panel label {
	display: block;
	font-size: 13px;
	margin-bottom: 12px;
	cursor: pointer;
}
.age-gate__panel input[type="checkbox"] { margin-right: 8px; }
.age-gate__panel .btn { width: 100%; margin-top: 12px; }
.age-gate__leave {
	display: inline-block;
	margin-top: 16px;
	font-size: 13px;
	color: var(--gray);
}
body.age-gate-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   WooCommerce polish
   -------------------------------------------------------------------------- */
.woo-wrap { padding-top: 40px; padding-bottom: 40px; }

/* Single product: replace WooCommerce's float layout with flexbox */
.woocommerce div.product {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: flex-start;
}
.woocommerce div.product .woocommerce-product-gallery {
	flex: 0 0 44%;
	max-width: 44%;
	float: none;
	width: auto;
}
.woocommerce div.product .summary.entry-summary {
	flex: 1 1 0;
	float: none;
	width: auto;
	overflow-wrap: break-word;
	word-wrap: break-word;
	min-width: 0;
}
.woocommerce ul.products li.product {
	background: var(--white);
	clip-path: var(--clip);
	padding: 16px;
	text-align: center;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	background: var(--accent);
	color: var(--white);
	font-family: var(--font-head);
	font-weight: 700;
	border-radius: 0;
	clip-path: var(--clip);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
	background: var(--accent-dark);
	color: var(--white);
}
.woocommerce span.onsale {
	background: var(--accent);
	border-radius: 0;
	clip-path: var(--clip);
}

/* --------------------------------------------------------------------------
   Entries
   -------------------------------------------------------------------------- */
.entry__meta { color: var(--gray); font-size: 13px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.product-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
	.stats__row { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	h1 { font-size: 32px; }
	h2 { font-size: 27px; }
	.hero { padding: 70px 0; }
	.hero h1 { font-size: 36px; }
	.split { grid-template-columns: 1fr; gap: 32px; }
	.section { padding: 48px 0; }

	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--white);
		border-bottom: 1px solid var(--light);
		padding: 16px 20px;
	}
	.site-nav.is-open { display: block; }
	.nav-menu { flex-direction: column; gap: 0; }
	.nav-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--light); }
}

@media (max-width: 520px) {
	.product-grid, .feature-grid { grid-template-columns: 1fr; }
	.stats__row { grid-template-columns: 1fr 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.age-gate__panel { padding: 28px 20px; }
}
