:root {
  --navy: #0b2142;
  --red: #d21f26;
  --white: #fff;
  --ink: #111827;
  --muted: #6b7280;
  --blue: #1a3b6e;
  --gold: #ffd700;
  --radius: 18px;
  --max: 1200px;
  --shadow: 0 4px 12px rgba(0,0,0,.15);
  --glow-red: 0 0 12px rgba(210,31,38,.8), 0 0 24px rgba(210,31,38,.4);
  --glow-blue: 0 0 12px rgba(26,59,110,.8), 0 0 24px rgba(26,59,110,.4);
  --line: #e5e7eb;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* Animations used globally */
@keyframes flagWave { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes starryGlow { 0% { opacity: .5; transform: scale(.9); } 50% { opacity: .8; transform: scale(1.1); } 100% { opacity: .5; transform: scale(.9); } }
@keyframes rotateStar { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
@keyframes reviewFade { 0% { opacity: 0; transform: translateY(20px); } 10% { opacity: 1; transform: translateY(0); } 90% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-20px); } }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes zoomIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes flyEagle { 0% { transform: translateX(0); } 50% { transform: translateX(20px) translateY(-10px); } 100% { transform: translateX(0); } }

/* Header */
.site-header {
  background: linear-gradient(to bottom, var(--navy), var(--blue));
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow), var(--glow-blue);
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  animation: fadeIn 1s ease-out, pulse 2s infinite;
}

.brand img {
  height: 42px;
  animation: flagWave 1.5s infinite ease-in-out;
}

.menu {
  display: flex;
  gap: 24px;
}

.menu a {
  color: #fff;
  font-weight: 600;
  opacity: .92;
  transition: all .3s;
  text-shadow: var(--glow-red);
}

.menu a:hover {
  opacity: 1;
  transform: scale(1.1);
  text-shadow: var(--glow-red);
}

.menu a.is-active {
  opacity: 1;
  text-decoration: underline;
}

.icons {
  display: flex;
  gap: 14px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  transition: transform .2s, box-shadow .2s;
}

.icon-btn:hover {
  transform: scale(1.2);
  box-shadow: var(--glow-blue);
}

.icon-btn[aria-current="page"] {
  background: var(--red);
  box-shadow: var(--glow-red);
}

.burger {
  display: none;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  animation: pulse 1.5s infinite;
}

@media (max-width: 900px) {
  .menu {
    display: none;
  }
  .burger {
    display: inline-block;
  }
  .menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    top: 66px;
    background: var(--navy);
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,.06);
  }
}

/* Header/Foot stars */
svg.star {
  position: absolute;
  fill: #fff;
  opacity: .5;
  animation: starryGlow 2s infinite alternate, rotateStar 10s linear infinite;
}

/* Footer */
.site-footer {
  background: linear-gradient(to top, var(--navy), var(--blue));
  color: #fff;
  padding: 36px 0;
  position: relative;
  box-shadow: inset 0 0 40px var(--gold);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.foot-grid a {
  color: #fff;
  opacity: .95;
  transition: opacity .2s;
}

.foot-grid a:hover {
  opacity: 1;
  text-shadow: var(--glow-red);
  transform: scale(1.05);
}

.mini {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.mini img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .3s, box-shadow .3s;
}

.mini img:hover {
  transform: scale(1.1);
  box-shadow: var(--glow-blue);
}

@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

.legal {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 20px;
  padding-top: 12px;
  font-size: 14px;
  opacity: .85;
  text-align: center;
}

/* Hero (flexible for all pages) */
.hero {
  position: relative;
  color: #fff;
  display: flex;
  align-items: flex-end;
  min-height: 28vh;
  box-shadow: inset 0 0 50px var(--blue);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.65));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 32px 16px;
  animation: slideUp 1.2s ease-out;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  margin: 0 0 4px;
  font-weight: 800;
  text-shadow: 0 4px 8px rgba(0,0,0,0.5), var(--glow-red);
}

.hero .muted {
  color: #d1d5db;
  animation: fadeIn 1.8s ease-out;
}

.wave {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1px;
  fill: var(--navy);
  animation: flagWave 2s infinite ease-in-out;
}

/* Page-specific hero backgrounds */
.hero[role="img"][aria-label="Patriotic Bigfoot artwork"] {
  min-height: 60vh;
  background: url(/assets/images/AboutUsTopBanner.png) right center/cover no-repeat;
}

.hero[role="img"][aria-label="Cart"] {
  min-height: 60vh;
  background: url(/assets/images/CartHero.png) center/cover no-repeat;
}

.hero[role="img"][aria-label="Contact our team"] {
  min-height: 90vh;
  background: url(/assets/images/ContactUsMascotWoods.png) center/cover no-repeat;
}

.hero[role="img"][aria-label="Outdoor lifestyle background"] {
  min-height: 80vh;
  background: url('https://images.unsplash.com/photo-1532094349884-543bc11b234d?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  overflow: hidden;
}

.hero[role="img"][aria-label="Outdoor lifestyle background"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(11,33,66,0.4), rgba(210,31,38,0.4));
  z-index: 1;
}

.hero[role="img"][aria-label="Outdoor lifestyle background"] .hero-content {
  padding: 64px 16px;
  animation: slideUp 1.2s ease-out, pulse 3s infinite;
}

.hero[role="img"][aria-label="Product detail"] {
  min-height: 60vh;
  background: url(/assets/images/ProductHero2.png) center/cover no-repeat;
}

.hero[role="img"][aria-label="Shoppers in the woods"] {
  min-height: 90vh;
  background: url(/assets/images/ShopTopHero.png) center/cover no-repeat;
}

.hero[role="img"][aria-label="Shoppers in the woods"] .hero-content {
  padding: 56px 16px;
}

.hero[role="img"][aria-label="ThingsToDo"] {
  min-height: 60vh;
  background: url(/assets/images/ThingsToDoHero2.png) center/cover no-repeat;
}
.hero .eyebrow {
  font-size: 18px;
  margin: 0 0 4px;
  opacity: .95;
  animation: fadeIn 1.5s ease-out;
}

.hero .tag {
  font-size: clamp(18px, 3.5vw, 24px);
  margin: 0 0 24px;
  opacity: .95;
  animation: fadeIn 1.8s ease-out;
}

/* About us two-column (from about.html) */
.about-wrap {
  background: url('https://images.unsplash.com/photo-1482192596544-9eb780fc7f66?q=80&w=1600&auto=format&fit=crop') center/cover fixed no-repeat;
  padding: 48px 0;
  position: relative;
}

.about-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,33,66,0.5), rgba(210,31,38,0.5));
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-card {
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 26px;
  border-radius: 16px;
  box-shadow: var(--shadow), var(--glow-blue);
}

.about-card h2 {
  font-size: clamp(26px, 4vw, 42px);
  margin: 0 0 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), var(--glow-red);
}

.about-img {
  border-radius: 26px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-img:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-blue);
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-card {
    background: rgba(0,0,0,.65);
  }
}

/* Video banner (from about.html) */
.video-banner {
  position: relative;
  min-height: 60vh;
  background: url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);
}

.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(var(--red), #b00000);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 32px;
  box-shadow: var(--glow-red), 0 10px 30px rgba(0,0,0,.35);
  cursor: pointer;
  transition: transform 0.2s;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Modal (from about.html) */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal.open {
  display: flex;
  opacity: 1;
}

.modal-inner {
  width: min(1000px, 92vw);
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--glow-blue);
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,.9);
  border: 0;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-weight: 800;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--red);
}

/* Our History (from about.html) */
.history-wrap {
  position: relative;
  padding: 56px 0;
}

.flag-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1593964352191-04a27047b8a6?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  opacity: .25;
}

.history-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.history-grid h3 {
  font-size: clamp(26px, 4vw, 40px);
  margin: 0 0 10px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), var(--glow-blue);
}

.polaroid {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0,0,0,.25);
  transition: transform 0.3s;
}

.polaroid:hover {
  transform: scale(1.05);
}

@media (max-width: 980px) {
  .history-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonial (from about.html) */
.testimonial {
  background: linear-gradient(to bottom, var(--navy), var(--blue));
  color: #fff;
  padding: 44px 0;
  position: relative;
}

.test-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  align-items: center;
}

.bubble {
  background: #0e2b57;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow), var(--glow-blue);
  position: relative;
  height: 200px;
  overflow: hidden;
}

.review {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.review.active {
  display: block;
  opacity: 1;
}

.stars {
  color: gold;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .test-grid {
    grid-template-columns: 1fr;
  }
}

/* Carousel Styles (merged from all pages) */
.carousel {
  position: relative;
  overflow: hidden;
  margin: 24px auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 auto;
  padding: 0 8px;
  box-sizing: border-box;
  animation: zoomIn 1s ease-out;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 16px;
  z-index: 10;
}

.carousel-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--glow-red);
  transition: transform 0.2s;
  font-size: 14px;
}

.carousel-btn:hover {
  transform: scale(1.2);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--red);
}

/* Category Carousel (merged from all pages) */
.cat-carousel .carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease;
}

.cat-carousel .carousel-slide {
  flex: 0 0 calc(33.33% - 10.67px);
  min-height: 300px;
  width: calc(33.33% - 10.67px);
}

@media (max-width: 900px) {
  .cat-carousel .carousel-slide {
    flex: 0 0 calc(50% - 8px);
    width: calc(50% - 8px);
  }
}

@media (max-width: 600px) {
  .cat-carousel .carousel-slide {
    flex: 0 0 calc(100% - 16px);
    width: calc(100% - 16px);
  }
}

/* Specials Carousel (merged from all pages) */
.specials-carousel .carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.specials-carousel .carousel-slide {
  padding: 36px 0;
  background: linear-gradient(to right, #f8f8f8, #fff);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 0 0 calc(100% - 16px);
  width: calc(100% - 16px);
  margin: 0 8px;
}

.specials-carousel .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* Category tiles (merged from all pages) */
.cat-wrap {
  background: url('https://images.unsplash.com/photo-1531297484001-80022131f5a1?q=80&w=1600&auto=format&fit=crop') center/cover fixed no-repeat;
  position: relative;
}

.cat-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,33,66,0.5), rgba(210,31,38,0.5));
}

.card {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s;
  box-shadow: var(--shadow), var(--glow-blue);
}

.card:hover {
  transform: scale(1.08);
  box-shadow: var(--glow-blue), var(--shadow);
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s, filter 0.4s;
}

.card:hover img {
  transform: scale(1.15);
  filter: brightness(1.1);
}

.card h3 {
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  font-size: 28px;
  text-shadow: 0 12px 32px rgba(0,0,0,.55), var(--glow-red);
}

/* Product rows (merged from all pages, used in carousels) */
.prod {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  opacity: 0;
  animation: slideUp 0.8s forwards ease-out;
}

.prod:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow-red), var(--shadow);
  border: 2px solid var(--gold);
}

.prod img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s, filter 0.3s;
}

.prod:hover img {
  transform: scale(1.1);
  filter: saturate(1.2);
}

.prod .p {
  padding: 12px;
}

.price {
  font-weight: 800;
  color: var(--red);
  text-shadow: var(--glow-red);
  font-size: 14px;
}

/* Contact Form (from contact.html) */
.contact-wrap {
  background: #0f172a url('https://images.unsplash.com/photo-1495567720989-cebdbdd97913?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  color: #fff;
  padding: 48px 16px 28px;
  text-align: center;
  position: relative;
  box-shadow: inset 0 0 30px var(--blue);
}

.contact-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,33,66,0.4) 0%, rgba(0,0,0,0.6) 100%);
}

.lead {
  max-width: 780px;
  margin: 6px auto 22px;
  color: #d1d5db;
}

.form {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 12px;
  background: rgba(255,255,255,0.9);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow), var(--glow-blue);
}

.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .row {
    grid-template-columns: 1fr;
  }
}

.input, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 0;
  outline: 0;
  background: #fff;
  color: #111;
  transition: border 0.2s;
}

.input:focus, .textarea:focus {
  border: 2px solid var(--gold);
  box-shadow: var(--glow-blue);
}

.textarea {
  min-height: 180px;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  color: #fff;
  background: #111;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 2000;
  font-weight: 600;
}

