/* ============================================================
   VALORIAN — LUXURY PREMIUM LAYER
   valorian-theme.css — Mobile-first, fully responsive desktop
   ============================================================ */

/* ── VALORIAN 3-ROW HEADER ── */
.vlr-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: #ffffff;
  color: #000;
  transform: translateZ(0);
  will-change: transform;
}

/* Adjust page content padding because the sticky header occupies layout flow space */
.page-content {
  padding-top: 0;
}

/* Row 1: Announcement bar */
.vlr-topbar {
  background: #0A0A0A;
  height: 28px;
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: margin-top 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
.vlr-topbar.is-hidden {
  margin-top: -28px;
}
.vlr-topbar__inner {
  display: flex;
  width: max-content;
  animation: vlrMarquee 30s linear infinite;
  will-change: transform;
}
.vlr-topbar__marquee-inner {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.vlr-topbar__announce {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C5C0B8;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  padding-right: 80px;
  display: inline-block;
  white-space: nowrap;
}
@keyframes vlrMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.vlr-badge-v {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #D5B861;
  color: #fff;
  width: 16px; height: 16px;
  font-size: 11px;
  border-radius: 2px;
  font-weight: 700;
}
/* Topbar is now dynamic on scroll, removing display:none for 640px */

/* Row 2: Brand bar */
.vlr-brandbar {
  background: #ffffff;
  border-bottom: 1px solid #f2f2f2;
}
.vlr-brandbar__inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 50px;
  gap: 8px;
}
.vlr-brandbar__left {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}
.vlr-brandbar__burger {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #000;
  cursor: pointer;
}
.vlr-brandbar__burger svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.vlr-brandbar__links {
  display: none;
}
@media (min-width: 1024px) {
  .vlr-brandbar__burger { display: none; }
  .vlr-brandbar__links {
    display: flex;
    gap: 16px;
  }
  .vlr-brandbar__links a {
    font-size: 13px;
    font-weight: 600;
    color: #767676;
    text-transform: capitalize;
    text-decoration: none;
    padding-bottom: 2px;
  }
  .vlr-brandbar__links a:hover { color: #000; }
  .vlr-brandbar__links a.is-active {
    color: #000;
    border-bottom: 2px solid #000;
  }
}

.vlr-brandbar__logo {
  grid-column: 2;
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
  white-space: nowrap;
  text-decoration: none;
  font-family: 'Playfair Display', 'Times New Roman', Georgia, serif;
}
@media (min-width: 1024px) {
  .vlr-brandbar__logo { font-size: 40px; letter-spacing: 0.2em; text-align: center; font-weight: 400; }
}
.vlr-brandbar__logo:hover { opacity: 0.65; }

.vlr-brandbar__actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}
.vlr-search-bar {
  display: none;
}
@media (min-width: 1024px) {
  .vlr-search-bar {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #D8D8D8;
    padding-bottom: 6px;
    margin-right: 24px;
    transition: border-color 0.3s ease;
    position: relative;
  }
  .vlr-search-bar:focus-within {
    border-bottom-color: #000;
  }
  .vlr-search-bar input {
    border: none; outline: none; font-size: 13px; font-family: inherit; color: #000; background: transparent; width: 150px;
    transition: width 0.3s ease;
  }
  .vlr-search-bar input:focus {
    width: 220px;
  }
  .vlr-search-bar input::placeholder { color: #A0A0A0; font-weight: 400; text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em; }
  .vlr-search-bar button {
    background: none; border: none; padding: 0; cursor: pointer; color: #000; display: flex; align-items: center;
  }
  .vlr-search-bar button svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.5; fill: none; transition: transform 0.2s ease; }
  .vlr-search-bar button:hover svg { transform: scale(1.15); }

  .vlr-search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid #EAEAEA;
    border-radius: 4px;
    z-index: 1000;
    display: none;
    flex-direction: column;
    padding: 16px;
  }
  .vlr-search-dropdown.is-open {
    display: flex;
  }
  .vlr-search-dropdown__title {
    font-size: 11px;
    text-transform: uppercase;
    color: #A0A0A0;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
  }
  .vlr-search-dropdown__results {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .vlr-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #000;
    transition: opacity 0.2s;
  }
  .vlr-search-item:hover { opacity: 0.7; }
  .vlr-search-item img {
    width: 48px; height: 64px; object-fit: cover; background: #F8F8F8;
  }
  .vlr-search-item__info {
    display: flex; flex-direction: column; gap: 4px;
  }
  .vlr-search-item__title {
    font-size: 12px; font-weight: 500; line-height: 1.2;
  }
  .vlr-search-item__price {
    font-size: 12px; font-weight: 400; color: #767676;
  }
}

