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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    min-height: 100vh;
    color: #2d3436;
    padding: 0;
    margin: 0;
}

.food-animation {
    position: fixed;
    font-size: 3em;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.food1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.food2 {
    top: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.food3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 3s;
}

.food4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-40px) rotate(0deg); }
    75% { transform: translateY(-20px) rotate(-5deg); }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: #fff8f0;
    backdrop-filter: blur(10px);
    min-height: 100vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.header {
    background: linear-gradient(135deg, #ff6348, #ff7f50, #ffa07a);
    color: white;
    text-align: center;
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-container {
    position: relative;
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.logo-icon {
    font-size: 4em;
    animation: bounce 2s infinite;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.company-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-8px); }
}

.logo-text {
    text-align: left;
}

.company-name {
    font-family: 'Pacifico', cursive;
    font-size: 3em;
    font-weight: 700;
    margin: 0;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.logo-tagline {
    font-size: 1.2em;
    font-weight: 300;
    margin: 5px 0 0 0;
    opacity: 0.95;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.special-offer {
    background: linear-gradient(135deg, #ff6348, #feca57);
    color: white;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 1em;
}

.product-section {
    padding: 30px;
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    background: transparent;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(255, 99, 72, 0.15);
    border: 2px solid #ffe6e0;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(255, 99, 72, 0.25);
    transform: translateY(-5px);
    border-color: #ff6348;
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-emoji {
    font-size: 4em;
    animation: bounce 2s infinite;
}

.product-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.product-details {
    flex: 1;
}

.product-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #43A047;
    margin: 0 0 5px 0;
}

.product-description {
    font-size: 0.9em;
    color: #43A047;
    margin-bottom: 10px;
}

.price-display {
    font-size: 1.3em;
    font-weight: 700;
    color: #43A047;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff8f0;
    padding: 5px;
    border-radius: 8px;
    border: 2px solid #ffe6e0;
    width: fit-content;
}

.quantity-btn {
    background: linear-gradient(135deg, #ff6348, #ff7f50);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: linear-gradient(135deg, #ff7f50, #ffa07a);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 99, 72, 0.4);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-display {
    font-size: 1.1em;
    font-weight: 600;
    color: #2d3436;
    min-width: 40px;
    text-align: center;
    padding: 0 10px;
}

.order-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(255, 99, 72, 0.15);
    border: 2px solid #ffe6e0;
    margin-bottom: 20px;
}

.order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-label {
    font-size: 1em;
    font-weight: 500;
    color: #2d3436;
}

.total-price {
    font-size: 1.3em;
    font-weight: 700;
    color: #43A047;
    border-top: 2px solid #ffe6e0;
    padding-top: 15px;
    margin-top: 15px;
}

.form-group {
    margin-bottom: 12px;
}

.form-label {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 8px;
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    background: white;
    color: #2d3436;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.form-select:focus {
    outline: none;
    border-color: #ff6348;
    box-shadow: 0 0 0 3px rgba(255, 99, 72, 0.15);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ffe6e0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    background: white;
    color: #2d3436;
    transition: border-color 0.3s ease;
}

.form-input::placeholder {
    color: #b2bec3;
}

.form-input:focus {
    outline: none;
    border-color: #ff6348;
    box-shadow: 0 0 0 3px rgba(255, 99, 72, 0.15);
}

.address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.deadline-notice {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.85em;
    flex-shrink: 0;
}

.deadline-title {
    font-weight: 600;
    margin-bottom: 3px;
}

.deadline-time {
    font-weight: 700;
}

.book-button {
    background: linear-gradient(135deg, #43A047, #66BB6A);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(67, 160, 71, 0.3);
}

.book-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 160, 71, 0.4);
}

.book-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.center-button {
    display: block;
    margin: 0 auto;
}

.footer {
    background: linear-gradient(135deg, #2d3436, #353b48);
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: auto;
}

.contact-info {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.contact-number {
    font-weight: 600;
    color: #feca57;
}

@media (max-width: 768px) {
    .container {
        border-radius: 0;
    }

    .header {
        padding: 20px 15px;
    }

    .logo {
        flex-direction: column;
        gap: 10px;
    }

    .logo-icon {
        font-size: 3em;
    }

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

    .company-name {
        font-size: 2em;
    }

    .logo-tagline {
        font-size: 0.9em;
    }

    .logo-text {
        text-align: center;
    }

    .product-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .product-emoji {
        font-size: 3em;
    }

    .address-grid {
        grid-template-columns: 1fr;
    }

    .product-section {
        padding: 20px 15px;
    }

    .product-card,
    .order-section {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 1.8em;
    }

    .logo-icon {
        font-size: 2.5em;
    }

    .company-logo-img {
        width: 50px;
        height: 50px;
    }

    .product-emoji {
        font-size: 2.5em;
    }

    .quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 1em;
    }

    .product-section {
        padding: 15px 10px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .book-button {
        font-size: 1em;
        padding: 15px 25px;
    }
}

@media (min-width: 769px) {
    .product-section {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        align-items: start;
    }

    .product-card {
        height: 100%;
    }

    .order-section {
        grid-column: 1 / -1;
    }

    .book-button {
        grid-column: 1 / -1;
    }

    .nav-buttons {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1200px) {
    .product-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

.error-message {
    color: #e17055;
    font-size: 0.85em;
    margin-top: 5px;
    display: none;
    background: #ffeaa7;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 4px solid #e17055;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background: white;
    margin: 0;
    gap: 10px;
}

.progress-step {
    flex: 1;
    text-align: center;
    padding: 15px 10px;
    border-radius: 10px;
    font-size: 0.9em;
    font-weight: 600;
    color: #95a5a6;
    background: #ecf0f1;
    transition: all 0.3s ease;
}

.progress-step.active {
    background: linear-gradient(135deg, #ff6348, #ff7f50);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 99, 72, 0.4);
    border-color: #ff6348;
}

.progress-step.completed {
    background: linear-gradient(135deg, #ee5a6f, #ff6348);
    color: white;
    border-color: #ee5a6f;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: white;
    color: #ff6348;
    border: 2px solid #ff6348;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: #ff6348;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 99, 72, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, #ff6348, #ff7f50);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 99, 72, 0.4);
}

.order-summary {
    background: #fff8f0;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 2px solid #ffe6e0;
}

.order-summary h3 {
    color: #ff6348;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px dashed #ffe6e0;
    color: #43A047;
    font-size: 1.1em;
    font-weight: 500;
}

.summary-item span:first-child {
    color: #43A047;
    font-weight: 600;
}

.summary-item span:last-child {
    color: #43A047;
    font-weight: 700;
    font-size: 1.1em;
}

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

.empty-cart {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
}

.empty-cart i {
    font-size: 4em;
    margin-bottom: 15px;
    opacity: 0.3;
}
