@media screen and (max-width: 750px) {
.collection-hero__inner {
  position: relative; 
  height: 120px;    
  width: 100%;
  overflow: hidden;
}
  }
@media screen and (min-width: 750px) {
.collection-hero__inner {
    position: relative; 
    width: 100%;       
    height: 300px;    
    overflow: hidden; 
}
}
.collection-hero--with-image .collection-hero__inner {
  margin-bottom: 0;
}

@media screen and (min-width: 750px) {
  .collection-hero.collection-hero--with-image {
    overflow: hidden;
  }

  .collection-hero--with-image .collection-hero__inner {
    padding-bottom: 0;
  }
}

.collection-hero__text-wrapper {
  flex-basis: 100%;
  position: absolute; 
  top: 50%;           
  left: 50%;         
  transform: translate(-50%, -50%); 
  color: white;       
  z-index: 2;
  max-width: 1800px;
  min-width: 400px;
}

@media screen and (min-width: 750px) {
  .collection-hero {
    padding: 0;
  }

  .collection-hero__inner {
    align-items: center;
    flex-direction: row;
    padding-bottom: 0;
  }
}

.collection-hero__title {
  text-transform: uppercase;
  color: white;
  letter-spacing: 3px;
  line-height: 40px;
  text-align: center; 
  margin: 20px;
  
}

.collection-hero__description {
    font-size: 1.6rem;
    letter-spacing: 2px;
    line-height: 24px;
    margin-top: 8px;
    text-align: center;
   margin: 20px;
}

@media screen and (max-width: 750px) {
  .collection-hero__title,
  .collection-hero__description {
    margin: 5px;
  }
}

  .collection-hero__description {
    max-width: 66.67%;
  }

  .collection-hero--with-image .collection-hero__description {
    max-width: 100%;
  }
}

.collection-hero--with-image .collection-hero__title {
  margin: 0;
}


.collection-hero__image-container {
  border: var(--media-border-width) solid rgba(var(--color-foreground), var(--media-border-opacity));
  border-radius: var(--media-radius);
  box-shadow: var(--media-shadow-horizontal-offset) var(--media-shadow-vertical-offset) var(--media-shadow-blur-radius)
  rgba(var(--color-shadow), var(--media-shadow-opacity));
}

.collection-hero__image-container {
    width: 100%;       
    height: 100%;    
}

.collection-hero__image-container::after {  
    background-color: rgba(40,15,0,.16);
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1; 
}
@media screen and (max-width: 750px) {
  .collection-hero__image-container::after {  
    background-color: rgb(40 15 0 / 20%);
}
  }

.collection-hero__image {
    width: 100%;       
    height: auto;      
    display: block;    
}
.mobile-image {
    display: none; 
}

.desktop-image {
    display: block; 
}

/* 当屏幕宽度小于768px时 */
@media (max-width: 768px) {
    .mobile-image {
        display: block; 
    }
    .desktop-image {
        display: none; 
    }
}