.vlr-nav__icon {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #000;
  position: relative; cursor: pointer;
}
.vlr-nav__icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.2; }

.vlr-brandbar__account-mobile { display: inline-flex; }

.vlr-nav__count {
  position: absolute;
  top: -2px; right: -4px;
  background: #000;
  color: #fff;
  font-size: 11px; font-weight: 700;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.vlr-nav__count[data-count="0"] { display: none; }

/* Row 3: Category nav (desktop only) */
.vlr-catbar {
  background: #ffffff;
  border-bottom: 1px solid #f2f2f2;
  display: flex;
  justify-content: center;
}
.vlr-catbar__inner {
  display: flex;
  align-items: center;
  height: 30px;
  gap: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--space-4);
}
.vlr-catbar__inner::-webkit-scrollbar {
  display: none;
}
.vlr-catbar__link {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  white-space: nowrap;
  transition: opacity 0.16s;
  position: relative;
  text-decoration: none;
}
.vlr-catbar__link:hover { opacity: 0.6; }
.vlr-catbar__link--sale { color: var(--color-error); }
.vlr-catbar__link--sale:hover { color: var(--color-error); opacity: 0.6; }
@media (max-width: 768px) { .vlr-catbar { display: none; } }

/* ── ACCOUNT PAGE & MODALS ── */
.acc-page { min-height: 100vh; background: var(--color-off-white); }
.auth-modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.7);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-modal.is-open { display: flex; }
.auth-card {
  background: var(--color-white);
  width: 100%;
  max-width: 440px;
  padding: 48px 40px;
  position: relative;
}
@media (max-width: 480px) { .auth-card { padding: 36px 24px; } }
.auth-card__close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: 0;
  cursor: pointer;
  color: var(--color-mid-gray);
}
.auth-card__close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.auth-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--color-cream); margin-bottom: 32px; }
.auth-tab {
  flex: 1; text-align: center;
  padding: 12px 0;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  cursor: pointer;
  color: var(--color-mid-gray);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
  background: none;
}
.auth-tab.is-active { color: var(--color-black); border-bottom-color: var(--color-black); }
.auth-panel { display: none; }
.auth-panel.is-active { display: block; }
.auth-field { margin-bottom: 20px; }
.auth-field label {
  display: block; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 600; color: var(--color-mid-gray); margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--color-cream);
  font-size: 14px;
  background: var(--color-white);
  color: var(--color-black);
  transition: border-color .2s;
}
.auth-field input:focus { border-color: var(--color-black); outline: none; }
.auth-field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-btn {
  width: 100%;
  background: var(--color-black);
  color: var(--color-white);
  padding: 14px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
  border: 0; cursor: pointer;
  margin-top: 8px;
  transition: background .2s;
}
.auth-btn:hover { background: var(--color-charcoal); }
.auth-err {
  margin-top: 12px;
  padding: 10px 14px;
  background: #FEF2F2;
  color: var(--color-error);
  font-size: 13px;
  display: none;
}
.auth-err.is-shown { display: block; }
.auth-link {
  display: block; text-align: center; margin-top: 18px;
  font-size: 12px; color: var(--color-mid-gray);
  cursor: pointer; text-decoration: underline;
}

