/* Shared site chrome (header / drawer / footer) for *4 pages */

:root {
  --red: #c8102e;
  --red-deep: #8f0b20;
  --red-hot: #e11d3a;
  --ink: #0d0d0f;
  --paper: #ffffff;
  --pad: clamp(1rem, 3.5vw, 2.5rem);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Bebas Neue", Impact, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-pill: 999px;
  --glass: rgba(20, 20, 24, 0.55);
  --glass-border: rgba(255, 255, 255, 0.14);
}

.hours-tip {
  position: relative;
}

.hours-tip-btn {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: #fff;
  cursor: pointer;
}

.hours-tip-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}

.hours-tip-btn:hover,
.hours-tip:focus-within .hours-tip-btn {
  background: #fff;
  color: var(--red);
}

.hours-tip-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  z-index: 60;
  display: none;
  min-width: 11.5rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.75rem;
  background: #15171d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  color: #fff;
}

.hours-tip--header .hours-tip-panel {
  left: auto;
  right: 0;
}

.hours-tip-panel strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hours-tip-panel span {
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  color: #fff;
}

.hours-tip:hover .hours-tip-panel,
.hours-tip:focus-within .hours-tip-panel {
  display: grid;
  gap: 0.2rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem 0.85rem;
  min-height: 3.25rem;
  padding: 0.35rem var(--pad);
  background: rgba(13, 13, 15, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  color: #fff;
}

.logo {
  display: inline-flex;
  align-items: center;
  z-index: 2;
  line-height: 0;
}

.logo-img {
  width: auto;
  height: clamp(1.4rem, 2.2vw, 1.65rem);
  display: block;
}

.nav-pill {
  justify-self: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.05rem;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-pill a {
  padding: 0.38rem 0.65rem;
  border-radius: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-pill a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-self: end;
}

.header-phone {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  color: #fff;
}

.hours-tip--header {
  display: block;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(200, 16, 46, 0.28);
  transition: transform 0.2s, background 0.2s;
}

.btn-login:hover {
  background: var(--red-hot);
  transform: translateY(-1px);
}

.chrome-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.15rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.chrome-cart-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.chrome-cart-btn svg {
  width: 1rem;
  height: 1rem;
}

.chrome-cart-btn em {
  position: absolute;
  top: -0.28rem;
  right: -0.22rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.chrome-cart-btn.is-bump {
  animation: chromeCartBump 0.45s var(--ease);
}

@keyframes chromeCartBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.12); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.burger {
  display: none;
  position: relative;
  z-index: 70;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1rem;
  height: 2px;
  margin-left: -0.5rem;
  background: #fff;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.burger span:first-child {
  transform: translateY(-3.5px);
}

.burger span:last-child {
  transform: translateY(3.5px);
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(0) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(0) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  justify-content: flex-end;
  padding: 3.5rem 0.65rem 0.75rem;
  background: rgba(8, 8, 10, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.drawer[hidden] {
  display: none !important;
}

.drawer-panel {
  width: min(100%, 18.5rem);
  max-height: calc(100svh - 4.1rem);
  margin-left: auto;
  padding: 0.55rem;
  border-radius: 1rem;
  background: rgba(18, 18, 22, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  overflow: auto;
}

.drawer a {
  display: block;
  padding: 0.62rem 0.75rem;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0;
  border-radius: 0.65rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.drawer a:not(.drawer-cta):hover,
.drawer a:not(.drawer-cta):active {
  background: rgba(255, 255, 255, 0.07);
}

.drawer-cta {
  margin-top: 0.35rem;
  text-align: center;
  border-radius: var(--radius-pill) !important;
  background: var(--red);
  color: #fff !important;
  padding: 0.7rem 0.9rem !important;
  font-family: var(--font) !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  width: auto;
}

.drawer-meta {
  margin-top: 0.55rem;
  padding: 0.65rem 0.7rem 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.35;
}

.drawer-meta a {
  border: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.drawer-meta p {
  margin: 0;
}

.drawer-socials {
  display: flex;
  gap: 0.4rem;
  padding-top: 0.15rem;
}

.drawer-socials a {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #fff;
}

.drawer-socials svg {
  width: 1.15rem;
  height: 1.15rem;
}

body.is-drawer-open .header {
  z-index: 70;
}


.footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
  padding: 2.5rem var(--pad) 1.25rem;
  background: #0a0a0c;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand p {
  margin: 0.55rem 0 0;
  font-weight: 600;
}

.footer-nav-wrap {
  display: grid;
  gap: 1rem;
}

.footer-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-group {
  position: relative;
}

.footer-group-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.footer-group-btn::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.footer-group:hover .footer-group-btn,
.footer-group-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.footer-group-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 0.45rem);
  z-index: 20;
  min-width: 11.5rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141418;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.footer-group-panel a {
  padding: 0.45rem 0.55rem;
  border-radius: 0.55rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 650;
  font-size: 0.84rem;
  text-decoration: none;
}

.footer-group-panel a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffb0bc;
}

.footer-group:hover .footer-group-panel,
.footer-group-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer-group:hover .footer-group-btn::after,
.footer-group-btn[aria-expanded="true"]::after {
  transform: rotate(-135deg) translateY(-1px);
}

.footer-nav {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}

.footer-nav a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #ffb0bc;
}

.footer-meta {
  display: grid;
  gap: 0.45rem;
  justify-self: end;
  text-align: right;
}

.footer-meta a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.footer-hours {
  display: grid;
  gap: 0.15rem;
  font-size: 0.82rem;
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
}

.footer-socials a {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
}

.footer-socials svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0.35rem 0 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  opacity: 0.55;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-legal a:hover {
  color: #ff8fa0;
}

@media (max-width: 1100px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 960px) {
  .nav-pill {
    display: none;
  }

  .burger {
    display: block;
  }

  .hours-tip--header {
    display: none;
  }

  .chrome-cart-btn span {
    display: none;
  }

  .chrome-cart-btn {
    padding: 0.4rem 0.55rem;
    min-width: 2.15rem;
    justify-content: center;
  }

  .btn-login {
    min-height: 2.15rem;
    padding: 0.4rem 0.75rem;
  }

  .header {
    grid-template-columns: 1fr auto;
    min-height: 3.1rem;
    padding: 0.3rem var(--pad);
  }

  .drawer {
    padding: 3.35rem 0.55rem 0.65rem;
  }

  .drawer-panel {
    width: min(100%, 17.25rem);
    max-height: calc(100svh - 3.9rem);
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    justify-self: start;
    text-align: left;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  .footer-group-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 0.35rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
  }

  .footer-group-panel.is-open {
    display: grid;
  }

  .footer-group:hover .footer-group-panel {
    display: none;
  }

  .footer-group:hover .footer-group-panel.is-open {
    display: grid;
  }
}

@media (max-width: 640px) {
  .header-right {
    gap: 0.35rem;
  }

  .drawer a {
    padding: 0.55rem 0.65rem;
    font-size: 0.88rem;
  }

  .drawer-cta {
    padding: 0.62rem 0.8rem !important;
  }
}
