/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo img {
    height: 50px;
}

.catalog-button {
    background-color: #4747ff;
    color: white;
    border-radius: 4px;
    padding: 10px 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-right: 15px;
    position: relative;
}

.catalog-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 240px;
    z-index: 10;
    display: none;
    padding: 10px 0;
    margin-top: 5px;
}

.catalog-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

.catalog-dropdown li {
    padding: 8px 15px;
    transition: background-color 0.2s;
}

.catalog-dropdown li:hover {
    background-color: #f5f5f5;
}

.catalog-dropdown li a {
    display: flex;
    align-items: center;
    color: #333;
}

.catalog-dropdown li a i {
    margin-right: 10px;
    color: #4747ff;
    width: 20px;
    text-align: center;
}

.catalog-dropdown.show {
    display: block;
}

.search-container {
    flex: 1;
    display: flex;
    margin-right: 15px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.search-button {
    background-color: #4747ff;
    color: white;
    border-radius: 0 4px 4px 0;
    padding: 10px 15px;
    font-size: 16px;
}

.city-selector {
    display: flex;
    align-items: center;
    margin-right: 10px;
    cursor: pointer;
    font-size: 14px;
}

.header-nav {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #eee;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.header-nav::-webkit-scrollbar {
    display: none;
}

.promo-button {
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 5px 15px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #a644ff;
    box-shadow: 0 1px 3px rgba(166, 68, 255, 0.2);
    transition: background-color 0.3s ease;
}

.promo-button:hover {
    background-color: #efe0ff;
}

.promo-button img {
    width: 20px;
    margin-right: 5px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-right: 20px;
}

.nav-menu li a {
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #4747ff;
}

.nav-menu li a i {
    margin-right: 5px;
    color: #a644ff;
}

/* Hero slider styles */
.hero-slider {
    position: relative;
    height: 350px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    padding: 30px;
    width: 50%;
    z-index: 1;
}

.slide-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

.slide-text {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.slide-button {
    display: inline-block;
    background-color: white;
    color: #333;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.slide-button:hover {
    transform: translateX(5px);
}

.slide-image {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 0;
}

.slide-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.slider-nav:hover {
    background-color: rgba(255,255,255,0.9);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: white;
}

/* Section styles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.view-all {
    color: #4747ff;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.view-all i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.view-all:hover i {
    transform: translateX(3px);
}

/* Category styles */
.categories-section {
    margin-bottom: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-image {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.category-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.category-name {
    font-weight: 500;
    text-align: center;
    font-size: 14px;
    color: #333;
}

/* Brand styles */
.brands-section {
    margin-bottom: 40px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.brand-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 70px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-3px);
}

.brand-card img {
    max-width: 80%;
    max-height: 40px;
    object-fit: contain;
}

/* Articles section */
.articles-section {
    margin-bottom: 40px;
}

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

.article-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-image {
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-date {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
    display: block;
}

.article-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    color: #4747ff;
    font-weight: 500;
    font-size: 14px;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Product section styles */
.product-section {
    margin-bottom: 40px;
}

.product-tabs {
    display: flex;
    overflow-x: auto;
    margin-bottom: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 5px;
}

.product-tabs::-webkit-scrollbar {
    display: none;
}

.product-tab {
    white-space: nowrap;
    padding: 8px 15px;
    background-color: #f0f0f0;
    border-radius: 20px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.product-tab:hover {
    background-color: #e0e0e0;
}

.product-tab.active {
    background-color: #4747ff;
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #a644ff;
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.best-price-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4d4d;
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.favorite-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    color: #ddd;
    font-size: 20px;
    z-index: 2;
    transition: color 0.3s ease;
}

.favorite-button:hover, .favorite-button.active {
    color: #ff4d4d;
}

.product-image {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.product-image img {
    max-width: 70%;
    height: 180px;
    max-height: 70%;
    object-fit: contain;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.rating-number {
    background-color: #4cd964;
    color: white;
    border-radius: 3px;
    padding: 2px 5px;
    font-weight: bold;
    margin-right: 10px;
    font-size: 14px;
}

.rating-text {
    font-size: 12px;
    color: #777;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.product-title {
    font-size: 12px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
    flex-grow: 1;
}

.product-popularity {
    font-size: 12px;
    color: #777;
    display: flex;
    align-items: center;
}

.product-popularity i {
    margin-right: 5px;
    color: #a644ff;
}

/* Footer styles */
footer {
    background-color: #222;
    padding: 30px 0;
    margin-top: 40px;
    font-size: 14px;
    color: #aaa;
}

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

.footer-links a {
    color: #4d79ff;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #6b8fff;
    text-decoration: underline;
}

.footer-notice {
    margin-top: 15px;
    font-style: italic;
    color: #888;
    font-size: 13px;
    line-height: 1.4;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #4747ff;
}

/* Responsive styles */
@media (max-width: 1400px) {
    .categories-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .slide-content {
        width: 60%;
    }

    .slide-image {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
    }

    .logo {
        margin-bottom: 10px;
    }

    .search-container {
        order: 3;
        width: 100%;
        margin-top: 10px;
        margin-right: 0;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .slide-content {
        width: 100%;
        padding: 20px;
    }

    .slide-image {
        display: none;
    }

    .slide-title {
        font-size: 24px;
    }

    .slide-text {
        font-size: 16px;
    }
}

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

    .section-title {
        font-size: 20px;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    color: #777;
}

.breadcrumbs a {
    color: #666;
    margin: 0 5px;
}

.breadcrumbs a:hover {
    color: #4747ff;
}

.breadcrumbs a:first-child {
    margin-left: 0;
}

.breadcrumbs .separator {
    margin: 0 5px;
    color: #ccc;
}

/* Product header */
.product-header {
    margin-bottom: 20px;
}

.product-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-price-range {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.leave-review {
    color: #4747ff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.leave-review:hover {
    text-decoration: underline;
}

/* Product main section */
.product-main {
    display: flex;
    margin-bottom: 40px;
}

.product-gallery {
    width: 50%;
    padding-right: 30px;
}

.main-image {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.main-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 75px;
    height: 75px;
    border-radius: 5px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.thumbnail.active {
    border-color: #4747ff;
}

.thumbnail img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.product-info {
    width: 50%;
}

.product-specs {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.specs-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

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

.spec-group:last-child {
    margin-bottom: 0;
}

.spec-group-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-name {
    color: #777;
}

.spec-value {
    font-weight: 500;
    text-align: right;
}

.product-options {
    margin-bottom: 20px;
}

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

.option-title {
    font-weight: 500;
    margin-bottom: 10px;
    color: #666;
}

.option-buttons {
    display: flex;
    gap: 10px;
}

.option-button {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-button.active {
    border-color: #4747ff;
    background-color: #f0f3ff;
    color: #4747ff;
}

.option-button:hover:not(.active) {
    border-color: #bbb;
}

.product-actions {
    margin-top: 20px;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.compare-button {
    background-color: #f0f3ff;
    color: #4747ff;
    border: 1px solid #4747ff;
}

.compare-button:hover {
    background-color: #e0e7ff;
}

.favorite-button {
    background-color: #fff0f0;
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
}

.favorite-button:hover {
    background-color: #ffe0e0;
}

.action-button i {
    margin-right: 10px;
    font-size: 18px;
}

/* Product tabs */
.product-tabs {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #eee;
}

.tab-button {
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    color: #666;
}

.tab-button:hover {
    color: #4747ff;
}

.tab-button.active {
    color: #4747ff;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #4747ff;
}

.tab-button .count {
    display: inline-block;
    font-size: 12px;
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 2px 8px;
    margin-left: 5px;
    color: #666;
    vertical-align: middle;
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

/* Description tab */
.product-description p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-description h3 {
    font-size: 18px;
    margin: 20px 0 10px;
}

.product-description ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.product-description ul li {
    list-style-type: disc;
    margin-bottom: 5px;
}

/* Reviews tab */
.review {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.review:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #777;
    margin-right: 10px;
}

.reviewer-name {
    font-weight: 600;
}

.review-date {
    font-size: 14px;
    color: #999;
    margin-left: 10px;
}

.review-stars {
    color: #ffb100;
    margin-bottom: 5px;
}

.review-content {
    margin-bottom: 10px;
}

.review-pros, .review-cons {
    margin-bottom: 10px;
}

.review-pros span, .review-cons span {
    font-weight: 600;
    margin-right: 5px;
}

.review-pros {
    color: #4cd964;
}

.review-cons {
    color: #ff4d4d;
}

.review-comment {
    font-style: italic;
    border-left: 3px solid #eee;
    padding-left: 10px;
    margin-bottom: 10px;
}

.review-reactions {
    display: flex;
    gap: 15px;
}

.review-reaction {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #777;
    cursor: pointer;
}

.review-reaction i {
    margin-right: 5px;
}

.review-reaction:hover {
    color: #4747ff;
}

/* Questions tab */
.question {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.question:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.question-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.question-title {
    font-weight: 600;
    font-size: 16px;
}

.question-date {
    font-size: 14px;
    color: #999;
}

.question-content {
    margin-bottom: 15px;
}

.question-answer {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.answer-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.answer-label {
    background-color: #4747ff;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 10px;
}

.answer-date {
    font-size: 14px;
    color: #999;
}

/* Similar products */
.similar-products {
    margin-bottom: 40px;
}

/* Product card styles for product page */
.product-card-image {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

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

.product-card-price {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.product-card-title {
    font-size: 14px;
    margin-bottom: 10px;
    color: #333;
    line-height: 1.4;
    flex-grow: 1;
}

/* Product description (for SEO) */
.product-description-seo {
    margin-top: 30px;
    font-size: 14px;
    color: #777;
    line-height: 1.5;
}

.product-description-seo p {
    margin-bottom: 10px;
}

/* Responsive styles for product page */
@media (max-width: 992px) {
    .product-main {
        flex-direction: column;
    }

    .product-gallery, .product-info {
        width: 100%;
        padding-right: 0;
    }

    .product-gallery {
        margin-bottom: 20px;
    }

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

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

    .main-image {
        height: 300px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tabs-header {
        flex-wrap: wrap;
    }

    .tab-button {
        flex-grow: 1;
        text-align: center;
        padding: 10px;
    }
}

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

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .main-image {
        height: 250px;
    }

    .product-price-range {
        font-size: 20px;
    }
}
