/*  D E S K T O P - INFO */
/* #region */
@import url("/css/general.css");

body {
  font-family: "Kanit", sans-serif;
}

body::-webkit-scrollbar {
  display: none;
}

body {
  -ms-overflow-style: none;  
  scrollbar-width: none;  
}

.mobile-show {
  display: none;
}

.desktop-show {
  display: block;
  margin: 0;
  padding: 0;
}


/* --- HEADER/HERO SECTION STYLES --- */
/* #region */

.dt-header-section {
  height: 100vh;
  /* min-height: 100vh; */
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
}

.dt-header-container {
  background-color: #1a202c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  width: 100%;
  filter: brightness(0.8);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  
  transition: background-image 0.5s ease-in-out, opacity 0.5s ease-in;
  opacity: 0; 
}

.dt-header-container.is-loaded {
  background-image: url('/assets/image/banners/older-happy-life-bg.webp');
  opacity: 1;
}

.dt-header-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 2;
}

.dt-header-textbox {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  padding: 2rem;
  backdrop-filter: blur(3px);
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dt-header-textbox h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text-warm-bright);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.dt-header-textbox h3 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--color-text-light-green);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.dt-header-textbox {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  background-color: var(--color-btn-eco-action);
  color: var(--color-bg-primary);
  border-radius: 50px;
  text-transform: uppercase;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.dt-header-textbox .cta-button:hover {
  transform: translateY(-3px);
  background-color: var(--color-btn-orange-bright);
}

.dt-headt-details {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.pflogo-section {
  width: 100%;
  height: auto;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pfcon {
  /* width: 100%;
  height: auto; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0rem;
}

.pflogo img {
  max-width: 200px;
}

.pfcontent h3 {
  text-align: center;
  font-size: 25px;
}

.eco-feature-btn {
  padding: 12px 18px;
  margin: 5px 0;
  letter-spacing: 0.5px;
}

.eco-feature-btn h3 {
  font-weight: 600;
  font-size: 3rem;
  letter-spacing: 0.5px;
}

.eco-feature-btn p {
  font-family: "Kanit", sans-serif;
  font-size: 1.5rem;
  color: white;
}

.feature-btn .highlight {
  color: #ff8902;
}

.our-service {
  font-family: "Kanit", sans-serif;
  background-color: transparent;
  border: 1px solid white;
  color: #ff8902;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 25px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.our-service:hover {
  background-color: white;
  color: black;
}

.our-service {
  position: relative;
}

/* #endregion */


/* Premodels section */
/* #region */

.dt-premodel-section {
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-color: var(--color-bg-primary);

  transition: background-color 1s ease-in-out;
}

.dt-premodel-section.night-theme {
  background-color: var(--color-bg-readable);
}

/* .dt-premodel-section.night-theme h1,
.dt-premodel-section.night-theme p {
    color: var(--color-house-text-night);
} */

.dt-premodel-section.night-theme .model-link,
.dt-premodel-section.night-theme .slider-btn {
  /* color: var(--color-house-text-night); */
}

.dt-premodel-section.night-theme .slider-btn {
  /* background: rgba(0, 0, 0, 0.4); */
}

.dt-premodel-section.night-theme .slider-btn:hover {
  /* background: rgba(0, 0, 0, 0.6); */
}

.dt-premodel-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
  background: transparent;

  box-shadow:
    0 0 0 1px #fff,
    100vw 100vh 0 1px #fff,
    20vw 80vh 0 1px #fff,
    45vw 25vh 0 1px #fff,
    70vw 90vh 0 1px #fff,
    10vw 10vh 0 1px #fff,
    30vw 50vh 0 1px #fff,
    1vw 95vh 0 1px #fff,
    99vw 5vh 0 1px #fff,

    0 0 0 2px #fff,
    50vw 50vh 0 2px #fff,
    80vw 20vh 0 2px #fff,
    35vw 75vh 0 2px #fff;
}

.dt-premodel-section.night-theme:before {
  opacity: 1;
}

.dt-premodel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.dt-premodel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: filter 1s ease-in-out;

  filter: brightness(75%) contrast(80%);
}

.dt-premodel-section.night-theme .dt-premodel-bg img {
  filter:
    brightness(50%) saturate(85%) hue-rotate(3deg);
}

.dt-time-sky-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.dt-time-sun,
.dt-time-moon {
  position: absolute;
  width: 200px;
  height: 200px;
  transition: transform 1s ease-in-out;
}

.dt-time-sun img,
.dt-time-moon img {
  width: 100%;
  height: 100%;
}

.dt-time-sun {
  top: 5%;
  left: 10%;
  transform: translateY(0);
}

.dt-time-moon {
  top: 5%;
  right: 10%;
  transform: translateY(100vh);
}

.dt-premodel-section.night-theme .dt-time-sun {
  transform: translateY(100vh);
}

.dt-premodel-section.night-theme .dt-time-moon {
  transform: translateY(0);
}

@keyframes twinkle {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.8);
    opacity: 0.5;
  }
}



/* Show Models */
.dt-premodel-box {
    width: 90%;
    max-width: 1600px;
    height: 75vh; 
    z-index: 3;
    position: relative;
    margin: 0 auto;
}

.dt-premodel-area {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    justify-content: space-between;
}

