:root {
    --primary-color: #1c1c1c;
    --primary-light: #333333;
    --secondary-color: #d4af37;
    --accent-color: #f4a2b6; /* Striking but subtle pastel pink */
    --bg-color: #fdf8f9; /* Soft pastel background */
    --text-color: #1a1a1a;
    --white: #ffffff;
    --shadow: 0 8px 24px rgba(28, 28, 28, 0.08);
    --shadow-hover: 0 16px 40px rgba(212, 175, 55, 0.15); /* Tinted gold shadow */
    --radius: 16px; /* Slightly more rounded for modern feel */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

/* --- Pantalla de Inicio --- */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, #333333 0%, #1c1c1c 100%);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.welcome-model-img {
    position: absolute;
    left: 50%;
    bottom: 12%;
    height: 88vh;
    width: auto;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, 40px);
    transition: all 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.5));
    -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 88%);
    mask-image: linear-gradient(to bottom, black 55%, transparent 88%);
}

.welcome-screen:not(.hidden) .welcome-model-img {
    opacity: 0.5;
    transform: translate(-50%, 0);
}

@media (max-width: 768px) {
    .welcome-model-img {
        height: 60vh;
        bottom: 25%;
        opacity: 0.4 !important;
    }
}

.welcome-screen.hidden {
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0);
}

.welcome-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    position: relative;
    z-index: 10;
}

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

@keyframes logoFadeBlur {
    0% { 
        opacity: 0; 
        transform: translateY(30px); 
        filter: blur(15px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
        filter: blur(0);
    }
}

.welcome-logo {
    width: 350px;
    max-width: 80vw;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
    opacity: 0;
    animation: 
        logoFadeBlur 2s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s forwards,
        floatLogo 4s ease-in-out 2.5s infinite;
}

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

.welcome-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 4.5rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: #fdf5e6;
}

.welcome-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    font-weight: 300;
    color: #e0e0e0;
    opacity: 0;
    animation: contentFadeSimple 1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.2s forwards;
}

.welcome-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 25px rgba(212, 163, 115, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: contentFadeSimple 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s forwards;
}

.welcome-btn i {
    transition: transform 0.3s ease;
}

.welcome-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
    background-color: #bfa032;
}

.welcome-btn:hover i {
    transform: translateX(5px);
}



/* Navbar & Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adjusted for social links on right */
    gap: 1.5rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-nav {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-nav:hover {
    transform: scale(1.05);
}

.nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fdf8f9 0%, #f4ebeb 50%, #fdf8f9 100%);
    padding: 3rem 5%;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(244, 162, 182, 0.2);
    min-height: 450px;
    display: flex;
    align-items: center;
}

.hero-model-img {
    position: absolute;
    left: 50%;
    top: 45%;
    height: 140%;
    width: auto;
    object-fit: contain;
    z-index: 1;
    opacity: 0.12;
    pointer-events: none;
    transform: translate(-50%, -50%);
    filter: grayscale(100%) brightness(0.8);
    transition: var(--transition);
}

.hero-section:hover .hero-model-img {
    opacity: 0.18;
    transform: translate(-50%, -50%) scale(1.03);
}

@media (max-width: 992px) {
    .hero-model-img {
        opacity: 0.08;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Layout 3 columnas: Historia | Logo | Historia */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-col {
    display: flex;
    flex-direction: column;
}

.hero-col-side {
    max-height: 250px;
    overflow-y: auto;
    /* Hide scrollbar for Chrome, Safari and Opera */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.hero-col-side::-webkit-scrollbar {
    display: none;
}

/* Branding Central */
.hero-brand {
    align-items: center;
    text-align: center;
    min-width: 250px;
    padding: 0 1rem;
}

.hero-logo {
    width: 220px;
    max-width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 10px 25px rgba(0,0,0,0.2));
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
    font-family: 'Playfair Display', serif;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    border-radius: 5px;
}

/* Textos de Historia laterales */
.hero-story-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    font-weight: 400;
    margin: 0;
    text-align: justify;
}

.hero-layout .hero-col-side:first-child .hero-story-text {
    text-align: right;
    border-right: 2px solid rgba(212, 175, 55, 0.3);
    padding-right: 1.5rem;
}

.hero-layout .hero-col-side:last-child .hero-story-text {
    text-align: left;
    border-left: 2px solid rgba(212, 175, 55, 0.3);
    padding-left: 1.5rem;
}

/* Mobile: stack columns */
@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 1.5rem;
        min-height: auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-brand {
        order: -1; /* Logo arriba */
    }

    .hero-col-side {
        max-height: none;
        overflow: visible;
    }

    .hero-layout .hero-col-side:first-child .hero-story-text,
    .hero-layout .hero-col-side:last-child .hero-story-text {
        text-align: center;
        border: none;
        padding: 0;
    }

    .hero-logo {
        width: 180px;
    }
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative; /* Added for sale badge positioning */
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:nth-child(2n) {
    animation-delay: 0.1s;
}

.product-card:nth-child(3n) {
    animation-delay: 0.2s;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.2);
}

.product-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 5;
}

.product-image-overlay span {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-card:hover .product-image-overlay {
    opacity: 1;
}

.product-card:hover .product-image-overlay span {
    transform: translateY(0);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    min-height: 2.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    position: relative;
}

.sale-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(244, 162, 182, 0.4);
    text-transform: uppercase;
}

