.main-product-section {
    padding: 60px 0;
}

.main-product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.product-content-wrapper {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.product-gallery-column {
    flex: 1;
    min-width: 300px;
}

.product-info-column {
    flex: 1;
    min-width: 300px;
    padding: 0 20px;
}

.main-product-image {
    margin-bottom: 20px;
}

.image-fotorama-wrapper {
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.image-fotorama-wrapper img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 60px;
    height: 60px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    border-color: #000;
    opacity: 1;
}

.thumbnail-item:hover {
    opacity: 1;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.best-seller-badge {
    display: inline-block;
    background: #4E1C50;
    color: #fefefe;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-title {
    font-size: 2.2rem;
    margin: 0 0 8px 0;
    color: #323232;
    line-height: 1.3;
    word-wrap: break-word;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 20px;
    height: 20px;
}

.rating-text {
    color: #323232;
    font-size: 14px;
    white-space: nowrap;
}

.product-description {
    margin-bottom: 25px;
    color: #323232;
    line-height: 1.6;
}

.price-options-section {
    margin-bottom: 15px;
}

.save-package-toggle-btn {
    display: block;
    width: 100%;
    background: #323232;
    color: #fefefe;
    padding: 18px 20px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    position: relative;

}

.save-package-toggle-btn:hover {
    background: #454545;
}

.save-package-toggle-btn.active {
    margin-bottom: 0px;

}

.multi-price-options {
    animation: fadeIn 0.3s ease;
    border: 2px solid #e0e0e0;
    border-top: none;
    margin-bottom: 10px;
    margin-top: -5px;
    overflow: hidden;
    border-radius: 0px 0px 8px 8px;
}

.multi-price-option {
    margin-bottom: 0px !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.price-option {
    display: flex;
    gap: 15px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
}

.single-price-option {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
}

.price-option.selected {
    background-color: #E4E6E3;
}

.price-option-image {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.price-option-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.default-image {
    font-size: 22px;
    font-weight: bold;
    color: #768071;
}

.price-option-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.price-header {
    min-width: 0;
    flex-shrink: 1;
}

.price-header h3 {
    margin: 0;
    font-size: 16px;
    color: #323232;
    word-wrap: break-word;
}

.price-header p {
    margin: 0;
    color: #323232;
    font-size: 13px;
    word-wrap: break-word;
}

.price-details {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
    width: 55%;
    justify-content: space-between;
}

.current-price {
    font-size: 20px;
    font-weight: bold;
    color: #768071;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.original-price {
    font-size: 15px;
    text-decoration: line-through;
    color: #768071 !important;
    white-space: nowrap;
}

.savings {
    background: #9C7B98;
    color: white;
    padding: 3px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
}

.add-to-cart-wrapper {
    margin-bottom: 20px;
}

.add-to-cart-btn {
    display: block;
    width: 100%;
    background: #768071 !important;
    color: #fff;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
    border: none;
    font-size: 16px;
    font-weight: bold;
}

.add-to-cart-btn:hover {
    background: #8a9485 !important;
}

.single_add_to_cart_button {
    padding: 18px 20px !important;
    border-radius: 8px !important;
}

.add-to-cart-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.payment-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0px;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 24px;
    width: auto;
    max-width: 60px;
}

.product-attributes {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.attribute-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.attribute-row:last-child {
    margin-bottom: 0;
}

.attribute-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 auto;
}

.attribute-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.attribute-item span {
    color: #323232;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.fotorama__thumb-border {
    border-color: #9C7B98 !important;

}

.product-facts-header {
    font-size: 1rem;
    margin: 0 0 8px 0;
    color: #323232;
    line-height: 1.3;
    word-wrap: break-word;
}

/* Mobile Optimizations */
@media (max-width: 768px) {

    .main-product-section {
        padding: 0;
        padding-bottom: 50px;
    }

    .product-info-column {
        padding: 0 15px;
    }

    .product-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .product-gallery-column,
    .product-info-column {
        min-width: 100%;
    }

    .best-seller-badge {
        font-size: 13px;
        padding: 5px 12px;
    }

    .product-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .product-rating {
        gap: 8px;
    }

    .star {
        width: 18px;
        height: 18px;
    }

    .rating-text {
        font-size: 13px;
    }

    .product-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .image-fotorama-wrapper {
        height: 300px;
        padding: 15px;
    }

    .save-package-toggle-btn {
        padding: 16px 15px;
        font-size: 14px;
    }

    .price-option {
        gap: 12px;
        padding: 12px;
        flex-wrap: wrap;
    }

    .price-option-image {
        width: 50px;
        height: 50px;
    }

    .default-image {
        font-size: 20px;
    }

    .price-option-content {
        flex: 1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        min-width: 0;
    }

    .price-header {
        flex: 1;
        min-width: 0;
    }

    .price-header h3 {
        font-size: 15px;
        margin-bottom: 3px;
    }

    .price-header p {
        font-size: 12px;
    }

    .price-details {
        flex-shrink: 0;
    }

    .current-price {
        font-size: 18px;
        gap: 6px;
        align-items: flex-end;
    }

    .original-price {
        font-size: 13px;
    }

    .savings {
        font-size: 12px;
        padding: 2px 6px;
    }

    .add-to-cart-wrapper {
        margin-bottom: 15px;
    }

    .single_add_to_cart_button {
        padding: 16px 15px !important;
        font-size: 15px;
    }

    .payment-methods {
        gap: 10px;
        padding: 15px 0;
    }

    .payment-methods img {
        height: 20px;
        max-width: 50px;
    }

    .product-attributes {
        margin-top: 20px;
        padding-top: 20px;
    }

    .attribute-row {
        gap: 20px;
        margin-bottom: 15px;
    }

    .attribute-item {
        gap: 8px;
        flex: 0 1 auto;
        min-width: 0;
    }

    .attribute-item img {
        width: 22px;
        height: 22px;
    }

    .attribute-item span {
        font-size: 13px;
        word-break: break-word;
    }

    .product-facts-header {
        font-size: 0.875rem;
    }

}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .product-title {
        font-size: 1.2rem;
    }

    .image-fotorama-wrapper {
        height: 250px;
    }

    .price-option {
        padding: 10px;
    }

    .price-option-image {
        width: 45px;
        height: 45px;
    }

    .price-header h3 {
        font-size: 14px;
    }

    .price-header p {
        font-size: 11px;
    }

    .current-price {
        font-size: 16px;
    }

    .original-price {
        font-size: 12px;
    }

    .savings {
        font-size: 11px;
        padding: 2px 5px;
    }

    .attribute-row {
        gap: 12px;
    }

    .attribute-item span {
        font-size: 12px;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .product-content-wrapper {
        flex-direction: row;
    }

    .product-gallery-column,
    .product-info-column {
        min-width: 45%;
    }

    .image-fotorama-wrapper {
        height: 350px;
    }
}