/* ─────────────────────────────────────────────────────────────
   VELRIC — Animations, Transitions & Hovers
   ───────────────────────────────────────────────────────────── */

/* LOADER ANIMATIONS & TRANSITIONS */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

#loader.out {
  opacity: 0;
  visibility: hidden;
}

#loader-logo {
  font-family: var(--B);
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: 0.22em;
  opacity: 0;
  animation: lf 0.8s var(--ease) 0.15s forwards;
}

#loader-tag {
  font-size: 0.58rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: 0;
  animation: lf 0.8s var(--ease) 0.5s forwards;
}

#loader-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--sand);
  animation: lb 2.2s var(--ease) forwards;
}

@keyframes lf {
  to { opacity: 1; }
}

@keyframes lb {
  to { width: 100%; }
}

/* SCROLL REVEALS */
.sr {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.sr.in {
  opacity: 1;
  transform: none;
}

.sr.d1 { transition-delay: 0.08s; }
.sr.d2 { transition-delay: 0.16s; }
.sr.d3 { transition-delay: 0.24s; }

/* NAV TRANSITIONS & HOVERS */
.nav {
  transition: background 0.4s, border-color 0.4s;
}

.nav-links a {
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.nav-drop {
  transition: all 0.25s;
}

.nav-drop:hover {
  border-color: #fff;
  color: #fff;
}

.burger span {
  transition: all 0.3s var(--ease);
}

.mob-menu {
  transition: transform 0.45s var(--ease);
}

.mob-menu a {
  transition: color 0.2s, padding-left 0.3s;
}

.mob-menu a:hover {
  color: var(--sand);
  padding-left: 0.5rem;
}

/* HERO HOVERS */
.hero-cta {
  transition: background 0.3s, transform 0.3s;
}

.hero-cta:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* MARQUEE ANIMATION */
.marquee-track {
  animation: marquee 22s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* COLLECTIONS HOVERS */
.coll-link {
  transition: color 0.2s;
}

.coll-link:hover {
  color: var(--sand);
}

.coll-img img {
  transition: transform 0.7s var(--ease);
}

.coll-img:hover img {
  transform: scale(1.04);
}

/* PRODUCT CARD HOVERS */
.pcard-img img {
  transition: transform 0.65s var(--ease);
}

.pcard:hover .pcard-img img {
  transform: scale(1.06);
}

.pcard-actions {
  transform: translateY(6px);
  opacity: 0;
  transition: opacity 0.35s, transform 0.35s;
}

.pcard:hover .pcard-actions {
  opacity: 1;
  transform: none;
}

.pcard-act-btn {
  transition: background 0.2s;
}

.pcard-act-btn:hover {
  background: #fff;
}

.cdot {
  transition: transform 0.2s, border-color 0.2s;
}

.cdot:hover, .cdot.on {
  transform: scale(1.3);
  border-color: rgba(255, 255, 255, 0.5);
}

/* EDITORIAL HOVERS */
.editorial-cta {
  transition: color 0.2s, border-color 0.2s;
}

.editorial-cta:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.ed-img img {
  transition: transform 0.6s var(--ease);
}

.ed-img:hover img {
  transform: scale(1.04);
}

/* LOOKBOOK HOVERS */
.lb-cell img {
  transition: transform 0.7s var(--ease);
}

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

/* INSTAGRAM HOVERS */
.ig-cell img {
  transition: transform 0.55s var(--ease);
}

.ig-cell:hover img {
  transform: scale(1.08);
}

.ig-hover {
  transition: opacity 0.3s;
}

.ig-cell:hover .ig-hover {
  opacity: 1;
}

/* CONTACT HOVERS */
.ct-channel {
  transition: border-color 0.2s;
}

.ct-channel:hover {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.ct-ch-val {
  transition: color 0.2s;
}

.ct-channel:hover .ct-ch-val {
  color: #fff;
}

.ct-cta {
  transition: background 0.3s;
}

.ct-cta:hover {
  background: #fff;
}

/* PDP OVERLAY HOVERS & TRANSITIONS */
.pdp-ov {
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
}

.pdp-ov.open {
  transform: none;
}

.pdp-close {
  transition: color 0.2s;
}

.pdp-close:hover {
  color: #fff;
}

.pdp-cdot {
  transition: all 0.2s;
}

.pdp-cdot.on {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.sz {
  transition: all 0.2s;
}

.sz:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.sz.on {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.qty-b {
  transition: color 0.2s;
}

.qty-b:hover {
  color: #fff;
}

.pdp-order {
  transition: background 0.3s, transform 0.3s;
}

.pdp-order:hover {
  background: #fff;
  transform: translateY(-2px);
}

.pdp-wa {
  transition: all 0.25s;
}

.pdp-wa:hover {
  border-color: rgba(37, 211, 102, 0.4);
  color: rgba(37, 211, 102, 0.8);
}

/* FOOTER HOVERS */
.ft-links a {
  transition: color 0.2s;
}

.ft-links a:hover {
  color: var(--sand);
}

.ft-wa {
  transition: all 0.2s;
}

.ft-wa:hover {
  border-color: rgba(37, 211, 102, 0.4);
  color: rgba(37, 211, 102, 0.6);
}