/* Dashboard hero */
.acc-hero {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 40px var(--container-pad);
}
.acc-hero__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.acc-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-editorial);
  font-size: 28px; font-weight: 300;
  color: var(--color-white);
  flex-shrink: 0;
}
.acc-hero__name {
  font-family: var(--font-editorial);
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 300;
  letter-spacing: 0.04em;
}
.acc-hero__sub {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-top: 4px;
}
.acc-logout {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  padding: 8px 18px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
  flex-shrink: 0;
}
.acc-logout:hover { border-color: #fff; color: #fff; }

/* Tabs */
.acc-tabs-bar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-cream);
  overflow-x: auto;
  scrollbar-width: none;
  position: sticky;
  top: 0;
  z-index: 10;
}
.acc-tabs-bar::-webkit-scrollbar { display: none; }
.acc-tabs-inner {
  display: flex;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.acc-tab {
  padding: 16px 20px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  color: var(--color-mid-gray);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  background: none;
  border-top: none; border-left: none; border-right: none;
}
.acc-tab.is-active { color: var(--color-black); border-bottom-color: var(--color-black); }

/* Content area */
.acc-content {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 40px var(--container-pad);
}
.acc-panel { display: none; }
.acc-panel.is-active { display: block; }
.acc-section-title {
  font-family: var(--font-editorial);
  font-size: 28px; font-weight: 300;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

/* ── Loyalty ── */
.loyalty-hero {
  background: linear-gradient(135deg, var(--color-charcoal), #2A2520);
  color: var(--color-white);
  padding: 40px;
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.loyalty-badge {
  width: 100px; height: 100px; flex-shrink: 0;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
}
.loyalty-badge__pts {
  font-family: var(--font-editorial);
  font-size: 28px; font-weight: 300;
  color: var(--color-gold-light);
}
.loyalty-badge__lbl { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.loyalty-info__tier {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-gold); font-weight: 700; margin-bottom: 6px;
}
.loyalty-info__title {
  font-family: var(--font-editorial);
  font-size: 28px; font-weight: 300; margin-bottom: 6px;
}
.loyalty-info__desc { font-size: 13px; color: rgba(255,255,255,.6); max-width: 400px; }

.loyalty-progress {
  background: var(--color-white);
  border: 1px solid var(--color-cream);
  padding: 24px;
  margin-bottom: 20px;
}
.loyalty-progress__head {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--color-mid-gray);
  margin-bottom: 10px;
}
.loyalty-bar {
  height: 4px; background: var(--color-cream); border-radius: 2px; overflow: hidden;
}
.loyalty-bar__fill {
  height: 100%; background: var(--color-gold);
  border-radius: 2px;
  transition: width 1s var(--ease-out);
}
.loyalty-perks {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px;
}
.loyalty-perk {
  background: var(--color-white);
  border: 1px solid var(--color-cream);
  padding: 20px;
}
.loyalty-perk__icon {
  width: 36px; height: 36px;
  background: var(--color-off-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.loyalty-perk__icon svg { width: 18px; height: 18px; stroke: var(--color-gold); fill: none; stroke-width: 1.5; }
.loyalty-perk__title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.loyalty-perk__desc { font-size: 12px; color: var(--color-mid-gray); }

/* ==========================================================================
   COLLECTION LUXURY LAYOUT
   ========================================================================== */
.collection-header {
  background: var(--color-white);
}
.collection-header__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-2) var(--container-pad) var(--space-4);
  text-align: left;
}
.collection-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-black);
  font-family: var(--font-body);
}

.vlr-sub-box {
  background: #f8f8f8;
  border-top: 1px solid var(--color-cream);
  border-bottom: 1px solid var(--color-cream);
  margin-bottom: 24px;
}
.vlr-sub-box__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 16px 24px;
}
.vlr-sub-tabs {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  border-bottom: 1px solid var(--color-cream);
}
.vlr-sub-tabs li a {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-mid-gray);
  text-decoration: none;
  padding-bottom: 12px;
  display: block;
  text-transform: capitalize;
}
.vlr-sub-tabs li.is-active a {
  color: var(--color-black);
  border-bottom: 2px solid var(--color-black);
  font-weight: 600;
}
.vlr-sub-icons {
  display: flex;
  gap: 40px;
}
.vlr-sub-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-mid-gray);
  transition: color 0.2s ease;
}
.vlr-sub-icon:hover {
  color: var(--color-black);
}
.vlr-sub-icon svg {
  stroke: currentColor;
}
.vlr-sub-icon span {
  font-size: 11px;
  font-weight: 500;
}

