.shop-page {
    min-height: 100vh;
    background: var(--bg);
    padding: 24px 16px;
}
.shop-container {
    max-width: 900px;
    margin: 0 auto;
}
.shop-header {
    text-align: center;
    margin-bottom: 32px;
}
.shop-header h1 { font-size: 26px; margin-bottom: 8px; }
.shop-header .subtitle { color: var(--text-muted); font-size: 15px; }
.shop-header .deadline-info { margin-top: 8px; font-size: 13px; color: var(--warning); font-weight: 500; }

.shop-day {
    margin-bottom: 24px;
}
.shop-day-header {
    margin-bottom: 12px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    display: inline-block;
}
.shop-day[data-day="lunes"] .shop-day-header { background: var(--day-lunes); border-left: 3px solid var(--day-lunes-border); }
.shop-day[data-day="martes"] .shop-day-header { background: var(--day-martes); border-left: 3px solid var(--day-martes-border); }
.shop-day[data-day="miercoles"] .shop-day-header { background: var(--day-miercoles); border-left: 3px solid var(--day-miercoles-border); }
.shop-day[data-day="jueves"] .shop-day-header { background: var(--day-jueves); border-left: 3px solid var(--day-jueves-border); }
.shop-day[data-day="viernes"] .shop-day-header { background: var(--day-viernes); border-left: 3px solid var(--day-viernes-border); }

.shop-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}
.shop-menu-item {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}
.shop-menu-item.in-cart {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.shop-menu-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}
.shop-menu-placeholder {
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    font-size: 32px;
}
.shop-menu-body { padding: 12px; }
.shop-menu-title { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.shop-menu-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; margin-bottom: 6px; }
.shop-menu-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 6px;
}

.shop-qty-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.qty-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.qty-value { font-size: 16px; font-weight: 600; min-width: 20px; text-align: center; }

/* Cart */
.shop-cart {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
    position: sticky;
    top: 16px;
    z-index: 10;
    box-shadow: var(--shadow-md);
}
.shop-cart h3 { margin-bottom: 12px; font-size: 16px; }
.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}
.cart-totals { margin-top: 12px; }
.cart-line { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.cart-total { font-weight: 700; font-size: 18px; border-top: 2px solid var(--text); padding-top: 8px; margin-top: 4px; }
.cart-discount { color: var(--secondary); }
.cart-discount-info { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.discount-badge { font-size: 11px; background: #ECFDF5; color: #065F46; padding: 3px 8px; border-radius: 4px; }
[data-theme="dark"] .discount-badge { background: #064E3B; color: #6EE7B7; }

/* Checkout section */
.shop-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}
.shop-section h3 { margin-bottom: 16px; }
.shop-section h4 { font-size: 14px; color: var(--text-muted); }
.shop-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.shop-delivery-options, .shop-payment-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.delivery-option, .payment-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s;
    font-size: 14px;
}
.delivery-option.selected, .payment-option.selected {
    border-color: var(--primary);
    background: rgba(37,99,235,0.04);
}
.delivery-option small, .payment-option small {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}
.transfer-info { white-space: pre-line; }

.submit-section {
    text-align: center;
    padding: 16px 0 0;
}
.submit-section .btn { padding: 14px 48px; font-size: 16px; font-weight: 600; }

.confirmation-page {
    text-align: center;
    padding: 48px 24px;
}
.confirmation-page .check-icon {
    width: 80px; height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 36px;
    color: white;
}

@media (max-width: 640px) {
    .shop-fields { grid-template-columns: 1fr; }
    .shop-menu-grid { grid-template-columns: 1fr; }
    .shop-cart { position: static; }
}
