.order-section {
    width: 100%;
    padding: 40px 15px;
    background-color: #fff;
    display: flex;
    justify-content: center;
}

.order-container {
    max-width: 1100px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
}

.order-gallery {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.main-image-wrapper {
    width: 100%;
    position: relative;
}

#main-product-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    z-index: 10;
    transition: background-color 0.2s, transform 0.2s;
}

.gallery-arrow:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.05);
}

.gallery-arrow svg {
    width: 24px;
    height: 24px;
    color: #333;
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumb-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.2s ease;
}

.thumb-img.active {
    border-color: #000;
}

.order-details {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.order-title {
    font-size: 26px;
    font-weight: 800;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.3;
}

.reviews-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.reviews-count {
    font-size: 14px;
    color: #333;
}

.price-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.discount-badge {
    background-color: #E88597;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 6px;
}

.old-price {
    font-size: 18px;
    color: #888;
    text-decoration: line-through;
    font-weight: 600;
}

.new-price {
    font-size: 24px;
    color: #000;
    font-weight: 800;
}

.sale-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #000;
    margin-bottom: 25px;
}

.divider {
    width: 50px;
    height: 1px;
    background-color: #E88597;
    margin: 0 auto 25px auto;
}

.options-group {
    width: 100%;
    margin-bottom: 25px;
}

.options-label {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: #000;
    margin-bottom: 15px;
}

.size-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.qty-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.option-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    color: #000;
    font-size: 14px;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.size-btn {
    min-width: 45px;
}

.qty-btn {
    flex: 1;
    max-width: 120px;
}

.option-btn:hover {
    border-color: #000;
}

.option-btn.active {
    border: 2px solid #000;
    font-weight: 800;
    padding: 9px 14px;
}

.sizing-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #000;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 25px;
}

.sizing-link:hover {
    text-decoration: underline;
}

.ruler-icon {
    width: 24px;
    height: auto;
}

.trust-badges {
    width: 100%;
    display: flex;
    justify-content: center;
}

.badges-img {
    max-width: 100%;
    height: auto;
}

.order-btn-order {
    width: 100%;
    background-color: #E88597;
    color: black;
    font-size: 18px;
    font-weight: 800;
    padding: 18px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    text-align: center;
}

.order-btn-order:hover {
    background-color: #d67486;
}

@media (max-width: 900px) {
    .order-section {
        width: 100%;
        padding: 40px 15px 0;
        background-color: #fff;
        display: flex;
        justify-content: center;
    }


    .order-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .order-gallery, .order-details {
        width: 100%;
    }

    .qty-btn {
        max-width: none;
    }

    .gallery-arrow {
        width: 36px;
        height: 36px;
    }

    .gallery-arrow svg {
        width: 20px;
        height: 20px;
    }

    .order-title {
        font-size: 20px;
    }
}