/*
 * Enter any custom CSS here.
 * This file will not be overwritten by theme updates.
 *
 * Checkout: Theme is set to use accent #ff5aa0 (pink) to match the store.
 * If checkout still shows green, set "Checkout accent" to #ff5aa0 in the
 * SellAuth dashboard, or paste assets/checkout-overrides.css into the
 * dashboard’s "Custom CSS for checkout" field.
 */

/* ===== Scrollbar – solid colors, always visible (matches back-to-top pink) ===== */
html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
}
*,
html,
body {
  scrollbar-width: auto;
  scrollbar-color: #ff5aa0 #2d1f35;
}

*::-webkit-scrollbar,
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track,
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #2d1f35;
  border-radius: 6px;
}

*::-webkit-scrollbar-thumb,
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: #ff5aa0;
  border-radius: 6px;
  border: 2px solid #2d1f35;
}

*::-webkit-scrollbar-thumb:hover,
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: #e91e8c;
}

*::-webkit-scrollbar-thumb:active,
html::-webkit-scrollbar-thumb:active,
body::-webkit-scrollbar-thumb:active {
  background: #c41d7a;
}

*::-webkit-scrollbar-corner,
html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
  background: #2d1f35;
}

/* ===== Customer Dashboard sidebar – ensure text is visible on dark theme ===== */
.customer-dashboard-sidebar.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #eae3ee;
}
.customer-dashboard-sidebar .customer-sidebar-title {
  color: #fff;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.customer-dashboard-sidebar .customer-sidebar-email.text-muted {
  color: rgba(255, 255, 255, 0.65) !important;
}
.customer-dashboard-sidebar .customer-sidebar-hr {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 0.75rem 0 1rem;
}
.customer-dashboard-sidebar .customer-sidebar-nav .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  background: transparent;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.customer-dashboard-sidebar .customer-sidebar-nav .nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}
.customer-dashboard-sidebar .customer-sidebar-nav .nav-link.active {
  color: #0f0b10 !important;
  background: var(--cl-accent, #ff5aa0);
}

/* ===== Moving Real Reviews Ticker (above footer) ===== */
.reviews-ticker-wrap {
  position: relative;
  padding: 2rem 0 2.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(var(--cl-background-primary-rgb, 26, 15, 22), 0.4) 0%, rgba(0, 0, 0, 0.25) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.reviews-ticker-header {
  text-align: center;
  margin-bottom: 1.25rem;
  padding: 0 1rem;
}

.reviews-ticker-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--ink, #eae3ee);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: reviews-ticker-title-in 0.6s ease forwards;
}

.reviews-ticker-title-icon {
  color: var(--cl-accent, #ff5aa0);
  filter: drop-shadow(0 0 8px rgba(255, 90, 160, 0.4));
}

@keyframes reviews-ticker-title-in {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(8px); }
}

.reviews-ticker-track-wrap {
  position: relative;
  overflow: hidden;
  /* Blur on both sides – soft fade so edges aren’t harsh */
  mask-image: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.15) 6%, rgba(255,255,255,.85) 14%, #fff 20%, #fff 80%, rgba(255,255,255,.85) 86%, rgba(255,255,255,.15) 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.15) 6%, rgba(255,255,255,.85) 14%, #fff 20%, #fff 80%, rgba(255,255,255,.85) 86%, rgba(255,255,255,.15) 94%, transparent 100%);
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
}

.reviews-ticker-track {
  display: flex;
  width: max-content;
  animation: reviews-ticker-scroll 45s linear infinite;
}

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

.reviews-ticker-inner {
  display: flex;
  gap: 1rem;
  padding: 0 1rem;
  flex-shrink: 0;
}

@keyframes reviews-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reviews-ticker-card {
  flex-shrink: 0;
  width: 300px;
  max-width: 85vw;
}

.reviews-ticker-card-inner {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  animation: reviews-ticker-card-in 0.5s ease backwards;
}

@keyframes reviews-ticker-card-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.reviews-ticker-card-inner:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--cl-accent-rgb, 255, 90, 160), 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(var(--cl-accent-rgb, 255, 90, 160), 0.08);
}

.reviews-ticker-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.reviews-ticker-stars {
  display: flex;
  gap: 2px;
  font-size: 0.95rem;
}

.reviews-ticker-stars .star {
  color: rgba(255, 255, 255, 0.25);
}

.reviews-ticker-stars .star.filled {
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

.reviews-ticker-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.reviews-ticker-message {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 0.75rem;
  word-break: break-word;
}

.reviews-ticker-product {
  font-size: 0.8rem;
  color: var(--cl-accent, #ff5aa0);
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reviews-ticker-link {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cl-accent, #ff5aa0);
  text-decoration: none;
  opacity: 0;
  animation: reviews-ticker-title-in 0.5s ease 0.2s forwards;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.reviews-ticker-link:hover {
  opacity: 1;
  text-decoration: underline;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .reviews-ticker-track { animation: none; }
  .reviews-ticker-card-inner { animation: none; }
  .reviews-ticker-title { animation: none; opacity: 1; }
  .reviews-ticker-link { animation: none; opacity: 1; }
}

/* ===== Promo marquee – scrolling pink banner (Lazonee-style), seamless loop ===== */
.promo-marquee-wrap {
  overflow: hidden;
  background: linear-gradient(90deg, #c41d7a 0%, #e91e8c 50%, #c41d7a 100%);
  padding: 0.5rem 0;
  border: none;
  position: relative;
  box-shadow: 0 2px 12px rgba(200, 30, 140, 0.35);
}

.promo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: promo-marquee-scroll 35s linear infinite;
  gap: 0;
  white-space: nowrap;
  flex-shrink: 0;
  will-change: transform;
}

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

.promo-marquee-item {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0 0.5rem;
  flex-shrink: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.promo-marquee-dot {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.5rem;
  line-height: 1;
  padding: 0 0.35rem;
  flex-shrink: 0;
}

/* Seamless loop: track has 3 identical copies; move by one third so no empty side */
@keyframes promo-marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@media (prefers-reduced-motion: reduce) {
  .promo-marquee-track { animation: none; }
}

/* ===== Skip to main content (accessibility) ===== */
.skip-to-main {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--cl-accent, #ff5aa0);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: left 0.2s ease, transform 0.2s ease;
}
.skip-to-main:focus {
  left: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ===== Back to top button – solid colors so visible without hover ===== */
#back-to-top.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2147483647;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #ff5aa0;
  background: #ff5aa0;
  color: #ffffff;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
#back-to-top.back-to-top:hover,
#back-to-top.back-to-top:focus {
  background: #e91e8c;
  color: #ffffff;
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(255, 90, 160, 0.5);
  outline: none;
}

/* ===== Focus visible (accessibility) ===== */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--cl-accent, #ff5aa0);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cl-accent, #ff5aa0);
  outline-offset: 2px;
}