:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #333;
    --muted-text-color: #6c757d;
    --border-radius: 8px;
    --shadow-light: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    padding-top: 80px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: blue(var(--primary-color), 10%);
}

h1, h2, h3, h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; font-weight: bold; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 1.75rem; }
h5 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: darken(var(--secondary-color), 10%);
    transform: translateY(-2px);
}

.btn-hero {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

.btn-hero:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
}

.header-content {
    display: flex;
    align-items: center;
}

.nav-and-toggle-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    margin: 0 20px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
}

.main-nav a {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.cart-link:hover {
    color: var(--primary-color);
}
.main-header {
    background-color: rgb(7, 7, 29);
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Header actions (cart + user) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.cart-icon { font-size: 1.05rem; }
.cart-badge {
    background: #59caff;
    color: #072a40;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    font-weight: 800;
    min-width: 26px;
    text-align: center;
}
.user-info { color: #fff; display:flex; gap:0.5rem; align-items:center; font-weight:600; }
.user-email { color: #fff; margin-left:4px; }
.logout-link { color: #ffd; margin-left:6px; text-decoration:underline; }
.login-link { color: #fff; background: linear-gradient(90deg,#59caff,#4679b8); padding:0.45rem 0.7rem; border-radius:8px; text-decoration:none; font-weight:700; }


.logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.hero-section {
    background-color: #6c757d;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding: 2rem 0;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #f1f1f1;
}
.hero-content a{
background-color: #59caff;
}
.hero-content a:hover{
    background-color:#4679b8 ;
    color: black;
}

.products-section {
    padding: 5rem 0;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-bottom: 1px solid #eee;
    padding: 10px;
}

.product-card .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--muted-text-color);
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #59caff;
    margin-top: auto;
    margin-bottom: 1rem;
}

.product-card .btn {
    width: 100%;
    background-color: #59caff;
}

.about-section {
    background-color: #cfcfcf;
    padding: 5rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    max-width: 100%;
    border-radius: 85% 110% 25% 75% ;
    box-shadow: 0 4px 8px rgba(0, 174, 255, 0.849);
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1rem;
}

.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--muted-text-color);
}

.contact-section {
    padding: 5rem 0;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.flash-success { background: #e6ffed; color: #0f5132; border: 1px solid #b7ebc6; }
.flash-error { background: #fff4f4; color: #700; border: 1px solid #f5c2c2; }

/* Contact flash common styling */
.contact-flash {
    display: flex; /* block-level flex so margin:auto centers the box */
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    font-weight: 900;
    width: auto;
    max-width: 700px; /* match contact form width */
    margin: 0.5rem auto 1.25rem auto; /* sits just below the heading */
    text-align: center;
    box-sizing: border-box;
    font-size: 1.35rem; /* larger, more prominent */
    box-shadow: 0 10px 30px rgba(15,81,50,0.09);
    border-width: 2px;
    animation: contact-pop 360ms cubic-bezier(.2,.9,.2,1);
}
.contact-flash .icon {
    width: 44px;
    height: 44px;
    display: inline-block;
    flex: 0 0 44px;
}
.contact-flash.flash-success { color: #0f5132; border-color: #b7ebc6; background: linear-gradient(180deg,#f3fff4,#e6ffed); }
.contact-flash.flash-error { color: #7a1f1f; border-color: #f5c2c2; background: linear-gradient(180deg,#fff5f5,#fff4f4); }

@keyframes contact-pop {
    0% { transform: translateY(6px) scale(.98); opacity: 0; }
    60% { transform: translateY(-4px) scale(1.02); opacity: 1; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 991px) {
    .contact-flash { font-size: 1.2rem; padding: 1rem 1.1rem; max-width: 92%; }
    .contact-flash .icon { width: 36px; height: 36px; flex: 0 0 36px; }
}

@media (max-width: 767px) {
    .contact-flash { font-size: 1.05rem; padding: 0.9rem 0.9rem; max-width: 95%; }
    .contact-flash .icon { width: 28px; height: 28px; flex: 0 0 28px; }
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
    background-color: #59caff;
}
.btn-submit:hover{
    background-color: #4679b8;
    color: black;
}

.main-footer {
    background-color: rgb(7, 7, 29);
    color: #fff;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-info h3, .footer-links h3, .footer-social h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #adb5bd;
    padding: 0.3rem 0;
    display: block;
}

.footer-links a:hover {
    color: #59caff;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.social-icons a:hover {
    color: #59caff;
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 1rem;
    color: #adb5bd;
    font-size: 0.9rem;
}

.heart-icon {
    color: #dc3545;
}

.btn-hero:hover,
.btn-primary:hover {
    filter: brightness(85%);
}

@media (max-width: 991px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .hero-content h1 { font-size: 3rem; }
    .hero-content p { font-size: 1.1rem; }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text h2 {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        text-align: center;
    }
}

@media (max-width: 767px) {
    body {
        padding-top: 70px;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; margin-bottom: 2rem; }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    .btn-hero { padding: 0.8rem 1.5rem; font-size: 1rem; }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: var(--shadow-light);
    }

    .main-nav.active {
        max-height: 300px;
        transition: max-height 0.3s ease-in;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 1rem 0;
        width: 100%;
    }

    .main-nav li {
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        padding: 0.8rem 0;
        display: block;
        width: 100%;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        gap: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social .social-icons {
        justify-content: center;
        display: flex;
    }
}
.carousel-section {
    padding: 2.5rem 0 4rem;
    background-color: #eef6fb;
}
.carousel {
    position: relative;
    max-width: 480px; /* reducido para imágenes más pequeñas y nítidas */
    margin: 0 auto;
}
.carousel-track-wrapper {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    background: transparent; /* transparent so no white bars appear when image aspect ratio differs */
    padding: 0;
    display: block;
}
.carousel-track {
    display: flex;
    list-style: none;
    transition: transform 0.5s ease;
    padding: 0;
    margin: 0;
}
.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel-slide img {
    width: 100%;
    height: auto; /* image defines the height */
    object-fit: contain; /* show whole image */
    display: block;
    border-radius: 10px; /* round image corners to match wrapper */
    background: transparent;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 0.6rem 0.9rem;
    font-size: 1.6rem;
    border-radius: 6px;
    cursor: pointer;
    z-index: 5;
}
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
}
.carousel-dots button {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    background: #cfd8dc;
    cursor: pointer;
}
.carousel-dots button.active { background: #59caff; }

@media (max-width: 991px) {
    .carousel { max-width: 420px; }
}

@media (max-width: 767px) {
    .carousel { max-width: 280px; }
}
.privacy-header {
    background-color: var(--dark-color);
    color: #fff;
    padding: 3rem 0 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    margin-top: -80px;
}

.privacy-header h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.privacy-header p {
    font-size: 1.1rem;
    color: #a0a0a0;
}

.privacy-content {
    padding: 3rem 0;
    line-height: 1.8;
    max-width: 900px;
}

.privacy-section {
    background-color: #fff;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.privacy-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 0.8rem;
    text-align: left;
}

.privacy-section h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.privacy-section p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.privacy-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.privacy-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

.privacy-section a:hover {
    color: darken(var(--primary-color), 15%);
}

.privacy-footer {
    background-color: #343a40;
    color: #adb5bd;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 767px) {
    .privacy-header h1 {
        font-size: 2.5rem;
    }

    .privacy-header p {
        font-size: 0.9rem;
    }

    .privacy-content {
        padding: 2rem 0;
    }

    .privacy-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.7rem;
    }

    .privacy-section h3 {
        font-size: 1.2rem;
    }
}
.age-gate-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .age-gate-content {
            background-color: #fff;
            padding: 30px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            max-width: 400px;
            margin: 20px;
            position: relative;
        }

        .age-gate-content h2 {
            margin-top: 0;
            color: #333;
            font-size: 1.8em;
            margin-bottom: 15px;
        }

        .age-gate-content p {
            color: #555;
            font-size: 1.1em;
            line-height: 1.5;
            margin-bottom: 25px;
        }

        .age-gate-buttons button {
            background-color: #4CAF50;
            color: white;
            padding: 12px 25px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.1em;
            margin: 0 10px;
            transition: background-color 0.3s ease;
        }

        .age-gate-buttons button:hover {
            background-color: #45a049;
        }

        .age-gate-buttons button.decline {
            background-color: #f44336;
        }

        .age-gate-buttons button.decline:hover {
            background-color: #da190b;
        }

        body.age-restricted {
            overflow: hidden;
        }
        body.age-restricted .main-header,
        body.age-restricted main,
        body.age-restricted footer {
            filter: blur(5px);
            pointer-events: none;
        }
        body.age-restricted .age-gate-overlay {
            display: flex;
        }
        #cart-count {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    padding: 0.2em 0.6em;
    font-size: 0.8em;
    vertical-align: super;
    margin-left: 5px;
    min-width: 20px;
    text-align: center;
    display: inline-block;
}

        /* Ver carrito: centrar y mantener footer abajo */
        .page-wrapper {
            display: flex;
            flex-direction: column;
            min-height: calc(100vh - 80px); /* account for fixed header height */
        }
        .cart-main {
            flex: 1 0 auto;
            display: flex;
            align-items: center; /* vertical centering */
            justify-content: center; /* horizontal centering */
            padding: 2rem 1rem;
            background-color: transparent;
        }
        .cart-container {
            width: 100%;
            max-width: 920px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: var(--shadow-light);
            padding: 1rem 1.25rem;
        }

        /* ensure footer stays after content and at bottom when content is short */
        .main-footer {
            margin-top: auto;
        }

        /* Login page styles */
        .login-page {
            min-height: calc(100vh - 80px); /* account for fixed header */
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2.5rem 1rem;
            background: linear-gradient(180deg, rgba(6,21,45,0.9) 0%, rgba(3,37,65,0.8) 50%, rgba(6,21,45,0.95) 100%);
            color: #fff;
        }

        .login-card {
            width: 100%;
            max-width: 420px;
            background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
            border-radius: 14px;
            padding: 2.2rem;
            box-shadow: 0 10px 30px rgba(3,37,65,0.6);
            border: 1px solid rgba(255,255,255,0.06);
            backdrop-filter: blur(6px) saturate(120%);
            -webkit-backdrop-filter: blur(6px) saturate(120%);
            text-align: center;
        }

        .login-logo {
            width: 92px;
            height: 92px;
            margin: 0 auto 0.6rem auto;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.14), rgba(255,255,255,0.03));
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid rgba(255,255,255,0.06);
        }

        .login-logo img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }

        .login-card h2 {
            margin: 0.5rem 0 0.6rem 0;
            font-size: 1.4rem;
            color: #f7fbff;
        }

        .login-card p.lead {
            margin-bottom: 1.25rem;
            color: rgba(255,255,255,0.78);
            font-size: 0.95rem;
        }

        .login-form .form-group { text-align: left; margin-bottom: 1rem; }
        .login-form label { display:block; margin-bottom:0.45rem; color: rgba(255,255,255,0.85); font-weight:600; }
        .login-form input[type="email"], .login-form input[type="password"] {
            width: 100%;
            padding: 0.85rem 0.95rem;
            border-radius: 10px;
            border: 1px solid rgba(255,255,255,0.09);
            background: rgba(255,255,255,0.03);
            color: #fff;
            font-size: 0.98rem;
            transition: box-shadow 160ms ease, border-color 160ms ease, transform 140ms ease;
        }
        .login-form input::placeholder { color: rgba(255,255,255,0.45); }
        .login-form input:focus {
            outline: none;
            border-color: rgba(89,202,255,0.95);
            box-shadow: 0 6px 20px rgba(89,202,255,0.08);
            transform: translateY(-1px);
        }

        .btn-login {
            width: 100%;
            padding: 0.9rem;
            border-radius: 10px;
            background: linear-gradient(90deg, #59caff 0%, #4679b8 100%);
            color: #072a40;
            font-weight: 700;
            font-size: 1rem;
            border: none;
            cursor: pointer;
            box-shadow: 0 8px 18px rgba(70,121,184,0.18);
            transition: transform 140ms ease, box-shadow 140ms ease, filter 120ms;
        }
        .btn-login:hover { transform: translateY(-3px); filter:brightness(1.03); box-shadow: 0 12px 30px rgba(70,121,184,0.2); }

        .login-foot { margin-top: 0.9rem; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
        .login-foot a { color: #bfefff; text-decoration: underline; }

        @media (max-width: 480px) {
            .login-card { padding: 1.4rem; border-radius: 12px; }
            .login-logo { width: 76px; height: 76px; }
            .login-card h2 { font-size: 1.15rem; }
        }

        /* subtle entrance */
        .login-card { animation: cardDrop 420ms cubic-bezier(.15,.9,.24,1); }
        @keyframes cardDrop {
            0% { transform: translateY(8px) scale(.995); opacity: 0; }
            60% { transform: translateY(-6px) scale(1.005); opacity: 1; }
            100% { transform: translateY(0) scale(1); opacity: 1; }
        }

        /* Cart styles - estética moderna */
        .cart-container {
            max-width: 960px;
            margin: 0 auto;
            padding: 1.25rem;
        }

        .cart-empty { text-align: center; padding: 2rem 1rem; color: rgba(0,0,0,0.55); background: linear-gradient(180deg,#fff,#fbfdff); border-radius: 10px; box-shadow: var(--shadow-light); }

        .cart-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0 12px;
        }
        .cart-table thead th {
            text-align: left;
            font-weight: 700;
            color: var(--dark-color);
            padding: 0.6rem 0.8rem;
            font-size: 0.95rem;
        }
        .cart-table tbody tr {
            background: #fff;
            box-shadow: 0 6px 18px rgba(16,24,40,0.04);
            border-radius: 10px;
            vertical-align: middle;
        }
        .cart-table td {
            padding: 0.85rem 0.9rem;
            vertical-align: middle;
        }

        .product-cell { display: flex; align-items: center; gap: 0.9rem; }
        .product-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; box-shadow: 0 6px 18px rgba(15,81,50,0.04); border: 1px solid rgba(0,0,0,0.03); }
        .product-info { display:flex; flex-direction:column; }
        .product-info .name { font-weight:700; color:var(--dark-color); }
        .product-info .meta { font-size:0.9rem; color:var(--muted-text-color); }

        .price-cell, .subtotal-cell { text-align: center; font-weight:700; color: #59caff; }

        .qty-cell { text-align: center; }
        .qty-form input[type="number"] { width:70px; padding:0.45rem 0.55rem; border-radius:8px; border:1px solid #e6eef6; }
        .qty-form .btn { margin-left:0.5rem; padding:0.45rem 0.6rem; font-size:0.9rem; }

        .actions-cell { text-align: center; }
        .actions-cell .btn-danger { background: linear-gradient(90deg,#ffdede,#ffbdbd); color:#7a1f1f; border: none; padding:0.5rem 0.65rem; border-radius:8px; }

        .cart-footer {
            display: flex;
            gap: 1rem;
            align-items: center;
            justify-content: space-between;
            margin-top: 1.25rem;
            flex-wrap: wrap;
        }
        .cart-footer .left { display:flex; gap:0.75rem; align-items:center; }
        .cart-footer .total { font-size:1.25rem; font-weight:800; color:var(--dark-color); }
        .cart-footer .checkout-btn .btn-primary { padding:0.85rem 1.1rem; border-radius:10px; }

        /* Responsive: stack rows on small screens */
        @media (max-width: 720px) {
            .cart-table thead { display:none; }
            .cart-table tbody tr { display:flex; flex-direction:column; gap:0.6rem; padding:0.9rem; }
            .cart-table td { display:flex; justify-content:space-between; align-items:center; }
            .product-cell { gap:0.6rem; }
            .price-cell, .subtotal-cell { text-align:right; }
            .cart-footer { flex-direction:column; align-items:stretch; }
        }

        /* small helpers */
        .cart-badge { background: #59caff; color: #072a40; padding: 0.25rem 0.6rem; border-radius: 999px; font-weight:700; }