.dt-premodel-item.details-fixed-box {
    padding: 3rem;
    width: 38%;
    min-height: 320px;
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    text-align: left;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.details-fixed-box h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(to right, #ffffff, #ff9456);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.details-fixed-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.details-fixed-box a.model-link {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #ff9456; 
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

.details-fixed-box a.model-link:hover {
    color: #ffffff;
    transform: translateX(8px);
}

.dt-premodel-item.slider-container-box {
    width: 60%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dt-premodel-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.dt-premodel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dt-premodel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.dt-premodel-image-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 20px;
}

.model-house-img {
    max-width: 95%;
    max-height: 85%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.active-slide .model-house-img:hover {
    transform: translateY(-15px) scale(1.02);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-btn:hover {
    background: var(--color-btn-orange-dark);
    border-color: var(--color-btn-orange-dark);
    box-shadow: 0 0 20px rgba(255, 148, 86, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: -30px; }
.next-btn { right: -30px; }



.model-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 148, 86, 0.15); 
    color: #ff9456;
    border: 1px solid rgba(255, 148, 86, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: -5px; 
    width: fit-content;
}

.model-link-container {
    margin-top: 1.5rem;
}

.model-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 12px 28px;
    background: var(--color-btn-orange-dark); 
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(255, 148, 86, 0.2);
}

.model-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 148, 86, 0.4);
    background: #ffffff;
    color: var(--color-btn-orange-dark) !important;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.model-link-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* กล่องรายละเอียดคงที่ */
.dt-premodel-item.details-fixed-box {
    padding: 3rem;
    width: 35%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    transition: opacity 0.4s ease;
}

/* รหัสรุ่นบ้าน (Badge) */
.model-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 148, 86, 0.15);
    color: #ff9456;
    border: 1px solid rgba(255, 148, 86, 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: fit-content;
}



/* ปุ่ม CTA แบบใหม่ */
.model-link-container { margin-top: 1.5rem; }

.model-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 12px 28px;
    background: #ff9456; 
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 148, 86, 0.2);
}

.model-link-btn:hover {
    transform: translateY(-3px);
    background: #ffffff;
    color: #ff9456 !important;
    box-shadow: 0 15px 30px rgba(255, 148, 86, 0.4);
}

.btn-icon { transition: transform 0.3s ease; }
.model-link-btn:hover .btn-icon { transform: translateX(5px); }

/* Slider & Images */
.model-house-img {
    max-width: 90%;
    /* filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5)); */
    transition: transform 0.6s ease;
}
.active-slide .model-house-img { transform: scale(1.05); }

.model-house-img {
  height: auto;
  z-index: 4;
  position: relative;
  opacity: 1;
  transform: translateX(0);
  transition: all 0.5s ease-out;

  filter: drop-shadow(12px 27px 16px #00000053);
}

.dt-premodel-section.night-theme .model-house-img {
  filter: drop-shadow(12px 27px 16px #ffe05753);
}


.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  /* background: rgba(255, 255, 255, 0.2); */
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 2rem;
  z-index: 10;
  border-radius: 250%;
  transition: background 0.3s;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.5);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

@media (max-width: 1200px) {
    .dt-premodel-section {
        height: 100vh;
        align-items: center; 
        padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) 0;
    }

    .dt-premodel-box {
        width: 100%;
        height: 90vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
    }

    .dt-premodel-area {
        flex-direction: column; 
        justify-content: flex-start;
        gap: 1rem;
    }

    /* กล่องรายละเอียด (ด้านบน) */
    .dt-premodel-item.details-fixed-box {
        width: 85%;
        padding: 1.5rem;
        min-height: auto;
        order: 1; /* ให้ข้อมูลอยู่ด้านบน */
        margin: 1rem auto 0;
        text-align: center;
        align-items: center;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.05);
        gap: 0.8rem;
    }

    .details-fixed-box h1 {
        font-size: 1.8rem; 
        letter-spacing: 0px;
    }

    .details-fixed-box p {
        font-size: 0.95rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dt-premodel-item.slider-container-box {
        width: 100%;
        height: 55vh; 
        order: 2;
        display: flex;
        align-items: center;
    }


}

@media (max-width: 480px) {
    .dt-premodel-section {
        height: 100vh;
        align-items: center; 
        padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom) 0;
    }

    .dt-premodel-box {
        width: 100%;
        height: 90vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0;
    }

    .dt-premodel-area {
        flex-direction: column; 
        justify-content: flex-start;
        gap: 1rem;
    }

    /* กล่องรายละเอียด (ด้านบน) */
    .dt-premodel-item.details-fixed-box {
        width: 85%;
        padding: 1.5rem;
        min-height: auto;
        order: 1; 
        margin: 1rem auto 0;
        text-align: center;
        align-items: center;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.05);
        gap: 0.8rem;
    }

    .details-fixed-box h1 {
        font-size: 1.8rem; 
        letter-spacing: 0px;
        background: linear-gradient(to right, #f44d00, #ffbe98);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;

    }

    .details-fixed-box p {
        color: #949494;
        font-size: 0.95rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    body.dark-theme .details-fixed-box p {color: white;}

    .dt-premodel-item.slider-container-box {
        width: 100%;
        height: 55vh; 
        order: 2;
        display: flex;
        align-items: center;
    }

    .dt-premodel-slider {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .dt-premodel-image-box {
        padding-bottom: 0;
        height: 100%;
        align-items: center; 
    }

    .model-house-img {
        max-width: 85%;
        max-height: 90%; 
        filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    }

    .model-badge {
        padding: 4px 12px;
        font-size: 0.65rem;
    }

    .model-link-container {
        margin-top: 0.5rem;
    }

    .model-link-btn {
        padding: 10px 22px;
        font-size: 0.9rem;
        border-radius: 10px;
    }

    .slider-btn {
        display: none !important;
    }

    .dt-time-sun, .dt-time-moon {
        width: 120px;
        height: 120px;
        top: 2%;
    }

}

@media (max-width: 380px) {
    .details-fixed-box h1 { font-size: 1.5rem; }
    .dt-premodel-item.slider-container-box { height: 45vh; }
}


/* #endregion */


/* Style eco smart home */
/* #region */

.dt-style-house {
  padding: 40px 80px;
  background-color: var(--color-bg-primary);
  transition: background-color 1s ease-in-out;

}

body.dark-theme .dt-style-house {
  background-color: var(--color-bg-readable);
}

.dt-style-house-area {
  /* width: 100%; */
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 15px;
}

.dt-style-house-area h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--color-text-heading-eco);
}