.vlr-sub-color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 4px;
}
.vlr-sub-icon:hover .vlr-sub-color {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* SIDEBAR LAYOUT */
.vlr-sidebar-group {
  margin-bottom: 24px;
}
.vlr-sidebar-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--color-black);
}
.vlr-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vlr-sidebar-list li a {
  font-size: 13px;
  color: var(--color-mid-gray);
  text-decoration: none;
  transition: color 0.2s ease;
}
.vlr-sidebar-list li a:hover {
  color: var(--color-black);
}
.vlr-sidebar-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vlr-sidebar-checkboxes label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-mid-gray);
  cursor: pointer;
}
.vlr-sidebar-checkboxes input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-mid-gray);
  border-radius: 2px;
  appearance: none;
  outline: none;
  cursor: pointer;
  position: relative;
}
.vlr-sidebar-checkboxes input[type="checkbox"]:checked {
  background-color: var(--color-black);
  border-color: var(--color-black);
}
.vlr-sidebar-checkboxes input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* TOOLBAR */
.vlr-toolbar {
  margin-bottom: 32px;
}
.vlr-toolbar__top {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-cream);
  margin-bottom: 16px;
}
.vlr-toolbar__filters {
  display: flex;
  gap: 24px;
}
.vlr-toolbar__btn {
  background: none;
  border: none;
  font-size: 13px;
  color: var(--color-mid-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}
.vlr-toolbar__btn:hover {
  color: var(--color-black);
}
.vlr-toolbar__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.vlr-toolbar__count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-black);
}
.vlr-toolbar__sort {
  display: flex;
  gap: 24px;
}

/* PRODUCT CARDS LUXURY STYLE */
.vlr-product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--color-white);
}
.vlr-product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-off-white);
  margin-bottom: 12px;
}
.vlr-product-card__img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.4s var(--ease-out);
}
.vlr-product-card__img--hover {
  opacity: 0;
}
.vlr-product-card:hover .vlr-product-card__img--hover {
  opacity: 1;
}

/* Badges */
.vlr-product-card__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.vlr-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  text-transform: uppercase;
}
.vlr-badge--black {
  background: var(--color-black);
  color: var(--color-white);
}
.vlr-badge--pink {
  background: #f7a8b8; /* A nice trending pink */
  color: var(--color-black);
}

/* Heart Icon */
.vlr-product-card__heart {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vlr-product-card__heart svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-black);
  stroke-width: 1.5;
  transition: fill 0.2s ease, stroke 0.2s ease;
}
.vlr-product-card__heart:hover svg {
  stroke-width: 2;
}
.vlr-product-card__heart.is-liked svg {
  fill: var(--color-black);
}

/* Quick View */
.vlr-product-card__quickview-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
  z-index: 2;
}
.vlr-product-card:hover .vlr-product-card__quickview-container {
  transform: translateY(0);
  opacity: 1;
}
@media (hover: none) {
  .vlr-product-card__quickview-container {
    transform: translateY(0);
    opacity: 1;
  }
}
.vlr-quick-view-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-cream);
  padding: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-black);
  cursor: pointer;
  transition: background 0.2s ease;
}
.vlr-quick-view-btn:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/* Info */
.vlr-product-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.vlr-product-card__brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 4px;
}
.vlr-product-card__name {
  font-size: 12px;
  color: var(--color-mid-gray);
  margin-bottom: 6px;
}
.vlr-product-card__price-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.vlr-price {
  font-size: 12px;
  font-weight: 500;
}
.vlr-price--original {
  text-decoration: line-through;
  color: var(--color-mid-gray);
}
.vlr-price--sale {
  color: var(--color-error);
}

/* Swatches */
.vlr-color-swatches {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.vlr-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
}

/* Swiper Continuous Marquee Loop Styles */
.swiper-luxury .swiper-wrapper {
  transition-timing-function: linear !important;
}


