:root {
  --tns-brand: #b22f16;
  --tns-green: #075b3a;
  --tns-zalo: #0068ff;
  --tns-sheet-z: 99998;
}

.tns-mobile-buybar,
.tns-mobile-sheet-layer,
.tns-mobile-toast,
.tns-mobile-inline-price {
  display: none;
}
/* ========================================
   QUICK ATTRIBUTE - SHOPEE STYLE
======================================== */

.tns-mobile-quick-attribute {
    display: none;
}

@media (max-width: 849px) {
    div#reviews.woocommerce-Reviews {
      max-width: none;
      border-bottom: 0;
      margin: 0 0 -20px 0;
  }
    .tns-mobile-ready .tns-mobile-quick-attribute {
        display: block;
        width: 100%;
        margin: 12px 0;
        padding: 13px 12px;

        background: #fff;
        border: 1px solid #eeeeee;
        border-radius: 7px;

        font-family: "Be Vietnam Pro", sans-serif;
        text-align: left;

        box-shadow: none;
        text-transform: none;
        letter-spacing: 0;
    }

    .tns-mobile-quick-attribute__header {
        display: flex;
        align-items: center;
        justify-content: space-between;

        margin-bottom: 10px;
    }

    .tns-mobile-quick-attribute__title {
        color: #222;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
    }

    .tns-mobile-quick-attribute__arrow {
        color: #999;
        font-size: 25px;
        font-weight: 300;
        line-height: 20px;
    }

    .tns-mobile-quick-attribute__options {
        display: flex;
        align-items: center;
        gap: 7px;

        overflow: hidden;
    }

    .tns-mobile-quick-attribute__chip {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        min-height: 35px;
        padding: 7px 11px;

        color: #444;
        background: #f5f5f5;

        border: 1px solid #eeeeee;
        border-radius: 4px;

        font-size: 12px;
        font-weight: 400;
        line-height: 1.25;

        white-space: nowrap;
    }

    .tns-mobile-quick-attribute__more {
        color: #999;
        background: #fafafa;
    }

    .tns-mobile-quick-attribute:active {
        background: #fafafa;
    }
}
@media (max-width: 849px) {
  .single-product-right-col aside#custom_html-3 {
      display: none;
  }
  .devvn_prod_cmt{
    display: none !important;
  }
  body.single-product .product-page-accordian .accordion {
      display: flex !important;
      flex-direction: column;
  }

  body.single-product
  .product-page-accordian
  .accordion > .accordion-item {
      order: 2;
  }

  body.single-product
  .product-page-accordian
  .accordion > .accordion-item:has(#reviews) {
      order: 1;
  }
  body.tns-mobile-ready {
    padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  }

  body.tns-mobile-ready #zalo-vr,
  body.tns-mobile-ready .sticky-add-to-cart,
  body.tns-mobile-ready .sticky-add-to-cart-wrapper,
  body.tns-mobile-ready #top-link {
    display: none !important;
  }

  .tns-mobile-ready .tns-mobile-buybar {
    position: fixed;
    z-index: 99997;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 20% 38% 42%;
    min-height: 48px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #fff;
    border-top: 1px solid #e7e7e7;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .09);
  }

  .tns-mobile-buybar button,
  .tns-mobile-buybar a {
    min-width: 0;
    min-height: 48px;
    margin: 0;
    border: 0;
    border-radius: 0;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 0 !important;
  }

  .tns-mobile-buybar__zalo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: var(--tns-zalo);
    background: #fff;
    border-right: 1px solid #e7e7e7 !important;
  }

  .tns-mobile-buybar__zalo svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
  }

  .tns-mobile-buybar__cart {
    color: #fff !important;
    background: var(--tns-green) !important;
  }

  .tns-mobile-buybar__buy {
    color: #fff !important;
    background: var(--tns-brand) !important;
  }

  .tns-mobile-sheet-layer {
    position: fixed;
    z-index: var(--tns-sheet-z);
    inset: 0;
    display: block;
    pointer-events: none;
    visibility: hidden;
  }

  .tns-mobile-sheet__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    cursor: default;
    opacity: 0;
    border: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, .52);
    transition: opacity .25s ease;
  }

  .tns-mobile-sheet {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    max-height: min(88dvh, 760px);
    overflow: hidden;
    color: #181818;
    background: #fff;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, .18);
    transform: translateY(103%);
    transition: transform .28s cubic-bezier(.22, .75, .25, 1);
    outline: none;
  }

  body.tns-sheet-open {
    overflow: hidden;
    touch-action: none;
  }

  body.tns-sheet-open .tns-mobile-sheet-layer {
    pointer-events: auto;
    visibility: visible;
  }

  body.tns-sheet-open .tns-mobile-sheet__backdrop {
    opacity: 1;
  }

  body.tns-sheet-open .tns-mobile-sheet {
    transform: translateY(0);
  }

  .tns-mobile-sheet__handle {
    position: absolute;
    z-index: 1;
    top: 7px;
    left: 50%;
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: #d5d5d5;
    transform: translateX(-50%);
  }

  .tns-mobile-sheet__header {
    position: relative;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 34px;
    gap: 12px;
    align-items: center;
    padding: 22px 16px 14px;
    border-bottom: 1px solid #ededed;
  }

  .tns-mobile-sheet__image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #ececec;
    border-radius: 8px;
    background: #f6f6f6;
  }

  .tns-mobile-sheet__summary {
    min-width: 0;
  }

  .tns-mobile-sheet__summary h2 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 7px;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .tns-mobile-sheet__price,
  .tns-mobile-sheet__price .price {
    color: var(--tns-brand);
    font-size: 19px;
    font-weight: 700;
  }

  .tns-mobile-sheet__price del {
    margin-right: 5px;
    color: #9a9a9a;
    font-size: 13px;
    font-weight: 400;
  }

  .tns-mobile-sheet__price ins {
    text-decoration: none;
  }
  .tns-mobile-sheet__price ins .amount {
      color: #b22e17;
  }
  .tns-mobile-sheet__close {
    align-self: start;
    width: 34px;
    min-height: 34px;
    margin: -5px -5px 0 0;
    padding: 0;
    color: #777;
    border: 0;
    border-radius: 50%;
    background: transparent;
    font-size: 32px;
    font-weight: 300;
    line-height: 32px;
  }

  .tns-mobile-sheet__body {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 4px 16px 18px;
    -webkit-overflow-scrolling: touch;
  }

  .tns-mobile-sheet__error {
    margin: 12px 0 4px;
    padding: 10px 12px;
    color: #9f1c0c;
    border: 1px solid #efb3aa;
    border-radius: 8px;
    background: #fff3f1;
    font-size: 13px;
    line-height: 1.45;
  }

  .tns-mobile-sheet__form-host form.cart {
    margin: 0;
    padding: 0;
  }

  .tns-mobile-sheet__form-host table.variations,
  .tns-mobile-sheet__form-host table.variations tbody,
  .tns-mobile-sheet__form-host table.variations tr,
  .tns-mobile-sheet__form-host table.variations th,
  .tns-mobile-sheet__form-host table.variations td {
    display: block;
    width: 100%;
  }

  .tns-mobile-sheet__form-host table.variations {
    margin: 0;
    border: 0;
  }
  .tns-mobile-sheet__body .variations tbody tr td.label {
      width: 100%;
      max-width: none;
      padding: 8px 0;
  }
  .tns-mobile-sheet__form-host table.variations tr {
    padding: 8px 0 16px;
    border-bottom: 1px solid #ededed;
  }

  .tns-mobile-sheet__form-host table.variations th.label {
    padding: 0 0 10px;
    color: #222;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
  }

  .tns-mobile-sheet__form-host table.variations td.value {
    padding: 0;
  }

  .tns-mobile-sheet__form-host .variable-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
  }


  .tns-mobile-sheet__form-host .variable-item.selected {
    color: var(--tns-brand) !important;
    border-color: var(--tns-brand) !important;
    background: #fff8f6 !important;
  }

  .tns-mobile-sheet__form-host .variable-item.disabled {
    opacity: .42;
  }

  .tns-mobile-sheet__form-host .reset_variations {
    display: inline-block;
    margin-top: 10px;
    color: #777;
    font-size: 12px;
  }

  .tns-mobile-sheet__form-host .single_variation_wrap {
    padding-top: 14px;
  }

  .tns-mobile-sheet__form-host .woocommerce-variation-price,
  .tns-mobile-sheet__form-host .woocommerce-variation-description {
    display: none !important;
  }

  .tns-mobile-sheet__form-host .woocommerce-variation-add-to-cart,
  .tns-mobile-sheet__form-host .single_variation_wrap .quantity {
    display: flex;
    align-items: center;
  }

  .tns-mobile-sheet__form-host .single_variation_wrap .quantity {
    margin: 0;
  }

  .tns-mobile-sheet__form-host .single_add_to_cart_button,
  .tns-mobile-sheet__form-host #mua-ngay,
  .tns-mobile-sheet__form-host .buy_now {
    display: none !important;
  }

  .tns-mobile-sheet__footer {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid #e9e9e9;
    background: #fff;
    box-shadow: 0 -5px 16px rgba(0, 0, 0, .05);
  }

  .tns-mobile-sheet__confirm {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 11px 16px;
    color: #fff !important;
    border: 0;
    border-radius: 9px;
    background: var(--tns-green) !important;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    letter-spacing: 0;
  }

  .tns-mobile-sheet__confirm.is-buy-now {
    background: var(--tns-brand) !important;
  }

  .tns-mobile-sheet__confirm:disabled {
    cursor: wait;
    opacity: .7;
  }

  .tns-mobile-inline-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin: 12px 0 2px;
    color: var(--tns-brand);
    font-size: 21px;
    font-weight: 700;
  }

  .tns-mobile-inline-price > span {
    color: #222;
    font-size: 15px;
    font-weight: 600;
  }

  .tns-mobile-inline-price .price {
    color: inherit;
    font-size: inherit;
  }

  .tns-mobile-inline-price del {
    color: #999;
    font-size: 14px;
    font-weight: 400;
  }

  .tns-mobile-inline-price ins {
    text-decoration: none;
  }

  .tns-mobile-toast {
    position: fixed;
    z-index: 100000;
    right: 20px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    left: 20px;
    display: block;
    padding: 11px 14px;
    color: #fff;
    border-radius: 8px;
    background: rgba(20, 20, 20, .94);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .tns-mobile-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 360px) {
  .tns-mobile-ready .tns-mobile-buybar {
    grid-template-columns: 19% 39% 42%;
  }

  .tns-mobile-buybar button,
  .tns-mobile-buybar a {
    font-size: 12px;
  }

  .tns-mobile-sheet__header {
    grid-template-columns: 68px minmax(0, 1fr) 32px;
    gap: 9px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .tns-mobile-sheet__image {
    width: 68px;
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tns-mobile-sheet,
  .tns-mobile-sheet__backdrop,
  .tns-mobile-toast {
    transition-duration: .01ms !important;
  }
}

