/*
Theme Name: Proove Electric Scooters
Author: Proove
Version: 1.0
*/

:root {
    --primary: #35b2e6;
    --primary-hover: #299ecf;
    --dark: #1f2937;
    --light: #f3f4f6;
    --border: #e5e7eb;
    --text-muted: #6b7280;
    --white: #ffffff;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

body {
    font-family: var(--font);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    display: block;
}

.header-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

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

.lang-selector {
    font-size: 14px;
    color: var(--text-muted);
}

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

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
}

.breadcrumbs {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

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

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

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--white);
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

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

.badge-icon {
    width: 20px;
    height: 20px;
}

.product-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.action-icon {
    width: 20px;
    height: 20px;
    color: var(--dark);
    opacity: 0.7;
    cursor: pointer;
}

.action-icon:hover {
    opacity: 1;
}

.product-card-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-card-category {
    font-size: 13px;
    color: var(--text-muted);
}

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

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

.product-gallery-container {
    background-color: #fcfcfc;
    border-radius: 4px;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-id {
    font-size: 12px;
    color: var(--text-muted);
    align-self: flex-start;
    margin-bottom: 10px;
}

.slider-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.slider-ribbon {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.slider-slide {
    min-width: 100%;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: 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;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    font-size: 24px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.slider-arrow:hover {
    background-color: var(--light);
}

.slider-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.slider-dot {
    width: 10px;
    height: 6px;
    border-radius: 3px;
    background-color: var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-dot.active {
    width: 20px;
    background-color: var(--dark);
}

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

.product-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 5px;
}

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

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.info-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.info-table td.label {
    width: 30%;
    color: var(--text-muted);
    font-size: 14px;
}

.info-table td.value {
    width: 70%;
    font-size: 15px;
}

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

.color-pill {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.color-pill.active {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(53, 178, 230, 0.05);
}

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

.app-badge-link img {
    height: 40px;
}

.price-value {
    font-size: 24px;
    font-weight: 700;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.btn {
    padding: 14px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

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

.btn-outline:hover {
    background-color: rgba(53, 178, 230, 0.05);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    grid-column: span 2;
}

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

.specs-section {
    margin-top: 50px;
}

.specs-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.specs-table tr:nth-child(even) {
    background-color: #fafafa;
}

.specs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
}

.specs-table td.spec-name {
    font-weight: 600;
    width: 40%;
}

.specs-table td.spec-value {
    width: 60%;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    color: var(--text-muted);
}

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

.modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 15px;
    outline: none;
}

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

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

.footer {
    border-top: 1px solid var(--border);
    padding: 30px 0;
    background-color: #0f172a;
}

.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;
    }
}

.fancybox__backdrop {
    background-color: #ffffff !important;
}

.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;
}

.quick-view-box {
    max-width: 850px;
    width: 90%;
    padding: 35px;
    background-color: var(--white);
    border-radius: 8px;
    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: #f8f9fa;
    border-radius: 8px;
    padding: 25px 20px;
    justify-content: space-between;
}

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

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

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

.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(--dark);
}

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

.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: var(--text);
    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);
    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: #ffffff;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        z-index: 100;
    }
    
    .header-links.open {
        display: flex;
    }
    
    .header-links a {
        padding: 5px 0;
        width: 100%;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .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%;
    }
}
