/* Valentine topbar – loaded in layout to prevent FOUC on refresh */
.valentine-topbar__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.valentine-topbar__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #b91c5c 0%, #9f1239 25%, #881337 50%, #701a75 75%, #581c87 100%);
}

.valentine-topbar__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 20px 20px;
}

.valentine-topbar__hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.valentine-topbar__hearts--outline {
  opacity: 0.2;
}

.valentine-topbar__heart-outline {
  position: absolute;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.9);
  animation: valentine-float-slow 6s ease-in-out infinite;
  animation-delay: calc(var(--i, 1) * 0.8s);
}

.valentine-topbar__heart-outline svg {
  width: 100%;
  height: 100%;
}

.valentine-topbar__heart-outline:nth-child(1) { left: 8%; top: 18%; width: 24px; height: 24px; }
.valentine-topbar__heart-outline:nth-child(2) { left: 28%; top: 58%; width: 20px; height: 20px; }
.valentine-topbar__heart-outline:nth-child(3) { left: 48%; top: 22%; width: 26px; height: 26px; }
.valentine-topbar__heart-outline:nth-child(4) { left: 72%; top: 62%; width: 22px; height: 22px; }
.valentine-topbar__heart-outline:nth-child(5) { left: 88%; top: 28%; width: 18px; height: 18px; }
.valentine-topbar__heart-outline:nth-child(6) { left: 15%; top: 72%; width: 16px; height: 16px; }

.valentine-topbar__hearts--filled {
  opacity: 0.35;
}

.valentine-topbar__heart {
  position: absolute;
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.85);
  animation: valentine-float 4s ease-in-out infinite;
  animation-delay: calc(var(--i, 1) * 0.5s);
}

.valentine-topbar__heart svg {
  width: 100%;
  height: 100%;
}

.valentine-topbar__heart:nth-child(1) { left: 12%; top: 42%; }
.valentine-topbar__heart:nth-child(2) { left: 22%; top: 22%; }
.valentine-topbar__heart:nth-child(3) { left: 38%; top: 58%; }
.valentine-topbar__heart:nth-child(4) { left: 52%; top: 35%; }
.valentine-topbar__heart:nth-child(5) { left: 68%; top: 48%; }
.valentine-topbar__heart:nth-child(6) { left: 82%; top: 28%; }
.valentine-topbar__heart:nth-child(7) { left: 90%; top: 62%; }
.valentine-topbar__heart:nth-child(8) { left: 5%; top: 55%; }

@keyframes valentine-float-slow {
  0%, 100% { transform: translateY(0) scale(1) rotate(-3deg); opacity: 0.6; }
  50% { transform: translateY(-6px) scale(1.08) rotate(2deg); opacity: 1; }
}

@keyframes valentine-float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50% { transform: translateY(-4px) scale(1.1); opacity: 1; }
}

.valentine-topbar__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.valentine-topbar__sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  color: rgba(255, 228, 230, 0.95);
  animation: valentine-sparkle 2.2s ease-in-out infinite;
  animation-delay: calc(var(--sparkle-i, 1) * 0.15s);
}

.valentine-topbar__sparkle-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 3px rgba(255, 228, 230, 0.7));
}

.valentine-topbar__sparkle:nth-child(1) { left: 5%; top: 15%; }
.valentine-topbar__sparkle:nth-child(2) { left: 18%; top: 45%; }
.valentine-topbar__sparkle:nth-child(3) { left: 32%; top: 20%; }
.valentine-topbar__sparkle:nth-child(4) { left: 45%; top: 55%; }
.valentine-topbar__sparkle:nth-child(5) { left: 55%; top: 25%; }
.valentine-topbar__sparkle:nth-child(6) { left: 68%; top: 50%; }
.valentine-topbar__sparkle:nth-child(7) { left: 82%; top: 18%; }
.valentine-topbar__sparkle:nth-child(8) { left: 92%; top: 40%; }
.valentine-topbar__sparkle:nth-child(9) { left: 12%; top: 70%; }
.valentine-topbar__sparkle:nth-child(10) { left: 38%; top: 75%; }
.valentine-topbar__sparkle:nth-child(11) { left: 62%; top: 72%; }
.valentine-topbar__sparkle:nth-child(12) { left: 88%; top: 65%; }

