/* Paul's Deli - Dark Maroon & White Theme */
:root {
    --primary-maroon: #5C0011;
    --dark-maroon: #400008;
    --light-maroon: #800020;
    --hover-maroon: #A0293A;
    --white: #FFFFFF;
    --cream: #FFF8F0;
    --light-gray: #F5F5F5;
    --border-gray: #DDD;
    --text-dark: #333;
    --gold: #C9A227;
    --gold-light: #E8D48A;
}

body {
    font-family: 'Source Sans 3', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-maroon);
}

/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--dark-maroon) 100%);
    color: var(--white);
    padding: 15px 30px;
    box-shadow: 0 4px 20px rgba(92, 0, 17, 0.4);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

header .header-logo {
    height: 70px;
    width: auto;
    background-color: white;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 1;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

nav a:hover::before {
    left: 100%;
}

nav a:hover {
    background-color: var(--hover-maroon);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(160, 41, 58, 0.4);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--dark-maroon) 100%);
    color: var(--white);
    padding: 20px 30px;
    box-shadow: 0 4px 6px rgba(92, 0, 17, 0.3);
}

header h1 {
    margin: 0;
    font-size: 2.2em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Header Logo Styling */
header .header-logo {
    height: 100px;
    width: auto;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav a:hover {
    background-color: var(--hover-maroon);
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    header h1 {
        font-size: 1.6em;
    }

    nav {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    nav a {
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
}
main {
    padding: 50px 40px;
    background-color: var(--white);
    min-height: calc(100vh - 250px);
    position: relative;
}

/* Home Page - Center welcome text and description */
main > h1:first-of-type,
main > p:first-of-type {
    text-align: center;
}

main > h1:first-of-type {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

main > p:first-of-type {
    font-size: 1.4em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
    color: #555;
}

footer {
    background: linear-gradient(135deg, var(--dark-maroon) 0%, var(--primary-maroon) 100%);
    color: var(--white);
    padding: 0;
    margin-top: 50px;
    box-shadow: 0 -4px 20px rgba(92, 0, 17, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--white);
    font-size: 1.8em;
    margin: 0 0 8px 0;
}

.footer-brand p {
    margin: 0;
    font-size: 0.95em;
    opacity: 0.85;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

.footer-links a:hover {
    background-color: var(--hover-maroon);
    transform: translateY(-2px);
}

.footer-social {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social::before {
    content: '✦';
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    background-color: rgba(0,0,0,0.15);
    font-size: 0.9em;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

.menu-item {
    border-bottom: 2px solid var(--border-gray);
    padding: 15px 0;
    transition: background-color 0.2s;
}

.menu-item:hover {
    background-color: var(--light-gray);
    padding-left: 10px;
}

/* Menu Page Styling */
.menu-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.menu-container h1 {
    text-align: center;
    color: var(--primary-maroon);
    font-size: 3em;
    margin-bottom: 10px;
}

.menu-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.menu-category {
    margin-bottom: 50px;
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(92, 0, 17, 0.1);
}

.category-header {
    color: var(--primary-maroon);
    font-size: 2em;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-maroon);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.menu-item-card {
    padding: 20px;
    border: 2px solid var(--border-gray);
    border-radius: 10px;
    background: var(--cream);
    transition: all 0.3s ease;
}

.menu-item-card:hover {
    border-color: var(--primary-maroon);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(92, 0, 17, 0.15);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.menu-item-card h3 {
    color: var(--primary-maroon);
    font-size: 1.3em;
    margin: 0;
    flex: 1;
}

.menu-item-price {
    color: var(--dark-maroon);
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 15px;
}

.menu-item-description {
    color: #555;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 10px 0;
}

.menu-item-customizations {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-gray);
}

.customization-note {
    font-size: 0.85em;
    color: #666;
    margin: 5px 0;
}

.customization-note strong {
    color: var(--primary-maroon);
}

/* Responsive Menu */
@media (max-width: 768px) {
    .menu-container h1 {
        font-size: 2em;
    }

    .category-header {
        font-size: 1.5em;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
    }

    .menu-item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-item-price {
        margin-left: 0;
        margin-top: 5px;
    }
}

/* Order Page Category Styling */
.order-page-container {
    max-width: 1400px;
    margin: 0 auto;
}

.order-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    align-items: start;
}

.order-menu-section h1 {
    text-align: center;
    color: var(--primary-maroon);
    font-size: 3em;
    margin-bottom: 10px;
}

.order-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.category-filter {
    text-align: center;
    margin-bottom: 30px;
}

.category-filter label {
    font-weight: bold;
    margin-right: 10px;
    color: var(--primary-maroon);
}

.category-filter select {
    padding: 10px 15px;
    font-size: 1em;
    border: 2px solid var(--primary-maroon);
    border-radius: 8px;
    background: white;
    color: #333;
    cursor: pointer;
    min-width: 200px;
}

.category-filter select:hover {
    border-color: var(--light-maroon);
}

.order-category-section {
    margin-bottom: 50px;
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(92, 0, 17, 0.08);
}

.order-category-header {
    color: var(--primary-maroon);
    font-size: 1.8em;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Fixed Cart Section */
.order-cart-section {
    position: sticky;
    top: 20px;
}

.cart-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(92, 0, 17, 0.15);
    overflow: hidden;
}

.cart-card h2 {
    background: linear-gradient(135deg, var(--primary-maroon), var(--dark-maroon));
    color: var(--white);
    margin: 0;
    padding: 20px;
    font-size: 1.4em;
    text-align: center;
}

.cart-items-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
}

.cart-empty-message {
    display: none;
    padding: 30px 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid var(--border-gray);
    background: var(--cream);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3em;
    font-weight: bold;
    color: var(--primary-maroon);
    margin-bottom: 15px;
}

.cart-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-clear-cart {
    padding: 10px;
    background: transparent;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear-cart:hover {
    border-color: var(--primary-maroon);
    color: var(--primary-maroon);
}

.btn-checkout {
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--primary-maroon), var(--light-maroon));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 0, 17, 0.3);
}

.btn-checkout:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 0, 17, 0.4);
}

.btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Order Page */
@media (max-width: 968px) {
    .order-page-wrapper {
        grid-template-columns: 1fr;
    }

    .order-cart-section {
        position: static;
        order: -1;
    }

    .order-menu-section h1 {
        font-size: 2em;
    }

    .order-category-header {
        font-size: 1.5em;
    }
}
.hero-image {
    width: 100%;
    max-width: 1200px;
    height: 400px;
    object-fit: cover;
    margin: 0 auto 40px auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(92, 0, 17, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 40px rgba(92, 0, 17, 0.35);
}

h1, h2, h3, h4 {
    color: var(--primary-maroon);
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

/* Home Page Hero Section */
.home-hero {
    text-align: center;
    padding: 20px 0 30px 0;
}

.home-hero h1 {
    font-size: 3.8em;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-tagline {
    font-size: 1.4em;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--light-maroon) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(92, 0, 17, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--hover-maroon) 0%, var(--primary-maroon) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(92, 0, 17, 0.45);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-maroon);
    border: 2px solid var(--primary-maroon);
}

.btn-secondary:hover {
    background: var(--primary-maroon);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(92, 0, 17, 0.25);
}

@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 2.5em;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

h2 {
    font-size: 2.2em;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.features {
    display: flex;
    gap: 40px;
}

.feature {
    text-align: center;
}

    .feature img {
        border-radius: 10px;
    }
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    border: none;
    padding: 0;
    text-align: left;
    border-radius: 16px;
    background-color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-maroon), var(--light-maroon));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    border-color: var(--primary-maroon);
    box-shadow: 0 12px 35px rgba(92, 0, 17, 0.2);
    transform: translateY(-8px);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.product-card button {
    background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--light-maroon) 100%);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(92, 0, 17, 0.3);
}

