/* ========== Excavator List Page ========== */
.excavator-list {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.excavator-card {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.excavator-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.excavator-card-img {
    width: 140px;
    min-height: 120px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.excavator-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.excavator-card:hover .excavator-card-img img {
    transform: scale(1.05);
}

.excavator-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.excavator-card-badge.hot {
    background: rgba(229, 57, 53, 0.85);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .excavator-list {
        padding: 16px 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .excavator-card {
        flex-direction: column;
    }
    
    .excavator-card-img {
        width: 100%;
        min-height: 180px;
    }
    
    .excavator-card-badge {
        font-size: 11px;
        padding: 3px 10px;
    }
}

@media (min-width: 1025px) {
    .excavator-list {
        padding: 20px 30px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .excavator-card {
        flex-direction: column;
    }
    
    .excavator-card-img {
        width: 100%;
        min-height: 220px;
    }
    
    .excavator-card-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
}

.excavator-card-info {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.excavator-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.excavator-card-specs {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.excavator-card-specs span {
    background: var(--bg-primary);
    padding: 2px 8px;
    border-radius: 4px;
}

.excavator-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 8px;
}

.excavator-card-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.excavator-card-price small {
    font-size: 12px;
    font-weight: 500;
}

.excavator-card-hours {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .excavator-card-info {
        padding: 14px;
    }
    
    .excavator-card-title {
        font-size: 15px;
    }
    
    .excavator-card-specs {
        font-size: 13px;
    }
    
    .excavator-card-specs span {
        padding: 3px 10px;
    }
    
    .excavator-card-price {
        font-size: 22px;
    }
    
    .excavator-card-price small {
        font-size: 13px;
    }
    
    .excavator-card-hours {
        font-size: 12px;
    }
}

@media (min-width: 1025px) {
    .excavator-card-info {
        padding: 16px;
    }
    
    .excavator-card-title {
        font-size: 16px;
    }
    
    .excavator-card-specs {
        font-size: 14px;
    }
    
    .excavator-card-specs span {
        padding: 4px 12px;
    }
    
    .excavator-card-price {
        font-size: 24px;
    }
    
    .excavator-card-price small {
        font-size: 14px;
    }
    
    .excavator-card-hours {
        font-size: 13px;
    }
}

/* ========== Excavator Detail Page ========== */
.excavator-detail-page {
    min-height: 100vh;
    background: var(--bg-primary);
}

.excavator-hero {
    width: 100%;
    max-width: 480px;
    height: 280px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.excavator-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.excavator-hero-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.excavator-hero-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    font-size: 12px;
    cursor: pointer;
}

.excavator-hero-counter {
    padding: 6px 12px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    color: white;
    border-radius: var(--radius-full);
    font-size: 12px;
}

.excavator-body {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 16px 100px;
}

.excavator-price-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-top: -20px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.excavator-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.excavator-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
}

.excavator-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.excavator-price small {
    font-size: 14px;
}

.excavator-original-price {
    font-size: 13px;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.excavator-inquire-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 12px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

.excavator-inquire-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(229, 57, 53, 0.4);
}

@media (min-width: 768px) and (max-width: 1024px) {
    .excavator-detail-page {
        padding: 20px;
    }
    
    .excavator-hero {
        max-width: 100%;
        height: 380px;
    }
    
    .excavator-hero-btn,
    .excavator-hero-counter {
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .excavator-body {
        max-width: 100%;
        padding: 0 20px 120px;
    }
    
    .excavator-price-section {
        padding: 24px;
        margin-top: -24px;
    }
    
    .excavator-name {
        font-size: 22px;
    }
    
    .excavator-price {
        font-size: 32px;
    }
    
    .excavator-price small {
        font-size: 16px;
    }
    
    .excavator-inquire-btn {
        padding: 14px;
        font-size: 16px;
    }
}

@media (min-width: 1025px) {
    .excavator-detail-page {
        padding: 20px;
    }
    
    .excavator-hero {
        max-width: 100%;
        height: 420px;
    }
    
    .excavator-hero-btn,
    .excavator-hero-counter {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .excavator-body {
        max-width: 100%;
        padding: 0 30px 140px;
    }
    
    .excavator-price-section {
        padding: 30px;
        margin-top: -30px;
    }
    
    .excavator-name {
        font-size: 26px;
    }
    
    .excavator-price {
        font-size: 38px;
    }
    
    .excavator-price small {
        font-size: 18px;
    }
    
    .excavator-inquire-btn {
        padding: 16px;
        font-size: 17px;
    }
}

/* Excavator Config Section */
.excavator-config-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-top: 12px;
    box-shadow: var(--shadow-card);
}

.excavator-config-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.excavator-config-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.excavator-config-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.excavator-config-link {
    font-size: 13px;
    color: var(--text-tertiary);
    cursor: pointer;
}

/* Key Metrics Grid */
.excavator-key-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.excavator-key-metric {
    text-align: center;
    padding: 10px 4px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
}

.excavator-key-metric-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.excavator-key-metric-label {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

/* Config Specs Grid */
.excavator-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.excavator-spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.excavator-spec-label {
    font-size: 12px;
    color: var(--text-tertiary);
}

.excavator-spec-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

/* Performance Section */
.excavator-performance {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-top: 12px;
    box-shadow: var(--shadow-card);
}

.excavator-performance-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.excavator-performance-title::before {
    content: '';
    width: 3px;
    height: 16px;
    background: linear-gradient(135deg, #FF9800, #F57C00);
    border-radius: 2px;
}

.excavator-perf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.excavator-perf-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
}

.excavator-perf-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.excavator-perf-icon.orange { background: #FFF3E0; }
.excavator-perf-icon.blue { background: #E3F2FD; }
.excavator-perf-icon.green { background: #E8F5E9; }
.excavator-perf-icon.purple { background: #F3E5F5; }
.excavator-perf-icon.red { background: #FFEBEE; }
.excavator-perf-icon.teal { background: #E0F2F1; }

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

.excavator-perf-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.excavator-perf-label {
    font-size: 11px;
    color: var(--text-tertiary);
}

/* Bottom Bar */
.excavator-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
    z-index: 201;
}

.excavator-bottom-bar .btn-call {
    flex: 1;
    padding: 12px;
    background: var(--secondary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.excavator-bottom-bar .btn-call:hover {
    transform: translateY(-1px);
}

.excavator-bottom-bar .btn-excavator-inquire {
    flex: 1;
    padding: 12px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

.excavator-bottom-bar .btn-excavator-inquire:hover {
    transform: translateY(-1px);
}

/* Excavator Entry Banner on Index */
.excavator-entry-banner {
    margin: 12px 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 16px rgba(15, 52, 96, 0.3);
}

.excavator-entry-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 52, 96, 0.4);
}

.excavator-entry-info {
    flex: 1;
}

.excavator-entry-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.excavator-entry-desc {
    font-size: 12px;
    opacity: 0.7;
}

.excavator-entry-icon {
    font-size: 40px;
    margin-left: 12px;
}

@media (min-width: 1025px) {
    .excavator-entry-banner {
        margin: 16px 30px;
        padding: 20px 30px;
    }
    
    .excavator-entry-title {
        font-size: 20px;
    }
    
    .excavator-entry-desc {
        font-size: 14px;
    }
    
    .excavator-entry-icon {
        font-size: 48px;
        margin-left: 20px;
    }
}

@media (min-width: 769px) {
    .excavator-card-img {
        width: 180px;
        min-height: 150px;
    }

    .excavator-hero {
        height: 340px;
    }
}