@keyframes valentine-sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.25) rotate(180deg); }
}

.valentine-topbar__butterflies {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.valentine-topbar__butterfly-container {
  position: absolute;
  width: 24px;
  height: 24px;
  animation: valentine-butterfly-float 12s ease-in-out infinite;
  animation-delay: calc(var(--butterfly-i, 1) * 2.5s);
}

.valentine-topbar__butterfly-container:nth-child(1) {
  left: 5%;
  top: 40%;
  animation-duration: 14s;
}

.valentine-topbar__butterfly-container:nth-child(2) {
  left: 35%;
  top: 55%;
  animation-duration: 16s;
}

.valentine-topbar__butterfly-container:nth-child(3) {
  left: 65%;
  top: 35%;
  animation-duration: 13s;
}

.valentine-topbar__butterfly-container:nth-child(4) {
  left: 90%;
  top: 50%;
  animation-duration: 15s;
}

.valentine-topbar__butterfly {
  width: 100%;
  height: 100%;
  color: rgba(255, 192, 203, 0.85);
  transform-origin: center center;
}

.valentine-topbar__butterfly svg {
  width: 100%;
  height: 100%;
}

.valentine-topbar__butterfly-wing {
  transform-origin: center center;
  animation: valentine-butterfly-flutter 150ms alternate infinite;
}

.valentine-topbar__butterfly-wing--left {
  animation-delay: 0ms;
}

.valentine-topbar__butterfly-wing--right {
  animation-delay: 75ms;
}

.valentine-topbar__butterfly-body {
  transform-origin: center center;
}

@keyframes valentine-butterfly-flutter {
  from {
    transform: rotateX(0deg);
  }
  to {
    transform: rotateX(80deg);
  }
}

@keyframes valentine-butterfly-float {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.4;
  }
  25% {
    transform: translate(15px, -8px) rotate(5deg);
    opacity: 0.8;
  }
  50% {
    transform: translate(30px, -5px) rotate(-3deg);
    opacity: 1;
  }
  75% {
    transform: translate(45px, -10px) rotate(4deg);
    opacity: 0.85;
  }
  100% {
    transform: translate(60px, 0) rotate(0deg);
    opacity: 0.5;
  }
}

.valentine-topbar__petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.valentine-topbar__petal {
  position: absolute;
  width: 12px;
  height: 12px;
  color: rgba(255, 182, 193, 0.7);
  animation: valentine-petal-fall 8s linear infinite;
  animation-delay: calc(var(--petal-i, 1) * 1s);
}

.valentine-topbar__petal svg {
  width: 100%;
  height: 100%;
}

.valentine-topbar__petal:nth-child(1) { left: 8%; animation-duration: 7s; }
.valentine-topbar__petal:nth-child(2) { left: 22%; animation-duration: 9s; }
.valentine-topbar__petal:nth-child(3) { left: 38%; animation-duration: 8s; }
.valentine-topbar__petal:nth-child(4) { left: 52%; animation-duration: 7.5s; }
.valentine-topbar__petal:nth-child(5) { left: 68%; animation-duration: 8.5s; }
.valentine-topbar__petal:nth-child(6) { left: 82%; animation-duration: 7s; }
.valentine-topbar__petal:nth-child(7) { left: 15%; animation-duration: 9s; }
.valentine-topbar__petal:nth-child(8) { left: 75%; animation-duration: 8s; }

@keyframes valentine-petal-fall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(calc(50% - 5px)) rotate(180deg);
    opacity: 1;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(calc(100% + 10px)) rotate(360deg);
    opacity: 0;
  }
}

.valentine-topbar__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.valentine-topbar__orb {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 192, 203, 0.4) 0%, rgba(255, 182, 193, 0.1) 50%, transparent 100%);
  filter: blur(8px);
  animation: valentine-orb-pulse 4s ease-in-out infinite;
  animation-delay: calc(var(--orb-i, 1) * 0.8s);
}

