/* --- Global Styles & Variables --- */
:root {
    --turquoise: #00B8B8;
    --white: #FFFFFF;
    --light-gray: #F4F4F4;
    --dark-gray: #333333;
    --font-family: 'Poppins', sans-serif;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

/* --- Header & Navigation --- */
#main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#main-header.scrolled {
    box-shadow: var(--box-shadow);
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--turquoise);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--turquoise);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--turquoise);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- Buttons --- */
.cta-button {
    background-color: var(--turquoise);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: scale(1.05);
    background-color: #009a9a;
}

.whatsapp-btn i {
    margin-right: 8px;
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--dark-gray);
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--turquoise);
    margin-bottom: 10px;
}

.hero-content .slogan {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Animated Background Shapes */
.background-shapes div {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 184, 184, 0.15);
    animation: float 25s infinite linear;
}
.background-shapes div:nth-child(1) { width: 80px; height: 80px; left: 10%; bottom: 15%; animation-duration: 20s; }
.background-shapes div:nth-child(2) { width: 40px; height: 40px; left: 30%; top: 20%; animation-duration: 15s; }
.background-shapes div:nth-child(3) { width: 120px; height: 120px; left: 70%; top: 30%; animation-duration: 30s; }
.background-shapes div:nth-child(4) { width: 60px; height: 60px; left: 85%; bottom: 40%; animation-duration: 18s; }
.background-shapes div:nth-child(5) { width: 50px; height: 50px; left: 5%; top: 50%; animation-duration: 22s; }
.background-shapes div:nth-child(6) { width: 90px; height: 90px; left: 50%; bottom: 10%; animation-duration: 28s; }

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-1000px) rotate(720deg); }
}

/* --- Categories Section --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--white);
    padding: 40px 30px;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--turquoise);
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- Products Section --- */
#products {
    background-color: var(--light-gray);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-10px);
}
.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.product-card h3 {
    font-size: 1.2rem;
    margin: 15px 0 5px;
}
.product-card .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--turquoise);
    margin-bottom: 15px;
}
.add-to-cart-btn {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: var(--turquoise);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
.add-to-cart-btn:hover {
    background-color: #009a9a;
}

/* --- About Section --- */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-text, .about-image {
    flex: 1;
}
.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
}
.values {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1.1rem;
}
.values div i {
    color: var(--turquoise);
    margin-right: 10px;
}

/* --- Delivery Section --- */
#delivery {
    background-color: var(--light-gray);
}
.delivery-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}
.step {
    padding: 30px;
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--turquoise);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--turquoise);
}
.step h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.contact-info ul {
    list-style: none;
    margin-top: 20px;
}
.contact-info li {
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.contact-info li i {
    color: var(--turquoise);
    width: 30px;
}
.social-links {
    margin-top: 25px;
}
.social-links a {
    color: var(--dark-gray);
    font-size: 1.5rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--turquoise);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: 2px solid var(--turquoise);
    border-color: transparent;
}
.contact-form .cta-button {
    align-self: flex-start;
}

/* --- Footer --- */
footer {
    background-color: var(--dark-gray);
    color: var(--light-gray);
    text-align: center;
    padding: 20px 0;
}

/* --- Animations on Scroll --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .hamburger {
        display: block;
        z-index: 1002;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 60%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out;
    }
    .nav-links.active {
        right: 0;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content .slogan {
        font-size: 1.2rem;
    }
    .about-content, .contact-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }
    .about-image {
        margin-top: 30px;
    }
    .contact-form .cta-button {
        align-self: center;
    }
}/* --- (Keep all previous styles from the first answer) --- */

/* ... (all styles from before) ... */

/* --- NEW: Cart Icon and Panel Styles --- */
#cart-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--turquoise);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1001;
    transition: transform 0.3s ease;
}

#cart-icon:hover {
    transform: scale(1.1);
}

#cart-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4d4d;
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

#cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.15);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

#cart-panel.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
}
.cart-header h2 {
    font-size: 1.5rem;
}
#close-cart-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

#cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart-message {
    text-align: center;
    margin-top: 50px;
    color: #888;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}
.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}
.cart-item-info {
    flex-grow: 1;
}
.cart-item-info h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}
.cart-item-info .price {
    color: var(--turquoise);
    font-weight: 600;
}
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.quantity-btn {
    background: var(--light-gray);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}
.remove-item-btn {
    background: none;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
    font-size: 1.1rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--light-gray);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}
#checkout-whatsapp-btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
}
#checkout-whatsapp-btn i {
    margin-left: 8px;
}

/* --- Responsive Design Update for Cart --- */
@media (max-width: 768px) {
    /* ... (previous responsive styles) ... */
    
    #cart-panel {
        width: 90%;
    }
}