.o-container {
  margin: 0 auto;
  padding: 0 12px;
  max-width: 960px;
}

.o-header {
  margin: 0;
  padding: 0;
}

.o-header-nav {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #dc446e;
}

.o-header-nav__link {
  padding: 12px;
  color: #fff;
}

.o-header-nav__link:hover {
  color: #fff;
  background-color: #9d1d41;
}

.o-header__title {
  margin: 24px;
  padding: 0;
  color: #818181;
  font-size: 28px;
  font-weight: 300;
  text-align: center;
}
.c-tab__content .prod-img{
  padding-top: 75%;
}
.detail-box .c-tab__content .prod-img{/*อัพเดท*/
  padding-top: 100%;
}
.c-tab__content .prod-img :hover{
  cursor:zoom-in;
}

@media all and (min-width: 480px) {
  .o-header__title {
    margin: 36px;
    font-size: 42px;
  }
}

/* -----------------------------------------------------------------------------

  MAIN OBJECT
  
----------------------------------------------------------------------------- */
.o-main {
  /**/
}

/* -----------------------------------------------------------------------------

  SECTION OBJECT
  
----------------------------------------------------------------------------- */
.o-section {
}

.o-section:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------------------------

  SUB-NAVIGATION OBJECT
  
----------------------------------------------------------------------------- */
.o-sub-nav {
  margin: 0;
  padding: 0;
}

.o-sub-nav__items {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.o-sub-nav__item {
  margin: 0;
  padding: 4px;
}

.o-sub-nav__link {
  display: block;
  margin: 0;
  padding: 4px 24px;
  border: solid 2px #dc446e;
}

.o-sub-nav__link:hover,
.o-sub-nav__item.active .o-sub-nav__link {
  color: #fff;
  background-color: #dc446e;
}

/* -----------------------------------------------------------------------------

  FOOTER OBJECT
  
----------------------------------------------------------------------------- */
.o-footer {
  padding: 12px 0;
  text-align: center;
}

@media all and (min-width: 480px) {
  .o-footer {
    padding: 24px 0;
  }
}

@media all and (min-width: 720px) {
  .o-footer {
    padding: 48px 0;
  }
}

.c-tabs {
transition: 0.3s ease-in-out;
}
.c-tabs-nav {/*อัพเดท*/
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    z-index: 1;
    top: 0;
}
.detail-box .c-tabs-nav {/*อัพเดท*/
    margin: 20px -5px;
    border: 0;
}

.c-tabs-nav__link {/*อัพเดท*/
    position: relative;
    margin: 0 -1px 0 0;
    padding: 20px 11px 20px 10px;
    color: #000;
    text-align: center;
    flex: 1;
    background-color: #F5F5F5;
    border: 1px solid #E0E0E0;
}
.c-tabs-nav__link:last-child{
  margin: 0 0 0 0;
  padding: 20px 10px;
}
.payment-box .c-tabs-nav__link:first-child {/*อัพเดท*/
  border-top-left-radius: 5px;
}
.payment-box .c-tabs-nav__link:last-child {/*อัพเดท*/
    border-top-right-radius: 5px;
}

.detail-box .c-tabs-nav__link::before,
.detail-box .c-tabs-nav__link::after{
display: none;
}
.detail-box .c-tabs-nav__link {/*อัพเดท*/
    margin: 0;
    padding: 5px;
    color: #000;
    text-align: center;
    width: 16.66%;
    border: 0;
    flex: none;
    background-color: #0000;
}

.c-tabs-nav__link.is-active {/*อัพเดท*/
    color: #000;
    background-color: #FFF;
    border-bottom: 1px solid #FFF;
}
.detail-box .c-tabs-nav__link.is-active {/*อัพเดท*/
    color: #000;
    background-color: transparent;
    border-bottom: 0;
}
.c-tabs-nav__link img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 60px;
    padding: 5px;
    box-sizing: border-box;
}
.detail-box .c-tabs-nav__link img {/*อัพเดท*/
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    padding: 0;
    background-color: #FFF;
    border-radius: 5px;
}
.c-tabs-nav__link.is-active img {/*อัพเดท*/
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    padding: 0;
    background-color: #FFF;
    border-radius: 5px;
}

.c-tabs-nav__link:hover {
  color: #000;
}



.c-tabs-nav__link i,
.c-tabs-nav__link span {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.c-tabs-nav__link i {
  font-size: 18px;
}

.c-tabs-nav__link span {
  display: none;
  font-size: 18px;
}

@media all and (min-width: 720px) {
  .c-tabs-nav__link i {
    margin:0 12px;
    font-size: 22px;
  }
  .c-tabs-nav__link span {
    display: block;
  }
}

/**
 * Tab
 */
.c-tab {
    display: none;
    border: 1px solid #E0E0E0;
    top: 0;
    z-index: 0;
}

.detail-box .c-tab {
    display: none;
    border: 1px solid #E0E0E0;
    top: 0;
    z-index: 0;
    border-radius: 5px;
}

.payment-box .c-tab {
    display: none;
    border: 1px solid #E0E0E0;
    top: -1px;
    z-index: 0;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.c-tab__content {
    padding: 20px;
    text-align: left;
      transition: 0.5s ease-in-out;
    transform: translateY(100px);
    opacity: 0;
}

.detail-box .c-tab__content {/*อัพเดท*/
    padding: 0;
    text-align: left;
      transition: 0.5s ease-in-out;
    transform: translateY(100px);
    opacity: 0;
}

.c-tab.is-active {
  display: block;
  text-align: center;
}

.c-tab.is-active .c-tab__content{
    transform: translateY(0px);
    opacity: 1;
}

.c-tab__content img { /*อัพเดท*/
    padding: 0;
    max-height: 40px;
    position: relative;
}

.detail-box .c-tab__content img { /*อัพเดท*/
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    position: absolute;
}

/**
 * Tabs no-js fallback
 */
.c-tabs.no-js .c-tabs-nav {
  display: none;
}

.c-tabs.no-js .c-tab {
  display: block;
  margin-bottom: 1.5rem;
}

.c-tabs.no-js .c-tab:last-child {
  margin-bottom: 0;
}

/* -----------------------------------------------------------------------------

  CARBON AD COMPONENT
  
----------------------------------------------------------------------------- */
#carbonads {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 1000;
  padding: 24px 12px 12px 12px;
  width: 154px;
  background-color: #fff;
  line-height: 1.1;
  border: solid 1px #e7e7e7;
}

.carbon-wrap {
  display: block;
  margin: 0 0 4px 0;
}

.carbon-img {
  display: block;
  margin: 0 0 4px 0;
  padding: 0;
  width: 130px;
  height: 100px;
}

.carbon-text {
  color: #818181;
  font-size: 12px;
}

.carbon-poweredby {
  font-size: 10px;
  font-style: italic;
}

.carbonad__close {
  display: block;
  position: absolute;
  top: 0;
  left: 12px;
  height: 24px;
  font-size: 11px;
  line-height: 24px;
}

@media all and (max-width: 660px) {
  #carbonads {
    display: none;
  }
}
@media only screen and (max-width:1024px){
}

@media only screen and (max-width:768px){

}

@media only screen and (max-width:767px){
.c-tab__content {
    padding: 20px 10px;
    text-align: left;
}
}