@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;700&display=swap');

body {
    font-family: 'Sora', sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #1a1a1a;
    padding: 20px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container > a {
    line-height: 0; /* Removes extra space from the link wrapper */
}

.logo {
    height: 40px;
    flex-shrink: 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    flex-wrap: nowrap;
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none !important;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    outline: none;
    cursor: pointer;
    background: linear-gradient(to right, #d82d7a, #5f30b8);
}

.btn-header {
    border: 1px solid #fff;
    background: transparent;
    padding: 8px 25px;
}

.whatsapp-icon img {
    height: 35px;
    width: 35px;
    background-color: #25D366;
    border-radius: 50%;
    padding: 5px;
    vertical-align: middle;
}

.btn-primary,
.btn-secondary {
    background: linear-gradient(to right, #d82d7a, #5f30b8);
    color: #fff;
}

.whatsapp-icon img {
    height: 30px;
    vertical-align: middle;
}

.hero {
    padding: 60px 0;
    background: linear-gradient(to right, #b51d63, #4f208c);
    color: #fff;
    border-radius: 15px;
    margin: 20px auto;
    max-width: 1200px;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 90%;
    border-radius: 10px;
}

.features {
    padding: 60px 0;
}

.features .container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.feature-item {
    text-align: center;
    flex: 1;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.pricing {
    padding: 60px 0;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
    max-width: 360px; /* Align with feature cards */
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    position: relative; /* Needed for positioning the tag */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%; /* Make cards in the same row have the same height */
}

.card-link:hover .card {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.hidden {
    display: none;
}

.best-seller-tag {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffdd00;
    color: #000;
    padding: 8px 0;
    font-weight: bold;
    font-size: 0.9em;
    z-index: 1;
}

.card img {
    width: 100%;
}

.card-body {
    padding: 20px;
}

.card .price {
    font-size: 1.5em;
    margin: 10px 0;
}

.card .price s {
    color: #999;
}

.discount {
    background-color: #ffeb3b;
    color: #333;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: bold;
}

.new-price {
    font-size: 2em;
    font-weight: bold;
    margin-top: 5px;
}

footer {
    background-color: #111;
    color: #fff;
    padding: 40px 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .card-link {
        flex: none; /* Reset flex for mobile */
        width: 90%;
        margin: 0 auto;
    }

    body {
        text-align: center;
    }

    .hero .container,
    .features .container,
    .pricing-cards,
    footer .container {
        flex-direction: column;
        gap: 25px;
    }

    header .container {
        gap: 15px;
    }

    .logo {
        height: 30px;
    }

    nav {
        gap: 10px;
    }

    .btn-header {
        padding: 6px 15px;
        font-size: 0.9em;
    }

    .whatsapp-icon img {
        height: 30px;
        width: 30px;
        padding: 4px;
    }

    .hero {
        margin: 15px;
        padding: 40px 20px;
    }

    .hero-text h1 {
        font-size: 1.8em;
    }

    .hero-image img {
        max-width: 90%;
    }

    .features .container {
        gap: 30px;
    }

    .pricing-cards {
        gap: 30px;
    }

    .card {
        width: 100%;
    }

    nav {
        width: 100%;
    }

    nav a {
        margin: 0;
    }

    .footer-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
}

/* Product Page Styles */
.product-page-main {
    padding: 40px 20px;
}

.product-detail-view {
    padding-top: 40px;
    margin-top: 30px;
}

.product-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    max-width: 1100px;
}

.product-image-wrapper {
    flex: 1;
    max-width: 400px;
}

.product-image-wrapper img {
    width: 100%;
    border-radius: 15px;
}

.product-details {
    flex: 1;
    text-align: left;
}

.info-card {
    background-color: #bafcc4;
    border: 1px solid #99e6a7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.info-card p {
    margin: 0;
    font-weight: bold;
}

.product-details h1 {
    font-size: 1.6em;
    margin-top: 0;
    font-weight: normal;
}

.product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.product-price {
    font-size: 2em;
    font-weight: bold;
}

.product-price-original {
    text-decoration: line-through;
    color: #888;
    font-size: 1rem;
}

.product-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.tag {
    background-color: #eee;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9em;
    border: 1px solid #e0e0e0;
}

.included-section {
    background-color: #f0f0f0;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.included-section h3 {
    margin-top: 0;
    font-size: 1.2em;
}

.included-section ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.included-section li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start; /* Aligns icon to the top */
}

.included-section li::before {
    content: '';
    margin-right: 0;
    display: none; /* Hides the pseudo-element */
}

@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        align-items: center;
    }

    .product-details {
        text-align: center;
    }

    .product-image-wrapper {
        max-width: 80%;
        margin-bottom: 20px;
    }

    .product-price-wrapper {
        justify-content: center;
    }

    .product-tags {
        justify-content: center;
    }
}

#product-detail-view {
    margin-top: 30px;
    margin-bottom: 60px; /* Adds space above the footer */
}

.product-page-main + footer {
    background-color: #1a1a1a;
    color: #fff;
}
