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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}


.header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ea580c;
    text-decoration: none;
}

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

.nav-link {
    color: #374151;
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #ea580c;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #ea580c;
    color: white;
    font-size: 0.75rem;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


.main {
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}


.hero {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
}


.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: none;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.filter-btn:hover {
    background: #f3f4f6;
}

.filter-btn.active {
    background: #ea580c;
    color: white;
}


.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.menu-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.menu-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.menu-card-image {
    height: 200px;
    background: #e5e7eb;
    overflow: hidden;
    position: relative;
}

.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-card-content {
    padding: 1rem;
}

.menu-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.menu-card-description {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-card-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ea580c;
}


.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #ea580c;
    color: white;
}

.btn-primary:hover {
    background: #c2410c;
}

.btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.btn-block {
    width: 100%;
}


.page-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 2rem;
}


.cart-empty {
    text-align: center;
    padding: 4rem 0;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.cart-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.cart-items {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-description {
    font-size: 0.875rem;
    color: #6b7280;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #e5e7eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.quantity-btn:hover {
    background: #d1d5db;
}

.quantity-value {
    width: 32px;
    text-align: center;
    font-weight: 600;
}

.cart-item-price {
    text-align: right;
    min-width: 120px;
}

.price-total {
    font-size: 1.125rem;
    font-weight: 600;
}

.price-unit {
    font-size: 0.875rem;
    color: #6b7280;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    margin-left: 1rem;
    transition: transform 0.2s;
}

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

.cart-summary {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-label {
    font-size: 1.125rem;
    font-weight: 600;
}

.summary-total {
    font-size: 2rem;
    font-weight: bold;
    color: #ea580c;
}

.cart-actions {
    display: flex;
    justify-content: flex-end;
}


.checkout-wrapper {
    margin-top: 2rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.checkout-form {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-input.error {
    border-color: #ef4444;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.checkout-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.summary-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.order-items {
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.order-item-name {
    color: #6b7280;
}

.order-item-price {
    font-weight: 600;
}

.summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}


.payment-wrapper {
    margin-top: 2rem;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.payment-methods {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.payment-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    background: #f9fafb;
}

.payment-option input[type="radio"] {
    margin-right: 0.75rem;
}

.payment-option-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.payment-option-desc {
    font-size: 0.875rem;
    color: #6b7280;
}

.card-form {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.other-payment {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.payment-summary {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.detail-label {
    color: #6b7280;
}

.detail-value {
    font-weight: 600;
}

.order-items-section {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.order-items-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.success-message {
    text-align: center;
    padding: 4rem 0;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #6b7280;
}


.notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
    z-index: 1000;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}


.footer {
    background: #1f2937;
    color: #f9fafb;
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-text {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ea580c;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}


.policy-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.policy-date {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.policy-section {
    margin-bottom: 2.5rem;
}

.policy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.policy-section p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.7;
}

.policy-section li {
    margin-bottom: 0.5rem;
}


@media (max-width: 768px) {
    .checkout-grid,
    .payment-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary,
    .payment-summary {
        position: static;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .policy-page {
        padding: 1rem 0;
    }
}