.toast.show {
  opacity: 1;
}

.toast.ok {
  background: #16a34a;
}

.toast.err {
  background: #dc2626;
}

/* Layout: cart + summary / shipping (from cart.html) */
.cart-wrap {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 24px;
  padding: 28px 0;
  position: relative;
  background: url('https://images.unsplash.com/photo-1504280390367-5f8a8d9a6d00?q=80&w=1600&auto=format&fit=crop') center/cover fixed no-repeat;
}

.cart-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,33,66,0.5), rgba(210,31,38,0.5));
  z-index: 0;
}

@media (max-width: 1024px) {
  .cart-wrap {
    grid-template-columns: 1fr;
  }
}

.panel {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  background: #111827;
  color: #fff;
  box-shadow: var(--shadow), var(--glow-blue);
  position: relative;
  z-index: 1;
}

.panel h2 {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), var(--glow-red);
}

.panel-body {
  padding: 14px 16px;
}

/* Cart table (from cart.html) */
.cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.cart-row {
  display: grid;
  grid-template-columns: 88px 1fr 90px 120px 28px;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
}

.cart-row:last-child {
  border-bottom: none;
}

.thumb {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  background: #1f2937;
  border: 1px solid rgba(255,255,255,.1);
  transition: transform 0.3s;
}

.thumb:hover {
  transform: scale(1.05);
}

.muted {
  color: #d1d5db;
  font-size: 14px;
}

.price {
  font-weight: 800;
  color: var(--red);
  text-shadow: var(--glow-red);
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty input {
  width: 64px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: #1f2937;
  color: #fff;
}

.qty input:focus {
  border: 2px solid var(--gold);
  box-shadow: var(--glow-blue);
}

.link {
  color: #93c5fd;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}

.link:hover {
  transform: scale(1.05);
}

.del {
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #9ca3af;
}

.del:hover {
  transform: scale(1.1);
  color: #fff;
}

@media (max-width: 720px) {
  .cart-row {
    grid-template-columns: 72px 1fr;
    gap: 10px;
  }
  .price, .qty, .del {
    justify-self: start;
  }
  .cart-info {
    display: grid;
    gap: 6px;
  }
  .thumb {
    width: 72px;
    height: 72px;
  }
}

/* Summary + shipping (from cart.html) */
.sum-line {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
}

.sum-total {
  font-weight: 800;
  font-size: 18px;
}

.note {
  font-size: 13px;
  color: #d1d5db;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field input, .field select {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: #1f2937;
  color: #fff;
}

.field input:focus, .field select:focus {
  border: 2px solid var(--gold);
  box-shadow: var(--glow-blue);
}

.sec {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 12px;
  padding-top: 12px;
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 14px;
}

.check input {
  accent-color: #d21f26;
}

/* Empty cart (from cart.html) */
.empty {
  padding: 24px;
  text-align: center;
  border: 1px dashed #6b7280;
  border-radius: 16px;
  background: #1f2937;
  margin: 12px 0;
  color: #fff;
}

/* Terms modal (from cart.html) */
.terms-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s;
}

.terms-modal.open {
  display: flex;
  opacity: 1;
}

.terms-modal-inner {
  width: min(500px, 92vw);
  background: linear-gradient(var(--red), #b00000);
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--glow-red), var(--shadow);
}

.terms-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.terms-modal-body {
  padding: 16px;
}

.terms-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid rgba(255,255,255,.25);
}

.btn-ghost {
  background: #fff;
  color: #111827;
  border-radius: 999px;
  padding: 10px 16px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s;
}

.btn-ghost:hover {
  transform: scale(1.05);
}

.btn-danger {
  background: #111827;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  box-shadow: var(--glow-blue);
  transition: transform 0.2s;
}

.btn-danger:hover {
  transform: scale(1.05);
}

/* Contact Form (from contact.html) */
.contact-wrap {
  background: #0f172a url('https://images.unsplash.com/photo-1495567720989-cebdbdd97913?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  color: #fff;
  padding: 48px 16px 28px;
  text-align: center;
  position: relative;
  box-shadow: inset 0 0 30px var(--blue);
}

.contact-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,33,66,0.4) 0%, rgba(0,0,0,0.6) 100%);
}

.lead {
  max-width: 780px;
  margin: 6px auto 22px;
  color: #d1d5db;
}

.form {
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 12px;
  background: rgba(255,255,255,0.9);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow), var(--glow-blue);
}

.row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 900px) {
  .row {
    grid-template-columns: 1fr;
  }
}

.input, .textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 0;
  outline: 0;
  background: #fff;
  color: #111;
  transition: border 0.2s;
}

.input:focus, .textarea:focus {
  border: 2px solid var(--gold);
  box-shadow: var(--glow-blue);
}

.textarea {
  min-height: 180px;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 22px;
  color: #fff;
  background: #111;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 2000;
  font-weight: 600;
}

.toast.show {
  opacity: 1;
}

.toast.ok {
  background: #16a34a;
}

.toast.err {
  background: #dc2626;
}

/* Events CTA + Modal (from index.html) */
.events {
  background: linear-gradient(to bottom, var(--navy), var(--blue));
  color: #fff;
  text-align: center;
  padding: 64px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 40px var(--red);
}

.events p {
  max-width: 760px;
  margin: 8px auto 0;
}

.modal-back {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal-back.show {
  display: flex;
  opacity: 1;
}

.modal {
  background: #111827;
  color: #fff;
  width: min(860px, 94vw);
  border-radius: 16px;
  padding: 16px;
  transform: scale(0.95);
  transition: transform 0.3s;
  box-shadow: var(--glow-blue), var(--shadow);
}

.modal-back.show .modal {
  transform: scale(1);
  animation: zoomIn 0.5s ease-out;
}

.modal .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.modal .close {
  background: #fff1;
  color: #fff;
  border: 1px solid #fff3;
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.modal .close:hover {
  background: #fff3;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-grid label {
  font-weight: 700;
  font-size: 14px;
}

.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ffffff26;
  background: #0e1726;
  color: #fff;
  transition: border 0.2s;
}

.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  border-color: var(--red);
}

.form-row {
  grid-column: 1/-1;
}

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  border: 1px solid #ffffff26;
  border-radius: 10px;
  background: #0e1726;
}

.actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

.btn-light {
  background: #e5e7eb;
  color: #111827;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  transition: transform 0.2s;
}

.btn-light:hover {
  transform: scale(1.05);
}

.btn-accent {
  background: var(--red);
  color: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: var(--glow-red);
  transition: transform 0.2s;
}

.btn-accent:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-red), 0 2px 8px rgba(210,31,38,0.8);
}

/* First-visit 15% popup (from index.html) */
.coupon-back {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  opacity: 0;
  transition: opacity 0.3s;
}

.coupon-back.show {
  display: flex;
  opacity: 1;
}

.coupon {
  background: #111827;
  color: #fff;
  width: min(760px, 94vw);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  transform: scale(0.95);
  transition: transform 0.3s;
  box-shadow: var(--glow-red), var(--shadow);
}

.coupon-back.show .coupon {
  transform: scale(1);
  animation: zoomIn 0.5s ease-out;
}

.coupon .img {
  background: url('https://images.unsplash.com/photo-1536909526839-8f7e2e875dcc?q=80&w=1400&auto=format&fit=crop') center/cover no-repeat;
  min-height: 300px;
}

.coupon .body {
  padding: 20px;
  position: relative;
}

.coupon h3 {
  margin: 0 0 6px;
  font-size: 28px;
  color: var(--gold);
}

.coupon .big {
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 12px;
  text-shadow: var(--glow-red);
}

.coupon form {
  display: grid;
  gap: 10px;
}

.coupon input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ffffff26;
  background: #0e1726;
  color: #fff;
  transition: border 0.2s;
}

.coupon input:focus {
  border-color: var(--gold);
}

.coupon .code {
  display: none;
  margin-top: 6px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold);
}

.coupon .x {
  position: absolute;
  right: 10px;
  top: 10px;
  background: #fff1;
  color: #fff;
  border: 1px solid #fff3;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.coupon .x:hover {
  background: var(--red);
}

@media (max-width: 820px) {
  .coupon {
    grid-template-columns: 1fr;
  }
  .coupon .img {
    min-height: 180px;
  }
}

/* Newsletter (shared across pages) */
.newsletter {
  background: #0f172a url('https://images.unsplash.com/photo-1495567720989-cebdbdd97913?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  color: #fff;
  padding: 64px 16px;
  text-align: center;
  position: relative;
  box-shadow: inset 0 0 30px var(--blue);
}

.newsletter::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,33,66,0.4) 0%, rgba(0,0,0,0.6) 100%);
}

.nl-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), var(--glow-blue);
}

.nl-sub {
  color: #d1d5db;
  margin: 0 0 28px;
}

.nl-form {
  max-width: 680px;
  margin: 12px auto 0;
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.nl-form input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 999px;
  border: 0;
  outline: 0;
  transition: box-shadow 0.3s, transform 0.3s;
}

.nl-form input:focus {
  box-shadow: var(--glow-blue);
  transform: scale(1.02);
}

.nl-form button {
  background: linear-gradient(var(--red), #b00000);
  color: #fff;
  font-weight: 800;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  box-shadow: var(--glow-red);
  animation: pulse 1.5s infinite;
}

@media (max-width: 700px) {
  .nl-form {
    flex-direction: column;
  }
}

/* Buttons (consolidated from all pages) */
.btn {
  display: inline-block;
  background: linear-gradient(var(--red), #b00000);
  color: #fff;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  box-shadow: var(--glow-red);
  transition: transform 0.2s;
  animation: pulse 1.5s infinite;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-red), 0 4px 16px rgba(210,31,38,0.8);
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.btn.secondary {
  background: #1f2937;
  box-shadow: var(--glow-blue);
}

.btn.back {
  background: #fff;
  color: #111827;
  box-shadow: var(--shadow);
}

/* Debug banner (from cart.html and shop.html) */
#dbg {
  display: none;
  position: fixed;
  left: 12px;
  bottom: 12px;
  background: #111827;
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  z-index: 9999;
  border: 1px solid rgba(255,255,255,.15);
}

#dbg b {
  color: #93c5fd;
}

.ok {
  color: #16a34a;
}

.err {
  color: #dc2626;
}

/* Product layout (from product.html) */
.wrap {
  padding: 28px 0;
  position: relative;
  background: url('https://images.unsplash.com/photo-1504280390367-5f8a8d9a6d00?q=80&w=1600&auto=format&fit=crop') center/cover fixed no-repeat;
}

.wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,33,66,0.5), rgba(210,31,38,0.5));
  z-index: 0;
}

.grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery (from product.html) */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.hero-img {
  width: 100%;
  aspect-ratio: 1/1;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  object-fit: cover;
  background: #1f2937;
  transition: transform 0.3s;
}

.hero-img:hover {
  transform: scale(1.05);
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.thumbs img {
  width: 100%;
  aspect-ratio: 1/1;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  opacity: .9;
  transition: transform 0.2s, opacity 0.2s;
}

.thumbs img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbs img.active {
  outline: 2px solid var(--gold);
  opacity: 1;
}

@media (max-width: 640px) {
  .thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Details / purchase (from product.html) */
section {
  position: relative;
  background: #111827;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow), var(--glow-blue);
  color: #fff;
}

.title {
  margin: 0 0 6px;
  font-size: clamp(22px, 3.6vw, 32px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), var(--glow-red);
}

.price {
  font-weight: 800;
  font-size: 22px;
  color: var(--red);
  text-shadow: var(--glow-red);
}

.opt {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}

select, input[type=number] {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  background: #1f2937;
  color: #fff;
  transition: border 0.2s;
}

select:focus, input[type=number]:focus {
  border: 2px solid var(--gold);
  box-shadow: var(--glow-blue);
}

.buyrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Info blocks (from product.html) */
.info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.info .blk {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  background: #1f2937;
  color: #fff;
}

@media (max-width: 900px) {
  .info {
    grid-template-columns: 1fr;
  }
}

/* Specials tiles */
.specials-tiles {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin: 20px 0;
}

.special-tile {
  flex: 1;
  position: relative;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--glow-blue);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  background-size: cover;
  background-position: center;
}

.special-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(11,33,66,0.6), rgba(11,33,66,0.8));
  z-index: 1;
}

