@charset "UTF-8";
.mew_slide_banner_3 .swiper-slide {
  width: calc(100%/2 - 5px);
  margin-right: 10px; }

@media (min-width: 375px) {
  .m_trending .swiper-slide {
    width: calc(100%/1.6 - 7.5px);
    margin-right: 15px; } }

@media (min-width: 576px) {
  .mew_slide_banner .swiper-slide {
    width: calc(100%/1.8 - 5px);
    margin-right: 10px; }
  .m_trending .swiper-slide {
    width: calc(100%/1.8 - 7.5px);
    margin-right: 15px; } }

@media (min-width: 768px) {
  .mew_flash .swiper-slide, .mew_product_main .swiper-slide, .mew_product_tab .swiper-slide {
    width: calc(100%/3 - 10px*2/3);
    margin-right: 10px; }
  .mew_cate_sl1 .swiper-slide {
    width: calc(100%/6); }
  .m_brand_slide .swiper-slide {
    width: calc(100%/5 - 8px);
    margin-right: 10px; }
  .mew_slide_banner .swiper-slide {
    width: calc(100%/2 - 5px);
    margin-right: 10px; }
  .mew_slide_banner_3 .swiper-slide {
    width: calc(100%/3 - 10px*2/3);
    margin-right: 10px; }
  .mew_video_index .swiper-slide {
    width: calc(100%/1.6 - 7.5px);
    margin-right: 15px; }
  .m_trending .swiper-slide {
    width: calc(100%/2 - 7.5px);
    margin-right: 15px; }
  .mew_blog .swiper-slide {
    width: calc(100%/1.8 - 7.5px);
    margin-right: 15px; } }

@media (min-width: 992px) {
  .mew_flash .swiper-slide, .mew_product_main .swiper-slide, .mew_product_tab .swiper-slide, .mew_slide_banner_3 .swiper-slide {
    width: calc(100%/4 - 7.5px);
    margin-right: 10px; }
  .mew_cate_sl1 .swiper-slide {
    width: calc(100%/8); }
  .m_brand_slide .swiper-slide {
    width: calc(100%/7 - 10px/7*6);
    margin-right: 10px; }
  .mew_slide_banner .swiper-slide {
    width: calc(100%/2 - 5px);
    margin-right: 10px; }
  .m_trending .swiper-slide {
    width: calc(100%/3 - 10px);
    margin-right: 15px; }
  .mew_blog .swiper-slide {
    width: calc(100%/2 - 7.5px);
    margin-right: 15px; } }

@media (min-width: 1025px) {
  .mew_flash .swiper-slide, .mew_product_main .swiper-slide, .mew_product_tab .swiper-slide {
    width: calc(100%/5 - 8px);
    margin-right: 10px; } }

@media (min-width: 1200px) {
  .mew_cate_sl1 .swiper-slide {
    width: calc(100%/9); }
  .m_brand_slide .swiper-slide {
    width: calc(100%/9 - 10px/9*8);
    margin-right: 10px; }
  .m_trending .swiper-slide {
    width: calc(100%/4 - 11.25px);
    margin-right: 15px; }
  .mew_slide_banner .swiper-slide {
    width: calc(100%/2 - 5px);
    margin-right: 10px; }
  .mew_cate .swiper-slide {
    width: calc(100%/10);
    margin-right: 10px; }
  .mew_blog .swiper-slide {
    width: calc(100%/3 - 10px);
    margin-right: 15px; } }

@media (min-width: 1280px) {
  .mew_flash .swiper-slide, .mew_product_main .swiper-slide, .mew_product_tab .swiper-slide {
    width: calc(100%/6 - 10px/6*5);
    margin-right: 10px; } }

