:root {
    --primary-purple: #8A4F7D;
    --secondary-purple: #6B3E6E;
    --primary-teal: #20B2AA;
    --secondary-teal: #5F9EA0;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
    --gradient-1: linear-gradient(135deg, #8A4F7D, #20B2AA);
    --gradient-2: linear-gradient(45deg, rgba(138, 79, 125, 0.8), rgba(32, 178, 170, 0.8));
    --glass-bg: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-gray);
    background: linear-gradient(135deg, #2C0B4F, #1A5F7A);
    min-height: 100vh;
}

/* Header & Navigation */
header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo h1 {
    color: white;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

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

.nav-links li:last-child {
    margin-left: auto;
}

.nav-links .fa-shopping-cart {
    font-size: 1.5rem;
    color: white;
    position: relative;
    transition: transform 0.2s;
}

.nav-links .fa-shopping-cart:hover {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-teal);
    color: white;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
    min-width: 20px;
    text-align: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-purple));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    background: var(--gradient-2),
                url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #8A4F7D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Products Section */
#products {
    padding: 6rem 2rem;
    background: transparent;
}

.category-section {
    margin: 4rem 0;
}

.category-title {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.product-card h3 {
    color: white;
    margin: 1rem 0;
    font-size: 1.25rem;
}

.product-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-teal);
    margin: 0.5rem 0;
    text-shadow: 0 0 10px rgba(32, 178, 170, 0.3);
}

.add-to-cart {
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-teal));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.3);
}

/* Contact Section */
#contact {
    padding: 4rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 10px rgba(32, 178, 170, 0.3);
}

.contact-form button {
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-teal));
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.3);
}

/* Footer */
footer {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    margin: 0 1rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-teal);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Notification Styling */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideIn 0.3s ease-out;
    z-index: 1000;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Cart Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1001;
}

.modal-content {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 400px;
    background: linear-gradient(135deg, rgba(44, 11, 79, 0.95), rgba(26, 95, 122, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--primary-teal);
}

.cart-items {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 1rem;
    object-fit: cover;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--primary-teal);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    background: #f0f0f0;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity {
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: #ff4757;
}

.cart-summary {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-teal));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 178, 170, 0.3);
}

/* Cart Icon Badge */
.fa-shopping-cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-teal);
    color: white;
    font-size: 0.7rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
    }
}

/* Cart Page Styles */
.cart-page {
    padding: 6rem 2rem 2rem;
    min-height: calc(100vh - 200px);
}

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

.cart-container h1 {
    color: #FF00FF;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
}

.cart-items-list {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem;
    color: #FF00FF;
}

.cart-page-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #FF00FF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cart-item-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #FF00FF;
}

.cart-item-price {
    color: #FF00FF;
    font-size: 1.1rem;
    font-weight: 600;
}

.quantity-display {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
    color: #FF00FF;
}

.cart-sidebar {
    position: sticky;
    top: 100px;
}

.order-summary {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem;
    color: #FF00FF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.order-summary h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #FF00FF;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #FF00FF;
}

.summary-item.total {
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: none;
    margin-top: 1rem;
    color: #FF00FF;
}

.continue-shopping {
    display: block;
    text-align: center;
    color: #FF00FF;
    text-decoration: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.empty-cart {
    text-align: center;
    color: #FF00FF;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.empty-cart h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #FF00FF;
}

.empty-cart p {
    margin-bottom: 2rem;
    color: #FF00FF;
}

.remove-item {
    background: none;
    border: none;
    color: #ff6b6b;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: #ff4757;
}

@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-page-item {
        grid-template-columns: 80px 1fr;
    }
    
    .cart-item-controls {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

/* Cart Item Images */
.cart-page-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-item img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-right: 1rem;
    object-fit: cover;
}

/* Mascot Styles */
.mascots {
    position: relative;
    height: 120px;
    margin-bottom: 2rem;
    overflow: visible;
}

.capy-mascot,
.cat-mascot {
    position: absolute;
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.capy-mascot {
    left: 20%;
    transform: translateX(-50%) rotate(-5deg);
}

.cat-mascot {
    right: 20%;
    transform: translateX(50%) rotate(5deg);
}

.capy-mascot:hover,
.cat-mascot:hover {
    transform: translateX(-50%) rotate(-5deg) scale(1.1);
    z-index: 1;
}

.cat-mascot:hover {
    transform: translateX(50%) rotate(5deg) scale(1.1);
}

@media (max-width: 768px) {
    .mascots {
        height: 80px;
    }
    
    .capy-mascot,
    .cat-mascot {
        width: 80px;
        height: 80px;
    }
    
    .capy-mascot {
        left: 30%;
    }
    
    .cat-mascot {
        right: 30%;
    }
}

/* Product Details Page */
.product-details {
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-info {
    color: white;
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-info .description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-info .price {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-teal);
    margin-bottom: 2rem;
}

.options-container {
    margin-bottom: 2rem;
}

.product-select {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.quantity-container {
    margin-bottom: 2rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    background: var(--primary-teal);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#quantity {
    width: 60px;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-teal));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.2s;
}

.add-to-cart-btn:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .product-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
