* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
	text-decoration: none;
}
::selection {
  background-color: #1e2a44;
  color: #ffffff;
}
body {
    background-color: #f5f5f5;
}
.no-products-message {
    text-align: center;
    color: #4b5563;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 2rem;
    background-color: #f9fafb;
    border-radius: 0.375rem;
    margin: 1rem 0;
}
.lazy-image {
    transition: opacity 0.3s ease;
    opacity: 0;
}
.lazy-image.loaded {
    opacity: 1;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;
}
.tab-menu {
    margin: 0;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.tab-menu ul {
    display: flex;
    list-style: none;
    width: 100%;
    padding: 6px;
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    background: #1e2a440a;
    border: 1px solid rgba(229, 231, 235, 0.6);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    gap: 15px;
}
.tab-menu li {
    flex: 1;
}
.tab-menu li a {
    display: block;
    padding: 15px 20px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}
.tab-menu li a:hover {
    color: #374151;
    background: rgba(255, 255, 255, 0.6);
}
.tab-menu li.active a {
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}
.tab-menu li.active a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 30%;
    height: 100%;
    background: #1e2a441f;
    transform: skewX(-20deg);
    animation: slideGlass 6s cubic-bezier(0, 0.65, 0.92, 0.63) infinite;
    pointer-events: none;
}
@keyframes slideGlass {
    0% { left: -100%; opacity: 0; }
    10% { opacity: 0.7; }
    50% { left: 100%; opacity: 0.2; }
    100% { left: 100%; opacity: 0; }
}
.menu-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 25px;
    margin-top: 25px;
    border-radius: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(229, 231, 235, 0.6);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.product-link {
    color: #1e2a44;
    text-decoration: none;
    transition: color 0.3s ease;
}
.product-link:hover {
    color: #000000;
    text-decoration: underline;
}
.subcategory-menu {
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: 50px;
    align-content: center;
    -ms-overflow-style: none;
}
.subcategory-menu::-webkit-scrollbar {
    display: none;
}
.subcategory-menu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.subcategory-menu li {
    flex: 0 0 auto;
    padding: 6px;
}
.subcategory-menu li a {
    text-decoration: none;
    color: #6b7280;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 16px;
    transition: all 0.3s ease;
    background: rgba(249, 250, 251, 0.6);
    border: 1px solid rgba(229, 231, 235, 0.4);
}
.subcategory-menu li.active a,
.subcategory-menu li a:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-color: rgba(99, 102, 241, 0.2);
}
.bestseller-section, .discount-section, .products-section, .reviews-section {
    margin-bottom: 50px;
}
.bestseller-header, .discount-header, .products-header, .reviews-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.bestseller-header .material-icons, .discount-header .material-icons, .products-header .material-icons, .reviews-header .material-icons {
    font-size: 24px;
    color: #1e2a44;
}
.bestseller-header h1, .discount-header h1, .products-header h1, .reviews-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1e2a44;
}
.bestseller-underline, .discount-underline, .products-underline, .reviews-underline {
    height: 3px;
    width: 50px;
    background-color: #1e2a44;
    border-radius: 2px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.gallery-container {
    position: relative;
    margin-top: 20px;
    overflow: hidden;
}
.gallery {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: auto;
}
.gallery::-webkit-scrollbar {
    display: none;
}
.gallery-item {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
}
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1e2a44;
    border: 1px solid #e8ecef;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}
.gallery-nav:hover {
    background-color: #000000;
    transform: translateY(-50%) scale(1.1);
}
.gallery-nav .material-icons {
    color: #ffffff;
    font-size: 20px;
}
.gallery-nav-left {
    left: 10px;
    display: none;
}
.gallery-nav-right {
    right: 10px;
}
.product-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    opacity: 1;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(229, 231, 235, 0.6);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.product-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    padding: 10px;
    gap: 5px; 
}

.product-image-container img {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    z-index: 1;
}
.product-image-container:hover img {
    transform: scale(1.05);
}


.bestseller-label,
.discount-label,
.review-label,
.no-license-label {
    position: relative;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    /* text-transform: uppercase; */
    transition: all 0.3s ease;
    z-index: 10;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-block;
    text-decoration: none;
}

