/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* Import variables and common styles from home.css */
@import 'home.css';

/* Cart Page Styles - Modern Mountain Theme */
:root {
    --primary: #4A90E2;
    --accent: #E9408F;
    --snow: #F8F9FA;
    --dark: #1A1A2E;
    --darker: #16213E;
    --text: #E8E8E8;
    --text-light: #B8B8B8;
    --dark-surface: #1E1E1E;
    --success: #28a745;
    --error: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --gradient-primary: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    --gradient-accent: linear-gradient(135deg, #E9408F 0%, #E55A8F 100%);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 12px 35px rgba(0, 0, 0, 0.2);
    --border-light: 1px solid rgba(255, 255, 255, 0.1);
    --border-medium: 1px solid rgba(255, 255, 255, 0.15);
}

/* Logo link - remove underline */
.logo {
    text-decoration: none;
}

/* Cart Hero Section */
.cart-hero {
    height: 50vh;
    background-image: url('../images/mountains2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
    overflow: hidden;
}

.cart-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 46, 0.8) 0%,
        rgba(22, 33, 62, 0.7) 50%,
        rgba(18, 18, 18, 0.9) 100%
    );
    z-index: 1;
}

.cart-hero .hero-content {
    position: relative;
    z-index: 2;
    color: var(--snow);
    padding: 0 20px;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-hero .hero-logo {
    margin-bottom: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cart-hero .hero-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
}

.cart-hero .hero-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

.cart-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.cart-hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Cart Container Styles */
.cart-container {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    border: none;
    background: none;
}

.cart-header {
    text-align: center;
    margin-bottom: 3rem;
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    border: var(--border-light);
    backdrop-filter: blur(10px);
}

.cart-header h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cart-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

/* Empty Cart Styles */
.empty-cart {
    text-align: center;
    padding: 6rem 2rem;
    background: var(--dark-surface);
    border-radius: 25px;
    box-shadow: var(--shadow-medium);
    border: var(--border-light);
    position: relative;
    overflow: hidden;
}

.empty-cart::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.empty-cart .empty-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0.5;
}

.empty-cart p {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.empty-cart .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 3rem;
    background: var(--gradient-primary);
    color: var(--snow);
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.empty-cart .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #357ABD 0%, #4A90E2 100%);
}

.empty-cart .btn:active {
    transform: translateY(-1px);
}

/* Cart Items Styles */
.cart-items {
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
    background: var(--dark-surface);
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: var(--border-light);
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary);
}

.cart-item:hover::before {
    transform: scaleY(1);
}

.cart-item:last-child {
    margin-bottom: 0;
}

.item-image {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--snow);
    padding: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
}