.product-card button:hover {
    background: linear-gradient(135deg, var(--hover-maroon) 0%, var(--primary-maroon) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(92, 0, 17, 0.4);
}
.checkout-container {
    display: flex;
    gap: 60px;
}

.checkout-cart {
    width: 40%;
    border: 1px solid #ddd;
    padding: 20px;
}

.checkout-form {
    width: 40%;
}

    .checkout-form input,
    .checkout-form textarea {
        width: 100%;
        margin-bottom: 10px;
        padding: 8px;
    }

    .checkout-form button {
        background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--light-maroon) 100%);
        color: var(--white);
        border: none;
        padding: 15px 25px;
        cursor: pointer;
        border-radius: 8px;
        font-weight: bold;
        font-size: 16px;
        transition: all 0.3s ease;
        box-shadow: 0 3px 10px rgba(92, 0, 17, 0.3);
    }

    .checkout-form button:hover {
        background: linear-gradient(135deg, var(--hover-maroon) 0%, var(--primary-maroon) 100%);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(92, 0, 17, 0.4);
    }
.contact-form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(92, 0, 17, 0.1);
}

.contact-form h2 {
    margin-top: 0;
}

    .contact-form label {
        margin-top: 10px;
        font-weight: bold;
        color: var(--text-dark);
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        margin-top: 5px;
        border: 2px solid var(--border-gray);
        border-radius: 6px;
        font-size: 15px;
        font-family: inherit;
        transition: border-color 0.3s ease;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: none;
        border-color: var(--primary-maroon);
    }

    .contact-form textarea {
        height: 120px;
        resize: vertical;
    }

    .contact-form button {
        margin-top: 20px;
        padding: 14px 30px;
        background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--light-maroon) 100%);
        color: var(--white);
        border: none;
        cursor: pointer;
        border-radius: 8px;
        font-weight: bold;
        font-size: 16px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(92, 0, 17, 0.3);
    }

    .contact-form button:hover {
        background: linear-gradient(135deg, var(--hover-maroon) 0%, var(--primary-maroon) 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(92, 0, 17, 0.4);
    }

/* Contact Page Layout */
.contact-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    align-items: start;
}

