:root {
    --color-primary: #2E4057;
    --color-accent: #EE583F;
    --color-secondary: #C7B65E;
    --color-background: #FFF7EE;
    --color-highlight: #F7B3CC;

    --font-body: 'Calibri', sans-serif;
    --font-heading: 'Trebuchet MS', sans-serif;

    --max-width: 1200px;
    --padding-section: 4rem 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-primary);
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: var(--color-primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.header-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-logo img {
    height: 60px;
    width: auto;
}

.header-nav a {
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: bold;
    color: white;
    transition: color 0.3s ease, transform 0.2s ease;
}

.header-nav a:hover {
    color: var(--color-secondary);
    transform: translateY(-2px);
}

#hero {
    background-color: var(--color-background);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    width: 100%;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-family: 'Times New Roman', serif;
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.hero-text p {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--color-accent);
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-text .btn-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-secondary);
    color: var(--color-background);
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-text .btn-cta:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

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

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

.featured {
    padding: var(--padding-section);
    max-width: var(--max-width);
    margin: 0 auto;
}

.featured h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-primary);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.featured-card {
    background-color: var(--color-background);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.featured-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.featured-card-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.featured-card-content p {
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.featured-card-content button {
    align-self: flex-start;
    padding: 0.5rem 1.2rem;
    background-color: var(--color-secondary);
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-card-content button:hover {
    background-color: var(--color-accent);
    color: var(--color-background);
}

#about-mission {
    background-color: var(--color-background);
    padding: 80px 20px;
    text-align: center;
}

#about-mission h2 {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 40px;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-container p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.8;
    /* color: var(--color-accent); */
}

#promotions {
    background-color: var(--color-accent);
    padding: 80px 20px;
    text-align: center;
}

#promotions h2 {
    font-family: 'Times New Roman', serif;
    font-size: 2.5rem;
    color: var(--color-background);
    margin-bottom: 50px;
}

.promotions-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.promotion {
    background-color: var(--color-background);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
    max-width: 350px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promotion img {
    width: 100%;
    height: auto;
    display: block;
}

.promotion h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 15px;
}

.promotion p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-accent);
    margin: 0 15px 20px 15px;
}

.promotion:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

footer {
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 60px 20px 30px 20px;
    font-family: var(--font-body);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto 20px auto;
}

.footer-section {
    flex: 1 1 220px;
}

.footer-section h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-secondary);
}

.footer-section p,
.footer-section li,
.footer-section a {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-background);
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: var(--color-highlight);
}

.footer-newsletter form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-newsletter input[type="email"] {
    padding: 10px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
}

.footer-newsletter button.subscribe-btn {
    padding: 10px;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.footer-newsletter button.subscribe-btn:hover {
    background-color: var(--color-highlight);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 15px;
    font-size: 0.9rem;
    color: var(--color-background);
}

/* Cart Control Buttons */
#cart-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    background-color: var(--color-background);
}

.cart-btn {
    padding: 12px 25px;
    background-color: var(--color-secondary);
    color: var(--color-background);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cart-btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

/* Product Grid as Table */
#product-grid table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 25px;
    /* space between cards */
    table-layout: fixed;
    /* fixes column width */
    margin: 0 auto;
}

/* Individual Card Cells */
#product-grid td {
    background-color: var(--color-background);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    vertical-align: top;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 220px;
    /* finite width per card */
}

/* Hover effect on entire card */
#product-grid td:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Card Image */
#product-grid td img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Card Title */
#product-grid td h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin: 10px 0 5px 0;
}

/* Card Description */
#product-grid td p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 15px;
}

/* Add to Cart Button */
#product-grid td .add-to-cart {
    padding: 10px 20px;
    background-color: var(--color-secondary);
    color: var(--color-background);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#product-grid td .add-to-cart:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

/* Responsive: Stack cards on smaller screens */
@media (max-width: 900px) {
    #product-grid table {
        border-spacing: 15px;
    }

    #product-grid td {
        width: 100%;
        /* full width on small screens */
        display: block;
        margin: 0 auto;
    }

    #product-grid td img {
        max-width: 100%;
    }
}

/* --- Testimonials Section --- */
#custom_main section {
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

#custom_main section h2 {
    text-align: center;
    margin-bottom: 20px;
}

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

.testimonial-card {
    background-color: var(--color-background);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 1rem;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.testimonial-content {
    padding: 1rem;
}

.testimonial-content p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.testimonial-content h4 {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-accent);
}

/* --- Community Section --- */
#community .community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.community-card {
    background-color: var(--color-background);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.community-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.community-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin: 1rem 0 0.5rem 0;
}

.community-card p {
    font-size: 0.95rem;
    color: var(--color-accent);
    margin: 0 1rem 1rem 1rem;
}

/* --- Events Section --- */
#events .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.event-card {
    background-color: var(--color-background);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.event-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-content {
    padding: 1rem;
}

.event-content h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.event-content p {
    font-size: 0.95rem;
    color: var(--color-accent);
}