.item-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-item:hover .item-image::before {
    opacity: 1;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.cart-item:hover .item-image img {
    transform: scale(1.1) rotate(2deg);
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.item-details h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

.price {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price::before {
    content: '$';
    font-size: 1rem;
    opacity: 0.8;
}

.item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--dark);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: var(--border-light);
    box-shadow: var(--shadow-light);
}

.quantity-form label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quantity-form input[type="number"] {
    width: 60px;
    padding: 0.5rem;
    border: var(--border-light);
    border-radius: 8px;
    background: var(--dark-surface);
    color: var(--text);
    font-size: 1rem;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quantity-form input[type="number"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.quantity-form input[type="number"]::-webkit-outer-spin-button,
.quantity-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-update {
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--snow);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-update:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
    background: linear-gradient(135deg, #357ABD 0%, #4A90E2 100%);
}

.btn-update i {
    font-size: 0.8rem;
}

.remove-form {
    margin: 0;
}

.btn-remove {
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, var(--error), #c82333);
    color: var(--snow);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: var(--shadow-light);
}

.btn-remove:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #c82333, var(--error));
}

.btn-remove i {
    font-size: 0.9rem;
}

.item-total {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: right;
    padding: 1rem 1.5rem;
    background: var(--dark);
    border-radius: 12px;
    border: var(--border-light);
    box-shadow: var(--shadow-light);
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-total::before {
    content: '$';
    font-size: 1rem;
    opacity: 0.8;
    margin-right: 0.2rem;
}

/* Cart Summary Styles */
.cart-summary {
    background: var(--dark-surface);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: var(--shadow-medium);
    border: var(--border-light);
    position: relative;
    overflow: hidden;
}

.cart-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--dark);
    border-radius: 15px;
    border: var(--border-light);
    box-shadow: var(--shadow-light);
}

.total span:first-child {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    font-size: 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total span:last-child {
    font-family: 'Montserrat', sans-serif;
    color: var(--accent);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--accent), #E55A8F);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.total span:last-child::before {
    content: '$';
    font-size: 1.5rem;
    opacity: 0.8;
    margin-right: 0.3rem;
}

.cart-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cart-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.cart-actions .btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.cart-actions .btn:hover i {
    transform: translateX(3px);
}

.cart-actions .btn:first-child {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.cart-actions .btn:first-child:hover {
    background: var(--primary);
    color: var(--snow);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.cart-actions .btn-primary {
    background: var(--gradient-accent);
    color: var(--snow);
    border-color: var(--accent);
}

.cart-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #E55A8F 0%, #E9408F 100%);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-out;
}

.notification.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.notification.error {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* Mobile-specific notification styles */
@media (max-width: 768px) {
    .notification {
        text-align: center;
        width: 90%;
        max-width: 300px;
        padding: 12px 20px;
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .notification {
        width: 95%;
        max-width: 280px;
        padding: 10px 16px;
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* Burger Menu Styles */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 1100;
}

.burger span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 4px 0;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger.burger-active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.burger.burger-active span:nth-child(2) {
    opacity: 0;
}

.burger.burger-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Burger Menu */
    .burger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70vw;
        max-width: 320px;
        background: var(--dark-surface);
        box-shadow: -2px 0 12px rgba(0,0,0,0.2);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1050;
        display: flex;
    }
    
    .nav-links.nav-active {
        transform: translateX(0);
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        width: 100%;
        display: block;
        padding: 0.7rem 0;
    }
    
    nav {
        position: relative;
    }
    
    .nav-links {
        /* Remove display: none; so menu can slide in */
        display: flex !important;
    }
    
    /* Header and Navigation */
    header {
        padding: 0.5rem 2%;
    }
    
    nav {
        padding: 0.7rem 2%;
    }
    
    .logo img {
        height: 32px;
    }
    
    .logo span {
        font-size: 1.1rem;
    }
    
    /* Hero Section */
    .cart-hero {
        height: 60vh;
        margin-top: 55px;
        padding: 2rem 0.5rem;
    }
    
    .cart-hero .hero-content {
        max-width: 98vw;
        padding: 1rem 0.5rem;
    }
    
    .cart-hero .hero-logo img {
        height: 80px;
        width: auto;
    }
    
    .cart-hero h1 {
        font-size: 2.3rem;
        margin-bottom: 1rem;
        text-align: center;
        width: 100%;
        padding: 0 0.5rem;
        box-sizing: border-box;
    }
    
    /* Cart Container */
    .cart-container {
        margin-top: 2rem;
        padding: 0 1rem;
    }
    
    /* Cart Header */
    .cart-header {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .cart-header h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .cart-header p {
        font-size: 1rem;
    }
    
    /* Cart Items */
    .cart-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .item-image {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .item-details {
        align-items: center;
        text-align: center;
    }
    
    .item-details h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .item-controls {
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }
    
    .quantity-form {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .quantity-form label {
        font-size: 0.9rem;
    }
    
    .quantity-form input[type="number"] {
        width: 60px;
        font-size: 16px;
        padding: 0.5rem;
        text-align: center;
    }
    
    .btn-update {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-remove {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 200px;
    }
    
    .item-total {
        min-width: auto;
        padding: 0.8rem 1.2rem;
        font-size: 1.2rem;
    }
    
    /* Cart Summary */
    .cart-summary {
        padding: 2rem 1rem;
    }
    
    .total {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .total span:first-child {
        font-size: 1.5rem;
    }
    
    .total span:last-child {
        font-size: 2rem;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cart-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Empty Cart */
    .empty-cart {
        padding: 3rem 1rem;
        text-align: center;
    }
    
    .empty-cart .empty-icon {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .empty-cart p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .empty-cart .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Header and Navigation */
    .logo img {
        height: 28px;
    }
    
    .logo span {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .cart-hero {
        height: 50vh;
        margin-top: 50px;
        padding: 1.5rem 0.5rem;
    }
    
    .cart-hero .hero-logo img {
        height: 60px;
    }
    
    .cart-hero h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    /* Cart Container */
    .cart-container {
        margin-top: 1.5rem;
        padding: 0 0.8rem;
    }
    
    /* Cart Header */
    .cart-header {
        padding: 1.5rem 0.8rem;
    }
    
    .cart-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .cart-header p {
        font-size: 0.9rem;
    }
    
    /* Cart Items */
    .cart-item {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .item-image {
        width: 80px;
        height: 80px;
    }
    
    .item-details h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .price {
        font-size: 1rem;
    }
    
    .item-controls {
        gap: 0.8rem;
    }
    
    .quantity-form {
        max-width: 180px;
    }
    
    .quantity-form label {
        font-size: 0.85rem;
    }
    
    .quantity-form input[type="number"] {
        width: 50px;
        font-size: 16px;
        padding: 0.4rem;
    }
    
    .btn-update {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .btn-remove {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        max-width: 180px;
    }
    
    .item-total {
        padding: 0.6rem 1rem;
        font-size: 1.1rem;
    }
    
    /* Cart Summary */
    .cart-summary {
        padding: 1.5rem 0.8rem;
    }
    
    .total {
        margin-bottom: 1.5rem;
    }
    
    .total span:first-child {
        font-size: 1.3rem;
    }
    
    .total span:last-child {
        font-size: 1.8rem;
    }
    
    .cart-actions .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
    
    /* Empty Cart */
    .empty-cart {
        padding: 2rem 0.8rem;
    }
    
    .empty-cart .empty-icon {
        font-size: 3rem;
        margin-bottom: 1.2rem;
    }
    
    .empty-cart p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .empty-cart .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* iPhone SE and very small screens */
@media (max-width: 375px) {
    .cart-hero {
        height: 55vh;
        margin-top: 60px;
        padding: 2rem 0.5rem;
    }
    
    .cart-hero .hero-content {
        padding: 1.5rem 0.5rem;
    }
    
    .cart-hero .hero-logo img {
        height: 50px;
    }
    
    .cart-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .cart-container {
        margin-top: 1rem;
        padding: 0 0.5rem;
    }
    
    .cart-header {
        padding: 1.2rem 0.5rem;
    }
    
    .cart-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .cart-header p {
        font-size: 0.85rem;
    }
    
    .cart-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .item-image {
        width: 70px;
        height: 70px;
    }
    
    .item-details h3 {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 0.9rem;
    }
    
    .quantity-form {
        max-width: 160px;
    }
    
    .quantity-form input[type="number"] {
        width: 45px;
        padding: 0.3rem;
    }
    
    .btn-update,
    .btn-remove {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        max-width: 160px;
    }
    
    .item-total {
        padding: 0.5rem 0.8rem;
        font-size: 1rem;
    }
    
    .cart-summary {
        padding: 1.2rem 0.5rem;
    }
    
    .total span:first-child {
        font-size: 1.2rem;
    }
    
    .total span:last-child {
        font-size: 1.6rem;
    }
    
    .cart-actions .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .empty-cart {
        padding: 1.5rem 0.5rem;
    }
    
    .empty-cart .empty-icon {
        font-size: 2.5rem;
    }
    
    .empty-cart p {
        font-size: 1rem;
    }
    
    .empty-cart .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
} 

/* Cart Badge Styles - Minimalist & Clean */
.cart-link {
    position: relative;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -24px;
    background: var(--accent);
    color: var(--snow);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1;
    border-radius: 12px;
    border: 2px solid var(--dark-surface);
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.25);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

/* Badge states for different quantities */
.cart-badge[data-count="0"] {
    display: none;
}

.cart-badge[data-count="1"] {
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.25);
}

.cart-badge[data-count="2"],
.cart-badge[data-count="3"] {
    background: linear-gradient(135deg, var(--accent) 0%, #E55A8F 100%);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.3);
}

.cart-badge[data-count="4"],
.cart-badge[data-count="5"] {
    background: linear-gradient(135deg, var(--accent) 0%, #E9408F 100%);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.35);
}

.cart-badge[data-count="6"],
.cart-badge[data-count="7"],
.cart-badge[data-count="8"],
.cart-badge[data-count="9"] {
    background: linear-gradient(135deg, var(--accent) 0%, #E9408F 100%);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.4);
}

.cart-badge[data-count="10"] {
    background: linear-gradient(135deg, var(--accent) 0%, #E9408F 100%);
    box-shadow: 0 2px 8px rgba(233, 64, 143, 0.5);
    animation: pulse 2s infinite;
}

/* Pulse animation for high quantities */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(233, 64, 143, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(233, 64, 143, 0.6);
    }
}

/* Navigation Cart Link */
.nav-links a[href="cart.php"] {
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a[href="cart.php"]:hover {
    transform: translateY(-1px);
}

.nav-links a[href="cart.php"]:hover .cart-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(233, 64, 143, 0.4);
}

/* Responsive adjustments for cart badge */
@media (max-width: 768px) {
    .cart-badge {
        top: -6px;
        right: -20px;
        font-size: 0.8rem;
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
    }
}

@media (max-width: 480px) {
    .cart-badge {
        top: -5px;
        right: -18px;
        font-size: 0.75rem;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-width: 1.5px;
    }
}