.contact-page h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2.5em;
}

.contact-info {
    background: var(--white);
    padding: 12px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(92, 0, 17, 0.1);
}

.contact-info h3 {
    margin: 0 0 4px 0;
    font-size: 1.2em;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--gold);
}

.contact-info p {
    margin: 2px 0;
    font-size: 0.95em;
    color: #555;
}

.contact-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.2em;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--gold);
}

.contact-info p {
    margin: 4px 0;
    font-size: 0.95em;
    color: #555;
}

.contact-info strong {
    color: var(--primary-maroon);
}

.map-container {
    grid-column: 1 / -1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(92, 0, 17, 0.15);
}

.map-container iframe {
    display: block;
}

@media (max-width: 900px) {
    .contact-page {
        grid-template-columns: 1fr;
    }
}

/* Alert Messages */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1em;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1em;
}

.featured-products {
    margin-top: 60px;
    text-align: center;
    padding: 40px 0;
}

.featured-products h2 {
    color: var(--primary-maroon);
    font-size: 2.4em;
    margin-bottom: 35px;
    position: relative;
    display: inline-block;
}

.featured-products h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--primary-maroon));
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 25px;
    margin-top: 25px;
}

.product-card {
    display: block;
    border: 2px solid var(--border-gray);
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    background-color: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(92, 0, 17, 0.25);
    border-color: var(--primary-maroon);
}

.product-card h3 {
    color: var(--primary-maroon);
    margin-top: 10px;
}

/* Product Card Images - High Quality */
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card .card-content {
    padding: 20px;
}

.product-card .card-content h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4em;
    margin: 0 0 8px 0;
    color: var(--primary-maroon);
    transition: color 0.3s ease;
}

