.map-modal {
border-radius: 20px;
overflow: hidden;
}

.map-modal-dialog {
width: 619px !important;
max-width: 619px;
}

.map-wrapper {
position: relative;
width: 100%;
/* height:520px; */
}


.delivery-code-card {
position: absolute;
top: 20px;
left: 20px;
background: #fff;
width: 138px;
border-radius: 10px;
text-align: center;
padding: 15px;
box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.delivery-code-card p {
margin: 0;
font-size: 16px;
font-weight: 700;
color: #000000;
}

.delivery-code-card h1 {
margin-top: 8px;
margin-bottom: 0;
font-size: clamp(24px, 8vw, 40px);
font-weight: 700;
}

.arrival-mapcard {
position: absolute;
bottom: 30px;
left: 12px;
background: #fff;
border-radius: 10px;
text-align: center;
padding: 15px;
box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
width: 595px
}

.arrival-mapcard h4 {
font-size: 20px;
margin-bottom: 10px;
color: #000000;
}

.arrival-mapcard h5 {
font-size: 20px;
margin-bottom: 10px;
color: #000000;
}

.modal-content.map-modal {
padding: 0
}

.modal-content.map-modal .modal-title {
font-size: clamp(14px, 2vw, 20px);

font-weight: 500 !important
}

#appointmentModal .form-label {
font-size: 16px;
font-weight: 500;
text-align: start;

color: #000000;
}

#appointmentModal {
text-align: start
}

.flatpickr-current-month {
font-size: 130% !important;
margin-bottom: 6px
}

.flatpickr-calendar {
width: 380px !important;
font-size: 18px !important;
}

.flatpickr-weekday {
font-size: 18px !important;
line-height: 30px !important;
}

.flatpickr-day {
width: 50px !important;
height: 50px !important;
line-height: 50px !important;
font-size: 15px !important;
max-width: 50px !important;
}

.dayContainer {
width: 100% !important;
min-width: 100% !important;
max-width: 100% !important;
}

.flatpickr-days {
width: 100% !important;
}

.flatpickr-rContainer {
width: 100% !important;
}

.flatpickr-month {
height: 50px !important;
}

.flatpickr-current-month {
font-size: 18px !important;
padding-top: 8px !important;
}

.flatpickr-monthDropdown-months {
font-size: 16px !important;
}

.numInput.cur-year {
font-size: 16px !important;
}

.auc-product-info ul {
list-style: none;
padding: 0;
}

.auc-product-info ul li {
display: inline;
}

.auc-product-info ul li:not(:last-child)::after {
content: ", ";
}

.auc-product-info ul li p {
display: inline;
margin: 0;
}

:root {
--main-purple: #4C2A71;
--light-purple: #E8E0F3;
--font-size-base: clamp(13px, 1.5vw, 18px);
--font-size-title: clamp(16px, 2vw, 22px);
--font-size-small: clamp(11px, 1.2vw, 14px);
}

.modal-body {
padding-top: 0 !important
}

/* .modal-content input {
width: auto;
padding: clamp(3px, 1.6vw, 8px);
margin-bottom: 6px;
border: 1px solid #A6A6A6;
border-radius: 50%;
font-size: clamp(16px, 2vw, 20px);
font-weight: 400;
} */


.time-remaining {
font-weight: 600;
color: #333;
font-size: var(--font-size-title);
}

.countdown {
font-size: var(--font-size-base);
font-weight: 600;
margin-bottom: 10px;
}

.hourglass {
font-size: clamp(40px, 6vw, 70px);
color: var(--main-purple);
margin: 10px 0;
}

.auction-list {
border: 1px solid #ccc;
border-radius: 10px;
padding: 10px;
background-color: #f8f8f8;
text-align: left;
max-height: 140px;
overflow-y: auto;
font-size: var(--font-size-small);
}

.auction-list div {
display: flex;
justify-content: space-between;
align-items: center;
padding: 5px 0;
}

.auction-btn {
background-color: var(--main-purple);
color: white;
border: none;
width: 100%;
border-radius: 10px;
padding: 10px 20px;
font-size: clamp(14px, 2vw, 20px);
font-weight: 500;
height: clamp(42px, 5vw, 55px);

margin-top: 10px;
}

.bidp-save-btn {
background-color: var(--main-purple);
color: white;
border: none;
width: auto;
min-width: 150px;
border-radius: 8px;
padding: 8px 18px;
font-size: 14px;
font-weight: 500;
height: 40px;
margin:5px 0 15px 0;
cursor: pointer;
transition: opacity 0.2s ease, transform 0.2s ease;
}

.bidp-save-btn:hover:not(:disabled) {
opacity: 0.9;
transform: translateY(-1px);
}

.bidp-save-btn:disabled {
opacity: 0.6;
cursor: wait;
}

.buy-btn {
border: 1px solid var(--main-purple);
background: transparent;
color: var(--main-purple);
width: 100%;
border-radius: 10px;
padding: 10px 20px;
font-size: clamp(14px, 2vw, 20px);

font-weight: 500;
height: clamp(42px, 5vw, 50px);
margin-top: 10px;
}

.contact-seller {
border: 1px solid var(--main-purple);
background: #D9D9D9;
color: black;
width: 100%;
border-radius: 10px;
padding: 10px 20px;
font-size: clamp(14px, 2vw, 20px);

font-weight: 500;
height: clamp(42px, 5vw, 50px);
margin-top: 10px;
}

.info-section {
background: white;
border-radius: 15px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
padding: 20px;
margin-bottom: 25px;
font-size: var(--font-size-base);
}

.info-section ul {
list-style-type: none;
padding: 0;
}

