/* assets/css/style.css */
:root {
    --mac-black: #0a0a0a;
    --mac-red: #e63946;
    --dt-height: 80px;
    --mb-height: 70px;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    background-color: #f4f4f4;
}

/* --- DESKTOP HEADER --- */
.desktop-header {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.desktop-header.scrolled {
    padding: 8px 0;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dt-grid {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    gap: 40px;
}

.brand-logo {
    font-size: 22px;
    letter-spacing: -1.5px; 
    font-weight: 900 !important; 
    transition: 0.3s;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}

.brand-logo:hover { 
    opacity: 0.8; 
    transform: scale(0.98); 
}

.dt-search-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    max-width: 600px;
    margin: 0 auto;
}

.dt-search-pill:focus-within {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--mac-red);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.dt-search-pill input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    outline: none;
}

.dt-search-pill i { 
    color: rgba(255, 255, 255, 0.4); 
    font-size: 14px; 
}

.dt-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.action-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none !important;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.action-link:hover { 
    color: #fff; 
    transform: translateY(-1px); 
}

.action-link i { 
    font-size: 1.2rem; 
}

/* --- MOBILE HEADER --- */
.mobile-header {
    background: #000000 !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    transition: all 0.3s ease;
}

.mb-row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mb-row-2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.mb-search-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.mb-search-pill input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    font-size: 13px;
    outline: none;
}

.mb-search-pill i {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.mb-cat-btn {
    background: var(--mac-red);
    color: white;
    border: none;
    border-radius: 12px;
    height: 38px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.mb-cat-btn:active {
    transform: scale(0.9);
}

/* --- BOTTOM DOCK (PREMIUM APP STYLE) --- */
.bottom-dock {
    position: fixed;
    bottom: 20px;
    left: 15px;
    right: 15px;
    background: #000000 !important;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    height: 68px;
    border-radius: 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 2100;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    padding: 0 10px;
}

.dock-item { 
    text-align: center; 
    color: rgba(255,255,255,0.4); 
    text-decoration: none !important; 
    font-size: 10px; 
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.dock-item i { 
    font-size: 1.2rem; 
    transition: all 0.3s ease;
}

.dock-item span {
    opacity: 0.8;
}

.dock-item.active { 
    color: #fff; 
}

.dock-item.active i { 
    color: var(--mac-red);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(230, 57, 70, 0.4);
}

.dock-item.active span {
    opacity: 1;
}

/* --- PREMIUM SITE FOOTER --- */
.site-footer {
    background: #000000 !important; /* Pure solid black background */
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    color: #fff !important;
    margin-top: 80px;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--mac-red), transparent);
    opacity: 0.8;
}

.footer-brand span {
    text-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255,255,255,0.7) !important; /* Brighter for better visibility */
    text-decoration: none !important;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff !important;
    transform: translateX(8px);
}

.social-btn {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.1) !important; /* More visible */
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.4s ease;
}

.social-btn:hover {
    background: var(--mac-red) !important;
    border-color: var(--mac-red) !important;
    color: white !important;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.5);
}

/* Newsletter Area */
.footer-newsletter {
    background: rgba(255,255,255,0.05) !important;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.15) !important;
    padding: 30px;
    margin-bottom: 50px;
}

@media (max-width: 767px) {
    .footer-newsletter {
        padding: 20px;
        margin-bottom: 30px;
    }
    .footer-newsletter h4 {
        font-size: 1.2rem;
    }
    .site-footer {
        padding-bottom: 20px;
    }
}

.newsletter-form .form-control {
    background: rgba(0,0,0,0.3) !important; /* Dark background for input */
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 12px;
    color: #fff !important;
    padding: 12px 20px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form .form-control:focus {
    background: rgba(0,0,0,0.5) !important;
    border-color: var(--mac-red) !important;
    box-shadow: none;
}

/* Developer Card (Glassmorphism) */
.dev-card {
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.15) !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .dev-card {
        padding: 20px !important;
    }
}

