body {
  background-image: url('bg.png');
  background-size: 100% auto;
  background-position: top left;
  background-repeat: repeat;
  background-color: #3a3a3a;
  margin: 0;
  padding: 0;
  font-family: Verdana, Geneva, sans-serif;
}

/* ===================== WRAPPER ===================== */
.wrapper {
  background-color: #000;
  width: 980px;
  max-width: 100%;
  margin: 0 auto;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.6);
}

/* ===================== LOGO ===================== */
.logo-bar {
  background: linear-gradient(180deg, #7b1fa2 0%, #4a0080 50%, #1a0035 100%);
  text-align: center;
  padding: 10px 0;
}
.logo-bar img {
  height: 80px;
  display: block;
  margin: 0 auto;
  max-width: 90%;
}

/* ===================== NAV ===================== */
.main-nav {
  background: #111;
  border-bottom: 2px solid #ffee00;
  position: relative;
}
.main-nav > ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.main-nav li {
  position: relative;
}
.main-nav a {
  display: block;
  padding: 9px 20px;
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-right: 1px solid #222;
}
.main-nav a:hover {
  background: #ffee00;
  color: #000;
}

/* ===================== DROPDOWN ===================== */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  border: 2px solid #ffee00;
  min-width: 180px;
  z-index: 999;
  list-style: none;
  padding: 0;
  margin: 0;
}
.dropdown a {
  border-right: none;
  border-bottom: 1px solid #222;
  font-size: 0.95rem;
  padding: 8px 16px;
}
.dropdown a:hover {
  background: #ffee00;
  color: #000;
}

/* Desktop: show dropdown on hover */
@media (min-width: 769px) {
  .has-dropdown:hover .dropdown {
    display: block;
  }
}

/* ===================== HAMBURGER BUTTON ===================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffee00;
  transition: transform 0.2s, opacity 0.2s;
}
/* Animate to X when open */
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown expand arrow — hidden on desktop */
.dropdown-toggle {
  display: none;
}

