﻿/* Hero section: background color for text column */
.hero-col-text {
  background-color: var(--ox-beige) !important;
}
/* ==========================================
   EXHIBITION HERO CUSTOM CLASSES
   ========================================== */
.exhibition-hero-overlay-custom {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
  top: 0;
  left: 0;
  z-index: 2;
}

.exhibition-hero-bg-custom {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}
/* ==========================================
  0. HELPERS & ANIMATIONS
  ========================================== */
.fade-in-img { opacity: 0; transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1); }
.fade-in-img.loaded { opacity: 1; }


/* Skeletons (simple placeholders for empty exhibitions) */
.skeleton { position: relative; overflow: hidden; background: #eee; border-radius: 1rem; }
.skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 100%); transform: translateX(-100%); animation: skeleton-shimmer 1.4s infinite; }
.skeleton-hero { height: 40vh; }
@media (max-width: 767.98px) { .skeleton-hero { height: 28vh; } }
@keyframes skeleton-shimmer { 100% { transform: translateX(100%); } }

/* ==========================================
  1. VARIABLES & BASE
  ========================================== */
:root {
  --ox-yellow: #F5C45E;
  --ox-blue:   #102E50;
  --ox-orange: #E78B48;
  --ox-red:    #BE3D2A;
  --ox-beige:  #F7F6EF;
  --font-title: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; /* UI font */
  --font-subtitle: 'Newsreader', Georgia, 'Times New Roman', serif;                 /* Artwork/label font */
  --art-max-h: 68rem;
}
html { font-size: 62.5%; height: 100%; min-height: 100%; scrollbar-width: thin; scrollbar-color: #ffffff #050b12; }
body { font-family: var(--font-title); background-color: var(--ox-beige); color: var(--ox-blue); font-size: 1.2rem; margin: 0; padding: 0; display: flex; flex-direction: column; min-height: 100vh; }
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-track { background: #050b12; }
body::-webkit-scrollbar-thumb { background-color: #ffffff; border-radius: 10px; border: 2px solid #050b12; }
body::-webkit-scrollbar-thumb:hover { background-color: #f0f0f0; }
.main-content { flex: 1 0 auto; }
/* Strengthen sticky footer behavior on home (and globally) */
.main-content {
  flex: 1 1 auto;              /* allow growth/shrink */
  display: flex;               /* stack inner sections */
  flex-direction: column;
  min-height: 0;               /* avoid overflow pushing footer */
}
footer, .footer { flex-shrink: 0; }

/* ==========================================
  Utility helpers
  ========================================== */
.text-ox-blue { color: var(--ox-blue) !important; }
.min-vh-80 { min-height: 80vh !important; }
.min-vh-70 { min-height: 70vh !important; }
.feedback-option { cursor: pointer; }
.text-prewrap { white-space: pre-wrap; }
.honeypot-field {
  position: absolute;
  left: -9999px;
  height: 1px;
  width: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden;
}

/* ==========================================
  2. COMPONENTS: NAVBAR & SEARCHBAR
  ========================================== */
.main-navbar { margin-bottom: 2.2rem; background-color: var(--ox-beige) !important; box-shadow: 0 4px 8px -4px rgba(16, 46, 80, 0.10); border-bottom: none; }
.main-navbar .navbar-container { margin-left: 1rem; margin-right: 1rem; }
.navbar-brand { padding-top: .25rem; padding-bottom: .25rem; }
.navbar-light .navbar-toggler { border: none; }
.logo-navbar { max-height: 5rem; width: auto; display: block; }
.navbar-title { color: var(--ox-blue); font-family: var(--font-title); font-weight: 700; letter-spacing: 0.1em; font-size: 1.6rem; text-transform: uppercase; }
.navbar .nav-link {
  color: var(--ox-blue);
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  min-height: 3.6rem;
}
.navbar .nav-link:hover, .navbar .nav-link:focus { background-color: var(--ox-yellow); color: var(--ox-blue); border-radius: 2rem; }
/* Usuario: usar misma tipografía que el menú principal */
.nav-user-menu-link {
  color: var(--ox-blue) !important;
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.nav-user-menu-link:hover,
.nav-user-menu-link:focus {
  background-color: var(--ox-yellow) !important;
  color: var(--ox-blue) !important;
}
.nav-user-avatar-img {
  width: 3.6rem;
  height: 3.6rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--ox-yellow);
}
.nav-user-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background-color: var(--ox-blue);
  color: var(--ox-beige);
  border: 2px solid var(--ox-yellow);
  font-size: 1.6rem;
}
/* Ocultar dropdown antiguo del usuario en el navbar (solo usamos overlay) */
.navbar-icons .dropdown-menu.dropdown-menu-end {
  display: none !important;
}
/* Desactivar antiguos menús colapsables del navbar */
#navbarsExample05,
#navUserMobile {
  display: none !important;
}
@media (min-width: 992px) {
  #navbarsExample05 {
    display: flex !important;
  }
}
.nav-overlay .lightbox__inner {
    width: min(100vw, 520px);
    height: calc(100vh - 6rem);
    display: flex;
    align-items: center;
    justify-content: center;
  }
.nav-overlay__content {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
  }
  .nav-overlay__search-form {
    margin-bottom: 2rem;
  }
.nav-overlay__search-input {
  height: 4.4rem;
  font-size: 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--ox-yellow);
}
  .nav-overlay__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
.nav-overlay__link {
  display: block;
  padding: .8rem 0;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--ox-blue);
  text-decoration: none;
}
.nav-overlay__link:hover,
.nav-overlay__link:focus {
  background-color: var(--ox-yellow);
  color: var(--ox-blue);
}

/* Override: mostrar links clásicos en desktop (>=992px) y ocultar menú móvil antiguo */
@media (min-width: 992px) {
  #navbarsExample05 {
    display: flex !important;
  }
}
@media (max-width: 991.98px) {
  #navbarsExample05 {
    display: none !important;
  }
}
#navUserMobile {
  display: none !important;
}
.navbar .nav-link.nav-user-avatar {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.nav-user-avatar.dropdown-toggle::after {
  display: none;
}
.main-navbar .navbar-collapse { width: 100%; padding: .5rem 0; }
@media (min-width: 992px) {
  .main-navbar .navbar-container {
    justify-content: flex-start;
  }
  .main-navbar .navbar-collapse {
    flex-grow: 1;
  }
}
.navbar-icons {
  position: relative;
}
/* Suavizar aparición de menús colapsados (mobile) */
#navbarsExample05 .navbar-nav,
#navUserMobile .navbar-nav {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#navbarsExample05.show .navbar-nav,
#navUserMobile.show .navbar-nav {
  opacity: 1;
  transform: none;
}
/* Mantener avatar y hamburguesa fijos en mobile / vista colapsada */
@media (max-width: 991.98px) {
  .main-navbar .navbar-container {
    position: relative;
  }
  .main-navbar .navbar-icons {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    z-index: 10;
  }
  /* Dar espacio al logo para que no quede debajo de los iconos */
  .main-navbar .navbar-brand {
    padding-right: 6rem;
  }
}
@media (min-width: 992px) {
  #navbarsExample05 .navbar-nav {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
}
.nav-user-logout-btn {
  display: inline-block;
  min-width: 16rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 999px;
}
/* Searchbar */
.searchbar-navbar { position: relative; width: 100%; }
.searchbar-input { height: 4.2rem; font-size: 1.6rem; padding-right: 3rem; border-radius: 2rem; border: 2px solid var(--ox-yellow); width: 100%; }
.searchbar-input:focus { border-color: var(--ox-orange); outline: none; box-shadow: 0 0 0 0.15rem rgba(231,139,72,0.15); }
.searchbar-input::placeholder { font-family: var(--font-title); font-style: italic; color: #bbb; padding-left: 1rem; }
.search-icon { position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--ox-yellow); pointer-events: none; display: flex; align-items: center; font-size: 1.7rem; }

/* ==========================================
  3. SECTIONS: EXHIBITIONS (GRID/DETAIL)
  ========================================== */


/* Scroll-snap (only exhibitions pages) */


/* Exhibitions as a gallery programme (_exhibitionGrid.pug): the cover is shown
   whole, mounted like a print, with the text beside it. */
.ox-program-head { padding-top: clamp(3.2rem, 6vw, 6.4rem); padding-bottom: 2.4rem; }
.ox-program-head__eyebrow {
  display: flex; align-items: center; gap: 1.4rem; margin: 0 0 1.6rem;
  font-family: var(--font-title); font-size: 1.2rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; color: var(--ox-orange);
}
.ox-program-head__eyebrow::before { content: ''; width: 4.2rem; height: 1px; background: currentColor; opacity: .8; }
.ox-program-head__title {
  margin: 0 0 1.4rem; font-family: var(--font-subtitle); font-weight: 400;
  font-size: clamp(4rem, 5.4vw, 7.2rem); line-height: 1.02; letter-spacing: -.015em; color: var(--ox-blue);
}
.ox-program-head__lead { margin: 0; max-width: 52rem; font-size: 1.7rem; line-height: 1.6; color: rgba(16, 46, 80, .72); }

.ox-program { padding: 2.4rem 0 6.4rem; }
.ox-program__group + .ox-program__group { margin-top: 4.8rem; }
.ox-program__heading {
  display: flex; align-items: center; gap: 2rem; margin: 0 0 1.2rem;
  font-family: var(--font-title); font-size: 1.25rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--ox-blue);
}
.ox-program__heading::after { content: ''; flex: 1; height: 1px; background: rgba(16, 46, 80, .16); }
.ox-program__year {
  margin: 3.2rem 0 0; font-family: var(--font-subtitle); font-style: italic;
  font-size: 3.2rem; line-height: 1; color: rgba(16, 46, 80, .35);
}