.special-tile span {
  position: relative;
  z-index: 2;
  padding: 10px;
}

.special-tile:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-red), var(--shadow);
  cursor: pointer;
}

.special-tile.active {
  box-shadow: var(--glow-red), var(--shadow);
  background: linear-gradient(rgba(210,31,38,0.2), rgba(210,31,38,0.4));
}

.special-tile.active::before {
  background: linear-gradient(rgba(11,33,66,0.5), rgba(210,31,38,0.6));
}

/* Mobile adjustments */
@media (max-width: 900px) {
  .specials-tiles {
    flex-direction: column;
    gap: 12px;
  }
  .special-tile {
    min-height: 100px;
    font-size: 16px;
  }
}

/* Shop layout (from shop.html) */
.shop-wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 28px 0;
  position: relative;
  background: url('https://images.unsplash.com/photo-1504280390367-5f8a8d9a6d00?q=80&w=1600&auto=format&fit=crop') center/cover fixed no-repeat;
}

.shop-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,33,66,0.5), rgba(210,31,38,0.5));
  z-index: 0;
}

@media (max-width: 1024px) {
  .shop-wrap {
    grid-template-columns: 1fr;
  }
}

/* Sidebar (from shop.html) */
.side {
  position: sticky;
  top: 84px;
  align-self: start;
  height: max-content;
  background: #111827;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow), var(--glow-blue);
  z-index: 1;
}

.filter-group {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 18px;
  margin-top: 18px;
}

.filter-group h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), var(--glow-red);
}

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  color: #fff;
}

.check input {
  accent-color: #d21f26;
}

.hr {
  border-top: 1px solid rgba(255,255,255,.15);
  margin: 6px 0 14px;
}

details {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 10px 12px;
  margin: 14px 0;
  background: #1f2937;
}

summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #fff;
}

summary::-webkit-details-marker {
  display: none;
}

/* Toolbar (from shop.html) */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.toolbar strong {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.sort, .select {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 8px 12px;
  background: #1f2937;
  color: #fff;
  font-size: 14px;
}

/* Shop grid (from shop.html) */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

.shop-card {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  overflow: hidden;
  background: #111827;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: slideUp 0.8s ease-out;
}

.shop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-red), var(--shadow);
  border: 2px solid var(--gold);
}

.shop-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #1f2937;
  transition: transform 0.3s, filter 0.3s;
}

.shop-card:hover img {
  transform: scale(1.1);
  filter: saturate(1.2);
}

.shop-card .p {
  padding: 12px;
}

.shop-card .title {
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.shop-card .stars {
  color: #f59e0b;
  margin-top: 6px;
}

/* Pagination (from shop.html) */
.pager {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 22px 0;
}

.page-btn {
  border: 1px solid rgba(255,255,255,.15);
  background: #1f2937;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  color: #fff;
}

.page-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-blue);
}

.page-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: var(--glow-red);
}

/* Category bubbles (from shop.html) */
.bubbles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 32px 0;
  position: relative;
  z-index: 1;
}

.bubble {
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bubble:hover {
  transform: scale(1.1);
  box-shadow: var(--glow-blue);
}

.bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .bubbles {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Main Content (from success.html) */
.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 16px;
}

.panel {
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 18px;
  background: #111827;
  box-shadow: var(--shadow), var(--glow-blue);
  color: #fff;
  animation: zoomIn 1s ease-out;
}

code {
  background: #1f2937;
  padding: 2px 6px;
  border-radius: 6px;
  color: #fff;
}

/* Sidebar (from things-to-do.html) */
.side {
  color: #fff;
  background: linear-gradient(180deg, #0b2142, #0b2142 65%, #08162d);
  border-radius: 16px;
  padding: 16px;
  position: sticky;
  top: 84px;
  align-self: start;
  box-shadow: var(--shadow), var(--glow-blue);
}

.side h3 {
  margin: 14px 0 8px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), var(--glow-red);
}

.search {
  position: relative;
  margin-bottom: 12px;
}

.search input {
  width: 100%;
  padding: 12px 36px 12px 12px;
  border-radius: 10px;
  border: 0;
  outline: 0;
  background: #fff;
  color: #111;
}

.search span {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .7;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 10px;
}

.panel h4 {
  margin: 4px 0 8px;
  color: #fff;
}

.scroll {
  max-height: 260px;
  overflow: auto;
  padding-right: 6px;
}

.hr {
  height: 1px;
  background: rgba(255,255,255,.2);
  margin: 10px 0;
}

/* Results toolbar + event cards (from things-to-do.html) */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 16px;
  flex-wrap: wrap;
}

.toolbar h2 {
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), var(--glow-blue);
  margin: 0;
}

.sort {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: #111;
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.event-card {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.9);
  transition: transform 0.3s, box-shadow 0.3s;
  animation: slideUp 0.8s ease-out;
  padding-top: 50px;
}

.event-card:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-red), var(--shadow);
}

.event-card .p {
  padding: 12px;
}

.event-card h3 {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0;
  font-size: 18px;
  color: #111;
  text-shadow: 0 2px 4px rgba(255,255,255,0.8);
}

.chip {
  display: inline-block;
  background: #eef2ff;
  color: #1f2937;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  margin-right: 4px;
}

.when {
  font-weight: 700;
  color: #111;
}

.where {
  color: #6b7280;
}

.empty {
  padding: 24px;
  text-align: center;
  border: 1px dashed #d1d5db;
  border-radius: 16px;
  background: #fafafa;
}

/* Add Local Event Modal */
.modal#modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
}
.modal#modal.open {
  display: flex !important;
}
.modal#modal .modal-inner {
  max-width: min(95vw, 800px);
  max-height: 95vh;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  overflow-y: auto;
}
.modal#modal .modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--outline);
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal#modal .modal-body {
  padding: 24px;
}
.modal#modal .form-grid {
  display: grid;
  gap: 20px;
}
.modal#modal .form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.modal#modal .form-row > * {
  flex: 1;
  min-width: 200px;
}
.modal#modal .field {
  margin-bottom: 20px;
}
.modal#modal .field label {
  font-size: 18px; /* Increased for readability */
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
}
.modal#modal .input,
.modal#modal .select,
.modal#modal .textarea {
  font-size: 18px; /* Increased */
  padding: 12px; /* Increased */
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--outline);
}
.modal#modal .textarea {
  min-height: 120px; /* Increased for better usability */
}
.modal#modal .cat-box .cat {
  font-size: 18px; /* Increased */
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal#modal .cat-box .cat input[type="checkbox"] {
  width: 20px; /* Larger checkboxes */
  height: 20px;
}
.modal#modal .modal-actions {
  padding: 16px 20px;
  border-top: 1px solid var(--outline);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.modal#modal .btn-ghost,
.modal#modal .btn-danger {
  font-size: 18px; /* Increased */
  padding: 12px 20px; /* Increased */
  border-radius: 8px;
}

/* Event Link Modal (from things-to-do.html) */
.event-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s;
}

.event-modal.open {
  display: flex;
  opacity: 1;
}

.event-modal-inner {
  width: min(90vw, 1000px);
  height: 80vh;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--glow-blue), var(--shadow);
  position: relative;
}

.event-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(var(--navy), var(--blue));
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.event-modal-header h3 {
  margin: 0;
  font-size: 18px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), var(--glow-red);
}

.event-modal-iframe {
  width: 100%;
  height: calc(100% - 54px);
  border: 0;
}

/* Disclaimer (from things-to-do.html) */
.disclaimer {
  background: #0d1f3f;
  color: #fff;
  margin: 28px auto;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
  position: relative;
}

.disclaimer strong {
  color: #ffce31;
}

/* Category Carousel (updated from things-to-do.html, merged with index.html) */
.cat-carousel .carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease;
}

.cat-carousel .carousel-slide {
  flex: 0 0 calc(33.33% - 10.67px);
  min-height: 200px;
  width: calc(33.33% - 10.67px);
}

@media (max-width: 900px) {
  .cat-carousel .carousel-slide {
    flex: 0 0 calc(50% - 8px);
    width: calc(50% - 8px);
  }
}

@media (max-width: 600px) {
  .cat-carousel .carousel-slide {
    flex: 0 0 calc(100% - 16px);
    width: calc(100% - 16px);
  }
}

/* Legal Center hero (from terms.html) */
.hero[role="img"][aria-label="Legal Center"] {
  min-height: 28vh;
  background: url('https://images.unsplash.com/photo-1504280390367-5f8a8d9a6d00?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
}

/* Main content container (from terms.html) */
.legal-wrap {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 20px;
  position: relative;
  background: url('https://images.unsplash.com/photo-1504280390367-5f8a8d9a6d00?q=80&w=1600&auto=format&fit=crop') center/cover fixed no-repeat;
}

.legal-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,33,66,0.5), rgba(210,31,38,0.5));
  z-index: 0;
}

/* Meta card (from terms.html) */
.meta-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--glow-blue);
  padding: 16px 20px;
  margin-bottom: 18px;
  color: #d1d5db;
  font-size: .98rem;
  position: relative;
  z-index: 1;
  animation: zoomIn 1s ease-out;
}

.meta-card a {
  color: #93c5fd;
  text-decoration: underline;
}

/* Grid of policy tiles (from terms.html) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}

/* Policy tile (from terms.html) */
.tile {
  background: #111827;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow), var(--glow-blue);
  padding: 18px 22px;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.tile:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-red), var(--shadow);
}

.tile h2 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  color: #ffcccc;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), var(--glow-red);
}

.tile p {
  margin: 0 0 10px;
  color: #d1d5db;
}

.tile a {
  color: #93c5fd;
  font-weight: 700;
  text-decoration: underline;
}

/* CTA row (from terms.html) */
.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 28px 0 8px;
  position: relative;
  z-index: 1;
}

/* Small screens (from terms.html) */
@media (max-width: 640px) {
  .hero {
    padding: 48px 16px 30px;
  }
  .tile {
    padding: 16px 18px;
  }
}

/* Dropdown menu for Get Our Gear */
.menu .dropdown {
  position: relative;
}

.menu .dropdown > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: -4px; /* Close gap between parent and submenu */
  background: var(--navy);
  padding: 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 220px;
  z-index: 60;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  opacity: 0;
  visibility: hidden;
}

.menu .dropdown:hover > ul {
  display: block;
  opacity: 1;
  visibility: visible;
}

.menu .dropdown ul li {
  position: relative;
}

.menu .dropdown ul ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: -2px; /* Slight overlap for nested submenus */
  background: var(--navy);
  padding: 12px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 200px;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  opacity: 0;
  visibility: hidden;
}

.menu .dropdown ul li:hover > ul {
  display: block;
  opacity: 1;
  visibility: visible;
}

.menu .dropdown ul a {
  display: block;
  padding: 10px 14px; /* Larger hover area */
  color: #fff;
  opacity: 0.92;
  font-weight: 600;
  transition: all 0.3s;
  text-shadow: none;
  white-space: nowrap;
}

.menu .dropdown ul a:hover {
  color: var(--red);
  opacity: 1;
  transform: scale(1.05);
  text-shadow: var(--glow-red);
}

/* Hover and active effects for main menu */
.menu > a:hover, .menu > a.is-active {
  color: var(--red);
  text-shadow: var(--glow-red);
}