/* ===================== STORE TITLE ===================== */
.store-title {
  text-align: center;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffe600;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0px  4px 6px rgba(0,0,0,0.8);
  background: linear-gradient(to bottom, #2b2b2b 0%, #111 45%, #000 100%);
  border-top: 2px solid #555;
  border-bottom: 2px solid #000;
  padding: 16px 0;
}

/* ===================== TEXT UTILITIES ===================== */
.text-headline {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.text-headline-gold {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffe600;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000;
}
.text-xl   { font-size: 2rem; }
.text-lg   { font-size: 1.4rem; }
.text-md   { font-size: 1.1rem; }
.text-sm   { font-size: 0.9rem; }
.text-xs   { font-size: 0.75rem; }
.text-gold   { color: #ffe600; }
.text-white  { color: #ffffff; }
.text-muted  { color: #888888; }
.text-danger { color: #ff3333; }
.text-nav {
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-style: italic;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.text-body {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #cccccc;
}
.text-label {
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-style: italic;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.text-label-b {
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-style: italic;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.text-price {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-style: italic;
  font-size: 1.6rem;
  color: #ffe600;
  letter-spacing: 0.04em;
}
.text-strike {
  text-decoration: line-through;
  color: #666666;
  font-size: 0.9rem;
}
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.text-bold   { font-weight: 700; }
.text-normal { font-weight: 400; }

/* ===================== COUNTDOWN ===================== */
.countdown-bar {
  background: linear-gradient(90deg, #1a0035, #4a0080, #1a0035);
  border-bottom: 2px solid #ffee00;
  text-align: center;
  padding: 8px 0;
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-style: italic;
  letter-spacing: 0.08em;
  font-size: 1rem;
  color: #ffe600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===================== GALLERY ===================== */
.gallery {
  display: flex;
  gap: 10px;
  background: linear-gradient(to bottom, #444, #1b1b1b);
  border: 4px solid #000;
  padding: 8px;
}
.gallery-preview {
  flex: 1;
  min-width: 0;
}
.gallery-preview img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border: 2px solid #000;
}
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 120px;
  flex-shrink: 0;
}
.gallery-thumbs img {
  width: 120px;
  height: 74px;
  object-fit: cover;
  cursor: pointer;
  border: 3px solid #000;
  opacity: 0.55;
}
.gallery-thumbs img:hover { opacity: 0.8; }
.gallery-thumbs img.active { opacity: 1; }

/* ===================== PHOTO GALLERY ===================== */
.photo-gallery {
  width: 92%;
  max-width: 930px;
  margin: 25px auto;
  background: linear-gradient(to bottom, #444, #1b1b1b);
  border: 4px solid #000;
  padding: 8px;
  box-shadow: inset 0 0 0 2px #666;
}
.main-photo img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border: 2px solid #000;
  background: #000;
}
.photo-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 3px solid #000;
}
.photo-thumbs img {
  width: 100px;
  height: 66px;
  object-fit: cover;
  cursor: pointer;
  border: 3px solid #000;
  opacity: 0.55;
}
.photo-thumbs img:hover { opacity: 0.8; }
.photo-thumbs img.active { opacity: 1; }

/* ===================== FOOTER ===================== */
.footer {
  background: #111;
  border-top: 2px solid #222;
  text-align: center;
  padding: 14px;
  font-size: 11px;
  color: #666;
}
.footer-socials {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-socials a {
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-style: italic;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffee00;
  text-decoration: none;
}
.footer-socials a:hover { color: #fff; }

/* ===================== MOBILE — max-width: 768px ===================== */
@media (max-width: 768px) {

  .wrapper {
    width: 100%;
    box-shadow: none;
  }

  /* Show hamburger, hide desktop nav by default */
  .main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: flex;
  }
  .main-nav > ul {
    display: none;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid #222;
  }
  .main-nav > ul.nav-open {
    display: flex;
  }

  /* Nav list items */
  .main-nav li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid #222;
  }
  .main-nav > ul > li > a {
    flex: 1;
    font-size: 1rem;
    padding: 13px 16px;
    border-right: none;
  }

  /* Arrow toggle button next to items with dropdowns */
  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    border-left: 1px solid #333;
    cursor: pointer;
    color: #ffee00;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  .dropdown-toggle::after {
    content: '▾';
    color: #ffee00;
  }
  .has-dropdown.open .dropdown-toggle::after {
    content: '▴';
  }

  /* Mobile dropdown: static, full width, toggled via JS */
  .dropdown {
    position: static;
    display: none;
    width: 100%;
    border: none;
    border-top: 1px solid #333;
    min-width: unset;
  }
  .has-dropdown.open .dropdown {
    display: block;
  }
  .dropdown a {
    padding-left: 28px;
    font-size: 0.95rem;
  }

  /* Store title */
  .store-title {
    font-size: 1.1rem;
    padding: 12px 10px;
    letter-spacing: 0.03em;
  }

  /* Gallery stacks vertically */
  .gallery {
    flex-direction: column;
  }
  .gallery-preview img {
    height: 220px;
  }
  .gallery-thumbs {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .gallery-thumbs img {
    width: calc(25% - 6px);
    height: 60px;
  }

  /* Photo gallery thumbs */
  .photo-thumbs img {
    width: 80px;
    height: 52px;
  }

  /* Text scale-downs */
  .text-xl      { font-size: 1.3rem; }
  .text-lg      { font-size: 1.1rem; }
  .text-label-b { font-size: 1.1rem; }
  .text-price   { font-size: 1.3rem; }

  /* Countdown */
  .countdown-bar {
    font-size: 0.85rem;
    gap: 8px;
    padding: 8px 12px;
  }

  /* Footer */
  .footer { font-size: 10px; padding: 12px 8px; }
  .footer-socials { gap: 10px; }
}

/* ===================== MOBILE — max-width: 480px ===================== */
@media (max-width: 480px) {
  .store-title                { font-size: 0.95rem; }
  .main-nav > ul > li > a    { font-size: 0.95rem; }
  .gallery-thumbs img         { width: calc(33% - 6px); }
  .photo-thumbs img           { width: 70px; height: 46px; }
  .text-xl                    { font-size: 1.1rem; }
}