/* Myles Hustler Store 21 · V33: clothing-only header, promo banner slider, MH FUN ZONE, popup coupon and corner offer. Loaded after v19.css. */

/* Header: shop + categories on desktop; story pages and "More fun" only inside the phone menu. */
.main-nav .nav-more { display: none; }
.main-nav a { white-space: nowrap; }
@media (min-width: 900px) {
  .main-nav { gap: 2px; }
  .main-nav a { padding: 8px 10px; font-size: 14px; }
  .main-nav > a:nth-child(n+6) { display: none; }
  /* Desktop: the menu button opens a small "More" panel (story pages + fun hub); the bar itself stays clothing only. */
  .main-nav.is-open .nav-more { display: flex; flex-direction: column; position: absolute; right: 16px; top: 100%; min-width: 240px; padding: 8px;
    background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.5); z-index: 60; }
  .main-nav.is-open .nav-more a { display: block; padding: 10px 12px; }
  .main-nav.is-open .nav-more .nav-fun { color: var(--gold); }
  .brand-name, .brand-name.bn { display: none; }
}
@media (min-width: 1280px) { .main-nav > a:nth-child(n+6) { display: inline-block; } }
@media (min-width: 1440px) { .brand-name.bn { display: inline-flex; } }
@media (max-width: 899px) {
  .main-nav.is-open .nav-more { display: flex; flex-direction: column; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
  .main-nav.is-open .nav-more a { font-size: 17px; color: var(--muted); }
  .main-nav.is-open .nav-more .nav-fun { color: var(--gold); }
}
.hdr-search { display: none; align-items: center; gap: 2px; }
.hdr-search .input { width: 190px; height: 40px; padding: 6px 12px; border-radius: 999px; font-size: 14px; }
@media (min-width: 1100px) { .hdr-search { display: flex; } .hdr-search-link { display: none; } }
@media (max-width: 359px) { .hdr-search-link { display: none; } }

/* Promo banner slider (homepage, under the header). */
.pb-slider { position: relative; max-width: 1200px; margin: 16px auto 0; padding: 0 16px; }
.pb-track { position: relative; min-height: 220px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(212,175,55,.35); background: #100e0b; }
.pb-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; align-items: end; text-decoration: none; color: var(--ivory); opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.pb-slide.is-on { position: relative; opacity: 1; visibility: visible; }
.pb-media { position: absolute; inset: 0; overflow: hidden; }
.pb-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.pb-slide.is-on .pb-media img { animation: pb-zoom 8s ease-in-out infinite alternate; }
@keyframes pb-zoom { from { transform: scale(1); } to { transform: scale(1.15); } }
.pb-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px; min-height: 220px; justify-content: flex-end;
  background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,0) 100%); }
.pb-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: #000; font-weight: 800; font-size: 12px; letter-spacing: .08em; animation: pb-bounce 2.4s ease-in-out infinite; }
@keyframes pb-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.pb-title { font-family: var(--serif); font-size: clamp(22px, 4vw, 34px); line-height: 1.1; color: #fff; }
.pb-text { color: rgba(255,255,255,.85); font-size: 15px; }
.pb-dots { display: flex; justify-content: center; gap: 4px; margin-top: 6px; }
.pb-dot { width: 24px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; position: relative; }
.pb-dot::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: rgba(244,239,228,.35); }
.pb-dot.is-on::after { background: var(--gold); }
@media (min-width: 768px) {
  .pb-track, .pb-copy { min-height: 300px; }
  .pb-copy { padding: 32px; max-width: 60%; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 70%, rgba(0,0,0,0) 100%); }
  .pb-slide { grid-template-columns: 1fr; }
}

/* MH FUN ZONE */
.fun-back { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* Popup coupon + corner offer */
.promo-code { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 12px 0; }
.promo-code code { padding: 8px 14px; border: 1px dashed var(--gold); border-radius: 10px; font-size: 18px; letter-spacing: .12em; color: var(--gold); }
.promo-corner { position: fixed; bottom: 86px; z-index: 60; display: flex; align-items: center; gap: 4px; max-width: calc(100% - 32px); padding: 6px 6px 6px 14px;
  border-radius: 999px; background: #15120c; border: 1px solid var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.5); font-size: 14px; }
.promo-corner[hidden] { display: none; }
.promo-corner.pos-left { left: 16px; }
.promo-corner.pos-right { right: 16px; }
.promo-corner.pos-center { left: 50%; transform: translateX(-50%); }
.promo-corner a { color: var(--ivory); text-decoration: none; }
.promo-corner a strong { color: var(--gold); }
.promo-corner button { width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 20px; cursor: pointer; }

/* Footer: link to the fun hub */
.footer-fun { color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .pb-slide.is-on .pb-media img, .pb-badge { animation: none; }
  .pb-slide { transition: none; }
}
