/**
 * VELORA Fashion - Editorial Lookbook & Lightbox
 * Color Palette: Near Black (#171717), Warm Ivory (#F5F0E8), Muted Burgundy (#7A2435), Soft Taupe (#B8AA9C)
 */

/* ==========================================================================
   Page Header & Category Filters
   ========================================================================== */
.velora-lookbook-page .velora-page-header {
  padding-top: clamp(24px, 3.5vw, 42px);
  padding-bottom: clamp(16px, 2.5vw, 24px);
}

.velora-lookbook-page .velora-page-title {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
}

.velora-lookbook-page .velora-page-sub {
  font-size: clamp(0.82rem, 1.1vw, 0.92rem);
  max-width: 560px;
  margin: 0 auto;
}

.velora-lookbook-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

@media (max-width: 767px) {
  .velora-lookbook-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 12px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .velora-lookbook-filters::-webkit-scrollbar {
    display: none;
  }
}

.velora-filter-btn {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid var(--velora-gray-300);
  background-color: transparent;
  color: var(--velora-gray-700);
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.velora-filter-btn:hover {
  border-color: var(--velora-burgundy);
  color: var(--velora-burgundy);
}

.velora-filter-btn.is-active {
  background-color: var(--velora-black);
  color: var(--velora-ivory);
  border-color: var(--velora-black);
  box-shadow: 0 2px 10px rgba(23, 23, 23, 0.15);
}

/* ==========================================================================
   Editorial Lookbook Grid
   ========================================================================== */
.velora-lookbook-grid-section {
  padding-top: 16px;
  padding-bottom: clamp(40px, 6vw, 72px);
}

.velora-lookbook-masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.5vw, 28px);
  max-width: 1140px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .velora-lookbook-masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    align-items: stretch;
  }

  /* Look 03: Dramatic Full-Width Editorial Spotlight */
  .velora-look--wide {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Individual Look Card
   ========================================================================== */
.velora-look-item {
  background-color: #FFFFFF;
  border: 1px solid var(--velora-gray-200);
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(23, 23, 23, 0.04);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.velora-look-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(23, 23, 23, 0.08);
}

/* Card Media Container */
.velora-look-item__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  max-height: 400px;
  overflow: hidden;
  background-color: var(--velora-gray-200);
}

@media (max-width: 600px) {
  .velora-look-item__media {
    aspect-ratio: 4 / 4.4;
    max-height: 300px;
  }
}

.velora-look-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.velora-look-item:hover .velora-look-item__media img {
  transform: scale(1.03);
}

/* Look Number Badge */
.velora-look-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(23, 23, 23, 0.8);
  backdrop-filter: blur(8px);
  color: var(--velora-ivory);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
}

/* Hover Overlay & Lightbox Trigger */
.velora-look-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-smooth);
  z-index: 3;
}

.velora-look-item:hover .velora-look-item__overlay {
  opacity: 1;
}

.velora-look-lightbox-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.94);
  color: var(--velora-black);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.velora-look-lightbox-btn:hover {
  background-color: #FFFFFF;
  color: var(--velora-burgundy);
  transform: scale(1.08);
}

.velora-look-lightbox-btn svg {
  width: 16px !important;
  height: 16px !important;
}

/* Card Content Area */
.velora-look-item__content {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (max-width: 600px) {
  .velora-look-item__content {
    padding: 12px 14px 14px;
  }
}

.velora-look-item__header {
  margin-bottom: 12px;
}

.velora-look-item__title {
  font-family: var(--font-editorial);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--velora-black);
  margin-bottom: 4px;
}

.velora-look-item__sub {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--velora-gray-500);
  line-height: 1.45;
  margin: 0;
}

/* Wide Feature Look (Look 03 Spotlight) */
@media (min-width: 900px) {
  .velora-look--wide {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
    max-height: 380px;
  }

  .velora-look--wide .velora-look-item__media {
    aspect-ratio: unset;
    height: 100%;
    max-height: 380px;
  }

  .velora-look--wide .velora-look-item__content {
    padding: 24px 28px;
    justify-content: center;
  }

  .velora-look--wide .velora-look-item__title {
    font-size: 1.45rem;
  }

  .velora-look--wide .velora-look-item__sub {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Featured Pieces & Delicate Luxury Arrows
   ========================================================================== */
.velora-shop-the-look {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--velora-gray-200);
}

.velora-shop-the-look__label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--velora-burgundy);
  margin-bottom: 8px;
}

.velora-shop-the-look__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.velora-look-product-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background-color: var(--velora-gray-100);
  border: 1px solid var(--velora-gray-200);
  border-radius: 3px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.velora-look-product-link:hover {
  background-color: #FFFFFF;
  border-color: var(--velora-burgundy);
  box-shadow: 0 3px 10px rgba(122, 36, 53, 0.08);
  transform: translateY(-1px);
}

.velora-look-product-title {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--velora-black);
  transition: color var(--transition-fast);
  padding-right: 10px;
}

.velora-look-product-link:hover .velora-look-product-title {
  color: var(--velora-burgundy);
}

.velora-look-product-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.velora-look-product-price {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--velora-burgundy);
}

/* Delicate Luxury Arrow Circle */
.velora-look-product-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 1px solid var(--velora-gray-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--velora-black);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.velora-look-product-arrow svg {
  width: 10px !important;
  height: 10px !important;
  max-width: 10px !important;
  max-height: 10px !important;
  display: block !important;
  transition: transform var(--transition-fast);
}

.velora-look-product-link:hover .velora-look-product-arrow {
  background-color: var(--velora-burgundy);
  border-color: var(--velora-burgundy);
  color: #FFFFFF;
}

.velora-look-product-link:hover .velora-look-product-arrow svg {
  transform: translateX(2px);
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.velora-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(23, 23, 23, 0.88);
  backdrop-filter: blur(12px);
  padding: 24px;
}

.velora-lightbox-modal.is-open {
  display: flex;
  animation: veloraFadeIn 0.25s ease forwards;
}

.velora-lightbox__dialog {
  max-width: 920px;
  width: 100%;
  background-color: #FFFFFF;
  border-radius: 4px;
  padding: 24px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.velora-lightbox__dialog .velora-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--velora-gray-100);
  border: 1px solid var(--velora-gray-300);
  color: var(--velora-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.velora-lightbox__dialog .velora-modal__close:hover {
  background: var(--velora-burgundy);
  border-color: var(--velora-burgundy);
  color: #FFFFFF;
}

.velora-lightbox__dialog .velora-modal__close svg {
  width: 16px !important;
  height: 16px !important;
}

.velora-lightbox__body img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
  border-radius: 2px;
}

.velora-lightbox__caption {
  font-family: var(--font-editorial);
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  color: var(--velora-black);
  margin: 0;
}

@keyframes veloraFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