/* Mobile menu adjustments */
@media (max-width: 900px) {
  .menu .dropdown > ul {
    position: static;
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 8px;
    margin: 8px 0;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .menu .dropdown.open > ul {
    display: block;
  }
  .menu .dropdown ul ul {
    position: static;
    padding: 8px 12px 8px 24px;
    background: none;
    box-shadow: none;
    margin-left: 0;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .menu .dropdown ul li.open > ul {
    display: block;
  }
}

/* Cookie Banner and Preferences Modal */
:root {
  --tnl-navy: #0b1c33;      /* footer/navy base */
  --tnl-navy-2: #0f2240;    /* modal surface */
  --tnl-text: #ffffff;      /* main text on dark */
  --tnl-muted: #b8c4d9;     /* subtle text */
  --tnl-red: #e11d2e;       /* primary accent */
  --tnl-red-2: #c41725;     /* hover/active */
  --tnl-outline: #1f2e55;   /* borders on dark */
  --tnl-shadow: 0 12px 28px rgba(0,0,0,.35);
  --tnl-radius: 14px;       /* big rounded edges */
}

/* Banner */
#tnl-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 99999;
  display: none;
  padding: 0 16px;
}

#tnl-cookie-banner .tnl-wrap {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--tnl-navy);
  color: var(--tnl-text);
  border-radius: calc(var(--tnl-radius) + 6px);
  box-shadow: var(--tnl-shadow);
  border: 1px solid var(--tnl-outline);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  flex-wrap: wrap;
}

#tnl-cookie-banner a {
  color: #8ec7ff;
  text-decoration: underline;
}

.tnl-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tnl-btn {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .04s ease, background .2s ease, opacity .2s ease;
}

.tnl-btn:active {
  transform: translateY(1px);
}

.tnl-accept {
  background: var(--tnl-red);
  color: #fff;
}

.tnl-accept:hover {
  background: var(--tnl-red-2);
}

.tnl-reject {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #ffffff40;
}

.tnl-reject:hover {
  box-shadow: inset 0 0 0 2px #ffffff70;
}

.tnl-manage {
  background: #ffffff12;
  color: #fff;
}

.tnl-manage:hover {
  background: #ffffff24;
}

/* Modal backdrop */
#tnl-cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  z-index: 100000;
}

/* Modal */
.tnl-modal {
  width: min(780px, 92vw);
  margin: 6vh auto;
  background: var(--tnl-navy-2);
  color: var(--tnl-text);
  border-radius: var(--tnl-radius);
  box-shadow: var(--tnl-shadow);
  border: 1px solid var(--tnl-outline);
  overflow: hidden;
}

.tnl-modal header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--tnl-outline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tnl-modal h2 {
  margin: 0;
  font-size: 22px;
}

.tnl-modal .tnl-body {
  padding: 18px 22px;
}

.tnl-muted {
  color: var(--tnl-muted);
}

.tnl-cat {
  background: #0b1933;
  border: 1px solid var(--tnl-outline);
  border-radius: 12px;
  padding: 14px 14px;
  margin: 12px 0;
}

.tnl-cat h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
}

.tnl-chip {
  display: inline-block;
  background: #ffffff10;
  color: #e6eaf5;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-left: 8px;
}

.tnl-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.tnl-switch input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.tnl-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 16px 22px;
  border-top: 1px solid var(--tnl-outline);
}

.tnl-btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #ffffff30;
}

.tnl-btn-ghost:hover {
  box-shadow: inset 0 0 0 2px #ffffff70;
}

.tnl-btn-primary {
  background: var(--tnl-red);
  color: #fff;
}

.tnl-btn-primary:hover {
  background: var(--tnl-red-2);
}

.tnl-btn-secondary {
  background: #17305f;
  color: #fff;
}

.tnl-btn-secondary:hover {
  background: #1c3a70;
}

/* Small screens */
@media (max-width: 640px) {
  #tnl-cookie-banner .tnl-wrap {
    padding: 16px;
  }
}

/* Global body background */
html, body {
  background: url('/assets/images/logo-FF01.png') center/50% fixed no-repeat !important;
  margin: 0;
  padding: 0;
}

/* Hero section */
.hero {
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: none !important; /* Explicitly disable overlay */
}

/* Search bubble */
.search-bubble {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--outline);
  background: var(--white);
  box-shadow: var(--shadow), inset 0 2px 4px rgba(0,0,0,0.1);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--navy);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.search-bubble:focus {
  outline: none;
  box-shadow: var(--glow-red), var(--shadow);
  transform: scale(1.02);
}

.search-bubble::placeholder {
  color: var(--navy);
}

/* Filter group and dropdowns */
.filter-group {
  margin-bottom: 20px;
}

.filter-group h3 {
  margin: 0 0 10px;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  color: var(--white);
  text-transform: uppercase;
}

details.filter-group {
  background: linear-gradient(145deg, var(--red), #b51721);
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  box-shadow: var(--shadow), inset 0 2px 4px rgba(255,255,255,0.2), inset 0 -2px 4px rgba(0,0,0,0.3);
  padding: 12px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

details.filter-group:hover {
  box-shadow: var(--glow-red), var(--shadow);
  transform: scale(1.02);
}

details.filter-group[open] summary {
  margin-bottom: 10px;
}

details.filter-group summary {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

details.filter-group summary::after {
  content: '▼';
  font-size: 12px;
  color: var(--white);
  transition: transform 0.3s ease;
}

details.filter-group[open] summary::after {
  transform: rotate(180deg);
}

details.filter-group .check {
  display: block;
  margin: 8px 0;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

details.filter-group input[type="checkbox"] {
  margin-right: 8px;
  accent-color: var(--red);
}

.filter-group .hr {
  border-top: 1px solid var(--outline);
  margin: 8px 0;
}

/* Main Categories */
.filter-group .check {
  display: block;
  margin: 8px 0;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.filter-group input[type="checkbox"] {
  margin-right: 8px;
  accent-color: var(--red);
}

/* Clear Filters button */
.filter-group .btn {
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  border: none;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.filter-group .btn:hover {
  background: #b51721;
  transform: scale(1.05);
}

/* Mobile adjustments */
@media (max-width: 900px) {
  .search-bubble {
    font-size: 13px;
    padding: 8px 12px;
  }
  details.filter-group {
    padding: 10px;
  }
  details.filter-group summary {
    font-size: 15px;
  }
  .specials-tiles {
    flex-direction: column;
    gap: 12px;
  }
  .special-tile {
    min-height: 100px;
    font-size: 16px;
  }
}

/* Category Carousel */
.cat-wrap {
  background: url('/assets/images/logo-FF01.png') center/50% fixed no-repeat;
  position: relative;
}

.cat-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,33,66,0.5), rgba(210,31,38,0.5));
}

/* Specials Carousel */
.specials-wrap {
  background: url('/assets/images/logo-FF01.png') center/50% fixed no-repeat;
  position: relative;
}

.specials-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,33,66,0.5), rgba(210,31,38,0.5));
}

/* Make entire tiles clickable for Category and Specials Carousels */
.card {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s;
  box-shadow: var(--shadow), var(--glow-blue);
}

.card a {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  text-decoration: none;
  color: inherit;
  pointer-events: auto;
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s, filter 0.4s;
  z-index: 1;
  pointer-events: none;
}

.card:hover {
  transform: scale(1.08);
  box-shadow: var(--glow-blue), var(--shadow);
}

.card:hover img {
  transform: scale(1.15);
  filter: brightness(1.1);
}

.prod {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  background: transparent !important;
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
  animation: slideUp 0.8s forwards ease-out;
  max-width: 256px;
  max-height: 256px;
  aspect-ratio: 1/1;
}

.prod a {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  text-decoration: none;
  color: inherit;
  pointer-events: auto;
}

.prod img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 256px;
  max-height: 256px;
  object-fit: cover;
  transition: transform 0.3s, filter 0.3s;
  z-index: 1;
  pointer-events: none;
}

.prod:hover {
  transform: translateY(-8px);
  box-shadow: var(--glow-red), var(--shadow);
  border: 2px solid var(--gold);
}

.prod:hover img {
  transform: scale(1.1);
  filter: saturate(1.2);
}

/* Specials Carousel adjustments */
.specials-carousel {
  background: transparent !important;
}

.specials-carousel .container {
  background: transparent !important;
  padding: 28px 16px 36px;
}

.specials-carousel .carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease;
}

.specials-carousel .carousel-slide {
  padding: 0;
  margin: 0;
  background: transparent !important;
  border-radius: var(--radius);
  box-shadow: none;
  flex: 0 0 calc(100% - 16px);
  width: calc(100% - 16px);
}

.specials-carousel .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 256px));
  gap: 16px;
  padding: 0;
  margin: 0;
  background: transparent !important;
  justify-content: center;
}

/* Responsive adjustments for Specials Carousel */
@media (max-width: 1200px) {
  .prod {
    max-width: 20vw;
    max-height: 20vw;
  }
  .prod img {
    max-width: 20vw;
    max-height: 20vw;
  }
}

@media (max-width: 900px) {
  .prod {
    max-width: 30vw;
    max-height: 30vw;
  }
  .prod img {
    max-width: 30vw;
    max-height: 30vw;
  }
}

@media (max-width: 600px) {
  .prod {
    max-width: 50vw;
    max-height: 50vw;
  }
  .prod img {
    max-width: 50vw;
    max-height: 50vw;
  }
}

/* Events section */
.events {
  background: url('/assets/images/blackrock.png') center/cover fixed no-repeat !important;
  position: relative;
}

.events::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(11,33,66,0.5), rgba(210,31,38,0.5)) !important;
}

/* Floating images in Events section */
.event-img-left {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 300px;
  object-fit: cover;
  box-shadow: 0 0 10px 5px rgba(0,0,0,0.3);
  z-index: 2;
}

.event-img-right {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 300px;
  object-fit: cover;
  box-shadow: 0 0 10px 5px rgba(0,0,0,0.3);
  z-index: 2;
}

/* Pulsing animation for yeti mascot */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.mascot {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  z-index: 2;
  animation: pulse 2s infinite ease-in-out;
}

/* Move to the end of site.css to ensure precedence */
html, body {
  background: #000 url('/assets/images/logo-FF01.png') center/50% fixed no-repeat !important;
  margin: 0;
  padding: 0;
}

/* Hero section */
.hero {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero::after {
  content: none !important;
}
.hero[role="img"][aria-label="Outdoor lifestyle background"]::before {
  content: none !important;
}
.hero[role="img"][aria-label="Outdoor lifestyle background"] {
  min-height: 80vh;
  background: url('/assets/images/banner.png') center/cover no-repeat !important;
}

/* Category Carousel */
.cat-wrap {
  background: transparent !important;
  position: relative;
}
.cat-wrap::before {
  content: none !important;
}

/* Specials Carousel */
.specials-wrap {
  background: transparent !important;
  position: relative;
}
.specials-wrap::before {
  content: none !important;
}

/* Events section */
.events {
  background: url('/assets/images/blackrock.png') center/cover fixed no-repeat !important;
  position: relative;
  color: #fff;
  text-align: center;
  padding: 64px 16px;
  overflow: hidden;
  box-shadow: inset 0 0 40px var(--red);
}
.events::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(11,33,66,0.5), rgba(210,31,38,0.5)) !important;
}

/* Move to the end of site.css to ensure precedence */
html, body {
  background: #000 url('/assets/images/logo-FF01.png') center/50% fixed no-repeat !important;
  margin: 0;
  padding: 0;
}

/* Category Carousel */
.cat-wrap {
  background: transparent !important;
  position: relative;
}
.cat-wrap::before {
  content: none !important;
}

/* Specials Carousel */
.specials-wrap {
  background: transparent !important;
  position: relative;
}
.specials-wrap::before {
  content: none !important;
}

/* Events section */
.events {
  background: url('/assets/images/blackrock.png') center/cover fixed no-repeat !important;
  position: relative;
  color: #fff;
  text-align: center;
  padding: 64px 16px;
  overflow: hidden;
  box-shadow: inset 0 0 40px var(--red);
}
.events::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(11,33,66,0.5), rgba(210,31,38,0.5)) !important;
}

/* Move to the end of site.css to ensure precedence */
html, body {
  background: #000 url('/assets/images/logo-FF01.png') center/50% fixed no-repeat !important;
  margin: 0;
  padding: 0;
}

/* Category Carousel */
.cat-wrap, .cat-wrap .container, .cat-wrap .carousel, .cat-wrap .carousel-track, .cat-wrap .carousel-slide {
  background: transparent !important;
}
.cat-wrap::before {
  content: none !important;
}

/* Specials Carousel */
.specials-wrap, .specials-wrap .container, .specials-wrap .carousel, .specials-wrap .carousel-track, .specials-wrap .carousel-slide {
  background: transparent !important;
}
.specials-wrap::before {
  content: none !important;
}

