
/* === File: themes/easyorder/assets/css/footer.css === */
.site-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    margin-top: 80px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.footer-main {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.5px;
}
.footer-subtitle {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-text {
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-link:hover {
    background-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    display: inline-block;
    position: relative;
}
.footer-links a:hover {
    color: #ffffff;
}
.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #2563eb;
    transition: width 0.3s ease;
}
.footer-links a:hover::after {
    width: 100%;
}
.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #b3b3b3;
    font-size: 14px;
}
.footer-contact .contact-item i {
    width: 20px;
    color: #2563eb;
    text-align: center;
}
.footer-contact a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-contact a:hover {
    color: #ffffff;
}
.footer-payment {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.payment-title {
    font-size: 14px;
    color: #b3b3b3;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.payment-icons i {
    font-size: 32px;
    color: #666;
    transition: all 0.3s ease;
}
.payment-icons i:hover {
    color: #ffffff;
    transform: scale(1.1);
}
.footer-bottom {
    background-color: #0f0f0f;
    padding: 20px 0;
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright {
    color: #808080;
    font-size: 14px;
    margin: 0;
}
.footer-meta {
    display: flex;
    gap: 20px;
}
.currency-info {
    color: #808080;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.currency-info i {
    font-size: 12px;
    color: #2563eb;
}
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-main {
        padding: 50px 0 35px;
    }
}
@media (max-width: 640px) {
    .footer-main {
        padding: 40px 0 30px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-title {
        font-size: 20px;
    }
    .footer-subtitle {
        font-size: 14px;
    }
    .footer-section {
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-contact .contact-item {
        justify-content: center;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-meta {
        justify-content: center;
    }
    .payment-icons {
        gap: 15px;
    }
    .payment-icons i {
        font-size: 28px;
    }
}
@media (prefers-color-scheme: dark) {
    .site-footer {
        background-color: #0a0a0a;
    }
    .footer-bottom {
        background-color: #000000;
    }
}
.footer-section {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}
.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === File: themes/easyorder/assets/css/components.css === */
:root {
    --primary-color: #3B82F6;
    --primary-hover: #2563EB;
    --secondary-color: #10B981;
    --secondary-hover: #059669;
    --danger-color: #EF4444;
    --danger-hover: #DC2626;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --background-light: #F9FAFB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --border-radius: 0.5rem;
    --transition: all 0.2s ease;
}
.price {
    font-weight: 600;
    color: var(--text-primary);
}
.price-large {
    font-size: 1.25rem;
    font-weight: 700;
}
.price-discount {
    color: var(--secondary-color);
}
.price-old {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-weight: 400;
}
.delivery-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}
.delivery-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.delivery-info-item i {
    color: var(--primary-color);
}
.menu-item-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: var(--transition);
    cursor: pointer;
}
.menu-item-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.menu-item-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
}
.menu-item-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}
.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 0.25rem;
}
.quantity-btn {
    width: 2rem;
    height: 2rem;
    border: none;
    background: white;
    color: var(--text-primary);
    border-radius: 0.375rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.quantity-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
}
.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.quantity-display {
    min-width: 2rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--primary-color);
    color: white;
}
.btn-primary:hover {
    background: var(--primary-hover);
}
.btn-secondary {
    background: var(--secondary-color);
    color: white;
}
.btn-secondary:hover {
    background: var(--secondary-hover);
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: var(--background-light);
}
.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}
.modal-base {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-base.active {
    display: flex;
}
.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}
.modal-close {
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: var(--transition);
}
.modal-close:hover {
    background: var(--background-light);
}
.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}
.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}
.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}
.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.5rem;
    height: 1.5rem;
    margin: -0.75rem 0 0 -0.75rem;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-secondary); }
.text-danger { color: var(--danger-color); }
.text-success { color: var(--secondary-color); }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
@media (max-width: 640px) {
    .modal-content {
        max-height: 100vh;
        border-radius: 0;
    }
    .delivery-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    .menu-item-card {
        padding: 0.75rem;
    }
}

