body {

    margin: 0;

    padding: 0;

    font-family: 'Segoe UI', system-ui, sans-serif;

    background-color: #f7f1ea;

    color: #2c1e12;

}

header {
    background: rgba(40, 35, 30, 0.9);

    color: #e8d5b7;

    text-align: center;

    padding: 25px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

header h1 {
    margin: 0;

    font-size: 2.5rem;
}

section {
    max-width: 1200px;

    margin: 50px auto;

    text-align: center;

    padding: 0 20px;
}


h2 {
    color: #5c4a3d;

    font-size: 2rem;

    font-weight: 400;

    margin-bottom: 15px;
}

input {
    width: 100%;
    max-width: 700px;

    padding: 18px;

    font-size: 1.1rem;

    border-radius: 12px;

    border: 2px solid #e8d5b7;

    outline: none;

    background: white;
}

input:focus {
    border-color: #c9a26b;
}

.subtitle {
    max-width: 700px;

    margin: 15px auto 40px auto;

    font-size: 1.1rem;

    line-height: 1.6;

    color: #6b5b4f;
}
.featured {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.featured-grid {

    display: flex;

    justify-content: center;

    align-items: stretch;

    gap: 30px;

    flex-wrap: wrap;

}

.featured .product-card {

    width: 100%;
    max-width: 520px;

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 20px;

    text-align: left;

}

.product-card {
    background: white;

    border-radius: 14px;

    overflow: hidden;

    box-shadow: 0 6px 20px rgba(0,0,0,.12);

    transition: transform .3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {

    width: 220px;

    height: 150px;

    object-fit: cover;

    border-radius: 12px;

    flex-shrink: 0;

}
.featured-content {

    flex: 1;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.product-card h3 {
    margin: 20px 0 10px;
}

.product-card p {
    font-size: 1.2rem;

    color: #6b5b4f;
}

.product-card button {
    margin: 20px;

    padding: 12px 24px;

    background: #e8d5b7;

    border: none;

    border-radius: 10px;

    cursor: pointer;

    font-weight: 600;
}
.categories {
    max-width: 1400px;
    margin: 70px auto;
    padding: 0 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,.08);
    transition: transform .3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card h3 {
    color: #2c1e12;
    margin-top: 0;
}

.category-card p {
    color: #6b5b4f;
    line-height: 1.6;
}
.product-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

    gap: 25px;

    max-width: 1400px;

    margin: 40px auto;
}

.product-page {
    max-width: 1200px;

    margin: 60px auto;

    padding: 20px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: start;
}

.product-image img {
    width: 100%;

    border-radius: 14px;

    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.product-details h1 {
    margin-top: 0;

    color: #2c1e12;
}

.description {
    color: #6b5b4f;

    line-height: 1.6;
}



.product-details label {
    display: block;

    margin-top: 25px;

    margin-bottom: 10px;

    font-weight: 600;
}

.product-details select,
.product-details input {
    width: 100%;

    padding: 14px;

    font-size: 1rem;

    border-radius: 10px;

    border: 2px solid #e8d5b7;

    box-sizing: border-box;
}

.product-details button {
    margin-top: 30px;

    padding: 16px 30px;

    border: none;

    border-radius: 10px;

    background: #e8d5b7;

    color: #2c1e12;

    font-size: 1rem;

    font-weight: 600;

    cursor: pointer;
}

.product-details button:hover {
    background: #dcbf96;
}

@media (max-width: 900px) {

    .product-page {
        grid-template-columns: 1fr;
    }

}



#orderTime {

    width: 100%;
    
    max-width: 700px;

    padding: 15px;

    border-radius: 12px;

    border: 2px solid #e8d5b7;

    font-size: 1rem;

    margin-bottom: 10px;
}

#productPrice {

    font-size: 2rem;

    font-weight: 700;

    color: #2c1e12;

    margin: 20px 0;
}

.cart-actions {

    display: flex;

    gap: 15px;

    margin-top: 30px;

    justify-content: center;

}

.cart-actions button {

    padding: 15px 25px;

    border: none;

    border-radius: 12px;

    background-color: #e8d5b7;

    color: #2c1e12;

    font-size: 1rem;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}

.cart-actions button:hover {

    background-color: #d8c19c;

}
.top-nav {

    display: flex;
    gap: 30px;
    justify-content: space-between;

    align-items: center;

    padding: 15px 30px;

    background: white;

    position: sticky;

    top: 0;

    z-index: 1000;

    box-shadow: 0 2px 10px rgba(0,0,0,.08);

}

.nav-logo img {

    height: 90px;

}

.nav-links,
.nav-icons {

    display: flex;

    gap: 18px;

    align-items: center;

    flex-wrap: wrap;
}

.nav-links a {

    text-transform: uppercase;

    letter-spacing: .5px;

    font-size: .95rem;
}

.nav-links a,
.nav-icons a {

    text-decoration: none;

    color: #2c1e12;

    font-weight: 600;

}

.nav-links a:hover,
.nav-icons a:hover {

    color: #a01212;

}

.site-footer {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;

    padding: 50px;

    background: #2c1e12;

    color: white;

    margin-top: 80px;

}

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.footer-column h3 {

    margin: 0 0 10px 0;

    color: #e8d5b7;

}

.footer-column p {

    margin: 0;

    line-height: 1.6;

}

.footer-column a {

    color: white;

    text-decoration: none;

}

.footer-column a:hover {

    color: #e8d5b7;

}

.footer-bottom {

    text-align: center;

    padding: 20px;

    background: #1f150d;

    color: #e8d5b7;

    font-size: .9rem;

}

.footer-logo {

    width: 120px;

    height: auto;

    margin-bottom: 15px;

}

.event-form {

    max-width: 900px;

    margin: 0 auto;

}

.form-row {

    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 20px;

    align-items: center;

    margin-bottom: 20px;

}

.form-row label {

    text-align: right;

    font-weight: 600;

}

.form-row input,
.form-row select,
.form-row textarea {

    width: 100%;

    max-width: 600px;

}

.form-row textarea {

    min-height: 180px;

}

.form-row input,
.form-row select {

    height: 60px;

    padding: 0 18px;

    border: 2px solid #e8d5b7;

    border-radius: 16px;

    box-sizing: border-box;

    font-size: 1rem;

    background: white;

}

form {

    max-width: 900px;

    margin: 0 auto;

}

form button {

    margin-top: 30px;

    padding: 16px 32px;

    border: none;

    border-radius: 10px;

    background: #e8d5b7;

    color: #2c1e12;

    font-size: 1rem;

    font-weight: 600;

    cursor: pointer;

}

form button:hover {

    background: #dcbf96;

}

.page-hero-image {

    width: 100%;

    height: clamp(150px, 25vw, 300px);

    object-fit: cover;

    display: block;

}

.cart-icon-wrapper {

    position: relative;

}

#cartBadge {

    position: absolute;

    top: -8px;

    right: -8px;

    min-width: 20px;

    height: 20px;

    border-radius: 50%;

    background: #a01212;

    color: white;

    font-size: 12px;

    font-weight: bold;

    display: none;

    align-items: center;

    justify-content: center;

    padding: 2px;

}

/* ==========================================
   MOBILE-FRIENDLY RESPONSIVE STYLES
   ========================================== */

@media screen and (max-width: 768px) {
    /* Adjust top navigation for mobile */
    .top-nav {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        font-size: 0.9rem;
    }

    .nav-icons {
        margin-top: 5px;
    }

    /* Stack customer favorites cards nicely on mobile */
    .featured .product-card {
        flex-direction: column;
        text-align: center;
    }

    .featured .product-card img {
        width: 100%;
        height: 180px;
    }

    /* Make checkout, review, payment containers, and sections fit mobile screens */
    .checkout-container,
    .review-container,
    .payment-container,
    section {
        width: 94% !important;
        max-width: 100% !important;
        margin: 20px auto !important;
        padding: 15px !important;
        box-sizing: border-box;
    }

    /* Make product and category grids stack in a single column on phones */
    .featured-grid,
    .category-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    /* Stack form rows vertically on mobile instead of side-by-side */
    .form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .form-row label {
        text-align: left;
    }

    .form-row input,
    .form-row select,
    .form-row textarea {
        max-width: 100%;
    }

    /* Ensure form fields and buttons are easy to tap on mobile */
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="date"],
    select,
    textarea,
    button {
        font-size: 16px !important; /* Prevents auto-zoom on iOS */
        padding: 14px !important;
    }

    /* Stack footer columns nicely into a single clean column */
    .site-footer {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 20px;
    }

    .footer-column {
        width: 100% !important;
    }

    .footer-logo {
        margin: 0 auto;
    }
}