.ox-expo {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.4rem, 5vw, 8rem); align-items: center;
  padding: clamp(3.2rem, 5vw, 6.4rem) clamp(0rem, 3vw, 4rem);
}
.ox-expo + .ox-expo { border-top: 1px solid rgba(16, 46, 80, .1); }
.ox-program__year + .ox-expo, .ox-program__heading + .ox-expo { padding-top: 2.4rem; }
.ox-expo--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.ox-expo--flip .ox-expo__media { order: 2; }
.ox-expo__media { display: flex; justify-content: center; text-decoration: none; }
.ox-expo__mat {
  display: inline-block; max-width: 100%;
  padding: clamp(1.2rem, 1.6vw, 2rem);
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 46, 80, .08), 0 18px 40px -12px rgba(16, 46, 80, .28);
  overflow: hidden;
}
.ox-expo__img {
  display: block; width: auto; height: auto; max-width: 100%;
  max-height: min(62vh, 58rem);
  transition: transform 1.8s cubic-bezier(.16, .84, .24, 1);
}
.ox-expo__mat--empty {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 4 / 3; color: rgba(16, 46, 80, .25); font-size: 4rem;
}
.ox-expo__state {
  display: inline-flex; align-items: center; gap: 1rem; margin: 0 0 1.8rem;
  font-family: var(--font-title); font-size: 1.15rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: rgba(16, 46, 80, .6);
}
.ox-expo__dot { width: .8rem; height: .8rem; border-radius: 50%; background: rgba(16, 46, 80, .35); }
.ox-expo.is-current .ox-expo__dot { background: #3f9b5f; box-shadow: 0 0 0 .4rem rgba(63, 155, 95, .18); }
.ox-expo.is-upcoming .ox-expo__dot { background: var(--ox-orange); }
.ox-expo__title {
  margin: 0 0 1.6rem; font-family: var(--font-subtitle); font-weight: 400;
  font-size: clamp(3.2rem, 3.6vw, 5.2rem); line-height: 1.05; letter-spacing: -.01em;
}
.ox-expo__title a {
  color: var(--ox-blue); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .6s cubic-bezier(.2, .7, .2, 1);
}
.ox-expo__dates { margin: 0 0 .6rem; font-family: var(--font-subtitle); font-style: italic; font-size: 2rem; color: var(--ox-blue); }
.ox-expo__place {
  display: flex; align-items: baseline; gap: .8rem; margin: 0 0 2rem;
  font-size: 1.45rem; color: rgba(16, 46, 80, .65);
}
.ox-expo__place i { font-size: 1.2rem; color: var(--ox-orange); }
.ox-expo__desc {
  margin: 0 0 2.8rem; max-width: 48rem;
  font-size: 1.55rem; line-height: 1.65; color: rgba(16, 46, 80, .78);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.ox-expo__link {
  font-family: var(--font-title); font-size: 1.25rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--ox-blue); padding-bottom: .4rem; border-bottom: 1px solid var(--ox-yellow);
  transition: color .3s ease, border-color .3s ease;
}
.ox-expo__link:hover, .ox-expo__link:focus-visible { color: var(--ox-orange); border-color: var(--ox-orange); }
@media (hover: hover) and (pointer: fine) {
  .ox-expo:hover .ox-expo__img { transform: scale(1.035); }
  .ox-expo:hover .ox-expo__title a { background-size: 100% 1px; }
}
@media (max-width: 991.98px) {
  .ox-expo, .ox-expo--flip { grid-template-columns: 1fr; gap: 2.4rem; }
  .ox-expo--flip .ox-expo__media { order: 0; }
  .ox-expo__img { max-height: 52vh; }
}

/* ==========================================
  4. SECTIONS: HERO (LANDING)
  ========================================== */
section.hero, section.home-hero { min-height: calc(100vh - 6rem); display: flex; align-items: center; overflow: hidden; }
section.hero .hero-content > *, section.home-hero .hero-content > * { margin-bottom: 2rem; max-width: 48rem; }
section.hero .hero-content > *:last-child, section.home-hero .hero-content > *:last-child { margin-bottom: 0; }
section.hero .hero-description, section.home-hero .hero-description { font-family: var(--font-subtitle) !important; font-style: italic !important; font-weight: 400 !important; font-size: 2rem !important; color: var(--ox-blue) !important; }
section.hero .hero-row, section.home-hero .hero-row { display: flex; flex-direction: column; }
section.hero .hero-image-container, section.home-hero .hero-image-container { order: 1; }
section.hero .hero-text, section.home-hero .hero-text { order: 2; }
section.hero .hero-cta .btn-primary, section.home-hero .hero-cta .btn-primary { background: var(--ox-yellow) !important; color: var(--ox-blue) !important; border: none !important; border-radius: 2rem !important; font-weight: 700; font-size: 1.5rem; box-shadow: 0 2px 8px -2px rgba(16, 46, 80, 0.10); text-transform: uppercase; padding: 1rem 2.5rem; transition: background 0.2s, color 0.2s; }
section.hero .hero-cta .btn-primary:hover, section.hero .hero-cta .btn-primary:focus, section.home-hero .hero-cta .btn-primary:hover, section.home-hero .hero-cta .btn-primary:focus { background: var(--ox-orange) !important; color: var(--ox-beige) !important; }

/* ==========================================
  4.1. SECTIONS: ABOUT PAGE
  ========================================== */
.about-main-title { 
  font-family: var(--font-title); 
  font-weight: 900; 
  font-size: 5.2rem; 
  color: var(--ox-blue); 
  letter-spacing: 0.15em; 
  text-transform: uppercase; 
  line-height: 0.9; 
  margin-bottom: 0;
  text-shadow: 0 2px 4px rgba(16, 46, 80, 0.1);
  position: relative;
}

.about-section-title { 
  font-family: var(--font-subtitle); 
  font-style: italic; 
  font-weight: 300; 
  font-size: 3.2rem; 
  color: var(--ox-blue); 
  letter-spacing: 0.02em; 
  margin-bottom: 1.5rem;
  position: relative;
}

.about-underline {
  width: 12rem;
  height: 4px;
  background: linear-gradient(90deg, var(--ox-orange) 0%, var(--ox-yellow) 100%);
  margin-bottom: 3rem;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.about-underline::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.about-content { 
  padding-right: 3rem; 
  position: relative;
}

.about-text { 
  font-family: var(--font-subtitle); 
  font-size: 1.8rem; 
  line-height: 1.75; 
  color: #4a4a4a; 
  text-align: left;
  font-style: italic;
  margin-bottom: 2.8rem;
}

.about-image-container { 
  position: relative; 
  height: 100%;
  min-height: 50rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(16, 46, 80, 0.1),
    0 8px 16px rgba(16, 46, 80, 0.08),
    0 4px 8px rgba(16, 46, 80, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-container:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 32px 64px rgba(16, 46, 80, 0.15),
    0 16px 32px rgba(16, 46, 80, 0.12),
    0 8px 16px rgba(16, 46, 80, 0.08);
}

.about-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg, 
    rgba(16, 46, 80, 0.1) 0%, 
    transparent 50%, 
    rgba(245, 196, 94, 0.1) 100%
  );
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-image-container:hover::before {
  opacity: 1;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 50rem;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: contrast(1.05) saturate(1.1);
}

.about-image-container:hover .about-image {
  transform: scale(1.05);
}

/* Decorative elements */
.about-content::before {
  content: '';
  position: absolute;
  top: -2rem;
  right: 0;
  width: 6rem;
  height: 6rem;
  background: radial-gradient(circle, var(--ox-yellow) 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
}

/* ==========================================
  4.2. SECTIONS: ARTIST DETAIL PAGE (GOOGLE ARTS STYLE)
  ========================================== */
.artist-profile-hero {
  min-height: 100vh;
  position: relative;
}

.hero-bg-image {
  filter: brightness(0.8) contrast(1.1);
  transition: transform 0.5s ease;
}

.hero-bg-placeholder {
  background: linear-gradient(135deg, var(--ox-blue) 0%, var(--ox-orange) 50%, var(--ox-yellow) 100%);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hero-subtitle {
  font-weight: 300;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-bio {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  line-height: 1.6;
}

.meta-item {
  font-size: 0.95rem;
}

.stats-floating .stat-item {
  transition: transform 0.3s ease, background 0.3s ease;
}

.stats-floating .stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.2) !important;
}

.hero-actions .btn {
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.3);
}

.hero-actions .btn:hover {
  background: rgba(255,255,255,0.2) !important;
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

.artwork-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(16, 46, 80, 0.15);
}

.artwork-card:hover .artwork-image {
  transform: scale(1.05);
}

.section-title {
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--ox-yellow);
  border-radius: 2px;
}

@media (max-width: 991.98px) {
  .hero-content {
    position: static;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .stats-floating {
    margin-top: 2rem;
  }
}

@media (max-width: 991.98px) {
  .about-main-title { 
    font-size: 3.8rem; 
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
  }
  
  .about-section-title { 
    font-size: 2.6rem; 
    text-align: center;
  }
  
  .about-underline {
    margin: 0 auto 2.5rem auto;
    width: 10rem;
  }
  
  .about-content { 
    padding-right: 0; 
    margin-bottom: 4rem;
    text-align: center;
  }
  
  .about-content::before {
    display: none;
  }
  
  .about-text {
    text-align: left;
    margin-bottom: 2.5rem;
  }
  
  .about-image-container {
    min-height: 30rem;
  }
  
  .about-image {
    min-height: 30rem;
  }
}

/* ==========================================
  5. SECTIONS: JOIN ARTISTS (COLLECTORS)
  ========================================== */

/* Collectors section styling */


/* ==========================================
  4.3. SECTIONS: HOME EXHIBITIONS EFFECTS
  ========================================== */
/* Simple, clean fade-up for text blocks */


/* Keep headings in brand blue, no gradients */


/* Ensure no underline decoration remains */


  /* Respect users who prefer reduced motion */
  

/* Admin: ocultar temporalmente campos de venta en el modal de obras */
.admin-edit-artwork-form .col-md-4:has(select[name='sale.channel']),
.admin-edit-artwork-form .col-md-4:has(input[name='sale.price_usd']),
.admin-edit-artwork-form .col-md-6:has(input[name='sale.buyerName']),
.admin-edit-artwork-form .col-md-6:has(input[name='sale.buyerEmail']),
.admin-edit-artwork-form .col-md-6:has(input[name='sale.currency']),
.admin-edit-artwork-form .col-md-6:has(input[name='sale.orderId']) {
  display: none !important;
}


/* ==========================================
  6. LAYOUT: ARTWORKS GRID & PAGER
  ========================================== */
.artworks-flex { display: flex; flex-direction: column; min-height: 48rem; }
.artworks-grid-paginate { display: flex; flex-direction: column; flex: 1 1 auto; }
.artwork-grid { min-height: 24rem; }
#pager-obras { margin-top: auto; }
.pager-hidden { display: none !important; }

/* Ensure artwork grid images keep aspect ratio and don't stretch */
.artwork-grid li img {
  width: 100%;
  height: auto;
  max-height: var(--art-max-h);
}

/* Make entire card clickable without link styles */
.artwork-grid li a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================
  7. COMPONENTS: ART CARDS & LABELS
  ========================================== */

/* ==========================================
  X. GLOBAL LOADING OVERLAY
  Moved from layouts/public.pug inline <style>
  ========================================== */
.page-loading-overlay { position: fixed; inset: 0; background: #ffffff; z-index: 9999; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1rem; transition: opacity 200ms ease, visibility 200ms ease; }
.page-loading-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-spinner { width: 48px; height: 48px; border-radius: 50%; border: 4px solid #e5e7eb; border-top-color: #5022c3; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: #555; font-weight: 600; }
body.loading { overflow: hidden; }
body.loading .main-content { visibility: hidden; }

/* ==========================================
  X. PERSONAL HOME: EXHIBITIONS CAROUSEL
  Moved from views/personal/home.pug
  ========================================== */
.home-exhibitions-carousel { --carousel-h: 440px; }
@media (max-width: 576px) { .home-exhibitions-carousel { --carousel-h: 300px; } }
.home-exhibitions-carousel .carousel-item,
.home-exhibitions-carousel .carousel-item img { height: var(--carousel-h); }
.home-exhibitions-carousel .carousel-item img { width: 100%; object-fit: cover; }
.home-exhibitions-carousel .carousel-caption { text-align: left; padding: 1rem 1.25rem; left: 0; right: 0; top: 50%; bottom: auto; transform: translateY(-50%); z-index: 3; }
@media (max-width: 576px) {
  .home-exhibitions-carousel .carousel-caption { top: auto; bottom: 0; transform: none; padding: .75rem .75rem 1rem; }
  .home-exhibitions-carousel .exhibition-hero-card { padding: .75rem !important; }
  .home-exhibitions-carousel .exhibition-hero-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
  .home-exhibitions-carousel .exhibition-hero-card .exhibition-description-style { display: none; }
  .home-exhibitions-carousel .exhibition-hero-card .row.g-3 { row-gap: .5rem; }
}
.home-exhibitions-carousel .carousel-caption hr { border-color: rgba(255,255,255,0.35); opacity: .55; }
.home-exhibitions-carousel .exhibition-hero-card { background: rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.25); border-radius: 12px; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.home-exhibitions-carousel .exhibition-hero-card h3,
.home-exhibitions-carousel .exhibition-hero-card p,
.home-exhibitions-carousel .exhibition-hero-card .small,
.home-exhibitions-carousel .exhibition-hero-card .h6 { color: #fff; }

/* ==========================================
  X. HOME INDEX: Z-ANIM EFFECTS
  Moved from views/public/home/index.pug
  ========================================== */


.art-card-shadow { box-shadow: 0 4px 18px 0 rgba(16,46,80,0.13), 0 1.5px 6px 0 rgba(16,46,80,0.08); border-radius: 0.7rem; background: #fff; }
.art-label { font-family: var(--font-subtitle); background: #fff; border: 1.5px solid #222; border-radius: 0.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.04); padding: 1.25rem 1rem 1.5rem 1rem; letter-spacing: 0.005em; }

/* ==========================================
  GRID CARD SYSTEM - Clean & Minimal Spacing
  ========================================== */

/* Card body container */
.grid-card-body {
  padding: 0.5rem;
  font-family: var(--font-subtitle);
  background: #fff;
  border: 1.5px solid #222;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Main flex container - two columns */
.grid-card-flex {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  align-items: stretch;
}

/* Left column - artwork info */
.grid-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Right column - stats */
.grid-card-stats {
  flex: 1;
  text-align: right;
  font-size: 0.9rem;
}

/* Typography with minimal spacing */
.grid-card-title {
  font-weight: bold;
  font-size: 1.3rem;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  color: var(--ox-blue);
}

.grid-card-artist {
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  color: #666;
  letter-spacing: 0.02em;
}

.grid-card-details {
  margin-bottom: 0.3rem;
}

.grid-card-detail-item {
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 0.15rem;
  color: #888;
  font-variant-caps: small-caps;
  letter-spacing: 0.02em;
}

.grid-card-detail-item:last-child {
  margin-bottom: 0;
}

.grid-card-price {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
  margin-bottom: 0;
  color: var(--ox-blue);
  font-variant-numeric: lining-nums;
}

.grid-card-stat-item {
  font-size: 0.9rem;
  line-height: 1.1;
  margin-bottom: 0.2rem;
  color: #999;
  font-weight: normal;
}

.grid-card-stat-item:last-child {
  margin-bottom: 0;
}

.grid-card-stat-item:first-child {
  font-weight: 600;
}

/* ==========================================
  ARTIST GRID SYSTEM - Image Overlay Design
  ========================================== */


/* Artists as gallery plates (_artistGrid.pug): their work in a mosaic, the
   portrait, and what they've achieved. The article never moves on hover (it
   carries the scroll reveal); only the works, portrait and shadow react. */
.ox-artists {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 34rem), 1fr));
  gap: clamp(2.4rem, 3vw, 4rem);
  padding: 2.4rem 0 6.4rem;
}
.ox-artist {
  position: relative; display: flex; flex-direction: column;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 46, 80, .06), 0 12px 30px -16px rgba(16, 46, 80, .25);
  transition: box-shadow .5s ease;
}
.ox-artist__link { position: absolute; inset: 0; z-index: 3; }
.ox-artist__link:focus-visible { outline: 2px solid var(--ox-orange); outline-offset: 4px; }
.ox-artist__works {
  display: grid; gap: 3px; aspect-ratio: 4 / 3; overflow: hidden; background: #efe9dc;
}
.ox-artist__works.has-2 { grid-template-columns: 1fr 1fr; }
.ox-artist__works.has-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.ox-artist__works.has-3 .ox-artist__work:first-child { grid-row: span 2; }
.ox-artist__work {
  display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover;
  transition: transform 1.6s cubic-bezier(.16, .84, .24, 1);
}
.ox-artist__portrait {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: 9.6rem; height: 9.6rem; margin: -4.8rem 0 0 2.4rem;
  border-radius: 50%; border: 4px solid #fff; overflow: hidden;
  background: var(--ox-blue); color: var(--ox-beige);
  font-family: var(--font-subtitle); font-size: 3.2rem;
  box-shadow: 0 8px 20px -8px rgba(16, 46, 80, .45);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.ox-artist__portrait img { width: 100%; height: 100%; object-fit: cover; }
.ox-artist__body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 2.4rem 2.4rem; }
.ox-artist__name {
  margin: 0 0 .4rem; font-family: var(--font-subtitle); font-weight: 400;
  font-size: 3rem; line-height: 1.1; color: var(--ox-blue);
}
.ox-artist__headline { margin: 0 0 .6rem; font-family: var(--font-subtitle); font-style: italic; font-size: 1.8rem; color: rgba(16, 46, 80, .72); }
.ox-artist__place { display: flex; align-items: baseline; gap: .8rem; margin: 0; font-size: 1.4rem; color: rgba(16, 46, 80, .6); }
.ox-artist__place i { font-size: 1.2rem; color: var(--ox-orange); }
.ox-artist__stats {
  display: flex; flex-wrap: wrap; gap: 1.6rem 3.2rem;
  margin: 2rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgba(16, 46, 80, .12);
}
.ox-artist__stat { display: flex; flex-direction: column-reverse; gap: .4rem; }
.ox-artist__stat dd { margin: 0; font-family: var(--font-subtitle); font-size: 3.4rem; line-height: 1; color: var(--ox-blue); font-variant-numeric: lining-nums; }
.ox-artist__stat dt { font-family: var(--font-title); font-size: 1.05rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(16, 46, 80, .55); }
.ox-artist__cta {
  align-self: flex-start; margin-top: auto; padding-top: 2.4rem;
  font-family: var(--font-title); font-size: 1.2rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ox-blue);
}
.ox-artist__cta span { display: inline-block; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) and (pointer: fine) {
  .ox-artist:hover { box-shadow: 0 1px 2px rgba(16, 46, 80, .06), 0 26px 50px -18px rgba(16, 46, 80, .38); }
  .ox-artist:hover .ox-artist__work { transform: scale(1.05); }
  .ox-artist:hover .ox-artist__portrait { transform: translateY(-.4rem); }
  .ox-artist:hover .ox-artist__cta { color: var(--ox-orange); }
  .ox-artist:hover .ox-artist__cta span { transform: translateX(.4rem); }
}

.artist-card {
  overflow: hidden;
  /* hover effects disabled intentionally */
  transition: none;
}

.artist-card:hover {
  transform: none;
  box-shadow: none;
}

.artist-image-container {
  overflow: hidden;
}

.artist-image {
  transition: transform 0.3s ease;
}


.artist-card:hover .artist-image { transform: none; }


.artist-name {
  font-family: var(--font-title);
  font-size: 1.4rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.artist-bio {
  font-family: var(--font-subtitle);
  font-style: italic;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.artist-member-since {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}


.btn-outline-overlay {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--ox-blue);
  font-weight: 600;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.btn-outline-overlay:hover {
  background: var(--ox-yellow);
  border-color: var(--ox-yellow);
  color: var(--ox-blue);
  transform: translateY(-1px);
}

/* ==========================================
  EXHIBITION GRID SYSTEM - Image Overlay Design
  ========================================== */


.exhibition-placeholder {
  background: linear-gradient(135deg, #343a40 0%, #495057 100%);
}


.exhibition-title {
  font-family: var(--font-title);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}

.exhibition-description {
  font-family: var(--font-subtitle);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  max-width: 70%;
}


.museum-price.fw-bold.fs-5.mt-2 { font-family: var(--font-subtitle); font-variant-numeric: lining-nums; }
.art-label .h5 { font-style: italic; letter-spacing: 0.02em; }
.art-label .h4 { color: var(--ox-blue); }
.museum-artist { font-weight: 700; letter-spacing: 0.02em; }
.museum-title { font-style: italic; font-weight: 600; }
.museum-material, .museum-created { font-variant-caps: small-caps; letter-spacing: 0.02em; }

/* ==========================================
  8. COMPONENTS: PAGINATION (OX)
  ========================================== */
.pagination-ox { display: flex; justify-content: center; align-items: center; gap: 0.6rem; padding: 0; margin: 0; list-style: none; }
.pagination-ox .page-item { display: inline-block; }
.pagination-ox .page-link { font-size: 2.1rem; font-family: var(--font-title); color: var(--ox-blue); background: #fff; border: 2px solid var(--ox-yellow); border-radius: 1.5rem; padding: 0.7rem 1.6rem; margin: 0 0.1rem; font-weight: 600; transition: background 0.2s, color 0.2s, border 0.2s; outline: none; cursor: pointer; }
.pagination-ox .page-link:hover { background: var(--ox-orange); color: var(--ox-beige); border-color: var(--ox-orange); }
.pagination-ox .page-link:focus, .pagination-ox .page-link:active { background: var(--ox-yellow); color: var(--ox-blue); border-color: var(--ox-orange); outline: 2px solid var(--ox-orange); }
.pagination-ox .page-item.active .page-link, .pagination-ox .page-link[aria-current="page"] { background: var(--ox-yellow); color: var(--ox-blue); border-color: var(--ox-orange); font-weight: 700; outline: 2px solid var(--ox-orange); }
.pagination-ox .page-link[disabled], .pagination-ox .page-item.disabled .page-link { color: #bbb; background: #f7f6ef; border-color: #eee; cursor: not-allowed; pointer-events: none; }
.pagination-ox .page-link:focus-visible { outline: 2px solid var(--ox-orange); }

/* ==========================================
  9. COMPONENTS: CHIPS & BUTTONS
  ========================================== */
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem; border: 2px solid var(--ox-yellow); border-radius: 2rem; cursor: pointer; user-select: none; font-size: 1.3rem; color: var(--ox-blue); background: #fff; }
.chip input { display: none; }
.chip input:checked + span { font-weight: 700; }
.chip:has(input:checked) { background: var(--ox-yellow); }
/* Active state for button-based chips */
.chip.active { background: var(--ox-yellow) !important; color: var(--ox-blue) !important; border-color: var(--ox-yellow) !important; font-weight: 700; }
/* Icons inside chips should follow ox-blue, overriding global icon color */
.chip i, .chip .fa, .chip .fas, .chip .fab { color: var(--ox-blue) !important; }

/* COMPONENTS: TAB GROUPS (search + account) */
.search-tabs {
  border-bottom: 0 !important;
  gap: .75rem;
  flex-wrap: wrap;
}

.account-tabs {
  border: 0 !important;
  border-bottom: 0 !important;
  gap: .75rem;
  flex-wrap: wrap;
  padding: 0;
  border-radius: 0;
  background: transparent;
  justify-content: flex-start;
  box-shadow: none !important;
}
.nav-tabs.account-tabs {
  box-shadow: none !important;
  border: 0 !important;
  --bs-nav-tabs-border-width: 0;
  --bs-nav-tabs-border-color: transparent;
  --bs-nav-tabs-link-hover-border-color: transparent;
  --bs-nav-tabs-link-active-border-color: transparent;
}

.search-tabs .nav-item,
.account-tabs .nav-item {
  margin-bottom: 0 !important;
}

.search-tabs .nav-link {
  font-family: 'Montserrat', var(--font-title), Arial, sans-serif;
  color: var(--ox-blue);
  border: 2px solid var(--ox-yellow);
  border-radius: 999px;
  background: #fff;
  padding: .6rem 1.1rem;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .12s ease;
}

.search-tabs .nav-link:hover {
  background: color-mix(in srgb, var(--ox-yellow) 18%, #fff);
  color: var(--ox-blue);
}

.search-tabs .nav-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--ox-orange) 45%, transparent);
  outline-offset: 2px;
}

.search-tabs .nav-link.active,
.search-tabs .nav-link[aria-current="page"],
.search-tabs .nav-link[aria-selected="true"] {
  background: var(--ox-yellow) !important;
  color: var(--ox-blue) !important;
  box-shadow: 0 6px 16px rgba(16,46,80,0.12);
}

.search-tabs .nav-link:active {
  transform: translateY(1px);
}

.account-tabs .nav-link {
  font-family: 'Montserrat', var(--font-title), Arial, sans-serif;
  color: var(--ox-blue);
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 84%, var(--ox-beige) 16%);
  padding: .7rem 1.6rem;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .12s ease;
  box-shadow: none !important;
}

.account-tabs .nav-link:hover {
  background: color-mix(in srgb, var(--ox-yellow) 22%, #fff);
}

.account-tabs .nav-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--ox-orange) 55%, transparent);
  outline-offset: 2px;
}

.account-tabs .nav-link.active,
.account-tabs .nav-link[aria-current="page"],
.account-tabs .nav-link[aria-selected="true"] {
  background: linear-gradient(120deg, var(--ox-yellow) 0%, color-mix(in srgb, var(--ox-orange) 45%, var(--ox-yellow) 55%) 100%) !important;
  color: var(--ox-blue) !important;
  box-shadow: none !important;
}

.account-tabs .nav-link:active {
  transform: translateY(1px);
}

.account-page-section {
  position: relative;
  background: transparent;
}

.account-page-container {
  max-width: 1080px;
}

.account-page-header-row {
  align-items: center;
}

.account-page-title {
  letter-spacing: .04em;
}

.account-page-subtitle {
  max-width: 66ch;
}

.account-page-alerts {
  margin-top: 1.5rem;
}

.account-tabs-content {
  margin-top: 2.8rem;
}

.account-form-row {
  row-gap: 1.75rem;
}

.account-form-column {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.account-form-group {
  margin-bottom: 0 !important;
}

.account-form-label {
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ox-blue);
}

.account-form-control {
  border: 1px solid color-mix(in srgb, var(--ox-blue) 14%, transparent) !important;
  border-radius: .5rem !important;
  background-color: color-mix(in srgb, #fff 88%, var(--ox-beige) 12%);
  box-shadow: none !important;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}
.account-form-control:hover,
.account-form-control:focus,
.account-form-control:active {
  border-color: color-mix(in srgb, var(--ox-blue) 38%, transparent) !important;
  box-shadow: none !important;
  background-color: color-mix(in srgb, #fff 92%, var(--ox-beige) 8%);
}
.account-form-input-group {
  border-radius: 0;
  overflow: visible;
  box-shadow: none !important;
  border: 0 !important;
  background: transparent;
}
.account-form-input-group .account-form-addon + .account-form-control {
  border-left: 0 !important;
  border-radius: 0 .5rem .5rem 0 !important;
}
.account-form-addon {
  border: 1px solid color-mix(in srgb, var(--ox-blue) 14%, transparent) !important;
  background: color-mix(in srgb, #fff 88%, var(--ox-beige) 12%);
  color: inherit;
  font-weight: 600;
  border-radius: .5rem 0 0 .5rem;
}
.account-form-input-group--append .account-form-control {
  border-right: 0 !important;
  border-radius: .5rem 0 0 .5rem !important;
}
.account-form-hint { display: block; font-size: 1.2rem; color: color-mix(in srgb, var(--ox-blue) 65%, transparent); }
.account-form-hint-info { color: var(--ox-blue) !important; }
.account-form-actions { display: flex; justify-content: flex-end; gap: 1.2rem; background: transparent; }
.account-form-submit {
  padding: .8rem 2.4rem;
  border-radius: .5rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: none;
  border: 0 !important;
}
.account-form-submit:hover,
.account-form-submit:focus,
.account-form-submit:active {
  box-shadow: none !important;
  border: 0 !important;
}
.account-form-toggle {
  border-radius: 0 .5rem .5rem 0;
  border: 1px solid color-mix(in srgb, var(--ox-blue) 14%, transparent) !important;
  background: color-mix(in srgb, #fff 88%, var(--ox-beige) 12%);
}
.account-form-toggle:hover,
.account-form-toggle:focus,
.account-form-toggle:active {
  border-color: color-mix(in srgb, var(--ox-blue) 38%, transparent) !important;
  background-color: color-mix(in srgb, #fff 92%, var(--ox-beige) 8%);
}
.account-form-toggle-icon { pointer-events: none; color: var(--ox-blue); }
.account-form-delete {
  border-radius: .5rem;
  padding: .65rem 1.8rem;
  font-weight: 600;
  box-shadow: none;
  border: 1px solid color-mix(in srgb, var(--ox-blue) 22%, transparent);
  background: transparent;
  color: var(--ox-blue);
}
.account-form-delete:hover,
.account-form-delete:focus,
.account-form-delete:active {
  background: var(--ox-blue);
  color: var(--ox-beige);
  box-shadow: none;
}
.account-form-divider { border-color: transparent; opacity: 1; }
.account-form-info-icon { color: var(--ox-yellow); }
.account-form-hint-copy { font-size: 1.2rem; color: var(--ox-blue); }
.account-photo-row { row-gap: 2rem; align-items: flex-start; }
.account-photo-preview-group { display: flex; justify-content: center; }
.account-photo-preview {
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.account-photo-placeholder {
  width: 220px;
  height: 220px;
}
.account-photo-placeholder-icon { color: color-mix(in srgb, var(--ox-blue) 65%, transparent); box-shadow: none; }
.account-photo-cropper-helper { line-height: 1.45; }
.account-photo-cropper-wrapper {
  position: relative;
  width: 100%;
  min-height: 220px;
  border: 1px dashed rgba(0,0,0,0.2);
  border-radius: 0.5rem;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0.5rem;
}
.account-photo-cropper-wrapper img {
  max-width: 100%;
  display: block;
}
.account-form-hidden { display: none; }

@media (max-width: 575.98px) {
  .search-tabs {
    gap: .5rem;
  }
  .search-tabs .nav-link {
    padding: .5rem .9rem;
    font-size: 1.2rem;
  }
  .account-tabs {
    gap: .5rem;
    padding: 0;
    border-radius: 0;
  }
  .account-tabs .nav-link {
    padding: .5rem .9rem;
    font-size: 1.2rem;
  }
  .account-tab-pane {
    padding: 0;
  }
  .account-form-column {
    gap: 1rem;
  }
  .account-form-actions {
    justify-content: center;
  }
  .account-form-submit {
    width: 100%;
  }
}

.account-tab-pane {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transition: none;
}

@media (max-width: 991.98px) {
  .account-tab-pane {
    padding: 0;
  }
  .account-form-column {
    gap: 1.1rem;
  }
  .account-form-actions {
    justify-content: center;
  }
}

/* ==========================================
  EXHIBITION DETAIL: Hero (mirror of artist/artwork)
  ========================================== */
.exhibition-hero-fullscreen { min-height: 100vh; min-height: 100svh; min-height: 100dvh; height: 100dvh; overflow: hidden; }
.exhibition-detail-page .exhibition-hero-content { position: absolute; inset: 0; display: flex; align-items: center; }
.exhibition-detail-page .exhibition-hero-content .container { width: 100%; }
.exhibition-detail-page .exhibition-hero-content .row { align-items: center; justify-content: center; }
.exhibition-detail-page .exhibition-hero-card { margin-left: auto; margin-right: auto; }
.exhibition-detail-page .hero-background { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.exhibition-detail-page .hero-bg-image,
.exhibition-detail-page .exhibition-bg-image,
.exhibition-detail-page .exhibition-detail__hero-img { width: 100vw; height: 100dvh; object-fit: cover; object-position: center; will-change: transform; animation: hero-kenburns 28s ease-in-out infinite alternate; }

/* Do NOT add dark background/blur to hero content (override global mobile rule) */
.exhibition-detail-page .hero-content,
.exhibition-detail-page .exhibition-hero-content { background: transparent !important; backdrop-filter: none !important; }
@media (max-width: 991.98px) {
  .exhibition-detail-page .hero-content,
  .exhibition-detail-page .exhibition-hero-content { position: absolute !important; }
}
/* Neutralize overlay tint on exhibition hero */
.exhibition-detail-page .hero-overlay,
.exhibition-detail-page .exhibition-hero-overlay { background: none !important; background-color: transparent !important; background-image: none !important; }

/* Translucent info card */
.exhibition-hero-card {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.18) 100%), rgba(16,46,80,0.20);
  color: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.exhibition-hero-card .text-white-50 { color: rgba(255,255,255,0.78) !important; }
.exhibition-hero-card .text-white-75 { color: rgba(255,255,255,0.90) !important; }
.exhibition-hero-card .hero-title { text-shadow: 0 2px 8px rgba(0,0,0,0.45), 0 0 1px rgba(0,0,0,0.35); }

/* Right column stats card */
.exhibition-stats-card {
  position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.18) 100%), rgba(16,46,80,0.20);
  color: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  margin-bottom: 1rem;
}

/* Unify surface style for all exhibition cards (desktop + mobile) */
.exhibition-hero-card,
.exhibition-stats-card,
.exhibition-info-card,
.exhibition-detail__guests-card,
.exhibition-detail__mobile-card,
.exhibition-detail__mobile-guests-card {
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.18) 100%), rgba(16,46,80,0.20) !important;
  color: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.22) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  margin-bottom: 1rem;
}

/* Strengthen secondary whites inside exhibition cards for contrast */
.exhibition-hero-card .text-white-50,
.exhibition-stats-card .text-white-50,
.exhibition-detail__guests-card .text-white-50,
.exhibition-detail__mobile-card .text-white-50,
.exhibition-detail__mobile-guests-card .text-white-50 { color: rgba(255,255,255,0.78) !important; }
.exhibition-hero-card .text-white-75,
.exhibition-stats-card .text-white-75,
.exhibition-detail__guests-card .text-white-75,
.exhibition-detail__mobile-card .text-white-75,
.exhibition-detail__mobile-guests-card .text-white-75 { color: rgba(255,255,255,0.90) !important; }

/* Add vertical gap between columns/cards in hero row */
.exhibition-detail-page .exhibition-hero-content .row { row-gap: 1rem; }

/* Ensure children headings and paragraphs in cards use readable colors */
.exhibition-hero-card h1, .exhibition-hero-card h2, .exhibition-hero-card h3,
.exhibition-stats-card h1, .exhibition-stats-card h2, .exhibition-stats-card h3,
.exhibition-info-card h1, .exhibition-info-card h2, .exhibition-info-card h3,
.exhibition-detail__guests-card h1, .exhibition-detail__guests-card h2, .exhibition-detail__guests-card h3 { color: #fff; }

/* ==========================================
  Exhibition guests list: first 5 full width, rest 2 columns
  ========================================== */
.exhibition-detail__guests-list { display: flex; flex-wrap: wrap; row-gap: .5rem; column-gap: 1rem; }
.exhibition-detail__guests-list .exhibition-detail__guest-item { width: 100%; box-sizing: border-box; }
/* On md+ turn the list into a 2-col grid when flagged */
@media (min-width: 768px) {
  .exhibition-detail__guests-list.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; row-gap: .5rem; }
  .exhibition-detail__guests-list.two-cols .exhibition-detail__guest-item { width: auto; }
}
/* Apply same behavior to mobile guests list if present */
.exhibition-detail__mobile-guests-list { display: flex; flex-wrap: wrap; row-gap: .5rem; column-gap: .75rem; }
.exhibition-detail__mobile-guests-list > * { width: 100%; }
@media (min-width: 576px) {
  .exhibition-detail__mobile-guests-list.two-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: .75rem; row-gap: .5rem; }
.exhibition-detail__mobile-guests-list.two-cols > * { width: auto; }
}

/* Constrain guests card width and center it */
.exhibition-detail__guests-col { display: flex; justify-content: center; }
.exhibition-detail__guests-card { max-width: 720px; width: 100%; margin-left: auto; margin-right: auto; }
.btn-apply { background: var(--ox-yellow); color: var(--ox-blue); border: none; border-radius: 2rem; }
.btn-apply:hover { background: var(--ox-orange); color: var(--ox-beige); }

/* Bootstrap primary color overrides */
.btn-primary { background: var(--ox-yellow) !important; color: var(--ox-blue) !important; border-color: var(--ox-yellow) !important; }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: var(--ox-orange) !important; color: var(--ox-beige) !important; border-color: var(--ox-orange) !important; }
.btn-outline-primary { color: var(--ox-yellow) !important; border-color: var(--ox-yellow) !important; }
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active { background: var(--ox-yellow) !important; color: var(--ox-blue) !important; border-color: var(--ox-yellow) !important; }
.text-primary { color: var(--ox-yellow) !important; }
.bg-primary { background-color: var(--ox-yellow) !important; color: var(--ox-blue) !important; }
.badge.bg-primary { background-color: var(--ox-yellow) !important; color: var(--ox-blue) !important; border: 1px solid var(--ox-yellow) !important; }

/* Technique badges specific styling */
.artist-technique-badge.badge.bg-primary { 
  background-color: var(--ox-yellow) !important; 
  color: var(--ox-blue) !important; 
  border: 1px solid var(--ox-yellow) !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 0.8rem;
  border-radius: 1.5rem;
}

/* Icon styling - ensure icons use ox-yellow */
.fas, .fab, .fa {
  color: var(--ox-yellow);
}

/* Icon exceptions - icons that should remain with their context color */
.text-white .fas, .text-white .fab, .text-white .fa,
.text-warning .fas, .text-warning .fab, .text-warning .fa,
.text-muted .fas, .text-muted .fab, .text-muted .fa {
  color: inherit;
}

/* Social media links - keep text/icons white at all breakpoints */
.artist-meta-desktop a,
.artist-meta-mobile a {
  color: #fff !important;
}

.artist-meta-desktop a .fas,
.artist-meta-desktop a .fab,
.artist-meta-mobile a .fas,
.artist-meta-mobile a .fab {
  color: var(--ox-yellow) !important;
}

.artist-meta-desktop a:hover,
.artist-meta-mobile a:hover,
.artist-meta-desktop a:focus,
.artist-meta-mobile a:focus {
  color: #fff !important;
}

/* Follow button heart icon should be ox-blue */
.artist-follow-btn .fas.fa-heart,
.artist-follow-btn-mobile .fas.fa-heart {
  color: var(--ox-blue) !important;
}

/* Follow button specific styling */
.artist-follow-btn {
  background: var(--ox-yellow) !important;
  color: var(--ox-blue) !important;
  border-color: var(--ox-yellow) !important;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.artist-follow-btn:hover,
.artist-follow-btn:focus,
.artist-follow-btn:active {
  background: var(--ox-orange) !important;
  color: var(--ox-beige) !important;
  border-color: var(--ox-orange) !important;
}

.artist-follow-btn-mobile {
  background: var(--ox-yellow) !important;
  color: var(--ox-blue) !important;
  border-color: var(--ox-yellow) !important;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

/* Click effects for follow buttons */
.btn-pop {
  animation: btn-pop-keyframes 180ms ease-out;
}

@keyframes btn-pop-keyframes {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: btn-ripple-keyframes 600ms ease-out;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

@keyframes btn-ripple-keyframes {
  to {
    transform: scale(12);
    opacity: 0;
  }
}

/* Botón de compartir consistente en todo el sitio */
.ox-share-btn {
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  font-weight: 600;
}

/* Favorito: usa var(--ox-blue) para borde y texto en outline,
   y relleno azul al estar activo (btn-dark) */
.artwork-detail__fav-btn.btn-outline-dark {
  color: var(--ox-blue);
  border-color: var(--ox-blue);
}
.artwork-detail__fav-btn.btn-outline-dark:hover,
.artwork-detail__fav-btn.btn-outline-dark:focus {
  color: #fff;
  background-color: var(--ox-blue);
  border-color: var(--ox-blue);
}
.artwork-detail__fav-btn.btn-dark {
  color: #fff;
  background-color: var(--ox-blue);
  border-color: var(--ox-blue);
}

.artist-follow-btn-mobile:hover,
.artist-follow-btn-mobile:focus,
.artist-follow-btn-mobile:active {
  background: var(--ox-orange) !important;
  color: var(--ox-beige) !important;
  border-color: var(--ox-orange) !important;
}

/* Artwork detail: stats icons use ox-blue on white background */
.artwork-detail__stat-icon {
  color: var(--ox-blue) !important;
}

/* Artist back button specific styling */
.artist-back-btn {
  color: var(--ox-blue) !important;
  border-color: var(--ox-blue) !important;
}

.artist-back-btn .fas {
  color: var(--ox-blue) !important;
}

.artist-back-btn:hover,
.artist-back-btn:focus,
.artist-back-btn:active {
  background: var(--ox-blue) !important;
  color: var(--ox-beige) !important;
  border-color: var(--ox-blue) !important;
}

.artist-back-btn:hover .fas,
.artist-back-btn:focus .fas,
.artist-back-btn:active .fas {
  color: var(--ox-beige) !important;
}

/* ==========================================
  10. AUTH (LOGIN/SIGNIN)
  ========================================== */
.login-signin-btn { background: var(--ox-yellow) !important; color: var(--ox-blue) !important; border: none !important; border-radius: 2rem !important; font-weight: 700; font-size: 1.5rem; box-shadow: 0 2px 8px -2px rgba(16, 46, 80, 0.10); transition: background 0.2s, color 0.2s; }
.login-signin-btn:hover, .login-signin-btn:focus { background: var(--ox-orange) !important; color: var(--ox-beige) !important; }
.login-signin-side-img { max-height: 100vh; width: auto; height: 100vh; display: block; object-fit: cover; }
/* Hide side image below 1150px; show at >=1150px (overrides Bootstrap d-none/d-lg-block) */
@media (max-width: 1199.98px) {
  .login-signin-container .login-signin-img-col { display: none !important; }
}
@media (min-width: 1200px) {
  .login-signin-container .login-signin-img-col { display: block !important; }
}

/* ==========================================
  11. OFFCANVAS & FILTERS
  ========================================== */
.offcanvas .filter-block { border-top: 1px solid #eee; padding-top: 1rem; }
.sticky-apply { position: sticky; bottom: 0; background: #fff; padding-top: .75rem; }

/* ==========================================
  12. FOOTER
  ========================================== */
.footer { background-color: var(--ox-blue) !important; color: var(--ox-beige) !important; font-family: var(--font-title), sans-serif !important; }
.footer .nav-link, .footer p, .footer a { color: var(--ox-beige) !important; }
.footer a { color: var(--ox-beige) !important; font-size: 1.6rem !important; line-height: 1.35; text-decoration: none; }

/* ==========================================
  13. MEDIA QUERIES
  ========================================== */
@media (min-width: 992px) {
  .logo-navbar { margin-right: 1rem; }
  #navbarsExample05 form[role="search"] .searchbar-input { width: 32rem; }
  section.hero .hero-row, section.home-hero .hero-row { flex-direction: row; align-items: center; justify-content: center; }
  section.hero .hero-text, section.home-hero .hero-text { order: 1; }
  section.hero .hero-image-container, section.home-hero .hero-image-container { order: 2; }
}
@media (max-width: 991.98px) {
  #navbarsExample05 form[role="search"] { margin-left: auto; margin-right: auto; max-width: 60rem; width: 100%; display: flex; justify-content: center; }
  #navbarsExample05 .navbar-nav .nav-item:first-child { margin-top: 1.2rem; }
  #navbarsExample05 .navbar-nav .nav-item { margin-bottom: 1.2rem; }
  #navbarsExample05 form[role="search"] { margin-bottom: 1.2rem; }
}
@media (max-width: 991.98px) {
  #navbarsExample05 { padding-left: 1rem; padding-right: 1rem; }
  #navbarsExample05 .navbar-nav { align-items: center; }
  #navbarsExample05 form[role="search"] { width: 100%; }
  #navbarsExample05 .searchbar-input { width: 100%; }
  section.hero .hero-row, section.home-hero .hero-row { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  section.hero .hero-text, section.home-hero .hero-text { align-items: center; display: flex; flex-direction: column; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  section.hero .hero-row, section.home-hero .hero-row { flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  section.hero .hero-text, section.home-hero .hero-text { align-items: center; display: flex; flex-direction: column; }
}


/* Center login/signup logo + title */
.login-signin-form .navbar-logo-link { justify-content: center; }
/* Center forgot password logo + title */
#forgotForm .navbar-logo-link { justify-content: center; margin-bottom: 2rem !important; }
/* Center reset password logo + title */
.reset-password-form .navbar-logo-link { justify-content: center; }

/* Artist card reveal animation */


/* Artist image fade-in when loaded */
.artist-image { opacity: 0; transition: opacity .4s ease; }
.artist-image.loaded { opacity: 1; }
/* Exhibition image fade-in */


/* Ajuste r├ípido: alturas m├ís compactas para heroes de exposiciones */


/* Split exhibitions layout */


/* Skeleton shimmer while image loads */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}


/* Apply shimmer to exhibitions container as well */


/* Related exhibitions styling */
.related-exhibition-card { position: relative; border: none; border-radius: .75rem; overflow: hidden; min-height: 240px; }
/* Ensure overlay does not block clicks */
.related-exhibition-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.55) 100%); pointer-events: none; z-index: 0; }
.related-exhibition-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; display: block; }
.related-exhibition-card .stretched-link { position: absolute; inset: 0; z-index: 2; }
.related-exhibition-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; }
.related-exhibition-title { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.related-exhibition-desc, .related-exhibition-loc-text, .related-exhibition-date-text { color: rgba(255,255,255,0.9) !important; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.related-exhibitions-grid { row-gap: 1rem; }
/* Shimmer for split media */


/* ==========================================
  14. ARTWORK DETAIL PAGE
  ========================================== */
.artwork-image-container {
  position: relative;
}

.artwork-card {
  transition: transform 0.2s ease-in-out;
}

.artwork-card:hover {
  transform: translateY(-5px);
}

.price-info {
  border: 2px solid var(--ox-yellow);
}

/* Main artwork section with full height */
.artwork-detail-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Custom background colors */
.bg-beige {
  background-color: var(--ox-beige) !important;
}

/* Artwork detail minimal styling */
.artwork-info .details-list {
  border-top: 1px solid #e0e0e0;
  padding-top: 1.5rem;
}

.artwork-info .detail-item {
  font-size: 1.1rem;
  line-height: 1.6;
}

.artwork-info h1 {
  font-family: var(--font-title);
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Artwork stats styling */
.artwork-action-section {
  position: relative;
}

.artwork-stats {
  position: relative;
}

.artwork-stats.centered-to-button {
  /* El JavaScript establecer├í estas custom properties */
  --button-width: 200px;
  --button-left: 0px;
  
  position: absolute;
  left: var(--button-left);
  width: var(--button-width);
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.artwork-stats .stat-item {
  font-size: 1rem;
  color: #999;
}

.artwork-stats .stat-item:not(:last-child)::after {
  content: 'ΓÇó';
  margin-left: 1rem;
  color: #ddd;
}

@media (max-width: 768px) {
  .artwork-info {
    margin-top: 2rem;
  }
  
  .artwork-detail-main {
    min-height: auto;
    align-items: flex-start;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* Artwork info responsive container */
.artwork-info-container {
  max-width: 600px;
}

/* Artist name hover effects */
.artist-name-hover {
  color: var(--bs-gray-600) !important;
  transition: color 0.3s ease;
}

.artist-name-hover:hover {
  color: var(--ox-orange) !important;
}

.artist-title-hover {
  color: var(--ox-blue);
  transition: color 0.3s ease;
}

.artist-title-hover:hover {
  color: var(--ox-orange);
}

/* Button letter spacing */
.btn-letter-spacing {
  letter-spacing: 0.1em;
}

/* Related artworks section */
.related-artworks {
  margin-top: 4rem;
}

/* Back navigation section */
.back-navigation {
  margin-top: 3rem;
}

/* ==========================================
  14.1. ARTIST DETAIL PAGE IMPROVEMENTS
  ========================================== */
/* Artist hero section */
.artist-hero-fullscreen {
  /* Fill the viewport height robustly across browsers */
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  height: 100dvh;
  overflow: hidden;
}

.artist-hero-image {
  object-fit: cover;
  object-position: center;
}

.artist-hero-placeholder {
  background: linear-gradient(135deg, var(--ox-blue) 0%, var(--ox-orange) 50%, var(--ox-yellow) 100%);
}

.artist-hero-overlay {
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.artist-hero-content {
  z-index: 10;
}

.artist-name-desktop {
  font-family: var(--font-title);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.artist-member-since {
  font-family: var(--font-subtitle);
  font-weight: 300;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.artist-bio-desktop {
  font-family: var(--font-subtitle);
  font-style: italic;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  max-width: 600px;
}

.artist-action-btn {
  border-radius: 2rem;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.1);
}

.artist-techniques-card {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.1);
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
}


/* Artist cover modal cropper */
#artistCoverModal .modal-dialog {
  max-width: 720px;
}
.artist-cover-cropper {
  position: relative;
  width: 100%;
  min-height: 260px;
  border: 1px dashed rgba(0,0,0,0.2);
  border-radius: 0.75rem;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 1rem;
}
.artist-cover-cropper img {
  max-width: 100%;
  display: block;
}
.artist-cover-helper {
  line-height: 1.4;
}
.artist-cover-progress {
  height: 6px;
  display: none;
}
.artist-cover-progress-bar {
  width: 0%;
  transition: width 0.3s ease;
}
.artist-application-progress {
  height: 10px;
}
.progress-width-33 { width: 33%; }
.progress-width-66 { width: 66%; }
.progress-width-100 { width: 100%; }

/* Admin user cover cropper */
.admin-users-cover-cropper-wrapper {
  position: relative;
  width: 100%;
  min-height: 220px;
  border: 1px dashed rgba(0,0,0,0.2);
  border-radius: 0.5rem;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.admin-users-cover-cropper-wrapper img {
  max-width: 100%;
  display: block;
}
.admin-users-cover-helper {
  line-height: 1.4;
}
.admin-users-avatar-cropper-wrapper,
.admin-users-cover-cropper-wrapper {
  width: 100%;
}
.admin-users-avatar-cropper-wrapper {
  position: relative;
  min-height: 200px;
  border: 1px dashed rgba(0,0,0,0.2);
  border-radius: 0.5rem;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.admin-users-avatar-cropper-wrapper img {
  max-width: 100%;
  display: block;
}
.admin-users-avatar-helper {
  line-height: 1.4;
}
/* Artist Detail - Additional Classes */
.artist-image-cover {
    object-fit: cover;
    object-position: center;
}

.artist-gradient-bg {
    background: linear-gradient(135deg, var(--ox-blue) 0%, var(--ox-orange) 50%, var(--ox-yellow) 100%);
}

.artist-hero-z-index {
    z-index: 10;
}

.artist-title-font {
    font-family: var(--font-title);
}

.artist-text-shadow {
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.artist-text-shadow-light {
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.artist-subtitle-font {
    font-family: var(--font-subtitle);
    font-weight: 300;
}

.artist-bio-style {
    font-family: var(--font-subtitle);
    font-style: italic;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    max-width: 600px;
}

/* Mobile Layout Styles */
.artist-mobile-bg {
    background: var(--ox-beige);
}

.artist-mobile-title {
    font-family: var(--font-title);
    color: var(--ox-blue);
}

.artist-mobile-subtitle {
    font-family: var(--font-subtitle);
    font-weight: 300;
}

.artist-mobile-bio {
    font-family: var(--font-subtitle);
    font-style: italic;
    line-height: 1.5;
}

.artist-mobile-action-btn {
    border-radius: 2rem;
}

.artist-mobile-techniques-card {
    background: white;
    border-radius: 1rem;
    border: 1px solid #e9ecef;
}

.artist-mobile-techniques-label {
    color: var(--ox-blue);
}

.artist-artworks-bg {
    background: var(--ox-beige);
}

/* ========================================
   EXHIBITION DETAIL STYLES
======================================== */

/* Exhibition Hero Section */

/* ==========================================
  Artwork Grid (scoped to new class names)
  Use the new BEM classes to avoid touching Bootstrap globals
  ========================================== */
.artwork-grid {
  max-width: none;
  width: 100%;
  list-style: none;
  margin: 30px auto;
  padding: 0;
  position: relative;
}
.artwork-grid li,
.artwork-grid .artwork-grid__item {
  display: block;
  float: left;
  padding: 7px;
  width: 33%;
  box-sizing: border-box;
}
.artwork-grid li a,
.artwork-grid li img { outline: none; border: none; display: block; max-width: 100%; }
.artwork-grid__media { display: block; overflow: hidden; }

/* Motion (public/js/masonry-init.js). The <li> belongs to Masonry and is never
   animated; only the card inside it moves. Visible by default: these states
   apply only when the public layout sets html.ox-motion (admin never does). */
.artwork-grid { transition: opacity .2s ease; }
.artwork-grid.is-laying-out { opacity: 0; }
html.ox-motion .artwork-grid li:not(.is-in) > a { opacity: 0; transform: translate3d(0, 4.8rem, 0); }
html.ox-motion .artwork-grid li.is-in:not(.is-settled) > a {
  transition:
    opacity .9s cubic-bezier(.33, 0, .2, 1) var(--ox-delay, 0ms),
    transform 1.2s cubic-bezier(.16, .84, .24, 1) var(--ox-delay, 0ms);
}
/* the image "develops" from soft to sharp */
.artwork-grid .artwork-grid__image { transition: filter 1.3s ease, transform 1.8s cubic-bezier(.16, .84, .24, 1); }
html.ox-motion .artwork-grid li:not(.is-developed) .artwork-grid__image { filter: blur(8px) saturate(.55); transform: scale(1.06); }
/* hover: the card lifts a little and the painting draws you in */
@media (hover: hover) and (pointer: fine) {
  .artwork-grid li.is-settled > a,
  html:not(.ox-motion) .artwork-grid li > a { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
  .artwork-grid li.is-settled > a:hover,
  html:not(.ox-motion) .artwork-grid li > a:hover { transform: translate3d(0, -.6rem, 0); }
  .artwork-grid li.is-settled > a:hover .artwork-grid__image,
  html:not(.ox-motion) .artwork-grid li > a:hover .artwork-grid__image { transform: scale(1.045); }
  .artwork-grid__body { transition: box-shadow .5s ease; }
  .artwork-grid li > a:hover .artwork-grid__body { box-shadow: 0 18px 40px rgba(16, 46, 80, .22), 0 4px 12px rgba(16, 46, 80, .12); }
}
/* Shared scroll reveal (public/js/ox-reveal.js), same rule as the grid:
   visible by default, hidden only while html.ox-motion is set. */
html.ox-motion [data-ox-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 3.2rem, 0); }
html.ox-motion [data-ox-reveal].is-in {
  transition:
    opacity 1s cubic-bezier(.33, 0, .2, 1) var(--ox-delay, 0ms),
    transform 1.3s cubic-bezier(.16, .84, .24, 1) var(--ox-delay, 0ms);
}
@media (prefers-reduced-motion: reduce) {
  .artwork-grid li > a, .artwork-grid .artwork-grid__image { transition: none !important; transform: none !important; }
}

/* Responsive columns for artwork grid */
@media (max-width: 991.98px) {
  .artwork-grid li,
  .artwork-grid .artwork-grid__item { width: 50%; }
}
@media (max-width: 575.98px) {
  .artwork-grid li,
  .artwork-grid .artwork-grid__item { width: 100%; }
}

.artwork-grid__body {
  padding: 0.5rem;
  font-family: var(--font-subtitle);
  background: #fff;
  border: 1.5px solid #222;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  color: var(--ox-blue);
}
/* Glass variant for artwork info card */
.artwork-grid__body.artwork-info-glass {
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: none;
  border-radius: 0 0 2rem 2rem; /* bottom rounded corners, match home glass card */
  box-shadow: 0 8px 32px rgba(16,46,80,0.18), 0 2px 8px rgba(16,46,80,0.10);
  padding: 0.75rem 1rem;
}
.artwork-grid__content { display: flex; flex-direction: row; gap: 0.75rem; align-items: stretch; }
.artwork-grid__info { flex: 1; display: flex; flex-direction: column; word-break: break-word; overflow-wrap: anywhere; }
.artwork-grid__stats { flex: 1; text-align: right; font-size: 0.9rem; position: relative; min-height: 3.2rem; word-break: break-word; overflow-wrap: anywhere; padding-top: 1.6rem; padding-bottom: 1.4rem; }
.artwork-grid__title { font-weight: 700; font-size: 1.3rem; line-height: 1.1; margin-bottom: 0.4rem; color: var(--ox-blue); word-break: break-word; overflow-wrap: anywhere; }
.artwork-grid__artist { font-weight: 700; font-size: 1.1rem; line-height: 1.2; margin-bottom: 0.3rem; text-transform: uppercase; color: #666; letter-spacing: 0.02em; word-break: break-word; overflow-wrap: anywhere; }
.artwork-grid__details { margin-bottom: 0.3rem; word-break: break-word; overflow-wrap: anywhere; }
.artwork-grid__detail-item { font-size: 1rem; line-height: 1.2; margin-bottom: 0.15rem; color: #888; font-variant-caps: small-caps; letter-spacing: 0.02em; word-break: break-word; overflow-wrap: anywhere; }
.artwork-grid__detail-item:last-child { margin-bottom: 0; }
.artwork-grid__price { font-weight: 700; font-size: 1.2rem; line-height: 1.2; margin-bottom: 0; color: var(--ox-blue); font-variant-numeric: lining-nums; position: absolute; top: 0; right: 0; }
.artwork-grid__price-value { font-weight: 400 !important; color: inherit !important; }
.artwork-grid__stat-item { font-size: 1.4rem; line-height: 1.4; margin-bottom: 0.2rem; color: #999; font-weight: 400; }
.artwork-grid__stat-item:last-child { margin-bottom: 0; }
.artwork-grid__availability { margin-top: 0.35rem; display: flex; justify-content: flex-end; position: static; }
.artwork-grid__availability .badge { font-size: 1rem; padding: 0.25rem 0.75rem; }
.artwork-grid__image { display: block; width: 100%; height: auto; }
.artwork-grid__stretched-link { position: absolute; inset: 0; }

/* Meta stats (views, favorites) aligned bottom-right */
.artwork-grid__meta { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; font-size: 0.95rem; color: #666; }
.artwork-grid__meta .fa { color: var(--ox-yellow); }
.artwork-grid__stat { display: inline-flex; align-items: center; }

/* ==========================================
  Artist Detail: Hero overlay/filters neutralized so image/background are not tinted
  ========================================== */
.artist-detail-page .artist-hero-overlay,
.artist-detail-page .exhibition-hero-overlay,
.artist-detail-page .hero-overlay {
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
}
.artist-detail-page .hero-content { background: transparent !important; backdrop-filter: none !important; }
/* Center the hero content vertically and horizontally over the image */
.artist-detail-page .artist-hero-content { position: absolute !important; inset: 0 !important; display: flex !important; align-items: center !important; }
.artist-detail-page .artist-hero-content .container { width: 100%; }
.artist-detail-page .artist-hero-content .row { align-items: center; justify-content: center; }
.artist-detail-page .artist-hero-card { margin-left: auto; margin-right: auto; }
@media (max-width: 991.98px) { .artist-detail-page .hero-content { position: absolute !important; } }
.artist-detail-page .hero-bg-image,
.artist-detail-page .artist-bg-image {
  /* Fill the hero container without causing horizontal overflow on very small screens */
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none !important;
  will-change: transform;
  animation: hero-kenburns 28s ease-in-out infinite alternate;
}

/* Ensure the absolute background wrapper truly spans the hero */
.artist-hero-bg,
.hero-background { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }

@keyframes hero-kenburns {
  0%   { transform: scale(1.03) translate3d(0%, 0%, 0); }
  50%  { transform: scale(1.06) translate3d(0.8%, -0.8%, 0); }
  100% { transform: scale(1.03) translate3d(-0.8%, 0.8%, 0); }
}

@media (max-width: 900px) {
  .artist-detail-page .artist-hero-fullscreen {
    min-height: auto;
    height: auto;
    padding-bottom: 2rem;
  }
  .artist-detail-page .artist-hero-bg,
  .artist-detail-page .hero-background {
    position: relative;
    inset: auto;
    width: 100vw;
    height: auto;
    min-height: auto;
    overflow: visible;
  }
  .artist-detail-page .artist-hero-overlay {
    display: none;
  }
  .artist-detail-page .hero-bg-image,
  .artist-detail-page .artist-bg-image {
    width: 100vw;
    max-width: 100vw;
    height: auto !important;
  }
  .artist-detail-page .artist-hero-content {
    position: static !important;
    inset: auto !important;
    display: block !important;
    padding-top: 1.5rem;
  }
  .artist-detail-page .artist-hero-content .row {
    flex-direction: column;
    align-items: stretch;
  }
  .artist-detail-page .artist-hero-card {
    margin-top: 1rem;
    width: 100%;
  }
}

/* Small devices polish: < 400px width */
@media (max-width: 400px) {
  .artist-detail-page .artist-hero-content .container { padding-left: 12px; padding-right: 12px; }
  .artist-detail-page .artist-hero-card { padding: 12px !important; }
  .artist-detail-page .artist-actions-desktop .btn { padding-left: 0.875rem; padding-right: 0.875rem; }
  .artist-detail-page .artist-hero-card .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .artist-detail-page .stats-floating .col-10 { width: 100%; max-width: 100%; }
  .artist-detail-page .artist-techniques-card { padding: 12px !important; }
}

/* Artwork grid final responsive overrides to win cascade order */
@media (max-width: 991.98px) {
  .artwork-grid > li,
  .artwork-grid .artwork-grid__item { width: 50% !important; }
}
@media (max-width: 575.98px) {
  .artwork-grid > li,
  .artwork-grid .artwork-grid__item { width: 100% !important; }
}

/* Transparent card style for left hero content
   tuned for readability over any background image */
.artist-hero-card {
  position: relative;
  /* subtle brand-tinted translucent layer + light vertical scrim */
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.18) 100%), rgba(16,46,80,0.20);
  color: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
/* Make secondary whites a bit stronger for contrast on mixed backgrounds */
.artist-hero-card .text-white-50 { color: rgba(255,255,255,0.78) !important; }
.artist-hero-card .text-white-75 { color: rgba(255,255,255,0.90) !important; }
/* Strengthen big title legibility slightly */
.artist-hero-card .hero-title { text-shadow: 0 2px 8px rgba(0,0,0,0.45), 0 0 1px rgba(0,0,0,0.35); }

/* Techniques card: match the translucent readable style */
.artist-techniques-card {
  position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.18) 100%), rgba(16,46,80,0.20);
  color: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.artist-techniques-card .text-white-50 { color: rgba(255,255,255,0.78) !important; }
.artist-techniques-card .text-white-75 { color: rgba(255,255,255,0.90) !important; }
/* Keep gradient on hover, overriding generic stat-item hover */
.stats-floating .artist-techniques-card:hover {
  background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.22) 100%), rgba(16,46,80,0.24) !important;
}
.exhibition-hero-fullscreen {
    min-height: 100vh;
    overflow: hidden;
}

.exhibition-image-cover {
    object-fit: cover;
    object-position: center;
}

.exhibition-gradient-bg {
    background: linear-gradient(135deg, var(--ox-blue) 0%, var(--ox-orange) 50%, var(--ox-yellow) 100%);
}

.exhibition-hero-overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.exhibition-hero-z-index {
    z-index: 10;
}

.exhibition-title-font {
    font-family: var(--font-title);
    color: white;
}

.exhibition-description-style {
    font-family: var(--font-subtitle);
    font-style: italic;
    line-height: 1.5;
}


.exhibition-dates-flex {
    min-width: 260px;
    max-width: 100%;
}


.exhibition-artist-link {
    color: rgba(255,255,255,0.85);
    transition: all 0.2s ease;
}

.exhibition-artist-link:hover {
    color: var(--ox-orange);
}

/* Exhibition Mobile Section */
.exhibition-mobile-bg {
    background: var(--ox-beige);
}

.exhibition-mobile-title {
    font-family: var(--font-title);
    color: var(--ox-blue);
}

.exhibition-mobile-date {
    font-family: var(--font-subtitle);
    font-weight: 300;
}

.exhibition-mobile-description {
    font-family: var(--font-subtitle);
    font-style: italic;
    line-height: 1.5;
}

.exhibition-mobile-card {
    max-width: 350px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
}

.exhibition-venue-text {
    font-family: var(--font-subtitle);
}

/* Artist Detail - Section Titles and Container Padding */
.artist-section-title {
    color: var(--ox-blue);
    font-family: var(--font-title);
}

.artist-container-padding {
    padding-left: 3rem;
    padding-right: 3rem;
}

.artist-back-btn {
    border-radius: 2rem;
    padding: 0.75rem 2rem;
}

/* Exhibition Detail - Additional Styles */
.exhibition-guests-card {
    max-width: 400px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
}

.exhibition-guests-title {
    font-family: var(--font-subtitle);
    font-weight: 500;
    color: var(--ox-blue);
}

.exhibition-artist-badge {
    font-size: 0.85rem;
    font-weight: 400;
    border-radius: 2rem;
    transition: all 0.2s ease;
    color: var(--ox-blue) !important;
}

.exhibition-artist-badge:hover {
    background-color: var(--ox-blue) !important;
    color: white !important;
}

.exhibition-guest-badge {
    font-size: 0.85rem;
    font-weight: 400;
    border-radius: 2rem;
}

.exhibition-artworks-bg {
    background: var(--ox-beige);
}

.exhibition-back-btn {
    border-radius: 2rem;
    padding: 0.75rem 2rem;
}
/* Make the back button use ox-blue instead of the global yellow outline */
a.btn.btn-outline-primary.exhibition-back-btn {
    color: var(--ox-blue) !important;
    border-color: var(--ox-blue) !important;
}
a.btn.btn-outline-primary.exhibition-back-btn:hover,
a.btn.btn-outline-primary.exhibition-back-btn:focus,
a.btn.btn-outline-primary.exhibition-back-btn:active {
    background: var(--ox-blue) !important;
    color: #fff !important;
    border-color: var(--ox-blue) !important;
}
/* Ensure the arrow icon follows the button color */
.exhibition-back-btn .fa,
.exhibition-back-btn .fas,
.exhibition-back-btn .fab {
    color: var(--ox-blue) !important;
}
.exhibition-back-btn:hover .fa,
.exhibition-back-btn:hover .fas,
.exhibition-back-btn:hover .fab,
.exhibition-back-btn:focus .fa,
.exhibition-back-btn:focus .fas,
.exhibition-back-btn:focus .fab {
    color: #fff !important;
}

/* Generic back button style (apply to all back buttons) */
.btn.ox-back-btn {
    color: var(--ox-blue) !important;
    border-color: var(--ox-blue) !important;
    background: transparent !important;
    border-radius: 2rem !important;
    padding: 0.75rem 2rem !important;
}
.btn.ox-back-btn:hover,
.btn.ox-back-btn:focus,
.btn.ox-back-btn:active {
    background: var(--ox-blue) !important;
    color: #fff !important;
    border-color: var(--ox-blue) !important;
}
.ox-back-btn .fa,
.ox-back-btn .fas,
.ox-back-btn .fab {
    color: var(--ox-blue) !important;
}
.ox-back-btn:hover .fa,
.ox-back-btn:hover .fas,
.ox-back-btn:hover .fab,
.ox-back-btn:focus .fa,
.ox-back-btn:focus .fas,
.ox-back-btn:focus .fab {
    color: #fff !important;
}
/* Artist mobile section */
.artist-mobile-bg {
  background: var(--ox-beige);
}

.artist-name-mobile {
  font-family: var(--font-title);
  color: var(--ox-blue);
}

.artist-member-since-mobile {
  font-family: var(--font-subtitle);
  font-weight: 300;
}

.artist-bio-mobile {
  font-family: var(--font-subtitle);
  font-style: italic;
  line-height: 1.5;
}

.artist-techniques-card-mobile {
  background: white;
  border-radius: 1rem;
  border: 1px solid #e9ecef;
}

.artist-techniques-label-mobile {
  color: var(--ox-blue);
}

.newsletter-unsubscribed-section {
  background: var(--ox-beige);
}
.newsletter-unsubscribed-heading {
  color: var(--ox-blue);
}

.artist-artworks-bg {
  background: var(--ox-beige);
}

.artist-artworks-title {
  color: var(--ox-blue);
  font-family: var(--font-title);
}
.artist-add-artwork-btn {
  background: var(--ox-blue);
  border-color: var(--ox-blue);
  color: var(--ox-beige);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.artist-add-artwork-btn:hover,
.artist-add-artwork-btn:focus,
.artist-add-artwork-btn:active {
  background: color-mix(in srgb, var(--ox-blue) 92%, black 8%);
  border-color: color-mix(in srgb, var(--ox-blue) 92%, black 8%);
  color: var(--ox-beige);
}
.artist-add-artwork-btn .artist-add-artwork-icon {
  color: var(--ox-blue);
}
.artist-rejected-column {
  display: none;
}

/* ==========================================
  15. LIGHTBOX ZOOM EFFECT
  ========================================== */
:root {
  --overlay-bg: rgba(247,246,239,0.9);
  --close-size: 4.2rem;
}

/* Contenedor de la miniatura */
.art-thumb {
  max-width: 100%;
  margin: 0 auto;
  aspect-ratio: 4/3;
  background: var(--ox-beige);
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.art-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(8px, 2.5vw, 24px);
  cursor: zoom-in;
  transition: transform .2s ease;
}

.art-thumb img:hover {
  transform: scale(1.02);
}

/* Overlay (fullscreen) */
.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--overlay-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility 0s linear .22s;
  z-index: 9999;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .22s ease;
}

.lightbox__inner {
  width: min(95vw, 1600px);
  height: min(90vh, 95dvh);
  display: grid;
  place-items: center;
  transform: scale(.98);
  transition: transform .22s ease;
  padding: 2rem;
}

.lightbox.open .lightbox__inner {
  transform: scale(1);
}

.lightbox__img {
  max-width: 80vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0.8rem;
  box-shadow: 0 2rem 4rem rgba(0,0,0,.15), 0 0.8rem 1.6rem rgba(0,0,0,.1);
}

/* Bot├│n cerrar (X) */
.lightbox__close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: var(--close-size);
  height: var(--close-size);
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.15);
  backdrop-filter: blur(0.8rem);
  -webkit-backdrop-filter: blur(0.8rem);
  color: var(--ox-blue);
  cursor: pointer;
  transition: background .2s ease, transform .08s ease;
  box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,.1);
  min-width: 44px;
  min-height: 44px;
  z-index: 10;
}

.lightbox__close:hover { 
  background: rgba(0,0,0,.25);
  color: var(--ox-red);
}

.lightbox__close:active { 
  transform: scale(.96); 
}

.lightbox__close svg { 
  width: 2.2rem; 
  height: 2.2rem; 
}

/* Ocultar scroll del body al abrir */
body.noscroll { 
  overflow: hidden; 
}

/* Accesibilidad: ocultar texto visual del label para lectores */
.sr-only {
  position: absolute !important;
  width: 1px; 
  height: 1px;
  padding: 0; 
  margin: -1px;
  overflow: hidden; 
  clip: rect(0,0,0,0); 
  white-space: nowrap; 
  border: 0;
}
/* Availability badge overlay for artwork cards */
.artwork-badge { position: absolute; top: .5rem; left: .5rem; z-index: 2; padding: .25rem .5rem; border-radius: .5rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #fff; backdrop-filter: blur(2px); }
.availability-reserved { background: #ff9800; }
.availability-sold { background: #6c757d; }
.availability-not_for_sale { background: #6c757d; }
.availability-on_loan { background: #17a2b8; }
.artwork-badge{pointer-events:none;}
/* --- Favoritos: feedback visual --- */
.artwork-fav-btn {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .1s ease;
  /* Color base usando la marca */
  color: var(--ox-yellow);
  border-color: var(--ox-yellow);
  /* Forzar variables de Bootstrap para evitar rojos en cualquier estado */
  --bs-btn-color: var(--ox-yellow);
  --bs-btn-border-color: var(--ox-yellow);
  --bs-btn-hover-color: #111;
  --bs-btn-hover-bg: var(--ox-yellow);
  --bs-btn-hover-border-color: var(--ox-yellow);
  --bs-btn-focus-shadow-rgb: 255, 205, 0; /* aproximaci├│n del amarillo */
  --bs-btn-active-color: #111;
  --bs-btn-active-bg: var(--ox-yellow);
  --bs-btn-active-border-color: var(--ox-yellow);
  --bs-btn-disabled-color: var(--ox-yellow);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--ox-yellow);
}
.artwork-fav-btn.btn-outline-danger,
.artwork-fav-btn.btn-danger {
  /* Reafirmar variables incluso si Bootstrap aplica variantes danger */
  --bs-btn-color: var(--ox-yellow);
  --bs-btn-border-color: var(--ox-yellow);
  --bs-btn-hover-color: #111;
  --bs-btn-hover-bg: var(--ox-yellow);
  --bs-btn-hover-border-color: var(--ox-yellow);
  --bs-btn-focus-shadow-rgb: 255, 205, 0;
  --bs-btn-active-color: #111;
  --bs-btn-active-bg: var(--ox-yellow);
  --bs-btn-active-border-color: var(--ox-yellow);
}
.artwork-fav-btn:hover,
.artwork-fav-btn:focus {
  color: var(--ox-yellow);
  border-color: var(--ox-yellow);
}
.artwork-fav-btn.favorited,
.artwork-fav-btn.btn-danger {
  /* Forzar el color de marca cuando est├í activo */
  background-color: var(--ox-yellow) !important;
  border-color: var(--ox-yellow) !important;
  color: #111 !important;
  --bs-btn-bg: var(--ox-yellow);
  --bs-btn-color: #111;
}
.artwork-fav-btn.favorited .fa-heart { color: #111 !important; }
.artwork-fav-btn:not(.favorited) .fa-heart { color: var(--ox-yellow) !important; }
.artwork-fav-btn.btn-outline-danger {
  /* Asegurar que el outline use el amarillo de marca */
  color: var(--ox-yellow) !important;
  border-color: var(--ox-yellow) !important;
}
.artwork-fav-btn.favorited:hover {
  filter: brightness(0.97);
}
.artwork-fav-btn:focus,
.artwork-fav-btn:focus-visible {
  box-shadow: 0 0 0 .25rem rgba(255, 205, 0, .35) !important;
}
.artwork-fav-btn .fa-heart.pop {
  animation: heart-pop 260ms ease-in-out;
}
@keyframes heart-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* --- Separador para secci├│n de exposiciones relacionadas --- */
.related-exhibitions-section {
  /* Empuje claro desde la secci├│n anterior */
  margin-top: 4rem; /* m├ís aire que mt-5 */
}

/* --- Artwork detail: stats spacing --- */
.artwork-stats {
  margin-top: 0.75rem;
  margin-bottom: 2rem; /* asegura espacio antes de la siguiente secci├│n */
  position: relative;
  z-index: 1; /* evita que elementos posteriores se dibujen encima por accidente */
}
.artwork-stats.centered-to-button {
  /* actualmente no usamos posicionamiento absoluto; mantenemos en flujo */
}
.related-exhibitions-section {
  clear: both; /* asegura separaci├│n si alg├║n elemento previo flotara */
}

/* --- Back button: ocultar hasta que el layout est├⌐ listo --- */
.artwork-back-section {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}
.artwork-back-section.is-visible {
  opacity: 1;
  transform: none;
}

/* ================= Admin Layout ================= */
.admin-sidebar {
  /* Ancho fijo del sidebar */
  width: 280px;
  flex: 0 0 280px;
  /* Colores marca */
  background: var(--ox-beige);
  color: var(--ox-blue);
  /* Altura independiente del contenido (m├íximo viewport) */
  position: sticky; /* se mantiene visible al hacer scroll */
  top: 0;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto; /* scroll interno si excede */
}
.admin-sidebar .nav-link,
.admin-sidebar .fs-5,
.admin-sidebar a { color: var(--ox-blue); }
.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover {
  background-color: rgba(0,0,0,.06);
  color: var(--ox-blue);
}
.admin-main {
  background: #fff;
}
.admin-artworks-table-wrapper {
  overflow-x: auto;
}
.admin-artworks-table {
  width: 100%;
  table-layout: fixed;
}
.admin-artworks-table th,
.admin-artworks-table td {
  white-space: normal;
  word-break: break-word;
  vertical-align: middle;
}
.admin-artworks-table .artwork-title-cell {
  min-width: 12rem;
}
.admin-artworks-table .btn {
  white-space: nowrap;
}
.related-exhibitions-section > .col-12 {
  padding-top: 1.25rem; /* pt-4 */
  border-top: 1px solid rgba(0,0,0,.08); /* separador sutil alineado al contenido */
  /* Si prefieres toque de marca: */
  /* border-top-color: color-mix(in srgb, var(--ox-yellow) 25%, transparent); */
}

/* ==========================================
  9. ARTWORK GRID CARD TYPOGRAPHY
  ========================================== */
/* Make all card text Montserrat, same size and color.
   Only the artwork title is bold and slightly larger. */
.grid-card-body {
  font-family: 'Montserrat', var(--font-title), Arial, sans-serif;
  color: var(--ox-blue);
}

/* Unify font sizing for all text elements inside the card body */
.grid-card-body,
.grid-card-body .grid-card-info,
.grid-card-body .grid-card-details,
.grid-card-body .grid-card-stats,
.grid-card-body .grid-card-artist,
.grid-card-body .grid-card-price,
.grid-card-body .grid-card-detail-item,
.grid-card-body .grid-card-stat-item {
  font-size: 1.4rem;
  line-height: 1.4;
}

/* Ensure descendant elements inherit Montserrat */
.grid-card-body * { font-family: inherit; }
/* Restore Font Awesome font for icons inside the card */
.grid-card-body .fa,
.grid-card-body .fa-solid,
.grid-card-body .fa-regular,
.grid-card-body .fa-light,
.grid-card-body .fa-thin,
.grid-card-body .fa-duotone {
  font-family: "Font Awesome 6 Free" !important;
}
.grid-card-body .fa-brands { font-family: "Font Awesome 6 Brands" !important; }
/* Preserve appropriate weights */
.grid-card-body .fa-solid { font-weight: 900 !important; }
.grid-card-body .fa-regular { font-weight: 400 !important; }
.grid-card-body .fa-light { font-weight: 300 !important; }
.grid-card-body .fa-thin { font-weight: 100 !important; }

/* Only the title is bold and a bit larger */
.grid-card-title {
  font-family: 'Montserrat', var(--font-title), Arial, sans-serif;
  font-weight: 700;
  font-size: 1.6rem; /* a bit larger than body */
}

/* Normalize headings and other bolds so only title stands out */
.grid-card-body h1,
.grid-card-body h2,
.grid-card-body h3,
.grid-card-body h4:not(.grid-card-title),
.grid-card-body h5,
.grid-card-body h6 { font-weight: 400; font-size: 1.4rem; }

.grid-card-body .grid-card-price .fw-bold { font-weight: 400 !important; }

/* Neutralize special text colors inside the card (keep badges as-is) */
.grid-card-body .text-success { color: inherit !important; }

/* Position availability badge at top-right of stats column */
.grid-card-stats { position: relative; }
.grid-card-stats .grid-card-stat-item:first-child {
  position: absolute;
  top: 0;
  right: 0;
}

/* Home Exhibitions heading highlight and letter reveal */


/* Centered heading and extra spacing between words */


/* Do not animate spaces; give them consistent width */

/* Center the section heading precisely */

/* Ensure footer sticks to bottom inside flex-column body */
.footer { margin-top: auto; }

/* Guests list (artists invited) on exhibition detail */
.exhibition-detail__guests-list {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem; /* row x column */
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.exhibition-detail__guest-item { flex: 1 1 100%; } /* 1 columna en xs */
@media (min-width: 576px) {
  .exhibition-detail__guest-item { flex: 1 1 33.333%; } /* 3 columnas en sm+ */
}
@media (min-width: 992px) {
  .exhibition-detail__guest-item { flex: 1 1 33.333%; } /* mantener 3 columnas */
}

.exhibition-detail__guest-link,
.exhibition-detail__guest-name,
.exhibition-artist-link {
  color: var(--ox-yellow) !important;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .02em;
  transition: color .2s ease, text-shadow .2s ease;
}
.exhibition-detail__guest-link:hover,
.exhibition-detail__guest-link:focus,
.exhibition-artist-link:hover,
.exhibition-artist-link:focus {
  color: #fff !important;
  text-shadow: 0 0 6px rgba(245, 196, 94, 0.6);
}

/* Larger body text in exhibition hero (keep title as-is, and do NOT change yellow links) */
.exhibition-hero-card .exhibition-detail__description {
  font-size: 1.6rem;
  line-height: 1.9;
}
@media (min-width: 992px) {
  .exhibition-hero-card .exhibition-detail__description { font-size: 1.8rem; line-height: 2.1; }
}

/* Labels and values (Fechas/Lugar) a bit larger */
.exhibition-hero-card .row.g-4 .small { font-size: 1.2rem; }
.exhibition-hero-card .row.g-4 .h6   { font-size: 1.6rem; }

/* Guests label a bit larger (links keep their own sizing/color) */
.exhibition-hero-card .exhibition-detail__guests-label { font-size: 1.3rem; }

/* Home: hide old gallery wall block on home */
.gallery-wall-section { display: none !important; }

/* Home exhibitions typography and image sizing */


/* Home exhibitions heading display and style */

.account-tab-pane--profile,
.account-tab-pane--photo,
.account-tab-pane--password {
  position: relative;
}

/* Navbar: CTA "Vender mi arte" */
.navbar .nav-link-artist-cta {
  background: var(--ox-yellow);
  color: var(--ox-blue);
  border-radius: 2rem;
  padding: .6rem 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}
.navbar .nav-link-artist-cta:hover,
.navbar .nav-link-artist-cta:focus {
  background: var(--ox-orange);
  color: var(--ox-beige);
}

/* ==========================================
  ACTIVITY PAGE: INLINE ROWS
  ========================================== */
.activity-max { max-width: 1000px; margin-left: auto; margin-right: auto; }
.activity-inline-grid ul.artwork-grid { display: flex; gap: 1rem; flex-wrap: nowrap; list-style: none; padding-left: 0; margin: 0; overflow-x: auto; }
.activity-inline-grid ul.artwork-grid > li { flex: 1 1 calc((100% - 2rem) / 3); max-width: calc((100% - 2rem) / 3); }

.activity-inline-artists { display: flex; gap: 1rem; flex-wrap: nowrap; overflow-x: auto; align-items: center; }
.activity-inline-artists .artist-card { flex: 1 1 calc((100% - 4rem) / 5); max-width: calc((100% - 4rem) / 5); text-align: center; }

.activity-inline-exhibitions { display: flex; gap: 1rem; flex-wrap: nowrap; overflow-x: auto; }
.activity-exhibition-card { flex: 1 1 calc((100% - 2rem) / 3); max-width: calc((100% - 2rem) / 3); border: 1px solid rgba(0,0,0,0.15); border-radius: 12px; overflow: hidden; background: #fff; color: inherit; }
.activity-exhibition-img { display: block; width: 100%; height: 160px; object-fit: cover; background: #EEE; }
.activity-exhibition-placeholder { display: flex; align-items: center; justify-content: center; color: #666; height: 160px; }
.activity-exhibition-title { padding: 0.75rem 0.9rem; font-weight: 600; font-size: 0.95rem; line-height: 1.2; }

  @media (max-width: 992px) {
    .activity-max { max-width: 100%; }
    .activity-inline-grid ul.artwork-grid > li { flex-basis: 45%; max-width: 45%; }
    .activity-inline-artists .artist-card { flex-basis: 30%; max-width: 30%; }
    .activity-exhibition-card { flex-basis: 60%; max-width: 60%; }
  }

  /* Hide scrollbars on activity rows (keep scrollability) */
  .activity-inline-grid ul.artwork-grid,
  .activity-inline-artists,
  .activity-inline-exhibitions {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none;    /* Firefox */
  }
  .activity-inline-grid ul.artwork-grid::-webkit-scrollbar,
  .activity-inline-artists::-webkit-scrollbar,
  .activity-inline-exhibitions::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

/* --- Auth Required Modal: icon color --- */
.auth-required-modal .modal-header .fas,
.auth-required-modal .modal-header .far,
.auth-required-modal .modal-body .fas,
.auth-required-modal .modal-body .far,
.auth-required-modal .modal-footer .fas,
.auth-required-modal .modal-footer .far {
  color: var(--ox-blue) !important;
}

.login-forgot-page { color: var(--ox-blue) !important; font-family: var(--font-title); font-size: 1.4rem; }

/* Artist panel: hide draft submit button */
#artistDraftsList .btn.btn-primary {
  display: none !important;
}

/* Soft inline toast for artist panel / wizard */
.artist-soft-toast {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  background: rgba(16, 46, 80, 0.06);
  color: var(--ox-blue);
}
.artist-soft-toast-success {
  background: rgba(25, 135, 84, 0.08);
  color: #198754;
}

/* Mostrar saltos manuales en descripciones de obras y exposiciones */
.artwork-description,
.exhibition-description-style,
.exhibition-detail__description {
  white-space: pre-line;
}

/* Social links in artist detail hero */
.artist-social-link,
.artist-social-link i {
  color: #fff !important;
}
.artist-social-link:hover,
.artist-social-link:focus {
  color: #fff !important;
  text-decoration: underline;
}

.artwork-detail__info,
.artwork-detail__info * {
  word-break: break-word;
  overflow-wrap: anywhere;
}
.artwork-detail__artist-avatar {
  object-fit: cover;
}

.artwork-detail__title {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Exhibition card link: make entire hero tappable */


/* Password revealer */
.ox-password-reveal {
  position: relative;
}
.ox-password-reveal .form-control {
  padding-right: 3rem;
}
.ox-password-reveal-toggle {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  border: 0;
  background: transparent;
  color: #6c757d;
  cursor: pointer;
}
.ox-password-reveal-toggle:hover,
.ox-password-reveal-toggle:focus {
  color: #111;
}
.ox-password-reveal-toggle:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}
.ox-password-reveal-icon {
  font-size: 1rem;
  line-height: 1;
}

/* ---------- Selector de idioma ES | EN ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}
.lang-switch__link {
  color: var(--ox-blue);
  opacity: .55;
  text-decoration: none;
  padding: 2px 3px;
  border-bottom: 2px solid transparent;
}
.lang-switch__link:hover,
.lang-switch__link:focus-visible { opacity: 1; }
.lang-switch__link.is-active {
  opacity: 1;
  border-bottom-color: var(--ox-yellow);
}
.lang-switch__sep { color: var(--ox-blue); opacity: .35; }
.lang-switch--floating {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 1030;
  background: rgba(247, 246, 239, .9);
  border-radius: 999px;
  padding: 5px 11px;
  box-shadow: 0 1px 4px rgba(16, 46, 80, .12);
}

/* =========================================================
   Home hero: "the canvas paints itself" (public/js/home-hero.js)
   ========================================================= */
.ox-hero {
  --ox-ink: 9, 22, 40;
  position: relative;
  height: calc(100svh - 7rem);
  min-height: 56rem;
  max-height: 100rem;
  margin-top: -2.2rem; /* sit flush under the navbar */
  overflow: hidden;
  color: #fff;
  background: #efe9dc;
  isolation: isolate;
}
.ox-hero__stage { position: absolute; inset: 0; z-index: 0; }
/* blank canvas look while it paints */
.ox-hero__stage::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(120, 100, 70, .045) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120, 100, 70, .035) 0 1px, transparent 1px 3px),
    #f1ece1;
}
.ox-hero__paint, .ox-hero__brush, .ox-hero__img, .ox-hero__veil {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.ox-hero__paint { z-index: 1; }
.ox-hero__img {
  z-index: 2; display: block;
  object-fit: cover; object-position: 50% 45%; /* keep in sync with POS_Y in home-hero.js */
  transition: opacity 1.4s ease, transform 12s cubic-bezier(.2, .6, .2, 1);
  transform: scale(1.02);
}
.ox-hero__brush { z-index: 3; pointer-events: none; }
.ox-hero__veil {
  z-index: 4; pointer-events: none;
  /* light: the ox should be seen first */
  background:
    linear-gradient(90deg, rgba(var(--ox-ink), .58) 0%, rgba(var(--ox-ink), .30) 28%, rgba(var(--ox-ink), 0) 52%),
    linear-gradient(0deg, rgba(var(--ox-ink), .38) 0%, rgba(var(--ox-ink), 0) 32%),
    linear-gradient(180deg, rgba(var(--ox-ink), .32) 0%, rgba(var(--ox-ink), 0) 18%);
  transition: opacity 2.4s ease;
}
.ox-hero.is-painting .ox-hero__img { opacity: 0; }
.ox-hero.is-painting .ox-hero__veil { opacity: 0; }
.ox-hero.is-painted .ox-hero__img { opacity: 1; transform: scale(1); }
.ox-hero.is-ready .ox-hero__veil { opacity: 1; }

/* ---- text ---- */
.ox-hero__content {
  position: absolute; z-index: 5;
  left: clamp(2.4rem, 6.5vw, 10rem);
  bottom: clamp(7rem, 13vh, 13rem);
  max-width: 64rem;
  pointer-events: none;
}
.ox-hero__content a { pointer-events: auto; }
.ox-hero__eyebrow {
  display: flex; align-items: center; gap: 1.4rem;
  margin: 0 0 2.4rem;
  font-family: var(--font-title);
  font-size: 1.2rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--ox-yellow);
}
.ox-hero__eyebrow::before { content: ''; width: 4.2rem; height: 1px; background: currentColor; opacity: .8; }
.ox-hero__eyebrow--top {
  position: absolute; z-index: 5; margin: 0;
  top: clamp(2.4rem, 5vh, 4.8rem);
  left: clamp(2.4rem, 6.5vw, 10rem);
  text-shadow: 0 1px 10px rgba(var(--ox-ink), .55);
}
.ox-hero__title {
  margin: 0 0 2.6rem;
  font-family: var(--font-subtitle);
  font-weight: 400;
  font-size: clamp(4.4rem, 5.8vw, 8.8rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(var(--ox-ink), .35);
}
.ox-hero__line { display: block; }
.ox-hero__line + .ox-hero__line { font-style: italic; padding-left: .9em; }
.ox-hero__actions { display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; }
.ox-hero__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 5rem; padding: 0 3rem;
  font-family: var(--font-title);
  font-size: 1.25rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, transform .35s ease;
}
.ox-hero__btn:hover, .ox-hero__btn:focus-visible { transform: translateY(-2px); }
.ox-hero__btn--primary { background: var(--ox-yellow); color: var(--ox-blue); }
.ox-hero__btn--primary:hover, .ox-hero__btn--primary:focus-visible { background: #fff; color: var(--ox-blue); }

/* text arrives slowly, once the painting is done (is-ready is set near the end) */
.ox-hero.is-painting .ox-hero__eyebrow,
.ox-hero.is-painting .ox-hero__line,
.ox-hero.is-painting .ox-hero__actions { opacity: 0; transform: translateY(1.2rem); }
.ox-hero__eyebrow, .ox-hero__line, .ox-hero__actions {
  transition: opacity 2s cubic-bezier(.33, 0, .2, 1), transform 2.6s cubic-bezier(.16, .84, .24, 1);
}
.ox-hero.is-ready .ox-hero__eyebrow,
.ox-hero.is-ready .ox-hero__line,
.ox-hero.is-ready .ox-hero__actions { opacity: 1; transform: none; }
.ox-hero.is-ready .ox-hero__eyebrow { transition-delay: .9s; }
.ox-hero.is-ready .ox-hero__line:nth-child(1) { transition-delay: 1.4s; }
.ox-hero.is-ready .ox-hero__line:nth-child(2) { transition-delay: 2.1s; }
.ox-hero.is-ready .ox-hero__actions { transition-delay: 3s; }

/* ---- brush hint + scroll cue ---- */
.ox-hero__hint {
  position: absolute; z-index: 5; right: clamp(2.4rem, 4vw, 5rem); bottom: 3.6rem;
  display: flex; align-items: center; gap: 1rem;
  margin: 0;
  font-family: var(--font-title); font-size: 1.15rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 10px rgba(var(--ox-ink), .6);
  opacity: 0; transform: translateY(.8rem);
  transition: opacity .8s ease, transform .8s ease;
  pointer-events: none;
}
.ox-hero.has-brush .ox-hero__hint { opacity: 1; transform: none; }
.ox-hero.has-brush .ox-hero__hint.is-hidden { opacity: 0; }
.ox-hero__hint-touch { display: none; }
.ox-hero.is-touch .ox-hero__hint-mouse { display: none; }
.ox-hero.is-touch .ox-hero__hint-touch { display: inline; }
.ox-hero__hint-dot {
  width: .9rem; height: .9rem; border-radius: 50%;
  background: var(--ox-yellow);
  box-shadow: 0 0 0 0 rgba(245, 196, 94, .6);
  animation: oxHeroPulse 1.8s ease-out infinite;
}
@keyframes oxHeroPulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 196, 94, .6); }
  100% { box-shadow: 0 0 0 1.4rem rgba(245, 196, 94, 0); }
}
.ox-hero__scroll {
  position: absolute; z-index: 5; left: 50%; bottom: 2.4rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  font-family: var(--font-title); font-size: 1.05rem; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
  color: rgba(255, 255, 255, .85);
  opacity: 0; transition: opacity 1s ease 1s;
}
.ox-hero.is-painted .ox-hero__scroll, .ox-hero:not(.is-painting) .ox-hero__scroll { opacity: 1; }
.ox-hero__scroll:hover { color: #fff; }
.ox-hero__scroll-line {
  position: relative; width: 1px; height: 4.4rem; overflow: hidden;
  background: rgba(255, 255, 255, .25);
}
.ox-hero__scroll-line::after {
  content: ''; position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: #fff;
  animation: oxHeroScroll 2.2s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes oxHeroScroll { 0% { top: -40%; } 100% { top: 100%; } }

/* ---- small screens: text over the bottom of the painting ---- */
@media (max-width: 767.98px) {
  .ox-hero { height: 88svh; min-height: 52rem; }
  .ox-hero__img { object-position: 50% 30%; }
  .ox-hero__veil {
    background:
      linear-gradient(0deg, rgba(var(--ox-ink), .82) 0%, rgba(var(--ox-ink), .45) 34%, rgba(var(--ox-ink), 0) 58%),
      linear-gradient(180deg, rgba(var(--ox-ink), .4) 0%, rgba(var(--ox-ink), 0) 16%);
  }
  .ox-hero__content { left: 2.2rem; right: 2.2rem; bottom: 7.2rem; }
  .ox-hero__eyebrow { margin-bottom: 1.6rem; font-size: 1.05rem; }
  .ox-hero__eyebrow--top { top: 2.2rem; left: 2.2rem; }
  .ox-hero__title { font-size: clamp(3.6rem, 10.5vw, 5rem); margin-bottom: 1.8rem; }
  .ox-hero__btn { min-height: 4.6rem; padding: 0 2.2rem; font-size: 1.15rem; }
  .ox-hero__hint { display: none; }
  /* phones: one hint, bottom right, instead of the centered scroll cue */
  .ox-hero.is-touch .ox-hero__hint { display: flex; bottom: 2.4rem; right: 2.2rem; font-size: 1.05rem; }
  .ox-hero.is-touch .ox-hero__scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ox-hero__img, .ox-hero__veil, .ox-hero__eyebrow, .ox-hero__line, .ox-hero__actions, .ox-hero__scroll { transition: none !important; }
  .ox-hero__hint-dot, .ox-hero__scroll-line::after { animation: none; }
}

/* the hero is rendered in is-painting state; if the script never starts,
   show the painting anyway after a few seconds */
.ox-hero.is-painting:not(.is-started):not(.is-painted) .ox-hero__img,
.ox-hero.is-painting:not(.is-started):not(.is-painted) .ox-hero__veil,
.ox-hero.is-painting:not(.is-started):not(.is-painted) .ox-hero__eyebrow,
.ox-hero.is-painting:not(.is-started):not(.is-painted) .ox-hero__line,
.ox-hero.is-painting:not(.is-started):not(.is-painted) .ox-hero__actions {
  animation: oxHeroFallback .8s ease 7s forwards;
}
@keyframes oxHeroFallback { to { opacity: 1; transform: none; } }

/* =========================================================
   Home "La sala": exhibition as a gallery room (public/js/home-sala.js)
   ========================================================= */
.ox-sala {
  --wall: #0c1d31;
  --chalk: #f7f6ef;
  --pad: clamp(2.4rem, 6.5vw, 10rem);
  --frame-h: clamp(26rem, 30vw, 42rem);
  position: relative;
  padding: clamp(8rem, 11vw, 14rem) 0 clamp(7rem, 9vw, 11rem);
  color: var(--chalk);
  background:
    radial-gradient(120rem 60rem at 70% -10%, rgba(255, 226, 170, .06), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 2px, transparent 2px 5px),
    var(--wall);
  overflow: hidden;
}
.ox-sala__inner { max-width: 150rem; margin: 0 auto; }
.ox-sala__head {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 4rem 8rem; align-items: end;
  padding: 0 var(--pad);
}
.ox-sala__eyebrow {
  display: flex; align-items: center; gap: 1.2rem; margin: 0 0 2.6rem;
  font-family: var(--font-title); font-size: 1.2rem; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase; color: var(--ox-yellow);
}
.ox-sala__status-dot {
  width: .8rem; height: .8rem; border-radius: 50%; background: var(--ox-yellow);
  animation: oxHeroPulse 2.2s ease-out infinite;
}
.ox-sala__title {
  margin: 0 0 2.6rem;
  font-family: var(--font-subtitle); font-weight: 400;
  font-size: clamp(4.6rem, 6.4vw, 9.6rem); line-height: .98; letter-spacing: -.015em;
  color: var(--chalk);
}
.ox-sala__desc {
  max-width: 60rem; margin: 0 0 3.2rem;
  font-family: var(--font-title); font-size: 1.7rem; line-height: 1.7;
  color: rgba(247, 246, 239, .72);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.ox-sala__cta {
  display: inline-flex; align-items: center; gap: 1.2rem; padding-bottom: .8rem;
  font-family: var(--font-title); font-size: 1.25rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--ox-yellow); border-bottom: 1px solid rgba(245, 196, 94, .5);
  transition: color .3s ease, border-color .3s ease;
}
.ox-sala__cta svg { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.ox-sala__cta:hover, .ox-sala__cta:focus-visible { color: var(--chalk); border-color: var(--chalk); }
.ox-sala__cta:hover svg, .ox-sala__cta:focus-visible svg { transform: translateX(.6rem); }

/* museum label */
.ox-sala__label { margin: 0; border-top: 1px solid rgba(247, 246, 239, .28); }
.ox-sala__label-row {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 2rem; align-items: baseline;
  padding: 1.5rem 0; border-bottom: 1px solid rgba(247, 246, 239, .12);
}
.ox-sala__label dt {
  font-family: var(--font-title); font-size: 1.1rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: rgba(247, 246, 239, .5);
}
.ox-sala__label dd {
  margin: 0; font-family: var(--font-subtitle); font-style: italic;
  font-size: 2rem; line-height: 1.3; color: var(--chalk);
}

/* the wall */
.ox-sala__wall-wrap { position: relative; margin-top: clamp(5rem, 7vw, 9rem); }
.ox-sala__wall-wrap::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(46rem circle at var(--mx, 50%) var(--my, 50%), rgba(255, 222, 165, .11), transparent 62%);
  opacity: 0; transition: opacity .6s ease;
}
.ox-sala__wall-wrap.has-light::before { opacity: 1; }
.ox-sala__wall {
  position: relative; z-index: 1;
  display: flex; align-items: flex-start; gap: clamp(4.4rem, 6vw, 9rem);
  overflow-x: auto; overscroll-behavior-x: contain;
  padding: 7rem var(--pad) 2rem;
  scrollbar-width: none; cursor: grab;
}
.ox-sala__wall::-webkit-scrollbar { display: none; }
.ox-sala__wall.is-dragging { cursor: grabbing; }
.ox-sala__wall.is-dragging .ox-sala__frame { pointer-events: none; }
.ox-sala__wall:focus-visible { outline: 1px dashed rgba(247, 246, 239, .5); outline-offset: -1rem; }
.ox-sala__piece { position: relative; flex: 0 0 auto; margin: 0; }

/* spotlight: a lamp above each work and a soft cone of light */
.ox-sala__light {
  position: absolute; left: 50%; top: -6.6rem; z-index: -1;
  width: 150%; height: calc(100% + 9rem); transform: translateX(-50%);
  /* a soft cone that opens downward from the lamp (2.4rem from the top) */
  background: conic-gradient(from 0deg at 50% 2.4rem,
    transparent 0deg 146deg, rgba(255, 232, 190, .13) 163deg, rgba(255, 232, 190, .24) 180deg,
    rgba(255, 232, 190, .13) 197deg, transparent 214deg 360deg);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 2.3rem, #000 3.4rem, #000 50%, transparent 96%);
          mask-image: linear-gradient(to bottom, transparent 0, transparent 2.3rem, #000 3.4rem, #000 50%, transparent 96%);
  pointer-events: none;
  transition: opacity 1.4s ease;
}
.ox-sala__lamp {
  position: absolute; left: 50%; top: -4.2rem; z-index: 0; width: 2.2rem; height: .7rem;
  transform: translateX(-50%); border-radius: .2rem .2rem .9rem .9rem;
  background: #2b2822;
  transition: background-color .6s ease, box-shadow .8s ease;
  pointer-events: none;
}
.ox-sala__piece.is-lit .ox-sala__lamp, .ox-sala:not(.is-dark) .ox-sala__lamp {
  background: #fff3d6; box-shadow: 0 .4rem 2.2rem .6rem rgba(255, 232, 190, .45);
}

.ox-sala__frame {
  position: relative; display: block; text-decoration: none;
  padding: .9rem;
  background: linear-gradient(145deg, #2a2722, #111 55%, #1f1c18);
  box-shadow: 0 3rem 5rem -2.4rem rgba(0, 0, 0, .75), 0 0 0 1px rgba(0, 0, 0, .5);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter 1.2s ease, box-shadow .6s ease;
}
.ox-sala__frame:hover, .ox-sala__frame:focus-visible { transform: translateY(-.6rem); box-shadow: 0 4rem 6rem -2.4rem rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .5); }
.ox-sala__mat {
  display: block; padding: clamp(1.6rem, 2vw, 2.8rem);
  background: #f4f1ea;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), inset 0 .3rem .8rem rgba(0, 0, 0, .12);
}
.ox-sala__canvas {
  position: relative; display: block; overflow: hidden;
  height: var(--frame-h); width: calc(var(--frame-h) * var(--ar, 1.25));
  max-width: 78vw;
  background: #ebe6da;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}
.ox-sala__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; object-fit: cover;
  transition: opacity 1.6s ease, transform 2.4s cubic-bezier(.16, .84, .24, 1);
}

.ox-sala__caption {
  display: flex; flex-direction: column; gap: .5rem; max-width: 36rem;
  margin-top: 2.4rem; padding-left: .2rem;
  transition: opacity 1.2s ease;
}
.ox-sala__piece-title { font-family: var(--font-subtitle); font-style: italic; font-size: 2.1rem; line-height: 1.25; color: var(--chalk); }
.ox-sala__piece-meta { font-family: var(--font-title); font-size: 1.3rem; color: rgba(247, 246, 239, .6); }
.ox-sala__piece-status {
  margin-top: .4rem; font-family: var(--font-title); font-size: 1.05rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 246, 239, .45);
}
.ox-sala__piece-status.is-available { color: var(--ox-yellow); }

/* opening night: dark until the lights switch on */
.ox-sala.is-dark .ox-sala__piece:not(.is-lit) .ox-sala__light { opacity: 0; }
.ox-sala.is-dark .ox-sala__piece:not(.is-lit) .ox-sala__frame { filter: brightness(.16) saturate(.4); }
.ox-sala.is-dark .ox-sala__piece:not(.is-lit) .ox-sala__caption { opacity: .15; }
.ox-sala.is-dark .ox-sala__piece:not(.is-shown) .ox-sala__img { opacity: 0; transform: scale(1.04); }
.ox-sala__piece.is-lit .ox-sala__light { animation: oxSalaFlicker 1.1s steps(1, end) 1; }
@keyframes oxSalaFlicker {
  0% { opacity: .2; } 12% { opacity: .9; } 18% { opacity: .35; } 30% { opacity: 1; } 100% { opacity: 1; }
}
.ox-sala__head { transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.16, .84, .24, 1); }
.ox-sala.is-dark .ox-sala__head { opacity: 0; transform: translateY(2.4rem); }
.ox-sala.is-dark.is-lit .ox-sala__head { opacity: 1; transform: none; }

/* controls */
.ox-sala__controls { display: flex; align-items: center; gap: 2rem; margin-top: 3.4rem; padding: 0 var(--pad); }
.ox-sala__controls.is-hidden { display: none; }
.ox-sala__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 4.8rem; height: 4.8rem; border-radius: 50%;
  border: 1px solid rgba(247, 246, 239, .35); background: transparent; color: var(--chalk);
  cursor: pointer; transition: background-color .3s ease, color .3s ease, opacity .3s ease;
}
.ox-sala__arrow:hover:not(:disabled), .ox-sala__arrow:focus-visible { background: var(--chalk); color: var(--ox-blue); }
.ox-sala__arrow:disabled { opacity: .28; cursor: default; }
.ox-sala__progress { position: relative; width: 16rem; height: 1px; background: rgba(247, 246, 239, .2); overflow: hidden; }
.ox-sala__progress-bar {
  position: absolute; inset: 0; background: var(--ox-yellow);
  transform-origin: left center; transform: scaleX(.08); transition: transform .25s ease;
}

/* cover fallback + other exhibitions */
.ox-sala__cover { display: block; margin: clamp(5rem, 7vw, 9rem) var(--pad) 0; }
.ox-sala__cover img { display: block; width: 100%; max-height: 64rem; object-fit: cover; }
.ox-sala__more { margin: clamp(5rem, 7vw, 8rem) var(--pad) 0; padding-top: 2.6rem; border-top: 1px solid rgba(247, 246, 239, .14); }
.ox-sala__more-title {
  margin: 0 0 2rem; font-family: var(--font-title); font-size: 1.1rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; color: rgba(247, 246, 239, .5);
}
.ox-sala__more-list { display: flex; flex-wrap: wrap; gap: 2rem 5rem; margin: 0; padding: 0; list-style: none; }
.ox-sala__more-item { display: flex; align-items: center; gap: 1.6rem; color: var(--chalk); text-decoration: none; }
.ox-sala__more-item img { width: 8rem; height: 8rem; object-fit: cover; filter: saturate(.85); transition: filter .3s ease; }
.ox-sala__more-item:hover img { filter: saturate(1.1); }
.ox-sala__more-text { display: flex; flex-direction: column; gap: .3rem; }
.ox-sala__more-name { font-family: var(--font-subtitle); font-style: italic; font-size: 2rem; }
.ox-sala__more-dates { font-family: var(--font-title); font-size: 1.25rem; color: rgba(247, 246, 239, .55); }

@media (max-width: 991.98px) {
  .ox-sala__head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767.98px) {
  .ox-sala { --frame-h: clamp(22rem, 58vw, 30rem); }
  .ox-sala__wall { gap: 3.6rem; padding-top: 5.6rem; }
  .ox-sala__label dd { font-size: 1.8rem; }
  .ox-sala__desc { font-size: 1.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ox-sala *, .ox-sala *::before { animation: none !important; transition: none !important; }
}

/* ==========================================
  HOME · Coleccionistas (ox-collect)
  ========================================== */
.ox-collect {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  min-height: 64rem;
  background: var(--ox-beige);
  color: var(--ox-blue);
}
.ox-collect__art { position: relative; overflow: hidden; min-height: 36rem; background: #efe9dc; /* blank canvas before the brush strokes */ }
.ox-collect__art picture, .ox-collect__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.ox-collect__img { object-fit: cover; object-position: 50% 40%; transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }
.ox-collect:hover .ox-collect__img { transform: scale(1.025); }
.ox-collect__body {
  align-self: center; justify-self: center;
  padding: clamp(5rem, 8vw, 11rem) clamp(2.4rem, 6vw, 10rem);
  max-width: 60rem;
}
/* a thin ink rule above the title, the only ornament */
.ox-collect__body::before {
  content: ''; display: block; width: 1px; height: 6.4rem; margin: 0 0 3.2rem;
  background: var(--ox-orange); transform-origin: top center;
}
.ox-collect__title {
  margin: 0;
  font-family: var(--font-subtitle); font-weight: 400;
  font-size: clamp(4.4rem, 5vw, 7.6rem); line-height: 1.02; letter-spacing: -.02em;
  color: var(--ox-blue);
}
.ox-collect__line { display: block; }
.ox-collect__line + .ox-collect__line { font-style: italic; padding-left: .9em; color: var(--ox-orange); }
.ox-collect__actions { margin-top: 4.8rem; }
.ox-collect .ox-hero__btn--primary:hover, .ox-collect .ox-hero__btn--primary:focus-visible { background: var(--ox-blue); color: #fff; }
@media (max-width: 991.98px) {
  .ox-collect { grid-template-columns: 1fr; min-height: 0; }
  .ox-collect__art { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ==========================================
  HOME · Coleccionistas: brochazos + entrada del texto (public/js/home-collect.js)
  ========================================== */
.ox-collect__art picture { z-index: 2; }
.ox-collect__canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.ox-collect.is-armed .ox-collect__img { opacity: 0; }
.ox-collect.is-painted .ox-collect__img {
  opacity: 1;
  transition: opacity 1.2s ease, transform 1.6s cubic-bezier(.2,.7,.2,1);
}

.ox-collect.is-armed .ox-collect__line,
.ox-collect.is-armed .ox-collect__actions {
  opacity: 0; transform: translateY(1.6rem);
  transition: opacity 1.4s cubic-bezier(.33, 0, .2, 1), transform 1.8s cubic-bezier(.16, .84, .24, 1);
}
.ox-collect.is-armed .ox-collect__body::before {
  transform: scaleY(0);
  transition: transform 1.2s cubic-bezier(.65, 0, .35, 1) .4s;
}
.ox-collect.is-in .ox-collect__line,
.ox-collect.is-in .ox-collect__actions { opacity: 1; transform: none; }
.ox-collect.is-in .ox-collect__body::before { transform: none; }
.ox-collect.is-in .ox-collect__line:nth-child(1) { transition-delay: 1s; }
.ox-collect.is-in .ox-collect__line:nth-child(2) { transition-delay: 1.5s; }
.ox-collect.is-in .ox-collect__actions { transition-delay: 2.2s; }

/* Home: secciones pegadas (sin franjas sueltas antes del footer) */
body:has(.ox-collect) .footer { margin-top: 0 !important; }
.ox-sala + .ox-collect { margin-top: 0; }

/* ==========================================
  FOOTER (ox-footer)
  ========================================== */
.ox-footer { margin-top: 0; }
.ox-footer__inner { max-width: 1440px; margin: 0 auto; padding: 7rem clamp(2.4rem, 5vw, 6rem) 0; }
.ox-footer__top {
  display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 4rem; padding-bottom: 5.6rem;
}
.ox-footer__logo { display: inline-flex; align-items: center; gap: 1.2rem; text-decoration: none; }
.ox-footer__logo img { width: 4rem; height: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer .ox-footer__name {
  font-family: var(--font-title); font-weight: 700; font-size: 1.5rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ox-beige);
}
.footer .ox-footer__quote {
  margin: 2.4rem 0 .8rem; max-width: 44rem;
  font-family: var(--font-subtitle); font-style: italic; font-size: 2.6rem; line-height: 1.2;
  color: var(--ox-beige) !important;
}
.footer .ox-footer__place { margin: 0; font-size: 1.4rem; color: rgba(247, 246, 239, .6) !important; }
.ox-footer__heading {
  margin: .6rem 0 2rem;
  font-family: var(--font-title); font-size: 1.15rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--ox-yellow);
}
.ox-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.footer .ox-footer__col a {
  font-size: 1.55rem !important; color: rgba(247, 246, 239, .85) !important;
  transition: color .25s ease;
}
.footer .ox-footer__col a:hover, .footer .ox-footer__col a:focus-visible { color: var(--ox-yellow) !important; }
.ox-footer__col .fa-instagram { margin-right: .4rem; }
.ox-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2.4rem;
  padding: 2.4rem 0 3rem;
  border-top: 1px solid rgba(247, 246, 239, .16);
}
.footer .ox-footer__bottom p { margin: 0; font-size: 1.3rem; color: rgba(247, 246, 239, .6) !important; }
@media (max-width: 767.98px) {
  .ox-footer__inner { padding-top: 5.6rem; }
  .ox-footer__top { grid-template-columns: 1fr 1fr; gap: 3.6rem 2.4rem; padding-bottom: 4rem; }
  .ox-footer__brand { grid-column: 1 / -1; }
  .ox-footer__bottom { justify-content: center; text-align: center; }
}

/* Navbar en computadoras medianas (992–1399px): todo visible sin hamburguesa */
@media (min-width: 992px) and (max-width: 1399.98px) {
  #navbarsExample05 form[role="search"] .searchbar-input { width: 18rem; height: 3.8rem; font-size: 1.45rem; }
  .main-navbar .navbar-links { align-items: center; }
  .main-navbar .navbar-links .nav-link { padding-left: .4rem; padding-right: .4rem; font-size: 1.35rem; white-space: nowrap; }
  .main-navbar .navbar-links .nav-link.me-lg-3 { margin-right: 1.2rem !important; }
  .main-navbar .navbar-title { font-size: 1.4rem; letter-spacing: .08em; }
}
@media (min-width: 992px) {
  .main-navbar .navbar-toggler { display: none; }
  .main-navbar .navbar-icons { margin-left: 2rem; padding-left: 2rem; border-left: 1px solid rgba(16, 46, 80, .15); }
}