.launch-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--secondary-color), #b8860b);
    color: #fff;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    animation: pulseLaunch 2.5s ease-in-out infinite;
}

@keyframes pulseLaunch {
    0%, 100% { box-shadow: 0 4px 14px rgba(212, 175, 55, 0.45); }
    50%       { box-shadow: 0 6px 22px rgba(212, 175, 55, 0.75); }
}

.product-price {
    font-size: 0.9rem;
    font-weight: 500;
    color: #888;
    margin-bottom: 0.8rem;
    display: block;
}

.variant-price-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
    border: 1px dashed #eee;
}

.variant-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.variant-price-item .v-label {
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.8;
}

.variant-price-item .v-price {
    font-weight: 800;
}

.buy-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
}

.buy-btn:hover:not(:disabled) {
    background-color: var(--primary-light);
}

.buy-btn:disabled {
    background-color: #9e9e9e;
    cursor: not-allowed;
}

.product-card.out-of-stock {
    opacity: 0.7;
    filter: grayscale(80%);
}

.product-card.out-of-stock:hover {
    transform: none;
    box-shadow: var(--shadow);
}

.out-of-stock-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #424242;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 2rem; /* Reduced from 3rem */
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    padding: 0;
    outline: none;
    transition: color 0.3s;
}

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

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-size: 1.25rem; /* Compact title */
    font-family: 'Playfair Display', serif;
}

/* Product Details Modal Specifics */
.details-modal-content {
    max-width: 600px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.details-image-container {
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.form-group.half {
    flex: 1;
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.details-image {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.details-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.details-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    white-space: pre-line;
}

.details-modal-btn {
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .details-info h2 {
        font-size: 1.4rem;
    }
}

.form-group {
    margin-bottom: 1rem; /* Compact layout */
}

.weight-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.weight-chip {
    padding: 0.8rem 1rem;
    border: 2px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    background: var(--white);
    color: var(--secondary-color);
    flex: 1 1 45%;
    text-align: center;
    line-height: 1.2;
    font-size: 0.9rem;
}

.weight-chip .chip-price {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    margin-top: 0.2rem;
    opacity: 0.9;
}

/* Specific styling for long text in pickup zones */
#pickupZoneChips .weight-chip {
    flex: 1 1 100%; /* Full width for long names */
    text-align: left;
    padding: 0.5rem 0.8rem;
    line-height: 1.1;
    font-size: 0.75rem; /* Smaller text for long zones */
}

.weight-chip:hover {
    border-color: var(--accent-color);
    background: #fffcf9;
}

.weight-chip.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(26, 71, 42, 0.2);
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 0.85rem; /* Smaller labels */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-option {
    flex: 1;
}

.radio-option input {
    display: none;
}

.radio-option label {
    display: block;
    padding: 0.6rem; /* Reduced padding */
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem; /* Smaller text */
    transition: var(--transition);
}

.radio-option input:checked+label {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

.delivery-note {
    font-size: 0.75rem;
    color: #888;
    margin-top: 0.6rem;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.whatsapp-final-btn {
    width: 100%;
    background-color: #25d366;
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.whatsapp-final-btn:hover {
    background-color: #1ebe57;
    transform: translateY(-2px);
}

@media (max-width: 600px) {
    header {
        padding: 0.8rem 1rem;
    }
    .logo {
        max-width: 140px;
    }
}

/* Shop Footer */
.shop-footer {
    background: #fcf4f5;
    padding: 4rem 2rem 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(244, 162, 182, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.shop-footer h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.shop-footer #footerDescription {
    color: #666;
    margin-bottom: 0.5rem;
}

.shop-location {
    font-size: 0.9rem;
    color: var(--secondary-color);
    opacity: 0.8;
    margin-bottom: 2rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-links-nav {
    display: flex;
    gap: 1rem;
}

.social-links-nav a {
    color: var(--primary);
    font-size: 1.3rem; /* Slightly smaller for header */
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.social-links-nav a:hover {
    color: white;
    transform: translateY(-3px);
    background: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: #999;
}

.admin-access-link {
    color: #eee; /* Extremely discreet */
    text-decoration: none;
    transition: 0.3s;
    font-weight: 400;
}

.admin-access-link:hover {
    color: var(--primary);
}

/* --- Cart Styles --- */
.cart-floater {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(28, 28, 28, 0.3);
    cursor: pointer;
    z-index: 1500;
    transition: var(--transition);
    border: none;
    outline: none;
    backdrop-filter: blur(5px);
}

.cart-floater:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: var(--primary-light);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e63946;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--bg-color);
}

.checkout-modal-content {
    max-width: 600px;
}

.cart-items-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 0.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-details h4 {
    margin: 0 0 0.2rem 0;
    color: var(--primary-color);
    font-size: 1rem;
}

.cart-item-details p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
}

.cart-item-price {
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 0.2rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #e63946;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-total-display {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: right;
    padding: 1rem 0;
    border-top: 2px solid #eee;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* --- Toast Notification Styles --- */
.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    pointer-events: none; /* Let clicks pass through */
}

.toast {
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: toastSlideUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    pointer-events: auto;
}

.toast i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.toast.hiding {
    animation: toastFadeOut 0.4s ease forwards;
}

@keyframes toastSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastFadeOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.9);
    }
}
