/* ============================================
   SHOPIFY-INSPIRED HOMEPAGE STYLES
   ============================================ */

/* Hero Section - Full Screen */
.shopify-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000; /* Black background to prevent grey areas */
}

/* Ensure no grey background on mobile */
@media (max-width: 1024px) {
  .shopify-hero-section {
    background: #000 !important;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: #000; /* Black background to prevent grey areas */
  overflow: hidden;
}

/* Hero static image styling */
.hero-static-image,
#hero-main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 1;
}

/* Center image on large screens */
@media (min-width: 1025px) {
  .hero-static-image,
  #hero-main-image {
    object-position: center center;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }
}

/* Fix grey area on small screens */
@media (max-width: 1024px) {
  .hero-background {
    background: #000;
  }
  
  .hero-static-image,
  #hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    min-height: 100vh;
  }
  
  .hero-overlay-dark {
    background: rgba(0, 0, 0, 0.2); /* Lighter overlay on mobile */
  }
}

.hero-background .hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: transparent; /* No grey background */
}

.hero-background .hero-slide-track {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent; /* No grey background */
}

/* Mobile optimizations for hero slider */
@media (max-width: 1024px) {
  .hero-background .hero-slide-track {
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Faster on mobile */
  }
  
  .hero-background .hero-slide img {
    transition: opacity 0.4s ease-out; /* Faster on mobile */
  }
}

.hero-background .hero-slide {
  min-width: 100vw;
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: transparent; /* No grey background */
}

.hero-background .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimize-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  transition: opacity 0.6s ease-out;
  opacity: 1; /* Ensure images are visible immediately */
  /* Background will be set by JavaScript with blurred placeholder */
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
  pointer-events: none; /* Allow clicks to pass through */
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: 1400px;
  padding: 48px 3rem;
  text-align: center;
}

.hero-spacer {
  height: 0;
  flex: 0 0 0;
}

@media (max-width: 768px) {
  .hero-spacer {
    height: 120px;
  }
}

.hero-logo-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-large {
  width: 100%;
  max-width: 400px;
  height: auto;
  /* Removed filter for better performance */
}

@media (max-width: 768px) {
  .hero-logo-large {
    max-width: 200px;
  }
}

.hero-shop-button {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid #fff;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  width: 29%;
  text-align: center;
}

.hero-shop-button:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

@media (max-width: 768px) {
  .shopify-hero-section {
    height: 100vh;
    min-height: 100vh;
  }
  
  .hero-content-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .hero-spacer {
    height: 80px;
  }
  
  .hero-logo-large {
    max-width: 180px;
  }
  
  .hero-shop-button {
    width: 100%;
    max-width: 100%;
    padding: 12px 24px;
    font-size: 13px;
  }
}

/* Media with Content Section */
.shopify-media-content {
  width: 100%;
  padding: 0;
  margin: 0;
}

.media-content-container {
  display: flex;
  width: 100%;
  min-height: 60vh;
  margin: 0;
  padding: 0;
  position: relative;
}

.media-content-container.reverse {
  flex-direction: row-reverse;
}

.media-side {
  flex: 1;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimize-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* will-change removed for better performance */
}

.media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.video-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  background: #fff;
}

.content-group {
  max-width: 85%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-heading {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  text-align: left;
}

.content-heading-small {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 8px 0;
  text-align: left;
}

.content-text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
  text-align: left;
}

.content-text-large {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
  text-align: left;
}

.content-button {
  display: inline-block;
  padding: 14px 32px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 1px solid #000;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  width: fit-content;
  margin-top: 12px;
}

.content-button:hover {
  background: #fff;
  color: #000;
}

/* 3-Picture Collage in Media Section - Large Screens Only */
.media-section-collage {
  display: none; /* Hidden by default, shown only on large screens */
}

.media-collage-frame {
  position: relative;
  width: 200px;
  aspect-ratio: 5 / 4; /* 5:4 aspect ratio */
  overflow: hidden;
  background: #fff;
}

.media-frame-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid #fff;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.media-frame-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Removed filter for better performance - images are already optimized */
}

