.products-nav-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.products-nav-links a {
    text-decoration: none;
    color: #666;
}


.products-product-title {
    background: linear-gradient(180deg, #e45464 -13%, #d70018);
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.products-rating {
    color: #ffd700;
    font-size: 14px;
}

.products-product-main {
    display: flex;
    padding: 30px;
    gap: 40px;
}

.products-product-images {
    flex: 1;
    max-width: 450px;
}

.products-main-image {
    width: 100%;
    height: 400px;
    background: url('https://cdn.viettablet.com/images/thumbnails/480/480/detailed/71/xiaomi-redmi-15.jpg') center/contain no-repeat;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #eee;
}


.products-thumbnail-list {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 5px 0;
}


.products-thumbnail-item.active {
    border-color: #ff6900;
}

.products-product-details {
    flex: 1.5;
}

.products-price-box {
    background: #fff5f0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 2px solid #d70018;
}

.products-current-price {
    font-size: 32px;
    font-weight: bold;
    color: #d70018;
    margin-bottom: 8px;
}

.products-original-price {
    font-size: 15px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 8px;
}

.products-installment-info {
    font-size: 14px;
    color: #666;
}

.products-product-status {
    margin-bottom: 25px;
}

.products-status-title {
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.products-product-desc {
    line-height: 1.6;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    background: #f1f1f1;
    border-radius: 6px;
}

.products-product-desc strong {
    color: #333;
}

.products-variant-section {
    margin-bottom: 25px;
}


.products-storage-option.active {
    border-color: #ff6900;
}

.products-storage-price {
    font-weight: bold;
    color: #ff6900;
    margin-top: 4px;
    font-size: 13px;
}



.products-color-name {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.products-color-price {
    font-weight: bold;
    color: #ff6900;
    font-size: 14px;
}

.products-action-section {
    margin-top: 35px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.products-btn-buy {
    background: linear-gradient(0deg, #d70018, #e45464);
    color: white;
    border: none;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    flex: 1;
    height: 50px;
    min-width: 300px;
}

.products-btn-buy:hover {
    background: linear-gradient(0deg, #e45464, #d70018);

}

.products-btn-installment {
    background: linear-gradient(0deg, #484a64ff, #282b52ff);
    color: white;
    border: none;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    flex: 1;
    height: 50px;
    min-width: 300px;
}

.products-btn-installment:hover {
    background: linear-gradient(0deg, #282b52ff, #484a64ff);

}

.products-btn-card {

    color: white;
    background-color: white;
    border: none;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    height: 50px;
    min-width: 300px;
}

.products-btn-card:hover {
    background: linear-gradient(0deg, #dc2626, #be0606);

}


.products-btn-subtitle {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.9;
    display: block;
    margin-top: 3px;
}

@media (max-width: 768px) {
    .products-product-main {
        flex-direction: column;
        padding: 20px;
        gap: 25px;
    }

    .products-action-section {
        flex-direction: column;
    }

    .products-btn-buy,
    .products-btn-installment,
    .products-btn-card {
        width: 100%;
        min-width: auto;
    }

    .products-storage-options {
        flex-direction: column;
    }

    .products-color-section {
        flex-direction: column;
        gap: 15px;
    }
}

.products-product-header {
    background: white;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.products-product-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0 20px;
}


.products-product-container {
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}


.products-main-image-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #eee;
    overflow: hidden;
}

.products-main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.products-thumbnail-item {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    overflow: hidden;
}


.products-thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.products-variant-title {
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
    font-size: 15px;
}

.products-storage-options {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.products-storage-option {
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    text-align: center;
    min-width: 100px;
    background: white;
}

.products-storage-option.active,
.products-storage-option.selected {
    border-color: #ff6900;
}


.products-color-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.products-color-group {
    text-align: center;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.products-color-group.selected {
    border-color: #ff6900;
}

.products-color-group img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.products-quantity-section {
    margin-bottom: 25px;
}

.products-quantity-title {
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.products-quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.products-quantity-input {
    width: 80px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
}

.products-stock-info {
    font-size: 14px;
    color: #666;
}


nav {
    border-bottom: 0;
}