/* MOBILE FIRST - ORDER HERO */
.order-hero {
    background: #FFF0E6;
    padding: 30px 15px;
    margin-bottom: 30px;
}

.order-hero-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.order-hero-l {
    width: 100%;
}

.order-title {
    font-family: 'Oswald';
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.order-main-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.order-desc {
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.all-cats-bar {
    margin: 0;
    padding: 0;
}

.cat-filters {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 5px 0;
    margin: 0;
    scrollbar-width: thin;
}

.cat-filters::-webkit-scrollbar {
    height: 3px;
}

.cat-filters::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
}

.filter-btn {
    background: #fff;
    padding: 8px 14px;
    border: 1px solid #eee;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition: 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ORDER LAYOUT */
.order-layout {
    max-width: 100%;
    padding: 0 15px 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-layout main {
    width: 100%;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* PRODUCT CARD */
.product-card-hor {
    background: #fff;
    padding: 10px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.product-card-hor:hover {
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.pch-img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.pch-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.pch-title {
    font-family: 'Oswald';
    font-size: 0.95rem;
    margin: 0 0 3px 0;
    color: var(--dark);
    font-weight: 600;
}

.pch-desc {
    font-size: 0.75rem;
    color: #888;
    margin: 0 0 6px 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pch-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.pch-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    white-space: nowrap;
}

.pch-add {
    width: 28px;
    height: 28px;
    border: none;
    background: #f0f0f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s;
    flex-shrink: 0;
}

.product-card-hor:hover .pch-add {
    background: var(--primary);
    color: #fff;
}

/* CART SIDEBAR */
.cart-sidebar {
    width: 100%;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    max-height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.cart-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #eee;
    padding: 0 0 12px 0;
    margin: 0 0 12px 0;
}

.cart-head h3 {
    font-family: 'Oswald';
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0;
}

.cart-close-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark);
    padding: 0;
}

.cart-items {
    max-height: 280px;
    overflow-y: auto;
    margin: 0 0 12px 0;
    -webkit-overflow-scrolling: touch;
}

.cart-loading {
    padding: 15px;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

.cart-delivery-section {
    margin: 0 0 12px 0;
    padding: 0 0 12px 0;
    border-bottom: 1px solid #eee;
}

.cart-delivery-toggle {
    display: flex;
    gap: 8px;
    margin: 0 0 10px 0;
}

.cdt-btn {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    transition: 0.2s;
}

.cdt-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.cart-delivery-info {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

.shipping-progress-container {
    margin-top: 8px;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
}

.shipping-progress-bar {
    height: 100%;
    background: #f59e0b;
    width: 0%;
    transition: 0.3s;
}

.shipping-text {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
}

.info-afhalen {
    display: none;
}

.pickup-info-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #666;
    flex-wrap: wrap;
}

.cart-total-section {
    padding: 10px 0 0 0;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 7px 0;
    font-size: 0.85rem;
    gap: 8px;
}

.cart-summary-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-summary-label span {
    font-size: 16px;
    color: #666;
    flex-shrink: 0;
}

.cart-summary-row.total {
    font-size: 1rem;
    font-weight: 700;
    border-top: 1px solid #eee;
    padding-top: 8px;
    margin-top: 8px;
}

.cart-summary-row.total span {
    font-size: 18px;
    color: var(--primary);
}

.free-shipping {
    color: #10b981;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    padding: 11px;
    margin-top: 10px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.2s;
}

.checkout-btn:hover {
    background: var(--primary);
}

/* MODAL - MOBILE */
/* MODAL - MOBILE */
.prod-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

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

.prod-modal {
    background: #fff;
    width: 100%;
    height: 80vh;
    border-radius: 24px 24px 0 0;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.pm-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    width: 30px;
    height: 30px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: 0.2s;
}

.pm-close:hover {
    background: var(--primary);
    color: #fff;
}

.pm-scroll-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    -webkit-overflow-scrolling: touch;
}

.pm-header-row {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.pm-header-img-box {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.pm-img-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-header-info {
    flex: 1;
    min-width: 0;
}

.pm-title {
    font-family: 'Oswald';
    font-size: 1.4rem;
    margin: 0 0 5px 0;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.1;
}

.pm-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.3;
    margin: 0 0 6px 0;
}

.pm-price-tag {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.pm-sec-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin: 12px 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-extras-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pm-opt-row {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    margin-bottom: 6px;
}

.pm-opt-row:hover {
    border-color: var(--primary);
    background: #fffcf8;
}

.pm-opt-row input {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.pm-opt-info {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark);
}

.pm-opt-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.pm-upsell-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.upsell-item-card {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: 0.2s;
}

.upsell-item-card:hover {
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.uic-left {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.uic-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.uic-info {
    flex: 1;
    min-width: 0;
}

.uic-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 1px 0;
}

.uic-info span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
}

.uic-right {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.uic-qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.uic-qty-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.uic-val {
    font-weight: 600;
    font-size: 0.85rem;
    min-width: 12px;
    text-align: center;
}

.pm-footer {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-top: 1px solid #eee;
    background: #fff;
    flex-wrap: wrap;
}

.pm-qty-box {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 3px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 50px;
    flex-shrink: 0;
}

.pm-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--dark);
    transition: 0.2s;
}

.pm-qty-btn:hover {
    background: var(--primary);
    color: #fff;
}

.pm-qty-val {
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 14px;
    text-align: center;
}

.pm-add-btn {
    flex: 1;
    min-width: 80px;
    height: 44px;
    padding: 0 16px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    transition: 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pm-add-btn:hover {
    background: var(--primary);
}

/* DESKTOP - 1024px+ */
@media (min-width: 1024px) {
    .prod-modal {
        width: 600px;
        height: 90vh;
        border-radius: 24px;
    }

    .prod-modal-overlay {
        align-items: center;
        justify-content: center;
    }

    .pm-header-row {
        flex-direction: row-reverse;
        gap: 15px;
    }

    .pm-header-img-box {
        width: 120px;
        height: 120px;
    }

    .pm-header-info {
        flex: 1;
        padding-right: 0;
    }

    .pm-title {
        font-size: 1.8rem;
    }

    .pm-add-btn {
        height: 55px;
    }
}
/* DESKTOP - 1024px+ */
@media (min-width: 1024px) {
    .order-hero {
        padding: 40px 20px;
    }

    .order-hero-flex {
        flex-direction: row;
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .order-title {
        font-size: 2.2rem;
    }

    .order-desc {
        font-size: 1.05rem;
    }
    .order-main-img {
        width: 100%;
        height: 100%;
        border-radius: 20px;
        transform: rotate(3deg);
        border: 5px solid #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        object-fit: cover;
    }

    .order-layout {
        flex-direction: row;
        gap: 30px;
        padding: 0 20px 60px;
        max-width: 1400px;
        margin: 0 auto;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
    }

    .product-card-hor {
        padding: 15px;
        gap: 15px;
        min-height: 140px;
    }

    .pch-img {
        width: 110px;
        height: 110px;
    }

    .pch-title {
        font-size: 1.15rem;
    }

    .pch-desc {
        font-size: 0.85rem;
    }

    .pch-price {
        font-size: 1.15rem;
    }

    .pch-add {
        width: 36px;
        height: 36px;
    }

    .cart-sidebar {
        width: 340px;
        position: sticky;
        top: 100px;
    }

    .prod-modal {
        width: 600px;
        height: 90vh;
        border-radius: 24px;
    }

    .prod-modal-overlay {
        align-items: center;
        justify-content: center;
    }

    .pm-header-row {
        flex-direction: row;
        gap: 15px;
    }

    .pm-header-info {
        flex: 1;
        padding-right: 0;
    }

    .pm-header-img-box {
        width: 120px;
        height: 120px;
    }

    .pm-title {
        font-size: 1.8rem;
    }

    .pm-add-btn {
        height: 55px;
    }
}

/* TABLET - max 1023px */
@media (max-width: 1023px) {
    .order-layout {
        flex-direction: column;
        padding: 0 15px 40px;
    }

    .cart-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        max-width: 340px;
        border-radius: 0;
        z-index: 2100;
        transition: right 0.3s ease;
        padding-top: 50px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    }

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

    .cart-close-btn {
        display: flex;
    }

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

@media (max-width: 600px) {
    .prod-modal {
        top: -70px;
    }
}