.valentine-topbar__orb:nth-child(1) { left: 15%; top: 30%; width: 35px; height: 35px; }
.valentine-topbar__orb:nth-child(2) { left: 40%; top: 50%; width: 45px; height: 45px; animation-duration: 5s; }
.valentine-topbar__orb:nth-child(3) { left: 65%; top: 25%; width: 30px; height: 30px; animation-duration: 4.5s; }
.valentine-topbar__orb:nth-child(4) { left: 85%; top: 60%; width: 38px; height: 38px; animation-duration: 5.5s; }
.valentine-topbar__orb:nth-child(5) { left: 28%; top: 70%; width: 32px; height: 32px; animation-duration: 4s; }

@keyframes valentine-orb-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.6;
  }
}

.valentine-topbar__container {
  position: relative;
  z-index: 2;
}

.valentine-topbar__logo {
  position: relative;
  z-index: 3;
}

.valentine-topbar__logo::before,
.valentine-topbar__logo::after,
.valentine-topbar__logo .header-logo::before,
.valentine-topbar__logo .header-logo::after {
  display: none !important;
}

.valentine-topbar__logo,
.valentine-topbar__logo .header-logo {
  border: none !important;
  border-right: none !important;
  border-left: none !important;
}

.valentine-topbar__center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  margin-right: 20px;
  min-height: 48px;
  position: relative;
  z-index: 2;
}

.valentine-topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  transition: transform 0.25s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  box-shadow: none;
  position: relative;
  overflow: visible;
}

.valentine-topbar__cta:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.valentine-topbar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: #fecdd3;
  animation: valentine-heart-pulse 1.4s ease-in-out infinite;
}

.valentine-topbar__icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 4px rgba(254, 205, 211, 0.5));
}

@keyframes valentine-heart-pulse {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.12); opacity: 1; }
}

.valentine-topbar__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.valentine-topbar__text-main {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.valentine-topbar__text-sub {
  font-weight: 500;
  font-size: 11px;
  opacity: 0.92;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.valentine-topbar .topbar-right,
.valentine-topbar .topbar-right a,
.valentine-topbar .topbar-right .support-and-language-area > a,
.valentine-topbar .topbar-right .language-btn span,
.valentine-topbar .topbar-right .currency-btn span,
.valentine-topbar .topbar-right .language-btn i,
.valentine-topbar .topbar-right .currency-btn i {
  color: #ffffff !important;
}

.valentine-topbar .topbar-right .support-and-language-area > a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

.valentine-topbar .topbar-right .language-btn svg {
  fill: #ffffff !important;
}

.valentine-topbar .topbar-right .primary-btn1.black-bg {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.valentine-topbar .topbar-right .primary-btn1.black-bg:hover {
  background-color: rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}

.valentine-topbar .topbar-right .primary-btn1 span svg,
.valentine-topbar .topbar-right .primary-btn1 .login-btn-text {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.valentine-topbar .topbar-right .support-and-language-area > a::before {
  background-color: rgba(255, 255, 255, 0.5);
}

.valentine-topbar .topbar-right .language-btn .bi-caret-down-fill,
.valentine-topbar .topbar-right .currency-btn .bi-caret-down-fill,
.valentine-topbar .topbar-right .currency-btn .bi-currency-dollar {
  color: #ffffff !important;
}

/* Dropdown panels: ensure white background and dark text (visible without hover) */
.valentine-topbar .topbar-right .language-area .language-list,
.valentine-topbar .topbar-right .currency-area .currency-list {
  background-color: #ffffff !important;
}
.valentine-topbar .topbar-right .language-area .language-list li a,
.valentine-topbar .topbar-right .currency-area .currency-list li a {
  color: #111827 !important;
  background-color: transparent;
}
.valentine-topbar .topbar-right .language-area .language-list li a:hover,
.valentine-topbar .topbar-right .currency-area .currency-list li a:hover {
  color: #ffffff !important;
  background-color: var(--primary-color1, #0284c7);
}

@media (max-width: 1199px) {
  .valentine-topbar__text-main {
    font-size: 13px;
  }
  .valentine-topbar__text-sub {
    font-size: 10px;
  }
}

@media (max-width: 991px) {
  .valentine-topbar__center {
    display: none;
  }
}
