@layer overrides {
  .product-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 28px;
  }

  .product-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #EADDD6;
    transition: transform .25s ease,box-shadow .25s ease;
  }

  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(46,35,39,.12);
  }

  .product-photo {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    overflow: hidden;
  }

  .product-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px 24px;
    border-top: 1px solid #EADDD6;
  }

  .product-name {
    margin: 0;
    font-family: 'Cormorant Garamond',Georgia,serif;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 500;
  }

  .site-root .product-link {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    color: #8C4A5A;
    text-decoration: none;
  }

  @media (max-width:1100px) {
    .product-grid {
      grid-template-columns: repeat(3,minmax(0,1fr));
    }
  }

  @media (max-width:900px) {
    .product-grid {
      grid-template-columns: repeat(2,minmax(0,1fr));
      gap: 18px;
    }
  }

  @media (max-width:720px) {
    .product-info {
      padding: 16px 16px 20px;
    }

    .product-name {
      font-size: 20px;
    }
  }

  @media (max-width:480px) {
    .product-grid {
      gap: 12px;
    }
  }
}
