:root {
    --primary-color: #008080; /* Teal */
    --secondary-color: #20b2aa; /* Light Sea Green */
    --accent-color: #ff6f61; /* Coral for CTA */
    --dark-color: #333;
    --light-color: #f4f4f4;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.logo .highlight {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 4rem 1rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.sharm-text {
    color: #ffeb3b;
    font-style: italic;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: scale(1.05);
    background: #e65b50;
}

/* Products Section */
.products {
    padding: 4rem 5%;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.category {
    color: #777;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.badge {
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-image {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price {
    font-size: 1.5rem;
    color: var(--dark-color);
    font-weight: 700;
    margin: 1rem 0;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 1.5rem;
}

.features li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.stock-warning {
    color: #e65b50;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.buy-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.buy-btn:hover {
    background: #006666;
}

/* Details Section */
.details {
    padding: 4rem 5%;
    background: #e0f2f1;
    text-align: center;
}

.details-content h3 {
    margin-bottom: 1rem;
}

.details-content > p {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.feature-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    width: 250px;
    box-shadow: var(--shadow);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Reviews */
.reviews {
    padding: 4rem 5%;
    text-align: center;
    background: var(--white);
}

.review-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    max-width: 350px;
    text-align: left;
}

.stars {
    color: #fbc02d;
    margin-bottom: 0.5rem;
}

.user {
    margin-top: 1rem;
    font-weight: 600;
    color: #555;
    font-size: 0.9rem;
}

/* Footer */
.coffee-section {
    padding: 4rem 5%;
    background-color: #fff8e1; /* Light yellow for coffee vibe */
    text-align: center;
    border-top: 1px solid #eee;
}

.coffee-content h3 {
    margin-bottom: 1rem;
    color: #6d4c41; /* Coffee brown */
}

.coffee-content > p {
    margin-bottom: 2rem;
    color: #5d4037;
}

.support-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.support-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 300px;
    text-align: center;
    border: 1px solid #ffe0b2;
}

.support-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.support-card h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.upi-id {
    background: #f4f4f4;
    padding: 0.5rem;
    border-radius: 5px;
    margin: 1rem 0;
    font-family: monospace;
    font-size: 1.1rem;
    color: #333;
    border: 1px dashed #ccc;
}

.copy-btn, .paypal-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    width: 100%;
}

.copy-btn {
    background: var(--primary-color);
    color: var(--white);
}

.copy-btn:hover {
    background: #006666;
}

.paypal-btn {
    background: #0070ba; /* PayPal Blue */
    color: var(--white);
}

.paypal-btn:hover {
    background: #005ea6;
}

footer {
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 1rem;
}

.disclaimer {
    color: #aaa;
    font-size: 0.8rem;
    margin-top: 1rem;
    border: 1px dashed #555;
    padding: 0.5rem;
    display: inline-block;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: var(--white);
    margin: 15% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: slideIn 0.4s;
}

@keyframes slideIn {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

.close, .close-checkout {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
}

.close:hover, .close-checkout:hover {
    color: var(--dark-color);
}

/* Loader */
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Checkout Form */
.payment-options {
    text-align: left;
    margin: 1.5rem 0;
}

.radio-container {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 1rem;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 5px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 50%;
}

.radio-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.radio-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.pay-btn {
    width: 100%;
    padding: 0.8rem;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
}

.pay-btn:hover {
    background: #45a049;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none; /* Simple hiding for mobile for this demo */
    }
}
