/* ========================================
   ENCOMENDAS — OS PLÁCIDOS
   Wizard 2-Step + Sidebar Cart
   ======================================== */

/* ---------- HERO ---------- */
.order-hero {
    position: relative;
    padding: 140px 0 60px;
    background: url('../assets/images/hero-bg.jpg') center center / cover no-repeat;
    text-align: center;
}

.order-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,26,26,0.88), rgba(26,26,26,0.75));
}

.order-hero-content {
    position: relative;
    z-index: 1;
}

.order-hero h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
}

.order-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- POLICY ---------- */
.order-policy {
    background: var(--gray-light);
    border: 1px solid var(--gray);
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 36px;
}

.order-policy-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-align: center;
    justify-content: center;
}

.order-policy-title svg {
    width: 24px;
    height: 24px;
    color: var(--red);
    flex-shrink: 0;
}

.order-policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.order-policy-single {
    grid-template-columns: 1fr;
}

.policy-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    border: 2px solid var(--gray);
    position: relative;
}

.policy-badge {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.policy-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 8px;
}

.policy-card p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
}

.order-policy-notices {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.policy-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: #FFF8F0;
    border: 1px solid #F0DCC8;
    border-radius: var(--radius);
}

.policy-notice svg {
    width: 20px;
    height: 20px;
    color: #D4872A;
    flex-shrink: 0;
    margin-top: 1px;
}

.policy-notice p {
    font-size: 0.82rem;
    color: #6B5030;
    line-height: 1.5;
    margin: 0;
}

/* ---------- WIZARD NAV ---------- */
.wizard-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.wizard-nav-step {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-light);
    padding: 12px 20px;
    border-radius: 50px;
    opacity: 0.5;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wizard-nav-step.active {
    opacity: 1;
    background: var(--white);
    border: 2px solid var(--red);
}

.wizard-nav-step.completed {
    opacity: 1;
    background: #F0FFF0;
    border: 2px solid #4CAF50;
}

.step-number {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.wizard-nav-step.completed .step-number {
    background: #4CAF50;
}

.step-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
}

.wizard-nav-arrow {
    color: #ccc;
    flex-shrink: 0;
}

.wizard-nav-arrow svg {
    width: 20px;
    height: 20px;
}

/* ---------- INFO NOTE ---------- */
.order-info-note {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    max-width: 560px;
    margin: 0 auto 24px;
    line-height: 1.5;
}

.me-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f8f8;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    max-width: 480px;
    margin: 0 auto 28px;
    font-size: 0.85rem;
    color: #666;
}

.me-banner a {
    color: #CC0000;
    font-weight: 600;
    text-decoration: none;
}

.me-banner a:hover {
    text-decoration: underline;
}

/* ---------- WIZARD STEPS ---------- */
.wizard-step {
    display: none;
}

.wizard-step.wizard-step-active {
    display: block;
}

/* ---------- WIZARD LAYOUT (Step 1: Grid + Sidebar) ---------- */
.wizard-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}

.wizard-main {
    min-width: 0;
}

/* ---------- SIDEBAR (Desktop Cart) ---------- */
.wizard-sidebar {
    position: sticky;
    top: 80px;
    background: var(--white);
    border: 2px solid var(--gray);
    border-radius: 12px;
    overflow: hidden;
    max-height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--gray);
    background: var(--gray-light);
}

.sidebar-header h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--black);
    margin: 0;
}

.sidebar-header h3 svg {
    width: 20px;
    height: 20px;
    color: var(--red);
}

.sidebar-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-text);
}

.sidebar-items {
    flex: 1;
    overflow-y: auto;
    padding: 12px 18px;
}

.sidebar-items::-webkit-scrollbar {
    width: 4px;
}

.sidebar-items::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

/* ---------- SIDEBAR CART ITEMS ---------- */
.cart-empty {
    text-align: center;
    color: #bbb;
    font-size: 0.85rem;
    padding: 24px 0;
    line-height: 1.5;
}

.sidebar-cart-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray);
}

.sidebar-cart-item:last-of-type {
    border-bottom: none;
}

.sidebar-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.sidebar-item-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--black);
    flex: 1;
}

.sidebar-item-qty {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
}

.sidebar-qty-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red);
    background: #FFF5F5;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.sidebar-item-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0;
    transition: color var(--transition);
    flex-shrink: 0;
}

.sidebar-item-remove:hover {
    color: var(--red);
}

.sidebar-item-obs {
    margin-top: 4px;
}

.sidebar-item-obs-input {
    width: 100%;
    padding: 5px 8px;
    border: 1px solid var(--gray);
    border-radius: 6px;
    background: var(--gray-light);
    color: var(--black);
    font-family: var(--font-body);
    font-size: 0.75rem;
    transition: border-color var(--transition);
}

