

.text-decoration{
    text-decoration:line-through
}
.col-pd{
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    margin-bottom: 1rem;
}
.btn-detail{
    padding: 0.5rem;
    display: inline-block;
    border-bottom: 1px solid #e1e1e1;
    border-radius: 5%;
    margin: 1rem;
}
@media (min-width: 768px) {
    .title_pd {
        font-size: 1.8rem !important;
    }
}

.title_pd {
    font-size: 1.2rem;
}

.img-product {
    width: -webkit-fill-available !important;
}
.type_item {
    white-space: nowrap;
    overflow-y: auto;
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
}

.type_item_list {
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
}


.full {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.full .content {
    background-color: rgba(0, 0, 0, 0.75) !important;
    height: 100%;
    width: 100%;
    display: grid;
}

.full .content img {
    left: 50%;
    transform: translate3d(0, 0, 0);
    animation: zoomin 1s ease;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
}

.byebye {
    opacity: 0;
}

.byebye:hover {
    transform: scale(0.2) !important;
}

.gallery {
    display: grid;
    grid-column-gap: 8px;
    grid-row-gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    /* grid-auto-rows: 8px; */
}

.gallery img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 16px #333;
    transition: all 1.5s ease;
}

.gallery img:hover {
    box-shadow: 0 0 32px #333;
}

.gallery .content {
    padding: 4px;
}

.gallery .gallery-item {
    transition: grid-row-start 300ms linear;
    transition: transform 300ms ease;
    transition: all 0.5s ease;
    cursor: pointer;
}

.gallery .gallery-item:hover {
    transform: scale(1.025);
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    }
}

@media (max-width: 400px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
    }
}

@-moz-keyframes zoomin {
    0% {
        max-width: 50%;
        transform: rotate(-30deg);
        filter: blur(4px);
    }
    30% {
        filter: blur(4px);
        transform: rotate(-80deg);
    }
    70% {
        max-width: 50%;
        transform: rotate(45deg);
    }
    100% {
        max-width: 100%;
        transform: rotate(0deg);
    }
}

@-webkit-keyframes zoomin {
    0% {
        max-width: 50%;
        transform: rotate(-30deg);
        filter: blur(4px);
    }
    30% {
        filter: blur(4px);
        transform: rotate(-80deg);
    }
    70% {
        max-width: 50%;
        transform: rotate(45deg);
    }
    100% {
        max-width: 100%;
        transform: rotate(0deg);
    }
}

@-o-keyframes zoomin {
    0% {
        max-width: 50%;
        transform: rotate(-30deg);
        filter: blur(4px);
    }
    30% {
        filter: blur(4px);
        transform: rotate(-80deg);
    }
    70% {
        max-width: 50%;
        transform: rotate(45deg);
    }
    100% {
        max-width: 100%;
        transform: rotate(0deg);
    }
}

@keyframes zoomin {
    0% {
        max-width: 50%;
        transform: rotate(-30deg);
        filter: blur(4px);
    }
    30% {
        filter: blur(4px);
        transform: rotate(-80deg);
    }
    70% {
        max-width: 50%;
        transform: rotate(45deg);
    }
    100% {
        max-width: 100%;
        transform: rotate(0deg);
    }
}

.checked {
    color: orange;
}

.img_list {
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: auto;
    height: auto;
    cursor: pointer;
}

.img_list:hover {
    opacity: 0.7;
   
}

.img_list>a {
    width: 100%;
    height: 100%;
    display: inline-block;
}

.col-pd:hover {
   /* border: 1px solid #ff9800 !important;*/
    
}

.title_pd {
    text-decoration: none;
    text-overflow: ellipsis;
    /* เพิ่ม ... จุดจุดจุดท้ายสุด */
    display: block;
    overflow: hidden;
    white-space: nowrap;
    width: auto;
}
.col-md1-1440{
    background-color: #fff;

    padding: 10px;
    margin: 1.5px;
    box-sizing: border-box;
    border: 1px solid #00000014;
}
.col-md1-1440:hover{
    border: 1px solid #000;
}
@media (max-width: 2560px) {
    .col-md1-1440 {
        width: 24% !important;
        float: left;
        /* width: 19% !important;
    float: left; */
    }
}

@media (max-width: 1440px) {
    .col-md1-1440 {
        width: 24% !important;
        float: left;
        /* width: 19% !important;
    float: left; */
    }
}

@media (max-width: 1024px) {
    .col-md1-1024 {
        width: 19% !important;
        float: left;
    }
}

@media (max-width: 992px) {
    .col-md1-3 {
        width: 32% !important;
        float: left;
        width: 24% !important;
        float: left;
    }
}

@media (max-width: 768px) {
    .col-sm1-4 {
        width: 32% !important;
        float: left;
    }
}

@media (max-width: 425px) {
    .col-xs1-425 {
        width: 48% !important;
        float: left;
    }
}

@media (max-width: 320px) {
    .col-xs1-6 {
        width: 48% !important;
        float: left;
    }
}

.bg_title {
    background-image: url("https://backend.taladwebsite.com/public/uploads/hhvgQh8y/5fabab5666ec5.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    padding: 1.5px;
    color: white;
}

.pd_border {
    position: relative;
    cursor: default;
    box-shadow: none !important;
    /* box-shadow: inset 0 0 0 10px rgba(255,255,255,0.6), 0 1px 2px rgba(0,0,0,0.1);
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;*/
}

.text_price {
    padding-left: 8px;
    color: #FF5722 !important;
    font-weight: revert;
    font-size: large;
}

.view_all {
    padding-top: 15px;
}

.view_all>a {
    color: white;
}

.row_pd {
    overflow-y: hidden;
    overflow-x: auto;
    flex-wrap: nowrap !important;
}

.ch-item {
    border-radius: 0% !important;
}

.box_pd {
    flex: none;
}

.type_name {
    padding-top: 10%;
    font-size: 2.0rem;
    background-color: #ffffffad;
    height: 100%;
}

.type_name:hover {
    background-color: #ffffff00;
}
.limit_text_pd{
    white-space: nowrap !important;
   width: 270px;
   padding: 10px;
   overflow: hidden;
   text-overflow: ellipsis;
   font-size: 1.2rem;
    }
    @media only screen and (max-width: 768px) {
        .limit_text_pd{
            white-space: nowrap !important;
           width: 150px;
           padding: 10px;
           overflow: hidden;
           text-overflow: ellipsis;
           font-size: 1.2rem;
            }
    }