.product-hero {
    padding: var(--spacing-xl) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--spacing-md);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-thumbnails {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.thumbnail {
    width: calc(25% - (var(--spacing-sm) * 3/4));
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active {
    border-color: var(--color-primary);
}

.thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.product-brand {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
}

.product-brand span {
    color: var(--color-primary);
    font-weight: 600;
}



.product-description {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.product-description p {
    margin-bottom: var(--spacing-sm);
}

.shipping-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.product-features {
    margin-bottom: var(--spacing-lg);
}

.features-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.features-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: var(--radius-sm);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(231, 76, 60, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: 700;
    flex-shrink: 0;
}

.feature-content h4 {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.feature-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.specifications {
    margin-bottom: var(--spacing-lg);
}

.product-specs {
    max-width: 800px;
    margin: 0 auto;
}

.specs-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-md);
}



.spec-card {
    padding: 8px;
    display: flex;
    align-items: center;
}

.spec-icon {
    background-color: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.spec-icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.spec-content {
    flex-grow: 1;
}

.spec-label {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 2px;
    font-weight: 500;
    text-transform: uppercase;
}

.spec-value {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
    padding: 0 var(--spacing-md);
}

.product-card {
    background-color: var(--bg-body);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.product-card-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-details {
    padding: var(--spacing-sm);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card-brand {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xs);
}

.product-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.product-card-price {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.product-card-cta {
    margin-top: auto;
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 14px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(231, 76, 60, 0.25);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: width 0.3s ease;
    z-index: 1;
}

.cta-button:hover::after {
    width: 100%;
}

.cta-button span {
    display: inline-block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}


.cta-primary {
    background-color: var(--color-primary);
    color: var(--text-light);
    position: relative;
}

.cta-primary:hover {
    background-color: var(--hover-primary);
    transform: translateY(-2px);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.35);
}


.cta-outline {
    background-color: transparent;
    color: var(--color-primary);
    box-shadow: none;
    border: 2px solid var(--color-primary);
}

.cta-outline:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.25);
}

.amazon-icon {
    width: 64px;
    /* height: 18px;
    filter: brightness(0) invert(1); */
}

.button-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.button-title {
    margin-bottom: 10px;
    color: var(--color-dark);
    font-weight: 500;
}

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

.card-button {
    display: block;
    width: 100%;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--color-primary);
    color: var(--text-light);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: background-color 0.3s ease;
}

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

.seo-content {
    margin: var(--spacing-xl) 0;
    line-height: 1.8;
}

.seo-content h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-bottom: var(--spacing-xs);
}

.seo-content h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: var(--radius-sm);
}

.seo-content h3 {
    font-size: 1.4rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.seo-content p {
    margin-bottom: var(--spacing-md);
}

.players-using {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin: var(--spacing-md) 0;
}

.player-chip {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--bg-card);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.player-chip:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.player-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-buy {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-light);
    padding: var(--spacing-sm);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.sticky-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sticky-product {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.sticky-image {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.sticky-info h3 {
    font-size: 1rem;
    font-weight: 600;
}

.sticky-price {
    color: var(--color-primary);
    font-weight: 700;
}

.sticky-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.similar-products {
    max-width: 1200px;
    margin: 40px auto;
}

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

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.carousel-button:hover {
    background-color: var(--color-primary);
    color: var(--text-light);
}

.carousel-button svg {
    width: 18px;
    height: 18px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    transition: transform 0.5s ease;
    will-change: transform;
}

.product-card {
    width: 250px;
    /* height: 500px; */
    flex: 0 0 auto;
    background-color: var(--color-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    overflow: hidden;
    background-color: #f8f8f8;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--color-primary);
    color: var(--text-light);
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    z-index: 2;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
    align-items: center;
    padding: 15px;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 42px;
}

.carousel-product-description {
    margin-top: var(--spacing-xs);
    font-size: 14px;
    color: var(--text-dark);
}

.product-action {
    background-color: transparent;
    border: none;
    color: var(--text-muted);
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-action:hover {
    background-color: var(--bg-card);
    color: var(--color-primary);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--color-primary);
}


@media (max-width: 768px) {
    .product-card {
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .product-card {
        min-width: 150px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .carousel-controls {
        align-self: flex-end;
    }
}


@keyframes swipeHint {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    50% {
        transform: translateX(0);
    }

    75% {
        transform: translateX(-10px);
    }

    100% {
        transform: translateX(0);
    }
}



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

    .product-gallery {
        position: static;
        margin-bottom: var(--spacing-lg);
    }

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

    .pros-cons {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

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

    .sticky-buy {
        display: block;
    }

    .sticky-product {
        display: none;
    }

    .sticky-buttons {
        width: 100%;
    }

    .sticky-buttons a {
        flex: 1;
        text-align: center;
    }

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

}



@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-sm);
    }

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

    .product-info h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .specs-container {
        grid-template-columns: 1fr;
    }
}