.sidebar-item-obs-input::placeholder {
    color: #aaa;
    font-style: italic;
}

.sidebar-item-obs-input:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
}

/* Sidebar estimate */
.sidebar-estimate {
    padding: 14px 18px;
    background: linear-gradient(135deg, #CC0000, #990000);
    margin-top: auto;
}

.sidebar-estimate-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sidebar-estimate-value {
    color: #fff;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 0.3px;
}

.sidebar-estimate-note {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    font-style: italic;
}

/* ---------- FILTERS ---------- */
.order-filters-bar {
    position: sticky;
    top: 70px;
    z-index: 50;
    background: var(--white);
    padding: 16px 0 0;
    border-bottom: 1px solid var(--gray);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.order-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.order-filter {
    padding: 8px 20px;
    background: var(--gray-light);
    border: 2px solid var(--gray);
    border-radius: 50px;
    color: var(--black);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.order-filter:hover {
    border-color: var(--red);
    color: var(--red);
}

.order-filter.active {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.order-filter-seasonal {
    position: relative;
    border-color: #D4872A;
    color: #D4872A;
}

.order-filter-seasonal::after {
    content: 'Sazonal';
    position: absolute;
    top: -8px;
    right: -6px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #D4872A;
    color: #fff;
    padding: 1px 5px;
    border-radius: 50px;
    line-height: 1.3;
}

.order-filter-seasonal.active {
    background: #D4872A;
    border-color: #D4872A;
    color: var(--white);
}

.order-filter-seasonal.active::after {
    background: var(--black);
}

/* ---------- SEARCH ---------- */
.order-search-wrap {
    position: relative;
    max-width: 400px;
    margin: 0 auto 14px;
}

.order-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #aaa;
}

.order-search {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--black);
    transition: border-color var(--transition);
}

.order-search:focus {
    outline: none;
    border-color: var(--red);
}

/* ---------- GRID HINT ---------- */
.order-grid-hint {
    text-align: center;
    padding: 48px 20px;
    color: #aaa;
}

.order-grid-hint svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    color: #ccc;
}

.order-grid-hint p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.order-grid-hint p strong {
    color: #888;
}

.order-grid-hint.hidden {
    display: none;
}

/* ---------- PRODUCT GRID ---------- */
.order-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.order-product {
    background: var(--white);
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

.order-product:hover {
    border-color: #ccc;
    box-shadow: var(--shadow);
}

.order-product.selected {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red);
}

.order-product-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.order-product-body {
    padding: 12px;
}

.order-product-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.3;
}

/* ---------- QTY CONTROLS ---------- */
.qty-btn {
    width: 28px;
    height: 28px;
    border: 2px solid var(--gray);
    border-radius: 50%;
    background: var(--white);
    color: var(--black);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    flex-shrink: 0;
}

.qty-btn:hover {
    border-color: var(--red);
    color: var(--red);
}

.qty-btn.qty-minus {
    opacity: 0.4;
    pointer-events: none;
}

.qty-btn.qty-minus.active {
    opacity: 1;
    pointer-events: auto;
}

.qty-input {
    width: 50px;
    text-align: center;
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    padding: 6px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    transition: all var(--transition);
}

.qty-input:focus {
    outline: none;
    border-color: var(--red);
}

/* Bold + red when value > 0 */
.qty-input.has-value {
    font-weight: 800;
    color: var(--red);
    border-color: var(--red);
    background: #FFF5F5;
}

.qty-unit {
    font-size: 0.8rem;
    color: var(--gray-text);
    font-weight: 600;
}

/* ---------- GRID DIVIDER (subcategories) ---------- */
.order-grid-divider {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.order-grid-divider span {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--black);
    white-space: nowrap;
}

.order-grid-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray);
}

.order-grid-divider.hidden {
    display: none;
}

/* ---------- QTY ROWS (un/kg) ---------- */
.qty-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-product-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-product.hidden {
    display: none;
}

/* ---------- PRODUCT PRICE ---------- */
.order-product-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 8px;
}

.order-product-price.price-consulta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-text);
    font-style: italic;
}

/* ---------- WIZARD BOTTOM BAR ---------- */
.wizard-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 3px solid var(--red);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
    padding: 12px 24px;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wizard-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wizard-bottom-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-text);
}

.wizard-bottom-value {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--red);
}

.wizard-bottom-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wizard-bottom-next {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
}

.wizard-bottom-next svg {
    width: 18px;
    height: 18px;
}

