/* Right Chews Foods — Shared Stylesheet */

:root {
  /* Light neutral palette matching rightchewsfoods.com */
  --brown-900: #111111; --brown-800: #1A1A1A;
  --brown-700: #333333; --brown-600: #555555; --brown-500: #777777;
  --cream-100: #FFFFFF; --cream-200: #F7F7F7; --cream-300: #EAEAEA;
  --orange: #D4622A; --orange-lt: #E07848;
  --gold: #C9A84C; --gold-lt: #D9BC72;
  --white: #FFFFFF; --text-muted: #999999;
  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 10px; --radius-xl: 4px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.07);
  --shadow-md: 0 8px 28px rgba(0,0,0,.10);
  --shadow-lg: 0 18px 50px rgba(0,0,0,.14);
  --nav-h: 88px; --transition: 220ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--cream-100); color: var(--brown-800);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin-inline: auto; padding-inline: clamp(16px,4vw,48px); }

/* ── Typography ─────────────────────────────────────────── */
.section-label {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px;
}
.heading-xl {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(2.2rem,5vw,4rem); font-weight: 900; line-height: 1.08; color: var(--brown-800);
}
.heading-lg {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1.7rem,3.5vw,2.6rem); font-weight: 700; line-height: 1.15; color: var(--brown-800);
}
.heading-md {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1.25rem,2vw,1.7rem); font-weight: 700; line-height: 1.25; color: var(--brown-800);
}
.heading-xl.on-dark, .heading-lg.on-dark, .heading-md.on-dark { color: var(--white); }
.body-lg { font-size: 1.1rem; line-height: 1.7; color: var(--brown-600); }
.body-md { font-size: .975rem; line-height: 1.65; color: var(--brown-600); }

/* ── Animate-in ─────────────────────────────────────────── */
.animate-in { opacity: 0; transform: translateY(22px); transition: opacity 600ms ease, transform 600ms ease; }
.animate-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .animate-in { opacity: 1; transform: none; transition: none; } }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-xl);
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), border-color var(--transition);
  cursor: pointer; border: 2px solid transparent; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 4px 20px rgba(212,98,42,.35); }
