/*
Theme Name: Electric Scooters Premium
Theme URI: https://prooveglobal.com/
Description: Premium high-end fast WordPress theme for electric scooters with Day/Night mode.
Version: 1.0.0
Author: Antigravity
Author URI: https://google.com/
*/

:root {
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --text-color: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --accent-color: #06b6d4;
    --header-bg: rgba(255, 255, 255, 0.85);
    --modal-overlay-bg: rgba(15, 23, 42, 0.6);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --card-border: 1px solid #f1f5f9;
    --table-header-bg: #f8fafc;
    --table-stripe-bg: #f8fafc;
}

[data-theme="dark"] {
    --bg-color: #080b11;
    --card-bg: #0f1420;
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: #1e293b;
    --primary-color: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-light: #172554;
    --accent-color: #22d3ee;
    --header-bg: rgba(8, 11, 17, 0.85);
    --modal-overlay-bg: rgba(0, 0, 0, 0.8);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    --card-border: 1px solid #1e293b;
    --table-header-bg: #131926;
    --table-stripe-bg: #131926;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: sticky;
    top: 0;
    background-color: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
    transition: background-color 0.3s, border-color 0.3s;
}

.header-container {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.header-links {
    display: flex;
    gap: 30px;
}

.header-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
}

.header-links a:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
}

.theme-toggle:hover {
    background-color: var(--border-color);
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

.main-content {
    padding: 40px 0 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--card-bg);
    border: var(--card-border);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-actions {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 5;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s, transform 0.3s;
}

.product-card:hover .product-card-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-icon {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.action-icon:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.product-card-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 20px;
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 6px;
    transition: color 0.3s;
}

.product-card-title:hover {
    color: var(--primary-color);
}

.product-card-category {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 12px;
}

.product-card-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-color);
    margin-top: auto;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs .sep {
    color: var(--text-muted);
}

.breadcrumbs .current {
    color: var(--text-color);
    font-weight: 600;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 16px;
    background-color: var(--card-bg);
    border: var(--card-border);
    box-shadow: var(--shadow-sm);
}

.slider-ribbon {
    display: flex;
    height: 100%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide a {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.slider-arrows {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
}

.slider-arrow {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: var(--shadow-md);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-id {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.product-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-tagline {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.product-meta-table-wrapper {
    border: var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--card-bg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.product-meta-table {
    width: 100%;
    border-collapse: collapse;
}

.product-meta-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.product-meta-table tr:last-child td {
    border-bottom: none;
}

.product-meta-table td.label {
    width: 35%;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
}

.product-meta-table td.value {
    width: 65%;
    font-size: 15px;
    color: var(--text-color);
}

.color-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-pill {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    background-color: var(--card-bg);
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.color-pill:hover,
.color-pill.active {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.features-list {
    list-style-type: none;
}

.features-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 6px;
}

.features-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.app-badge-link {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s;
}

.app-badge-link:hover {
    transform: scale(1.03);
}

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

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background-color: var(--border-color);
}

.product-description {
    margin-bottom: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-color);
}

.description-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
}

.description-content p {
    margin-bottom: 15px;
}

.specs-section {
    margin-bottom: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    border: var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table tr:nth-child(even) {
    background-color: var(--table-stripe-bg);
}

.specs-table td {
    padding: 16px 24px;
    font-size: 15px;
    vertical-align: middle;
}

.specs-table td.spec-name {
    width: 40%;
    font-weight: 600;
    color: var(--text-muted);
}

.specs-table td.spec-value {
    width: 60%;
    color: var(--text-color);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--modal-overlay-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: var(--card-border);
}

.modal-overlay.open .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: var(--primary-color);
}

.form-submit {
    width: 100%;
    margin-top: 10px;
}

.quick-view-box {
    max-width: 850px;
    width: 90%;
    padding: 35px;
    background-color: var(--card-bg);
    border-radius: 16px;
    position: relative;
}

.quick-view-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    text-align: left;
}

@media (max-width: 768px) {
    .quick-view-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.quick-view-left {
    display: flex;
    flex-direction: column;
}

.quick-view-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--table-stripe-bg);
    border-radius: 12px;
    padding: 25px 20px;
    justify-content: space-between;
    border: var(--card-border);
}

.quick-view-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-color);
}

.quick-view-tagline {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.quick-view-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 700;
}

.quick-view-price-section {
    margin-top: auto;
    padding-top: 20px;
}

.quick-view-image {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    margin-bottom: 20px;
}

.quick-view-btn {
    width: 100%;
    margin-top: 15px;
}

.quick-view-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}

.quick-view-close:hover {
    color: var(--text-color);
}

.fancybox__backdrop {
    background-color: var(--bg-color) !important;
}

[data-theme="dark"] .fancybox__container {
    --f-button-color: #ffffff;
    --fancybox-color: #ffffff;
}

[data-theme="light"] .fancybox__container {
    --f-button-color: #0f172a;
    --fancybox-color: #0f172a;
}

.f-thumbs__slide {
    width: 80px !important;
    height: 80px !important;
    flex: 0 0 auto !important;
}

.f-thumbs__slide__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.footer {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    background-color: #0b0f19;
    transition: background-color 0.3s, border-color 0.3s;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left,
.footer-center,
.footer-right {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #94a3b8;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #ffffff;
}

.footer .copyright {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.design-switcher {
    display: flex;
    gap: 8px;
}

.design-switcher a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    transition: all 0.3s;
}

.design-switcher a.active {
    background-color: #35b2e6;
    border-color: #35b2e6;
    color: #ffffff !important;
}

.design-switcher .mobile-text {
    display: none;
}

.design-switcher .desktop-text {
    display: inline;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.slider-dots {
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .header-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-lg);
        z-index: 100;
    }
    
    .header-links.open {
        display: flex;
    }
    
    .header-links a {
        padding: 5px 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .header-links a:last-child {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .design-switcher .mobile-text {
        display: inline;
    }
    .design-switcher .desktop-text {
        display: none;
    }
    .design-switcher a {
        padding: 6px 10px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    .action-buttons .btn {
        width: 100%;
    }
}

.hero-container {
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-container {
        padding: 40px 0;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
}