@media (max-width: 767px) {
  .mew_flash .swiper-slide, .mew_product_main .swiper-slide, .mew_product_tab .swiper-slide {
    width: calc(100%/2 - 7.5px);
    margin-right: 15px; }
  .mew_cate_sl1 .swiper-slide {
    width: calc(100%/3.6); }
  .m_brand_slide .swiper-slide {
    width: calc(100%/4 - 7.5px);
    margin-right: 10px; }
  .m_trending .swiper-slide {
    width: calc(100%/1.8 - 7.5);
    margin-right: 15px; }
  .mew_cate .swiper-wrapper {
    flex-wrap: wrap; }
  .mew_cate .swiper-slide {
    width: calc(100%/5 - 10px);
    margin-right: 10px; }
  .mew_cate .tit {
    font-size: 12px;
    height: calc(18px* 2); } }

@media (max-width: 576px) {
  .mew_cate_sl1 .swiper-slide {
    width: calc(100%/3); }
  .m_brand_slide .swiper-slide {
    width: calc(100%/3 - 10px/3*2);
    margin-right: 10px; } }

@media (max-width: 480px) {
  .mew_cate .tit {
    font-size: 11px;
    line-height: normal;
    height: calc(13px* 2); } }

@media (max-width: 348px) {
  .mew_cate .tit {
    font-size: 10px;
    height: calc(12px* 2); } }

.mew_slide .mew_slide_p {
  bottom: 7px; }
  .mew_slide .mew_slide_p .swiper-pagination-bullet {
    background: #fff !important; }

.mew_slide .aspect .img {
  min-height: 100% !important; }

@media (min-width: 992px) {
  .banner-right-item.br-1 {
    margin-bottom: 12px; } }

@media (max-width: 991px) {
  .banner-right-item.br-1 {
    padding-right: 4px; }
  .banner-right-item.br-2 {
    padding-left: 4px; } }

@media (min-width: 992px) {
  .banner-bottom-slide .bb-1 {
    padding-right: 5px; }
  .banner-bottom-slide .bb-2 {
    padding-left: 5px; } }

@media (min-width: 768px) and (max-width: 991px) {
  .banner-bottom-slide .bb-1 {
    padding-right: 4px; }
  .banner-bottom-slide .bb-2 {
    padding-left: 4px; } }

@media (max-width: 767px) {
  .m_cate_slide .mc_prev, .m_cate_slide .mc_next {
    display: none !important; } }

.mew_poli .b_img {
  width: 56px; }
  @media (max-width: 565px) {
    .mew_poli .b_img {
      width: 46px; } }

.mew_poli .item_poli {
  max-width: 25%;
  min-width: 25%; }

.mew_poli .item_poli a:hover .tit {
  color: var(--mainColor); }

@media (max-width: 767px) {
  .mew_poli .mobi_poli {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; }
  .mew_poli .tit {
    font-size: 12px;
    height: calc(18px* 2); } }

@media (max-width: 480px) {
  .mew_poli .tit {
    font-size: 11px;
    line-height: normal;
    height: calc(13px* 2); } }

@media (max-width: 348px) {
  .mew_poli .tit {
    font-size: 10px;
    height: calc(12px* 2); } }

.b_mew_cate .mobi_cate {
  gap: 8px; }

.b_mew_cate .thumbs {
  max-width: 56px; }

.b_mew_cate .item_cate {
  transition: all 0.3s ease-in; }
  .b_mew_cate .item_cate:hover {
    background: #f8f9fa;
    color: #000; }

.b_mew_cate .noti {
  top: -4px;
  right: -5px;
  color: #dd2f2c;
  background: #ffced2;
  border-radius: 5px;
  padding: 0 3px;
  font-size: 12px; }

.b_mew_cate .sb_cate1 {
  bottom: 8px; }

@media (max-width: 575px) {
  .b_mew_cate .tit {
    font-size: 12px; } }

@media (max-width: 991px) {
  .scroll_mobi {
    overflow-x: auto;
    overflow-y: hidden; } }

#flash_sale .bg-flash {
  background: linear-gradient(var(--bg_fl_1) 0%, var(--bg_fl_2)); }

#flash_sale .cl_tit_fl a {
  color: var(--cl_tit_fl); }
  #flash_sale .cl_tit_fl a:hover {
    filter: contrast(1.5); }

