/* Product Detail Page Styles */
.product-container {
    width: 80%;
    display: flex;
    margin: 50px auto;
    font-family: 'Segoe UI', sans-serif;
}
.main-product-image {
    width: 440px;
    height: 440px;
    margin-left: 20px;
    object-fit: cover;
}
.left-detail {
    display: flex;
    width: 40%;
}
.right-detail {
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
    margin-left: 90px;
    width: 47%;
}
.name-detail {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px 0;
}
.detail-price {
    font-size: 23px;
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}
.sale {
    display: flex;
    justify-content: center;
    font-size: 15px;
    color: red;
    margin: 0;
    background-color: #f0f0f0;
    padding: 5px 10px;
    border-radius: 4px;
}
.old-price {
    text-decoration: line-through;
    color: gray;
    margin: 0;
    font-size: 18px;
}
.current-price {
    font-weight: bold;
    margin: 0;
    color: #d0011b;
    font-size: 24px;
}

/* SIZE */
.detail-size {
    margin-top: 10px;
    display: flex;
    gap: 40px;
    align-items: center;
}
.shoe-size {
    display: flex;
    gap: 10px;
}
.shoe-size input[type="radio"] {
    display: none;
}
.shoe-size label {
    font-size: 14px;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
    min-width: 30px;
    text-align: center;
}
.shoe-size label:hover {
    border-color: #333;
}
.shoe-size input[type="radio"]:checked + label {
    background-color: #333;
    color: white;
    border-color: #333;
}

/* QUANTITY & BUTTON */
.detail-quantity {
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.change-quantity-detail {
    display: flex;
    align-items: center;
}
.change-quantity-detail button {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: 0.2s;
}
.change-quantity-detail button:hover {
    background-color: #eee;
}
.change-quantity-detail input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    font-weight: bold;
    font-size: 16px;
    outline: none;
}

.add-to-cart {
    padding: 0 30px;
    height: 50px;
    font-size: 16px;
    border: none;
    color: white;
    background-color: #ee4d2d;
    font-weight: bold;
    flex: 1;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 4px;
    text-transform: uppercase;
}
.add-to-cart:hover {
    background-color: #d73211;
}

/* INFO & FOOTER */
.detail-note {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    color: #555;
    font-size: 14px;
}
.endow, .shipping, .call {
    display: flex;
    align-items: center;
    gap: 15px;
}
.endow i, .shipping i, .call i {
    font-size: 20px;
    color: #888;
    width: 25px;
    text-align: center;
}
hr {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 40px auto;
    width: 97%;
}

/* RELATED PRODUCTS */
.container-related-products {
    width: 80%;
    margin: 40px auto;
}
.container-related-products h2 {
    color: #c00000;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 2px solid #ee4d2d;
    padding-bottom: 10px;
    text-transform: uppercase;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}
.product-card-related {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}
.product-card-related:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #ee4d2d;
}