.info-section ul li {
margin-bottom: 6px;
}



.pdf-btn {
background-color: var(--main-purple);
color: white;
border: none;
border-radius: 8px;
padding: clamp(8px, 1.5vw, 12px);
width: 100%;
font-size: var(--font-size-small);
margin-top: 10px;
}

.featured-auction .auction-bid-title {
margin: 0 !important;
}

.featured-auction .auction-details {
margin-bottom: 15px;
}

@media (max-width: 576px) {

.auction-card,
.info-section {
padding: 15px;
}

.map-modal-dialog {
width: 350px !important;
}

.arrival-mapcard {
position: absolute;
bottom: 30px;
left: 12px;
background: #fff;
border-radius: 10px;
text-align: center;
padding: 15px;
box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
width: 330px
}
}

.modal-header {
align-items: start
}

.product-page .main-img {
/* width: clamp(320px, 40vw, 500px); */
width: 100%;
max-width: 652px;
height: 600px;
border-radius: 20px !important;
}

.modal-content input[type="radio"] {
width: 15px;
height: 15px;
border: 2px solid #A6A6A6;
border-radius: 50%;
appearance: none;
/* مهم */
display: inline-block;
position: relative;
cursor: pointer;

}

.min-input-wrapper {
background: transparent;
color: black;
width: 100%;
font-size: clamp(14px, 2vw, 20px);

font-weight: 500;
margin-top: 10px;
transition: .3s;
}

.min-input-wrapper input {
height: 65px;
border-radius: 10px
}

.loader {
position: relative;
width: 158px;
height: 158px;
}

.loader-circle {
width: 100%;
height: 100%;
}

.loader-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

/* Swiper */
.thumbsSwiper {
width: 100%;
padding-bottom: 30px;
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 20px; 
}



/* Modal wrapper */
.custom-image-modal {
position: fixed;
inset: 0;
z-index: 99999;
display: none;
justify-content: center;
align-items: center;
}

/* show */
.custom-image-modal.show {
display: flex;
}

/* Overlay */
.modal-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, .88);
z-index: 1;
}

/* image container */
.modal-content-box {
position: relative;
z-index: 2;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 40px;
}

/* image */
.modal-content-box img {
max-width: 95vw;
max-height: 95vh;
width: auto;
height: auto;
object-fit: contain;
border-radius: 12px;
display: block;
}

/* close button */
.close-modal {
position: fixed;
top: 20px;
right: 25px;
width: 42px;
height: 42px;
border: none;
border-radius: 50%;
background: rgba(255, 255, 255, .95);
font-size: 28px;
cursor: pointer;
z-index: 999999;
line-height: 1;
box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}

.custom-image-modal {
position: fixed;
inset: 0;
z-index: 999999;
display: none;
justify-content: center;
align-items: center;
}

/* open */
.custom-image-modal.show {
display: flex;
}

/* overlay */
/* .modal-overlay {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.9);
z-index: 1;
} */

/* image */
#modalImage {
position: relative;
z-index: 2;
max-width: 95vw;
max-height: 95vh;
object-fit: contain;
border-radius: 12px;
}

[dir="ltr"] .close-modal {
position: fixed;
top: 20px;
left: 35px;
z-index: 3;

width: 42px;
height: 42px;
border: none;
border-radius: 50%;
background: white;
font-size: 28px;
cursor: pointer;
}

/* close */
[dir="rtl"] .close-modal {
position: fixed;
top: 20px;
right: 35px;
z-index: 3;

width: 42px;
height: 42px;
border: none;
border-radius: 50%;
background: white;
font-size: 28px;
cursor: pointer;
}

.swiper-button-next,
.swiper-button-prev {
width: 35px;
height: 35px;
/* background: #fff; */
/* border-radius: 50%;
box-shadow: 0 2px 10px rgba(0,0,0,.15); */
color: black
}

.swiper-button-next::after,
.swiper-button-prev::after {
font-size: 14px;
color: black;
font-weight: bold;
}

.thumbsSwiper {
overflow: hidden;
}

[dir=ltr] .thumbsSwiper .swiper-button-next {
right: -10px;
}
[dir=rtl] .thumbsSwiper .swiper-button-next {
left: -10px;
}
.thumbsSwiper .swiper-button-prev {
left: -10px;
}

.custom-image-modal {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
inset: 0;
z-index: 999999;
display: none;
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, .9);
}

.custom-image-modal.show {

display: flex !important;
}

/* .modal-overlay {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.9);
z-index: 1;
} */
#modalImage {
z-index: 2;
}

[dir="ltr"] .location-left-icon {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
color: #777;
font-size: 14px;
z-index: 2;
}

[dir="ltr"] .location-right-icon {
position: absolute;
right: 12px;
top: 50%;
transform: translateY(-50%);
color: #777;
font-size: 14px;
cursor: pointer;
z-index: 2;
}

[dir="rtl"] .location-left-icon {
position: absolute;
right: 12px;
top: 50%;
transform: translateY(-50%);
color: #777;
font-size: 14px;
z-index: 2;
}

[dir="rtl"] .location-right-icon {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
color: #777;
font-size: 14px;
cursor: pointer;
z-index: 2;
}

.custom-location-input {
position: relative;
z-index: 1;
}

#appointmentModal input.custom-location-input {
height: 48px;
padding-left: 38px;
padding-right: 38px;
border-radius: 10px;
font-size: 14px;
}
#appointmentModal input{
font-size: 16px !important;

}
.position-relative-custom {
position: relative;
}
.auc-product-info ol,
.auc-product-info ul {
    padding-inline-start: 20px;
    margin-block: 10px;
    list-style-position: outside;
}