@media (max-width: 600px) {
    .promotions-grid {
        flex-direction: column;
        gap: 25px;
    }

    #cart-controls {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .product-card h3 {
        font-size: 1.1rem;
    }

    .product-card p {
        font-size: 0.95rem;
    }

    .product-card .add-to-cart {
        padding: 8px 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {

    #testimonials .testimonials-grid,
    #community .community-grid,
    #events .events-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    #about-mission h2 {
        font-size: 2rem;
    }

    .about-container p {
        font-size: 1rem;
    }

    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .header-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-top: 10px;
    }

    .header-nav a {
        font-size: 1.1rem;
    }

    .footer-newsletter {
        width: 100%;
    }
}

@media (max-width: 900px) {
    #product-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 20px;
        padding: 30px 15px;
    }

    #gallery-intro h2 {
        font-size: 2rem;
    }

    #gallery-intro p {
        font-size: 1rem;
    }

    .cart-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-text .btn-cta {
        padding: 10px 25px;
    }

    #promotions h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .promotion h3 {
        font-size: 1.25rem;
    }

    .promotion p {
        font-size: 0.95rem;
    }
}

@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .promotions {
        flex-direction: column;
        align-items: center;
    }
}

/* --- Shopping Perks Section --- */
#perks {
    padding: var(--padding-section);
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

#perks h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 40px;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.perk {
    background-color: var(--color-background);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.perk:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.perk h3 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.perk p {
    font-family: var(--font-body);
    color: var(--color-primary);
    font-size: 1rem;
    line-height: 1.5;
}

/* --- Product Categories Section --- */
#categories {
    padding: var(--padding-section);
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

#categories h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: var(--color-background);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.category-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin: 10px 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {

    .perks-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .perk,
    .category-card {
        text-align: center;
    }
}

#gallery-intro {
    text-align: center;
}

/* --- About Us / Business Info Section --- */
#about-info {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--padding-section);
    text-align: center;
}

#about-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

#about-info p {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--color-accent);
    line-height: 1.6;
    margin-bottom: 1rem;
}

#about-info .business-hours,
#about-info .location {
    margin-top: 2rem;
}

#about-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 10px;
}

#about-info ul {
    list-style: none;
    padding: 0;
}

#about-info ul li {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

/* --- Custom Order / Feedback Form Section --- */
#custom-order-form {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--padding-section);
    background-color: var(--color-background);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#custom-order-form h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 20px;
}

#custom-order-form p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-accent);
    text-align: center;
    margin-bottom: 30px;
}

#custom-order-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#custom-order-form fieldset {
    border: 1px solid rgba(46, 64, 87, 0.2);
    border-radius: 10px;
    padding: 20px;
}

#custom-order-form legend {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary);
    padding: 0 10px;
}

#custom-order-form label {
    display: block;
    font-family: var(--font-body);
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 5px;
}

#custom-order-form input,
#custom-order-form select,
#custom-order-form textarea {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid rgba(46, 64, 87, 0.2);
    font-family: var(--font-body);
    font-size: 1rem;
}

#custom-order-form textarea {
    resize: vertical;
}

#custom-order-form .submit-btn {
    align-self: flex-start;
    padding: 12px 25px;
    background-color: var(--color-secondary);
    color: var(--color-background);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#custom-order-form .submit-btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

/* --- Quick Contact Cards Section --- */
#contact-quick {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--padding-section);
    text-align: center;
}

#contact-quick h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 30px;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    justify-items: center;
}

.contact-card {
    background-color: var(--color-background);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.contact-card p a {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-accent);
    text-decoration: none;
}

.contact-card p a:hover {
    color: var(--color-secondary);
}

/* Header cart container */
.header-cart {
    margin-left: auto;
    display: flex;
    align-items: center;
    width: auto;
}

/* Cart button */
#header-cart-btn {
    background-color: var(--color-accent, #EE583F);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

#header-cart-btn:hover {
    background-color: darkorange;
    transform: scale(1.05);
}

/* Cart count */
#header-cart-btn #cart-count {
    font-weight: bold;
    margin-left: 4px;
}

/* --- Cart Modal Overlay --- */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

/* --- Modal Content --- */
.cart-modal-content {
    background-color: var(--color-background);
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 80vh;
    overflow-y: auto;
}

/* --- Close Button --- */
.cart-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.cart-modal-close:hover {
    transform: scale(1.2);
}

/* --- Modal Header --- */
.cart-modal-header {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 15px;
}

/* --- Cart Items Container --- */
.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* --- Individual Cart Item --- */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 12px 15px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* --- Item Info --- */
.cart-item-info {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* --- Remove Button --- */
.cart-item-remove {
    background-color: var(--color-accent);
    color: var(--color-background);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cart-item-remove:hover {
    background-color: var(--color-secondary);
    transform: scale(1.05);
}

/* --- Checkout Button --- */
#cart-checkout-btn {
    align-self: center;
    padding: 12px 25px;
    background-color: var(--color-secondary);
    color: var(--color-background);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#cart-checkout-btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
}

/* --- Empty Cart Message --- */
.cart-empty-msg {
    text-align: center;
    font-size: 1rem;
    color: var(--color-primary);
    padding: 20px;
    background-color: var(--color-background);
    border-radius: 8px;
}

/* --- Scrollbar Styling (Optional) --- */
.cart-modal-content::-webkit-scrollbar {
    width: 8px;
}

.cart-modal-content::-webkit-scrollbar-thumb {
    background-color: var(--color-accent);
    border-radius: 4px;
}

.cart-modal-content::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.05);
}