.product-card:hover .card-content h3 {
    color: var(--hover-maroon);
}

.product-card .card-content p {
    margin: 0;
    font-size: 0.95em;
    color: #666;
}

/* Business Hours */
.business-hours {
    margin-top: 70px;
    margin-bottom: 40px;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.business-hours h2 {
    color: var(--primary-maroon);
    font-size: 2.2em;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.business-hours h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--primary-maroon));
    border-radius: 2px;
}

.hours-grid {
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,248,240,0.9));
    border: none;
    border-radius: 16px;
    padding: 5px;
    box-shadow: 0 8px 25px rgba(92, 0, 17, 0.12);
    overflow: hidden;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 25px;
    border-bottom: 1px solid rgba(92, 0, 17, 0.08);
    transition: background-color 0.2s ease;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row:hover {
    background-color: rgba(201, 162, 39, 0.08);
}

.hours-row .day {
    font-weight: 700;
    color: var(--primary-maroon);
    font-size: 1.05em;
}

.hours-row .time {
    color: var(--text-dark);
    font-size: 1.05em;
    font-weight: 500;
}

.hours-row .time.closed {
    color: #999;
    font-style: italic;
}

/* General Image Quality Improvements */
img {
    max-width: 100%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
    .cart-item button {
        width: 25px;
        height: 25px;
        cursor: pointer;
    }
.cart-name {
    flex: 2;
}

.cart-item-notes {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
    padding: 5px;
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-maroon);
    border-radius: 3px;
}

.qty-controls {
    display: flex;
    gap: 6px;
    align-items: center;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-gray);
    background: var(--white);
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-maroon);
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--primary-maroon);
    color: var(--white);
    border-color: var(--primary-maroon);
}

.cart-price {
    flex: 1;
    text-align: right;
    font-weight: bold;
    color: var(--primary-maroon);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid var(--border-gray);
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 8px;
}

.cart-item:last-child {
    border-bottom: none;
}
@media (max-width: 768px) {

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card img {
        height: 200px;
    }
}
@media (max-width: 768px) {

    .cart-item {
        flex-direction: row; /* 👈 keep horizontal */
        justify-content: space-between;
    }

    .cart-name {
        width: 100%;
        margin-bottom: 5px;
    }
}
@media (max-width: 768px) {

    .checkout-container {
        flex-direction: column;
    }

    .checkout-cart,
    .checkout-form {
        width: 100%;
    }
}
    .qty-controls button {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
.cart-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Clover Checkout Button */
.clover-checkout-btn {
    background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--dark-maroon) 100%);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 0, 17, 0.4);
    width: 100%;
    margin-top: 15px;
}

.clover-checkout-btn:hover {
    background: linear-gradient(135deg, var(--hover-maroon) 0%, var(--primary-maroon) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 0, 17, 0.5);
}

.clover-checkout-btn:active {
    transform: translateY(0);
}

/* Product card enhancements */
.product-description {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
    min-height: 40px;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-maroon);
    margin: 10px 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

    .close:hover {
        color: #000;
    }

.customization-group {
    margin: 20px 0;
    padding: 15px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    background-color: var(--light-gray);
}

    .customization-group h4 {
        margin-top: 0;
        color: var(--primary-maroon);
        font-size: 1.1em;
        margin-bottom: 12px;
    }

    .customization-group textarea {
        width: 100%;
        padding: 10px;
        border: 2px solid var(--border-gray);
        border-radius: 6px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 14px;
        resize: vertical;
        box-sizing: border-box;
    }

        .customization-group textarea:focus {
            outline: none;
            border-color: var(--primary-maroon);
            box-shadow: 0 0 0 3px rgba(92, 0, 17, 0.1);
        }