/* Product Description Table Fixes */
.vlr-desc-table th, .vlr-desc-table td {
  border: 1px solid var(--color-cream);
  padding: var(--space-3) var(--space-4);
  background: transparent !important;
  color: var(--color-dark-gray) !important;
}
.vlr-desc-table th {
  background: var(--color-cream) !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}



/* Extracted from old product.html <style> */

    .product-page { display: grid; grid-template-columns: 1fr 480px; gap: var(--space-12); padding: var(--space-8) var(--container-pad); max-width: var(--container-max); margin-inline: auto; }
    .product-info { display: flex; flex-direction: column; gap: var(--space-6); }
    .product-title { font-family: var(--font-editorial); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 300; line-height: 1.1; }
    .product-price-block { display: flex; align-items: baseline; gap: var(--space-3); }
    .product-price { font-family: var(--font-sans); font-size: var(--text-xl); font-weight: 500; letter-spacing: 0.05em; }
    .product-compare { font-size: var(--text-base); color: var(--color-warm-gray); text-decoration: line-through; font-family: var(--font-sans); }
    .product-description { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 400; line-height: 1.6; color: var(--color-dark-gray); }
    .divider-sm { height: 1px; background: var(--color-cream); margin: var(--space-2) 0; }
    .option-label { font-size: var(--text-xs); letter-spacing: var(--tracking-widest); text-transform: uppercase; margin-bottom: var(--space-3); display: flex; justify-content: space-between; }
    .size-guide-link { color: var(--color-mid-gray); cursor: pointer; text-decoration: underline; transition: color var(--dur-fast); }
    .size-guide-link:hover { color: var(--color-black); }
    /* Color swatches — círculos perfectos rellenos con el color real */
    .color-swatch-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
    .color-swatch {
      width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
      border: 1px solid rgba(0,0,0,0.18); padding: 0; cursor: pointer; position: relative;
      background-clip: padding-box; transition: transform var(--dur-fast), box-shadow var(--dur-fast);
    }
    .color-swatch:hover:not(.disabled) { transform: scale(1.08); }
    .color-swatch:focus { outline: none; }
    .color-swatch:focus-visible { box-shadow: 0 0 0 2px var(--color-white), 0 0 0 3.5px var(--color-black); }
    .color-swatch.active { box-shadow: 0 0 0 2px var(--color-white), 0 0 0 3.5px var(--color-black); }
    .color-swatch.disabled { opacity: 0.35; cursor: not-allowed; }
    .color-swatch.disabled::after {
      content: ''; position: absolute; inset: -1px; border-radius: 50%;
      background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(140,20,20,0.75) 50%, transparent calc(50% + 1px));
    }
    .selected-color-name { text-transform: none; letter-spacing: 0; color: var(--color-dark-gray); font-weight: 400; }

    /* Compact Side-by-side Selectors */
    .product-options-container {
      display: flex;
      gap: var(--space-6);
      flex-wrap: wrap;
      margin-bottom: var(--space-2);
    }
    .product-option-group {
      flex: 1 1 200px;
      min-width: 0;
    }

    /* Buttons Container */
    .product-actions-group {
      display: flex;
      flex-direction: column;
      gap: var(--space-3);
      width: 100%;
      margin-block: var(--space-2);
    }
    .add-cart-btn {
      width: 100%;
      padding: var(--space-5);
      font-size: var(--text-xs);
      letter-spacing: var(--tracking-widest);
      text-transform: uppercase;
      font-weight: 600;
      background: var(--color-black);
      color: var(--color-white);
      border: 1px solid var(--color-black);
      cursor: pointer;
      transition: all var(--dur-normal) var(--ease-out);
      position: relative;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 54px;
    }
    .add-cart-btn:disabled, .add-cart-btn.is-disabled {
      background: var(--color-warm-gray) !important;
      border-color: var(--color-warm-gray) !important;
      color: var(--color-white) !important;
      cursor: not-allowed;
    }
    .add-cart-btn:not(:disabled):not(.is-disabled):hover {
      background: var(--color-charcoal);
      border-color: var(--color-charcoal);
    }
    .add-cart-btn.is-loading { pointer-events: none; }
    .add-cart-btn.is-success { background: var(--color-success) !important; border-color: var(--color-success) !important; }
    
    .wishlist-btn {
      width: 100%;
      padding: var(--space-4);
      font-size: var(--text-xs);
      letter-spacing: var(--tracking-widest);
      text-transform: uppercase;
      font-weight: 600;
      background: transparent;
      color: var(--color-black);
      border: 1px solid var(--color-cream);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-2);
      transition: all var(--dur-fast);
      min-height: 54px;
    }
    .wishlist-btn:hover { border-color: var(--color-black); background: rgba(0,0,0,0.02); }
    .wishlist-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

    .product-meta { display: flex; flex-direction: column; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-mid-gray); }
    .product-meta-row { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-cream); }
    .product-meta-row:first-child { border-top: 1px solid var(--color-cream); }
    .product-meta-label { font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; }

    /* Premium Minimalist Accordions */
    .accordion-item { border-bottom: 1px solid var(--color-cream); }
    .accordion-trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) 0; font-size: var(--text-xs); letter-spacing: var(--tracking-widest); text-transform: uppercase; font-weight: 500; cursor: pointer; background: none; border: none; text-align: left; transition: color var(--dur-fast); }
    .accordion-trigger:hover { color: var(--color-gold-dark); }
    
    .accordion-icon {
      position: relative;
      width: 12px;
      height: 12px;
      display: block;
      flex-shrink: 0;
      color: currentColor;
    }
    .accordion-icon::before,
    .accordion-icon::after {
      content: '';
      position: absolute;
      background: currentColor;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .accordion-icon::before {
      top: 5px;
      left: 0;
      width: 12px;
      height: 1.5px;
    }
    .accordion-icon::after {
      top: 0;
      left: 5px;
      width: 1.5px;
      height: 12px;
    }
    .accordion-item.is-open .accordion-icon::after {
      transform: rotate(90deg);
      opacity: 0;
    }

    .accordion-body { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-out); }
    .accordion-item.is-open .accordion-body { max-height: 400px; }
    #reviews-accordion.is-open .accordion-body { max-height: 1600px; overflow-y: auto; }

    /* ── Reviews (Judge.me headless) ── */
    .rev-stars { color: #D5B861; letter-spacing: 2px; font-size: 14px; }
    .rev-stars .off { color: #E4E0D8; }
    .rev-summary { display: flex; align-items: baseline; gap: var(--space-3); padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-cream); margin-bottom: var(--space-4); }
    .rev-summary__avg { font-family: var(--font-editorial); font-size: 28px; }
    .rev-summary__count { font-size: var(--text-xs); color: var(--color-mid-gray); letter-spacing: var(--tracking-wide); }
    .rev-item { padding: var(--space-4) 0; border-bottom: 1px solid var(--color-cream); }
    .rev-item__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-2); }
    .rev-item__name { font-size: var(--text-xs); letter-spacing: var(--tracking-wide); text-transform: uppercase; font-weight: 600; }
    .rev-item__verified { font-size: 10px; color: var(--color-gold-dark); letter-spacing: var(--tracking-wide); text-transform: uppercase; }
    .rev-item__date { font-size: var(--text-xs); color: var(--color-mid-gray); }
    .rev-item__title { font-weight: 600; font-size: var(--text-sm); margin: var(--space-2) 0 var(--space-1); }
    .rev-item__body { font-size: var(--text-sm); line-height: 1.6; color: var(--color-dark-gray); }
    .rev-item__pics { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
    .rev-item__pics img { width: 64px; height: 64px; object-fit: cover; }
    .rev-empty { font-size: var(--text-sm); color: var(--color-mid-gray); padding: var(--space-2) 0; }
    .review-form { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-cream); }
    .review-form__input { padding: var(--space-3); border: 1px solid var(--color-cream); font-size: var(--text-sm); font-family: inherit; width: 100%; }
    .review-form__input:focus { outline: none; border-color: var(--color-black); }
    .review-form__stars { display: flex; gap: 4px; }
    .rf-star { background: none; border: none; font-size: 26px; color: #E4E0D8; cursor: pointer; padding: 0 2px; transition: color .15s; }
    .rf-star.on { color: #D5B861; }
    .accordion-content { padding: var(--space-2) 0 var(--space-5); font-family: var(--font-sans); font-size: var(--text-sm); font-weight: 400; line-height: 1.6; color: var(--color-dark-gray); }

    .trust-strip { display: flex; justify-content: space-around; padding: var(--space-5) 0; border-top: 1px solid var(--color-cream); gap: var(--space-3); }
    .trust-item { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); font-size: 10px; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--color-mid-gray); text-align: center; }
    .trust-item svg { width: 24px; height: 24px; stroke: var(--color-gold); fill: none; stroke-width: 1.5; }
    .recommendations { padding: var(--space-16) 0; background: var(--color-cream); }
    .swiper-recs { overflow: visible !important; }
    .swiper-recs .swiper-slide { width: clamp(200px, 28vw, 300px); }

    /* Premium Gallery Layout: Desktop */
    .product-gallery {
      display: flex;
      gap: var(--space-4);
    }
    .product-gallery__thumbs {
      display: flex;
      flex-direction: column;
      gap: var(--space-2);
      width: 80px;
      flex-shrink: 0;
    }
    .gallery-thumb {
      width: 80px;
      aspect-ratio: 3/4;
      object-fit: cover;
      cursor: pointer;
      opacity: 0.5;
      transition: opacity var(--dur-fast), border-color var(--dur-fast);
      border: 1px solid transparent;
      background: var(--color-off-white);
    }
    .gallery-thumb.active {
      opacity: 1;
      border-color: var(--color-black);
    }
    .gallery-thumb:hover { opacity: 0.85; }

    .product-gallery__slider-wrapper {
      flex: 1;
      position: relative;
      overflow: hidden;
      aspect-ratio: 3 / 4; /* Reserva el espacio antes de que el JS inyecte la imagen → evita CLS */
    }
    .product-gallery__slider {
      display: flex;
      width: 100%;
      height: 100%;
      overflow-x: hidden; /* Scroll disabled on desktop */
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      -ms-overflow-style: none;
      scroll-behavior: smooth;
    }
    .product-gallery__slider::-webkit-scrollbar {
      display: none;
    }
    .product-gallery__slide {
      flex: 0 0 100%;
      width: 100%;
      height: 100%;
      scroll-snap-align: start;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--color-off-white);
    }
    .product-gallery__slide img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
    }
    .product-gallery__dots {
      display: none; /* Desktop only */
    }

    /* Responsive Gallery & Styles */
    @media (max-width: 1024px) {
      .product-page { grid-template-columns: 1fr; gap: var(--space-8); }
      .product-gallery__thumbs { display: none; } /* Hide thumbs on mobile/tablet */
      
      .product-gallery__slider {
        overflow-x: auto; /* Enable touch swipe slider */
        -webkit-overflow-scrolling: touch;
      }
      .product-gallery__dots {
        display: flex;
        gap: var(--space-2);
        position: absolute;
        bottom: var(--space-4);
        left: 50%;
        transform: translateX(-50%);
        z-index: var(--z-sticky);
      }
      .gallery-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s var(--ease-out);
      }
      .gallery-dot.active {
        background: var(--color-black);
        transform: scale(1.2);
      }
    }
    @media (max-width: 768px) {
      .product-page { padding: var(--space-4); }
    }

    /* -- MOBILE HEADER OVERLAP FIX (INLINE BYPASS CACHE) -- */
    @media (max-width: 1023px) {
      .vlr-brandbar__account-mobile {
        display: none !important;
      }
      .vlr-brandbar__logo {
        font-size: clamp(1.05rem, 4.5vw, 1.25rem) !important;
        letter-spacing: 0.08em !important;
      }
      .vlr-brandbar__actions {
        gap: 4px !important;
      }
      .vlr-nav__icon {
        width: 28px !important;
        height: 28px !important;
      }
      .vlr-nav__icon svg {
        width: 18px !important;
        height: 18px !important;
      }
      .vlr-nav__count {
        top: -2px !important;
        right: -2px !important;
        font-size: 8px !important;
        width: 12px !important;
        height: 12px !important;
      }
    }
  