/* Gemstone Jewellery desktop product component. */
@media(min-width:1024px){
  .product-collection{
    padding-top:20.625px;
  }

  .product-grid{
    max-width:1280px;
    margin-inline:auto;
    grid-template-columns:repeat(3,minmax(0,1fr));
    column-gap:20px;
    row-gap:16px;
  }

  .product-heading{
    margin-bottom:0;
    padding-bottom:0;
    border-bottom:0;
    position:relative;
    z-index:3;
  }

  .product-heading::after{
    content:"";
    position:absolute;
    z-index:2;
    top:calc(100% + 20px);
    left:0;
    right:0;
    border-bottom:1px solid var(--line);
    pointer-events:none;
  }

  .product-card{
    display:grid;
    grid-template-rows:auto auto;
    align-content:start;
    position:relative;
    top:-49.402px;
    min-width:0;
  }

  .product-image-stage{
    display:grid;
    place-items:center;
    width:100%;
    height:250px;
    aspect-ratio:auto;
    margin:0;
    overflow:visible;
    background:#fefefe;
  }

  .product-image-stage img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1 / 1;
    object-fit:contain;
    object-position:center;
  }

  .collection-page .product-card:nth-child(-n+3) .product-image-stage img{
    transform:scale(.62);
    transform-origin:center;
  }

  .product-copy{
    display:grid;
    grid-template-rows:minmax(2.2em,auto) auto;
    align-content:start;
    position:relative;
    z-index:1;
    width:100%;
    margin:30px 0 0;
    padding:24px 4px 0 24px;
    text-align:left;
  }

  .product-copy h2{
    min-height:0;
  }

  .collection-page .product-card:nth-child(n+7):nth-child(-n+9) .product-copy{
    margin-top:60px;
  }

  .collection-page .collection-intro{
    padding-top:6px;
    padding-bottom:6px;
    align-items:end;
  }

  .collection-page .collection-intro h1{
    font-size:clamp(52px,4.7vw,68px);
    line-height:.88;
    position:relative;
    top:-10px;
  }
  .collection-page .collection-intro-copy{
    gap:40px;
  }
}

@media(max-width:780px){
  .collection-page .collection-intro{padding:28px 25px 20px}
  .collection-page .collection-intro-copy{margin-top:16px}
  .collection-page .collection-intro-copy>p{margin-top:14px;margin-bottom:2px}
  .collection-page .product-grid{row-gap:58px}
  .collection-page .product-card{margin-bottom:0;padding-bottom:0}
  .collection-page .product-image{height:auto;min-height:0;aspect-ratio:1/1;overflow:visible}
  .collection-page .product-image img{display:block;width:100%;height:auto;margin:0;object-fit:contain}
  .collection-page .product-copy{margin-bottom:0;padding:10.5px 4px 0 32px}
  .collection-page .product-copy h2{font-size:19.665px;margin-bottom:13px}
  .collection-page .product-image{height:150px;min-height:0;aspect-ratio:auto;overflow:hidden}
  .collection-page .product-image img{display:block;width:76%;height:100%;margin:0 auto;object-fit:contain;object-position:center}
  .collection-page .product-card:nth-child(8) .product-image{height:165px}
  .collection-page .product-card:last-child{margin-top:30px}
  .collection-page .product-card:last-child .product-image img{width:55%;margin:0 auto}

  .collection-page .editorial-feature{
    padding:0!important;
    overflow:visible;
  }

  .collection-page .collection-hero-picture{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:auto;
    overflow:visible;
  }

  .collection-page .collection-hero-picture img{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:auto;
    object-fit:initial;
  }

  .collection-page .product-collection{
    padding-top:24px;
  }
}

