.detail-container {
    max-width: 1100px;
    margin: 20px auto; 
    padding: 0 20px;
    display:flex;
    gap: 40px;
    align-items: flex-start;
}

.image-section img {
    width: 420px;
    height: auto;
    border-radius: 14px;
    flex-shrink: 0;
}

.info-section {
    max-width: 500px;
    /* margin-top: -27px; */
}

.info-section .product-title {
    font-size: 28px;
    font-weight: 700;
}

.product-price {
    font-size: 20px;
    color: #E5007A !important;
    margin: 10px 0;
    font-weight: bold;
}

.product-description {
    margin: 10px 0 20px;
    line-height: 1.5;
    color: #333;
}

.size-section {
    margin: 20px 0;
}

.size-label {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.size-option {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.size-btn {
    padding: 10px 16px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    min-width: 50px;
    text-align: center;
    font-size: 14px;
    transition: 0.2s;
}

.size-btn:hover {
    border-color: #E5007A;
    color: #E5007A;
}

.size-btn.active {
    background: #f6b0d5;
    color: #E5007A;
    border-color: #E5007A;
}

.qty-wrapper {
    margin-top: 20px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qty-label {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 0;
    display: block;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f1f1;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.qty-btn:hover {
    background: #ddd;
}

.qty-btn:active {
    transform: scale(0.92);
}

.qty-input {
    width: 38px;
    height: 32px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #300;
    border-radius: 8px;
    background: #fafafa;
    border: 1px solid #ddd;
}

.size-btn.error {
    border-color: #e53935;
    color: #e53935;
}

.add-cart-btn {
    background: #E5007A;
    padding: 12px 160px;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    margin-top: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
}

.back-link:hover {
    color: #E5007A;
    text-decoration: underline;
}