/* ============================================
   Tempero & Sabor - Client Page Styles
   Color Scheme: Based on Logo Colors
   Primary: #eeb534 (Golden Yellow)
   Secondary: #df4c2d (Red/Orange)
   Background: #f0e0d0 (Beige/Cream)
   Dark: #303030 (Dark Gray)
   ============================================ */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0e0d0 0%, #ffffff 25%, #f0e0d0 50%, #ffffff 75%, #f0e0d0 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding-bottom: 80px;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Prevent scroll when cart is open - Mobile fix */
body.cart-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    touch-action: none;
    -webkit-overflow-scrolling: none;
}

html.cart-open {
    overflow: hidden !important;
    height: 100% !important;
}

/* Header */
.header {
    background: #212121;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid rgba(238, 181, 52, 0.2);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 15px;
}

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

.header-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo-placeholder {
    width: auto;
    height: 117px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: none;
    padding: 0;
}

/* Desktop: Increase logo height by 30% */
@media (min-width: 769px) {
    .logo-placeholder {
        height: 152px;
    }
}

.logo-placeholder img {
    height: 100%;
    width: auto;
    max-width: none;
    display: block;
}

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

.restaurant-name {
    font-size: clamp(1.2rem, 5vw, 3rem);
    color: #ffffff;
    text-align: left;
    margin: 0;
    font-weight: 700;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

/* Header Toolbar - Removed, buttons now in header-content */

/* Map Toggle Button */
.map-toggle {
    position: relative;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.map-toggle:hover {
    background: rgba(238, 181, 52, 0.15);
    border-color: #eeb534;
    transform: scale(1.05);
}

.map-toggle:active {
    transform: scale(0.95);
}

.map-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.map-toggle:hover .map-icon {
    color: #eeb534;
}

/* Cart Toggle Button in Toolbar */
.cart-toggle {
    position: relative;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.cart-toggle:hover {
    background: rgba(238, 181, 52, 0.15);
    border-color: #eeb534;
    transform: scale(1.05);
}

.cart-toggle:active {
    transform: scale(0.95);
}

.cart-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.cart-toggle:hover .cart-icon {
    color: #eeb534;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #df4c2d;
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0 4px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: none;
}

.cart-count.pulse {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Opening Hours Section - Minimalista */
.opening-hours-section {
    background: white;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.opening-hours-info {
    max-width: 1200px;
    margin: 0 auto;
}

.opening-hours-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.opening-hours-date {
    font-size: 0.9rem;
    color: #303030;
    font-weight: 600;
    text-align: center;
}

.opening-hours-status-container {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.opening-hours-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.opening-hours-status.status-open {
    background: #e8f5e9;
    color: #2e7d32;
}

.opening-hours-status.status-closed {
    background: #ffebee;
    color: #c62828;
}

.opening-hours-status.status-not-started {
    background: #fff3e0;
    color: #e65100;
}

.opening-hours-status.status-finished {
    background: #eceff1;
    color: #546e7a;
}

.opening-hours-time-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.opening-hours-time {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.opening-hours-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 1;
    color: #eeb534;
}

.opening-hours-icon-btn svg {
    width: 16px;
    height: 16px;
}

.opening-hours-icon-btn:hover {
    background: rgba(238, 181, 52, 0.1);
    transform: scale(1.1);
    color: #d69826;
}

.opening-hours-icon-btn:active {
    transform: scale(0.95);
}

.opening-hours-timezone-notice {
    max-width: 1200px;
    margin: 8px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #666;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}

.timezone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #eeb534;
}

.timezone-icon svg {
    width: 14px;
    height: 14px;
}

.timezone-text {
    font-size: 0.7rem;
}

/* Hours Modal Overlay */
.hours-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hours-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hours Modal Sidebar */
.hours-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    height: 100dvh;
    background: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.hours-sidebar.open {
    right: 0;
}

.hours-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: white;
}

.hours-header h2 {
    font-size: 1.5rem;
    color: #303030;
    flex: 1;
    text-align: center;
    margin: 0;
    font-weight: 700;
}

.close-hours {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.close-hours:hover {
    background: #f0e0d0;
    color: #303030;
}

.close-hours:active {
    background: #f0f0f0;
}

.hours-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-day-item {
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-day-item:hover {
    border-color: #eeb534;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hours-day-item.current-day {
    background: #f0e0d0;
    border-color: #eeb534;
}

.hours-day-item.closed-day {
    background: #ffebee;
    border-color: #df4c2d;
}

.hours-day-name {
    font-size: 1rem;
    font-weight: 600;
    color: #303030;
}

.hours-day-item.closed-day .hours-day-name {
    color: #df4c2d;
}

.hours-day-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hours-status-badge {
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hours-status-badge.status-open {
    background: #e8f5e9;
    color: #2e7d32;
}

.hours-status-badge.status-closed {
    background: #ffebee;
    color: #c62828;
}

.hours-status-badge.status-not-started {
    background: #fff3e0;
    color: #e65100;
}

.hours-status-badge.status-finished {
    background: #eceff1;
    color: #546e7a;
}

.hours-time-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Prevent scroll when hours modal is open */
body.hours-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    touch-action: none;
    -webkit-overflow-scrolling: none;
}

html.hours-open {
    overflow: hidden !important;
    height: 100% !important;
}

/* Responsive: Tablet */
@media (max-width: 768px) {
    .opening-hours-section {
        padding: 12px 16px;
    }
    
    .opening-hours-date {
        font-size: 0.85rem;
    }
    
    .opening-hours-status {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
    
    .opening-hours-time {
        font-size: 0.85rem;
    }
    
    .opening-hours-icon-btn {
        font-size: 0.9rem;
        width: 22px;
        height: 22px;
    }
    
    .hours-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Responsive: Mobile */
@media (max-width: 480px) {
    .opening-hours-section {
        padding: 10px 12px;
    }
    
    .opening-hours-info-container {
        gap: 10px;
    }
    
    .opening-hours-date {
        font-size: 0.8rem;
    }
    
    .opening-hours-status-container {
        gap: 8px;
    }
    
    .opening-hours-status {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .opening-hours-time {
        font-size: 0.8rem;
    }
    
    .opening-hours-icon-btn {
        font-size: 0.85rem;
        width: 20px;
        height: 20px;
    }
    
    .hours-header {
        padding: 16px;
    }
    
    .hours-header h2 {
        font-size: 1.3rem;
    }
    
    .hours-content {
        padding: 16px;
        gap: 10px;
    }
    
    .hours-day-item {
        padding: 12px;
    }
    
    .hours-day-name {
        font-size: 0.9rem;
    }
}

/* Responsive: Header Toolbar */
@media (max-width: 768px) {
    .header-content {
        justify-content: space-between;
        gap: 10px;
        padding: 0 10px;
    }
    
    .logo-title-container {
        gap: 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .restaurant-name {
        max-width: calc(100% - 10px);
    }
    
    .map-toggle,
    .cart-toggle {
        width: 44px;
        height: 44px;
    }
    
    .map-icon,
    .cart-icon {
        width: 22px;
        height: 22px;
    }
    
    .cart-count {
        min-width: 18px;
        height: 18px;
        font-size: 0.65rem;
        top: -6px;
        right: -6px;
    }
    
    .restaurant-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        gap: 8px;
    }
    
    .map-toggle,
    .cart-toggle {
        width: 40px;
        height: 40px;
    }
    
    .map-icon,
    .cart-icon {
        width: 20px;
        height: 20px;
    }
    
    .restaurant-name {
        font-size: 1.3rem;
    }
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Search Section */
.search-section {
    margin-bottom: 30px;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: #333;
    background: white;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #eeb534;
}

.search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.3s ease;
}

.search-clear:hover {
    color: #333;
}

/* Categories */
.categories {
    margin-bottom: 30px;
}

/* Layout Selector */
.layout-selector-section {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
    padding: 0 20px;
}

.layout-selector {
    display: flex;
    gap: 8px;
    background: white;
    padding: 6px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.layout-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #666;
}

.layout-btn:hover {
    background: #f0e0d0;
    color: #eeb534;
}

.layout-btn.active {
    background: #eeb534;
    color: white;
}

.layout-btn svg {
    width: 20px;
    height: 20px;
}

.category-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: #f0e0d0;
    border-color: #eeb534;
}

.category-btn.active {
    background: #eeb534;
    color: white;
    border-color: #eeb534;
}

/* Category button click animation */
.category-btn.clicked {
    animation: buttonPulse 0.4s ease;
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

/* Menu Items Grid */
.menu-items {
    margin-bottom: 30px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    transition: opacity 0.3s ease;
}

.items-grid.fade-out {
    opacity: 0;
    pointer-events: none;
}

.items-grid.horizontal {
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Desktop: 3 cards per row in horizontal layout */
@media (min-width: 769px) {
    .items-grid.horizontal {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .item-card.horizontal .item-image-container {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
    
    .item-card.horizontal .item-image {
        max-height: 250px !important;
    }
    
    .item-card.horizontal .item-image.hotdog-image {
        max-height: 250px !important;
    }
}

.item-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
}


.item-card.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(238, 181, 52, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.item-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(238, 181, 52, 0.2);
    border-color: rgba(238, 181, 52, 0.4);
}

.item-card:hover::before {
    opacity: 1;
}

.item-image-container {
    position: relative;
    width: 100%;
    height: 350px;
    min-height: 350px;
    background: linear-gradient(135deg, rgba(240, 224, 208, 0.3) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(240, 224, 208, 0.3) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border: none;
}

/* Allow hot dog containers to show larger images without cropping */
.item-image-container.hotdog-container {
    overflow: visible;
}

.item-image-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(238, 181, 52, 0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.item-card:hover .item-image-container::before {
    opacity: 1;
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    outline: none;
}

/* Hot Dog images - 21% larger using contain to avoid cropping */
.item-image.hotdog-image {
    width: 121%;
    height: 121%;
    object-fit: contain;
    object-position: center;
}

.item-card:hover .item-image {
    transform: scale(1.08);
}

.item-card:hover .item-image.hotdog-image {
    width: 130.68%; /* 121% * 1.08 */
    height: 130.68%;
    transform: none;
}

.item-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    position: relative;
    z-index: 1;
}

.item-card:not(.horizontal) .item-content {
    padding: 24px 24px 20px 24px;
}

/* Horizontal Card Layout */
.item-card.horizontal {
    flex-direction: column !important;
    height: auto;
}

.item-card.horizontal .item-top-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    height: auto;
}

.item-card.horizontal .item-content {
    padding: 15px 15px 0 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: auto;
    align-self: flex-start;
}

.item-card.horizontal .item-image-container {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
    flex-shrink: 0;
    overflow: hidden;
    height: auto;
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-card.horizontal .item-image {
    width: 100% !important;
    height: auto !important;
    max-width: 180px !important;
    max-height: 100% !important;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Override hot dog image size in horizontal layout */
.item-card.horizontal .item-image.hotdog-image {
    width: 100% !important;
    height: auto !important;
    max-width: 180px !important;
    max-height: 100% !important;
    object-fit: contain;
}

.item-card.horizontal .item-title {
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.item-card.horizontal .item-description {
    margin-bottom: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    overflow: visible;
    text-overflow: clip;
    display: block;
    flex: 0 0 auto;
}

.item-card.horizontal .item-price-actions {
    margin-top: 0;
    gap: 10px;
    padding: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.item-card.horizontal .item-price-actions .item-price {
    font-size: 1.2rem;
}

.item-card.horizontal .item-price-actions .item-buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.item-card.horizontal .btn-buy-now,
.item-card.horizontal .btn-add-cart {
    padding: 8px 12px;
    font-size: 0.9rem;
    margin: 0;
    white-space: nowrap;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.item-card.horizontal .btn-add-cart {
    width: auto;
    min-width: auto;
    padding: 8px 12px;
    height: 40px;
    gap: 6px;
}

.item-card.horizontal .btn-add-cart span {
    white-space: nowrap;
}

.item-card.horizontal .btn-add-cart svg {
    width: 20px;
    height: 20px;
}

.item-card.horizontal .item-content {
    display: flex;
    flex-direction: column;
}

.item-card.horizontal .item-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
}

/* Responsive: Horizontal cards on mobile - keep horizontal but adjust sizes */
@media (max-width: 768px) {
    .item-card.horizontal .item-top-section {
        gap: 10px;
        align-items: flex-start;
        height: auto;
    }
    
    .item-card.horizontal .item-image-container {
        width: 140px;
        min-width: 140px;
        max-width: 140px;
        height: 150px;
        min-height: 150px;
        max-height: 150px;
        align-self: flex-start;
    }
    
    .item-card.horizontal .item-image {
        max-width: 140px !important;
        max-height: 150px !important;
        height: 100% !important;
    }
    
    .item-card.horizontal .item-image.hotdog-image {
        max-width: 140px !important;
        max-height: 150px !important;
        height: 100% !important;
    }
    
    .item-card.horizontal .item-content {
        padding: 12px 12px 0 12px;
        height: 150px;
        min-height: 150px;
        max-height: 150px;
        align-self: flex-start;
        overflow-y: auto;
    }
    
    .item-card.horizontal .item-price-actions {
        padding: 12px;
    }
    
    .item-card.horizontal .item-title {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .item-card.horizontal .item-description {
        font-size: 0.8rem;
        margin-bottom: 6px;
        overflow: visible;
        text-overflow: clip;
        display: block;
    }
    
    .item-card.horizontal .item-price-actions .item-price {
        font-size: 1.1rem;
    }
    
    .item-card.horizontal .btn-buy-now,
    .item-card.horizontal .btn-add-cart {
        padding: 6px 10px;
        font-size: 0.85rem;
        min-width: 100px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }
    
    .item-card.horizontal .btn-add-cart {
        width: auto;
        min-width: auto;
        padding: 6px 10px;
        height: 36px;
        gap: 4px;
    }
    
    .item-card.horizontal .btn-add-cart span {
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .item-card.horizontal .btn-add-cart svg {
        width: 18px;
        height: 18px;
    }
    
    .item-card.horizontal .item-buttons {
        display: flex;
        flex-direction: row;
        gap: 6px;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .item-card.horizontal .item-price-actions .item-buttons {
        display: flex;
        flex-direction: row;
        gap: 6px;
        flex-wrap: nowrap;
        align-items: center;
    }
}

.item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #303030;
    margin-bottom: 8px;
}

.item-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.item-card.horizontal .item-description {
    min-height: auto;
}

.item-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #eeb534;
    margin-bottom: 15px;
}

/* Price and actions container (price + buttons on same line) */
.item-price-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.item-card:not(.horizontal) .item-price-actions {
    margin-top: 0;
}

.item-price-actions .item-price {
    margin-bottom: 0;
    flex-shrink: 0;
}

.item-price-actions .item-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
    flex-wrap: nowrap;
}

/* Vertical layout: price on top, buttons below, both centered */
.item-card:not(.horizontal) .item-price-actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 24px 24px 24px;
}

.item-card:not(.horizontal) .item-price-actions .item-price {
    text-align: center;
    width: 100%;
    margin-bottom: 0;
}

.item-card:not(.horizontal) .item-price-actions .item-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.item-card:not(.horizontal) .item-price-actions .btn-buy-now,
.item-card:not(.horizontal) .item-price-actions .btn-add-cart {
    width: auto !important;
    min-width: 140px;
    flex: 0 0 auto;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0 !important;
}

.item-card:not(.horizontal) .item-price-actions .btn-add-cart {
    width: auto;
    min-width: 140px;
    padding: 12px;
    height: 44px;
    gap: 8px;
}

.item-card:not(.horizontal) .item-price-actions .btn-add-cart span {
    white-space: nowrap;
}

.btn-buy-now {
    width: 100%;
    padding: 12px;
    background: #df4c2d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-bottom: 10px;
}

.btn-buy-now:hover {
    background: #c43d20;
}

.btn-buy-now:active {
    transform: scale(0.98);
}

.btn-add-cart {
    width: 100%;
    padding: 12px;
    background: #eeb534;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn-add-cart:hover {
    background: #d69826;
}

.btn-add-cart:active {
    transform: scale(0.98);
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    background: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: relative;
    background: white;
}

.cart-back-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #eeb534;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
    border-radius: 50%;
    font-weight: bold;
}

.cart-back-btn:hover {
    background: #f0e0d0;
    color: #d69826;
}

.cart-back-btn:active {
    background: #f0f0f0;
}

.cart-header h2 {
    font-size: 1.5rem;
    color: #303030;
    flex: 1;
    text-align: center;
    margin: 0;
    font-weight: 700;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.3s ease, background 0.3s ease;
    border-radius: 50%;
}

.close-cart:hover {
    color: #333;
    background: #f0f0f0;
}

.close-cart:active {
    background: #e0e0e0;
}

/* Cart Steps */
.cart-step {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px); /* Dynamic viewport height for mobile browsers */
    overflow: hidden;
}

.cart-step-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.cart-step-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: white;
}

.cart-step-buttons {
    display: flex;
    gap: 10px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    background: #f0f0f0;
}

/* Hot Dog images in cart - 21% larger width (66px * 1.10) */
.cart-item-image.hotdog-image {
    width: 73px;
}

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

.cart-item-name {
    font-weight: 600;
    color: #303030;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #eeb534;
    font-weight: 600;
    word-wrap: break-word;
    line-height: 1.4;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.quantity-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #f0e0d0;
    border-color: #eeb534;
}

.quantity-btn:active {
    transform: scale(0.95);
    background: #f0e0d0;
}

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

.cart-item-remove {
    background: #df4c2d;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.cart-item-remove:hover {
    background: #cc3a24;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: #f8f8f8;
}

.cart-customer-fields {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.field-group {
    margin-bottom: 15px;
}

.field-group:last-child {
    margin-bottom: 0;
}

.field-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #303030;
    margin-bottom: 5px;
}

.customer-input,
.customer-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    color: #333;
    background: white;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.customer-input:focus,
.customer-textarea:focus {
    outline: none;
    border-color: #eeb534;
    box-shadow: 0 0 0 3px rgba(238, 181, 52, 0.1);
}

.customer-textarea {
    resize: vertical;
    min-height: 60px;
}

/* Delivery Methods */
.delivery-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 52px;
}

.delivery-option:hover {
    border-color: #eeb534;
    background: #f0e0d0;
}

.delivery-option:has(input[type="radio"]:checked) {
    border-color: #eeb534;
    background: #f0e0d0;
}

.delivery-option:has(input[type="radio"]:checked) span {
    font-weight: 600;
    color: #eeb534;
}

.delivery-address-field {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    background: #f0e0d0;
    border-color: #eeb534;
}

.payment-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #eeb534;
}

.payment-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: #eeb534;
}

.payment-option span {
    font-size: 0.95rem;
    color: #333;
    user-select: none;
}

.change-field {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.change-field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #303030;
    margin-bottom: 5px;
}

.change-result {
    margin-top: 10px;
    padding: 10px;
    background: #f0e0d0;
    border-radius: 6px;
    border: 1px solid #eeb534;
}

.change-label {
    font-size: 0.95rem;
    color: #303030;
    font-weight: 600;
}

.change-value {
    font-size: 1.1rem;
    color: #eeb534;
    font-weight: bold;
}

.cart-total {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
    color: #303030;
}

/* Navigation Buttons */
.btn-continue,
.btn-checkout {
    width: 100%;
    padding: 16px;
    min-height: 52px;
    background: #eeb534;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-continue:hover,
.btn-checkout:hover {
    background: #d69826;
}

.btn-continue:active,
.btn-checkout:active {
    transform: scale(0.98);
    background: #d68910;
}

.btn-back {
    flex: 1;
    padding: 16px;
    min-height: 52px;
    background: white;
    color: #303030;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.btn-back:hover {
    border-color: #eeb534;
    color: #eeb534;
    background: #f0e0d0;
}

.btn-back:active {
    transform: scale(0.98);
    background: #f0f0f0;
}

.cart-step-buttons .btn-checkout {
    flex: 2;
}

.btn-checkout:disabled {
    background: #ccc;
    cursor: not-allowed;
}


/* Empty Cart Message */
.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

/* Maps Selection Modal */
.maps-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.maps-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.maps-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.maps-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.maps-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.maps-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #303030;
    font-weight: 600;
}

.maps-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.maps-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.maps-modal-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.maps-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    color: #303030;
    text-align: left;
}

.maps-option:hover {
    border-color: #eeb534;
    background: #f0e0d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 181, 52, 0.2);
}

.maps-option:active {
    transform: translateY(0);
}

.maps-option svg {
    width: 24px;
    height: 24px;
    color: #eeb534;
    flex-shrink: 0;
}

.maps-option span {
    flex: 1;
}

@media (max-width: 480px) {
    .maps-modal {
        width: 95%;
        border-radius: 16px;
    }
    
    .maps-modal-header {
        padding: 16px;
    }
    
    .maps-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .maps-modal-content {
        padding: 16px;
        gap: 12px;
    }
    
    .maps-option {
        padding: 14px;
        font-size: 0.95rem;
    }
}

/* Alert Modal - Generic Alert Modal */
.alert-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.alert-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.alert-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 400px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.alert-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.alert-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.alert-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #303030;
    font-weight: 600;
}

.alert-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.alert-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.alert-modal-content {
    padding: 20px;
}

.alert-modal-content p {
    margin: 0;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    text-align: center;
}

.alert-modal-footer {
    padding: 0 20px 20px 20px;
    display: flex;
    justify-content: center;
}

.alert-modal-ok {
    width: 100%;
    padding: 12px;
    background: #eeb534;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.alert-modal-ok:hover {
    background: #d69826;
}

.alert-modal-ok:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .alert-modal {
        width: 95%;
        border-radius: 16px;
    }
    
    .alert-modal-header {
        padding: 16px;
    }
    
    .alert-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .alert-modal-content {
        padding: 16px;
    }
    
    .alert-modal-content p {
        font-size: 0.95rem;
    }
    
    .alert-modal-footer {
        padding: 0 16px 16px 16px;
    }
    
    .alert-modal-ok {
        padding: 14px;
        font-size: 0.95rem;
    }
}

/* Pickup Map Modal */
.pickup-map-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.pickup-map-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pickup-map-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pickup-map-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.pickup-map-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pickup-map-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #303030;
    font-weight: 600;
}

.pickup-map-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pickup-map-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.pickup-map-modal-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pickup-map-container {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    position: relative;
    background: linear-gradient(135deg, #f0e0d0 0%, #e8d4b8 50%, #f0e0d0 100%);
}

.pickup-map-container.map-placeholder {
    background: linear-gradient(135deg, #f0e0d0 0%, #e8d4b8 50%, #f0e0d0 100%);
}

.pickup-map-container.map-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eeb534' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.6;
    z-index: 1;
}

.pickup-map-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.pickup-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #f0e0d0 0%, #e8d4b8 50%, #f0e0d0 100%);
}

.pickup-map-placeholder-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    color: #eeb534;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

.pickup-map-placeholder-icon svg {
    width: 100%;
    height: 100%;
}

.pickup-map-image:not([src=""]) ~ .pickup-map-placeholder-icon {
    display: none;
}

.pickup-map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 15px 20px;
    color: white;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: none;
    z-index: 2;
}

.pickup-map-link:hover .pickup-map-overlay {
    background: linear-gradient(to top, rgba(238, 181, 52, 0.9), transparent);
}

.pickup-map-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pickup-map-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    color: #303030;
    text-align: left;
}

.pickup-map-btn:hover {
    border-color: #eeb534;
    background: #f0e0d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 181, 52, 0.2);
}

.pickup-map-btn:active {
    transform: translateY(0);
}

.pickup-map-btn svg {
    width: 24px;
    height: 24px;
    color: #eeb534;
    flex-shrink: 0;
}

.pickup-map-btn span {
    flex: 1;
}

@media (max-width: 480px) {
    .pickup-map-modal {
        width: 95%;
        border-radius: 16px;
        max-width: none;
    }
    
    .pickup-map-modal-header {
        padding: 16px;
    }
    
    .pickup-map-modal-header h3 {
        font-size: 1.1rem;
    }
    
    .pickup-map-modal-content {
        padding: 16px;
        gap: 16px;
    }
    
    .pickup-map-container {
        height: 250px;
    }
    
    .pickup-map-btn {
        padding: 14px;
        font-size: 0.95rem;
    }
}

/* Responsive - Mobile First */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
        box-shadow: none;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
    }
    
    .cart-header {
        padding: 16px;
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
    }
    
    .cart-header h2 {
        font-size: 1.3rem;
    }
    
    .cart-items {
        padding: 16px;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .cart-item {
        padding: 12px;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .cart-item-image {
        width: 70px;
        height: 70px;
    }
    
    .cart-item-name {
        font-size: 0.95rem;
    }
    
    .cart-item-price {
        font-size: 1rem;
    }
    
    .cart-footer {
        padding: 16px;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 2px solid #e0e0e0;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    }
    
    .cart-customer-fields {
        margin-bottom: 16px;
        padding-bottom: 16px;
    }
    
    .field-group {
        margin-bottom: 16px;
    }
    
    .field-group label {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .customer-input,
    .customer-textarea {
        padding: 14px;
        font-size: 16px;
    }
    
    .payment-option {
        padding: 14px;
        min-height: 52px;
    }
    
    .payment-option span {
        font-size: 1rem;
    }
    
    .cart-total {
        font-size: 1.2rem;
        padding: 12px 0;
        margin-bottom: 12px;
    }
    
    .btn-checkout {
        padding: 18px;
        font-size: 1.1rem;
        min-height: 56px;
    }
    
    .change-field {
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .change-result {
        padding: 12px;
        margin-top: 8px;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
    }
    
    .restaurant-name {
        font-size: 1.5rem;
    }
    
    .cart-step {
        height: calc(100vh - 80px);
        height: calc(100dvh - 80px); /* Dynamic viewport height for mobile browsers */
    }
    
    .cart-step-content {
        padding: 16px;
    }
    
    .cart-step-footer {
        padding: 16px;
    }
    
    .cart-back-btn {
        font-size: 1.3rem;
    }
    
    .cart-header h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .cart-header {
        padding: 14px;
    }
    
    .cart-header h2 {
        font-size: 1.2rem;
    }
    
    .cart-items {
        padding: 14px;
    }
    
    .cart-item {
        padding: 10px;
        gap: 10px;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-footer {
        padding: 14px;
    }
    
    .field-group {
        margin-bottom: 14px;
    }
    
    .customer-input,
    .customer-textarea {
        padding: 12px;
    }
    
    .payment-option {
        padding: 12px;
        min-height: 48px;
    }
    
    .btn-checkout {
        padding: 16px;
        min-height: 52px;
    }
    
    .cart-step {
        height: calc(100vh - 70px);
        height: calc(100dvh - 70px); /* Dynamic viewport height for mobile browsers */
    }
    
    .cart-step-content {
        padding: 14px;
    }
    
    .cart-step-footer {
        padding: 14px;
    }
    
    .cart-step-buttons {
        flex-direction: column;
    }
    
    .cart-step-buttons .btn-back,
    .cart-step-buttons .btn-checkout {
        width: 100%;
    }
}

