/* General Responsive Enhancements */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Header Adjustments */
@media (max-width: 768px) {
    header .container {
        justify-content: space-between; /* Ensures logo and nav are on opposite ends */
        align-items: center;
    }

    nav {
        display: flex;
        align-items: center;
        gap: 10px; /* Adjusts space between buttons */
    }

    .btn-header {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

/* Hero Section Typography */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.6em;
    }

    .hero-text p {
        font-size: 1em;
    }
}

/* Features Section Icons */
@media (max-width: 768px) {
    .feature-icon {
        font-size: 2em;
    }
}

/* Pricing Cards Consistency */
@media (max-width: 768px) {
    .pricing-cards {
        gap: 20px;
    }

    .card-link {
        width: 100%;
    }
}

/* Product Detail View Image */
@media (max-width: 768px) {
    .product-image-wrapper {
        max-width: 100%;
    }
}

/* Product Page Card Style */
#product-detail-view {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 40px auto;
    padding: 30px 0;
    max-width: 1200px;
}

/* Product Detail View Enhancements */
@media (max-width: 768px) {
    .product-details {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center align all items */
        width: 100%;
    }

    .product-price-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 5px; /* Reduce gap between prices */
        margin: 15px 0;
    }

    .product-price {
        font-size: 2.5em; /* Make the main price bigger */
    }

    .product-details .rating {
        order: -1; /* Move rating below the title */
        margin-bottom: 15px;
    }

    .product-details .btn {
        width: 100%;
        max-width: 400px; /* Limit button width */
        box-sizing: border-box; /* Include padding in width calculation */
        margin: 20px 0;
    }

    .product-tags {
        margin: 15px 0;
    }
}

.whatsapp-delivery-info {
    font-size: 0.9em;
    font-weight: bold;
    color: #333;
    margin: 15px 0;
}

/* Footer Alignment */
@media (max-width: 768px) {
    footer .container {
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        margin-bottom: 20px;
    }
}