/* Events section */
.events {
  background: url('/assets/images/blackrock.png') center/cover fixed no-repeat !important;
  position: relative;
  color: #fff;
  text-align: center;
  padding: 64px 16px;
  overflow: hidden;
  box-shadow: inset 0 0 40px var(--red);
}
.events::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(11,33,66,0.5), rgba(210,31,38,0.5)) !important;
}

/* Move to the end of site.css to ensure precedence */
html, body {
  background: #000 url('/assets/images/logo-FF01.png') center/50% fixed no-repeat !important;
  margin: 0;
  padding: 0;
}

/* Category Carousel */
.cat-wrap, .cat-wrap .container, .cat-wrap .carousel, .cat-wrap .carousel-track, .cat-wrap .carousel-slide {
  background: transparent !important;
}
.cat-wrap::before {
  content: none !important;
}

/* Specials Carousel */
.specials-wrap, .specials-wrap .container, .specials-wrap .carousel, .specials-wrap .carousel-track, .specials-wrap .carousel-slide {
  background: transparent !important;
}
.specials-wrap::before {
  content: none !important;
}

/* Events section */
.events {
  background: url('/assets/images/blackrock.png') center/cover fixed no-repeat !important;
  position: relative;
  color: #fff;
  text-align: center;
  padding: 64px 16px;
  overflow: hidden;
  box-shadow: inset 0 0 40px var(--red);
}
.events::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(11,33,66,0.5), rgba(210,31,38,0.5)) !important;
}

/* Ensure Category Carousel text is visible */
.card a h3 {
  z-index: 11;
  color: #fff;
  position: absolute;
  left: 16px;
  bottom: 16px;
  margin: 0;
  font-size: 28px;
  text-shadow: 0 12px 32px rgba(0,0,0,.55), var(--glow-red);
}

/* Header logo adjustments */
.brand img {
  max-height: clamp(60px, 8vw, 80px);
  width: auto;
  animation: flagWave 1.5s infinite ease-in-out;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px; /* Increased from 12px to accommodate larger logo */
  color: #fff;
  font-weight: 800;
  animation: fadeIn 1s ease-out, pulse 2s infinite;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px; /* Slightly increased padding for balance */
  gap: 16px;
}
@media (max-width: 900px) {
  .brand img {
    max-height: clamp(50px, 10vw, 60px); /* Smaller on mobile */
  }
  .nav {
    padding: 12px 16px;
  }
}

/* Cookie Banner and Preferences Modal */
#tnl-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 99999;
  display: none;
  padding: 0 16px;
}
#tnl-cookie-banner.show {
  display: block !important;
}
#tnl-cookie-banner .tnl-wrap {
  max-width: 1100px;
  margin: 0 auto;
  background: var(--tnl-navy);
  color: var(--tnl-text);
  border-radius: calc(var(--tnl-radius) + 6px);
  box-shadow: var(--tnl-shadow);
  border: 1px solid var(--tnl-outline);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  flex-wrap: wrap;
}
#tnl-cookie-banner a {
  color: #8ec7ff;
  text-decoration: underline;
}
.tnl-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tnl-btn {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .04s ease, background .2s ease, opacity .2s ease;
}
.tnl-btn:active {
  transform: translateY(1px);
}
.tnl-accept {
  background: var(--tnl-red);
  color: #fff;
}
.tnl-accept:hover {
  background: var(--tnl-red-2);
}
.tnl-reject {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #ffffff40;
}
.tnl-reject:hover {
  box-shadow: inset 0 0 0 2px #ffffff70;
}
.tnl-manage {
  background: #ffffff12;
  color: #fff;
}
.tnl-manage:hover {
  background: #ffffff24;
}
#tnl-cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  z-index: 100000;
}
#tnl-cookie-backdrop.show {
  display: block !important;
}
.tnl-modal {
  width: min(780px, 92vw);
  margin: 6vh auto;
  background: var(--tnl-navy-2);
  color: var(--tnl-text);
  border-radius: var(--tnl-radius);
  box-shadow: var(--tnl-shadow);
  border: 1px solid var(--tnl-outline);
  overflow: hidden;
}
.tnl-modal header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--tnl-outline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tnl-modal h2 {
  margin: 0;
  font-size: 22px;
}
.tnl-modal .tnl-body {
  padding: 18px 22px;
}
.tnl-muted {
  color: var(--tnl-muted);
}
.tnl-cat {
  background: #0b1933;
  border: 1px solid var(--tnl-outline);
  border-radius: 12px;
  padding: 14px 14px;
  margin: 12px 0;
}
.tnl-cat h3 {
  margin: 0 0 6px 0;
  font-size: 16px;
}
.tnl-chip {
  display: inline-block;
  background: #ffffff10;
  color: #e6eaf5;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin-left: 8px;
}
.tnl-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.tnl-switch input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.tnl-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 16px 22px;
  border-top: 1px solid var(--tnl-outline);
}
.tnl-btn-ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px #ffffff30;
}
.tnl-btn-ghost:hover {
  box-shadow: inset 0 0 0 2px #ffffff70;
}
.tnl-btn-primary {
  background: var(--tnl-red);
  color: #fff;
}
.tnl-btn-primary:hover {
  background: var(--tnl-red-2);
}
.tnl-btn-secondary {
  background: #17305f;
  color: #fff;
}
.tnl-btn-secondary:hover {
  background: #1c3a70;
}
@media (max-width: 640px) {
  #tnl-cookie-banner .tnl-wrap {
    padding: 16px;
  }
}

/* Main content grid */
.container.wrap .grid {
  grid-template-columns: 3fr 1fr; /* Wider Events column */
  gap: 32px; /* Increased for better separation */
  max-width: 1400px; /* Wider container */
  margin: 0 auto;
}
.container.wrap .side {
  min-width: 300px; /* Increased from 240px */
}
.container.wrap .cards {
  min-width: 600px; /* Ensure Events column is wide enough */
}
@media (max-width: 900px) {
  .container.wrap .grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .container.wrap .side {
    min-width: 100%;
  }
  .container.wrap .cards {
    min-width: 100%;
  }
}/* Hero section for Terms */
.hero[role="img"][aria-label="Legal Hero Banner"] {
  min-height: 80vh;
  background: url('/assets/images/LegalHero.png') center/cover no-repeat !important;
}
.hero[role="img"][aria-label="Legal Hero Banner"]::before {
  content: none !important;
}

/* 15% Off Popup Image */
.coupon .img {
  background: url('/assets/images/girls.png') center/cover no-repeat !important;
  min-height: 600px;
}
@media (max-width: 600px) {
  .coupon .img {
    min-height: 200px;
    background: url('/assets/images/girls.png') center/cover no-repeat !important;
  }
}

/* Profile and Wishlist Pages */
.account-wrap .form-grid {
  display: grid;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
}
.account-wrap .form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.account-wrap .form-row > * {
  flex: 1;
  min-width: 200px;
}
.account-wrap .field {
  margin-bottom: 20px;
}
.account-wrap .field label {
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
  color: #fff;
}
.account-wrap .input,
.account-wrap .select {
  font-size: 18px;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--outline);
  background: #fff;
  color: #000;
}
.account-wrap .btn {
  font-size: 18px;
  padding: 12px 20px;
  border-radius: 8px;
}
.account-wrap .wishlist {
  display: grid;
  gap: 16px;
}
.account-wrap .wishlist-item {
  display: flex;
  gap: 16px;
  background: var(--navy);
  padding: 16px;
  border-radius: 8px;
  align-items: center;
}
.account-wrap .wishlist-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}
.account-wrap .wishlist-item .info {
  flex: 1;
  color: #fff;
}
.account-wrap .wishlist-item .btn-remove {
  font-size: 16px;
  padding: 8px 16px;
}
@media (max-width: 600px) {
  .account-wrap .form-row {
    flex-direction: column;
  }
  .account-wrap .wishlist-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Account Icon Dropdown and Login Modal */
.account-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: none;
  z-index: 1000;
}
.account-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.account-dropdown li {
  padding: 8px 16px;
}
.account-dropdown a, .account-dropdown button {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}
.account-dropdown a:hover, .account-dropdown button:hover {
  background: rgba(255,255,255,0.1);
}
.account-icon:hover .account-dropdown {
  display: block;
}
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
}
.login-modal.open {
  display: flex;
}
.login-modal .modal-inner {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  max-width: min(90vw, 600px);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
}
.login-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--outline);
}
.login-modal .form-grid {
  display: grid;
  gap: 20px;
  padding: 20px 0;
}
.login-modal .field label {
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
}
.login-modal .input {
  font-size: 18px;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--outline);
}
.login-modal .btn {
  font-size: 18px;
  padding: 12px 20px;
  border-radius: 8px;
}
.login-modal .error {
  color: red;
  text-align: center;
  margin-top: 10px;
}
@media (max-width: 600px) {
  .account-dropdown {
    width: 100%;
    right: 0;
  }
  .login-modal .modal-inner {
    max-width: 95vw;
  }
}

/* Account Icon Dropdown and Login Modal */
.account-icon {
  position: relative;
}
.account-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: none;
  z-index: 1000;
}
.account-dropdown.open {
  display: block;
}
.account-dropdown ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.account-dropdown li {
  padding: 8px 16px;
}
.account-dropdown a, .account-dropdown button {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}
.account-dropdown a:hover, .account-dropdown button:hover {
  background: rgba(255,255,255,0.1);
}
.account-icon:hover .account-dropdown {
  display: block;
}
.login-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
}
.login-modal.open {
  display: flex;
}
.login-modal .modal-inner {
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  max-width: min(90vw, 600px);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
}
.login-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--outline);
}
.login-modal .modal-header h2 {
  color: #fff;
  font-size: 24px;
  margin: 0;
}
.login-modal .form-grid {
  display: grid;
  gap: 20px;
  padding: 20px 0;
}
.login-modal .field label {
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
  color: #fff;
}
.login-modal .input {
  font-size: 18px;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--outline);
  background: #fff;
  color: #000;
}
.login-modal .btn {
  font-size: 18px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  border: none;
  cursor: pointer;
}
.login-modal .btn:hover {
  background: var(--red-dark);
}
.login-modal .error {
  color: #ff5555;
  text-align: center;
  margin-top: 10px;
}
.login-modal a {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 600px) {
  .account-dropdown {
    width: 100%;
    right: 0;
  }
  .login-modal .modal-inner {
    max-width: 95vw;
  }
}

/* Profile and Wishlist Pages */
.account-wrap .form-grid {
  display: grid;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px;
}
.account-wrap .form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.account-wrap .form-row > * {
  flex: 1;
  min-width: 200px;
}
.account-wrap .field {
  margin-bottom: 20px;
}
.account-wrap .field label {
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
  color: #fff; /* Explicitly white for labels */
}
.account-wrap h2 {
  color: #fff !important; /* White for headings like "Update Profile" */
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 700;
}
.account-wrap .input,
.account-wrap .select {
  font-size: 18px;
  padding: 12px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--outline);
  background: #fff;
  color: #000;
}
.account-wrap .btn {
  font-size: 18px;
  padding: 12px 20px;
  border-radius: 8px;
}
.account-wrap .wishlist {
  display: grid;
  gap: 16px;
}
.account-wrap .wishlist-item {
  display: flex;
  gap: 16px;
  background: var(--navy);
  padding: 16px;
  border-radius: 8px;
  align-items: center;
}
.account-wrap .wishlist-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}
.account-wrap .wishlist-item .info {
  flex: 1;
  color: #fff;
}
.account-wrap .wishlist-item .btn-remove {
  font-size: 16px;
  padding: 8px 16px;
}
@media (max-width: 600px) {
  .account-wrap .form-row {
    flex-direction: column;
  }
  .account-wrap .wishlist-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero Sections for Customer Portal */
.hero[role="img"][aria-label="Customer Dashboard Banner"] {
  min-height: 80vh;
  background: url('/assets/images/CustomerDashHero.png') center/cover no-repeat !important;
}
.hero[role="img"][aria-label="Customer Login Banner"] {
  min-height: 80vh;
  background: url('/assets/images/CustomerLoginHero.png') center/cover no-repeat !important;
}
.hero[role="img"][aria-label="Customer Profile Banner"] {
  min-height: 80vh;
  background: url('/assets/images/CustomerProfileHero.png') center/cover no-repeat !important;
}
.hero[role="img"][aria-label="Customer Wishlist Banner"] {
  min-height: 80vh;
  background: url('/assets/images/CustomerWishlistHero.png') center/cover no-repeat !important;
}
.hero[role="img"][aria-label="Customer Register Banner"] {
  min-height: 80vh;
  background: url('/assets/images/CustomerRegisterHero.png') center/cover no-repeat !important;
}
.hero[role="img"]::before {
  content: none !important;
}

/* Profile Form Enhancements */
.profile-form .field {
  position: relative;
}
.profile-form .edit-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #fff;
  font-size: 18px;
}
.profile-form .password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #fff;
  font-size: 18px;
}
.profile-form .address-section {
  margin-top: 20px;
}
.profile-form .address-list {
  display: grid;
  gap: 16px;
}
.profile-form .address-item {
  background: var(--navy);
  padding: 16px;
  border-radius: 8px;
  color: #fff;
}
.profile-form .address-item button {
  margin-left: 10px;
  font-size: 16px;
  padding: 8px 16px;
}
.profile-form .add-address-btn {
  margin-top: 10px;
  font-size: 16px;
  padding: 8px 16px;
}
.profile-form .change-password-btn {
  margin-left: 10px;
  font-size: 16px;
  padding: 8px 16px;
}