body.dark-theme .dt-style-house-area h2 {
  color: var(--color-btn-orange-earth);
}

.style-house-all-box {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 1rem;
  flex-wrap: nowrap;
}

.style-house-item {
  flex: 1 1 0%;
  min-width: 0;

  background-color: var(--color-bg-primary);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  transition: background-color 1s ease-in-out;

}

body.dark-theme .style-house-item {
  background-color: var(--color-bg-readable);
}

.style-house-item:not(:last-child) {
  /* border-right: 1px solid #eeeeee;  */
}

/* .style-house-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
} */

.style-house-image {
  line-height: 0;
}

.style-house-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.style-house-item:hover .style-house-image img {
  transform: scale(1.05);
}

.style-house-text {
  padding: 20px 10px;
}

.style-house-text p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-secondary-eco);
  letter-spacing: 1px;
}

body.dark-theme .style-house-text p {
  color: var(--color-text-cream-orange);
}

@media (max-width: 1024px) {
  .style-house-all-box {
    flex-wrap: wrap;
  }

  .style-house-item {
    flex: 1 1 calc(33.333% - 2px);
    border-right: none;
    border-bottom: 1px solid #eeeeee;
  }

  .style-house-item:nth-child(3n) {
    border-right: none;
  }

  .style-house-item:nth-child(3n-1),
  .style-house-item:nth-child(3n-2) {
    border-right: 1px solid #eeeeee;
  }
}

@media (max-width: 600px) {
  .style-house-item {
    flex: 1 1 calc(50% - 1px);
  }

  .style-house-item:nth-child(3n) {
    border-right: 1px solid #eeeeee;
  }

  .style-house-item:nth-child(even) {
    border-right: none;
  }

  .dt-style-house {
    padding: 40px 0;
  }
}

/* #endregion */


/* what eco smarthome */
/* #region */
.dt-whateco-section {
  position: relative;
  overflow: hidden;
  /* height: auto; */
  height: 80vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bg-primary);
  transition: background-color 1s ease-in-out;
}

body.dark-theme .dt-whateco-section {
  background-color: var(--color-bg-readable);
}

.dt-what-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.dt-whateco-area {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}

.dt-what-item {
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.dt-what-item-left {
  background-color: var(--color-bg-primary);
  opacity: 0.96;
  padding: 30px;
  box-sizing: border-box;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  position: relative;
  transform: translateX(0%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);

  transition: background-color 1s ease-in-out;
}

body.dark-theme .dt-what-item-left {
  background-color: var(--color-bg-readable);
  opacity: 0.9;
}

.dt-what-item-left.collapsed {
  transform: translateX(calc(-100% + 60px));
}

.dt-what-item-right {
  background-color: transparent;
}

.dt-what-content-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.dt-what-text-container {
  padding: 40px 60px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
}

.dt-what-t-c-group {
  /* text-align: center; */
  margin-bottom: 25px;
}

.dt-what-item-left h1 {
  font-size: 2.3em;
  color: var(--color-text-secondary);
  margin-bottom: 0.3em;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 1s ease-in-out;
}

body.dark-theme .dt-what-item-left h1 {
  color: var(--color-text-warm-bright);
}

.dt-what-item-left h1 span {
  color: var(--color-text-subhead-green);
  font-weight: 900;
}

body.dark-theme .dt-what-item-left h1 span {
  color: var(--color-btn-orange-earth);
}

.dt-what-item-left h3 {
  font-size: 1.2em;
  line-height: 1.8;
  color: var(--color-text-secondary);
  font-weight: 400;
  max-width: 580px;
  margin: 0 auto;
}

body.dark-theme .dt-what-item-left h3 {
  color: var(--color-text-warm-bright);
}

.cta-group {
  margin-top: 20px;
  display: flex;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  background-color: var(--color-text-subhead-green);
  color: white;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  border-radius: 50px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 10px rgba(0, 168, 107, 0.3);
}

body.dark-theme .cta-button {
  background-color: var(--color-btn-orange-earth);
  box-shadow: 0 4px 10px rgba(168, 81, 0, 0.3);
}

.cta-button:hover {
  text-decoration: none;
  background-color: var(--color-btn-eco-action);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 168, 107, 0.4);
}

body.dark-theme .cta-button:hover {
  background-color: var(--color-btn-orange-bright);
}

.cta-button i {
  margin-left: 10px;
  transition: transform 0.3s;
}

.cta-button:hover i {
  transform: translateX(5px);
}

