/* ============================================
   Home Page Styles
   ============================================ */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    padding-bottom: 4rem;
    text-align: center;
    position: relative;
    overflow: visible;
    margin-bottom: 3rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h60v60H0z" fill="none"/><path d="M30 0v60M0 30h60" stroke="%23dee2e6" stroke-width="0.5"/></svg>');
    opacity: 0.4;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,59,48,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 100;
    max-width: 750px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.hero h1 {
    margin-bottom: var(--spacing-sm);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--dark) 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* Search Bar */
.search-bar {
    position: relative;
    display: flex;
    gap: 0.75rem;
    max-width: 650px;
    margin: 0 auto;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    background: var(--white);
    border-radius: 50px;
    padding: 0.4rem 0.4rem 0.4rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
    z-index: 100;
}

.search-bar:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
}

.search-bar:focus-within {
    box-shadow: 0 15px 50px rgba(255, 59, 48, 0.2);
}

.search-bar i {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-red);
    font-size: 1.1rem;
    z-index: 2;
}

.search-bar input {
    flex: 1;
    padding: 1rem 1.5rem 1rem 2.5rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark);
}

.search-bar input::placeholder {
    color: var(--text-secondary);
    font-weight: 400;
}

.search-bar input:focus {
    outline: none;
    box-shadow: none;
}

.search-bar .btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255, 59, 48, 0.3);
    white-space: nowrap;
}

.search-bar .btn:hover {
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
}

.search-suggestions {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    background-color: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    margin-top: 0;
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 150;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar for suggestions */
.search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 0 8px 8px 0;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #e6342a;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    background-color: var(--white);
}

.suggestion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-red);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.suggestion-item:first-child {
    border-radius: 16px 16px 0 0;
}

.suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
}

.suggestion-item:hover {
    background: linear-gradient(90deg, rgba(255,59,48,0.05) 0%, transparent 100%);
    padding-left: 1.5rem;
}

.suggestion-item:hover::before {
    transform: scaleY(1);
}

.suggestion-item.no-results {
    justify-content: center;
    color: var(--text-secondary);
    cursor: default;
    gap: 0.75rem;
    padding: 2rem;
}

.suggestion-item.no-results:hover {
    background: transparent;
    padding-left: 1.25rem;
}

.suggestion-item.no-results::before {
    display: none;
}

.suggestion-img {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.suggestion-item:hover .suggestion-img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.suggestion-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.suggestion-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 0.35rem;
    line-height: 1.3;
    text-align: left;
}

.suggestion-details {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 500;
    text-align: left;
}

.suggestion-details::before {
    content: '';
    width: 4px;
    height: 4px;
    background-color: var(--accent-red);
    border-radius: 50%;
    display: inline-block;
}

.suggestion-arrow {
    color: var(--accent-red);
    font-size: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.suggestion-item:hover .suggestion-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Categories Section */
.categories {
    background-color: var(--white);
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-md);
}

.category-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-hover);
    border-color: var(--accent-red);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--accent-red);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background-color: var(--accent-red);
    color: var(--white);
    transform: scale(1.1);
}

.category-card h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Featured Bikes Section */
.featured-bikes {
    background-color: var(--light-gray);
}

.bikes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.bike-card {
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.bike-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px var(--shadow-hover);
}

.bike-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.bike-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.bike-info {
    padding: var(--spacing-sm);
}

.bike-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.bike-price {
    color: var(--accent-red);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.bike-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.bike-specs span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.bike-specs i {
    color: var(--accent-red);
}

.bike-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    flex: 1;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    background-color: var(--accent-red);
    color: var(--white);
    border-color: var(--accent-red);
}

/* Quick Compare Section */
.quick-compare {
    background-color: var(--white);
}

.compare-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.compare-slot {
    width: 220px;
    height: 200px;
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background-color: var(--white);
    padding: 0.75rem;
    overflow: hidden;
}

.compare-slot:hover {
    border-color: var(--accent-red);
    background-color: var(--light-gray);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.compare-slot i {
    font-size: 2.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.compare-slot:hover i {
    color: var(--accent-red);
    transform: scale(1.1);
}

.compare-slot p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.compare-slot.selected {
    border: 2px solid var(--accent-red);
    background-color: var(--white);
    padding: 0.75rem;
}

.compare-slot.selected:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 59, 48, 0.2);
}