#flash_sale .title img {
  max-height: 23px;
  vertical-align: -2px; }

#flash_sale .countdown-item {
  background: var(--bg_cd);
  padding: 5px;
  min-width: 36px;
  border: 2px solid; }

#flash_sale .bg_flash {
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  z-index: 0;
  border-radius: 10px; }

.sold-module {
  border-radius: 10px;
  background: var(--bg_sold);
  z-index: 1; }
  .sold-module.text-in {
    height: 20px; }
  .sold-module.text-out {
    height: 8px; }
  .sold-module img {
    left: 0px;
    bottom: 0px;
    width: 24px;
    z-index: 3; }
  .sold-module .sold {
    font-size: 12px;
    color: var(--cl_sold);
    z-index: 2;
    line-height: normal; }
    @media (max-width: 375px) {
      .sold-module .sold {
        font-size: 9px; } }
  .sold-module .remain {
    background: linear-gradient(to right, var(--bg_remain_1), var(--bg_remain_2));
    left: 0;
    top: 0;
    z-index: 1;
    border-radius: 10px; }
    .sold-module .remain:before {
      content: '';
      width: 100%;
      height: 100%;
      background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.25) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.25) 75%, transparent 75%, transparent);
      animation: progress_bar_fill 2s linear infinite;
      background-size: 30px 30px;
      position: absolute; }

@keyframes progress_bar_fill {
  0% {
    background-position: 0 0; }
  100% {
    background-position: 30px 0; } }

.mew_bts_cate {
  background: linear-gradient(90deg, var(--bg_trending_1) 0%, var(--bg_trending_2) 100%); }
  .mew_bts_cate.cl_tit_trending .title {
    color: var(--cl_tit_trending); }
  .mew_bts_cate .b_img {
    gap: 10px; }
    .mew_bts_cate .b_img .item {
      flex: 1;
      margin: 0 auto;
      max-width: 50%; }
  .mew_bts_cate .more_pr {
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.3);
    font-size: 25px; }
  .mew_bts_cate .b_inf .tit {
    font-size: 17px; }
  .mew_bts_cate .b_inf svg {
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 12px;
    background: #f8f8f8;
    fill: #9d9d9d;
    transition: 0.3s all ease;
    will-change: transform; }
  .mew_bts_cate .item_cate:hover svg {
    fill: var(--mainColor);
    right: -2px; }

.view_mores:hover {
  box-shadow: 0 0px 2px 0 var(--mainColor), 0 0px 6px 0px var(--mainColor); }

.b_product {
  gap: 15px; }

.b_product_5_1 .product-item .item-title a, .b_product_5_2 .product-item .item-title a {
  font-size: 0.9rem; }

.b_product_5_1 .swiper-button-next,
.b_product_5_1 .swiper-button-prev, .b_product_5_2 .swiper-button-next,
.b_product_5_2 .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%); }

.mew_reviews .m_people .jt {
  font-size: 16px;
  max-width: 900px;
  margin: 0 auto; }

.mew_reviews .m_people .name {
  color: var(--mainColor); }

.mew_reviews .m_people .i_fm {
  width: 80px;
  height: 80px; }

.mew_reviews .m_people .imga {
  gap: 12px; }
  .mew_reviews .m_people .imga img {
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--mainColor); }

.mew_reviews .swiper-container .swiper-pagination-bullet:before {
  background: var(--mainColor); }

.mew_peo_p {
  top: 18px;
  right: 18px; }
  .mew_peo_p .swiper-pagination-bullet {
    margin: 0 1px;
    opacity: 0.7 !important; }
  .mew_peo_p .swiper-pagination-bullet-active {
    width: 16px !important;
    opacity: 1 !important; }

