:root {
    --Green500: hsl(158, 36%, 37%);
    --Green700: hsl(158, 42%, 18%);
    --Black: hsl(212, 21%, 14%);
    --Grey: hsl(228, 12%, 48%);
    --Cream: hsl(30, 38%, 92%);
    --White: hsl(0, 0%, 100%);
  }
  
  body {
    background-color: var(--Cream);
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: grid;
    place-content: center;
    margin: 0;
    padding: 1rem;
    line-height: 1.5;
  }
  
  .product-name {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    margin: 1rem 0;
    font-weight: 700;
    color: var(--Black);
    line-height: 1;
  }
  
  .perfume {
    font-size: 0.77rem;
    text-transform: uppercase;
    letter-spacing: 0.27rem;
    color: var(--Grey);
  }
  
  .product-description {
    color: var(--Grey);
    margin: .3rem 0;
    font-size: 0.8rem;
  }
  
  .button-wrap {
    display: flex;
    background-color: var(--Green500);
    cursor: pointer;
    border-radius: 0.5rem;
    padding: 0.75rem;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    transition: background-color 0.3s ease;
    border: none;
  }
  
  .button-wrap:hover {
    background-color: var(--Green700);
  }
  
  .button {
    width: 100%;
    border: none;
    height: auto;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--White);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
  }
  
  .button-icon {
    width: 1rem;
    height: 1rem;
  }
  
  .wrap-prices {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: .6rem 0 1rem 0;
  }
  
  .product-price {
    font-family: 'Fraunces', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--Green500);
  }
  
  .product-previous-price {
    font-size: 0.9rem;
    color: var(--Grey);
    text-decoration: line-through;
  }
  
  .container {
    display: grid;
    place-content: center;
  }
  
  .product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 33.3rem;
    min-height: 25rem;
    background-color: var(--White);
    border-radius: 0.55rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }
  
  .product-image {
    background-image: url('./images/image-product-desktop.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0.55rem 0 0 0.55rem;
  }
  
  .text-section {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .attribution{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  @media (max-width: 768px) {
    body {
        place-content: center;
    }
    .container{
        margin-top: .7rem;
    }
    .product-card {
      grid-template-columns: 1fr;
      max-width: 22rem;
      min-height: auto;
    }
    .product-image{
        background-image: url('./images/image-product-mobile.jpg');
    }
    .product-name{
        margin: 0 0 0 0;
    }
    .product-description{
        font-size: .85rem;
    }
    .product-image {
      height: 15rem;
      border-radius: 0.55rem 0.55rem 0 0;
    }
    .wrap-prices{
        margin: 0;
    }
    .text-section {
      gap: 1rem;
    }
  }