/* Price Modal Styles */
.price-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 0px;
    width: 90%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    color: #666;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #000;
}

.modal-body {
    display: flex;
    border-radius: 0;
    min-height: 400px;
}

.product-slider-section {
    flex: 1;
    background: linear-gradient(135deg, #D91E3B 0%, #d91e3a7e 100%);
    border-radius: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 0;
    margin: 0;
    position: absolute;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.slider-arrow.next-arrow {
    right: -55px;
}

.slider-arrow.prev-arrow {
    left: -55px;
}

.product-display {
    flex: 1;
    text-align: center;
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-image {
    margin-bottom: 20px;
}

.product-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.product-details h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.product-details .product-price {
    color: #ffd700;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-details .sold-by {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    margin: 0;
}

.contact-form-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-section h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.phone-input {
    display: flex;
    border: 2px solid #e1e5e9;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.phone-input:focus-within {
    border-color: #667eea;
}

.country-code {
    background: #f8f9fa;
    padding: 12px 15px;
    border-right: 1px solid #e1e5e9;
    color: #666;
    font-weight: 500;
}

.phone-input input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 16px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #D91E3B 0%, #d91e3a7e 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 0px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .slider-arrow.prev-arrow {
        left: -30px;
    }

    .slider-arrow.next-arrow {
        right: -30px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .slider-arrow.prev-arrow {
        left: -10px;
    }

    .slider-arrow.next-arrow {
        right: -10px;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-body {
        flex-direction: column;
        min-height: auto;
    }

    .product-slider-section {
        padding: 20px;
    }

    .contact-form-section {
        padding: 10px 20px;
    }

    .slider-container {
        max-width: 300px;
    }

    .product-image img {
        width: 100px;
        height: 100px;
    }

    .product-details h3 {
        font-size: 16px;
    }
}

/* Get Latest Price Button Styles */
.get-price-btn {
    background: linear-gradient(135deg, #D91E3B 0%, #d91e3a7e 100%);
    color: white !important;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    margin-left: 15px;
}

.get-price-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    color: white !important;
}

/* Product Action Buttons */
.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 0px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 160px;
}

.btn-primary ,
.btn-primary:active,
.btn-primary:active:focus{
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white !important;
    border: none;
    outline: none;
}


.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    text-decoration: none;
    color: white !important;
}

.btn-outline-secondary {
    background: transparent;
    color: #D91E3B !important;
    border: 2px solid #D91E3B;
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, #D91E3B 0%, #d91e3a7e 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    text-decoration: none;
}

@media (max-width: 768px) {
    .product-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        min-width: auto;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-image-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.close-image-modal:hover {
    color: #ccc;
}

.image-modal-body {
    /* position: relative; */
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-body img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.image-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.image-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 30px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto;
    margin: 0 20px;
}

.image-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.image-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.image-nav-btn:disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.2);
}

/* Make main images clickable */
.main-image img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.02);
}

/* Responsive design for image modal */
@media (max-width: 768px) {
    .close-image-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .image-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin: 0 10px;
    }

    .image-modal-body {
        max-width: 95%;
        max-height: 85%;
    }
}

/* Imag
e Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-image-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.close-image-modal:hover {
    color: #ccc;
}

.image-controls {
    position: absolute;
    top: 20px;
    left: 30px;
    display: flex;
    gap: 10px;
    z-index: 10001;
}

.zoom-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 16px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.zoom-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.image-modal-body {
    position: relative;
    width: 90vw;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    cursor: grab;
}

.image-container:active {
    cursor: grabbing;
}

.image-container.zoomed {
    overflow: auto;
}

.image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    transform-origin: center center;
    user-select: none;
    -webkit-user-drag: none;
}

.image-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.image-nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 30px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto;
    margin: 0 20px;
}

.image-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.image-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.image-nav-btn:disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.2);
}

/* Make main images clickable */
.main-image img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.main-image img:hover {
    transform: scale(1.02);
}

/* Responsive design for image modal */
@media (max-width: 768px) {
    .close-image-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .image-controls {
        top: 10px;
        left: 15px;
        gap: 8px;
    }

    .zoom-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .image-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin: 0 10px;
    }

    .image-modal-body {
        width: 95vw;
        height: 85vh;
    }
}