/* ============================================
   Order Thru T2D - Order Type Selection Page
   ============================================ */

/* Order Type Grid */
.order-type-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Order Type Card */
.order-type-card {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    outline: none;
}

.order-type-card:hover {
    transform: translateY(-2px);
    border-color: #FD5C02;
    box-shadow: 0 8px 24px -4px rgba(253, 92, 2, 0.15);
}

.order-type-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px -2px rgba(253, 92, 2, 0.2);
}

/* Icon Container */
.order-type-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF1EB 0%, #FDE8DB 100%);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.order-type-card-icon .material-symbols-outlined {
    font-size: 26px;
    color: #FD5C02;
    transition: transform 0.3s ease;
}

.order-type-card:hover .order-type-card-icon {
    background: linear-gradient(135deg, #FD5C02 0%, #E84E00 100%);
}

.order-type-card:hover .order-type-card-icon .material-symbols-outlined {
    color: #ffffff;
    transform: scale(1.1);
}

/* Content */
.order-type-card-content {
    flex: 1;
    min-width: 0;
}

.order-type-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 2px;
    transition: color 0.2s ease;
}

.order-type-card:hover .order-type-card-title {
    color: #FD5C02;
}

.order-type-card-description {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Arrow */
.order-type-card-arrow {
    flex-shrink: 0;
    font-size: 20px;
    color: #d1d5db;
    transition: all 0.3s ease;
}

.order-type-card:hover .order-type-card-arrow {
    color: #FD5C02;
    transform: translateX(4px);
}

/* ============================================
   Fade Animations (reuse from restaurants.css)
   ============================================ */

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for cards */
.order-type-grid .fade-up:nth-child(1) { transition-delay: 0.05s; }
.order-type-grid .fade-up:nth-child(2) { transition-delay: 0.1s; }
.order-type-grid .fade-up:nth-child(3) { transition-delay: 0.15s; }
.order-type-grid .fade-up:nth-child(4) { transition-delay: 0.2s; }
.order-type-grid .fade-up:nth-child(5) { transition-delay: 0.25s; }
.order-type-grid .fade-up:nth-child(6) { transition-delay: 0.3s; }

/* ============================================
   Header Favorite Button Override
   (positions heart relative to header, not absolute)
   ============================================ */

.order-thru-t2d-header .header-favorite-btn {
    position: relative;
    top: auto;
    right: auto;
}

/* ============================================
   Responsive - Tablet+
   ============================================ */

@media (min-width: 640px) {
    .order-type-card {
        padding: 22px 24px;
    }

    .order-type-card-icon {
        width: 56px;
        height: 56px;
    }

    .order-type-card-title {
        font-size: 1.0625rem;
    }

    .order-type-card-description {
        font-size: 0.875rem;
    }
}
