/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
h1, h2, h3 {
    font-weight: 600;
}
  
p {
    line-height: 1.6;
}
  
/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border);
}
  
.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}
  
.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: var(--date);
}
  
.buy-now {
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: var(--g2);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
  
.buy-now:hover {
    background-color: var(--g3);
}
  
/* Product Details Section */
.product-details {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 40px;
    background-color: var(--bg-2);
    border-bottom: 1px solid var(--border);
}
  
.product-image {
    width: 300px;
    height: 300px; /* Ensures it stays square */
    border-radius: 10px;
    background-color: none;
    border: none;
    object-fit: cover; /* Ensures the image fills the box without distortion */
    user-select: none;
    pointer-events: none; /* Disables all interaction */
}
  
.details h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}
  
.details p {
    font-size: 1em;
    color: var(--text-color);
    max-width: 400px;
}
  
/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 40px 20px;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border);
}
  
.feature {
    max-width: 300px;
    text-align: center;
}
  
.feature h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}
  
.feature p {
    font-size: 1em;
    color: var(--text-color);
}

/* Responsive Layout for Phones */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }
  
    .hero p {
        font-size: 1em;
    }
  
    .product-details {
        flex-direction: column;
        gap: 20px;
        padding: 40px 20px;
    }
  
    .details h2 {
        font-size: 1.5em;
    }
  
    .features {
        flex-direction: column;
        padding: 20px;
    }

    .feature {
        max-width: 100%;
        padding: 10px 0;
    }
}

/* Container for centering everything and overlaying button */
.buyit {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px; /* Ensures it's square */
    margin: 0 auto; /* Centers the container */
}

/* Image */
.buy-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-color: none;
    border: none;
    object-fit: cover;
}

/* Buy Now button overlay */
.buy-pls {
    position: absolute;
    bottom: 80px; /* Adjust this value to move the button up or down */
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: var(--g2);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.buy-pls:hover {
    background-color: var(--g3);
}