.dt-what-slide-toggle-btn {
  position: absolute;
  top: 50%;
  right: -25px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  background-color: var(--color-text-subhead-green);
  color: white;
  font-size: 1.2em;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
  box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s, background-color 0.3s;
  z-index: 10;
}

body.dark-theme .dt-what-slide-toggle-btn {
  background-color: var(--color-btn-orange-earth);
}

.dt-what-item-left.collapsed .dt-what-slide-toggle-btn {
  transform: translateY(-50%) rotate(180deg);
}

/* 2. T A B L E T [IPAD] - INFO */
@media (min-width: 768px) and (max-width: 991.98px) {
  .dt-whateco-section {
    height: auto;
  }

  .dt-what-text-container {
    padding: 20px 30px 20px 20px;
  }

  .dt-what-item-left h1 {
    font-size: 1.4em;
  }

  .dt-what-item-left h3 {
    font-size: 1em;
  }

  .cta-button {
    font-size: 0.9em;
  }
}

/* #endregion */


/* Show Best house */
/* #region */

.dt-best-product-section {
  position: relative;
  overflow: hidden;
  height: auto;
  width: 100%;
  background-color: var(--color-bg-primary);
  transition: background-color 1s ease-in-out;
}
body.dark-theme .dt-best-product-section {
  background-color: var(--color-bg-readable);
  transition: background-color 1s ease-in-out;
}
.best-prod-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px;
  width: 100%;
}

/* set box area */
.best-p-header {
  padding: 25px;
  display: flex;
  flex-direction: row;
  align-items: center;     
}
.bp-container {
  padding: 25px;
  margin-top: 35px;
}

/* banner product show */
.bp-main-content {
  display: flex;
  flex-direction: row;
  align-items: center; 
  justify-items: center;
  justify-content: center;
  background-color: var(--color-card-box-nature);
  border-radius: 25px;
  width: 100vh;
  height: 32vh;
  opacity: 0.95;
}
body.dark-theme .bp-main-content {
  background: none;
}

.bp-main-text-area {
  display: flex;
  padding: 25px;
  flex-direction: column;
}
.bp-main-text-header {
  padding: 15px;
  width: auto;
  color: var(--color-text-cream-orange);
}
.bp-main-text-header h1{
  font-size: 2rem;
}
.bp-main-text-header span {
  font-size: 1.8rem;
  color: var(--color-btn-accent-yellow);		
}
.bp-main-text-header p {
  font-size: 1.2rem;
}
body.dark-theme .bp-main-text-header span{
  color: var(--color-btn-orange-dark);
}
.bp-main-img-header img {
  width: 400px;
}

/* Product Show Section */
.bp-models-title {
    text-align: center;
    margin-bottom: 40px;
}
.bp-models-title h1 {
    font-size: 2.5rem;
    color: var(--color-btn-eco-action);		
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
body.dark-theme .bp-models-title h1 {
  color: var(--color-btn-orange-dark);
}
.bp-models-title h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-btn-eco-action);		
    border-radius: 2px;
}
body.dark-theme .bp-models-title h1::after {
    background-color: var( --color-btn-orange-dark);		
}
.bp-models-area {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}
.bp-models-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 1.5rem; 
    width: 100%;
}


/* Show house model card */
.bp-model-card {
    background-color: var(--color-bg-blur-white);		
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px); 
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3); 
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.bp-model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(26, 93, 26, 0.1);
    border-color: #ff7300;
}
.model-image-card {
    width: 100%;
    height: 200px;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}
.model-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s ease;
}
.bp-model-card:hover .model-image-card img {
    transform: scale(1.1);
}
.model-detail-card {
    width: 100%;
    text-align: center;
}
.model-detail-name p {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}
body.dark-theme .model-detail-name p {
    color: var(--color-bg-warm);		
}
.model-detail-feature-contain {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    background: #f1f8f3;
    padding: 8px 15px;
    border-radius: 50px;
}
.model-detail-feature {
    display: flex;
    align-items: center;
    gap: 6px;
}
.model-detail-feature p {
    font-size: 14px;
    color: #555;
    margin: 0;
}
.model-house-inv img {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}
.model-detail-price {
    margin: 10px 0;
}
.model-detail-price p {
    font-size: 0.9rem;
    color: #7f8c8d;
}
.model-detail-price span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e67e22;
}
.model-card-btn-area {
    margin-top: 15px;
    width: 100%;
}
.model-card-btn a {
    display: block;
    background-color: var(--color-btn-eco-action);		
    padding: 12px 0;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.model-card-btn a:hover {
    background-color: #1a5d1a;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}
body.dark-theme .model-card-btn a {
    background-color: var(--color-btn-orange-dark);		
}
body.dark-theme .model-card-btn a:hover {
   background-color: var(--color-btn-orange-earth);		
}

/* #endregion */


/* Function eco smart home */
/* #region */

.dt-function-house-eco-core-tech {
    padding: 80px 0;
    background-color: var(--color-bg-primary);		
    overflow: hidden;
    transition: background-color 1s ease-in-out;
}
body.dark-theme .dt-function-house-eco-core-tech {
    background-color: var(--color-bg-readable);		
}
.function-house-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.function-house-eco-header {
    text-align: center;
    margin-bottom: 60px;
}

.function-house-eco-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--color-card-light-green);				
    color: var(--color-text-heading-eco);		
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
body.dark-theme .function-house-eco-badge {
    color: var(--color-text-emphasis-orange-dark);
    background-color: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); 
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.function-house-eco-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    color: var(--color-text-subhead-green);		
    font-weight: 800;
    margin-bottom: 16px;
}
body.dark-theme .function-house-eco-title {
    color: var(--color-btn-orange-dark);
}
.function-house-eco-description {
    color: var(--color-text-secondary);		
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}
.function-house-eco-description strong {
    color: var(--color-btn-orange-dark);		
}
body.dark-theme .function-house-eco-description {
    color: var(--color-text-warm-bright);		
}