.mew_video_index .title {
  background-image: var(--bgVideo); }
  .mew_video_index .title:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.4;
    background: linear-gradient(210deg, var(--bgVideoCl), var(--bgVideoCls)); }

.head_box {
  gap: 5px; }
  .head_box .list_link_pr {
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    max-width: 100%; }
    .head_box .list_link_pr a {
      padding: 5px 10px;
      font-size: 13px;
      white-space: nowrap; }
      .head_box .list_link_pr a:hover {
        background: #fff;
        color: var(--mainColor);
        border-color: var(--mainColor) !important; }

.view_more_blog a {
  border: 1px solid var(--mainColor);
  color: var(--mainColor); }
  .view_more_blog a:hover {
    background: var(--mainColor);
    color: #fff; }

countdown-sale {
  display: block; }
  countdown-sale .sold-wait, countdown-sale .waitsale-text, countdown-sale .endsale-text, countdown-sale .esl {
    display: none; }
  countdown-sale.event-end .cd-clock {
    display: none; }
  countdown-sale.event-end .sold-on {
    display: none !important; }
  countdown-sale.event-end .sold-wait {
    display: flex !important; }
    countdown-sale.event-end .sold-wait .endsale-text {
      display: flex !important; }
  countdown-sale.event-end .special-price, countdown-sale.event-end .label-sale {
    color: #838383 !important; }
  countdown-sale.event-end .end-sale-label:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.5;
    z-index: 1; }
  countdown-sale.event-end .esl {
    display: block;
    z-index: 2; }
  countdown-sale.event-wait .sold-on {
    display: none !important; }
  countdown-sale.event-wait .sold-wait {
    display: flex !important; }
    countdown-sale.event-wait .sold-wait .waitsale-text {
      display: flex !important; }
  countdown-sale.event-on .sold-wait {
    display: none !important; }

[data-tab-main] .tabs-title-sale {
  gap: 8px;
  background: var(--bg_cd);
  max-width: 700px; }

[data-tab-main] .cd-box {
  display: flex;
  justify-content: center;
  align-items: center; }

[data-tab-main] [data-tab-link] {
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  color: var(--cl_tit_cd);
  width: 50%;
  border: 1px solid var(--bg_cd); }
  [data-tab-main] [data-tab-link]:only-child {
    width: 100%; }
  [data-tab-main] [data-tab-link].active {
    border: 1px solid var(--bg_cd_active);
    background: var(--bg_cd_active);
    color: var(--cl_tit_cd_active); }

[data-tab-main] [data-tab-content] {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden; }
  [data-tab-main] [data-tab-content].active {
    opacity: 1;
    visibility: visible;
    height: auto;
    padding: 0px; }

html {
  scroll-behavior: smooth; }

/* ===== PRICE BANNER ===== */
.price-banner-container {
  display: flex;
  align-items: center;
  width: 100%;
  height: 42px;
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
  background: #eafaf7; }

/* ===== GIÁ (NỀN XANH) ===== */
.price-section {
  flex: 1;
  background: linear-gradient(135deg, #1abc9c 0%, #00e1c6 100%);
  color: #fff;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-radius: 8px 0 0 8px; }

/* ===== ICON SẤM SÉT ===== */
.price-section::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 0;
  width: 36px;
  height: 100%;
  background: url("https://cdn.hstatic.net/files/200000710561/file/flashsale__1_.svg") no-repeat center;
  background-size: 28px;
  z-index: 3; }

/* ===== GIẢM GIÁ (%) ===== */
.discount-section {
  width: 60px;
  height: 100%;
  background: #adadad;
  /* xanh đậm như hình */
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  border-radius: 0 8px 8px 0;
  z-index: 2; }

.product-item {
  min-height: 100%;
  padding-bottom: 30px;
  /* tạo khoảng thở dưới */ }

/* Tạo khoảng cách dưới price banner */
.item-price {
  margin-bottom: 8px; }

/* Chừa chỗ cho nút Buy / Compare ở đáy card */
.product-item .item-info {
  padding-bottom: 44px; }

.brand-name {
  opacity: 0.6; }

/* ===== TEXT ===== */
.current-price {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1; }

.old-price-small {
  font-size: 11px;
  color: #e9fdf8;
  /* trắng xanh, nổi trên nền xanh */
  font-weight: 500; }

.old-price-small del {
  color: rgba(255, 255, 255, 0.6); }

/* ===== RESPONSIVE ===== */
@media (max-width: 576px) {
  .price-banner-container {
    height: 38px; }
  .current-price {
    font-size: 13px; }
  .old-price-small {
    font-size: 10px; }
  .discount-section {
    width: 52px;
    font-size: 12px; }
  .price-section::after {
    background-size: 22px;
    right: -14px; } }

/* KC-FLASH-PRICE-MOBILE: on phones the price was cut off; narrower % box (52px -> 30px) and smaller lightning give the price room. */
@media (max-width: 576px) {
  .price-section {
    min-width: 0;
    padding: 5px 10px 5px 8px !important; }
  .current-price {
    font-size: 12px;
    white-space: nowrap;
    letter-spacing: -.2px; }
  .old-price-small {
    white-space: nowrap; }
  .discount-section {
    flex: none;
    width: 30px;
    padding-left: 6px;
    font-size: 10px;
    letter-spacing: -.3px; }
  .price-section::after {
    width: 16px;
    right: -8px;
    background-size: 13px; } }

/* KC-HOME-TAB (2026-11-16): "Gợi ý cho bạn" (snippets/m_tab_main.liquid) on phones: tabs become one row of scrollable chips
   (were 120px boxes that wrapped "Lens Accessories" and hid the 4th tab), the cart button sits beside the price instead of on
   its own row, and the dead swiper arrows (not wired to this slider) are hidden. */
@media (max-width: 767px) {
  .m_tab .tab_link {
    gap: 8px;
    padding: 10px;
    scrollbar-width: none;
    scroll-snap-type: x proximity; }
  .m_tab .tab_link::-webkit-scrollbar {
    display: none; }
  .m_tab .tab_link [data-tab-pos] {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 34px;
    padding: 6px 14px !important;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600 !important;
    color: #435857;
    background: #fff;
    border: 1px solid #d6e3e2 !important;
    border-radius: 999px;
    scroll-snap-align: start; }
  .m_tab .tab_link [data-tab-pos].active {
    background: var(--mainColor) !important;
    color: #fff !important;
    border-color: var(--mainColor) !important; }
  .m_tab .mm_prev, .m_tab .mm_next {
    display: none !important; }
  .m_tab .product-item {
    padding-bottom: 0; }
  .m_tab .product-item .item-price {
    min-height: 32px;
    margin-bottom: 0;
    padding-right: 40px;
    justify-content: center; }
  .m_tab .product-item .product-item_form {
    bottom: 8px;
    right: 8px; } }

/* KC-HOME-FLASH (2026-11-16): Flash Sale (snippets/m_product.liquid) on phones: countdown on one line in a slim pill
   (was "Chỉ còn:" over the time, 68px tall), cart button floats on the photo's bottom-right corner instead of taking
   its own row under the price, the side arrow that covered the 2nd card is hidden (swipe + scrollbar remain). */
@media (max-width: 767px) {
  #flash_sale .tabs-title-sale {
    margin-bottom: 10px; }
  #flash_sale .tabs-title-sale [data-tab-link] {
    padding: 7px 16px !important; }
  #flash_sale .cd-box {
    flex-direction: row !important;
    gap: 6px;
    font-size: 14px;
    line-height: 1.3; }
  #flash_sale .cd-title {
    margin: 0 !important; }
  #flash_sale .cd-clock {
    font-weight: 700;
    font-variant-numeric: tabular-nums; }
  #flash_sale .mf_prev, #flash_sale .mf_next {
    display: none !important; }
  #flash_sale .product-item {
    padding-bottom: 0; }
  #flash_sale .product-item .item-info {
    position: relative !important; }
  #flash_sale .product-item .item-price {
    margin-bottom: 0; }
  #flash_sale .product-item .product-item_form {
    top: -40px !important;
    bottom: auto !important;
    right: 8px !important; }
  #flash_sale .product-item .product-item_form .btn {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18); }
  #flash_sale .discount-section {
    flex: 0 0 44px;
    width: 44px;
    font-size: 12px; }
  #flash_sale .price-section {
    padding: 6px 12px 6px 8px !important;
    min-width: 0; }
  #flash_sale .price-section::after {
    right: -10px;
    width: 20px;
    background-size: 18px; } }

