/* ==========================================================================
   LOOKBOOK / EDITORIAL SHOWCASE GRID SECTION
   Clean, Strict Heights & Perfect Screen Fit
   ========================================================================== */

.lookbook-section {
  display: block;
  width: 100%;
  clear: both;
  background-color: #ffffff;
  padding: 40px 24px;
  position: relative;
  z-index: 1;
}

.lookbook-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* Master 2-Column Grid with Strict Maximum Height */
.lookbook-grid {
  display: grid !important;
  grid-template-columns: 1.05fr 1fr;
  gap: 16px;
  height: 520px; /* Fixed screen-fit height */
  max-height: 520px;
  overflow: hidden;
}

/* Common Card Styles */
.lookbook-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background-color: #f7f7f7;
  border-radius: 4px;
  height: 100%;
}

.lookbook-card-img {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.lookbook-card:hover .lookbook-card-img {
  transform: scale(1.04);
}

/* Subtle Gradient Shadow for Crisp White Typography */
.lookbook-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Typography Inside Lookbook Cards */
.lookbook-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: #ffffff;
  pointer-events: none;
}

.lookbook-title {
  font-family: var(--font-secondary, 'Montserrat', sans-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.lookbook-cta {
  font-family: var(--font-secondary, 'Montserrat', sans-serif);
  font-size: 0.82rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: capitalize;
  display: inline-block;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* --- Left Column: Big Tall Card (Wedding Wear) --- */
.lookbook-card-tall {
  height: 100% !important;
}

.lookbook-card-tall .lookbook-card-img {
  object-position: center 15%;
}

.lookbook-card-tall .lookbook-title {
  font-size: 1.5rem;
}

/* --- Right Column Cluster --- */
.lookbook-right-cluster {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  height: 100% !important;
  max-height: 520px;
}

.lookbook-right-top-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: calc(50% - 8px) !important;
}

.lookbook-card-square {
  height: 100% !important;
}

.lookbook-card-square .lookbook-card-img {
  object-position: center top;
}

.lookbook-card-wide {
  height: calc(50% - 8px) !important;
}

.lookbook-card-wide .lookbook-card-img {
  object-position: center 35%;
}

.lookbook-card-wide .lookbook-title {
  font-size: 1.35rem;
}

/* --- Responsive Media Queries (Desktop Untouched, Mobile Optimized) --- */
@media (max-width: 992px) {
  .lookbook-section {
    padding: 24px 16px;
  }
  .lookbook-grid {
    grid-template-columns: 1fr !important;
    height: auto !important;
    max-height: none !important;
    gap: 14px;
  }
  .lookbook-card-tall {
    height: 320px !important;
  }
  .lookbook-right-cluster {
    height: auto !important;
    max-height: none !important;
    gap: 14px;
  }
  .lookbook-right-top-row {
    height: 200px !important;
    gap: 14px;
  }
  .lookbook-card-wide {
    height: 180px !important;
  }
}

@media (max-width: 768px) {
  .lookbook-section {
    padding: 12px 10px 24px;
  }
  .lookbook-grid {
    gap: 10px;
  }
  .lookbook-card-tall {
    aspect-ratio: 16 / 10;
    height: auto !important;
    min-height: 190px;
    border-radius: 4px;
  }
  .lookbook-right-cluster {
    gap: 10px;
  }
  .lookbook-right-top-row {
    grid-template-columns: 1fr 1fr !important;
    height: auto !important;
    gap: 10px;
  }
  .lookbook-card-square {
    aspect-ratio: 1 / 1.15;
    height: auto !important;
    border-radius: 4px;
  }
  .lookbook-card-wide {
    aspect-ratio: 16 / 9;
    height: auto !important;
    min-height: 140px;
    border-radius: 4px;
  }
  .lookbook-content {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
  .lookbook-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 2px;
  }
  .lookbook-card-tall .lookbook-title {
    font-size: 16px;
  }
  .lookbook-card-wide .lookbook-title {
    font-size: 15px;
  }
  .lookbook-cta {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .lookbook-section {
    padding: 10px 8px 20px;
  }
  .lookbook-title {
    font-size: 12px;
  }
  .lookbook-card-tall .lookbook-title {
    font-size: 15px;
  }
  .lookbook-card-wide .lookbook-title {
    font-size: 14px;
  }
}