.wizard-bottom-next:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.wizard-bottom-back {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--gray-light);
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    transition: all var(--transition);
}

.wizard-bottom-back svg {
    width: 16px;
    height: 16px;
}

.wizard-bottom-back:hover {
    border-color: var(--red);
    color: var(--red);
}

/* ---------- STEP 2: FINALIZE ---------- */
.wizard-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gray-light);
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: 24px;
}

.wizard-back-btn svg {
    width: 18px;
    height: 18px;
}

.wizard-back-btn:hover {
    border-color: var(--red);
    color: var(--red);
}

.finalize-section {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.finalize-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--black);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray);
}

/* Finalize summary */
.finalize-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray);
    font-size: 0.9rem;
}

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

.finalize-summary-name {
    font-weight: 600;
    color: var(--black);
    flex: 1;
}

.finalize-summary-qty {
    font-weight: 700;
    color: var(--red);
    margin-left: 12px;
    white-space: nowrap;
}

.finalize-summary-obs {
    font-size: 0.8rem;
    color: var(--gray-text);
    font-style: italic;
}

.finalize-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 0;
    margin-top: 8px;
    border-top: 2px solid var(--red);
    font-size: 1.1rem;
}

.finalize-summary-total-label {
    font-weight: 700;
    color: var(--black);
}

.finalize-summary-total-value {
    font-weight: 900;
    color: var(--red);
    font-size: 1.3rem;
}

/* Finalize form fields */
.finalize-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.finalize-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.field-required {
    color: var(--red);
    font-size: 0.8rem;
}

.finalize-field input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--black);
    transition: border-color var(--transition);
}

.finalize-field input:focus {
    outline: none;
    border-color: var(--red);
}

.field-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-text);
    margin-top: 4px;
}

/* Pickup options */
.cart-pickup-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-pickup-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--gray-light);
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    flex: 1;
    min-width: 200px;
}

.cart-pickup-option:has(input:checked) {
    border-color: var(--red);
    background: #FFF5F5;
}

.cart-pickup-option input[type="radio"] {
    accent-color: var(--red);
}

.cart-pickup-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-pickup-label strong {
    font-size: 0.85rem;
    color: var(--black);
}

.cart-pickup-label small {
    font-size: 0.75rem;
    color: var(--gray-text);
    display: block;
    margin-top: 2px;
}

/* Delivery info panel */
.cart-delivery-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 14px;
    background: rgba(212, 135, 42, 0.08);
    border: 1px solid rgba(212, 135, 42, 0.3);
    border-radius: var(--radius);
}

.cart-delivery-info svg {
    width: 24px;
    height: 24px;
    color: #D4872A;
    flex-shrink: 0;
    margin-top: 2px;
}

.cart-delivery-info p {
    font-size: 0.82rem;
    color: #6B5030;
    line-height: 1.5;
    margin: 0;
}

.cart-delivery-info p strong {
    color: #4A3520;
}

.delivery-schedule {
    margin-top: 4px !important;
}

.delivery-note {
    margin-top: 6px !important;
    font-size: 0.75rem !important;
    color: #8B6930 !important;
    font-style: italic;
}

/* Delivery address + map */
.delivery-address-wrap {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray);
}

.delivery-fields-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px;
}

@media (max-width: 500px) {
    .delivery-fields-row {
        grid-template-columns: 1fr;
    }
}

#cart-cp {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

#cp-locality {
    color: #2E7D32;
    font-weight: 600;
    min-height: 18px;
}

#delivery-map {
    height: 260px;
    border-radius: 10px;
    border: 2px solid var(--gray);
    margin-top: 12px;
}

.delivery-map-wrap {
    margin-top: 12px;
}

.delivery-result {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    line-height: 1.5;
}

.delivery-result.result-ok {
    background: #F0FFF0;
    border: 2px solid #4CAF50;
    color: #2E7D32;
}

.delivery-result.result-free {
    background: #F0FFF0;
    border: 2px solid #4CAF50;
    color: #2E7D32;
}

.delivery-result.result-fee {
    background: #FFF8F0;
    border: 2px solid #F0AA44;
    color: #7A5520;
}

.delivery-result.result-error {
    background: #FFF5F5;
    border: 2px solid var(--red);
    color: #991111;
}

.delivery-result .result-distance {
    font-weight: 700;
}

.delivery-result .result-fee-value {
    font-weight: 800;
    font-size: 1rem;
}

/* Disabled pickup option */
.cart-pickup-option.pickup-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.cart-pickup-option.pickup-disabled input {
    pointer-events: none;
}

.pickup-min-order {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--red);
    margin-top: 2px;
}

.delivery-searching {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-text);
    font-size: 0.85rem;
    margin-top: 8px;
}