.function-house-eco-formula-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 1.5rem;
}
.function-house-formula-item { color: var(--color-btn-orange-dark); }
.function-house-formula-result { 
    color: var(--color-bg-light-eco); 
    background-color: var(--color-btn-eco-action);		
    padding: 5px 15px;
    border-radius: 12px;
}
body.dark-theme .function-house-formula-result { 
    color: var(--color-text-emphasis-orange-dark);
    background-color: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); 
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.function-house-formula-plus ,
.function-house-formula-equal {
    color: var(--color-text-secondary);		
}
.function-house-formula-link {
    text-decoration: none;
    display: inline-block;
}
.function-house-eco-formula-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.function-house-formula-link:hover .function-house-eco-formula-box {
    background-color: var(--color-bg-primary); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--color-btn-eco-action);
    transform: translateY(-5px) scale(1.02);
}

.function-house-hover-hint {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-btn-eco-action);
    margin-left: 0;
    width: 0;
    opacity: 0;
    white-space: nowrap;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.function-house-formula-link:hover .function-house-hover-hint {
    width: 110px; 
    margin-left: 15px;
    opacity: 1;
}

.function-house-formula-link:hover .function-house-formula-result {
    background-color: var(--color-btn-orange-dark);
    color: white;
    transform: rotate(5deg);
    transition: all 0.3s ease;
}

body.dark-theme .function-house-formula-link:hover .function-house-eco-formula-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-emphasis-orange-dark);
}

/* --- Feature Grid & Cards --- */
.function-house-eco-feature-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.function-house-eco-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-bg-primary);		
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 20px 25px -5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.function-house-eco-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}
body.dark-theme .function-house-eco-card {
    background-color: rgba(255, 255, 255, 0.048); 
    backdrop-filter: blur(8px); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.function-house-card-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.function-house-card-tag {
    color: var(--color-btn-eco-action);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-transform: uppercase;
}
body.dark-theme .function-house-card-tag {
    color: var(--color-btn-orange-earth);
}
.function-house-card-title {
    font-size: 1.75rem;
    color: var(--color-text-subhead-green);		
    font-weight: 700;
    margin-bottom: 15px;
}
body.dark-theme .function-house-card-title {
    color: var(--color-btn-orange-dark);
}

.function-house-card-lead {
    color: var(--color-text-secondary);		
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.05rem;
}
body.dark-theme .function-house-card-lead {
    color: var(--color-text-warm-bright);		
}

.function-house-card-list {
    list-style: none;
    padding: 0;
}

.function-house-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--color-text-secondary-orange);
}

.function-house-card-list i {
    flex-shrink: 0;
    margin-top: 3px;
}

.function-house-card-image {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.function-house-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.function-house-eco-card:hover .function-house-card-image img {
    transform: scale(1.05);
}



/* #endregion */


/* Show Completed sample house */
/* #region */

.dt-complete-house-section {
  padding: 80px 20px;
  background-color: var(--color-bg-natural);
  transition: background-color 1s ease-in-out;
}
body.dark-theme .dt-complete-house-section {
  background-color: var(--color-bg-readable);		
}

.dt-complete-house-container {
    max-width: 1100px;
    margin: 0 auto;
}

.show-pd-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.show-pd-badge {
    background: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.show-pd-section-header h2 {
    font-size: 2.5rem;
    color: var(--color-text-subhead-green);		
    margin: 15px 0;
}
body.dark-theme .show-pd-section-header h2 {
    color: var(--color-btn-orange-dark);		
}
.show-pd-section-header p {
    color: var(--color-text-secondary);		
}
body.dark-theme .show-pd-section-header p {
    color: var(--color-text-warm-bright);			
}
.show-pd-house-showcase-card {
    display: flex;
    background: rgba(255, 255, 255, 0.014);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    transition: transform 0.3s ease;
}

.show-pd-house-showcase-card:hover {
    transform: translateY(-5px);
}

.show-pd-house-image-gallery {
    flex: 1.2;
    position: relative;
    min-height: 400px;
}

.show-pd-house-image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.show-pd-status-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--color-btn-eco-action);				    
    color: var(--color-bg-warm);				
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}
body.dark-theme .show-pd-status-tag {
    background-color: var(--color-btn-eco-secondary);		
    color: var(--color-text-warm-bright);				
}
.show-pd-house-details {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.show-pd-model-tag {
    color: var(--color-btn-eco-action);		
    font-weight: 600;
    margin-bottom: 10px;
}
body.dark-theme .show-pd-model-tag {
    color: var(--color-text-warm-bright);		
}
.show-pd-house-details h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-text-secondary);		
}
body.dark-theme .show-pd-house-details h3 {
    color: var(--color-btn-orange-dark);		
}

.show-pd-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f1f8f4;
    border-radius: 12px;
    transition: background-color 3s ease-in-out;
}
body.dark-theme .show-pd-specs-grid {
  background: none;
  border: 1px solid var(--color-text-warm-bright);
  transition: background-color 1s ease-in-out;
}
.show-pd-spec-item {
    font-size: 0.95rem;
    color: #555;
}
body.dark-theme .show-pd-spec-item {
    color: var(--color-text-warm-bright);		
}