.customization-option {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.2s;
}

    .customization-option:hover {
        background-color: var(--white);
    }

    .customization-option input {
        margin-right: 10px;
        cursor: pointer;
    }

    .customization-option input[type="radio"],
    .customization-option input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--primary-maroon);
    }

    .customization-option label {
        flex: 1;
        cursor: pointer;
        user-select: none;
    }

    .customization-option .price-modifier {
        color: var(--primary-maroon);
        font-weight: bold;
        margin-left: 8px;
    }

#customizationOptions {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 15px;
}

/* Smooth scrollbar for modal */
.modal-content::-webkit-scrollbar,
#customizationOptions::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track,
#customizationOptions::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb,
#customizationOptions::-webkit-scrollbar-thumb {
    background: var(--primary-maroon);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover,
#customizationOptions::-webkit-scrollbar-thumb:hover {
    background: var(--dark-maroon);
}

.modal-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

    .modal-footer p {
        font-size: 22px;
        font-weight: bold;
        margin: 0;
        color: var(--primary-maroon);
    }

    .modal-footer button {
        background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--dark-maroon) 100%);
        color: var(--white);
        border: none;
        padding: 12px 30px;
        cursor: pointer;
        border-radius: 8px;
        font-size: 16px;
        font-weight: bold;
        transition: all 0.3s ease;
        box-shadow: 0 3px 10px rgba(92, 0, 17, 0.3);
    }

        .modal-footer button:hover {
            background: linear-gradient(135deg, var(--hover-maroon) 0%, var(--primary-maroon) 100%);
            transform: translateY(-2px);
        }

/* Checkout Page Styles */
.checkout-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.checkout-page-container h1 {
    text-align: center;
    color: var(--primary-maroon);
    font-size: 3em;
    margin-bottom: 10px;
}

.checkout-page-container .order-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 30px;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 30px;
}

.checkout-cart {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(92, 0, 17, 0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.checkout-cart h3 {
    color: var(--primary-maroon);
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-gray);
}

.checkout-item {
    display: grid;
    grid-template-columns: 2fr 0.5fr 1fr;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-gray);
    align-items: start;
}

.checkout-item:last-child {
    border-bottom: none;
}

.item-info strong {
    color: var(--text-dark);
    font-size: 15px;
}

.item-notes {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 5px;
    padding: 5px;
    background-color: var(--light-gray);
    border-left: 3px solid var(--primary-maroon);
    border-radius: 3px;
}

.item-quantity {
    text-align: center;
    color: #666;
}

.item-price {
    text-align: right;
    font-weight: bold;
    color: var(--primary-maroon);
}

.checkout-totals {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid var(--border-gray);
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
}

.total-final {
    font-size: 20px;
    color: var(--primary-maroon);
    padding-top: 12px;
    border-top: 1px solid var(--border-gray);
    margin-top: 8px;
}

.security-badge {
    background: linear-gradient(135deg, rgba(92, 0, 17, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%);
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.security-badge p {
    margin: 0;
    color: var(--primary-maroon);
    font-size: 14px;
}

.checkout-form {
    background: var(--white);
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(92, 0, 17, 0.1);
}

.checkout-form h3 {
    color: var(--primary-maroon);
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-gray);
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-maroon);
    box-shadow: 0 0 0 3px rgba(92, 0, 17, 0.1);
}

.clover-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.spinner {
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-maroon);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.clover-field-group {
    margin-bottom: 20px;
}

.clover-field-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.clover-field {
    border: 2px solid var(--border-gray);
    border-radius: 6px;
    padding: 12px;
    background: white;
    min-height: 45px;
}

.clover-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.checkout-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-maroon) 0%, var(--dark-maroon) 100%);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(92, 0, 17, 0.4);
    margin-top: 25px;
}

.checkout-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--hover-maroon) 0%, var(--primary-maroon) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 0, 17, 0.5);
}

.checkout-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Responsive Checkout */
@media (max-width: 968px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .checkout-cart {
        position: static;
    }

    .clover-fields-row {
        grid-template-columns: 1fr;
    }
}
.cart-container {
    max-width: 700px;
    margin: 0 auto;
}