.delivery-searching::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid var(--gray);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Payment options */
.cart-payment-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-payment-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--gray-light);
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.cart-payment-option:has(input:checked) {
    border-color: var(--red);
    background: #FFF5F5;
}

.cart-payment-option input[type="radio"] {
    accent-color: var(--red);
}

.cart-payment-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
}

.cart-payment-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    position: relative;
}

.cart-payment-soon {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    background: var(--gray-text);
    padding: 2px 8px;
    border-radius: 50px;
}

/* RGPD Consent */
.cart-consent-wrap {
    padding: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
    line-height: 1.4;
}

.cart-consent-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #CC0000;
}

.cart-consent-label a {
    color: #CC0000;
    text-decoration: underline;
}

.consent-required {
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Send buttons */
.cart-send-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-send-order {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 1rem;
}

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

.btn-send-email {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 600;
    background: var(--gray-light);
    border: 2px solid var(--gray);
    border-radius: var(--radius);
    color: var(--gray-text);
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.badge-brevemente {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    background: #CC0000;
    padding: 2px 8px;
    border-radius: 50px;
    line-height: 1.4;
}

/* ---------- SATURDAY–TUESDAY NOTICE ---------- */
.policy-notice-saturday {
    background: #FFFBEA;
    border-color: #F0DC82;
    border-left: 4px solid #D4A017;
}

.policy-notice-saturday svg {
    color: #B8860B;
}

.policy-notice-saturday p {
    color: #5A4010;
}

.policy-notice-sub {
    margin-top: 4px !important;
    font-size: 0.8rem !important;
    color: #7A5520 !important;
}

/* ---------- MOBILE CART FAB ---------- */
.cart-fab {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(200,30,30,0.4);
    cursor: pointer;
    z-index: 190;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cart-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(200,30,30,0.5);
}

.cart-fab svg {
    width: 26px;
    height: 26px;
}

.cart-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--black);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-fab-badge:empty {
    display: none;
}

.cart-fab.hidden {
    display: none !important;
}

/* ---------- MOBILE CART DRAWER ---------- */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 300;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.cart-drawer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    border-top: 3px solid var(--red);
    z-index: 400;
    max-height: 75vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.cart-drawer.cart-drawer-open {
    transform: translateY(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray);
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
}

.cart-drawer-header h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--black);
    margin: 0;
    flex: 1;
}

.cart-drawer-header h3 svg {
    width: 20px;
    height: 20px;
    color: var(--red);
}

.cart-drawer-count {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-text);
}

.cart-close-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-light);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.cart-close-btn svg {
    width: 18px;
    height: 18px;
    color: var(--black);
}

.cart-close-btn:hover {
    background: var(--gray);
}

.cart-drawer-items {
    padding: 12px 18px 18px;
}

/* ---------- RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 992px) {
    .wizard-layout {
        grid-template-columns: 1fr 280px;
        gap: 16px;
    }

    .order-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .order-hero h1 {
        font-size: 1.8rem;
    }

    .wizard-nav {
        gap: 10px;
    }

    .wizard-nav-step {
        padding: 8px 14px;
    }

    .wizard-nav-arrow {
        display: none;
    }

    .order-policy-grid {
        grid-template-columns: 1fr;
    }

    .order-policy {
        padding: 20px;
    }

    /* Stack layout: hide sidebar, use drawer */
    .wizard-layout {
        grid-template-columns: 1fr;
    }

    .wizard-sidebar {
        display: none;
    }

    .order-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 32px;
    }

    .order-product-img {
        height: 120px;
    }

    .order-product-name {
        font-size: 0.8rem;
    }

    /* Show FAB + drawer on mobile */
    .cart-fab {
        display: flex;
    }

    .cart-drawer {
        display: block;
    }

    .cart-overlay {
        display: block;
        pointer-events: none;
    }

    .cart-overlay.visible {
        pointer-events: auto;
    }

    .order-filters-bar {
        top: 60px;
    }

    .order-filters {
        gap: 6px;
    }

    .order-filter {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .cart-payment-options,
    .cart-pickup-options {
        flex-direction: column;
    }

    .cart-pickup-option {
        min-width: unset;
    }

    .wizard-bottom-bar {
        padding: 10px 16px;
    }

    .wizard-bottom-value {
        font-size: 1.1rem;
    }

    .finalize-section {
        padding: 18px;
    }

    /* Add bottom padding for fixed bar */
    #wizard-step-2 {
        padding-bottom: 80px;
    }
}

@media (max-width: 400px) {
    .order-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Space for fixed bottom bar */
.section-light {
    padding-bottom: 80px !important;
}