.show-pd-highlight-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.show-pd-highlight-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: var(--color-text-secondary);		
}
body.dark-theme .show-pd-highlight-features li {
    color: var(--color-text-warm-bright);		
}
.show-pd-icon {
    margin-right: 10px;
    font-style: normal;
}

.show-pd-pricing-area {
    margin-bottom: 30px;
}

.show-pd-price-label {
    font-size: 0.9rem;
    color: #888;
}
body.dark-theme .show-pd-price-label {
    color: var(--color-text-warm-bright);		
}

.show-pd-price-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-btn-eco-action);		
}
body.dark-theme .show-pd-price-value {
  color: var(--color-text-emphasis-orange-dark);		
}
.show-pd-shipping-info {
    font-size: 0.85rem;
    color: var(--color-text-emphasis-orange-dark);		
    margin-top: 5px;
}

.show-pd-cta-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.show-pd-btn-primary {
    background-color: var(--color-btn-eco-action);		
    color: var(--color-bg-primary);		
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    flex: 1;
    transition: 0.3s;
}
body.dark-theme .show-pd-btn-primary {
  color: var(--color-text-warm-bright);		
  background-color: var(--color-btn-orange-dark);		
}
.show-pd-btn-primary:hover {
    background-color: var(--color-text-heading-eco);		
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}
body.dark-theme .show-pd-btn-primary:hover {
  background-color: var(--color-btn-orange-earth);		
  box-shadow: 0 10px 20px rgba(174, 79, 39, 0.3);		
}
.show-pd-btn-secondary {
    border: 2px solid #ddd;
    color: var(--color-text-secondary);		
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.show-pd-btn-secondary:hover {
    background: #f8f9fa;
    border-color: #bbb;
}

/* #endregion */


/* Why US Section */
/* #region */

.dt-whyus-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-primary);		
    transition: background-color 1s ease-in-out;
}
body.dark-theme .dt-whyus-section {
    background-color: var(--color-bg-readable);		
}

.dt-whyus-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/leaf.png'); /* ลายใบไม้จางๆ */
    opacity: 0.03;
    pointer-events: none;
}
.dt-whyus-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}
.whyus-header {
    text-align: center;
    margin-bottom: 70px;
}
.whyus-header .whyus-sub-title {
    color: var(--color-text-emphasis-orange-dark);				    
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
body.dark-theme .whyus-header .whyus-sub-title {
  color: var(--color-btn-orange-earth);		
}
.whyus-header h2 {
    color: var(--color-text-subhead-green);		    
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}
body.dark-theme .whyus-header h2 {
    color: var(--color-btn-orange-dark);		
}
.whyus-header p {
    color: var(--color-text-secondary);							    
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}
body.dark-theme .whyus-header p {
    color: var(--color-text-warm-bright);
}

.whyus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 30px;
}
.whyus-card {
    padding: 45px 35px;
    background-color: var(--color-bg-primary);		
    border: 1px solid #edf2ee;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}
body.dark-theme .whyus-card {
    background: none;
    border: 1px solid var(--color-btn-orange-dark);		
}
.whyus-card:hover {
    transform: translateY(-12px);
    border-color: var(--color-bg-primary);
    box-shadow: 0 20px 40px rgba(26, 93, 26, 0.08);
}
body.dark-theme .whyus-card:hover {
    background-color: var(--color-bg-primary);		
}
.whyus-icon {
    width: 65px;
    height: 65px;
    background-color: var(--color-bg-light-eco);		
    color: var(--color-text-highlight-orange);					    
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 25px;
    transition: 0.3s;
}
body.dark-theme .whyus-icon {
    background-color: var(--color-btn-orange-dark);		
    color: var(--color-text-cream-orange);		
}
.whyus-card:hover .whyus-icon {
    background-color: var(--color-btn-eco-action);		
    color: var(--color-bg-primary);		
    transform: rotateY(180deg); 
}
body.dark-theme .whyus-card:hover .whyus-icon {
    background-color: var(--color-text-cream-orange);
    color: var(--color-btn-orange-dark);				
}
.whyus-card h3 {
    color: var(--color-text-subhead-green);			
    font-size: 1.3rem;
    margin-bottom: 18px;
    font-weight: 600;
}
body.dark-theme .whyus-card h3 {
    color: var(--color-btn-orange-earth);		
}
.whyus-card p {
    color: var(--color-text-secondary);		
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .dt-whyus-section { padding: 70px 0; }
    .whyus-header h2 { font-size: 2rem; }
    .whyus-card { text-align: center; align-items: center; }
}

/* #endregion */


/* How to shop Section */
/* #region */

.dt-howto-section {
    padding: 100px 0;
    background-color: var(--color-bg-primary);		
    transition: background-color 1s ease-in-out;
}
body.dark-theme .dt-howto-section {
    background-color: var(--color-bg-readable);		
}
.dt-howto-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.howto-header {
    text-align: center;
    margin-bottom: 80px;
}
.howto-header .howto-sub-title {
    color: var(--color-text-emphasis-orange-dark);				    	
    font-weight: 600;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
}
body.dark-theme .howto-header .howto-sub-title {
    color: var(--color-btn-orange-earth);		
}
.howto-header h2 {
    color: var(--color-text-subhead-green);		
    font-size: 2.5rem;
    margin-bottom: 15px;
}
body.dark-theme .howto-header h2 {
    color: var(--color-btn-orange-dark);		
}
.howto-header p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;		
}
body.dark-theme .howto-header p {
    color: var(--color-text-warm-bright);		
}
.howto-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.howto-timeline::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: var(--color-btn-eco-secondary);				
    z-index: 0;
}
body.dark-theme .howto-timeline::before {
  background-color: var(--color-btn-orange-earth);		
}
.howto-step {
    position: relative;
    z-index: 1;
    text-align: center;
}
.howto-step-number {
    width: 90px;
    height: 90px;
    background-color: var(--color-bg-primary);		
    color: var(--color-text-highlight-orange);				
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 25px;
    border: 5px solid var(--color-bg-warm);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.1);
    transition: 0.4s ease;
}
body.dark-theme .howto-step-number {
    color: var(--color-btn-orange-dark);		
}
.howto-step:hover .howto-step-number {
    background-color: var(--color-btn-eco-action);		
    color: var(--color-bg-warm);		
    transform: scale(1.1);
    box-shadow: 0 15px 25px rgba(39, 174, 96, 0.2);
}
body.dark-theme .howto-step:hover .howto-step-number {
    background-color: var(--color-btn-orange-earth);		   
    box-shadow: 0 15px 25px rgba(39, 174, 96, 0.2);
}
.howto-step-content h3 {
    color: var(--color-text-subhead-green);		
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
}
body.dark-theme .howto-step-content h3 {
    color: var(--color-btn-orange-earth);		
}
.howto-step-content p {
    color: var(--color-text-secondary);		
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .howto-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 30px;
    }
    .howto-timeline::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .howto-timeline {
        grid-template-columns: 1fr;
    }
    .howto-step {
        display: flex;
        text-align: left;
        align-items: flex-start;
        gap: 20px;
    }
    .howto-step-number {
        margin: 0;
        min-width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}