.btn-primary:hover { background: var(--orange-lt); box-shadow: 0 8px 28px rgba(212,98,42,.45); }
.btn-secondary { background: transparent; color: var(--brown-800); border-color: var(--brown-800); }
.btn-secondary:hover { background: var(--brown-800); color: var(--white); }
.btn-ghost { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.7); }
.btn-gold { background: var(--gold); color: var(--brown-900); box-shadow: 0 4px 20px rgba(201,168,76,.35); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ── Shipping bar ───────────────────────────────────────── */
.shipping-bar {
  background: #1A1A1A; color: rgba(255,255,255,.85);
  padding: 9px; text-align: center; font-size: 13px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.shipping-bar__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(255,255,255,.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cream-300); box-shadow: 0 2px 16px rgba(0,0,0,.05);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 28px rgba(44,26,14,.15); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; position: relative; }
.nav__logo { display: flex; align-items: center; padding: 12px 0; }
.nav__logo img { height: 64px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav__link {
  font-size: 14px; font-weight: 500; color: var(--brown-700);
  transition: color var(--transition); position: relative; padding: 4px 0;
}
.nav__link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--orange); transition: width var(--transition); border-radius: 2px;
}
.nav__link:hover { color: var(--orange); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link.active { color: var(--orange); }
.nav__actions { display: flex; align-items: center; gap: 6px; }
.nav__cart-btn {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-700); transition: background var(--transition), color var(--transition);
  position: relative;
}
.nav__cart-btn:hover { background: var(--cream-200); color: var(--orange); }
.nav__cart-badge {
  position: absolute; top: 4px; right: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange); color: var(--white); font-size: 10px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
}
.nav__cart-badge.show { display: flex; }
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer; background: none; border: none;
}
.nav__hamburger span {
  display: block; width: 22px; height: 2px; background: var(--brown-800);
  border-radius: 2px; transition: transform var(--transition), opacity var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none; flex-direction: column;
  position: absolute; top: calc(var(--nav-h) - 1px); left: 0; right: 0;
  background: var(--cream-100); border-top: 1px solid var(--cream-300);
  padding: 16px 24px 24px; box-shadow: 0 12px 40px rgba(44,26,14,.14); z-index: 10;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link { padding: 13px 0; border-bottom: 1px solid var(--cream-300); font-size: 15px; }
.nav__mobile .nav__link:last-child { border-bottom: none; }

/* ── Page header ────────────────────────────────────────── */
.page-header {
  padding: 56px 0 48px; text-align: center;
  background: linear-gradient(to bottom, var(--cream-200), var(--cream-100));
  border-bottom: 1px solid var(--cream-300);
}
.page-header__label {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.page-header__title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(2rem,4vw,2.8rem); font-weight: 900; color: var(--brown-800); line-height: 1.1;
}
.page-header__sub {
  font-size: 1rem; color: var(--text-muted); max-width: 480px;
  margin: 10px auto 0; line-height: 1.65;
}

/* ── Marquee ────────────────────────────────────────────── */
.marquee-section { background: var(--brown-800); overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 32px; white-space: nowrap;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.marquee-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Footer (light, matching rightchewsfoods.com) ───────── */
.rc-footer { background: var(--cream-200); color: #666; padding: 56px 0 32px; border-top: 1px solid var(--cream-300); }
.rc-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.rc-footer__brand-name { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; font-weight: 600; color: var(--brown-800); margin-bottom: 8px; }
.rc-footer__brand-name span { color: var(--orange); }
.rc-footer__tagline { font-size: .875rem; line-height: 1.6; max-width: 230px; }
.rc-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.rc-footer__social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: #FFFFFF; border: 1px solid var(--cream-300);
  display: flex; align-items: center; justify-content: center;
  color: #666; transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.rc-footer__social-btn:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }
.rc-footer__col-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-800); margin-bottom: 18px; }
.rc-footer__links { display: flex; flex-direction: column; gap: 12px; }
.rc-footer__links a { font-size: .875rem; color: #777; transition: color var(--transition); }
.rc-footer__links a:hover { color: var(--brown-800); }
.rc-footer__bottom {
  padding-top: 24px; border-top: 1px solid var(--cream-300);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; flex-wrap: wrap; gap: 12px;
}
.rc-footer__bottom a { color: #999; transition: color var(--transition); }
.rc-footer__bottom a:hover { color: var(--brown-800); }

/* ── Form elements ──────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--brown-700); margin-bottom: 7px; }
.form-label .req { color: var(--orange); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--cream-300); border-radius: var(--radius-sm);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 14px; color: var(--brown-800);
  background: var(--white); transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(212,98,42,.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A7060' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Value pill ─────────────────────────────────────────── */
.value-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--cream-200); color: var(--brown-700);
  font-size: 13px; font-weight: 600; padding: 7px 18px;
  border-radius: 100px; border: 1px solid var(--cream-300);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .rc-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .rc-footer__bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .page-header { padding: 40px 0 32px; }
}

/* ── Site Hero (original rightchewsfoods.com header, shared on all pages) ── */
.site-hero { position: relative; overflow: hidden; }
.site-hero__bg {
  width: 100%; height: clamp(380px, 60vh, 560px);
  object-fit: cover; object-position: center 48%; display: block;
}
.site-hero__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; pointer-events: none;
}
.site-hero__overlay img {
  width: clamp(120px, 14vw, 190px); height: auto;
  filter: drop-shadow(0 4px 18px rgba(255,255,255,.9)) drop-shadow(0 2px 8px rgba(0,0,0,.12));
}
.site-hero__tagline {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800; letter-spacing: .01em;
  color: #FFF; margin: 0; line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.6);
}
@media (max-width: 600px) {
  .site-hero__bg { height: 300px; object-position: center 58%; }
}

/* Hero nav tabs (under the tagline, like the original site) */
.hero-nav {
  display: flex; gap: 4px; margin-top: 16px;
  flex-wrap: wrap; justify-content: center;
  pointer-events: auto;
}
.hero-nav__link {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: #FFF;
  padding: 10px 17px; text-decoration: none;
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
  transition: background 180ms ease, color 180ms ease;
}
.hero-nav__link:hover { background: rgba(0,0,0,.28); }
.hero-nav__link.active { background: #FFE600; color: #1A1A1A; text-shadow: none; }
