﻿/*.outerpage > * {
    box-sizing: border-box
}*/

.outerpage {
    padding-top: 10px;
    padding-bottom: 10px;
}



.divbrocure {
    width: 1200px;
    height: 500px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}


.divbrocureitem {
    background-color: #E3E3E3;
    height: 100%;
}


    .divbrocureitem img {
        width: 100%;
    }


.divcaption {
    font-weight: bold;
    text-align: center;
    text-overflow: ellipsis;
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
}


.prev, .next {
    font-weight: bold;
    font-size: 18px;
    color: white;
    border-radius: 0 3px 3px 0;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    transition: 0.6s ease;
    cursor: pointer;
    user-select: none;
}


.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
    .prev:hover, .next:hover {
        background-color: rgba(0,0,0,0.8);
    }



.dot {
    border-radius: 50%;
    background-color: #bbb;
    display: inline-block;
    height: 15px;
    width: 15px;
    transition: background-color 0.6s ease;
    cursor: pointer;
}
    .active, .dot:hover {
        background-color: #717171;
    }


.popularbrands {
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

    .popularbrands > span {
        font-size: 18px;
        font-weight: bold;
        text-align: left;
        display: block;
    }

    .popularbrands > div {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }

        .popularbrands > div > div {
            background-size: 100% auto;
            background-repeat: no-repeat;
            background-position: center top;
            aspect-ratio: 908 / 1793;
            position: relative;
            width: 100%;
            min-width: 0;
            overflow: hidden;
           /* cursor: pointer; */
        }

    .popularbrands .article {
        font-size: smaller;
        color: white;
        text-indent: 10px;
        position: absolute;
        left: 0;
        bottom: 0;
        height: 65px;
        padding: 0 10px;
    }



.divpopularbrand {
    text-align: center;
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}


    .divpopularbrand label {
        font-size: 18px;
        font-weight: bold;
        text-align: left;
        position: absolute;
        top: -30px;
        left: 0;
        width: 150px;
    }


    .divpopularbrand div {
        text-align: center;
        width: 235px;
        display: inline-block;
        position: relative;
    }


        .divpopularbrand div span {
            text-align: center;
            color: #f26123;
            border: 1px solid #f26123;
            border-radius: 5px;
            background-color: #FFFFFF;
            display: block;
            width: 100px;
            padding: 10px 0px;
            position: absolute;
            bottom: 30px;
            left: 67.5px;
            white-space: nowrap;
            z-index: 2;
            cursor: pointer;
        }
            .divpopularbrand span:hover {
                background-color: aliceblue;
            }


    /*.divpopularbrand div img.brandzoom {
        position: absolute;
    }*/



/*.divpopularbrandtop {
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

    .divpopularbrandtop label {
        font-size: 18px;
        font-weight: bold;
        text-align: left;
        border-bottom-style: solid;
        border-color: #f26123;
        position: absolute;
        top: -50px;
        left: 0;
        width: 150px;
    }


.divitemcatalogue {
    text-align: center;
    background-color: #E3E3E3;
    height: 220px;
    padding: 10px 0 10px 0;
    position: relative;
}

    .divitemcatalogue div {
        border-style: solid;
        border-width: 2px;
        border-color: white;
        border-radius: 50%;
        background-color: white;
        background-repeat: no-repeat;
        background-position: center center;
        position: relative;
        display: inline-block;
        width: 180px;
        height: 180px;
        cursor: pointer;
    }

        .divitemcatalogue div:not(:first-child) {
            margin-left: 10px;
        }

        .divitemcatalogue div:hover {
            border-style: solid;
            border-width: 2px;
            border-color: #f26123;
        }


        .divitemcatalogue div label {
            text-align: center;
            position: absolute;
            width: 180px;
            bottom: -40px;
            left: 0;
        }*/

.divAsset {
    text-align: center;
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}


    .divAsset label {
        font-size: 18px;
        font-weight: bold;
        text-align: left;
        position: absolute;
        top: -30px;
        left: 0;
        width: 150px;
    }


    .divAsset div {
        text-align: center;
        width: 391px;
        display: inline-block;
        position: relative;
    }


.divpopulargroup {
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}


    .divpopulargroup > label {
        font-size: 18px;
        font-weight: bold;
        text-align: left;
        position: absolute;
        top: -20px;
        left: 0;
    }
        .divpopulargroup > span {
        font-size: 18px;
        font-weight: bold;
        text-align: left;
        display: block;
    }


    .divpopulargroup > div {
        text-align: center;
    }



.divpopularcatalogue {
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}


    .divpopularcatalogue > div:first-child {
        border-bottom-style: solid;
        border-color: #ffc9b0;
        border-width: 1px;
        display: flex;
    }


        .divpopularcatalogue > div:first-child label {
            border-top-right-radius: 10px;
            background-color: #ffc9b0;
            height: 100%;
            padding: 10px 15px;
        }


        .divpopularcatalogue > div:first-child span {
            color: #797979;
            text-align: center;
            padding: 10px 15px;
            cursor: pointer;
        }
            .divpopularcatalogue > div:first-child span:hover {
                color: #f26123;
            }


            .popcataactive {
                text-decoration-line: underline;
            }



.divpopularcatalogue .divpopcataitem {
    text-align: center;
}



.outerclearance {
    background-color: #fcf6d7;
    background-image: url('../Images/clearancebg.png');
    background-repeat: repeat;
    margin-top: 50px;
}


.divclearance {
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}


    .divclearance > div {
        text-align: center;
    }



.divvideocontent {
    text-align: center;
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}


    .divvideocontent > label {
        font-size: 18px;
        font-weight: bold;
        text-align: left;
        position: absolute;
        top: -40px;
        left: 0;
    }


    .divvideocontent div {
        border-radius: 15px;
        width: 267px;
        display: inline-flex;
        position: relative;
        justify-content: center;
        opacity: .8;
    }
        .divvideocontent div:hover {
            opacity: 1;
        }
        .divvideocontent div:not(:first-child) {
            margin-left: 10px;
        }


        .divvideocontent div iframe {
            border-radius: 20px;
            aspect-ratio: 16 / 9;
            width: 100% !important;
            height: 476px;
            overflow: hidden;
        }





/*.divyoutubepopup {
    text-align: center;
    position: fixed;
    left: 5px;
    bottom: 5px;
    padding-top: 26px;
    z-index: 2;
}


    .divyoutubepopup iframe {
        border-radius: 20px;
        aspect-ratio: 16 / 9;
        width: 300px;
        height: 200px;
    }


    .divyoutubepopup label {
        position: absolute;
        top: 0;
        right: 10px;
        cursor: pointer;
    }

        .divyoutubepopup label:hover {
            color: #f26123
        }*/



.divbandlogo {
    position: relative;
    overflow-x: hidden;
    height: 128px;
    animation: animate 15000ms linear infinite;
}


@keyframes animate {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -3101px 0;
    }
}