/* #endregion */


/* FAQ Section */
/* #region */

.dt-FAQ-section {
    padding: 100px 0;
    background-color: var(--color-bg-primary);		
    transition: background-color 1s ease-in-out;
}
body.dark-theme .dt-FAQ-section {
    background-color: var(--color-bg-readable);		
}
.dt-FAQ-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}
.faq-header .faq-sub-title {
    color: var(--color-text-emphasis-orange-dark);				    
    font-weight: 600;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
    font-size: 1rem;
}
body.dark-theme .faq-header .faq-sub-title {
    color: var(--color-btn-orange-earth);		
}
.faq-header h2 {
    color: var(--color-text-subhead-green);		
    font-size: 2.5rem;
    margin-bottom: 15px;
}
body.dark-theme .faq-header h2 {
    color: var(--color-btn-orange-dark);		
}
.faq-header p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;		
}
body.dark-theme .faq-header p {
    color: var(--color-text-warm-bright);		
}
.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 2px solid var(--color-text-subhead-green);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}
body.dark-theme .faq-item {
    border: 1px solid var(--color-btn-orange-earth);
}

.faq-item:hover {
    border: 2px solid var(--color-btn-orange-earth);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    /* background-color: var(--color-bg-warm);				 */
    background-color: var(--color-bg-primary);			
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-emphasis-orange-dark);									
    font-family: 'Kanit', sans-serif;
    font-style: italic;
    transition: 0.3s;
}
body.dark-theme .faq-question {
    background: none;
    color: var(--color-text-warm-bright);		
}

body.dark-theme .faq-question:hover {
    background-color: var(--color-bg-primary);
	color: var(--color-btn-orange-earth);		
}

.faq-icon {
    font-style: normal;
    font-size: 1.5rem;
    color: var(--color-text-subhead-green);							
    transition: transform 0.3s ease;
}
body.dark-theme .faq-icon {
    color: var(--color-btn-orange-dark);		
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background-color: var(--color-bg-primary);		
}
body.dark-theme .faq-answer {
    background-color: var(--color-bg-readable);		
}
.faq-answer p {
    padding: 0 25px 25px;
    color: var(--color-text-secondary);		
    line-height: 1.7;
    margin: 0;
}
.faq-item.active {
    border-color: var(--color-text-subhead-green);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.05);
}
body.dark-theme .faq-item.active {
    box-shadow: 0 5px 15px rgba(174, 93, 39, 0.05);
}
.faq-item.active .faq-answer {
    max-height: 500px; 
    transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); 
    color: var(--color-text-emphasis-orange-dark);		
}

/* #endregion */


/* Contact CTA */
/* #region */

