/* ========================================
   MOTO DETAIL PAGE STYLES
   ======================================== */

/* Breadcrumb */
.breadcrumb-section {
    padding: var(--spacing-md) 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-glass);
    margin-top: 70px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-primary);
}

/* Moto Hero */
.moto-hero {
    padding: var(--spacing-2xl) 0;
}

.moto-detail-grid {
    display: grid;
    gap: var(--spacing-xl);
}

@media (min-width: 900px) {
    .moto-detail-grid {
        grid-template-columns: 1.2fr 1fr;
        align-items: start;
    }
}

/* Gallery */
.moto-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.gallery-main img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.gallery-thumbs {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
}

.thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.thumb:hover,
.thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

/* Moto Info */
.moto-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.moto-category-badge {
    display: inline-flex;
    align-self: flex-start;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.moto-detail-name {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
}

.moto-detail-cc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
}

/* Price Box */
.price-box {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.highlight {
    background: rgba(255, 77, 77, 0.1);
    margin: 0 calc(-1 * var(--spacing-md));
    padding: var(--spacing-sm) var(--spacing-md);
}

.price-row.highlight:last-child {
    margin-bottom: calc(-1 * var(--spacing-md));
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.price-label {
    color: var(--text-secondary);
}

.price-value {
    font-weight: 700;
    font-size: 1.25rem;
}

.price-row.highlight .price-value {
    color: var(--primary);
}

/* Quick Benefits */
.quick-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xs);
}

.benefit-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: var(--spacing-xs) 0;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.cta-buttons.centered {
    align-items: center;
}

/* Specs Section */
.specs-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-card);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .specs-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.spec-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
}

.spec-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.spec-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

/* Color Swatches */
.colors-container {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.colors-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.color-swatches {
    display: flex;
    gap: 10px;
    align-items: center;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Tooltip for color name */
.color-swatch::after {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
}

.color-swatch:hover::after {
    opacity: 1;
}

.spec-value {
    font-weight: 600;
    font-size: 1rem;
}

/* Testimonials */
.model-testimonials {
    padding: var(--spacing-2xl) 0;
}

.testimonials-grid {
    display: grid;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Related Section */
.related-section {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-card);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.related-cta {
    text-align: center;
}

/* Final CTA */
.final-cta {
    padding: var(--spacing-2xl) 0;
    background: var(--bg-gradient);
}

.contact-info {
    display: grid;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    text-align: center;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-weight: 600;
    font-size: 1rem;
    margin-top: var(--spacing-xs);
}

.contact-value a {
    color: var(--primary);
}

/* ========================================
   METHOD TILES & REQUIREMENTS
   ======================================== */

.method-tiles-container {
    margin: 2rem 0;
}

.method-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.method-tile {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.method-tile:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.method-tile.active {
    background: rgba(234, 29, 44, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(234, 29, 44, 0.2);
}

.method-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.method-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.2;
}

.method-tile.active .method-name {
    color: white;
}

.price-row.highlight .price-value {
    color: #00c853;
    font-size: 1.75rem;
    font-weight: 800;
}

.price-row .price-term {
    font-size: 0.8rem;
    color: #888;
    margin-left: 0.5rem;
}

/* Requirements Section in Moto Page */
.req-section {
    padding: 4rem 0;
    background: #0f0f0f;
    border-top: 1px solid #222;
}

.req-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: white;
}

.req-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.req-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.req-option {
    padding: 0.6rem 1rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
}

.req-option.active {
    background: #ea1d2c;
    border-color: #ea1d2c;
    color: white;
}

.req-detail-panel {
    display: none;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #333;
    animation: fadeIn 0.4s ease;
}

.req-detail-panel.active {
    display: block;
}

.req-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.req-list-item {
    display: flex;
    gap: 1rem;
}

.req-list-icon {
    font-size: 1.5rem;
}

.req-list-item strong {
    display: block;
    color: white;
    margin-bottom: 0.25rem;
}

.req-list-item p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .req-selector {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        flex-wrap: nowrap;
    }

    .req-option {
        flex-shrink: 0;
    }
}