/* =============================================
   WESTORX — BRAND IDENTITY
   Unique elements that define the brand
   ============================================= */

/* ---- CUSTOM CURSOR — DISABLED ---- */

/* ---- PAGE LOADER ---- */
.wstx-loader {
  position: fixed;
  inset: 0;
  background: var(--color-black);
  z-index: 99997;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.wstx-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.wstx-loader-logo {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--color-white);
  animation: loaderPulse 1.5s ease infinite;
}

.wstx-loader-bar {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.wstx-loader-bar::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  animation: loaderBar 1.2s ease forwards;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes loaderBar {
  0% { left: -100%; }
  100% { left: 0; }
}

/* ---- SCROLL REVEAL ---- */
.wstx-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.wstx-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.wstx-reveal-delay-1 { transition-delay: 0.1s; }
.wstx-reveal-delay-2 { transition-delay: 0.2s; }
.wstx-reveal-delay-3 { transition-delay: 0.3s; }

/* ---- LOGO STYLING ---- */
.site-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 2px;
}

.site-logo-main {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--color-black);
  line-height: 1;
}

.site-logo-tag {
  font-family: var(--font-primary);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent);
  line-height: 1;
}

/* ---- ANNOUNCEMENT BAR ENHANCED ---- */
.announcement-bar {
  background: var(--color-black);
  color: var(--color-white);
  text-align: center;
  padding: 9px 24px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.announcement-bar span {
  color: var(--color-accent);
}

/* ---- PRODUCT CARD HOVER EFFECT ---- */
.woocommerce ul.products li.product {
  overflow: hidden;
}

.woocommerce ul.products li.product::after {
  content: 'Quick View';
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(10,10,10,0.85);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 20px;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

.woocommerce ul.products li.product:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- SECTION DIVIDER ---- */
.wstx-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 3rem;
  max-width: 200px;
}

.wstx-divider::before,
.wstx-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-gray-2);
}

.wstx-divider-icon {
  color: var(--color-accent);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ---- GOLD ACCENT LINE on section titles ---- */
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 12px auto 0;
}

/* ---- HOVER UNDERLINE ANIMATION on nav ---- */
.nav-list > li > a {
  position: relative;
  overflow: hidden;
}

.nav-list > li > a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-list > li > a:hover::after {
  width: 100%;
}
