.headTitleFlex {
    border-top: 2px solid #386fd7;
}
.priceModal {
    position: fixed;
    top: 49.9%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(0 0 0 / 58%);
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.modalContent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
.showPriceBtn {
    padding: 5px;
    font-size: 13px;
    color: #5151f3;
    margin: 10px;
    cursor: pointer;
    background-color: #5a5add12;
    border-radius: 3px;
}
.showPriceBtn:hover {
    background-color: rgba(64, 64, 199, 0.35) !important;
}
.closeModal {
    background-color: rgba(128, 128, 128, 0.2);
    border-radius: 5px;
    padding: 8px 18px;
    cursor: pointer;
}
.closeModal:hover {
    background-color: rgba(94, 94, 94, 0.2);
}
.modalTitle {
    dsiplay: flex !important;
    align-items: center !important;
    background: #020024;
    /* background: linear-gradient(90deg, rgb(20 24 49) 0%, rgb(9 9 121 / 80%) 42%, rgba(255, 255, 255, 1) 100%); */
    background: linear-gradient(90deg, rgb(20 24 49) 0%, rgb(123 33 97 / 80%) 42%, rgba(255, 255, 255, 1) 100%);
}
.stockSales {
    font-size: 13px;
    background-color: #3772d726;
    padding: 8px 18px;
    border-radius: 5px;
}
.stockSales:hover {
    background-color: rgba(31, 78, 160, 0.32);
}
.modalHeadTitleHover:hover {
    color: gray;
}
.modalHeadTitleHover {
    padding-left: 40px !important;
    width: 70%;
    padding: 18px;
    display: block;
}
.btnCopy {
    border: none;
    outline: none;
    padding: 7px 10px;
    border-radius: 5px;
    background-color: #f0f0f0;
}
.btnModalClosed:hover {
    color:red;
}

.dropdowns {
    position: relative;
    display: inline-block;
}

.dropdown-contents {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    top: 30px;
    left: -100px;
    bottom: -100px;
    min-width: 1200px;
    min-height: 800px;
    /* box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); */
    z-index: 10;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 1s ease, transform 0.5s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        /* เริ่มต้นที่เลื่อนขึ้น */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* สิ้นสุดที่ตำแหน่งปกติ */
    }
}



.dropdowns:hover .dropdown-contents {
    display: block;
    animation: fadeInDown 0.5s ease forwards;
    opacity: 1;
    transform: translateY(0);
}

/* ปรับขนาดตามหน้าจอ */
@media (max-width: 720px) {
    .dropdown-contents {
        left: -300px;
    }
}

.truncates {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 450px;

}

.stickys {
    position: sticky;
}

.mySlides {
    display: none
}

.lr {
    position: relative;
    /* ทำให้สามารถใช้ left ได้ */
    left: 0;
    transition: left 0.3s;
    /* เพิ่มการเปลี่ยนแปลงนุ่มนวล */
}

.lr:hover {
    left: 10px;
}

.square-image {
    width: auto;
    /* ขนาดความกว้างที่ต้องการ */
    height: 150px;
    /* ขนาดความสูงที่ต้องการให้เท่ากันเพื่อให้เป็นจัตุรัส */
    overflow: hidden;
    /* ซ่อนส่วนที่เกินออกมานอกกรอบ */
}

.square-image img {
    width: 100%;
    /* ทำให้รูปขยายเต็ม */
    height: 100%;
    object-fit: cover;
    /* ทำให้รูปครอบเต็มพื้นที่และครอบเฉพาะส่วนที่เกิน */
}

.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    /* ขนาดตามรูปภาพ */
}

.image-container img {
    width: 100%;
    height: auto;
}

.text-overlay {
    position: absolute;
    bottom: 0;
    /* ระยะห่างจากล่างของรูป */
    left: 50%;
    transform: translateX(-50%);
    color: rgb(255, 255, 255);
    font-size: 18px;
    /* ปรับขนาดฟอนต์ตามต้องการ */
    background-color: rgba(95, 144, 250, 0.61);
    /* พื้นหลังโปร่งแสง */
    padding: 2px;
    border-radius: 2px;

}

.text-overlays {
    position: absolute;
    bottom: 0;
    left: 30px;
    transform: translateX(-50%);
    padding: 2px;
    border-radius: 2px;


}

.dot {
    border: none;
    border-top: 1px dotted #000;
    /* เส้นจุด */
    margin: 20px 0;
    /* ระยะห่างด้านบนและล่าง */
}

.vr::before {
    content: '';
    display: block;
    width: 1px;
    height: 30px;
    background-color: rgba(180, 178, 178, 0.603);
    /* สีของเส้น */
    margin: 0 10px;
}

.toggle-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #3498db;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.toggle-btn.active {
    background-color: #e74c3c;
    transform: rotate(135deg);
}

.toggle-btn:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3498db;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    text-decoration: none;
    position: absolute;
    bottom: 80px;
    opacity: 0;
    transform: scale(0) translateY(0);
    transition: all 0.4s ease-out, transform 0.3s ease-in-out;
}

.circle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: white;
}

.circle.circle-1 {
    bottom: 10px;
    /* background-color: #2ecc71; */
}

.circle.circle-2 {
    bottom: 10px;
    /* background-color: #9b59b6; */
}

.circle.active {
    opacity: 1;
    transform: scale(1) translateY(-100px);
}

.circle.circle-2.active {
    transform: scale(1) translateY(-160px);
}

.hidden {
    display: none;
}

.fs-13 {
    font-size: 6px;
}

.badgess {
    display: inline-block;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: red;
    border-radius: 12px;
    top: -5px;
}

.line {
    position: relative;
    /* text-decoration: line-through; */
    display: inline-block;

}

.line::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 40%;
    height: 1.5px;
    background-color: red;
}