.dt-contact-cta-section {
    padding: 80px 0;
    background-color: var(--color-bg-primary);		
    transition: background-color 1s ease-in-out;
}
body.dark-theme .dt-contact-cta-section {
    background-color: var(--color-bg-readable);		
}
.dt-contact-cta-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
.contact-cta-content {
    background: linear-gradient(135deg, #1a5d1a 0%, #27ae60 100%);
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    color: var(--color-bg-primary);		
    box-shadow: 0 20px 40px rgba(39, 174, 96, 0.2);
    position: relative;
    overflow: hidden;
}
body.dark-theme .contact-cta-content {
    background: linear-gradient(135deg, #8c2f00 0%, #ff8800 100%);
    color: var(--color-text-warm-bright);		
}
.contact-cta-content::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-cta-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.contact-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.contact-btn-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-btn-cta.line {
    background-color: var(--color-btn-eco-action);			    
    color: var(--color-bg-primary);		
}
body.dark-theme .contact-btn-cta.line {
    background-color: #ff7e14;
    color: var(--color-text-warm-bright);						
}
.contact-btn-cta.phone {
    background-color: var(--color-bg-primary);		
    color: var(--color-text-heading-eco);		
}
body.dark-theme .contact-btn-cta.phone {
    background: none;
    color: var(--color-text-warm-bright);
    border: 1px solid var(--color-text-warm-bright);				
}
.contact-btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-btn-cta.line:hover {
    background-color: var(--color-btn-eco-secondary);		
}
body.dark-theme .contact-btn-cta.line:hover {
    background-color: var(--color-btn-orange-earth);		  
    border: 1px solid var(--color-text-warm-bright);				
}
.contact-btn-cta.phone:hover {
    background-color: var(--color-bg-natural);		
}

.contact-cta-trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1rem;
    opacity: 0.8;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .contact-cta-content {
        padding: 45px 25px;
    }
    .contact-cta-title {
        font-size: 1.7rem;
    }
    .contact-btn-cta {
        width: 100%;
        justify-content: center;
    }
    .contact-cta-trust {
        flex-direction: column;
        gap: 10px;
    }
}

/* #endregion */


/* Material in House */
/* #region */

.dt-material-section {
    padding: 80px 0;
    background: var(--color-bg-light-eco);
    display: flex;
    justify-content: center; 
    align-items: center;     
    width: 100%;
    transition: background-color 1s ease-in-out;

}
body.dark-theme .dt-material-section {
    background-color: var(--color-bg-readable);		
}
.dt-material-container {
    width: 100%;            
    max-width: 1200px;      
    margin: 0 auto;         
    padding: 0 20px;       
    box-sizing: border-box; 
}
.material-section-header {
    text-align: center;
    margin-bottom: 50px;
}
.material-section-header .material-sub-title {
    color: var(--color-text-heading-eco);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 1rem;
}
body.dark-theme .material-section-header .material-sub-title {
    color: var(--color-btn-orange-earth);		
}
.material-section-header h2 {
    font-size: 2.5rem;
    color: var(--color-text-subhead-green);		
    margin: 10px 0;
}
body.dark-theme .material-section-header h2 {
  color: var(--color-btn-orange-dark);
}
.material-header-line {
    width: 60px;
    height: 4px;
    background: var(--color-btn-eco-action);
    margin: 0 auto;
    border-radius: 2px;
}
body.dark-theme .material-header-line {
    background: var(--color-btn-orange-dark);
}


/* Grid System */
.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 25px;
    padding: 20px;
}
.material-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
}
body.dark-theme .material-card {
    background: var(--color-bg-readable);
    border-color: rgba(255,255,255,0.05);
}
.material-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.material-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.material-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.material-card:hover .material-card-image img {
    transform: scale(1.1);
}

.material-card-image .material-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-btn-eco-action);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}
body.dark-theme .material-card-image .material-badge {
  background-color: var(--color-btn-orange-bright);		
}
.material-card-content {
    padding: 25px;
}

.material-card-content h4 {
    font-size: 1.25rem;
    color: var(--color-text-heading-eco);
    margin-bottom: 12px;
}
body.dark-theme .material-card-content h4 {
    color: var(--color-btn-orange-bright);	
}

.material-card-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}
body.dark-theme .material-card-content p {
    color: #ccc;
}
/* View More Button */
.view-more-container {
    text-align: center;
    margin-top: 50px;
}
.material-btn-full-specs {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--color-btn-eco-action);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: 0.3s;
}
.material-btn-full-specs:hover {
    background: var(--color-text-heading-eco);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
body.dark-theme .material-btn-full-specs {
    background-color: var(--color-btn-orange-bright);		
}
body.dark-theme .material-btn-full-specs:hover {
    background-color: var(--color-btn-orange-earth);		
}

/* #endregion */


/* #endregion */
/* -------------------------------------------------------- */



/* -------------------Material box --------------------------------------------*/

/* WAVE_TOP: วางไว้ด้านบนของ Section  */
/* #region */

.dt-whateco-section {
  position: relative;
  overflow: hidden;
  height: 80vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bg-primary, #f5f5f5);
  transition: background-color 1s ease-in-out;
}

.dt-section-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  line-height: 0;
}

.dt-section-wave-top svg {
  display: block;
  width: 100%;
  height: 100px;
  transform: rotate(180deg);
}

.dt-section-wave-top path {
  fill: var(--color-bg-primary);
}

body.dark-theme .dt-section-wave-top path {
  fill: var(--color-bg-readable);
}

/* #endregion */


/* WAVE_BOTTOM: วางไว้ด้านล่างของ Section */
/* #region */

.dt-header-wave svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

.dt-header-wave svg path {
  fill: var(--color-bg-primary);
  transition: fill 1s ease-in-out;

}

body.dark-theme .dt-header-wave svg path {
  fill: var(--color-bg-readable);
  transition: fill 1s ease-in-out;
}

/* #endregion */


/* Free Space*/
/* #region */
.dt-free-space {
  position: relative;
  overflow: hidden;
  height: 10vh;
  background-color: var(--color-bg-primary);
  transition: background-color 1s ease-in-out;
}

body.dark-theme .dt-free-space {
  background-color: var(--color-bg-readable);
}

/* #endregion */


/* ########################################################################## */


