


.stand-img {
    position: absolute;
    top: 17%;
    left: 10%;
    width: 47%;
    height: auto;
    z-index: 0;
}

.stand-text {
text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
}

.stand-text h1 {
    font-family: 'Gilroy';
    font-weight: bold;
    font-size: 5.5rem;
    color: #eb660e;
    margin-bottom: -3.5rem;
    left: 27rem;
}
.stand-text p {
    font-family: 'DB Adman X';
    font-weight: normal;
    font-size: 2rem;
    color: #585858;
    left: 40.5rem;
    top: 1.5rem;
}

.stand-text h1,
.stand-text p {
    position: relative;
    z-index: 1; /* 🔺 ทำให้ข้อความอยู่ด้านหน้า */
}



/* รายการ spec */
.spec-list li {
position: relative;
    list-style: none !important;
    font-family: 'Gilroy';
    font-weight: normal;
    font-size: 2.5rem;
    margin: 1.5rem 0;
    height: 5rem;
    width: 37rem;
    left: 31.3rem;
    overflow: visible;
    top: 3rem;
}

.spec-list .label,
.spec-list .value {
  position: absolute;
  top: 0;
  right: 0;
  white-space: nowrap;
  transition: all 0.4s ease;
}

/* ✅ ปกติข้อความหลักแสดง */
.spec-list .label {
  color: #585858;
  z-index: 2;
  opacity: 1;
  transform: translateX(0);
}

/* ✅ ข้อความซ่อนยังไม่แสดง */
.spec-list .value {
color: #eb660e;
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
    white-space: normal;
    line-height: 1.1;
    text-align: right;
}

/* ✅ เมื่อ hover: label หาย + ขยับซ้าย */
.spec-list li:hover .label {
  opacity: 0;
  transform: translateX(-150%);
}

/* ✅ เมื่อ hover: value เข้ามา */
.spec-list li:hover .value {
  opacity: 1;
  transform: translateX(0);
}

/* เอฟเฟกต์ fade-up */
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(10rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(10rem);
}

.fade-up.animate {
  animation: slideUpFade 1s ease forwards;
}


@media (max-width: 768px) {
  
.stand-text {
    text-align: right;

}

.stand-text h1 {
    font-size: 3.5rem;
    margin-bottom: 19.5rem;
    left: -1.3rem;
}

.stand-img {
        top: 71%;
        left: 11%;
        width: 79%;
}

    .spec-list li {
        font-size: 1.5rem;
        margin: 0.7rem;
        height: 2.5rem;
        width: 36rem;
        left: -8rem;
        top: -23rem;
        font-weight: normal;
    }


}

@media (min-width: 769px) and (max-width: 991px) {
  
.stand-text {
    text-align: right;

}

.stand-text h1 {
font-size: 3.5rem;
margin-bottom: 19.5rem;
left: 6.7rem;
}

.stand-text p {
    font-size: 2rem;
    left: 6.5rem;
    top: -19.5rem;
}

.stand-img {
        top: 9%;
        left: -4%;
        width: 36%;
}

    .spec-list li {
        font-size: 2rem;
        margin: 2.5rem;
        height: 2.5rem;
        width: 51rem;
        left: -4.7rem;
        top: -23rem;

    }  

}


@media (min-width: 992px) and (max-width: 1199px) {
  
.stand-text {
    text-align: right;

}

.stand-text h1 {
font-size: 3.5rem;
        margin-bottom: 19.5rem;
        left: 3.7rem;
}

.stand-img {
        top: 9%;
        left: -4%;
        width: 36%;
}

    .spec-list li {
          font-size: 2rem;
        margin: 2.5rem;
        height: 5rem;
        width: 51rem;
        left: -8rem;
        top: -23rem;
        font-weight: normal;
    }  

}

@media (min-width: 1200px) and (max-width: 1599px) {
  
.stand-text {
    text-align: right;
padding-right: 2rem;
}

.stand-text h1 {
        font-size: 4rem;
        margin-bottom: 18.5rem;
        left: 15.7rem;
}

.stand-text p {
        font-size: 2rem;
        left: 15.5rem;
        top: -18.5rem;
}

.stand-img {
        top: 14%;
        left: 8%;
        width: 45%;
}

    .spec-list li {
        font-size: 2rem;
        margin: 1.5rem;
        height: 4rem;
        width: 91rem;
        left: -13.5rem;
        top: -20rem;
        font-weight: normal;
    }  

}