@media (max-width: 768px) {
  body {
    margin: 0;
    background-color: #ffffff;
    color: #4a1a3c;
  }
  .hero {
    position: relative;
    min-height: 75svh;
    background-image: url("/images/hero.png"); /* replace with your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #4a1a3c;
    padding: 0 20px;
    padding-top: 80px; /* to account for fixed navbar */
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.3)
    );
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    transform: translateY(180px);
  }

  .hero h1 {
    font-size: 2.6rem;
    /* line-height: 1.1; */
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    /* color: #7b4b63; */
  }

  .hero p {
    font-size: 1.2rem;
    margin-top: 10px;
    /*  color: rgba(91, 58, 73, 0.85); */
    font-family: "Cormorant Garamond", serif;
  }

  .hero-btn {
    background-color: #914e62;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s;
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .hero-btn:hover {
    background-color: #6f3850;
  }

  .product-card.active::after,
  .product-card:hover::after {
    animation: shine 3s forwards; /* increased from 1s */
  }

  .products {
    padding: 20px 12px;
  }

  .products h2 {
    font-family: "DM Serif Display", serif;
    font-size: 35px;
    margin-bottom: 30px;
    color: #914e62;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0;
  }

  .product-card {
    position: relative;
    overflow: hidden;
    background-color: #faf7f7;
    border: 1px solid rgba(123, 75, 99, 0.08);
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
    border-radius: 12px;
    text-align: center;
    padding: 8px;
    width: 100%;
    min-width: 0;
    transition:
      transform 0.35s ease,
      box-shadow 0.35s ease;
  }
  .product-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    aspect-ratio: 1/1;
    height: auto;
  }

  .product-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  }

  .product-card h3 {
    font-size: 14px;
    color: #914e62;
    margin: 8px 0 4px;
    /* line-height: 1.4;
    min-height: 40px; */
  }

  .product-card p {
    font-size: 14px;
    color: #914e62;
    margin-bottom: 8px;
  }

  .add-to-cart {
    display: inline-block;
    width: 100%;
    background-color: transparent;
    border: 1px solid #914e62;
    color: #914e62;
    border-radius: 25px;
    padding: 8px 10px;
    font-size: 13px;
    margin-top: 0;
  }

  .add-to-cart:hover {
    background-color: #914e62;
    color: white;
  }
}