.selected-bike-img {
    width: calc(100% - 1rem);
    max-width: 190px;
    height: 95px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border-color);
}

.compare-slot h4 {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0.3rem;
    padding: 0 0.25rem;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.selected-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-red);
}

.remove-bike {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    background-color: var(--accent-red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 3;
    font-size: 0.8rem;
    box-shadow: 0 2px 6px rgba(255, 59, 48, 0.4);
}

.remove-bike:hover {
    background-color: var(--dark);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.remove-bike i {
    pointer-events: none;
}

.compare-divider {
    font-weight: 700;
    color: var(--accent-red);
    font-size: 1.4rem;
}

/* Bike Selector Modal */
.bike-selector-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--white);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.modal-close {
    width: 35px;
    height: 35px;
    background-color: var(--light-gray);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
    color: var(--dark);
}

.modal-close:hover {
    background-color: var(--accent-red);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.bike-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

.bike-select-card {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.bike-select-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.bike-select-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}

.bike-select-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    color: var(--dark);
}

.bike-type {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.bike-price-sm {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-red);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

console.log('BikeLoo - Initialized successfully!');

/* Top Brands Section */
.top-brands {
    background-color: var(--white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.brand-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: var(--spacing-md);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-hover);
    border-color: var(--accent-red);
}

.brand-logo {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.brand-card:hover .brand-logo img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.brand-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        padding: 4rem 0;
    }
    
    .search-bar {
        max-width: 580px;
    }
}

/* Responsive for Quick Compare */
@media (max-width: 1024px) {
    .compare-slot {
        width: 200px;
        height: 190px;
    }
    
    .selected-bike-img {
        height: 90px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3.5rem 0;
        padding-bottom: 3.5rem;
        overflow: visible;
        margin-bottom: 2rem;
    }
    
    .compare-slot {
        width: 180px;
        height: 180px;
        padding: 0.65rem;
    }
    
    .selected-bike-img {
        height: 85px;
    }
    
    .compare-slot h4 {
        font-size: 0.88rem;
    }
    
    .selected-price {
        font-size: 0.8rem;
    }
    
    .remove-bike {
        width: 24px;
        height: 24px;
        top: 8px;
        right: 8px;
        font-size: 0.75rem;
    }
    
    .compare-divider {
        display: none;
    }
    
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .bike-selection-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
        margin-bottom: 0.75rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: 16px;
        padding: 1rem;
        gap: 0.75rem;
        max-width: 100%;
        margin-bottom: 3rem;
        z-index: 100;
    }
    
    .search-bar i {
        position: static;
        transform: none;
        display: none;
    }
    
    .search-bar input {
        padding: 1rem 1.25rem;
        padding-left: 3rem;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        background: var(--light-gray);
        font-size: 0.95rem;
        position: relative;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff3b30"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>');
        background-repeat: no-repeat;
        background-position: left 1rem center;
        background-size: 1.2rem;
    }
    
    .search-bar .btn {
        width: 100%;
        padding: 1rem;
        border-radius: 12px;
        font-size: 1rem;
    }
    
    .search-suggestions {
        top: calc(100% + 0.5rem);
        border-radius: 14px;
        max-height: 380px;
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
        border: 2px solid rgba(0, 0, 0, 0.1);
        z-index: 150;
    }
    
    .suggestion-item {
        padding: 1rem 1.15rem;
        gap: 1.15rem;
        background-color: var(--white);
    }
    
    .suggestion-item:first-child {
        border-radius: 14px 14px 0 0;
    }
    
    .suggestion-item:last-child {
        border-radius: 0 0 14px 14px;
    }
    
    .suggestion-item:hover {
        padding-left: 1.4rem;
        background: linear-gradient(90deg, rgba(255,59,48,0.08) 0%, transparent 100%);
    }
    
    .suggestion-img {
        width: 70px;
        height: 52px;
        border-radius: 8px;
        border: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    .suggestion-name {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .suggestion-details {
        font-size: 0.85rem;
        font-weight: 500;
    }
    
    .suggestion-arrow {
        font-size: 1rem;
        display: block;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .bikes-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .compare-slot {
        width: 165px;
        height: 165px;
        padding: 0.6rem;
    }
    
    .compare-slot i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .compare-slot p {
        font-size: 0.85rem;
    }
    
    .selected-bike-img {
        height: 80px;
        max-width: 145px;
    }
    
    .compare-slot h4 {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
        padding: 0 0.15rem;
    }
    
    .selected-price {
        font-size: 0.78rem;
    }
    
    .remove-bike {
        width: 22px;
        height: 22px;
        top: 6px;
        right: 6px;
        font-size: 0.7rem;
    }
    
    .compare-container {
        gap: var(--spacing-sm);
    }
    
    .bike-selection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bike-select-card {
        padding: 0.85rem;
    }
    
    .bike-select-card img {
        height: 90px;
    }
    
    .bike-select-card h4 {
        font-size: 0.88rem;
    }
    
    .modal-body {
        padding: 1rem;
        max-height: 75vh;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 0;
        padding-bottom: 3rem;
        overflow: visible;
        margin-bottom: 1.5rem;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 0.5rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-md);
        padding: 0 0.5rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bikes-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .search-bar {
        padding: 0.85rem;
        border-radius: 14px;
        gap: 0.6rem;
        margin-bottom: 2.5rem;
    }
    
    .search-bar i {
        display: none;
    }
    
    .search-bar input {
        padding: 0.85rem 1rem;
        padding-left: 3rem;
        font-size: 0.9rem;
        border-radius: 10px;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff3b30"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>');
        background-repeat: no-repeat;
        background-position: left 1rem center;
        background-size: 1.1rem;
    }
    
    .search-bar .btn {
        padding: 0.85rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }
    
    .search-suggestions {
        top: calc(100% + 0.5rem);
        border-radius: 12px;
        max-height: 360px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    }
    
    .suggestion-item {
        padding: 0.95rem 1rem;
        gap: 1rem;
    }
    
    .suggestion-item:hover {
        padding-left: 1.25rem;
    }
    
    .suggestion-item:first-child {
        border-radius: 12px 12px 0 0;
    }
    
    .suggestion-item:last-child {
        border-radius: 0 0 12px 12px;
    }
    
    .suggestion-img {
        width: 65px;
        height: 50px;
        border-radius: 7px;
    }
    
    .suggestion-name {
        font-size: 0.95rem;
        line-height: 1.3;
        font-weight: 600;
    }
    
    .suggestion-details {
        font-size: 0.8rem;
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
    }
    
    .suggestion-details::before {
        display: none;
    }
    
    .suggestion-arrow {
        display: block;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .hero {
        padding: 2rem 0;
        padding-bottom: 2.5rem;
        overflow: visible;
        margin-bottom: 1rem;
    }
    
    .hero h1 {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }
    
    .hero p {
        font-size: 0.85rem;
        padding: 0 0.25rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .search-bar {
        padding: 0.7rem;
        border-radius: 12px;
        margin-bottom: 2rem;
    }
    
    .search-bar i {
        display: none;
    }
    
    .search-bar input {
        padding: 0.75rem 0.85rem;
        padding-left: 2.75rem;
        font-size: 0.85rem;
        border-radius: 8px;
        background-position: left 0.85rem center;
        background-size: 1rem;
    }
    
    .search-bar .btn {
        padding: 0.75rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .search-suggestions {
        top: calc(100% + 0.5rem);
        max-height: 300px;
        border-radius: 10px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    }
    
    .suggestion-item {
        padding: 0.85rem 0.9rem;
        gap: 0.85rem;
    }
    
    .suggestion-item:hover {
        padding-left: 1.15rem;
    }
    
    .suggestion-img {
        width: 60px;
        height: 45px;
        border-radius: 6px;
    }
    
    .suggestion-name {
        font-size: 0.88rem;
        font-weight: 600;
    }
    
    .suggestion-details {
        font-size: 0.75rem;
    }
    
    .compare-slot {
        width: 145px;
        height: 155px;
        padding: 0.55rem;
    }
    
    .compare-slot i {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
    }
    
    .compare-slot p {
        font-size: 0.8rem;
    }
    
    .selected-bike-img {
        height: 72px;
        max-width: 125px;
    }
    
    .compare-slot h4 {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .selected-price {
        font-size: 0.75rem;
    }
    
    .remove-bike {
        width: 20px;
        height: 20px;
        top: 6px;
        right: 6px;
        font-size: 0.65rem;
    }
    
    .modal-header {
        padding: 1rem 1.25rem;
    }
    
    .modal-header h3 {
        font-size: 1.15rem;
    }
    
    .bike-selection-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    
    .bike-select-card {
        padding: 0.75rem;
    }
}