@media (max-width: 359px) {
  #flash_sale .current-price {
    font-size: 13px; }
  #flash_sale .price-section::after {
    display: none; }
  /* no room for the bolt beside the price on 320px phones */ }

/* KC-HOME-CATE (2026-11-16): homepage category grid (snippets/m_cate_1.liquid). Column count is set in mew_index_speed.js
   (items / 2). Phones: smaller icons and text so 4.5 columns fit and the next column peeks out. */
.b_mew_cate .item_cate .tit {
  line-height: 1.35; }

@media (min-width: 768px) {
  .b_mew_cate .thumbs {
    max-width: 72px; } }

@media (min-width: 992px) {
  .b_mew_cate .thumbs {
    max-width: 88px;
    margin-bottom: 8px !important; }
  .b_mew_cate .item_cate {
    padding: 14px 8px !important; } }

@media (min-width: 1200px) {
  .b_mew_cate .thumbs {
    max-width: 104px; }
  .b_mew_cate .tit {
    font-size: 15px; } }

@media (max-width: 767px) {
  .b_mew_cate .mew_cate_sl1 {
    padding-bottom: 18px !important; }
  .b_mew_cate .item_cate {
    padding: 8px 4px !important; }
  .b_mew_cate .thumbs {
    max-width: 40px;
    margin-bottom: 5px !important; }
  .b_mew_cate .tit {
    font-size: 12px; } }

