/* ==========================================================================
   Right Chews -- site chrome, 2026-08 restyle.
   Loaded AFTER css/style.css and deliberately overrides its header/footer.
   Gives every page the white nav with centred tabs, the login/cart pill,
   and the cutout-product treatment introduced on the home page.
   ========================================================================== */

:root {
  --rc-orange: #E8621B;
  --rc-orange-lt: #F07A38;
  --rc-gold: #FFC93C;
  --rc-ink: #1A1A1A;
  --rc-cocoa: #22150C;
  --rc-muted: #555;
  --rc-line: #ECECEC;
  --rc-cream: #FAF7F3;
}

body {
  background: #FFF;
  color: var(--rc-ink);
  -webkit-font-smoothing: antialiased;
}

/* --------------------------------------------------------- cookie cursor */
/* Native `cursor` rather than a JS follower: no lag, and clicks still land
   exactly where the pointer is. Hotspot is centred on the cookie. Phones have
   no cursor, so this is a desktop-only flourish and costs mobile nothing. */
/* !important because the page-level stylesheets set `cursor: pointer` with
   class selectors, which outrank these element selectors. */
body {
  cursor: url('../images/cursor-cookie.png') 22 19, auto !important;
}
a, button, summary, select, label,
input[type="submit"], input[type="button"], input[type="checkbox"], input[type="radio"] {
  cursor: url('../images/cursor-cookie-bite.png') 22 19, pointer !important;
}
/* Typing needs a real caret -- a cookie over a text field hides where you are */
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="search"], input[type="password"], input:not([type]), textarea {
  cursor: text !important;
}

/* --------------------------------------------------------------- shipping */

.shipping-bar {
  background: #171310;
  color: #EDE7E1;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: .78rem;
  letter-spacing: .02em;
  text-align: center;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.shipping-bar__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--rc-orange); flex: none;
}

/* -------------------------------------------------------------------- nav */

.nav {
  background: #FFF;
  position: sticky; top: 0; z-index: 60;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.nav.is-stuck { border-bottom-color: var(--rc-line); box-shadow: 0 2px 18px rgba(0,0,0,.05); }

.nav .container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }

.nav__inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 24px; padding: 14px 0;
}

.nav__logo { display: block; }
.nav__logo img { width: 128px; height: auto; }

.nav__links { display: flex; align-items: center; gap: 34px; justify-self: center; }
.nav__link {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.02rem; font-weight: 500; letter-spacing: .045em;
  text-transform: uppercase; color: #23180F; text-decoration: none;
  position: relative; padding: 4px 0; white-space: nowrap;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--rc-orange);
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms ease;
}
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }

.nav__actions {
  justify-self: end;
  display: flex; align-items: center; gap: 14px;
  background: #F5F5F5; border-radius: 6px; padding: 10px 18px;
}
.nav__login {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .92rem; font-weight: 500;
  color: #23180F; text-decoration: none;
  border: 1px solid #E2C7A8; border-radius: 999px;
  padding: 8px 26px; background: #FFF;
  transition: border-color 180ms ease, color 180ms ease;
}
.nav__login:hover { border-color: var(--rc-orange); color: var(--rc-orange); }

.nav__cart, .nav__cart-btn { position: relative; color: #3A2A1C; display: flex; }
.nav__cart-badge {
  position: absolute; top: -6px; right: -8px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--rc-orange); color: #FFF;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .65rem; font-weight: 700;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
}

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  padding: 6px; color: #23180F; justify-self: end;
}

/* The old full-bleed photo hero with its duplicate logo + tab strip is
   replaced by the nav above. Hide it wherever it is still in the markup. */
.site-hero, .home-hero, .hero-nav { display: none !important; }

/* ------------------------------------------------------------ page header */

.page-header {
  text-align: center;
  padding: 62px 28px 44px;
  background: #FFF;
}
.page-header__label {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--rc-orange); margin-bottom: 12px;
}
.page-header__title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800;
  color: var(--rc-cocoa); line-height: 1.12; margin: 0 0 14px;
}
.page-header__sub {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1rem; line-height: 1.65; color: var(--rc-muted);
  max-width: 560px; margin: 0 auto;
}

/* ---------------------------------------------------------------- buttons */

.rc-btn {
  display: inline-block;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: .82rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; text-decoration: none;
  color: #FFF; background: var(--rc-orange);
  padding: 12px 38px; border-radius: 4px;
  transition: background 180ms ease, transform 180ms ease;
}
.rc-btn:hover { background: var(--rc-orange-lt); transform: translateY(-2px); }

.rc-btn--dark {
  color: var(--rc-gold); background: var(--rc-cocoa);
  border: 3px solid var(--rc-orange); border-radius: 12px;
  padding: 14px 40px; font-size: 1.05rem; font-weight: 600; letter-spacing: .05em;
}
.rc-btn--dark:hover { background: #2E1C10; }

/* ----------------------------------------------------------- cutout media */

.rc-cutout {
  filter: drop-shadow(0 18px 15px rgba(60, 30, 8, .30));
  transition: transform 320ms cubic-bezier(.2,.7,.3,1), filter 320ms ease;
}
.rc-cutout:hover { transform: translateY(-8px) scale(1.03); }

/* ----------------------------------------------------------------- footer */

.rc-footer { background: #171310; color: #BEB2A6; padding: 56px 0 26px; font-size: .9rem; }
.rc-footer .container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.rc-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; margin-bottom: 38px; }
.rc-footer__brand-name {
  font-family: 'Montserrat', sans-serif; font-size: 1.3rem; font-weight: 800;
  color: #FFF; margin-bottom: 12px;
}
.rc-footer__brand-name span { color: var(--rc-orange); }
.rc-footer__tagline { line-height: 1.7; max-width: 340px; margin-bottom: 20px; }
.rc-footer__social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid #3A322B; border-radius: 50%;
  color: #BEB2A6; transition: border-color 180ms ease, color 180ms ease;
}
.rc-footer__social-btn:hover { border-color: var(--rc-orange); color: var(--rc-orange); }
.rc-footer__col-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #FFF; margin-bottom: 16px;
}
.rc-footer__links { list-style: none; padding: 0; margin: 0; }
.rc-footer__links li { margin-bottom: 10px; }
.rc-footer__links a { color: inherit; text-decoration: none; }
.rc-footer__links a:hover { color: var(--rc-orange); }
.rc-footer__bottom {
  border-top: 1px solid #2A241E; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .82rem; color: #8B8177;
}
.rc-footer__bottom a { color: inherit; text-decoration: none; }
.rc-footer__bottom a:hover { color: var(--rc-orange); }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1040px) {
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__toggle { display: block; }
  .nav__actions { display: none; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #FFF; border-bottom: 1px solid var(--rc-line);
    flex-direction: column; gap: 0; padding: 8px 0 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
  }
  .nav__links.open { display: flex; }
  .nav__link { padding: 13px 28px; width: 100%; text-align: center; }
  .nav__link::after { display: none; }
}

@media (max-width: 760px) {
  .nav .container, .rc-footer .container { padding: 0 20px; }
  .page-header { padding: 46px 20px 34px; }
  .rc-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
