/*
Theme Name: Bottle Jar Store – Moved to The Pack Stock
Description: Single landing page announcing that The Bottle Jar Store is now The Pack Stock (thepackstock.com). No navigation, legal-only footer.
Version: 1.8
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bjs-landing
*/

:root {
	/* The Pack Stock palette. The Bottle Jar Store blue lives only in the logo image. */
	--accent: #d20000;
	--accent-dark: #a80000;
	--ink: #232323;
	--muted: #575757;
	--line: #eeeeee;
	--bg: #ffffff;
	--bg-soft: #f4f4f4;
	--bg-deep: #1f1f1f;
	--radius: 16px;
	--wrap: 1120px;
	--font: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); }
a:hover { color: var(--accent); }

/* "The Pack Stock" name */
.ps { color: var(--accent); }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 20px;
}

.skip-link {
	position: absolute;
	left: -9999px;
}
.skip-link:focus {
	left: 16px;
	top: 16px;
	background: #fff;
	padding: 8px 14px;
	z-index: 100;
}

/* ---------- Header ---------- */
.site-header {
	border-bottom: 1px solid var(--line);
	background: #fff;
}
.site-header .wrap {
	display: flex;
	justify-content: center;
	padding-top: 18px;
	padding-bottom: 18px;
}
.site-logo img { width: 150px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: 15px 30px;
	border-radius: 25px;
	font-weight: 500;
	font-size: 1rem;
	text-decoration: none;
	transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { color: var(--accent); border: 2px solid var(--accent); }
.btn--ghost:hover { background: var(--accent); color: #fff; }
.btn svg { width: 18px; height: 18px; }

.eyebrow {
	display: inline-block;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 14px;
}

/* ---------- Notice bar ---------- */
.notice-bar {
	background: #000;
	color: #fff;
	text-align: center;
	font-size: .85rem;
	line-height: 1.5;
	padding: 8px 20px;
}
.notice-bar a {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 12px;
	border-radius: 25px;
	background: var(--accent);
	color: #fff;
	font-weight: 500;
	text-decoration: none;
}
.notice-bar a:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background-color: #fff;
	background-image:
		linear-gradient(180deg, rgba(255, 255, 255, .80) 0%, rgba(255, 255, 255, .88) 100%),
		var(--hero-img);
	background-size: cover;
	background-position: center;
	padding: 96px 0 88px;
	text-align: center;
}
.hero__lead {
	font-size: 1.2rem;
	color: var(--muted);
	max-width: 640px;
	margin: 0 auto 32px;
}
.hero__flow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	flex-wrap: wrap;
	margin: 0 auto 36px;
	font-weight: 700;
}
.hero__flow .old { color: #7b7b7b; font-weight: 400; }
.hero__flow .new {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 18px;
	color: var(--accent);
}
.hero__flow svg { width: 26px; height: 26px; color: var(--accent); }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__url { margin-top: 22px; font-size: .95rem; color: var(--muted); }

/* Discount banner */
.promo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-top: 32px;
	padding: 10px 10px 10px 12px;
	background: #fff;
	border: 1px dashed var(--accent);
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}
.promo__badge {
	background: var(--accent);
	color: #fff;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
}
.promo__text { margin: 0; font-size: .98rem; }
.promo__code {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 8px 7px 16px;
	border: 0;
	border-radius: 999px;
	background: var(--bg-deep);
	color: #fff;
	font: inherit;
	font-weight: 700;
	letter-spacing: .08em;
	cursor: pointer;
}
.promo__code small {
	background: rgba(255, 255, 255, .16);
	border-radius: 999px;
	padding: 3px 10px;
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: 0;
}
.promo__code:hover small { background: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); }

.two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}
.two-col p { color: var(--muted); }
.two-col strong { color: var(--ink); }

/* ---------- Features ---------- */
.features {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.feature {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 24px;
}
.feature__icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--bg-soft);
	color: var(--ink);
	display: grid;
	place-items: center;
	margin-bottom: 18px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { text-transform: capitalize; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Stats ---------- */
.stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	text-align: center;
	margin-top: 56px;
}
.stat {
	border-top: 3px solid var(--ink);
	padding-top: 20px;
}
.stat__num { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; color: var(--ink); line-height: 1; }
.stat__label { color: var(--muted); margin-top: 8px; }

/* ---------- Quote ---------- */
.pull-quote {
	border-left: 4px solid var(--ink);
	padding: 4px 0 4px 22px;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--ink);
	margin: 0 0 24px;
}
.highlight {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px;
}