/* Show collage only on large screens (above 1024px) */
@media (min-width: 1025px) {
  .media-content-container {
    display: grid;
    grid-template-columns: 1fr 1fr 0.6fr;
    gap: 0;
    align-items: stretch;
  }
  
  .media-side {
    grid-column: 1;
    height: 100%;
  }
  
  .content-side {
    grid-column: 2;
    padding: 4rem 3rem;
    height: 100%;
  }
  
  .media-section-collage {
    display: flex;
    flex-direction: column; /* Vertical layout */
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    padding: 2rem;
    grid-column: 3;
    background: #fff;
    height: 100%;
    min-height: 100%;
  }
  
  .media-collage-frame {
    width: 200px;
    height: calc((100% - 2.4rem) / 3); /* Divide available height by 3 frames, minus gaps */
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .shopify-media-content {
    position: relative;
  }
  
  .media-content-container {
    flex-direction: column;
    position: relative;
  }
  
  .media-content-container.reverse {
    flex-direction: column;
  }
  
  .media-side {
    min-height: 60vh;
    width: 100%;
    position: relative;
  }
  
  .content-side {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 1.2rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.03) 50%,
      rgba(0, 0, 0, 0.05) 100%
    );
  }
  
  .content-group {
    max-width: 92%;
    width: 100%;
    gap: 14px;
    background: rgba(255, 255, 255, 0.35); /* More opaque, less blur needed */
    padding: 1.5rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px); /* Reduced blur for performance */
    -webkit-backdrop-filter: blur(6px);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
  }
  
  .content-heading {
    font-size: 1.6rem;
    line-height: 1.25;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 600;
  }
  
  .content-heading-small {
    font-size: 1.3rem;
    line-height: 1.3;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 600;
  }
  
  .content-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    margin-bottom: 4px;
  }
  
  .content-text-large {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }
  
  .content-button {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    margin-top: 6px;
    font-size: 12px;
    background: #000;
    color: #fff;
    border: 1px solid #000;
  }
  
  .content-button:hover {
    background: #fff;
    color: #000;
  }
  
  .media-side {
    min-height: 55vh; /* Slightly reduced height */
  }
}

/* Collection Title Section */
.collection-title-section {
  width: 100%;
  padding: 0;
  margin: 0;
  background: #fff;
  text-align: center;
}

.collection-title-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.collection-title-text {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #000;
  margin: 0;
}

@media (max-width: 768px) {
  .collection-title-section {
    padding: 0;
    margin: 0;
  }
  
  .collection-title-container {
    padding: 0 1.5rem;
  }
  
  .collection-title-text {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }
}

/* Collection List Grid - Editorial Collage Style */
.shopify-collection-list {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* NEW EDITORIAL COLLAGE STYLE */
.collection-collage-editorial {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 900px;
  background: #f5f5f5;
  overflow: hidden;
}

/* Main Full-Body Image */
.collage-main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.collage-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Large Outlined Title at Top - Hidden on Desktop */
.collage-editorial-title {
  display: none;
}

.editorial-title-text {
  font-family: 'Inter', sans-serif;
  font-size: 8rem;
  font-weight: 300;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  text-stroke: 2px #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Three Detail Frames - Horizontal on large screens, Vertical on mobile */
.collage-detail-frames {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  display: flex;
  flex-direction: row; /* Horizontal on large screens */
  gap: 1.2rem;
  pointer-events: none;
}

.detail-frame {
  position: relative;
  width: 380px; /* Bigger on large screens - only 2 frames */
  aspect-ratio: 4 / 5; /* 4:5 portrait ratio */
  overflow: hidden;
  background: #fff;
}

/* Hide third frame on large screens */
@media (min-width: 1025px) {
  .detail-frame.frame-3 {
    display: none;
  }
  
  .collage-detail-frames {
    gap: 2rem; /* More space between the 2 frames */
  }
}

.frame-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid #fff;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.frame-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Removed filter for better performance - images are already optimized */
}

/* Quote at Top Left (where ARISE was) - White Text */
.collage-editorial-quote {
  position: absolute;
  top: 4rem;
  left: 4rem;
  transform: none;
  z-index: 10;
  max-width: 450px;
  width: auto;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.6); /* More opaque, less blur needed */
  backdrop-filter: blur(4px); /* Reduced blur for performance */
  -webkit-backdrop-filter: blur(4px);
  padding: 1.5rem 1.8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.quote-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: #fff;
  line-height: 1.6;
  margin: 0 0 0.4rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.quote-text:last-child {
  font-weight: 500;
  font-style: italic;
  margin-bottom: 0;
}

/* Shop Button at Bottom Right - Desktop & Large Screens */
.collage-editorial-button {
  position: absolute;
  bottom: 4rem;
  right: 4rem;
  top: auto;
  left: auto;
  transform: none;
  z-index: 10;
  pointer-events: auto;
}

.editorial-button {
  display: inline-block;
  padding: 18px 36px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid #000;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.editorial-button:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  /* Removed transform for better performance */
}

/* OLD COLLAGE STYLES - KEPT FOR BACKWARD COMPATIBILITY */
.collection-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.5fr 1fr;
  gap: 0;
  width: 100%;
  height: 90vh;
  min-height: 800px;
  position: relative;
}