/* Profile and Dashboard Text Color */
.account-wrap, .wrap {
  color: #fff !important; /* Ensure all text is white */
}
.account-wrap h1, .account-wrap h2, .account-wrap h3, .account-wrap p, .account-wrap li {
  color: #fff !important;
}
.wrap h1, .wrap h2, .wrap h3, .wrap p, .wrap li {
  color: #fff !important;
}
.account-wrap .form-grid, .wrap .grid {
  background: var(--navy);
}
.account-wrap .form-grid label, .wrap .grid label {
  color: #fff !important;
}
.account-wrap .form-grid .input, .wrap .grid .input {
  background: #fff;
  color: #000;
}
.account-wrap .form-grid .btn, .wrap .grid .btn {
  color: #fff;
}
.profile-form .field {
  position: relative;
}
.profile-form .edit-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #fff;
  font-size: 18px;
}
.profile-form .password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #fff;
  font-size: 18px;
}
.profile-form .address-section {
  margin-top: 20px;
}
.profile-form .address-list {
  display: grid;
  gap: 16px;
}
.profile-form .address-item {
  background: var(--navy);
  padding: 16px;
  border-radius: 8px;
  color: #fff;
}
.profile-form .address-item button {
  margin-left: 10px;
  font-size: 16px;
  padding: 8px 16px;
  color: #fff;
}
.profile-form .add-address-btn {
  margin-top: 10px;
  font-size: 16px;
  padding: 8px 16px;
  color: #fff;
}
.profile-form .change-password-btn {
  margin-left: 10px;
  font-size: 16px;
  padding: 8px 16px;
  color: #fff;
}

/* Customer Portal Styles */
.account-wrap, .wrap {
  color: #fff !important;
}
.account-wrap h1, .account-wrap h2, .account-wrap h3, .account-wrap p, .account-wrap li {
  color: #fff !important;
}
.wrap h1, .wrap h2, .wrap h3, .wrap p, .wrap li {
  color: #fff !important;
}
.account-wrap .form-grid, .wrap .form-grid {
  background: var(--navy) !important;
  padding: 24px;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}
.account-wrap .form-grid label, .wrap .form-grid label {
  color: #fff !important;
}
.account-wrap .form-grid .input, .wrap .form-grid .input {
  background: #fff;
  color: #000;
}
.account-wrap .form-grid .btn, .wrap .form-grid .btn {
  color: #fff;
  z-index: 10;
}
.form-grid a, #registerLink {
  color: #fff !important;
  text-decoration: underline;
  cursor: pointer;
  pointer-events: auto !important;
  z-index: 100 !important;
  display: inline-block;
  position: relative;
}
.form-grid a:hover, #registerLink:hover {
  color: #ccc !important;
  text-decoration: none;
}
.profile-form .field {
  position: relative;
}
.profile-form .edit-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  z-index: 10;
}
.profile-form .password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  z-index: 10;
}
.profile-form .address-section {
  margin-top: 20px;
}
.profile-form .address-list {
  display: grid;
  gap: 16px;
}
.profile-form .address-item {
  background: var(--navy);
  padding: 16px;
  border-radius: 8px;
  color: #fff;
}
.profile-form .address-item button {
  margin-left: 10px;
  font-size: 16px;
  padding: 8px 16px;
  color: #fff;
}
.profile-form .add-address-btn {
  margin-top: 10px;
  font-size: 16px;
  padding: 8px 16px;
  color: #fff;
}
.profile-form .change-password-btn {
  margin-left: 10px;
  font-size: 16px;
  padding: 8px 16px;
  color: #fff;
}
/* === PATCH: Cookie Consent (namespaced, zero-conflict) ===================== */
:root{
  --tnl-navy:#0b1c33; --tnl-navy-2:#0f2240; --tnl-text:#ffffff; --tnl-muted:#b8c4d9;
  --tnl-red:#e11d2e; --tnl-red-2:#c41725; --tnl-outline:#1f2e55;
  --tnl-shadow:0 12px 28px rgba(0,0,0,.35); --tnl-radius:14px;
}

