* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
}

.nav-icons a {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-icons a:hover {
    color: #3498db;
}

/* Cart Icon Styles */
.cart-icon {
    position: relative;
    display: inline-block;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
}

.cart-icon:hover .cart-count {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(231, 76, 60, 0.4);
}

/* Cart Section Styles */
.cart-section {
    padding: 8rem 5% 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cart-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin: 0;
    position: relative;
}

.cart-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #3498db, #2ecc71);
    border-radius: 2px;
}

.continue-shopping {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.continue-shopping:hover {
    color: #2980b9;
    transform: translateX(-5px);
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Cart Items Styles */
.cart-items {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    padding: 10px;
}

.item-details h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    color: #2c3e50;
}

.item-price {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 1rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 2px solid #3498db;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #3498db;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.1);
}

.quantity-btn:hover {
    background: #3498db;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.2);
}

.quantity-input {
    width: 60px;
    height: 35px;
    text-align: center;
    border: 2px solid #3498db;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(52, 152, 219, 0.1);
}

.quantity-input:focus {
    outline: none;
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

.item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
}

.item-total p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e74c3c;
    margin: 0;
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 0.8rem;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(231, 76, 60, 0.1);
}

.remove-item:hover {
    background: #e74c3c;
    color: white;
    transform: rotate(90deg);
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.2);
}

.remove-item i {
    font-size: 1.2rem;
}

/* Cart Summary Styles */
.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid rgba(52, 152, 219, 0.1);
    height: fit-content;
}

.cart-summary h2 {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 0.8rem;
}

.cart-summary h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3498db;
}

.summary-details {
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #666;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
}

.checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

.checkout-btn:hover::before {
    opacity: 1;
}

.checkout-btn span {
    position: relative;
    z-index: 2;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2ecc71;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-content i {
    font-size: 1.2rem;
}

/* Empty Cart Message */
.empty-cart {
    text-align: center;
    padding: 2rem;
    color: #7f8c8d;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 4rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3498db;
}

.footer-section p {
    color: #ecf0f1;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
}

.social-links a:hover {
    color: #3498db;
    background: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cart-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .cart-item {
        grid-template-columns: 1fr 2fr;
    }
    
    .item-total {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        margin-top: 1rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .cart-section {
        padding: 6rem 3% 3rem;
    }
    
    .cart-header h1 {
        font-size: 2rem;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .item-image img {
        height: 200px;
    }
    
    .quantity-control {
        justify-content: center;
    }
    
    .item-total {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cart-header h1 {
        font-size: 1.8rem;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
    }
    
    .item-image {
        margin: 0 auto;
    }
    
    .quantity-control {
        justify-content: center;
    }
    
    .item-total {
        grid-column: 1;
        justify-content: center;
        gap: 1rem;
    }
} /* Nav Icons Styles */
#searchToggle {
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    cursor: pointer;
    z-index: 1001;
}

#searchToggle:hover {
    color: #3498db;
}