/* ---------- Range cards ---------- */
.range {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.range__card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 36px;
	display: flex;
	flex-direction: column;
}
.range__card p { color: var(--muted); flex: 1; }
.range__card .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- Testimonials ---------- */
.rating-summary {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 18px;
	margin: 0;
	color: var(--ink);
	font-size: .95rem;
}
.rating-summary__stars { color: #f5b301; letter-spacing: 2px; }
.rating-summary a { text-decoration: none; font-weight: 500; }
.slider { position: relative; }
.testimonials {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 4px 2px;
}
.testimonials::-webkit-scrollbar { display: none; }
.testimonial {
	flex: 0 0 calc((100% - 40px) / 3);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
	margin: 0;
}
.testimonial blockquote { flex: 1; }
.slider__btn {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	color: var(--ink);
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
	transition: background .2s, color .2s, opacity .2s;
}
.slider__btn svg { width: 20px; height: 20px; }
.slider__btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }
.slider__btn:disabled { opacity: 0; pointer-events: none; }
.slider__btn--prev { left: -22px; }
.slider__btn--prev svg { transform: rotate(180deg); }
.slider__btn--next { right: -22px; }
.testimonial h3 { font-size: 1.05rem; }
.testimonial blockquote { margin: 0 0 16px; color: var(--muted); }
.testimonial figcaption { font-weight: 500; }
.testimonial__source {
	display: block;
	font-size: .8rem;
	font-weight: 400;
	color: var(--muted);
}

/* ---------- CTA ---------- */
.cta {
	background: var(--bg-deep);
	color: #fff;
	text-align: center;
	padding: 80px 0;
}
.cta .eyebrow { color: #a9a9a9; }
.cta p { color: #e5e5e5; max-width: 560px; margin: 0 auto 30px; }

/* ---------- Support form ---------- */
.contact__grid {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 56px;
	align-items: start;
}
.contact__intro p { color: var(--muted); }
.contact__direct a { color: var(--accent); font-weight: 500; }
.contact__form {
	background: var(--bg-soft);
	border-radius: var(--radius);
	padding: 32px;
}
.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.field { display: block; margin-bottom: 16px; }
.field span {
	display: block;
	font-size: .88rem;
	font-weight: 500;
	margin-bottom: 6px;
}
.field input,
.field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d6d6d6;
	border-radius: 6px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 3px rgba(35, 35, 35, .12);
}
.consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: .88rem;
	color: var(--muted);
	margin: 4px 0 22px;
}
.consent input { margin-top: 4px; accent-color: var(--accent); }
.contact__form .btn { border: 0; cursor: pointer; font-family: inherit; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg {
	border-radius: 6px;
	padding: 14px 16px;
	margin-bottom: 20px;
	font-size: .95rem;
}
.form-msg--ok { background: #e8f5ee; color: #14532d; }
.form-msg--error { background: #fdecec; color: #8a0000; }

/* ---------- Footer ---------- */
.site-footer {
	background: #000;
	color: #a9a9a9;
	font-size: .88rem;
	padding: 32px 0;
}
.site-footer .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}
.site-footer p { margin: 0; }
.site-footer a { color: #e5e5e5; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer a:hover { text-decoration: underline; }
.legal-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
}

/* ---------- Generic page (legal pages) ---------- */
.page-content { padding: 64px 0; }
.page-content .wrap { max-width: 820px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.features { grid-template-columns: 1fr 1fr; }
	.two-col { grid-template-columns: 1fr; gap: 32px; }
	.contact__grid { grid-template-columns: 1fr; gap: 28px; }
	.testimonial { flex-basis: calc((100% - 20px) / 2); }
	.slider__btn--prev { left: -6px; }
	.slider__btn--next { right: -6px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.hero { padding: 56px 0 52px; background-image: linear-gradient(180deg, rgba(255, 255, 255, .84) 0%, rgba(255, 255, 255, .90) 100%), var(--hero-img-sm); }
	.section, .cta { padding: 56px 0; }
	.features, .range { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr; gap: 28px; }
	.range__card, .testimonial { padding: 22px; }
	.rating-summary { border-radius: var(--radius); padding: 12px 16px; }
	.testimonial { flex-basis: 85%; }
	.slider__btn { display: none; }
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.contact__form { padding: 22px; }
	.site-footer .wrap { flex-direction: column; text-align: center; }
	.legal-menu { justify-content: center; }
	.btn { width: 100%; justify-content: center; }
	.range__card .btn { align-self: stretch; }
	.promo { border-radius: var(--radius); padding: 14px; flex-direction: column; }
}