.bestseller-label {
    background-color: #0d9488;
}

.discount-label {
    background-color: #b91c1c;
}

.review-label {
    background-color: #2563eb;
}

.no-license-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #334155;
    padding: 4px 12px;
}

.discount-label.with-bestseller,
.review-label.with-bestseller,
.review-label.with-discount,
.review-label.with-bestseller-discount,
.no-license-label.with-bestseller,
.no-license-label.with-discount,
.no-license-label.with-bestseller-discount {
    top: auto;
    left: auto;
    bottom: auto;
    transform: none;
}

.product-card:hover .bestseller-label,
.product-card:hover .discount-label,
.product-card:hover .review-label,
.product-card:hover .no-license-label {
    transform: scale(1.05);
}
.product-card:hover .no-license-label {
    transform: translateX(-50%) scale(1.05);
}

.product-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.5);
}
.product-title {
    min-height: 40px;
}
.product-title a {
    font-size: 16px;
    font-weight: 600;
    color: #1e2a44;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-title a:hover {
    color: #000000;
}
.attribute-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.attribute-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.attribute-item .material-icons {
    font-size: 18px;
    color: #6b7280;
}
.attribute-value {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}
.engine-power {
    display: inline-block;
}
.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.original-price {
    font-size: 18px;
    font-weight: 500;
    color: #ef4444;
    text-decoration: line-through;
}
.discounted-price, .price-text {
    font-size: 24px;
    font-weight: 900;
    color: #1f2937;
}
.credit-price, .credit-no-price {
    font-size: 13px;
    color: #777;
    cursor: pointer;
}
.credit-text, .credit-no-price-text {
    font-size: 13px;
}
.product-card p {
    font-size: 13px;
    font-weight: 500;
}
.product-button {
    display: inline-block;
    background: linear-gradient(135deg, #1e2a44, #2b3d5f);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(30, 42, 68, 0.2);
}
.product-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0;
    transform: rotate(45deg);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.product-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 12px rgba(30, 42, 68, 0.3);
    background: linear-gradient(135deg, #2b3d5f, #1e2a44);
}
.product-button:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
    animation: shine 1.5s ease-in-out infinite;
}
@keyframes shine {
    0% {
        transform: rotate(45deg) translate(50%, 50%);
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translate(100%, 100%);
        opacity: 0;
    }
}
.products-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.sort-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.sort-container span {
    font-size: 14px;
    color: #1e2a44;
    font-weight: 500;
}
.sort-container a {
    font-size: 14px;
    color: #1e2a44;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e8ecef;
    transition: all 0.3s ease;
}
.sort-container a:hover {
    background: #f8f9fa;
    border-color: #1e2a44;
}
.sort-container a.active {
    background: #1e2a44;
    color: #ffffff;
    border-color: #1e2a44;
}
.banner {
    width: 100%;
    max-width: 1240px;
    height: auto;
    display: block;
    margin: 20px auto 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.availability {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    padding: 6px 0px;
    border-radius: 12px;
}
.availability .material-icons {
    font-size: 16px;
}
.availability-in-stock {
    color: #16a34a;
}
.availability-out-of-stock {
    color: #dc2626;
}
.availability-unknown {
    color: #6b7280;
    background: rgba(107, 114, 128, 0.05);
}
.review-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.rating {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 10px;
}
.comment {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}
.customer {
    font-size: 13px;
    color: #777;
    font-style: italic;
}
.reviews-gallery-container {
    position: relative;
    margin-top: 20px;
    overflow: hidden;
}
.reviews-gallery {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-x: auto;
}
.reviews-gallery::-webkit-scrollbar {
    display: none;
}
.reviews-gallery .review-card {
    flex: 0 0 280px;
    min-width: 280px;
    max-width: 280px;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.pagination a {
    display: inline-block;
    padding: 10px 15px;
    background-color: #ffffff;
    border: 1px solid #e8ecef;
    border-radius: 20px;
    text-decoration: none;
    color: #1e2a44;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.pagination a:hover {
    background-color: #f8f9fa;
    border-color: #1e2a44;
    transform: translateY(-2px);
}
.pagination a.active {
    background-color: #1e2a44;
    color: #ffffff;
    border-color: #1e2a44;
    cursor: default;
}
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    .tab-menu {
        margin-bottom: 10px;
    }
    .tab-menu li a {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    .menu-container {
        padding: 10px;
        margin: 10px auto;
        gap: 0px;
    }
    .subcategory-menu::-webkit-scrollbar {
        display: none;
    }
    .subcategory-menu {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .subcategory-menu ul {
        padding: 6px 10px;
        gap: 6px;
    }
    .subcategory-menu li a {
        font-size: 13px;
        padding: 6px 12px;
    }
    .bestseller-header h1, .discount-header h1, .products-header h1, .reviews-header h1 {
        font-size: 20px;
    }
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    .product-image-container {
        width: 100%;
        height: 300px;
        overflow: hidden;
        position: relative;
    }
    .product-image-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
    .product-title {
        min-height: 36px;
    }
    .product-title a {
        font-size: 20px;
    }
    .attribute-value, .credit-price, .credit-no-price, .product-card p {
        font-size: 14px;
    }
    .original-price {
        font-size: 18px;
    }
    .discounted-price, .price-text {
        font-size: 24px;
    }
    .product-button {
        font-size: 13px;
        padding: 8px 15px;
    }
    .gallery-nav {
        width: 35px;
        height: 35px;
    }
    .gallery-nav .material-icons {
        font-size: 18px;
    }
    .gallery-item {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }
    .banner {
        margin: 10px auto 0 auto;
        border-radius: 16px;
    }
    .reviews-gallery .review-card {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 300px;
    }
    .reviews-gallery .review-card .rating {
        font-size: 16px;
    }
    .reviews-gallery .review-card .comment {
        font-size: 13px;
        line-height: 1.4;
    }
    .reviews-gallery .review-card .customer {
        font-size: 12px;
    }
    .sort-container a {
        padding: 6px 12px;
        font-size: 13px;
    }
    .pagination a {
        padding: 8px 12px;
        font-size: 13px;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    .tab-menu {
        margin-bottom: 10px;
    }
    .tab-menu ul {
        border-radius: 22px;
        gap: 5px;
    }
    .tab-menu li a {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    .menu-container {
        padding: 8px;
        margin: 10px auto;
        gap: 0px;
    }
    .subcategory-menu ul {
        padding: 5px 8px;
    }
    .subcategory-menu li a {
        font-size: 13px;
        padding: 5px 10px;
    }
    .bestseller-header h1, .discount-header h1, .products-header h1, .reviews-header h1 {
        font-size: 18px;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    .product-image-container {
        width: 100%;
        height: 300px;
        overflow: hidden;
        position: relative;
    }
    .product-image-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
    .product-title {
        min-height: 32px;
    }
    .product-title a {
        font-size: 20px;
    }
    .attribute-value, .credit-price, .credit-no-price, .product-card p {
        font-size: 14px;
    }
    .original-price {
        font-size: 18px;
    }
    .discounted-price, .price-text {
        font-size: 24px;
    }
    .product-button {
        font-size: 14px;
        padding: 12px;
    }
    .gallery-nav {
        width: 30px;
        height: 30px;
    }
    .gallery-nav .material-icons {
        font-size: 16px;
    }
    .gallery-item {
        min-width: 200px;
        max-width: 280px;
    }
    .reviews-gallery .review-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }
    .reviews-gallery .review-card .rating {
        font-size: 14px;
    }
    .reviews-gallery .review-card .comment {
        font-size: 12px;
        line-height: 1.4;
    }
    .reviews-gallery .review-card .customer {
        font-size: 11px;
    }
    .sort-container span {
        display: none;
    }
    .sort-container {
        justify-content: center;
    }
    .sort-container a {
        padding: 5px 10px;
        font-size: 12px;
    }
    .pagination a {
        padding: 6px 10px;
        font-size: 12px;
    }
}