/* Banner (hidden by default — JS will show it) */
#tnl-cookie-banner{
  position:fixed; left:0; right:0; bottom:16px; z-index:10000; display:none; padding:0 16px;
}
#tnl-cookie-banner .tnl-wrap{
  max-width:1100px; margin:0 auto; background:var(--tnl-navy); color:var(--tnl-text);
  border-radius:calc(var(--tnl-radius) + 6px); box-shadow:var(--tnl-shadow);
  border:1px solid var(--tnl-outline); display:flex; gap:16px; align-items:center;
  justify-content:space-between; padding:18px 20px; flex-wrap:wrap;
}
#tnl-cookie-banner a{ color:#8ec7ff; text-decoration:underline; }
.tnl-actions{ display:flex; gap:10px; flex-wrap:wrap; }
.tnl-btn{ border:none; border-radius:999px; padding:12px 18px; cursor:pointer; font-weight:700; }
.tnl-accept{ background:var(--tnl-red); color:#fff; } .tnl-accept:hover{ background:var(--tnl-red-2); }
.tnl-reject{ background:transparent; color:#fff; box-shadow:inset 0 0 0 2px #ffffff40; }
.tnl-reject:hover{ box-shadow:inset 0 0 0 2px #ffffff70; }
.tnl-manage{ background:#ffffff12; color:#fff; } .tnl-manage:hover{ background:#ffffff24; }

@media (max-width:640px){ #tnl-cookie-banner .tnl-wrap{ padding:16px; } }

/* Preferences modal (separate layer above everything except native dialogs) */
#tnl-cookie-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.55); display:none; z-index:10001; }
.tnl-modal{
  width:min(780px,92vw); margin:6vh auto; background:var(--tnl-navy-2); color:var(--tnl-text);
  border-radius:var(--tnl-radius); box-shadow:var(--tnl-shadow);
  border:1px solid var(--tnl-outline); overflow:hidden;
}
.tnl-modal header{ padding:18px 22px; border-bottom:1px solid var(--tnl-outline);
  display:flex; align-items:center; justify-content:space-between; }
.tnl-modal h2{ margin:0; font-size:22px; }
.tnl-modal .tnl-body{ padding:18px 22px; }
.tnl-muted{ color:var(--tnl-muted); }
.tnl-cat{ background:#0b1933; border:1px solid var(--tnl-outline); border-radius:12px; padding:14px; margin:12px 0; }
.tnl-cat h3{ margin:0 0 6px; font-size:16px; }
.tnl-chip{ display:inline-block; background:#ffffff10; color:#e6eaf5; padding:2px 10px; border-radius:999px; font-size:12px; margin-left:8px; }
.tnl-switch{ display:flex; align-items:center; gap:10px; margin-top:10px; }
.tnl-switch input[type="checkbox"]{ width:20px; height:20px; cursor:pointer; }
.tnl-row{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; padding:16px 22px; border-top:1px solid var(--tnl-outline); }
.tnl-btn-ghost{ background:transparent; color:#fff; box-shadow:inset 0 0 0 2px #ffffff30; }
.tnl-btn-primary{ background:var(--tnl-red); color:#fff; }
.tnl-btn-secondary{ background:#17305f; color:#fff; }

/* Ensure cookie UI sits above your coupon/event modals but below native alerts */
.coupon-back{ z-index:9999; }  /* existing layer */
.modal{ z-index:9998; }        /* existing layer */

/* Utility classes used by the script */
#tnl-cookie-banner.show, #tnl-cookie-banner.is-visible { display:block !important; }
#tnl-cookie-backdrop.show, #tnl-cookie-backdrop.is-open { display:block !important; }

/* =========================================================
   The ’Neck Life — site.css mobile patch v1
   Paste this at the VERY END of /assets/site.css
   ====================================================== */

/* 1) Safer container padding on narrow screens */
:root { --pad: clamp(12px, 3.5vw, 24px); }
.container { padding-inline: var(--pad); }

/* 2) Universal image safety: stop overflows & layout shifts */
img { max-width: 100%; height: auto; }

/* 3) Hero: readable sizes + stop heavy overlays from older rules */
.hero .hero-content { text-align: center; }
.hero h1 { font-size: clamp(2rem, 7vw, 4rem); line-height: 1.05; margin: 0.1em 0 0.2em; }
.hero .tag { font-size: clamp(0.95rem, 3.3vw, 1.2rem); }
/* If any earlier CSS force-added hero overlays, turn them off here */
.hero::before, .hero::after { pointer-events: none; }

/* 4) Carousels — resilience + touch targets */
.carousel { position: relative; overflow: hidden; }
.carousel-track { display: flex; gap: 16px; transition: transform 300ms ease; will-change: transform; }
.carousel-slide { flex: 0 0 auto; }
.carousel-buttons { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.carousel-btn { touch-action: manipulation; font-size: 1.1rem; line-height: 1; padding: 10px 14px; border-radius: 10px; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 999px; background: #cbd5e1; }
.carousel-dot.active { background: #0b2142; }

/* Category carousel slides: let JS control width, but ensure a sensible min */
.cat-carousel .carousel-slide { min-width: 140px; }

/* 5) Specials carousel cards: remove inherited padding/box from older rules */
.specials-carousel .carousel-slide { background: transparent !important; box-shadow: none !important; padding: 0 !important; }

/* 6) Newsletter form wraps nicely on mobile */
.nl-form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-form input[type="email"] { flex: 1 1 240px; min-width: 0; }
.nl-form button { flex: 0 0 auto; }

/* 7) Events section floating images — shrink and hide if too tight */
.events .event-img-left,
.events .event-img-right { max-width: 28vw; height: auto; opacity: .96; }
@media (max-width: 720px) {
  .events .event-img-left,
  .events .event-img-right { max-width: 32vw; }
}
@media (max-width: 560px) {
  .events .event-img-left,
  .events .event-img-right { display: none; }
}

/* 8) iOS performance: avoid janky parallax/fixed backgrounds on phones */
@supports (-webkit-touch-callout: none) {
  .hero,
  .cat-wrap,
  .specials-wrap,
  .events {
    background-attachment: scroll !important; /* neutralize fixed on iOS */
  }
}

/* 9) Make buttons easier to tap */
button, .btn, .carousel-btn, .page-btn, .tnl-btn {
  min-height: 44px; min-width: 44px;
}

/* 10) Coupon & modal sizing guardrails (prevents off-screen on iPhone) */
#couponBack .coupon { max-width: min(680px, 94vw); }
.modal .modal-inner,
.login-modal .modal-inner { max-width: min(800px, 95vw); }

/* 11) Header/logo: keep within bounds on small screens */
.brand img { max-height: clamp(48px, 10vw, 72px); width: auto; }

/* 12) Utility */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 13) OPTIONAL: calm down any repeated global background overrides on phones.
       Comment out if you want to keep the big background logo on mobile. */
@media (max-width: 680px) {
  html, body {
    background-size: 120% auto !important;
    background-attachment: scroll !important;
  }
}

/* =========================================================
   The ’Neck Life — site.css mobile cross-platform patch v2
   (append AFTER v1)
   ====================================================== */

/* A) Cross-platform text scaling & tap behavior */
html {
  -webkit-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
          text-size-adjust: 100%;
}
body, button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent; /* iOS/Android tap flash */
  touch-action: manipulation;               /* Faster taps (no 300ms) */
}

/* B) Focus visibility (mobile keyboards, accessibility) */
:focus-visible {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

/* C) Dynamic viewport units (Android Chrome + iOS 16+)
   Use dvh when available, fallback to svh/lvh/vh */
.hero,
.hero[role="img"] {
  min-height: 80vh; /* fallback */
}
@supports (height: 100dvh) {
  .hero,
  .hero[role="img"] {
    min-height: 80dvh;
  }
}
@supports (height: 100svh) {
  .hero,
  .hero[role="img"] {
    min-height: 80svh;
  }
}

/* D) Fixed/parallax backgrounds can jank on mobile – neutralize on phones */
@media (max-width: 900px) {
  .hero,
  .cat-wrap,
  .specials-wrap,
  .events,
  .wrap,
  .shop-wrap,
  .cart-wrap,
  .legal-wrap {
    background-attachment: scroll !important;
    background-position: center !important;
  }
}

/* E) Prevent overscroll chain (Android pull-to-refresh) inside carousels & modals */
.carousel, .modal, .login-modal, .event-modal, #couponBack, #tnl-cookie-backdrop {
  overscroll-behavior: contain; /* don't propagate scroll beyond element */
}

/* F) Touch gestures on carousels (avoid horizontal scroll hijacking) */
.carousel, .carousel-track {
  touch-action: pan-y pinch-zoom; /* allow vertical scroll & pinch; we manage X */
}

/* G) Inputs: avoid zoom on iOS (keep >=16px), consistent sizing */
input, select, textarea, button {
  font-size: 16px; /* safe for iOS zoom prevention */
}

/* H) Reduce animation cost on low-end devices / user pref */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* I) Safe-area padding (iOS notch; harmless on Android) */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
.site-header { padding-top: max(0px, var(--safe-top)); }
#tnl-cookie-banner { padding-bottom: calc(16px + var(--safe-bottom)); }

/* J) Mobile menu/container protections */
@media (max-width: 900px) {
  .menu.open {
    max-height: 80vh; overflow:auto; -webkit-overflow-scrolling: touch;
  }
  .container { overflow-wrap: anywhere; }
}

/* K) Images in dense grids: guard against overflow & layout thrash */
.shop-grid img,
.prod img,
.card img,
.event-card img,
.hero-img,
.thumb,
.thumbs img {
  contain: paint; /* isolate painting for perf */
  image-rendering: auto;
}

/* L) Buttons & tappables: minimum hit size (Android/iOS HIG) */
button, .btn, .carousel-btn, .page-btn, .tnl-btn, .chip, .link {
  min-height: 44px; min-width: 44px; /* already set in v1 for some; ensure all */
}

/* M) Modal scroll: keep background from scrolling underneath on Android */
.modal.open, .login-modal.open, .event-modal.open, #couponBack.show, #tnl-cookie-backdrop.show {
  position: fixed; inset: 0; /* hard lock viewport */
}

/* N) iOS/Android keyboard: keep form actions visible */
@media (max-width: 700px) {
  .coupon .body, .modal .modal-inner, .login-modal .modal-inner {
    scroll-padding-bottom: 96px;
  }
}

/* O) Android Chrome zoom rounding fix on tiny screens (guard text) */
@media (max-width: 360px) {
  body { font-size: 15px; }
  .menu a, .toolbar strong, .title { word-break: break-word; }
}
/* ===== TNL: Mobile/UX Patch for index.html (v1) ===== */

/* 1) Coupon popup: fit small screens, scroll inside, saner typography */
#couponBack { align-items: center; justify-content: center; padding: 16px; }
#couponBack .coupon {
  width: min(680px, 96vw);
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 16px;
}
#couponBack .coupon .body {
  overflow: auto;
  padding: clamp(16px, 3.5vw, 28px);
}
#couponBack .coupon .big { font-size: clamp(28px, 8vw, 56px); line-height: 1; }
#couponBack .coupon input[type="email"],
#couponBack .coupon input[type="password"] { font-size: 16px; } /* prevent iOS zoom */
#couponBack .coupon .x { top: 8px; right: 8px; }

/* 2) Carousels: arrows to the sides on desktop; hide on small screens (swipe instead) */
.carousel { --btn-offset: 10px; }
.carousel .carousel-buttons { margin-top: 0; }
.carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.25);
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
}
.carousel .carousel-btn.prev { left: var(--btn-offset); }
.carousel .carousel-btn.next { right: var(--btn-offset); }

/* On phones: rely on touch swipe, keep dots; remove center-floating red arrows */
@media (max-width: 640px) {
  .carousel .carousel-buttons { display: none !important; }
}

/* 3) Events section: side-by-side photos desktop, stacked on mobile; spacing */
.events .events-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 3vw, 24px);
  align-items: center;
  margin-block: 12px 16px;
}
@media (max-width: 800px) {
  .events .events-photos { grid-template-columns: 1fr; }
}
.events .events-copy {
  margin: 0 0 16px 0;
  max-width: 70ch;
}
.events .events-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn.btn-secondary {
  background: transparent;
  border: 2px solid currentColor;
}

/* 4) Newsletter input: remove giant pill/oval look on phones */
.newsletter .nl-form input[type="email"] {
  border-radius: 8px !important;
  height: 44px !important;
  line-height: 44px !important;
  padding: 0 12px !important;
}

/* 5) Remove “rotating stars” that sit top-left in each section (keep coupon-star) */
.star { display: none !important; }

/* 6) Footer patriotic dual glow (replace yellow). Assumes blue background already set. */
footer {
  position: relative;
  z-index: 0;
  box-shadow: none !important; /* neutralize old glow if any */
}
footer::before,
footer::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
footer::before { /* inner white perimeter */
  box-shadow: inset 0 0 0 4px #ffffff;
}
footer::after {  /* outer red glow */
  box-shadow: 0 0 28px 10px rgba(220, 38, 38, 0.55);
}

/* 7) Make modals safer on small screens */
.modal.open .modal-inner {
  max-height: 92vh;
  overflow: auto;
}
/* ===== TNL: Desktop fixes for index carousels, section stars, footer glow ===== */

/* 3) Carousels: push arrows to left/right edges on desktop (hide on phones elsewhere) */
.carousel { position: relative; }

/* Let buttons position against the .carousel, not be centered in their own row */
.carousel .carousel-buttons {
  position: static !important;
  height: 0;               /* visually collapses that row */
  justify-content: initial !important;
}

/* Absolutely position the buttons at the sides */
.carousel .carousel-btn {
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.2);
  background: rgba(255,255,255,.92) !important; /* neutral (not red) */
  color: #0b2142 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.carousel .carousel-btn.prev { left: 10px; }
.carousel .carousel-btn.next { right: 10px; }

/* (Mobile rule already in previous patch hides buttons ≤640px; keep that.) */


/* 6) Remove the rotating stars in the top-left of sections (do not touch coupon-star) */
.cat-wrap > .star,
.specials-wrap > .star,
.newsletter > .star,
.events > .star,
#modal > .star {
  display: none !important;
}

/* 7) Footer: two-layer patriotic glow (white inner perimeter + red outer glow) */
footer,
.site-footer,
footer[role="contentinfo"] {
  position: relative;
  isolation: isolate;          /* keep pseudo-elements from leaking */
  box-shadow: none !important; /* neutralize any old yellow glow */
}

footer::before,
.site-footer::before,
footer[role="contentinfo"]::before,
footer::after,
.site-footer::after,
footer[role="contentinfo"]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

/* Inner white perimeter line */
footer::before,
.site-footer::before,
footer[role="contentinfo"]::before {
  box-shadow: inset 0 0 0 4px #fff;
}

/* Outer soft red glow (keeps your blue footer bg) */
footer::after,
.site-footer::after,
footer[role="contentinfo"]::after {
  box-shadow: 0 0 28px 12px rgba(220, 38, 38, 0.55);
}

/* ================================
   TNL – Desktop fixes & cleanup
   v1.2
   ================================ */

/* --- 3) Carousels: arrows to the sides on desktop, neutral style --- */
.carousel { position: relative; }

/* Collapse the centered row and use absolute-positioned side buttons */
.carousel .carousel-buttons {
  position: static !important;
  height: 0 !important;
  margin-top: 0 !important;
  justify-content: initial !important;
}

.carousel .carousel-btn {
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.2);
  background: rgba(255,255,255,.95) !important; /* remove red */
  color: #0b2142 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  line-height: 48px;
}
.carousel .carousel-btn.prev { left: 10px; }
.carousel .carousel-btn.next { right: 10px; }

/* Keep dots under the track, not centered vertically */
.carousel .carousel-dots { margin-top: 12px !important; }

/* On small screens, rely on swipe – hide the buttons */
@media (max-width: 640px) {
  .carousel .carousel-btn { display: none !important; }
}

/* --- 6) Remove rotating stars at top-left of sections & header ---
   Keep the coupon star (class="coupon-star") visible. */
svg.star { display: none !important; }               /* nuke all injected “star” svgs */
.coupon .coupon-star { display: inline !important; } /* but keep the coupon star */

/* Safety: if any markup uses <something class="star"> that is NOT an svg,
   target the exact ones we know about too */
.cat-wrap > .star,
.specials-wrap > .star,
.newsletter > .star,
.events > .star,
#modal > .star,
.site-header > .star { display: none !important; }

/* --- 7) Footer: two-layer patriotic glow (white inner + red outer) --- */
.site-footer,
footer,
footer[role="contentinfo"] {
  position: relative;
  isolation: isolate;           /* keep pseudo effects contained */
  box-shadow: none !important;  /* kill the previous yellow glow */
}

/* pseudo wrappers */
.site-footer::before,
.site-footer::after,
footer::before,
footer::after,
footer[role="contentinfo"]::before,
footer[role="contentinfo"]::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

/* inner white perimeter line */
.site-footer::before,
footer::before,
footer[role="contentinfo"]::before {
  box-shadow: inset 0 0 0 4px #FFFFFF;
}

/* outer red glow */
.site-footer::after,
footer::after,
footer[role="contentinfo"]::after {
  box-shadow: 0 0 28px 12px rgba(220, 38, 38, 0.55);
}

/* Coupon panel readability + mascot */
#couponBack .coupon { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
#couponBack .coupon .img { background: url('/assets/images/girls.png') center/cover no-repeat; min-height: 540px; }
#couponBack .coupon .body { background:#0b2142; color:#fff; position: relative; padding: 24px 24px 28px; }
#couponBack .coupon .body .big { text-shadow: 0 6px 18px rgba(0,0,0,.35); }
#couponBack .coupon .body input, 
#couponBack .coupon .body .pwd-wrap input { background:#fff; color:#0b2142; }
#couponBack .coupon .coupon-mascot { position:absolute; top:12px; right:16px; width:78px; height:auto; }
/* Mobile stack for coupon */
@media (max-width: 820px){
  #couponBack .coupon { grid-template-columns: 1fr; }
  #couponBack .coupon .img { min-height: 220px; }
}

/* Events: image – text – image on desktop; stack on mobile */
.events .events-grid { 
  display:grid; 
  grid-template-columns: 1fr minmax(280px, 560px) 1fr; 
  gap: 24px; 
  align-items: center; 
}
.events .events-grid img { width:100%; height:auto; border-radius: 6px; }
.events .events-center { text-align:center; }
.events .events-actions { display:flex; gap:12px; justify-content:center; margin-top:14px; flex-wrap:wrap; }
@media (max-width: 900px){
  .events .events-grid { grid-template-columns: 1fr; }
  .events .events-center { order:2; }
}
/* -----------------------------------------------------------
       EVENTS — three-column desktop (img / center text / img)
       ----------------------------------------------------------- */
    .events .title { text-align:center; margin: 0 0 10px; }
    .events-grid{
      display:grid;
      grid-template-columns: 1fr minmax(360px, 640px) 1fr;
      gap: 28px;
      align-items:center;
      margin-top: 6px;
    }
    .events-grid img{
      width:100%;
      max-width: 340px;
      border-radius: 6px;
      box-shadow: 0 6px 22px rgba(0,0,0,.35);
      justify-self:center;
      position: static !important;
      opacity:.98;
    }
    .events-center{ text-align:center; }
    .events-copy{
      margin: 10px auto 14px;
      max-width: 56ch;
      text-wrap: pretty;
    }
    .events-actions{
      display:flex; gap:12px; justify-content:center; flex-wrap:wrap;
    }
    @media (max-width: 1100px){
      .events-grid{
        grid-template-columns: minmax(220px,1fr) minmax(320px,1.2fr) minmax(220px,1fr);
        gap: 22px;
      }
      .events-grid img{ max-width: 300px; }
    }
    @media (max-width: 900px){
      .events-grid{
        grid-template-columns: 1fr;
      }
      .events-grid img{ max-width: 520px; }
      .events-center{ order: -1; } /* put text above the images on small screens */
    }

    /* -----------------------------------------------------------
       COUPON POPUP — readable blue panel + mascot instead of star
       ----------------------------------------------------------- */
    #couponBack .coupon{
      display:grid;
      grid-template-columns: 1.1fr 1fr;
      gap:0;
      max-width: min(920px, 94vw);
      border-radius:18px;
      overflow:hidden;
      box-shadow: 0 12px 30px rgba(0,0,0,.45), 0 0 0 2px rgba(11,33,66,.3);
    }
    #couponBack .coupon .img{
      background: url('/assets/images/girls.png') center/cover no-repeat;
      min-height: 420px;
    }
    #couponBack .coupon .body{
      position: relative;
      background: #0b2142; /* deep blue */
      color: #fff;
      padding: clamp(16px, 3.2vw, 28px);
    }
    #couponBack .coupon .coupon-star{ display:none; }
    #couponBack .coupon .coupon-mascot{
      position:absolute; top:10px; right:12px; width:72px; height:auto;
      filter: drop-shadow(0 6px 12px rgba(0,0,0,.35));
    }
    #couponBack .coupon .body h3,
    #couponBack .coupon .body .big,
    #couponBack .coupon .body p,
    #couponBack .coupon .body label{ color:#fff; }
    #couponBack .coupon .body .big{
      font-weight:800; line-height:1; margin: 6px 0 10px;
      text-shadow: 0 6px 18px rgba(0,0,0,.35);
    }
    #couponBack .coupon .coupon-sub{ opacity:.95; }
    #couponBack .coupon input[type="email"],
    #couponBack .coupon input[type="password"]{
      background:#f6f7fb; border:1px solid #cfd6e4; color:#0b2142;
      width:100%; border-radius:12px; padding:12px 14px;
    }
    #couponBack .coupon .pwd-wrap{ display:flex; align-items:center; gap:8px; margin-top:10px; }
    #couponBack .coupon .eye{
      border-radius:10px; border:1px solid #cfd6e4; background:#fff; padding:8px 10px;
    }
    @media (max-width: 780px){
      #couponBack .coupon{ grid-template-columns: 1fr; }
      #couponBack .coupon .img{ min-height: 260px; }
      #couponBack .coupon .coupon-mascot{ width:58px; }
    }

    /* Keep your earlier helper rules */
    .nl-form { display: flex; gap: 8px; flex-wrap: wrap; }
    .nl-form input[type="email"] { flex: 1 1 240px; min-width: 0; }
    .nl-form button { flex: 0 0 auto; }