.divservicechannels {
    text-align: center;
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}


    .divservicechannels > span:first-child {
        font-size: 48px;
        font-weight: bold;
        display: block;
        padding: 0 0 20px 0;
    }


    .divservicechannels > span:nth-child(2) {
        font-size: 32px;
        display: block;
        padding: 20px 0 0 0;
    }



.divchannels {
    text-align: center;
}


    .divchannels div {
        background-repeat: no-repeat;
        background-position: center center;
        vertical-align: bottom;
        display: inline-block;
        height: 80px;
        width: 22%;
        padding: 250px 10px 0 10px;
    }


    .divchannels div span:first-child {
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        display: block;
        margin-bottom: 20px;
    }


  .promo-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 1240px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
  align-items: flex-start;
  font-family: 'Prompt', sans-serif;
}

/* ภาพใหญ่: ใช้เป็น Anchor Layout */
.promo-left {
  flex: 1 1 600px;
  max-width: 600px;
}

.promo-left img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* กล่องขวา: รูปย่อย 2x2 */
.promo-right {
  flex: 1 1 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* แต่ละรูปย่อย */
.promo-item {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.promo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-item:hover {
  transform: scale(1.02);
}

.containerkeywords{
    width: 100%;
    margin-top: 80px;
    position: fixed;
    top : 101%
     
     /* margin-bottom: 25px; */
}

.divkeywords{
    width: 90%;
    margin: auto;
    /* text-align: left; */
     text-align: justify;
    text-justify: inter-word;
    line-height: 1.8;
    padding: 10px;

}

.divkeywords span{
    display:block;
    margin-bottom:25px;
    font-size:16px;
}


