/* WILD WOLVEN - backend-driven pages (login, register, account, orders, wishlist) */
.auth-card { max-width: 520px; margin: 0 auto; }
.auth-alt { text-align: center; margin-top: 1.5rem; font-size: .9rem; color: var(--gray-muted); }
.auth-alt a { text-decoration: underline; }
.form-input[disabled] { opacity: .6; cursor: not-allowed; }

.acct-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
@media (max-width: 960px) { .acct-grid { grid-template-columns: 1fr; } }
.acct-h { font-family: var(--font-heading); letter-spacing: .08em; font-size: 1.05rem; margin: 0 0 1.25rem; color: var(--gold-light); }
.acct-card { background: var(--card-black); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.5rem; }
[data-theme="light"] .acct-card { background: #fff; }
.acct-card .form-group { margin-bottom: 1rem; }
.acct-card .form-input { width: 100%; }
.muted { color: var(--gray-muted); font-size: .82rem; }
.order-row-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.order-row-right { display: flex; align-items: center; gap: 1rem; }
.order-no { font-family: var(--font-heading); font-size: 1.05rem; letter-spacing: .05em; }
.order-row-actions { margin-top: 1rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.btn-sm { padding: .55rem 1.1rem !important; font-size: .72rem !important; }
.st { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border: 1px solid; }
.st-pending    { color: #e5c158; border-color: #e5c158; }
.st-confirmed  { color: #5db3ff; border-color: #5db3ff; }
.st-processing { color: #b48cff; border-color: #b48cff; }
.st-shipped    { color: #4dd0e1; border-color: #4dd0e1; }
.st-delivered  { color: #4cd37b; border-color: #4cd37b; }
.st-cancelled  { color: #ff6b78; border-color: #ff6b78; }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-size: .88rem; border-bottom: 1px dashed var(--border-subtle); }
.sum-total { font-weight: 700; font-size: 1.05rem; border-bottom: 0; color: var(--gold-light); }
.text-gold { color: var(--gold-light); }

/* ---- Hero slider (3 images, arrows, dots) ---- */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: calc(100vh - 80px);
  min-height: calc(100vh - 80px);
  background: #000;
}
.hero-slider .hs-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slider .hs-slide {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
  cursor: default;
  background: #000;
}
.hero-slider .hs-slide.is-active {
  position: absolute;
  inset: 0;
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-slider .hs-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: default;
  user-select: none;
  -webkit-user-drag: none;
}
.hero-slider .hs-slide .hero-shop-btn {
  position: absolute;
  display: block;
  cursor: pointer;
  z-index: 2;
  border-radius: 4px;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .15s ease;
}
.hero-slider .hs-slide .hero-shop-btn:hover {
  box-shadow: 0 0 20px rgba(201,149,61,.5);
  transform: scale(1.02);
}
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(201,151,76,.6);
  background: rgba(10,10,13,.55);
  color: #C9974C;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.hs-arrow:hover {
  background: #C9974C;
  color: #0a0a0d;
}
.hs-prev { left: 16px; }
.hs-next { right: 16px; }
.hs-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.hs-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #C9974C;
  background: transparent;
  cursor: pointer;
  transition: all .25s;
}
.hs-dot.is-active {
  background: #C9974C;
  width: 26px;
  border-radius: 6px;
}
@media (max-width: 768px) {
  .hero-slider {
    height: auto;
    min-height: unset;
  }
  .hero-slider .hs-track {
    height: auto;
  }
  .hero-slider .hs-slide {
    position: absolute;
    inset: 0;
    height: 100%;
  }
  .hero-slider .hs-slide.is-active {
    position: relative;
    height: auto;
  }
  .hero-slider .hs-slide img {
    height: auto;
    object-fit: contain;
  }
}
@media (max-width: 600px) {
  .hs-arrow { width: 34px; height: 34px; font-size: 14px; }
  .hs-prev { left: 8px; }
  .hs-next { right: 8px; }
  .hs-dots { bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider .hs-slide { transition: none; }
}

/* ---- Promo video (landscape, full width under the banner) ---- */
.promo-video-section{width:100%;background:#000;padding:0;margin:0}
.promo-video-title{text-align:center;color:#C9974C;letter-spacing:.2em;text-transform:uppercase;font-size:1.1rem;padding:28px 16px 18px;margin:0}
.promo-video-frame{position:relative;width:100%;aspect-ratio:16/9;max-height:90vh;background:#000;border-top:1px solid rgba(201,151,76,.35);border-bottom:1px solid rgba(201,151,76,.35)}
.promo-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;background:#000}
@media (max-width:600px){.promo-video-title{font-size:.9rem;padding:20px 12px 12px}}

/* ---- Admin-uploaded homepage video (older section style) ---- */
.home-video-section{background:transparent}
.home-video-wrap{max-width:1100px;margin:0 auto;border:1px solid rgba(201,151,76,.35);border-radius:12px;overflow:hidden;background:#000;box-shadow:0 10px 40px rgba(0,0,0,.35)}
.home-video{display:block;width:100%;height:auto;max-height:80vh;background:#000}
@media (max-width:600px){.home-video-wrap{border-radius:8px}}

/* ---- Product Media Gallery (3 images + 1 portrait video) ---- */
.main-image-frame { position: relative; background: #000; overflow: hidden; border-radius: var(--radius-md, 8px); }
.main-image-frame .main-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.main-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.main-product-video {
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  background: #000;
  display: block;
}
.thumbnail-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}
.thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm, 6px);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  background-color: var(--card-black);
  transition: all var(--transition-fast, 0.2s);
  display: flex;
  flex-direction: column;
}
.thumb-box .thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  opacity: 0.7;
  transition: opacity var(--transition-fast, 0.2s);
}
.thumb-box:hover .thumb-img,
.thumb-box.active .thumb-img {
  opacity: 1;
}
.thumb-box:hover,
.thumb-box.active {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(201, 151, 76, 0.4);
}
.thumb-view-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 13, 0.85);
  backdrop-filter: blur(4px);
  color: var(--gold-light);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 2px 4px;
  font-weight: 600;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.thumb-video-poster {
  position: relative;
  width: 100%;
  height: 100%;
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: var(--gold);
  transition: all var(--transition-fast, 0.2s);
}
.video-play-overlay svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8));
}
.thumb-box:hover .video-play-overlay,
.thumb-box.active .video-play-overlay {
  background: rgba(201, 151, 76, 0.45);
  color: #fff;
}
@media (max-width: 600px) {
  .thumbnail-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
    margin-top: 0.75rem;
  }
  .thumb-box {
    border-radius: 5px;
  }
  .thumb-view-tag {
    font-size: 0.52rem;
    padding: 2px 1px;
    letter-spacing: 0;
    line-height: 1.1;
  }
  .video-play-overlay svg {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 380px) {
  .thumbnail-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.28rem;
  }
  .thumb-view-tag {
    font-size: 0.44rem;
    padding: 1px 0;
  }
  .video-play-overlay svg {
    width: 15px;
    height: 15px;
  }
}