/* ===== MOBILE NAV (burger toggle) ===== */
.site-header .nav { align-items: center; }

/* Hidden by default on small screens; shown when .open is toggled by JS */
.site-header .menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #0b2142;          /* site blue */
  padding: 12px var(--pad);
  border-top: 1px solid rgba(255,255,255,.08);
  z-index: 900;                  /* above header background */
}
.site-header .menu.open { display: block; }

/* Make links stack vertically with comfortable tap targets */
.site-header .menu > a,
.site-header .menu .dropdown > a {
  display: block;
  padding: 12px 6px;
}

/* Nested dropdowns open/close on tap (JS toggles .open on <li>) */
.site-header .menu .dropdown > ul { display: none; padding-left: 12px; }
.site-header .menu .dropdown.open > ul { display: block; }

/* Desktop restores the inline layout */
@media (min-width: 901px) {
  .site-header .menu {
    display: flex !important;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
  }
  .site-header .menu > a,
  .site-header .menu .dropdown > a { padding: 0 10px; }
  .site-header .menu .dropdown > ul { display: none; position: absolute; }
  .burger { display: none; }
}

/* ===== ACCOUNT DROPDOWN (fix vertical letters on mobile) ===== */
.account-icon { position: relative; }
.account-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #ffffff;
  color: #0b2142;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  min-width: 200px;             /* prevent narrow column that forces per-letter wraps */
  z-index: 1000;
  writing-mode: horizontal-tb;   /* force normal text flow */
}
.account-dropdown ul { margin: 0; padding: 0; list-style: none; }
.account-dropdown li { margin: 0; }
.account-dropdown a,
.account-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  white-space: nowrap;           /* keep words on one line */
  word-break: keep-all;
  overflow-wrap: normal;
  line-height: 1.35;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.account-dropdown a:hover,
.account-dropdown button:hover {
  background: #f3f5f9;
  border-radius: 8px;
}
/* =========================
   MOBILE HEADER FIXES
   ========================= */

/* 1) Force the burger menu to work on small screens */
@media (max-width: 900px) {
  /* Hide nav until toggled */
  #menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #0b2142;                 /* dark blue panel */
    z-index: 1000;
    padding: 10px var(--pad);
    border-top: 1px solid rgba(255,255,255,.15);
  }
  /* Shown when JS toggles .open on #menu */
  #menu.open { display: block !important; }

  /* Stack links vertically with big tap targets */
  #menu > a,
  #menu .dropdown > a {
    display: block;
    padding: 12px 8px;
    border-radius: 8px;
  }
  #menu > a:hover,
  #menu .dropdown > a:hover {
    background: rgba(255,255,255,.06);
  }

  /* Nested dropdowns: JS adds .open to <li> on tap */
  #menu .dropdown > ul { display: none; padding-left: 10px; }
  #menu .dropdown.open > ul { display: block; }
}

/* 2) Make the "Menu" button a proper hamburger, avoid wrapped letters */
.burger{
  position: relative;
  width: 44px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  cursor: pointer;
  font-size: 0;                 /* hides the word "Menu" without changing HTML */
  line-height: 0;
  overflow: hidden;
}
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}
.burger::before { top: 11px; box-shadow: 0 8px 0 #fff; } /* three lines */

/* 3) Account dropdown: make it dark so text is readable */
.account-dropdown{
  background: #0b2142 !important;        /* dark */
  color: #fff !important;
  min-width: 220px;                       /* keep items from wrapping per-letter */
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
}
.account-dropdown a,
.account-dropdown button{
  color: #fff !important;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}
.account-dropdown a:hover,
.account-dropdown button:hover{
  background: rgba(255,255,255,.1);
}

/* Desktop restores inline layout and hides burger */
@media (min-width: 901px){
  #menu{
    display: flex !important;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
  }
  .burger{ display: none; }
}
/* ==== MOBILE HEADER / BURGER, FINAL ==== */
.site-header{ position: relative; z-index: 2000; }  /* keep header on top */

@media (max-width: 900px){
  /* Mobile nav panel (hidden until .open) */
  #menu{
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    width: 100%;
    background: #0b2142;
    z-index: 3000;                       /* above page content */
    padding: 10px var(--pad);
    border-top: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 12px 28px rgba(0,0,0,.35);
  }
  #menu.open{ display: block !important; }

  /* Stack links with big tap targets */
  #menu > a,
  #menu .dropdown > a{
    display:block;
    padding:12px 10px;
    border-radius:10px;
  }
  #menu > a:hover,
  #menu .dropdown > a:hover{ background: rgba(255,255,255,.08); }

  /* dropdown expand on tap (JS toggles .open on <li>) */
  #menu .dropdown > ul{ display:none; padding-left:12px; }
  #menu .dropdown.open > ul{ display:block; }
}

/* Hamburger button: proper “three lines”, prevents text wrapping */
.burger{
  position: relative;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  cursor: pointer;
  font-size: 0; line-height: 0;         /* hide the word “Menu” */
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.burger::before,
.burger::after{
  content:"";
  position:absolute;
  width: 22px; height:2px;
  background:#fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.burger::before{
  top: 13px; left: 50%; transform: translateX(-50%);
  box-shadow: 0 8px 0 #fff;             /* middle line */
}
.burger::after{
  bottom: 13px; left: 50%; transform: translateX(-50%);
}

/* Optional “X” animation when menu open (aria-expanded=true set by JS) */
.burger[aria-expanded="true"]::before{
  box-shadow: none;
  transform: translateX(-50%) rotate(45deg);
  top: 21px;
}
.burger[aria-expanded="true"]::after{
  transform: translateX(-50%) rotate(-45deg);
  bottom: 21px;
}

/* Account dropdown legibility (you said this helped; keeping it) */
.account-dropdown{
  background:#0b2142 !important;
  color:#fff !important;
  min-width:220px;
  box-shadow:0 12px 28px rgba(0,0,0,.35);
}
.account-dropdown a,
.account-dropdown button{
  color:#fff !important;
  white-space:nowrap;
}
.account-dropdown a:hover,
.account-dropdown button:hover{ background: rgba(255,255,255,.1); }

/* Desktop restores inline nav, hides burger */
@media (min-width: 901px){
  #menu{ display:flex !important; position:static; padding:0; background:transparent; box-shadow:none; }
  .burger{ display:none; }
}
/* === Shared Newsletter Modal (site-wide) === */
#newsletterBack{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.55);z-index:1000}
#newsletterBack.show{display:flex}
#newsletterBack .box{width:min(560px,92vw);background:#0b2142;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.35);padding:16px}
#newsletterBack .hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
#newsletterBack .hd strong{font-size:18px}
#newsletterBack .close{background:transparent;border:0;color:#fff;font-weight:800;cursor:pointer;font-size:18px}
#newsletterBack .msg{margin:8px 0 14px;line-height:1.35}
#newsletterBack .actions{display:flex;gap:10px;flex-wrap:wrap}
#newsletterBack .actions .btn{min-width:140px}

/* Optional: ensure basic newsletter section layout is consistent */
.newsletter .nl-form{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.newsletter .nl-form input[type="email"]{flex:1 1 260px;min-width:0}
/* === Newsletter modal — global (matches Shop page) === */
#newsletterBack{
  position: fixed; inset: 0; display: none;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.6); padding: 14px;
  overflow: auto; z-index: 9999;
}
#newsletterBack.show{ display:flex; }

#newsletterModal{
  width: min(560px, 96vw);
  background: #0b2142; color: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.45), 0 0 0 2px rgba(11,33,66,.3);
  padding: 18px; position: relative;
}
#newsletterModal h3{ margin: 0 0 8px; font-weight: 800; }
#newsletterModal p{ margin: 8px 0 12px; }
#newsletterModal .actions{ display:flex; gap:10px; flex-wrap:wrap; }

#newsletterClose{
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border: 0; border-radius: 999px;
  background: #dc2626; color: #fff; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* Optional: ensure .btns in the modal look consistent */
#newsletterModal .btn{
  background:#0ea5e9; color:#fff; border:0; border-radius:10px;
  padding:8px 12px; font-weight:700;
}
#newsletterModal .btn:hover{ transform: translateY(-1px); }
#newsletterModal .btn + .btn{ background:#374151; }

/* Make tiles fully clickable + friendlier touch behavior */
.carousel-slide a { display:block; color:inherit; text-decoration:none; }
.carousel-track { touch-action: pan-y; cursor: grab; }
.carousel-track.dragging { cursor: grabbing; }
.carousel-slide img { display:block; } /* avoid stray inline gaps */
