.product-detail {
    max-width: 1280px;
    margin: 0 auto;
    padding: calc(2rem + 70px) 1rem 2rem;
}

@media (min-width: 640px) {
    .product-detail {
        padding: calc(2rem + 70px) 1.5rem 2rem;
    }
}

@media (min-width: 1024px) {
    .product-detail {
        padding: calc(2rem + 70px) 2rem 2rem;
    }
}

.product-detail__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.product-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #5F777B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-detail__back:hover {
    color: #0CAF60;
}

.product-detail__back-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.product-detail__back-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .product-detail__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.product-detail__main-image {
    aspect-ratio: 4 / 3;
    background-color: #F5F5F5;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-detail__main-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail__thumbs-slider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-detail__thumbs-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
}

.product-detail__thumb {
    width: 112px;
    height: 112px;
    background-color: #F5F5F5;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.2s ease;
    flex: 0 0 auto;
}

.product-detail__thumbs-nav {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #D7DFE0;
    background: #ffffff;
    color: #5F777B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-detail__thumbs-nav:hover {
    border-color: #0CAF60;
    color: #0CAF60;
}

.product-detail__thumbs-nav--disabled {
    opacity: 0.5;
    pointer-events: none;
}

.product-detail__thumbs-slider--static .product-detail__thumbs-nav {
    display: none;
}

.product-detail__thumb:hover {
    border-color: #0CAF60;
}

.product-detail__thumb--active {
    border-color: #0CAF60;
}

.product-detail__thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail__tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-detail__tag {
    padding: 0.25rem 0.75rem;
    background-color: rgba(12, 175, 96, 0.1);
    color: #0CAF60;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.product-detail__title {
    font-size: 2rem;
    font-weight: 600;
    color: #052E31;
    margin: 0 0 0.5rem 0;
}

@media (min-width: 1024px) {
    .product-detail__title {
        font-size: 2.5rem;
    }
}

.product-detail__subtitle {
    font-size: 1.125rem;
    color: #5F777B;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.product-detail__rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-detail__stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-detail__star {
    width: 1.25rem;
    height: 1.25rem;
    fill: #D7DFE0;
}

.product-detail__star--active {
    fill: #0CAF60;
}

.product-detail__reviews {
    font-size: 0.875rem;
    color: #5F777B;
}

.product-detail__price {
    margin-bottom: 2rem;
}

.product-detail__price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.product-detail__price-current {
    font-size: 2.25rem;
    font-weight: 700;
    color: #052E31;
}

.product-detail__price-old {
    font-size: 1.25rem;
    color: #5F777B;
    text-decoration: line-through;
}

.product-detail__discount {
    padding: 0.25rem 0.5rem;
    background-color: rgba(251, 44, 54, 0.1);
    color: #FB2C36;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-detail__stock {
    font-size: 0.875rem;
    color: #0CAF60;
}

.product-detail__delivery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-detail__delivery-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.product-detail__delivery-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #0CAF60;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.product-detail__delivery-title {
    color: #052E31;
    font-weight: 500;
}

.product-detail__delivery-subtitle {
    color: #5F777B;
    font-size: 0.875rem;
}

.product-detail__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .product-detail__actions {
        flex-direction: row;
    }
}

.product-detail__action-btn {
    flex: 1;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.product-detail .product-detail__action-btn--primary {
    background-color: #0CAF60;
    color: #ffffff;
    border-color: #0CAF60;
}

.product-detail .product-detail__action-btn--primary:hover {
    background-color: rgba(12, 175, 96, 0.9);
}

.product-detail__action-btn--secondary {
    background-color: #ffffff;
    border-color: #0CAF60;
    color: #0CAF60;
}

.product-detail__action-btn--secondary:hover {
    background-color: #0CAF60;
    color: #ffffff;
}

.product-detail__action-icon {
    width: 1.25rem;
    height: 1.25rem;
}