/* === File: themes/easyorder/assets/css/opening-hours.css === */
.pre-order-info {
    background-color: #eff6ff;
    border-radius: 6px;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #1e40af;
    display: flex;
    align-items: center;
}
.pre-order-info i {
    margin-right: 8px;
    font-size: 16px;
}
@media (max-width: 768px) {
    .pre-order-info {
        padding: 10px;
        font-size: 13px;
    }
}
.later-opening-today {
    margin-top: 5px;
    font-size: 13px;
    color: #6b7280;
    padding-left: 16px;
    line-height: 1.3;
}
.restaurant-status-container {
}
.restaurant-status {
    margin-bottom: 10px;
}
.restaurant-status .status-main {
    display: flex;
    align-items: center;
    width: 100%;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: default;
    white-space: nowrap;
}
.status-badge.closed {
    padding: 6px 16px;
}
.status-badge.open {
    background: #008848;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 136, 72, 0.15);
    position: relative;
}
.status-badge.open::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
.status-badge.open:hover {
    background: #007239;
    box-shadow: 0 4px 8px rgba(0, 136, 72, 0.2);
    transform: translateY(-1px);
}
.status-badge.closed {
    background: #f7f7f7;
    color: #6b7280;
    border-color: #e5e7eb;
    padding: 6px 16px;
    font-size: 13px;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.status-badge.closed:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}
.status-badge i {
    font-size: 14px;
    opacity: 0.9;
}
.status-badge.open i {
    color: white;
}
.status-badge.closed i {
    color: #9ca3af;
}
.status-text {
    font-weight: 500;
    line-height: 1.3;
}
.restaurant-opening-hours {
    margin-top: 5px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}