/* KC-HOME-PTAB (2026-11-16): homepage product blocks m_product_1..3 (custom-tab + snippets/m_headbox.liquid). Title never
   shrinks; tabs are pill chips, active one filled. Desktop: tabs wrap (all visible). Below 992px: one scrollable row, right fade. */
custom-tab .head_box {
  gap: 10px 20px; }

custom-tab .head_box > :first-child {
  flex: 0 0 auto;
  white-space: nowrap; }

custom-tab .head_box .list_link_pr {
  min-width: 0;
  gap: 8px;
  padding-bottom: 0 !important;
  scrollbar-width: none;
  scroll-snap-type: x proximity; }

custom-tab .head_box .list_link_pr::-webkit-scrollbar {
  display: none; }

custom-tab .head_box .list_link_pr a {
  min-height: 34px;
  padding: 6px 14px !important;
  font-weight: 600;
  color: #435857;
  background: #fff;
  border: 1px solid #d6e3e2 !important;
  border-radius: 999px !important;
  scroll-snap-align: start;
  transition: background .2s, color .2s, border-color .2s; }

custom-tab .head_box .list_link_pr a.active {
  background: var(--mainColor) !important;
  color: #fff !important;
  border-color: var(--mainColor) !important; }

@media (min-width: 992px) {
  custom-tab .head_box .list_link_pr {
    flex-wrap: wrap;
    justify-content: flex-end;
    overflow: visible; } }

@media (max-width: 991px) {
  custom-tab .head_box .list_link_pr {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    padding-right: 28px; } }