.collage-item {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}

.collage-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* will-change removed for better performance */
}

/* Collage Layout - Simple 3-Panel Style */
.collage-large {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.collage-medium {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.collage-medium.collage-right {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.collage-small {
  display: none;
}

.collage-small.collage-top {
  display: none;
}

.collage-small.collage-bottom {
  display: none;
}

.collage-small.collage-corner {
  display: none;
}

/* Collage Text Overlay */
.collage-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  text-align: center;
  pointer-events: none;
  padding: 3rem 2rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 300px;
  max-width: 600px;
}

/* Collage Button Overlay - Bottom */
.collage-button-overlay {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  text-align: center;
  pointer-events: auto;
}

.collage-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  white-space: nowrap;
}

.collage-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem 0;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
  white-space: nowrap;
}

.collage-description {
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
  margin: 1.5rem 0 0 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
  font-style: italic;
  text-align: center;
}

@media (max-width: 1024px) {
  .collection-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.5fr 1fr;
    height: 80vh;
    min-height: 700px;
  }
  
  .collage-large {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  
  .collage-medium {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  
  .collage-medium.collage-right {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  
  /* Editorial Collage - Keep button at top right on tablets */
  .collection-collage-editorial {
    min-height: 800px;
  }
  
  .editorial-title-text {
    font-size: 6rem;
    padding: 2rem 3rem;
  }
  
  .detail-frame {
    width: 280px; /* Bigger on tablets - only 2 frames */
    aspect-ratio: 4 / 5; /* 4:5 portrait ratio */
  }
  
  .collage-detail-frames {
    gap: 1.2rem; /* More space between the 2 frames */
    flex-direction: row; /* Keep horizontal on tablets */
  }
  
  /* Hide third frame on tablets */
  .detail-frame.frame-3 {
    display: none;
  }
  
  .collage-editorial-quote {
    top: 3rem;
    left: 3rem;
    max-width: 400px;
    width: auto;
    text-align: left;
  }
  
  .quote-text {
    font-size: 0.9rem;
  }
  
  .collage-editorial-button {
    bottom: 3rem;
    right: 3rem;
    top: auto;
    left: auto;
    transform: none;
  }
  
  .editorial-button {
    padding: 16px 32px;
    font-size: 0.9rem;
    width: auto;
  }
}

@media (max-width: 768px) {
  .shopify-collection-list {
    padding: 0;
    width: 100%;
    overflow: hidden;
  }
  
  /* Editorial Collage Mobile */
  .collection-collage-editorial {
    height: 100vh;
    min-height: 700px;
  }
  
  /* Hide ARISE title on mobile to give more space to frames */
  .collage-editorial-title {
    display: none;
  }
  
  /* Make detail frames smaller on mobile - Only 2 frames visible, positioned between text and button */
  .collage-detail-frames {
    gap: 0.8rem;
    position: absolute;
    top: auto;
    bottom: 8rem; /* Position above the button */
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row; /* Horizontal on mobile */
    align-items: center;
  }
  
  .detail-frame {
    width: 140px; /* Smaller on mobile - only 2 frames */
    aspect-ratio: 4 / 5; /* 4:5 portrait ratio */
  }
  
  /* Hide third frame on mobile */
  .detail-frame.frame-3 {
    display: none;
  }
  
  .frame-border {
    border-width: 2px;
  }
  
  /* Quote and Button on Mobile */
  .collage-editorial-quote {
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    bottom: auto;
    max-width: 90%;
    width: calc(100% - 4rem);
    background: rgba(0, 0, 0, 0.7); /* More opaque, less blur needed */
    backdrop-filter: blur(4px); /* Reduced blur for performance */
    -webkit-backdrop-filter: blur(4px);
    padding: 1rem 0.9rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
  }
  
  .quote-text {
    font-size: 0.85rem;
    font-weight: 300;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }
  
  .quote-text:last-child {
    font-weight: 500;
    font-style: italic;
    margin-bottom: 0;
  }
  
  .collage-editorial-button {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    width: calc(100% - 4rem);
    max-width: 400px;
    pointer-events: auto;
  }
  
  .editorial-button {
    padding: 14px 28px;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
    background: #000;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }
  
  /* OLD COLLAGE - BACKWARD COMPATIBILITY */
  .collection-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 50vh 30vh;
    width: 100%;
    height: 80vh;
    min-height: 80vh;
    max-height: 80vh;
    gap: 0;
    margin: 0;
    padding: 0;
    position: relative;
  }
  
  .collage-large {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
  }
  
  .collage-medium {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
  }
  
  .collage-medium.collage-right {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
  }
  
  .collage-item {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    overflow: hidden;
  }
  
  .collage-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  
  .collage-overlay {
    padding: 1rem 0.75rem;
    min-width: auto;
    max-width: 90%;
    width: 90%;
    background: rgba(0, 0, 0, 0.75); /* More opaque, less blur needed */
    backdrop-filter: blur(4px); /* Reduced blur for performance */
    -webkit-backdrop-filter: blur(4px);
    border-radius: 6px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .collage-title {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.03em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .collage-subtitle {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .collage-description {
    font-size: 0.7rem;
    line-height: 1.3;
    margin-top: 0.5rem;
    display: none;
  }
  
  .collage-button-overlay {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 101;
    width: calc(100% - 1.5rem);
    max-width: 400px;
    pointer-events: auto;
  }
  
  .collage-button-overlay .content-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin: 0;
    text-align: center;
    display: block;
  }
}

/* Extra small phones - Optimized for very small screens */
@media (max-width: 480px) {
  /* Media section - More compact */
  .content-side {
    padding: 1.2rem 1rem;
  }
  
  .content-group {
    max-width: 94%;
    gap: 12px;
    padding: 1.2rem 1rem;
    border-radius: 8px;
  }
  
  .content-heading {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }
  
  .content-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .content-button {
    padding: 10px 20px;
    font-size: 11px;
    margin-top: 4px;
  }
  
  .media-side {
    min-height: 50vh;
  }
  /* Editorial Collage - Small Phones */
  .collage-editorial-title {
    display: none;
  }
  
  .collage-detail-frames {
    gap: 0.7rem;
    position: absolute;
    top: auto;
    bottom: 7rem; /* Position above the button */
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row; /* Horizontal on small phones */
    align-items: center;
  }
  
  .detail-frame {
    width: 120px; /* Smaller on small phones - only 2 frames */
    aspect-ratio: 4 / 5; /* 4:5 portrait ratio */
  }
  
  /* Hide third frame on small phones */
  .detail-frame.frame-3 {
    display: none;
  }
  
  .frame-border {
    border-width: 2px;
  }
  
  .collage-editorial-quote {
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 85%;
    width: calc(100% - 3rem);
    padding: 0.9rem 0.7rem;
    background: rgba(0, 0, 0, 0.65);
    text-align: center;
  }
  
  .quote-text {
    font-size: 0.8rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  }
  
  .quote-text:last-child {
    font-weight: 500;
    font-style: italic;
    margin-bottom: 0;
  }
  
  .collage-editorial-button {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    width: calc(100% - 3rem);
    max-width: 350px;
    pointer-events: auto;
  }
  
  .editorial-button {
    padding: 12px 24px;
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
    background: #000;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }
  
  .collage-editorial-button {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    z-index: 15;
    width: calc(100% - 3rem);
    max-width: 320px;
    pointer-events: auto;
  }
  
  .editorial-button {
    padding: 12px 24px;
    font-size: 0.75rem;
    width: 100%;
    text-align: center;
    background: #000;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }
  
  /* OLD COLLAGE - BACKWARD COMPATIBILITY */
  .collection-collage {
    grid-template-rows: 45vh 32.5vh;
    height: 77.5vh;
    min-height: 77.5vh;
    max-height: 77.5vh;
  }
  
  .collage-overlay {
    padding: 0.75rem 0.5rem;
    max-width: 85%;
    width: 85%;
    background: rgba(0, 0, 0, 0.7);
  }
  
  .collage-title {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    letter-spacing: 0.02em;
  }
  
  .collage-subtitle {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
    letter-spacing: 0.06em;
  }
  
  .collage-button-overlay {
    bottom: 0.5rem;
    width: calc(100% - 1rem);
    max-width: 350px;
  }
  
  .collage-button-overlay .content-button {
    padding: 10px 16px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }
}

/* Very small phones - Maximum optimization */
@media (max-width: 375px) {
  /* Editorial Collage - Very Small Phones */
  .collage-editorial-title {
    display: none;
  }
  
  .detail-frame {
    width: 100px; /* Smaller on very small phones - only 2 frames */
    aspect-ratio: 4 / 5; /* 4:5 portrait ratio */
  }
  
  .collage-detail-frames {
    gap: 0.6rem;
    position: absolute;
    top: auto;
    bottom: 6rem; /* Position above the button */
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row; /* Horizontal on very small phones */
    align-items: center;
  }
  
  /* Hide third frame on very small phones */
  .detail-frame.frame-3 {
    display: none;
  }
  
  .collage-editorial-quote {
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 80%;
    width: calc(100% - 2rem);
    padding: 0.8rem 0.6rem;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
  }
  
  .quote-text {
    font-size: 0.75rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0.35rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  }
  
  .quote-text:last-child {
    font-weight: 500;
    font-style: italic;
    margin-bottom: 0;
  }
  
  .collage-editorial-button {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    width: calc(100% - 2rem);
    max-width: 300px;
    pointer-events: auto;
  }
  
  .editorial-button {
    padding: 10px 20px;
    font-size: 0.75rem;
    width: 100%;
    text-align: center;
    background: #000;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }
  
  .editorial-button {
    padding: 9px 18px;
    font-size: 0.7rem;
  }
  
  /* OLD COLLAGE - BACKWARD COMPATIBILITY */
  .collection-collage {
    grid-template-rows: 40vh 35vh;
    height: 75vh;
    min-height: 75vh;
    max-height: 75vh;
  }
  
  .collage-overlay {
    padding: 0.6rem 0.4rem;
    max-width: 80%;
    width: 80%;
  }
  
  .collage-title {
    font-size: 0.9rem;
  }
  
  .collage-subtitle {
    font-size: 0.6rem;
  }
  
  .collage-button-overlay {
    bottom: 0.4rem;
    width: calc(100% - 0.8rem);
    max-width: 320px;
  }
  
  .collage-button-overlay .content-button {
    padding: 9px 14px;
    font-size: 0.65rem;
  }
}

/* Divider */
.shopify-divider {
  width: 100%;
  padding: 0;
  margin: 0;
}

.divider-line {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
  margin: 0;
}

/* Video Section */
.video-section {
  background: transparent;
  margin: 0;
  padding: 0;
  width: 100%;
}

.video-section .content-side {
  background: #f5f5f5;
}

.video-section .media-content-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  text-align: center;
  margin: 0;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .video-section {
    padding: 0;
  }
  
  .video-section .media-side {
    min-height: 50vh;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
.video-section .media-content-container {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 0;
  height: auto;
  display: block;
}

.video-section .media-side {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

.video-section .media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
  
  .video-section .content-side {
    padding: 2rem 1.5rem;
  }
  
  .media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