.opening-hours-summary {
    font-size: 14px;
    color: #374151;
}
.opening-hours-modal-list {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 8px;
    max-width: 100%;
}
.opening-hours-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.day-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 10px;
    border-radius: 4px;
    background-color: #fff;
    border-left: 3px solid transparent;
}
.day-row.today {
    border-left-color: #ff6b35;
    background-color: #fff8f0;
}
.day-row .day-name {
    font-weight: 600;
    min-width: 100px;
    color: #374151;
}
.day-row.today .day-name {
    color: #ff6b35;
}
.day-row .day-times {
    color: #4b5563;
    text-align: right;
    line-height: 1.5;
}
.day-row .closed-text {
    color: #ef4444;
    font-style: italic;
}
@media (max-width: 768px) {
    .restaurant-opening-hours {
        padding: 10px;
    }
    .opening-hours-summary {
        font-size: 13px;
    }
    .day-row {
        padding: 6px 8px;
    }
    .day-row .day-name {
        min-width: 80px;
        font-size: 13px;
    }
    .day-row .day-times {
        font-size: 13px;
    }
}
.hours-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}
.opening-hours-modal {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.opening-hours-modal h3 {
    margin-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.hours-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.hours-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hours-list li:last-child {
    border-bottom: none;
}
.day-name {
    font-weight: bold;
    min-width: 100px;
}
.day-times {
    color: #333;
}
.day-closed .day-closed-text {
    color: #a94442;
}
.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #888;
}
.close-modal-btn:hover {
    color: #333;
}
@media (max-width: 576px) {
    .hours-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    .day-name {
        margin-bottom: 5px;
    }
}
.opening-hours-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 10px;
}
.opening-hours-table {
    width: 100%;
    border-collapse: collapse;
}
.opening-hours-table th,
.opening-hours-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.opening-hours-table thead tr {
    background-color: #f8fafc;
}
.opening-hours-table th {
    font-weight: 600;
    color: #4b5563;
}
.opening-hours-table tbody tr:hover {
    background-color: #f8fafc;
}
.opening-hours-table .day-column {
    width: 25%;
    font-weight: 500;
}
.opening-hours-table .day-name {
    font-weight: 500;
}
.opening-hours-table tr.today {
    background-color: #f0fdf4;
}
.opening-hours-table tr.today .day-name {
    font-weight: 600;
    color: #10b981;
}
.opening-hours-table .closed-text {
    color: #ef4444;
    font-style: italic;
}
.opening-hours-table .hours-cell {
    color: #1f2937;
}
.restaurant-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    overflow-y: auto;
    padding: 15px;
}
.restaurant-info-modal.open {
    display: flex;
}
.restaurant-info-content {
    background-color: #fff;
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: scroll;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    z-index: 100000;
}
.restaurant-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}
.restaurant-info-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
}
.restaurant-info-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s ease;
}
.restaurant-info-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
.info-section {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: block;
    width: 100%;
}
.info-section:last-child {
    border-bottom: none;
    padding-bottom: 20px;
}
.info-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    line-height: 1.4;
}
.info-list li:last-child {
    margin-bottom: 0;
}
.info-list li i {
    margin-right: 10px;
    color: #666;
    min-width: 18px;
    text-align: center;
    font-size: 16px;
}
.opening-hours-tabs .nav-tabs {
    display: none;
}
.opening-hours-tabs .tab-content {
    padding-top: 0;
}
.opening-hours-tabs .tab-pane {
    display: block;
}
.mt-3 {
    margin-top: 1rem;
}
@media (max-width: 768px) {
    .opening-hours-table {
        font-size: 13px;
    }
    .opening-hours-table th, 
    .opening-hours-table td {
        padding: 6px 8px;
    }
    .opening-hours-table th.day-column {
        width: 80px;
    }
    .restaurant-info-content {
        max-width: 100%;
    }
    .info-section {
        padding: 12px 15px;
    }
}
@media (max-width: 576px) {
    .opening-hours-table-container {
        max-height: 250px;
        overflow-x: auto;
    }
    .opening-hours-table {
        min-width: 480px;
    }
    .restaurant-info-content {
        max-height: 85vh;
    }
}
.contact-button {
    background-color: #10b981 !important;
    display: inline-block;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    font-weight: 500;
    text-align: center;
}
.contact-button:hover {
    background-color: #059669 !important;
    color: white;
    text-decoration: none;
    transform: none;
}
.service-availability {
    margin-top: 20px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    padding: 12px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-width: 160px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.service-item.available {
    background: rgba(16, 185, 129, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}
.service-item.available i {
    color: white;
}
.service-item.unavailable {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
    color: #64748b;
}
.service-item.unavailable i {
    color: #94a3b8;
}
.service-item i {
    font-size: 16px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.service-item span {
    font-weight: 500;
    line-height: 1.3;
}
.service-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 768px) {
    .service-availability {
        margin-top: 10px;
        gap: 12px;
        flex-direction: column;
    }
    .service-item {
        font-size: 13px;
        padding: 6px 10px;
        min-width: auto;
        width: 100%;
    }
    .service-item i {
        font-size: 15px;
        width: 16px;
    }
}
@media (max-width: 480px) {
    .service-availability {
        gap: 8px;
    }
    .service-item {
        font-size: 12px;
        padding: 5px 8px;
    }
    .service-item i {
        font-size: 14px;
    }
}
.delivery-methods {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}
.delivery-method {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: #f3f4f6;
    font-size: 14px;
    position: relative;
}
.delivery-method.available {
    background-color: #ecfdf5;
    color: #065f46;
}
.delivery-method.available.inactive {
    background-color: #fff1f2;
    color: #be123c;
    opacity: 0.9;
}
.delivery-method.available.inactive span {
    text-decoration: line-through;
    opacity: 0.8;
}
.delivery-method.available.inactive i {
    opacity: 0.6;
}
.delivery-method i {
    margin-right: 6px;
    font-size: 16px;
}
.delivery-method span {
    font-weight: 500;
}
.all-methods-inactive-notice {
    margin-top: 10px;
    padding: 6px 10px;
    background-color: #fef2f2;
    color: #dc2626;
    border-radius: 4px;
    font-size: 13px;
    text-align: center;
    font-style: italic;
    width: 100%;
}
.method-status {
    font-size: 11px;
    display: block;
    margin-top: 3px;
    color: #dc2626;
    font-style: italic;
}
.category-slider-container {
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
    margin-left: -20px;
    margin-right: -20px;
    padding: 16px 20px;
    background: transparent;
}
.category-slider-container.scrolled {
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50% + 20px);
    padding-right: calc(50vw - 50% + 20px);
    padding-top: 16px;
    padding-bottom: 16px;
}
.category-slider-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.category-slider-container.scrolled::before {
    opacity: 1;
}
.restaurant-header {
    transition: all 0.3s ease;
}
.category-slider-container .category-slider {
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .category-slider-container {
        margin-left: -15px;
        margin-right: -15px;
        padding: 0 15px;
    }
    .category-slider-container.scrolled {
        padding-left: calc(50vw - 50% + 15px);
        padding-right: calc(50vw - 50% + 15px);
            padding-top: 6px;
    padding-bottom: 6px;
    }
}
@media (max-width: 480px) {
    .category-slider-container {
        margin-left: -10px;
        margin-right: -10px;
        padding: 0 10px;
    }
    .category-slider-container.scrolled {
        padding-left: calc(50vw - 50% + 10px);
        padding-right: calc(50vw - 50% + 10px);
    }
}

/* === File: themes/easyorder/assets/css/checkout-lieferando.css === */
.checkout-container {
    background-color: #f8f8f8;
    min-height: 100vh;
    padding: 20px 0;
}
.checkout-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
@media (max-width: 768px) {
    .checkout-container {
        padding: 8px 0;
        padding-bottom: 15px;
        min-height: calc(100vh - 100px); 
    }
    .checkout-wrapper {
        padding: 0 8px;
    }
}
.checkout-header {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .checkout-header {
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 0;
    }
}
.checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}
.checkout-step {
    display: flex;
    align-items: center;
    color: #999;
    font-size: 14px;
    position: relative;
}
.checkout-step.active {
    color: #ff8000;
    font-weight: 600;
}
.checkout-step.completed {
    color: #00a74a;
}
.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e5e5e5;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-weight: 600;
}
.checkout-step.active .step-number {
    background-color: #ff8000;
    color: white;
}
.checkout-step.completed .step-number {
    background-color: #00a74a;
    color: white;
}
.step-divider {
    width: 60px;
    height: 2px;
    background-color: #e5e5e5;
    margin: 0 15px;
}
.checkout-step.completed + .step-divider {
    background-color: #00a74a;
}
.checkout-main {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
    padding-bottom: 40px;
}
.checkout-forms {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}
.checkout-forms .form-section {
    border-bottom: 1px solid #f0f0f0;
}
.checkout-forms .form-section:last-child {
    border-bottom: none;
}
.section-header {
    background-color: #f8f8f8;
    padding: 12px 18px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
}
.section-title .icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    color: #ff8000;
}
.section-content {
    padding: 15px 18px;
}
.delivery-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.delivery-type-option {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.delivery-type-option:hover {
    border-color: #ff8000;
}
.delivery-type-option.active {
    border-color: #ff8000;
    background-color: #fff5e5;
}
.delivery-type-icon {
    font-size: 28px;
    margin-bottom: 6px;
}
.delivery-type-label {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-bottom: 2px;
}
.delivery-type-time {
    font-size: 13px;
    color: #666;
}
.form-section:last-child {
    margin-bottom: 0;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}
.form-group label .required {
    color: #ff4444;
}
.form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.2s;
    background-color: #fff;
}
.form-control:focus {
    outline: none;
    border-color: #ff8000;
    box-shadow: 0 0 0 3px rgba(255, 128, 0, 0.1);
}
.form-control:disabled {
    background-color: #f8f8f8;
    cursor: not-allowed;
}
.saved-addresses-list {
    margin-bottom: 15px;
}
.saved-address-item {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 15px 12px 45px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.saved-address-item:hover {
    border-color: #ff8000;
    box-shadow: 0 2px 8px rgba(255,128,0,0.15);
}
.saved-address-item.selected {
    border-color: #ff8000;
    background-color: #fff5e5;
    box-shadow: 0 2px 8px rgba(255,128,0,0.2);
}
.saved-address-radio {
    position: absolute;
    opacity: 0;
}
.saved-address-content {
    line-height: 1.4;
}
.saved-address-content strong {
    color: #333;
    font-weight: 600;
    font-size: 15px;
}
.saved-address-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    background-color: #fff;
    transition: all 0.2s;
}
.saved-address-item.selected::before {
    border-color: #ff8000;
}
.saved-address-item.selected::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #ff8000;
    border-radius: 50%;
    animation: scaleIn 0.2s ease-out;
}
@keyframes scaleIn {
    0% { transform: translateY(-50%) scale(0); }
    100% { transform: translateY(-50%) scale(1); }
}
.add-new-address-btn {
    width: 100%;
    padding: 10px;
    border: 2px dashed #ff8000;
    background-color: transparent;
    color: #ff8000;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.add-new-address-btn:hover {
    background-color: #fff5e5;
    border-style: solid;
}
.add-new-address-btn i {
    font-size: 16px;
}
.payment-methods {
    display: grid;
    gap: 12px;
}
.payment-method-item {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.payment-method-item:hover {
    border-color: #ff8000;
}
.payment-method-item.selected {
    border-color: #ff8000;
    background-color: #fff5e5;
}
.payment-method-info {
    display: flex;
    align-items: center;
}
.payment-method-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.payment-method-name {
    font-weight: 500;
    color: #333;
}
.payment-method-desc {
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}
.checkout-summary {
    position: sticky;
    top: 20px;
}
.order-summary-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}
.summary-header {
    background-color: #333;
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 18px;
}
.summary-restaurant {
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
}
.restaurant-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.restaurant-info {
    font-size: 14px;
    color: #666;
}
.summary-items {
    padding: 20px;
    border-bottom: 1px solid #e5e5e5;
    max-height: 300px;
    overflow-y: auto;
}
.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}
.summary-item:last-child {
    margin-bottom: 0;
}
.item-details {
    flex: 1;
    margin-right: 10px;
}
.item-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}
.item-quantity {
    font-size: 14px;
    color: #666;
}
.item-options {
    font-size: 13px;
    color: #666;
    font-style: italic;
}
.item-price {
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}
.summary-totals {
    padding: 20px;
    background-color: #f8f8f8;
}
.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}
.total-line:last-child {
    margin-bottom: 0;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
    font-size: 18px;
    font-weight: 600;
}
.total-label {
    color: #666;
}
.total-line:last-child .total-label {
    color: #333;
}
.total-amount {
    color: #333;
}
.order-button-wrapper {
    padding: 20px;
}
.order-button {
    width: 100%;
    padding: 16px;
    background-color: #ff8000;
    color: white;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.order-button:hover:not(:disabled) {
    background-color: #e67300;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 128, 0, 0.3);
}
.order-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.order-button-text {
    display: flex;
    align-items: center;
    justify-content: center;
}
.order-button-text .icon {
    margin-right: 8px;
}
.comments-section {
    margin-top: 20px;
}
.comments-textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
}
.terms-checkbox {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
}
.terms-checkbox input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}
.terms-checkbox label {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
.terms-checkbox a {
    color: #ff8000;
    text-decoration: none;
}
.terms-checkbox a:hover {
    text-decoration: underline;
}
@media (max-width: 991px) {
    .checkout-main {
        grid-template-columns: 1fr;
    }
    .checkout-summary {
        position: relative;
        top: 0;
        order: -1;
        margin-bottom: 20px;
    }
}
@media (max-width: 767px) {
    .checkout-container {
        padding: 0;
        padding-bottom: 100px; 
    }
    .checkout-wrapper {
        padding: 0;
    }
    .checkout-header {
        margin-bottom: 10px;
        border-radius: 0;
        padding: 15px;
    }
    .checkout-steps {
        font-size: 12px;
    }
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    .step-divider {
        width: 30px;
    }
    .checkout-main {
        display: flex;
        flex-direction: column;
    }
    .checkout-forms {
        order: 1;
        border-radius: 0;
        margin-bottom: 5px; 
    }
    .checkout-summary {
        order: 2;
        position: static;
        margin-bottom: 0; 
    }
    .order-summary-card {
        border-radius: 0;
        margin-bottom: 0;
    }
    .order-button-wrapper {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 15px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        border-top: 1px solid #e5e5e5;
        z-index: 1000;
        border-radius: 0;
    }
    .terms-checkbox {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .terms-checkbox label {
        font-size: 12px;
        line-height: 1.3;
    }
    .order-button {
        padding: 14px;
        font-size: 16px;
        border-radius: 6px;
    }
    .order-button-wrapper .text-center {
        margin-top: 8px !important;
    }
    .order-button-wrapper .small {
        font-size: 11px;
    }
    .section-header {
        padding: 10px 15px; 
    }
    .section-title {
        font-size: 16px;
    }
    .section-content {
        padding: 12px 15px; 
    }
    .delivery-type-selector {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .delivery-type-option {
        padding: 12px;
    }
    .delivery-type-icon {
        font-size: 24px;
        margin-bottom: 5px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .form-group {
        margin-bottom: 15px;
    }
    .form-control {
        padding: 10px 12px;
        font-size: 16px; 
    }
    .payment-method-item {
        padding: 12px;
    }
    .payment-method-icon {
        width: 32px;
        height: 32px;
        font-size: 20px;
        margin-right: 12px;
    }
    .payment-method-name {
        font-size: 15px;
    }
    .payment-method-desc {
        font-size: 12px;
    }
    .summary-items {
        padding: 15px;
        max-height: none; 
    }
    .summary-item {
        margin-bottom: 12px;
    }
    .item-name {
        font-size: 14px;
    }
    .item-quantity,
    .item-options {
        font-size: 12px;
    }
    .summary-totals {
        padding: 15px;
        margin-bottom: 10px;
    }
    .total-line {
        font-size: 13px;
        margin-bottom: 8px;
    }
    .total-line:last-child {
        font-size: 16px;
        margin-top: 8px;
        padding-top: 8px;
    }
    .summary-coupon-section {
        padding: 12px 15px;
    }
    .coupon-input-wrapper input {
        font-size: 14px;
        padding: 8px 10px;
    }
    .coupon-input-wrapper button {
        font-size: 13px;
        padding: 8px 12px;
    }
    .tip-section {
        padding: 12px 0;
    }
    .tip-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .tip-btn {
        padding: 6px 8px;
        font-size: 13px;
    }
    .custom-tip-btn {
        grid-column: span 3;
    }
    .comments-textarea {
        min-height: 80px;
        font-size: 14px;
        padding: 10px 12px;
    }
    .saved-address-item {
        padding: 12px;
        margin-bottom: 10px;
    }
    .saved-address-content {
        font-size: 14px;
    }
    .add-new-address-btn {
        padding: 10px;
        font-size: 14px;
    }
    .time-option-row {
        grid-template-columns: 1fr;
    }
    .time-option {
        padding: 10px;
    }
    .time-option-content {
        font-size: 14px;
    }
    .time-option-content i {
        font-size: 16px;
    }
    .checkout-main {
        display: flex;
        flex-direction: column;
    }
    .checkout-summary {
        order: 0;
        margin-bottom: 10px;
    }
    .checkout-forms {
        order: 1;
    }
    .summary-header {
        padding: 12px 15px;
        font-size: 16px;
    }
    .summary-restaurant {
        padding: 12px 15px;
    }
    .restaurant-name {
        font-size: 15px;
    }
    .restaurant-info {
        font-size: 13px;
    }
}
.section-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}
.section-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff8000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.success-checkmark {
    color: #00a74a;
    font-size: 20px;
    animation: checkmark 0.4s ease-in-out;
}
@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.summary-coupon-section {
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
}
.coupon-input-wrapper {
    display: flex;
    gap: 8px;
}
.coupon-input-wrapper input {
    flex: 1;
}
.applied-coupon-item {
    background-color: #e8f5e9;
    padding: 8px 12px;
    border-radius: 4px;
}
.tip-section {
    padding: 15px 0;
    border-top: 1px solid #e5e5e5;
}
.tip-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}
.tip-btn {
    padding: 8px 12px;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.tip-btn:hover {
    border-color: #ff8000;
}
.tip-btn.active {
    background-color: #ff8000;
    color: white;
    border-color: #ff8000;
}
.custom-tip-input input {
    width: 100%;
}
.delivery-time-options {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}
.time-option-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
.time-option {
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
}
.time-option:hover {
    border-color: #ff8000;
}
.time-option.active {
    border-color: #ff8000;
    background-color: #fff5e5;
}
.time-option-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    color: #333;
}
.time-option-content i {
    color: #ff8000;
    font-size: 18px;
}
.scheduled-time-fields {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}
@media (max-width: 767px) {
    .time-option-row {
        grid-template-columns: 1fr;
    }
}