.dev-card::after {
    content: "\f121";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-size: 80px;
    color: rgba(255,255,255,0.05);
    z-index: -1;
    transform: rotate(-15deg);
}

.dev-card:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: var(--mac-red) !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.dev-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--mac-red), #ff4d5a);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white !important;
    box-shadow: 0 8px 15px rgba(230, 57, 70, 0.4);
}

.dev-contact a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dev-contact a i {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: 0.3s;
    color: #fff !important;
}

.dev-contact a:hover {
    color: #fff !important;
}

.dev-contact a:hover i {
    background: var(--mac-red) !important;
    color: white !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    background: #000 !important;
}

.payment-methods i {
    font-size: 26px;
    color: rgba(255,255,255,0.4) !important;
    transition: 0.4s;
    cursor: pointer;
}

.payment-methods i:hover {
    color: #fff !important;
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(230, 57, 70, 0.5));
}

@media (min-width: 992px) {
    .mobile-header, .bottom-dock { display: none !important; }
    body { padding-top: 80px; }
}

@media (max-width: 991px) {
    .desktop-header { display: none !important; }
    body { padding-top: 115px; } 
}

/* --- PREMIUM BOTTOM SHEET CATEGORY MENU --- */

/* Make the offcanvas come from the bottom and look like a sheet */
.offcanvas-bottom.premium-sheet {
    height: 60vh; /* Opens half-way up the screen */
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    background-color: #111; /* Slightly lighter than pure black */
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* The Grab Handle at the top */
.sheet-handle {
    width: 50px;
    height: 5px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 10px;
    margin: 12px auto;
}

/* Clean Category List Items */
.cat-list-item {
    background: transparent;
    color: white !important;
    border: none;
    padding: 18px 25px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cat-list-item:active {
    background: rgba(255,255,255,0.05);
    color: var(--mac-red) !important;
}

.cat-list-item i {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.offcanvas-backdrop.show {
    opacity: 0.7;
    backdrop-filter: blur(4px);
}






















/* --- HOME PAGE SPECIAL SECTIONS --- */

/* Hero Banner */
.hero-section {
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    height: 220px;
    margin-top: 15px;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Category Circle Scroll */
.cat-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 0;
    scrollbar-width: none;
}
.cat-scroll-container::-webkit-scrollbar { display: none; }

.cat-circle-item {
    flex: 0 0 auto;
    width: 75px;
    text-align: center;
    text-decoration: none !important;
}

.cat-img-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    padding: 5px;
    margin-bottom: 8px;
    transition: 0.3s;
}

.cat-circle-item:hover .cat-img-box {
    border-color: var(--mac-red);
    transform: scale(1.05);
}

/* Product Card - Premium Polish */
.p-card {
    background: #fff;
    border-radius: 18px;
    padding: 12px;
    border: 1px solid #f0f0f0;
    height: 100%;
    transition: 0.3s ease;
    position: relative;
}

.p-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.p-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
}

.p-img-holder {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.p-img-holder img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.p-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.p-price {
    font-size: 16px;
    font-weight: 800;
    color: #000;
}

.p-old-price {
    font-size: 12px;
    text-decoration: line-through;
    color: #aaa;
    margin-right: 5px;
}

.add-btn {
    width: 35px;
    height: 35px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

/* Brand Scroll */
.brand-scroll {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    align-items: center;
    padding: 10px 0;
    filter: grayscale(1);
    opacity: 0.6;
}
.brand-scroll::-webkit-scrollbar { display: none; }








/* --- TRUST BAR --- */
.trust-bar {
    background: #000;
    color: #fff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.trust-item i {
    color: var(--mac-red);
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.trust-item span {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- WHATSAPP FLOATING --- */
.floating-wa {
    position: fixed;
    right: 20px;
    bottom: 100px; /* Above the bottom dock */
    background: #25d366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2000;
    text-decoration: none;
}

/* --- REVIEWS SECTION --- */
.review-card {
    background: #fdfdfd;
    border-radius: 15px;
    padding: 15px;
    border: 1px solid #eee;
    min-width: 250px;
}



/* --- BENTO GRID BRAND SECTION --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 100px;
    gap: 12px;
}

.bento-item {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

/* Make the first item larger (Bento effect) */
.bento-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
    flex-direction: row;
    justify-content: space-between;
    background: #f8f9fa;
}

.bento-item img {
    max-height: 50px;
    max-width: 80%;
    object-fit: contain;
    transition: 0.3s;
}

.bento-item span {
    font-size: 12px;
    font-weight: 700;
    color: #000;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bento-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border-color: var(--mac-red);
}

.bento-tag {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 9px;
    font-weight: 800;
    color: var(--mac-red);
}























/* --- COMPATIBILITY FINDER --- */
.finder-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.finder-select {
    border-radius: 12px !important;
    background-color: #f8f9fa !important;
    border: 1px solid #eee !important;
    font-size: 14px;
    padding: 10px;
}

/* --- MAINTENANCE CARDS --- */
.tip-card {
    min-width: 220px;
    height: 280px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.tip-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.tip-content {
    position: relative;
    z-index: 2;
    color: white;
}









/* --- BUNDLE sale --- */
.bundle-container {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid #eee;
    margin-top: 20px;
}

.bundle-items-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bundle-item-single {
    text-align: center;
    flex: 1;
}

.bundle-item-single img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 5px;
}

.bundle-plus-icon {
    font-size: 14px;
    color: #ccc;
    font-weight: bold;
}

.bundle-total-box {
    background: #fdf2f2;
    border-radius: 15px;
    padding: 15px;
    margin-top: 15px;
    border: 1px dashed var(--mac-red);
}

.bundle-save-tag {
    display: inline-block;
    background: var(--mac-red);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 5px;
    margin-bottom: 5px;
}


















/* Styling for bike selection items */
.hover-effect { transition: 0.2s; cursor: pointer; }
.hover-effect:hover { background: rgba(230, 57, 70, 0.1); border-color: #e63946 !important; }

.fs-xs { font-size: 10px; }

/* Highlight checked items */
.bike-checkbox:checked + .form-check-label {
    color: #fff !important;
    font-weight: bold;
}
.bike-checkbox:checked {
    background-color: #e63946;
    border-color: #e63946;
}
/* --- ENHANCED BIKE SELECTOR COLORS --- */
.bike-selector-card { 
    background: #222; /* Darker background for the container */
    border: 1px solid #444; 
    border-radius: 12px; 
    overflow: hidden;
}

.custom-scroll { 
    max-height: 250px; 
    overflow-y: auto; 
    background: #ffffff; /* WHITE BACKGROUND for the list to make text 100% visible */
    padding: 10px; 
}

.bike-item-wrapper { 
    border-bottom: 1px solid #eee; 
    padding: 8px 5px;
    transition: 0.2s;
}

.bike-item-wrapper:hover { 
    background: #f8f9fa; 
}

/* Checkbox Label Colors - Now Black because background is white */
.form-check-label.bike-label { 
    color: #333 !important; 
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
}

.bike-label strong {
    color: #000;
    font-weight: 700;
}

.bike-label .model-year {
    color: #e63946; /* Red for the year */
    font-weight: bold;
    font-size: 11px;
}

/* Selected Area Tags */
.selected-area { 
    background: #000; 
    padding: 12px; 
    min-height: 60px; 
    border-top: 2px solid #e63946; 
}

.bike-tag { 
    background: #e63946; 
    color: white; 
    padding: 5px 12px; 
    border-radius: 50px; 
    font-size: 11px; 
    font-weight: 600;
    display: inline-flex; 
    align-items: center; 
    margin: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}