@media(max-width:767px){
  body.collection-page,
  body.collection-page main{
    width:100%;
    max-width:none;
    margin-left:0;
    margin-right:0;
    padding-left:0;
    padding-right:0;
    overflow-x:hidden;
  }

  .collection-page .product-heading{
    position:relative;
    width:calc(100% + 40px);
    margin-left:-20px;
    margin-right:-20px;
    padding-left:20px;
    padding-right:20px;
    border-bottom:0;
  }

  .collection-page .product-heading::after{
    content:"";
    position:absolute;
    z-index:2;
    left:0;
    bottom:0;
    width:calc(100% - 48px);
    margin-left:24px;
    margin-right:24px;
    height:1px;
    background:var(--line);
    pointer-events:none;
  }

  .collection-page .product-grid{
    row-gap:70px;
  }

  .collection-page .product-image{
    overflow:visible;
  }

  .collection-page .product-image img{
    object-fit:contain;
    object-position:center;
    transform:scale(1.5);
    transform-origin:center;
  }

  .collection-page .product-copy{
    position:relative;
    z-index:1;
  }

  .collection-page .product-card{
    margin-top:0;
    margin-bottom:0;
    padding-top:0;
    padding-bottom:0;
  }

  .collection-page .product-card:nth-child(n+4){
    padding-top:40px;
  }

  .collection-page .product-copy{padding-top:var(--image-title-gap)}
  .collection-page .product-copy h2{margin-bottom:24px}

  .collection-page .product-card:nth-child(1){--image-title-gap:8px;--next-product-gap:24px}
  .collection-page .product-card:nth-child(2){--image-title-gap:29px;--next-product-gap:15px}
  .collection-page .product-card:nth-child(3){--image-title-gap:24px;--next-product-gap:21px}
  .collection-page .product-card:nth-child(4){margin-top:-20px;padding-top:0;--image-title-gap:31px;--next-product-gap:45px}
  .collection-page .product-card:nth-child(5){--image-title-gap:45px;--next-product-gap:51px}
  .collection-page .product-card:nth-child(6){--image-title-gap:71px;--next-product-gap:66px}
  .collection-page .product-card:nth-child(7){--image-title-gap:77px;--next-product-gap:60px}
  .collection-page .product-card:nth-child(8){--image-title-gap:57px;--next-product-gap:61px}
  .collection-page .product-card:nth-child(9){--image-title-gap:50px;--next-product-gap:0}
  .collection-page .product-card:nth-child(10){--image-title-gap:1px;--next-product-gap:70px}
  .collection-page .product-card:nth-child(11){--image-title-gap:28px;--next-product-gap:34px}
  .collection-page .product-card:nth-child(12){--image-title-gap:41px}

  .collection-page .product-card:nth-child(4) .product-image img{
    object-fit:contain;
    object-position:center;
    transform:scale(1.932);
  }

  .collection-page .product-card:nth-child(5) .product-image img{
    object-fit:contain;
    object-position:center;
    transform:scale(1.65);
  }

  .collection-page .product-card:nth-child(6) .product-image img,
  .collection-page .product-card:nth-child(7) .product-image img{
    object-fit:contain;
    object-position:center;
    transform:scale(2.124);
  }
}

@media(min-width:1024px){
  .collection-page .product-card:nth-child(4) .product-image-stage img{transform:scale(.80);transform-origin:center}
  .collection-page .product-card:nth-child(5) .product-image-stage img,
  .collection-page .product-card:nth-child(6) .product-image-stage img,
  .collection-page .product-card:nth-child(7) .product-image-stage img{transform:scale(.68);transform-origin:center}
  .collection-page .product-card:nth-child(8) .product-image-stage img{transform:scale(.69);transform-origin:center}
  .collection-page .product-card:nth-child(9) .product-image-stage img{transform:scale(.92);transform-origin:center}
  .collection-page .product-card:nth-child(10) .product-image-stage img{transform:scale(.85);transform-origin:center}
  .collection-page .product-card:nth-child(11) .product-image-stage img{transform:scale(.70);transform-origin:center}
  .collection-page .product-card:nth-child(12) .product-image-stage img{transform:scale(.64);transform-origin:center}
}

@media(max-width:780px){
  .collection-page .aquamarine-ring-card .product-image img{width:55%;margin:0 auto}
}
