/* ============================================================
   main.css — Hoa Anh Đào (mọi trang front-end). Mốc chia chính: 768px (mobile < 768 <= desktop).

   QUY ƯỚC
   - Thứ tự quan trọng: nhóm A là nền cũ, nhóm B/C ghi đè lên A. Thêm luật mới vào đúng mục của nó
     trong nhóm B (thành phần dùng chung) hoặc C (riêng một trang), không thêm vào nhóm A.
   - Mọi @font-face có font-display:swap (chữ hiện ngay bằng font dự phòng trong lúc tải font).
   - Đầu mỗi mục ghi trang / view dùng nó (nếu có); sửa view thì xem lại mục tương ứng.

   MỤC LỤC
   A. NỀN — CSS GỐC CỦA BẢN MOBILE / DESKTOP CŨ VÀ CÁC LỚP CO GIÃN (giữ đứng đầu: các mục sau ghi đè lên đây)
       1. NỀN MOBILE (<768px)
       2. NỀN DESKTOP (>=768px)
       3. GHI ĐÈ CO GIÃN — chỉ áp dưới 1170px, từ 1170px trở lên giữ nguyên
       4. RESPONSIVE CHO MARKUP DESKTOP Ở KHỔ HẸP
   B. DÙNG CHUNG — thành phần có trên nhiều trang
       5. LỀ HAI BÊN Ở KHỔ HẸP — TRANG CHỦ VÀ TRANG BLOG
       6. MENU THẢ XUỐNG DANH MỤC / THƯƠNG HIỆU (header >=768px)
       7. MENU DANH MỤC Ở HEADER (>=768px) — nút ba gạch + bảng danh mục
       8. MENU TRƯỢT Ở KHỔ MOBILE (#mySidenav, <768px)
       9. BREADCRUMB "Trang chủ › …" — MỘT KIỂU, MỘT VỊ TRÍ CHO MỌI TRANG
      10. NÚT "XEM TẤT CẢ" (.see_more) — trang chủ, chi tiết bài viết, chi tiết sản phẩm
      11. NÚT "XEM THÊM SẢN PHẨM" (.seeMore)
      12. PHÂN TRANG Ở KHỔ MOBILE
      13. THANH CÔNG CỤ GỘP Ở KHỔ HẸP (.lt-panel) — danh sách bài viết, Clinic & Spa
      14. THANH LỌC (.filter-wp) VÀ CỘT DANH MỤC (aside.filter.filter-simple)
      15. GIỮ CHỖ CHO CAROUSEL TRƯỚC KHI OWL KHỞI TẠO (chỉ hiệu năng, chống CLS)
      16. MŨI TÊN OWL (.owl-prev / .owl-next) MÀU HỒNG — mọi trang
      17. TÊN SẢN PHẨM TRÊN THẺ — CẮT 2 DÒNG, CÓ DẤU "…"
      18. THẺ SẢN PHẨM DÙNG CHUNG (.pcard) — mọi trang
      19. THẺ BÀI VIẾT DÙNG CHUNG (.post-card) — trang chủ, /lam-dep, danh mục bài viết
      20. FOOTER CHUNG (.site-footer) — mọi khổ
   C. THEO TRANG
      21. TRANG CHỦ (mọi khổ)
      22. "MUA THEO DANH MỤC" (trang chủ) — KHUNG ẢNH CỐ ĐỊNH, THẺ CAO ĐỀU
      23. TRANG DANH SÁCH SẢN PHẨM (danh mục, thương hiệu) — DẢI LOGO THƯƠNG HIỆU
      24. TRANG DANH SÁCH SẢN PHẨM — NÚT "DANH MỤC & BỘ LỌC" DƯỚI 768px
      25. CHI TIẾT SẢN PHẨM — KHỐI THÔNG TIN BÊN PHẢI ẢNH (.desProduct)
      26. KHỐI "DÀNH RIÊNG CHO BẠN" (.detailProduct-relate) - dùng cùng cách xếp flex như khổ mobile (mục
      27. TRANG THƯƠNG HIỆU A–Z (/thuong-hieu.html)
      28. DẢI BÀI VIẾT ĐẦU TRANG (.content_list-slider)
      29. DẢI BÀI VIẾT ĐẦU TRANG BLOG Ở KHỔ HẸP + KHOẢNG CÁCH TIÊU ĐỀ "BLOGS"
      30. DANH SÁCH BÀI VIẾT (/lam-dep/, /lam-dep/<chuyên mục>) — LƯỚI THẺ .post-card (mục 19)
      31. ĐẦU TRANG BLOGS (.blog-hero) — /lam-dep và trang danh mục bài viết
      32. BÀI VIẾT / TRANG GIỚI THIỆU — LỀ TRÁI PHẢI CÂN ĐỐI
      33. CHI TIẾT BÀI VIẾT (/lam-dep/<chuyên mục>/<bài>.html) — TRÌNH BÀY LẠI
      34. TRANG CLINIC & SPA (/clinic-spa.html) — LƯỚI THẺ DỊCH VỤ ĐỀU NHAU
      35. CHI TIẾT DỊCH VỤ CLINIC & SPA (/dich-vu-cham-soc-da-co-ban/...)
      36. TRANG ĐĂNG NHẬP (/dang-nhap.html) — THẺ ĐĂNG NHẬP
      37. TRANG ĐĂNG KÝ (/dang-ky.html) — cùng kiểu thẻ với trang đăng nhập (mục 36)
      38. TRANG NHẬP MÃ XÁC NHẬN (/nhap-ma-xac-nhan) — cùng kiểu thẻ đăng nhập (mục 36)
      39. TRANG QUÊN MẬT KHẨU (/quen-mat-khau.html) — dùng lại thẻ nhập mã (mục 38),
      40. TRANG ĐẶT HÀNG (/dat-hang/) — FORM GIAO HÀNG, HÓA ĐƠN, NÚT HOÀN TẤT
      41. TRANG ĐẶT HÀNG THÀNH CÔNG (/thank.html) — THẺ CHÚC MỪNG + CHI TIẾT ĐƠN
   ============================================================ */

/* ############################################################
   A. NỀN — CSS GỐC CỦA BẢN MOBILE / DESKTOP CŨ VÀ CÁC LỚP CO GIÃN (giữ đứng đầu: các mục sau ghi đè lên đây)
   ############################################################ */

/* ============================================================
   1. NỀN MOBILE (<768px) — CSS gốc bản mobile cũ (assets/mobi/css/style2.css), bọc @media (max-width: 767px)
   Đã bỏ các rule cho phần tử không còn tồn tại; phần còn lại giữ nguyên thứ tự.
   ============================================================ */

@media (max-width: 767px) {
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-regular-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-regular-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-regular-webfont.ttf) format("truetype");font-weight:400;font-style:normal}
@font-face{font-display:swap;font-family:"Roboto Condensed";src:url(../../fonts/roboto/robotocondensed-regular-webfont.woff2) format("woff2"),url(../../fonts/roboto/robotocondensed-regular-webfont.woff) format("woff"),url(../../fonts/roboto/robotocondensed-regular-webfont.ttf) format("truetype");font-weight:400;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-italic-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-italic-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-italic-webfont.ttf) format("truetype");font-weight:400;font-style:italic}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-bold-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-bold-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-bold-webfont.ttf) format("truetype");font-weight:700;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-bolditalic-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-bolditalic-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-bolditalic-webfont.ttf) format("truetype");font-weight:700;font-style:italic}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-medium-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-medium-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-medium-webfont.ttf) format("truetype");font-weight:500;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-mediumitalic-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-mediumitalic-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-mediumitalic-webfont.ttf) format("truetype");font-weight:500;font-style:italic}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-light-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-light-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-light-webfont.ttf) format("truetype");font-weight:300;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-lightitalic-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-lightitalic-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-lightitalic-webfont.ttf) format("truetype");font-weight:300;font-style:italic}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-black-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-black-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-black-webfont.ttf) format("truetype");font-weight:900;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-blackitalic-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-blackitalic-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-blackitalic-webfont.ttf) format("truetype");font-weight:900;font-style:italic}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-thin-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-thin-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-thin-webfont.ttf) format("truetype");font-weight:100;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-thinitalic-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-thinitalic-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-thinitalic-webfont.ttf) format("truetype");font-weight:100;font-style:italic}
@font-face{font-display:swap;font-family:Avo;src:url(../../fonts/utm_avo/UTM_Avo.ttf);font-weight:400}
@font-face{font-display:swap;font-family:Avo;src:url(../../fonts/utm_avo/UTM_AvoBold.ttf);font-weight:700}
@font-face{font-display:swap;font-family:OpenSans;src:url(../../fonts/open-sans/OpenSans-Regular.ttf);font-weight:400}
@font-face{font-display:swap;font-family:OpenSans;src:url(../../fonts/open-sans/OpenSans-Semibold.ttf);font-weight:500}
@font-face{font-display:swap;font-family:OpenSans;src:url(../../fonts/open-sans/OpenSans-Light.ttf);font-weight:300}
@font-face{font-display:swap;font-family:Myriad Semibold;src:url(../../fonts/myriad/MYRIADPRO-SEMIBOLD.woff2) format("woff2"),url(../../fonts/myriad/MYRIADPRO-SEMIBOLD.woff);font-weight:normal;font-style:normal}

html{-webkit-text-size-adjust:100%}
*{-webkit-overflow-scrolling:touch}
body{margin:0;padding:0;font-family:Helvetica,Arial,sans-serif;font-size:11pt;color:#636466;transition:background-color .5s}
body,input,button,option,textarea,label,legend,h1,h2,h3,h4,h5,h6,h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{color:#444;font:13px/20px Roboto,Helvetica,Arial,sans-senif;outline:medium none}
input{display:block;background:#fff}
h1,h2,h3,h4,h5,h6,figure,ul,li{padding:0;margin:0}
ul,li{padding:0;margin:0;list-style:none}
a{text-decoration:none;color:#333}
a:hover{color:#636466}
.flex_box_row{display:flex;flex-direction:row}
.article_search::before {
    content: "\f002";
    font-family: FontAwesome;
    color: #4E4E4E;
    font-size: 16px;
}
.article_search {
        border: medium none;
    cursor: pointer;
    float: right;
    height: 32px;
    position: absolute;
    width: 32px;
    z-index: 0;
    background: 0 0;
    right: 5px;
    top: 5%;

}
.item_genki .title{position: relative;}
.item_genki .title:after {
        content: "";
    background: #575050;
    width: 60%;
    height: 1px;
    position: absolute;
    bottom: -2px;
    left: 21%;

}
figure{margin:0}
.swal2-title{font-weight:400!important;line-height:25pt!important;font-size:20pt}
.swal2-content{font-family:Opensans;font-weight:300}
@media all and (min-width: 320px) {
body{padding-top:97px}
.nav-up{top:-97px}
header{height:95px;position:fixed;top:0;transition:top .2s ease-in-out;width:100%;background:#fff;background:rgba(255,255,255,.97);border-bottom:1px solid #f5f5f5;z-index:99999}
header .topBar{color:#fff;background-image: linear-gradient(to right,#ECEEED,#EDEFEE);;cursor:pointer}
header .topBar i{font-size:13pt}
header .topBar p{margin:0;padding:5px 0;text-align:center;font-weight:700;font-size: 11px;color: #040605;}
header .mainMenu{margin:10px 0}
header .mainMenu .flex_box_row .item{padding:0 5px;text-align:center;cursor:pointer;}
header .mainMenu .flex_box_row .item i{font-size:16pt}
header .mainMenu .flex_box_row .item svg{width:24px;height:24px;display:block;margin:auto;color:#000}
header .mainMenu .flex_box_row .item .title{font-size:8pt;line-height:20px}
header .mainMenu .flex_box_row .logo{flex-grow:1;margin:0;padding:0}
header .mainMenu .logo img{width:50px}
header .mainMenu .flex_box_row{align-items:center}
header .mainMenu #numProInCart{pointer-events:none;position:absolute;top:35px;background:#ff3200;color:#fff;border-radius:50px;width:20px;height:20px;padding:0;right:10px;font-weight:700;font-size:8pt;text-align:center}
.sidenav{height:100%;width:0;position:fixed;z-index:9999;top:0;left:0;background-color:#fff;overflow-y:scroll;overflow-x:hidden;transition:.3s;padding-top:0;max-width:100%}
.sidenav a{transition:.3s}
.menu-mobile-header {
    position: sticky;
    top: 0;
    z-index: 2;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 12px;
    padding: 0 20px;
    background: #E5E5E5;
}
.menu-mobile-search-input {
    width: 100%;
    border-radius: 100px;
    border: solid 1px #ebebeb;
    background-color: #fff;
    padding: 0 12px;
    display: flex;
    align-items: center;
}
.mobile-search-input {
    width: 100%;
    height: 30px;
    outline: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    font-size: 14px;
    line-height: 1.43;
    font-weight: 400;
}
.closebtn{color: #fff;
    font-size: 27px;}
.closebtn:hover{color:#fff}
header .searchMain{position:absolute;z-index:10000;top:0;left:0;right:0;background:#fff;bottom:0;display:none;width:100vw;height:150vh;background-color:hsla(0,0%,100%,.97)}
header .searchMain .topBox{padding:8px;background: #a5a5a5;}
header .searchMain .searchInput{flex-grow:1;border-radius:5px;margin-right:10px;background:#fff;align-items:center}
header .searchMain .searchInput input{flex-grow:1;border:none;background:none;font-size:11pt;text-indent:0;margin:0;padding:0}
header .searchMain .searchInput i{font-size:12pt;padding:0 12px}
header .searchMain .btnCancel{line-height:37px;color:#fff;font-size:10pt;cursor:pointer}
nav .group{border-bottom:1px solid #e6e6e6;max-width:450px;margin:auto;padding:0 20px}
nav .group:last-child{border-bottom:none}
nav .group ul{margin-left:20px}
nav .group .title{font-weight:700;padding:12px 0;text-transform:uppercase;color:#000}
nav .group .title i{float:right}
nav .group ul li{padding:10px 0}
nav .group ul li:first-child{padding-top:0}
nav .menuLv2{display:none}
header .listAutoComplete .all{overflow-y:scroll;height:70vh;box-shadow:0 5px 15px 0 #e5e5e5;padding:10px 25px}
header .listAutoComplete li{border-bottom:1px solid #e6e6e6;padding:5px 0}
header .listAutoComplete li a{font-size:10pt;color:#636466}
header .listAutoComplete li a:hover{color:#ed4596}
header .listAutoComplete li.title{font-weight:500;color:#555;margin-top:15px;text-transform:uppercase;font-size:10.5pt;font-family:OpenSans}
header .listAutoComplete li.title span{text-transform:none;font-weight:300;display:none}
header .listAutoComplete ul:first-child li.title{margin-top:0}
section .groupPrice .priceBig{font-size:13pt;font-weight:300;position:relative}
section .groupPrice .priceFinal{color: #E52558;font-weight: bold;}
section .groupPrice .priceDiscount{position:relative}
section .groupPrice .linethow{text-decoration:line-through;color:#999}
.list_image_detail{position:relative}
.list_image_detail .downPercent{position: absolute;top: 0;color: #ffff;font-size: 17px;text-align: center;padding: 5px 0;width: 48px;z-index: 100;background: #FB1D56;left: 22px;font-weight: bold;border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;}
.list_image_detail .downPercent:after{content:"";width:0;height:0;left:0;bottom:-8px;position:absolute;}
.buy1get1free{position:absolute;top:17px;right:5px;background:rgba(255,212,36,.9);color:#ee4d2d;font-size:7pt;text-align:center;padding:2px 0;width:36px;font-weight:700;font-family:Arial;z-index:2;animation-name:buy1get1free;animation-duration:2s;animation-iteration-count:infinite}
.buy1get1free:after{content:"";width:0;height:0;left:0;bottom:-8px;border-style:solid;position:absolute;border-width:0 18px 8px;border-color:transparent rgba(255,212,36,.9)}
}
@keyframes buy1get1free {
0%{color:red}
50%{color:#fff}
100%{color:red}
}
.banner_header_product{text-align:center;z-index:1;position:absolute;left:0}
.promotion_limited{font-weight:700;text-align:center;font-family:Roboto;font-size:14px;overflow:hidden;background:linear-gradient(90deg,red,yellow,red);background-size:60%;animation:animate 3s linear infinite;-webkit-background-clip:text;-webkit-text-fill-color:rgba(255,255,255,0);margin-top:0}
@keyframes animate {
0%{background-position:-500%}
100%{background-position:100%}
}
.header_large{width:100%;left:0;}
.header_small{width:100%;} .title_brand{font-family: Myriad Semibold;color: #333;text-align: center;font-size: 15px;}
section#promotion .bannerFull{line-height:12px}
section#promotion .bannerFull img{max-width:100%}
section#promotion .container{background:#fff;margin:15px auto;max-width:95%}
section#promotion .listProduct li{display:inline-block;width:45%;vertical-align:top;cursor:pointer;margin:35px 2%}
section#promotion .listProduct li figure{text-align:center}
section#promotion .listProduct li figure img{height:200px}
section#promotion .listProduct li .price{font-weight:700;margin:5px 0}
section#promotion .listProduct li h2{margin:5px 0;font-size:11pt;min-height:40px}
section#promotion .listProduct li .price .dl{text-decoration:line-through;color:#999;font-weight:400}
section#promotion .listProduct li .btnAddCart{border:1px solid #717476;text-align:center;padding:5px;font-size:10pt;text-transform:uppercase}
section#promotion .listProduct li:hover .btnAddCart{border-color:#ef4679;color:#ef4679}
section#promotion .ckProduct{margin:auto}
section#promotion .ckProduct .deCk{display:flex;float:none;margin:10px auto;align-items:center;max-width:425px}
section#promotion .ckProduct .deCk .ttCK{line-height:20px;width:100%;font-size:10pt}
footer{border-top:5px solid #f5f5f5;margin-top:25px;background: #F3F3F3;}
footer .listLink{text-align:center;max-width:580px;margin:30px auto 20px}
footer .listSocial li{display:inline-block;margin:0 10px}
footer .listSocial li i{color:#fff;font-size:15pt}
footer .listInfo{max-width:580px;margin:auto}
footer .listInfo .lv1{background:#f5f5f5;border-bottom:1px solid #fff;min-height:55px;line-height:55px}
footer .listInfo a{align-items:center}
footer .listInfo a span{flex-grow:1}
footer .listInfo svg{width:20px;padding:15px 25px}
footer .listInfo a i{padding-right:25px}
footer .listInfo .lv1 .lv2{background:#fff;padding-left:70px;display:none}
footer .backTop i{font-weight:700;font-size:18pt}
footer .backTop{text-align:center;cursor:pointer;color:#e90b5a;font-weight:700}
.hotline-phone-ring-wrap{position:fixed;bottom:0;left:0;z-index:999999}
.hotline-phone-ring{position:relative;visibility:visible;background-color:transparent;width:110px;height:110px;cursor:pointer;z-index:11;-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);transition:visibility .5s;left:0;bottom:0;display:block}
.hotline-phone-ring-circle{width:85px;height:85px;top:10px;left:10px;position:absolute;background-color:transparent;border-radius:100%;border:2px solid #e60808;-webkit-animation:phonering-alo-circle-anim 1.2s infinite ease-in-out;animation:phonering-alo-circle-anim 1.2s infinite ease-in-out;transition:all .5s;-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%;opacity:.5}
.hotline-phone-ring-circle-fill{width:55px;height:55px;top:25px;left:25px;position:absolute;background-color:#ef4679;border-radius:100%;border:2px solid transparent;-webkit-animation:phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;animation:phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;transition:all .5s;-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%}
.hotline-phone-ring-img-circle{background-color:#ef4679;width:33px;height:33px;top:37px;left:37px;position:absolute;background-size:20px;border-radius:100%;border:2px solid transparent;-webkit-animation:phonering-alo-circle-img-anim 1s infinite ease-in-out;animation:phonering-alo-circle-img-anim 1s infinite ease-in-out;-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;align-items:center;justify-content:center}
.hotline-phone-ring-img-circle .pps-btn-img{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}
.hotline-phone-ring-img-circle .pps-btn-img img{width:20px;height:20px}
.hotline-bar{position:absolute;background:#ef4679;height:40px;width:150px;line-height:40px;border-radius:3px;padding:0 10px;background-size:100%;cursor:pointer;transition:all .8s;-webkit-transition:all .8s;z-index:9;box-shadow:0 14px 28px rgba(0,0,0,0.25),0 10px 10px rgba(0,0,0,0.1);border-radius:50px!important;left:33px;bottom:37px;display:none}
.hotline-bar > a{color:#fff;text-decoration:none;font-size:15px;font-weight:700;text-indent:50px;display:block;letter-spacing:1px;line-height:40px;font-family:Arial}
.hotline-bar > a:hover,.hotline-bar > a:active{color:#fff}
@-webkit-keyframes phonering-alo-circle-anim{0%{-webkit-transform:rotate(0) scale(0.5) skew(1deg);-webkit-opacity:.1}30%{-webkit-transform:rotate(0) scale(0.7) skew(1deg);-webkit-opacity:.5}100%{-webkit-transform:rotate(0) scale(1) skew(1deg);-webkit-opacity:.1}}@-webkit-keyframes phonering-alo-circle-fill-anim{0%{-webkit-transform:rotate(0) scale(0.7) skew(1deg);opacity:.6}50%{-webkit-transform:rotate(0) scale(1) skew(1deg);opacity:.6}100%{-webkit-transform:rotate(0) scale(0.7) skew(1deg);opacity:.6}}@-webkit-keyframes phonering-alo-circle-img-anim{0%{-webkit-transform:rotate(0) scale(1) skew(1deg)}10%{-webkit-transform:rotate(-25deg) scale(1) skew(1deg)}20%{-webkit-transform:rotate(25deg) scale(1) skew(1deg)}30%{-webkit-transform:rotate(-25deg) scale(1) skew(1deg)}40%{-webkit-transform:rotate(25deg) scale(1) skew(1deg)}50%,
100%{-webkit-transform:rotate(0) scale(1) skew(1deg)}}
a,.add_cart,.owl-buttons div{transition:all .2s ease 0s}
a{text-decoration:none;color:#444}
ul{list-style:none}
a.cart{background-position:left 0 top -32px;float:right}
.container{clear:both;margin:auto;color:#000}
section{margin:auto;max-width:640px;width:100%;overflow:hidden}
aside.banner{    clear: both;
    margin-top: 10px;
    overflow: hidden;
    width: 97%;
    padding: 0px 6px;}
.aside.banner .owl-controls{display:table}
aside.banner .sl{clear:both;display:block}
.searchAjaxTop,.searchAjaxTopBt{background:none repeat scroll 0 0 #FFF;border:1px solid #ececec;box-shadow:0 1px 3px rgba(204,204,204,0.5);clear:both;margin-top:0;overflow:hidden;position:absolute;width:563px;z-index:10;display:none}
.searchAjaxTopBt a,.searchAjaxTopBt span{color:#444!important}
.searchAjaxTop ul,.searchAjaxTopBt ul{padding:0;margin:0;list-style:none}
.searchAjaxTop ul li,.searchAjaxTopBt ul li{height:25px;line-height:25px;padding-left:5px}
.searchAjaxTop ul li.le,.searchAjaxTopBt ul li.le{background:#F6F6F6;color:#555}
.searchAjaxTop ul li:hover,.searchAjaxTopBt ul li:hover{background:#d5e8f4;cursor:pointer;color:#d6392b}
.searchAjaxTop ul li a,.searchAjaxTopBt ul li a{float:left;height:25px;overflow:hidden;padding-right:10px;width:440px}
.searchAjaxTop ul li span,.searchAjaxTopBt ul li span{float:right;padding-right:5px;text-align:right}
.searchAjaxTop ul li a:hover,.searchAjaxTopBt ul li a:hover{color:#d7042b}
.menuRight{background:rgba(0,0,0,.75);box-shadow:0 1px 2px rgba(0,0,0,0.2);position:fixed;top:64px;width:100%;z-index:99999;border-top:1px solid #ccc;display:none;height:100%}
nav{background:#fff}
.menuRight a:hover{color:#333}
.menuHiden{padding-left:20px;display:none}
.menuHiden ul li{padding-top:5px;padding-bottom:5px}
.price_cgg{color:#ef4679;}
.price{display: flex;flex-direction: column;height: 25px;}
aside.slider_row{clear:both;position:relative}
.line-before, .line-after {content: "";position: absolute;top: 50%;border: 1px solid #e5e5e5;width: 21%;}
.line-before {left: 6px;}
.line-after {right: 5px;}
.menuHidenth{width:800px!important;margin-left:-600px!important}
.menuHidenth li{width:150px!important;float:left;height:22px}
.menuHidenth li a{font-weight:400!important;font-size:13px!important}
.slider_row .baner_row{clear:both;display:block;height:auto;width:100%}
.item-buy-category p {border-top: 2px solid #e5e5e5;padding: 10px 0px 10px 0px;background: #e5e5e5;margin-bottom: 0;font-size: 16px;color: #343434;}
.price{font:400 15px/22px Helvetica,Arial,sans-senif}
sup{top:-.5em}
sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
.lc__section-review {
    color: #767979;
}
.u-flex {
    display: flex;
    align-items: center;
}
.box-title {
    font-size: 20px;
    padding: 10px;
}
.badge {
        display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 61%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 3px;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background: #FE1D55;
    color: #fff;
}
.lc__reviews-rating {
    border-top: 1px solid #F1F3F2;
    border-bottom: 1px solid #F1F3F2;
    padding: 17px 0px;
}
.lc__reviews-rating .list {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.lc__reviews-rating .list .item {
    flex: 0 0 100%;
    max-width: 100%;
}
.lc__starviews {
    text-align: center;
}
.txt-tit {
    font-size: 18px;
    padding-bottom: 14px;
}
.lc__starviews .number {
    font-size: 42px;
        color: #FE1D55;
    font-weight: 600;
}
.lc__rating-star i:before {
    color: #B2B2B2;
    display: block;
    float: left;
    font-family: FontAwesome;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    width: 15px;
    content: "\f005";
    cursor: pointer;
    margin-right: 5px;
}
.lc__rating-star i.active:before {
    color: #FDC558;
}
.txt-view {
    font-size: 14px;
    color: #9ba0ab;
    padding-top: 20px;
}
.lc__reviews-progressviews {
    padding: 10px;
}
.progress-line.progress-sm {
    height: 8px;
    border-radius: 6px;
}
.lc__cmt-block {
    padding: 14px;
    border-bottom: 1px solid #ddd;
}
.lc__cmt-block:last-child{border-bottom: none;}
.avatar-circle .avatar-picture {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #b6c0ce;
    padding: 15px 22px;
    border-radius: 50%;
}
.lc__cmt-content {
    position: relative;
    padding-left: 14px;
}
.avatar-name {
    font-weight: 700;
    font-size: 17px;
}

.comment-month .lc__rating-star {
    justify-content: start;
}
.lc__cmt-content--full {
    font-size: 17px;
}
.lc__cmt-avatar {
    margin-right: 10px;
}
.ratings{clear:both;display:table;font-size:11px;margin:auto;position:relative;text-align:left}
.owl-carousel .owl-wrapper:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}
.owl-carousel{display:none;position:relative;width:100%;-ms-touch-action:pan-y}
.owl-carousel .owl-wrapper{display:none;position:relative;-webkit-transform:translate3d(0px,0px,0px)}
.owl-carousel .owl-wrapper-outer{overflow:hidden;position:relative;width:100%}
.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition:height 500ms ease-in-out;-moz-transition:height 500ms ease-in-out;-ms-transition:height 500ms ease-in-out;-o-transition:height 500ms ease-in-out;transition:height 500ms ease-in-out}
.owl-carousel .owl-item{float:left}
.row_product_km .owl-controls{display:none!important}
.thuong_hieu_list{clear:both;text-align:center;background:#fff;margin-left:4px;margin-right:4px;padding:10px 4px 4px;border-radius:4px}
.thuong_hieu_list a{padding-left:10px}
.thuong_hieu_list a img{padding-right:10px}
.item_count_down{display: inline-block;padding: 1px 0px;text-align: center;width: 25px;border-radius: 5px;color: #838383;background: #FEFEFE;font-weight: 700;font-size: 12px;margin: 0px 5px;vertical-align: top;}
.owl-controls .owl-page,.owl-controls .owl-buttons div{color: #fff;font-size: 24px;font-style: normal;font-weight: 400;height: 30px;line-height: 25px;padding-left: 8px;position: absolute;right: 50%;width: 13px;border-radius: 2px 0 0 2px;background: none;    bottom: -35px;}
.owl-controls{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}
.grabbing{cursor:url(grabbing.png) 8 8,move}
.owl-carousel .owl-wrapper,.owl-carousel .owl-item{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}
.owl-origin{-webkit-perspective:1200px;-webkit-perspective-origin-x:50%;-webkit-perspective-origin-y:50%;-moz-perspective:1200px;-moz-perspective-origin-x:50%;-moz-perspective-origin-y:50%;perspective:1200px}
.owl-fade-out{z-index:10;-webkit-animation:fadeOut .7s both ease;-moz-animation:fadeOut .7s both ease;animation:fadeOut .7s both ease}
.owl-fade-in{-webkit-animation:fadeIn .7s both ease;-moz-animation:fadeIn .7s both ease;animation:fadeIn .7s both ease}
.owl-backSlide-out{-webkit-animation:backSlideOut 1s both ease;-moz-animation:backSlideOut 1s both ease;animation:backSlideOut 1s both ease}
.owl-backSlide-in{-webkit-animation:backSlideIn 1s both ease;-moz-animation:backSlideIn 1s both ease;animation:backSlideIn 1s both ease}
.owl-goDown-out{-webkit-animation:scaleToFade .7s ease both;-moz-animation:scaleToFade .7s ease both;animation:scaleToFade .7s ease both}
.owl-goDown-in{-webkit-animation:goDown .6s ease both;-moz-animation:goDown .6s ease both;animation:goDown .6s ease both}
.owl-fadeUp-in{-webkit-animation:scaleUpFrom .5s ease both;-moz-animation:scaleUpFrom .5s ease both;animation:scaleUpFrom .5s ease both}
.owl-fadeUp-out{-webkit-animation:scaleUpTo .5s ease both;-moz-animation:scaleUpTo .5s ease both;animation:scaleUpTo .5s ease both}
@-webkit-keyframes empty {0%{opacity:1}}
@-moz-keyframes empty {0%{opacity:1}}
@keyframes empty{0%{opacity:1}}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}
@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}
@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes backSlideOut{25%{opacity:.5;-webkit-transform:translateZ(-500px)}75%,
100%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(-200%)}}@-moz-keyframes backSlideOut{25%{opacity:.5;-moz-transform:translateZ(-500px)}75%,
100%{opacity:.5;-moz-transform:translateZ(-500px) translateX(-200%)}}
@keyframes backSlideOut{25%{opacity:.5;transform:translateZ(-500px)}75%,
100%{opacity:.5;transform:translateZ(-500px) translateX(-200%)}}@-webkit-keyframes backSlideIn{0%,25%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-webkit-transform:translateZ(-500px)}100%{opacity:1;-webkit-transform:translateZ(0) translateX(0)}}@-moz-keyframes backSlideIn{0%,25%{opacity:.5;-moz-transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;-moz-transform:translateZ(-500px)}100%{opacity:1;-moz-transform:translateZ(0) translateX(0)}}
@keyframes backSlideIn{0%,25%{opacity:.5;transform:translateZ(-500px) translateX(200%)}75%{opacity:.5;transform:translateZ(-500px)}100%{opacity:1;transform:translateZ(0) translateX(0)}}@-webkit-keyframes scaleToFade{to{opacity:0;-webkit-transform:scale(.8)}}@-moz-keyframes scaleToFade{to{opacity:0;-moz-transform:scale(.8)}}
@keyframes scaleToFade{to{opacity:0;transform:scale(.8)}}@-webkit-keyframes goDown{from{-webkit-transform:translateY(-100%)}}@-moz-keyframes goDown{from{-moz-transform:translateY(-100%)}}
@keyframes goDown{from{transform:translateY(-100%)}}@-webkit-keyframes scaleUpFrom{from{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpFrom{from{opacity:0;-moz-transform:scale(1.5)}}
@keyframes scaleUpFrom{from{opacity:0;transform:scale(1.5)}}@-webkit-keyframes scaleUpTo{to{opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes scaleUpTo{to{opacity:0;-moz-transform:scale(1.5)}}
@keyframes scaleUpTo {to{opacity:0;transform:scale(1.5)}}

aside.slider_row .row_product{clear:both;margin:auto;margin:4px;border-radius:4px;overflow:hidden}
aside.slider_row .owl-buttons div{color:#fff;font-size:24px;font-style:normal;font-weight:400;height:30px;line-height:25px;padding-left:8px;position:absolute;right:25px;top:21%;width:13px;border-radius:2px 0 0 2px;background: none;}
aside.slider_row .owl-buttons div:hover{background:#808283}
aside.slider_row .row_product .owl-item .images,aside.product_l .product_item .images,.row_product_lq .images{clear:both;display:block;height:196px;overflow:hidden;text-align:center;font-weight:700}
aside.slider_row .row_product .owl-item h2,.row_product_lq .owl-item h2{clear:both;height:36px;overflow:hidden;padding:5px;text-align:center}
aside.slider-cate .owl-buttons div{top: 31%;}
aside.slider_row .row_product .owl-item h2 a{color:#666;font-size:13px;font-style:normal;font-weight:400}
aside.banner img{width:100%;border-radius: 10px;}
aside.slider_row .row_product .owl-item h2 a:hover{color:#e11f26}
aside.slider_row .row_product .owl-item .price,aside.product_l .product_item .price,.row_product_lq .price{clear:both;font-size:15px;margin:auto;text-align:center;font-weight: bold;}
aside.manufacturer{background:#fff none repeat scroll 0 0;display:table;padding-bottom:20px;width:100%}
.banner_home .owl-controls{display:table;margin:-5px auto auto;overflow:hidden;position:relative}
.banner_home .owl-controls .owl-buttons{display:none}
.banner_home .owl-controls .owl-pagination div{float:left;margin:0 5px}
.banner_home .owl-controls .owl-page span:hover,.banner_home .owl-controls .active span{background:#d62e4d!important}
.banner_home .owl-controls .owl-page span{background:rgba(216,216,216,0.5) none repeat scroll 0 0;border-radius:20px;display:block;height:12px;margin:5px 1px 5px 4px;opacity:1;width:12px}
.row_product_lq .row_product_h{clear:both;height:328px}
/*aside.slider_row .row_product .row_product_h:nth-child(2n+1){border-right:2px solid #f3f3f3}
aside.slider_row .row_product_km .row_product_h:nth-child(2n+1){border-right:4px solid #f3f3f3}*/
aside.slider_row .row_product_km .row_product_h{border-radius:4px}
aside.slider_row .row_product .row_product_h{margin-right: 10px;overflow:hidden;padding-bottom:10px;text-align:center;background:#fff;position:relative;margin-bottom:2px;}
/* .pro_pos_giga{background:#ef4679;position:absolute;float:right;padding:4px;color:#fff;border-radius:3px;height:30px;width:30px;text-align:center;line-height:30px;left:24px;top:42%} */
.pro_pos_giga{background:#ef4679;position:absolute;float:right;padding:4px;color:#fff;border-radius:35px;height:30px;width:30px;text-align:center;line-height:30px;left:117px;top:33%}
.pro_pos_giga span{font-weight:700}
aside.slider_row .row_product .row_product_h img{max-height:180px;max-width:100%}
aside.slider_row .row_product .row_product_h .images{height:186px;border: 2px solid #D6D6D6;border-radius: 10px;}
aside.slider_row .row_product .row_product_h h2{position: relative;font-weight:400;height:33px;overflow:hidden;padding:5px 15px;text-align:center;padding: 11px 0px;}
aside.slider_row .row_product .row_product_h h2::after{content: "";
    background: #c4c4c4;
    width: 140px;
    height: 2.2px;
    position: absolute;
    bottom: 1px;
        left: 50%;
    transform: translateX(-50%);}
.ty-footer-general__header {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    padding-bottom: 0px;
    padding-right: 0;
    text-align: left;
}
.ty-footer-general__header span {
    font-size: 13px;
    color: #282828;
}
.row_product_deal .owl-buttons div:before{color: #9C9C9C;font-family: FontAwesome;font-size: 24px;font-style: normal;font-weight: normal;line-height: 29px;position: relative;text-align: center;transition: all 0.4s ease 0s;}
.row_product_deal .owl-buttons div.owl-next:before{content: "\f105" !important;padding-left: 4px !important;}
.thuong_hieu_list-v1{cursor: pointer;background: linear-gradient(to left, #f8d2c0, #fbeed7, #f8d2c0);}
.discount-hot {display: flex; align-items: center;justify-content: center;}
.discount-hot .login-hot{padding: 2px 9px;border-radius: 3px;color: #414141;border: 1px solid;margin: 10px 0px 20px;}
.receive-now{background: #ef4679;padding: 9px 20px;color: #fff;border-radius: 10px;}
.mini-banner img{width: 100%;height: 100px;border-radius: 7px;}
.mini-banner .item{padding: 10px;}
.item-hot .check{text-align: center;display: flex;justify-content: center;padding: 0px 5px;align-items: center;margin-top: 0px;position: absolute;bottom: 20px;left: 58px;}
.item-hot .check .receive-now {font-size: 9px;background: #fd1d55;padding: 0px 1px;border-radius: 4px;color: #fff;font-weight: bold;width: 79px;}
.item-hot .owl-item{width: 230px!important;}
.brand-left li{display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 3px;
    text-align: center;
    border-bottom: 2px solid #F5F6F5;}
.brands{font-size: 18px;}
.brand-right{padding: 10px;margin: 0px 3px;width: 800px;}
.brand-left{width: 80%;}
.brand-right .thuong_hieu_list{display: flex;flex-wrap: wrap;align-items: center;margin: 0;padding: 0px;justify-content: space-between;}
.brand-right .thuong_hieu_list img{width: 100px;}
.brand-right .list ul{display: flex;flex-wrap:wrap;}
.brand-right .list ul .item{padding: 9px 7px;width: 27%;margin: 4px 4px 4px 0px;text-align: center;border-radius: 3px;}
.img-menu{width: 100%;height: 100px;}
.brand-right .item-parent {display: flex;justify-content: space-between;}
.modal {
    position: fixed;
    top: 37px;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    display: none;
}

.check-form-review {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
}
.modal.is-visible {
    visibility: visible;
    display: block;
}
.modal-overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsla(0, 0%, 0%, 0.5);
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s;
    visibility: hidden;
}
.modal.is-visible .modal-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
.modal-wrapper {
    position: absolute;
    z-index: 9999;
    top: 6em;
    left: 50%;
    width: 32em;
    margin-left: -16em;
    background-color: #fff;
    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
}
.modal-header {
    position: relative;
    background-color: #fff;
    box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.06);
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}
.modal-heading {
    font-size: 1.125em;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.close-review i:before {
    color: #666;
    display: block;
    float: left;
    font-family: FontAwesome;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    margin-left: 5px;
    text-align: center;
    width: 35px;
    cursor: pointer;
}
.modal-body {
    padding: 2rem 2rem 0rem 2rem;
}
.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 0.3rem;
    outline: 0;
}
.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
.col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}
.form-group {
    margin-bottom: 1rem;
    margin-right: 11px;
}
.form-input {
    position: relative;
    display: block;
    width: 100%;
    font-family: inherit;
    padding: 5.5px 0px 5.5px 7px;
    color: #334155;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d8e0e8;
    font-size: 11px;
    transition: all 0.3s;
}
.title-star {
    text-align: center;
    font-size: 16px;
    margin: 0;
    margin-bottom: 9px;
}
.lc__rating-star {
    display: flex;
    margin-bottom: 0;
    justify-content: center;
}
.lc__rating-star i:before {
    color: #B2B2B2;
    display: block;
    float: left;
    font-family: FontAwesome;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    margin-left: 5px;
    text-align: center;
    width: 18px;
    content: "\f005";
    cursor: pointer;
}
.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: center;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}
.btn_evaluate {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    border: none;
    padding: 8px 24px;
    cursor: pointer;
}
.list-brand{padding-bottom: 10px;}
.brand-right .list-brand h2 span .fa-caret-right:before{color: #666;display: block;float: left;font-family: FontAwesome;font-size: 20px;font-style: normal;font-weight: 400;margin-left: 5px;text-align: center;width: 35px;}
.brand-right .list-brand .all{display: flex;font-size: 12px;padding-right: 26px;}
.brand-right .list-brand .all .fa-angle-right:before{color: #666;display: block;float: left;font-family: FontAwesome;font-size: 15px;font-style: normal;font-weight: 400;margin-left: 5px;text-align: center;width: 14px;}
.list-brand .item_lv2{
    width: 30%;
    margin: 4px 4px 4px 0px;
    border-radius: 3px;
    text-align: center;}
.form-cart .input-row{display: flex;justify-content: center;}
.form-cart .input-row input{margin-top: 0;}
.form-cart .select-row{margin: 10px 0px;}
.form-cart .select-row select{    padding: 10px;
    border: 1px solid #dedede;
    border-radius: 5px;}
.form-cart .address {width: 100%!important;}
.form-cart .note {margin: 10px auto!important;}
.complete-order-destop{display: none;}
.complete-order-mobile{width: 90%!important;margin: 0px 16px!important;}
.login-cart{margin: 15px 0px 0px;}
.login-cart span:first-child{font-size: 12px;}
.login-cart span:last-child{font-size: 12px;font-weight: bold;text-decoration: underline;}
aside.manufacturer .row_manufacturer img{display:block;float:left;padding-left:20px;padding-right:20px;padding-top:11px}
aside.manufacturer .row_manufacturer .sakura img{padding-top:0!important}
.showroom{padding-left:6px;padding-right:6px;padding-top:2px}
.clear{clear:both}
.seeMore{background:#fff;cursor:pointer;display:block;overflow:hidden;padding:10px;position:relative;text-align:center;margin:14px 0 0;border-radius:2px}
.seeMore span:before{content:"\f0d7";font-family:FontAwesome;font-size:14px}
.fb:before{content:"\f09a"}
.tw:before{content:"\f099"}
.gg:before{content:"\f0d5"}
.ytb:before{content:"\f167"}
.ist:before{content:"\f16d"}
.row_manufacturer{border-top:1px solid #dedede;margin-top:18px;padding-top:10px}
aside.slider_row .row_product .owl-item .price span,
aside.product_l .product_item .price span,
.row_product_lq .price span,
.row_product .price span{color:#888!important;text-decoration:line-through;font-weight:400;margin-right:5px}
.brackRum{font-size:12px}
aside.navigation{clear:both;height:25px;line-height:25px;margin-top:93px}
.cart_oder ul{clear:both;padding:8px}
.cart_oder ul li{padding:15px 0}
.bottom_cart li{clear:both}
.cart_oder ul li.dg,.cart_oder ul li.tt{width:100px;text-align:center}
.cart_oder ul li.sl{width:70px;text-align:center}
.bottom_cart{border-bottom:1px solid #e3e3e3;border-left:1px solid #e3e3e3;border-right:1px solid #e3e3e3;overflow:hidden}
.bottom_cart .cartImg{height:90px}
.bottom_cart li{padding-top:5px;padding-bottom:5px}
.bottom_cart li.dg,.bottom_cart li.tt{line-height:60px}
.bottom_cart .capnhatCartTxt{border:1px solid #ddd;height:20px;line-height:20px;margin-top:17px;text-align:center;width:40px}
.cart_oder{margin-top:10px;margin-left:4px;margin-right:4px}
.cart_right{float:right;padding-bottom:8px;padding-top:5px}
.btdatHang{background: #B4B4B4;clear:both;color:#fff;cursor:pointer;font-weight:700;height:34px;line-height:34px;padding-left:20px;padding-right:20px;text-align:center}
.btdatHang:hover,.boxDathang .dhnBottomRight:hover{background:#d62e4d}
.cart_left{clear:both;margin-bottom:10px;margin-top:15px}
.cart_left #ma_giam_gia{border:1px solid #dedede;text-indent:5px;height:25px;float:right;width:70%;display:block;background:rgba(0,0,0,0) none repeat scroll 0 0}
.Cart_title_pro{display:block;overflow:hidden;margin-bottom:5px;font-size:10pt;line-height:12pt}
.delete_Cart{color:#B14C65;cursor:pointer;float:left;padding-right:10px}
.delete_Cart:before{content:"\f057";font-family:FontAwesome;color:#B14C65;font-size:16px;padding-right:3px}
.title_gio_hang{clear:both;font-weight:500;color:#333;padding:10px 0;text-indent:15px}
.banner_km_h{clear:both;margin-left:4px;margin-right:4px;border-radius:2px;overflow:hidden;position:relative;margin-bottom:-10px}
.boxDathang{background:#fff none repeat scroll 0 0;border-radius:2px;clear:both;padding-bottom:20px;overflow:hidden}
.lineDhnh{clear:both;margin-left:4px;margin-right:4px;position:relative}
.boxDathang input,.boxDathang textarea,.boxDathang .dhn_gioi_tinh{border:1px solid #dedede;margin-top:12px;line-height:20pt;text-indent:5px;background:rgba(0,0,0,0) none repeat scroll 0 0;display:block}
.boxDathang #dhn_ho_ten{width: 100%!important}
.boxDathang .inLhVews,.boxDathang .inLhVewsTex,.boxDathang #dhn_ho_ten{clear:both;display:block;width:90%;margin:10px auto;height:29px}
#dhn_Ghichu{height:100px}
.boxDathang input{border-radius: 4px;
    padding: 6px 6px;}
#dhn_email{width: 100%!important; margin-bottom: 10px;}
#dhn_so_di_dong{width: 100%!important}
.lineDhnh select{height:40px;width:91%;max-width:384px;padding-left:5px;border:1px solid #e5e5e5}
.boxDathang .dhnBottomRight{background:#ef4679 none repeat scroll 0 0;color:#fff;margin:5px auto auto;padding:5px;text-align:center;width:184px;cursor:pointer;clear:both;border-radius:2px;line-height:20pt;font-weight:500}
.title_nhan_hang{text-align:center;line-height:20px;text-indent:0}
.title_nhan_hang span{display:block;font-weight: bold;}
.title_nhan_hang span.xnHn_bt{line-height:25px!important;font-weight:400;color: #707070;}
.error{border:1px solid #d62e4d!important;color:#d62e4d!important}
.theleall{clear:both}
.theleall img{display:block;width:100%;max-width:640px}
h1.titile_km{clear:both;text-align:center;padding-top:15px;padding-bottom:10px;font-size:15px;font-weight:700}
.clear10px{clear:both;height:10px}
#cart_dathang{overflow:hidden;padding-top:20px;width:100%}
#cart_dathang .thongbao{padding-left:10px;padding-right:10px;display:block;text-align:center}
.list-voucher{display: flex;
    flex-wrap: wrap;}
.list-voucher img{    max-width: 94%;
    padding-left: 0;
    flex: 0 0 32.3%;
    display: flex;}
.list-voucher .check{    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    position: absolute;
    bottom: 5px;
    left: 35px;}
.list-voucher .check .receive-now{    font-size: 9px;
    background: #fd1d55;
    padding: 1px 13px;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    line-height: 14px;}
.HotLineFootB{background:#f1f1f1 none repeat scroll 0 0;border-top:0 solid #d8d8d8;bottom:0;box-shadow:0 3px 8px rgba(3,3,3,0.26);color:#333;font-size:14px;padding-bottom:5px;padding-top:5px;position:fixed;text-align:center;width:100%;z-index:99999}
.HotLineFootB a,.HotLineFootB a:hover{color:#d62e4d;font-weight:700;font-size:14px}
.icon_check:before,.icon_trophy:before,.icon_hand_o_right:before,.icon_bolt:before,.icon_umbrella:before,.icon_double_right:before,.icon_f06b:before,.icon_sign_in:before,.icon_long_arrow_right:before,.icon_quote_left:before,.icon_quote_right:before{font-family:FontAwesome;margin-right:4px;float:left}
.icon_check:before{content:"\f00c";font-size:14px;color:#d62e4d}
.icon_trophy:before{content:"\f091";font-size:24px;color:#ffa001}
.icon_hand_o_right:before{content:"\f0a4";font-size:24px;color:#38538a}
.icon_bolt:before{content:"\f0e7";font-size:16px;color:#ffa001}
.icon_umbrella:before{content:"\f0e9";font-size:25px;color:#666}
.icon_double_right:before{content:"\f101";font-size:20px}
.icon_f06b:before{content:"\f06b";font-size:22px;color:#666}
.icon_sign_in:before{content:"\f090";font-size:16px;color:#fea204}
.icon_long_arrow_right:before{content:"\f178";font-size:13px;color:#666}
.icon_quote_left:before,
.icon_quote_right:before{content:"\f10d";font-size:20px}
.yctvGioiThieu{padding-left:4px;padding-right:4px}
.bo_kem_tr_t{background:rgba(255,255,255,.7);clear:both;font-family:arial;font-size:14px;line-height:20px;padding:17px 4px;position:absolute;text-align:center;font-weight:700;z-index:500;bottom:37%;width:100%}
.tai_sao_mhhad{clear:both;margin:4px;margin-top:4px;border-radius:2px;overflow:hidden;margin-top:15px}
.showroom_kd img{width:100%;border-radius:2px}
.showroom_kd_all .owl-controls{display:none!important}
.showroom_kd_all{clear:both;position:relative}
.tai_sao_mh_content .iteam_ts{clear:both;padding-bottom:9px;margin-left:4px}
.xem_them{font-size:13px;font-weight:300;text-align:center;padding-top:12px;padding-bottom:12px;clear:both;background:#fff}
.xem_them a span{font-weight:700}
.flex_column{display:flex;flex-wrap:nowrap;align-content:stretch}
nav .login,
nav .category{text-align:center}
nav .login{clear:both;background:#f2f2f2}
.step-indicator{border-collapse:separate;display:table;margin-left:0;position:relative;table-layout:fixed;text-align:center;vertical-align:middle;padding:20px 0}
.step-indicator li{display:table-cell;position:relative;float:none;padding:0;width:1%}
.step-indicator li:after{background-color:#e5e5e5;content:"";display:block;height:1px;position:absolute;width:100%;top:28px;left:50%}
.step-indicator li:last-child:after{display:none}
.step-indicator li.active .step{border-color:#ef4679;color:#ef4679}
.step-indicator li .caption{color:#999;margin-top:5px;font-size:10pt}
.step-indicator li.active .caption,.step-indicator li.active .step_icon i{color:#ef4679;border-color:#ef4679}
.step-indicator li.complete:after{background-color:#ef4679}
.step-indicator li.complete .caption{color:#ef4679}
.step-indicator li.complete .step_icon i{background:#ef4679;color:#fff;border-color:#ef4679}
.step-indicator li .step{background-color:#fff;border-radius:50%;border:1px solid $wizard-color-neutral;color:$wizard-color-neutral;font-size:$wizard-step-font-size;height:$wizard-step-width-height;line-height:$wizard-step-width-height;margin:0 auto;position:relative;width:$wizard-step-width-height;z-index:1}
.step-indicator li:hover{cursor:pointer}
.step-indicator .step_icon i{padding:15px;background:#fff;border-radius:50px;border:1px solid #999;position:relative;z-index:500;width:15px;color:#999}
.des_pay i{border-style:solid;border-width:1px;border-radius:50px;display:inline-block;padding:10px;width:13px}
.des_pay i.fa-check{color:#0F0;border-color:#0F0}
.des_pay i.fa-times{color:red;border-color:red}
nav .login{display:flex;justify-content:center}
nav .login li{border-color:#ef4679;border-style:solid;border-width:1px;margin:10px;display:block;width:50%}
nav .login li a{display:block;padding:8px 10px}
.list_info_edit,.list_info_edit li{padding:0}
.list_info_edit input{width:100%;padding:0;margin:5px auto 0;line-height:30px;text-indent:5px;background:rgba(0,0,0,0) none repeat scroll 0 0;border-color:#f9f9f9;color:#333;border-radius:0;display:block}
.list_info_edit input.enabled{border-color:#d2d2d2}
#editSaveInfo .edit{color:#00af1d;font-weight:700}
#editSaveInfo .save{color:red;font-weight:700}
#thongBaoMgg{color:red}
.content_list .title{position: relative;}
.content_list .title:after {
    content: "";
    background: #575050;
    width: 60%;
    height: 1px;
    position: absolute;
    bottom: 2px;
    left: 21%;
}
#tt_tt,
#tt_momo{margin:0 auto;display:block;text-align:center}
#form_tt tr:last-child td{border-bottom:none;padding:8px 0}
.multiColor{position:relative;margin-bottom:50px}
.multiColor ul{position:absolute;left:0;right:0;z-index:100}
.listColor li{border:1px solid #e5e5e5;margin:-1px 0;padding:0;cursor:pointer;background:#fff;clear:both;overflow:hidden}
.listColor li:hover{background:#f0f0f0}
.listColor li.item{display:none}
.listColor li span{vertical-align:middle;height:28px;display:block;float:left}
.listColor li span.colorCode{width:30px;margin-right:5px}
.listColor li span.colorName{line-height:28px;text-indent:5px}
.listColor li.seleted i{float:right;line-height:28px;margin-right:10px}
#form_tt .fa.fa-square-o{color:#ccc}
#form_tt .fa-check-square-o{color: #FC235C;font-size: 25px;}
.multiColor .titleColor{font-weight:700;float:left;line-height:28px}
.multiColor_2{margin-bottom:15px;text-align:center;border:1px solid #e5e5e5;padding:10px 0 5px;background:#fff}
.multiColor_2 span{width:35px;height:35px;display:inline-block;cursor:pointer;margin-right:10px;border-width:2px;border-style:solid;box-shadow:2px 2px 5px 2px #ccc;border-radius:100px}
.multiColor_2 span.selected{border-color:#f47d3a!important}
.listMultiSize{display:inline-block}
.listMultiSize li{display: inline-block;margin: 0px 2px;border: 1px solid #ccc;color: #333;padding: 3px 6px;cursor: pointer;}
.itemPriceSizeHidden{display:none}
.itemPriceSizeShow{display:block}
.listMultiSize li.outOfStockSize,.listMultiSize li.outOfStockSize:hover{border-color:rgba(0,0,0,.09);color:#999;cursor:not-allowed}
.listMultiSize li.selected,.listMultiSize li:hover{border-color:#f44578;color:#f44578}
.listVideo li{position:relative}
.listVideo img.icon{position:absolute;left:46%;top:45%}
.listVideo img.image{max-width:100%}
.listVideo img.icon{width:60px}
.list_brand {display: inline-flex;}
.brand_right_button {    width: 94%;
    font-weight: bold;
    font-size: 10pt;
    text-align: center;
    display: flex;
    background: #a5a5a5;
    color: #fff;
    justify-content: center;
    padding: 5px 0px;
    border-radius: 6px;}
@media all and (min-width: 320px) {
aside.banner iframe{width:95%;height:214px;margin:0 11px}
}
@media all and (min-width: 400px) {
aside.slider_row .row_product .row_product_h .images{height: 186px;border: 2px solid #D6D6D6;border-radius: 10px;}
.header_small{top: 0}
}
@media all and (min-width: 480px) {
aside.banner iframe{height:257px;margin:0 13px}
}
@media all and (min-width: 600px) {
header .topBar p{font-size:11pt}
header .mainMenu .flex_box_row .item{padding:0 10px}
aside.banner iframe{height:340px;margin:0 15px}
}

.mobile-footer {
  font-family: Arial, sans-serif;
  padding: 15px;
}

.accordion-toggle {
  width: 100%;
  text-align: left;
  padding: 14px;
  font-size: 16px;
  background-color: #f8f8f8;
  border: none;
  outline: none;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-toggle i {
  transition: transform 0.3s ease;
}

.accordion-toggle.active i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  padding-left: 15px;
}

.accordion-content a,
.accordion-content p {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  color: #333;
  text-decoration: none;
}

.accordion-content a:hover {
  color: #e74c3c;
}
}
/* ===== hết mục 1 ===== */

/* ============================================================
   2. NỀN DESKTOP (>=768px) — CSS gốc bản desktop cũ (assets/front/css/main2.css), bọc @media (min-width: 768px)
   Đã bỏ các rule cho phần tử không còn tồn tại; phần còn lại giữ nguyên thứ tự.
   ============================================================ */

@media (min-width: 768px) {
.slide-container{margin:0 auto}
.slide-image{left:0;position:absolute;top:0;opacity:0;display:none}
.slide-image:first-child{opacity:1;display:block}
.slide-pager{height:20px}
.slide-pager ul{clear:both}
.slide-pager-slot{cursor:pointer;display:block;float:left;list-style:outside none none;margin-right:5px;margin-top:6px;overflow:hidden;width:166px}
.slide-pager-slot:last-child{margin-right:0!important}
.slide-pager ul .focus:before,.slide-pager-slot:hover:before{border:4px solid #e74c3c;content:"";display:block;height:58px;position:absolute;width:160px}
@font-face{font-display:swap;font-family:FontAwesome;src:url(../../fonts/fontawesome-webfont.eot?v=4.3.0);src:url(../../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0) format("embedded-opentype"),url(../../fonts/fontawesome-webfont.woff2?v=4.3.0) format("woff2"),url(../../fonts/fontawesome-webfont.woff?v=4.3.0) format("woff"),url(../../fonts/fontawesome-webfont.ttf?v=4.3.0) format("truetype"),url(../../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular) format("svg");font-weight:400;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-regular-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-regular-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-regular-webfont.ttf) format("truetype");font-weight:400;font-style:normal}
@font-face{font-display:swap;font-family:"Roboto Condensed";src:url(../../fonts/roboto/robotocondensed-regular-webfont.woff2) format("woff2"),url(../../fonts/roboto/robotocondensed-regular-webfont.woff) format("woff"),url(../../fonts/roboto/robotocondensed-regular-webfont.ttf) format("truetype");font-weight:400;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-italic-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-italic-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-italic-webfont.ttf) format("truetype");font-weight:400;font-style:italic}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-bold-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-bold-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-bold-webfont.ttf) format("truetype");font-weight:700;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-bolditalic-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-bolditalic-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-bolditalic-webfont.ttf) format("truetype");font-weight:700;font-style:italic}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-medium-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-medium-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-medium-webfont.ttf) format("truetype");font-weight:500;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-mediumitalic-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-mediumitalic-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-mediumitalic-webfont.ttf) format("truetype");font-weight:500;font-style:italic}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-light-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-light-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-light-webfont.ttf) format("truetype");font-weight:300;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-lightitalic-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-lightitalic-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-lightitalic-webfont.ttf) format("truetype");font-weight:300;font-style:italic}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-black-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-black-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-black-webfont.ttf) format("truetype");font-weight:900;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-blackitalic-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-blackitalic-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-blackitalic-webfont.ttf) format("truetype");font-weight:900;font-style:italic}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-thin-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-thin-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-thin-webfont.ttf) format("truetype");font-weight:100;font-style:normal}
@font-face{font-display:swap;font-family:Roboto;src:url(../../fonts/roboto/roboto-thinitalic-webfont.woff2) format("woff2"),url(../../fonts/roboto/roboto-thinitalic-webfont.woff) format("woff"),url(../../fonts/roboto/roboto-thinitalic-webfont.ttf) format("truetype");font-weight:100;font-style:italic}
@font-face{font-display:swap;font-family:MANE;src:url(../../fonts/sfu-avantgardeitcbybt-book.otf);font-weight:400;font-style:normal}
@font-face{font-display:swap;font-family:Myriad Semibold;src:url(../../fonts/myriad/MYRIADPRO-SEMIBOLD.woff2) format("woff2"),url(../../fonts/myriad/MYRIADPRO-SEMIBOLD.woff);font-weight:normal;font-style:normal}

body{padding:0;margin:0;background:#fff}
body,button,h1,h1 a,h2,h2 a,h3,h3 a,h4,h4 a,h5,h5 a,h6,h6 a,input,label,legend,option,textarea{color:#444;font:13px/20px Muli,Roboto,Helvetica,Arial,sans-senif;outline:medium none}
figure,h1,h2,h3,h4,h5,h6,li,ul{padding:0;margin:0}
.add_cart,.owl-buttons div,a{transition:all .2s ease 0s}
a{text-decoration:none;color:#444;transition:all .2s ease 0s}
ul{list-style:none}
header .topbar{background:#e9e9e9;color:#fff;font-size:13px;height:30px;border-radius: 5px;}
header .topbar .hotline_r{float:right;padding-right: 15px;}
header .topbar a{color:#1F1F1F; font-weight: 600;}
header .topbar div{line-height:30px; justify-content: space-between; align-items: center;color: #1F1F1F;font-weight: 600;}
header .topbar .pTitile{float:left;}
header .topbar .title,
header .topbar .about-hoaanhdao{float:left;position: relative;padding: 0px 25px;}
header .topbar .about-hoaanhdao::after,
header .topbar .title::after {
    content: "";
    background: #1F1F1F;
    width: 1px;
    height: 16px;
    position: absolute;
    top: 6px;
    right: 12px;
}
header h1 img,header h2 img, header .logo_had img{width:68px}
header .topbar .pDetail{color:#fff;float:left;font-family:Arial,sans-senif;font-size:15px;font-weight:500;line-height:33px;font-weight:700;margin-right:10px}
.pTitileTongd{padding-left:29px}
a.cart{background-position:left 0 top -32px;float:right;padding-left:30px}
.container{clear:both;margin:auto;width:1170px;position:relative;display:table}
header h1,header h2, header .logo_had{margin:60px 0 0 504px;padding:6px 10px 0;position:absolute;z-index:9}
header h1 strong,header h2 strong{text-indent:-999em;overflow:hidden;position:absolute;font-size:0}
header .formSearch{background:#fff none repeat scroll 0 0;width:397px;z-index:10;height:32px;border-radius:1px;position:absolute;top:68px;border:1px solid #d5d5d5;border-radius:5px;padding:2px 0px;}
header .actions{background:#fff none repeat scroll 0 0;width:495px;z-index:10;height:92px;border-radius:1px;position:absolute;top:55px;border-radius:21px;padding:2px 0px;right: -15px;}
header .actions a{background: transparent;padding: 8px 19px;margin: 4px 1px;border-radius: 10px;font-size: 10px;font-weight: bold;align-items: center;display: flex;text-transform: uppercase;}
header .actions a span{transform: translateY(3px);}
header .actions .action-order{display: flex;justify-content: end;}
header .actions .action-order .cart-header{display: flex;justify-content: center;position: relative;}
header .actions .action-order .cart-header .num-cart-header{position: absolute;background: #ff589c;color: #fff;font-size: 11px;bottom: 25px;height: 21px;width: 6px;display: flex;align-items: center;border-radius: 14px;left: 92px;}
header .actions .auth-header{display: flex;justify-content: center;align-items: center;}
.thuong_hieu_list{cursor:pointer;}
.thuong_hieu_list-v1{cursor:pointer;background: linear-gradient(to left, #f8d2c0, #fbeed7, #f8d2c0);border-radius: 6px;}
.thuong_hieu_list-v1 a .fa-chevron-down:before{color: #666;display: block;float: left;font-family: FontAwesome;font-size: 10px;font-style: normal;font-weight: 400;margin-left: 5px;text-align: center;}
.fa-info-circle:before,
.fa-sign-out-alt:before{    color: #666;
    display: block;
    float: left;
    font-family: FontAwesome;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    padding-right: 10px;}
.thuong_hieu_list .owl-item{text-align:center}
.thuong_hieu_list li{text-align:center;display:flex;align-items:center;height:70px;justify-content:center;color: #333;border-radius: 59px;font-weight: bold;font-size: 13px;}
.thuong_hieu_list-v1 li.active,
.thuong_hieu_list-v1 li.active .fa-chevron-down:before{color: #FD1F56;font-weight: bold;}
.see_more-wp{text-align: end;}
.see_more{color: #929292;font-size: 15px;}
.thuong_hieu_list a img{opacity:1;transition:ease-in-out .3s all 0s;max-width:150px}
.thuong_hieu_list a:hover img{opacity:1}
.line_cTh{border-bottom:5px solid #ececec;border-left:9px solid transparent;border-right:9px solid transparent;height:0;left:60px;margin-top:-7px;position:absolute;width:0}
header .formSearch .button{border:medium none;cursor:pointer;float:right;height:32px;position:relative;width:32px;z-index:99999;background:0 0}
header .formSearch .button:before{content:"\f002";font-family:FontAwesome;color:#ef4679;font-size:16px}
header .cart_top{float:right;margin-right:15px;background:url(../../images/cart.png) no-repeat 0;padding-left:16px}
header .cart_top .tit{display:block;float:right;padding-left:6px;padding-right:4px;padding-top:1px}
.hDhtdal{float:left;padding-left:15px}
header .cart_top .count{background:#ef4679 none repeat scroll 0 0;color:#fff;display:block;float:right;font:400 14px/24px Ubuntu,sans-serif;margin-top:3px;padding:0 8px;position:relative;border-radius:3px}
header .menu nav .menu_leve_1 .home{margin-left:15px!important}
header .menu nav .menu_leve_1:last-child a.parent{margin-right:0!important}
header .formSearch input{border:medium none;font-family:Roboto,Helvetica,Arial,sans-senif;font-size:13px;font-weight:400;padding-left:13px;width:175px;margin-top:5px;position:relative;float:left;display:block;margin-left:6px}
header .menu{clear:both;position:relative;padding-top:120px;width:1170px;margin:auto}
header .menu nav .menu_leve_1{float:left}
header .menu nav a{color:#333;display:block;font-size:13px;line-height:27px;margin-left:10px;margin-right:10px}
.menuHiden li{width:200px;padding-left:10px}
.menuHidenpro_2{width:210px}
.menuHidenpro_1{width:650px}
.lSAction > .lSPrev, .lSAction > .lSNext{
   display: none;
}
#hamber_menu {float: left;width: 150px;position: relative;margin-right: 0px}
#hamber_menu:before {content: "";position: absolute;right: -2px;top: 7px;width: 1.2px;height: 18px;background: #5B5B5B;}
#hamber_menu a.txt_color_1 {display: block;float: left;padding: 0px 0px 3px 0px;font-size: 15px;line-height: 32px;position: relative;width: 100%;font-weight: 500;text-wrap: nowrap;}
.item_sub_menu_bar {color: #326e51;padding-top: 2px;transform: translateY(2px);z-index: 9;}
.item_sub_menu_bar .item-lv1 {text-transform: uppercase;color: #5B5B5B;display: inline-block;padding: 0 30px;margin-top: 3px;line-height: 18px;font-weight: bold;;font-size: 16px;position: relative;letter-spacing: 3.2px;height: 100%;}
.item_sub_menu_bar .item-lv1::after {content: "";position: absolute;right: -2px;top: 1px;width: 2.1px;height: 18px;background: #414141;}
.item_sub_menu_bar .item-lv1:last-child::after {content: "";position: absolute;right: -2px;top: 1px;width: 1.1px;height: 18px;background: none;}
.item_sub_menu_bar .item-lv1:nth-child(2)::after {content: "";position: absolute;right: -2px;top: 1px;width: 1px;height: 18px;}
.slider_row_discount{margin-top: 25px;border-radius: 10px;}
.discount-hot {position: relative;padding: 20px;text-align: center; /* Căn giữa nội dung */}

.discount-hot h2.parent {position: relative;font-size: 49px;font-family: 'Inter';letter-spacing: 9.5px;background-color: #fff;padding: 0 10px;margin: 0; /* Đặt margin để không cách li chữ "MÃ KHUYẾN MÃI" ra ngoài */position: absolute; /* Đặt chữ "MÃ KHUYẾN MÃI" ở vị trí tuyệt đối trong khung */top: -51px; /* Điều chỉnh vị trí theo y để đè lên slider */left: 26%; /* Căn giữa ngang */transform: translateX(-50%); /* Căn giữa ngang */}
.q_HomeSlide{width:100%;height:330px;text-align:center}
header{min-width:1024px;top:0;background:#fff;width:1170px;margin:auto;left:0;right:0;z-index:9999}
.menuHiden{background:#fff none repeat scroll 0 0;box-shadow:0 5px 5px rgba(0,0,0,.2);position:absolute;z-index:999;transition:all .3s ease-in-out 0s;border-top:2px solid #929599;font-size:13px;display: none;}
.menuHiden ul li{clear:both!important;font-size:15px!important;line-height:30px!important;padding-top:0!important;text-align:left;}
header .menu nav a:hover{color:#e34d86}
section{margin:auto;width:1170px}
.q_HomeSlide .owl-controls .owl-page span{background:#c3cbc8 none repeat scroll 0 0;border-radius:20px;display:block;height:10px;margin:5px 7px;opacity:.5;width:10px}
.q_HomeSlide .owl-controls .active span{background:#869791!important}
.q_HomeSlide .owl-controls .owl-page{display:inline-block;margin:5px 2px 0}
aside.banner{float:left;height:413px;margin-top:10px;overflow:hidden;width:850px}
aside.banner .sl{clear:both;display:block}
.searchAjaxTop,.searchAjaxTopBt{background:none repeat scroll 0 0 #fff;border:1px solid #ececec;box-shadow:0 1px 3px rgba(204,204,204,.5);clear:both;margin-top:34px;overflow:hidden;position:absolute;width:563px;z-index:10;display:none}
.searchAjaxTopBt a,.searchAjaxTopBt span{color:#444!important}
.searchAjaxTop ul,.searchAjaxTopBt ul{padding:0;margin:0;list-style:none}
.searchAjaxTop ul li,.searchAjaxTopBt ul li{height:25px;line-height:25px;padding-left:5px}
.searchAjaxTop ul li.le,.searchAjaxTopBt ul li.le{background:#f6f6f6;color:#555}
.searchAjaxTop ul li:hover,.searchAjaxTopBt ul li:hover{background:#d5e8f4;cursor:pointer;color:#d6392b}
.searchAjaxTop ul li a,.searchAjaxTopBt ul li a{float:left;height:25px;overflow:hidden;padding-right:10px;width:440px}
.searchAjaxTop ul li span,.searchAjaxTopBt ul li span{float:right;padding-right:5px;text-align:right}
.searchAjaxTop ul li a:hover,.searchAjaxTopBt ul li a:hover{color:#d7042b}
.brand_left_item a.active{color: red; font-weight: bold;}
/* aside.slider_row{clear:both;width:1170px;position:relative} */
aside.slider_row{clear:both;position:relative}
.menuHidenth{width:610px!important;border:1px solid #ececec!important;box-shadow:0 1px 3px rgba(204,204,204,.5)!important;padding-left:16px;padding-top:12px;margin-top:5px;left:0;position:absolute;cursor:pointer}
.price{font:700 14px/22px Helvetica,Arial,sans-senif}
.actions-destop{display: flex;align-items: center;justify-content: center;padding: 0px 13px;height: 42px;}
.actions-destop .cart{padding: 0px 10px;border-radius: 2px;display: flex;align-items: center;}
.actions-destop .cart:hover{scale: 1.05;}
.overlay_product .see-more{right: 50%;position: absolute;top: 26%;background: #333;z-index: 1000;color: #fff;padding: 10px 20px;transform: translateY(400%);opacity: 0;transform: translateX(50%)!important;text-wrap:nowrap;}
.framePromotion::before{content: "";width: 100%;height: 51%;position: absolute;background: radial-gradient(#e9e6e6, transparent);top: 20px;right: 0;left: 0;bottom: 0;opacity: 0;}
.title_bolo{position: absolute;width: 60%;left: 35px;margin: 0;text-transform: uppercase;background: #e5e5e5;border-radius: 5px;padding: 5px;font-weight: bold;padding-left: 17px;font-size: 10px;text-wrap: nowrap;z-index: 1;}
.line-before, .line-after {content: "";position: absolute;top: 50%;border: 1px solid #e5e5e5;width: 26%;}
.line-before {left: 0;}
.line-after {right: 0;}
.show-overlay .framePromotion::before {opacity: 1;}
.overlay_product:hover .see-more{transform: translateY(0%);opacity: 0.7;transition: top 0.8s ease-out, opacity 0.8s ease-out;}
.ratings{clear:both;display:table;font-size:11px;margin:auto;position:relative;text-align:left}
.owl-carousel .owl-wrapper:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0}
.owl-carousel{display:none;position:relative;width:100%;-ms-touch-action:pan-y}
.owl-carousel .owl-wrapper{display:none;position:relative;-webkit-transform:translate3d(0,0,0)}
.owl-carousel .owl-wrapper-outer{overflow:hidden;position:relative;width:100%}
.owl-carousel .owl-wrapper-outer.autoHeight{-webkit-transition:height .5s ease-in-out;-moz-transition:height .5s ease-in-out;-ms-transition:height .5s ease-in-out;-o-transition:height .5s ease-in-out;transition:height .5s ease-in-out}
.owl-carousel .owl-item{float:left}
.owl-controls .owl-buttons div,.owl-controls .owl-page{cursor:pointer}
.owl-controls{-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
.grabbing{cursor:url(grabbing.png) 8 8,move}
.owl-carousel .owl-item,.owl-carousel .owl-wrapper{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}
.owl-origin{-webkit-perspective:1200px;-webkit-perspective-origin-x:50%;-webkit-perspective-origin-y:50%;-moz-perspective:1200px;-moz-perspective-origin-x:50%;-moz-perspective-origin-y:50%;perspective:1200px}
.owl-fade-out{z-index:10;-webkit-animation:fadeOut .7s both ease;-moz-animation:fadeOut .7s both ease;animation:fadeOut .7s both ease}
.owl-fade-in{-webkit-animation:fadeIn .7s both ease;-moz-animation:fadeIn .7s both ease;animation:fadeIn .7s both ease}
.owl-backSlide-out{-webkit-animation:backSlideOut 1s both ease;-moz-animation:backSlideOut 1s both ease;animation:backSlideOut 1s both ease}
.owl-backSlide-in{-webkit-animation:backSlideIn 1s both ease;-moz-animation:backSlideIn 1s both ease;animation:backSlideIn 1s both ease}
.owl-goDown-out{-webkit-animation:scaleToFade .7s ease both;-moz-animation:scaleToFade .7s ease both;animation:scaleToFade .7s ease both}
.owl-goDown-in{-webkit-animation:goDown .6s ease both;-moz-animation:goDown .6s ease both;animation:goDown .6s ease both}
.owl-fadeUp-in{-webkit-animation:scaleUpFrom .5s ease both;-moz-animation:scaleUpFrom .5s ease both;animation:scaleUpFrom .5s ease both}
.owl-fadeUp-out{-webkit-animation:scaleUpTo .5s ease both;-moz-animation:scaleUpTo .5s ease both;animation:scaleUpTo .5s ease both}
@-webkit-keyframes empty {
0%{opacity:1}
}
@-moz-keyframes empty {
0%{opacity:1}
}
@keyframes empty {
0%{opacity:1}
}
@-webkit-keyframes fadeIn {
0%{opacity:0}
100%{opacity:1}
}
@-moz-keyframes fadeIn {
0%{opacity:0}
100%{opacity:1}
}
@keyframes fadeIn {
0%{opacity:0}
100%{opacity:1}
}
@-webkit-keyframes fadeOut {
0%{opacity:1}
100%{opacity:0}
}
@-moz-keyframes fadeOut {
0%{opacity:1}
100%{opacity:0}
}
@keyframes fadeOut {
0%{opacity:1}
100%{opacity:0}
}
@-webkit-keyframes backSlideOut {
25%{opacity:.5;-webkit-transform:translateZ(-500px)}
75%,
100%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(-200%)}
}
@-moz-keyframes backSlideOut {
25%{opacity:.5;-moz-transform:translateZ(-500px)}
75%,
100%{opacity:.5;-moz-transform:translateZ(-500px) translateX(-200%)}
}
@keyframes backSlideOut {
25%{opacity:.5;transform:translateZ(-500px)}
75%,
100%{opacity:.5;transform:translateZ(-500px) translateX(-200%)}
}
@-webkit-keyframes backSlideIn {
0%,25%{opacity:.5;-webkit-transform:translateZ(-500px) translateX(200%)}
75%{opacity:.5;-webkit-transform:translateZ(-500px)}
100%{opacity:1;-webkit-transform:translateZ(0) translateX(0)}
}
@-moz-keyframes backSlideIn {
0%,25%{opacity:.5;-moz-transform:translateZ(-500px) translateX(200%)}
75%{opacity:.5;-moz-transform:translateZ(-500px)}
100%{opacity:1;-moz-transform:translateZ(0) translateX(0)}
}
@keyframes backSlideIn {
0%,25%{opacity:.5;transform:translateZ(-500px) translateX(200%)}
75%{opacity:.5;transform:translateZ(-500px)}
100%{opacity:1;transform:translateZ(0) translateX(0)}
}
@-webkit-keyframes scaleToFade {
to{opacity:0;-webkit-transform:scale(.8)}
}
@-moz-keyframes scaleToFade {
to{opacity:0;-moz-transform:scale(.8)}
}
@keyframes scaleToFade {
to{opacity:0;transform:scale(.8)}
}
@-webkit-keyframes goDown {
from{-webkit-transform:translateY(-100%)}
}
@-moz-keyframes goDown {
from{-moz-transform:translateY(-100%)}
}
@keyframes goDown {
from{transform:translateY(-100%)}
}
@-webkit-keyframes scaleUpFrom {
from{opacity:0;-webkit-transform:scale(1.5)}
}
@-moz-keyframes scaleUpFrom {
from{opacity:0;-moz-transform:scale(1.5)}
}
@keyframes scaleUpFrom {
from{opacity:0;transform:scale(1.5)}
}
@-webkit-keyframes scaleUpTo {
to{opacity:0;-webkit-transform:scale(1.5)}
}
@-moz-keyframes scaleUpTo {
to{opacity:0;-moz-transform:scale(1.5)}
}
@keyframes scaleUpTo {
to{opacity:0;transform:scale(1.5)}
}
.slider_row{clear:both}
.slider_row h2.parent-v1{clear:both;position:relative;text-align:center;display: flex;align-items: center;justify-content: space-between;background: linear-gradient(to left, #f8d2c0, #fbeed7, #f8d2c0);border-radius: 6px;padding: 12px;}
.slider_row h2.parent{clear:both;position:relative;text-align:center;display: flex;align-items: center;}
.item_count_down{display: inline-block;padding: 3px 0px;text-align: center;width: 30px;border-radius: 5px;color: #767979;background: #fff;font-weight: 700;font-size: 16px;margin: 0px 8px;vertical-align: top;-webkit-text-stroke: thin;}
.slider_row h2.parent a{font-family:Arial,Helvetica,sans-serif;color:#333;font-size:24px;font-weight:700;padding-left:12px;padding-right:12px;display:block;float:left;text-transform:uppercase}
.item_category .active {color: red;}
.item_category .fa-chevron-down:before{color: #666;display: block;float: left;font-family: FontAwesome;font-size: 11px;font-style: normal;font-weight: 400;margin-left: 5px;text-align: center;}
.item_li {list-style: none;}
.mini-banner{padding: 10px 6px;display: flex;flex-wrap: wrap;}

.mini-banner .item{width: 100%}
.mini-banner .item img{width: 96%; height: 220px;border-radius: 10px;}
.content_v .row_product{clear:both;padding-bottom:11px;padding-top:20px}
.content_v .row_product:first-child{padding-top: 7px}
.mini-banner .owl-controls{display: none!important;}
.q_HomeSlide .owl-pagination{margin-top:-10px}
.slider_row .xem_them{font-size:13px;font-weight:300;text-align:center}
.slider_row .xem_them a span{font-weight:700;color:#c3512f}
aside.slider_row .owl-buttons div{border-right:1px solid #ddd;border-top:1px solid #ddd;font-style:normal;font-weight:400;height:20px;position:absolute;right:33px;top:48%;transform:rotate(45deg);width:20px}
aside.slider_row .row_product .add_cart{border-radius:0 4px 0 0!important}
aside.slider_row .owl-buttons div:hover{border-color:#eaeaea!important}
aside.slider_row .owl-buttons .owl-prev{border-right:none!important;border-left:1px solid #ddd;border-bottom:1px solid #ddd!important;left:10px!important;border-top:none!important}
.add_cart:hover i{color:#fff}
.row_product_lq .images,aside.product_l .product_item .images,aside.slider_row .row_product .owl-item .images{clear:both;display:block;height:216px;overflow:hidden;text-align:center;border: 2px solid #eeeeed;border-radius: 10px;}
aside.product_l .product_item .images{max-width:93%;height:270px}
.item-buy-category p{border-top: 2px solid #e5e5e5;padding: 10px 0px 10px 0px;background: #e5e5e5;margin-bottom: 0;font-weight: bold;font-size: 16px;-webkit-text-stroke: thin;color: #343434;}
.row_product_lq .owl-item h2,aside.slider_row .row_product .owl-item h2{clear:both;height:43px;overflow:hidden;padding: 3px 5px;text-align:center;position: relative;}
.row_product_lq .owl-item h2,aside.slider_row .row_product .owl-item h2:after{content: "";background: #c4c4c4;width: 140px;height: 2px;position: absolute;bottom: 0px;left: 19%;}
aside.slider_row .row_product .owl-item h2 a{color:#666;font-size:13px;font-style:normal;font-weight:400;text-decoration: none;-webkit-line-clamp: 2;-webkit-box-orient: vertical;display: -webkit-box;overflow: hidden;}
aside.slider_row .row_product .owl-item h2 a:hover{color:#e11f26}
.row_product_lq .price,aside.product_l .product_item .price,aside.slider_row .row_product .owl-item .price{clear:both;font-size:15px;margin:auto;padding-top:5px;text-align:center;display: flex; flex-direction: column;height: 40px;}
aside.manufacturer{background:#fff none repeat scroll 0 0;display:table;padding-bottom:20px;width:100%}
.row_product_lq .row_product_h{clear:both;height:328px}
.row_product_h_l,aside.slider_row .row_product .row_product_h{overflow: hidden;position: relative;width: 215px;margin: auto;border-radius: 4px;padding: 20px 0 20px 0;}
aside.slider_row .row_product_khuyen_mai .row_product_h{overflow: hidden;position: relative;width: 267px;margin: auto;border-radius: 4px;padding: 20px 0 20px 0;}
aside.slider_row .row_product_khuyen_mai .row_product_h img {
    max-height: 195px;
    max-width: 100%;
}
.discount-hot{display: flex;align-items: center;flex-direction: column;}
.discount-hot .login-hot{padding: 5px 25px;border-radius: 3px;color: #333;border: 1px solid;-webkit-text-stroke: thin;}
.item-hot .check{text-align: center;
    display: flex;
    justify-content: center;
    padding: 0px 16px;
    align-items: center;
    margin-top: 0px;
    position: absolute;
    bottom: 34px;}
.item-hot .check .receive-now{font-size: 11px;background: #fd1d55;padding: 1px 13px;border-radius: 4px;color: #fff;font-weight: bold;}
.list-voucher .check{    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px;
    position: absolute;
    bottom: 10px;
    left: 56px;}
.list-voucher .check .receive-now{font-size: 11px;background: #fd1d55;padding: 1px 13px;border-radius: 4px;color: #fff;font-weight: bold;}
.actions{text-align: center;}
.actions a{background: #ef4679;}
.actions .see-more{padding: 10px 30px;color: #fff;border-radius: 5px;}
.row_product_h_l img,aside.slider_row .row_product .row_product_h img{max-height:195px;max-width:100%;transform: translateY(18px);}
aside.manufacturer .row_manufacturer img{display:block;float:left;padding-left:20px;padding-right:20px;padding-top:11px}
aside.manufacturer .row_manufacturer .sakura img{padding-top:0!important}
footer{clear:both;font-size:13px;background:#fff;width:1170px;margin:auto; margin-top: 20px;}
footer .link{float: left;
    padding-right: 6px;
    line-height: 24px;
    padding-top: 14px;
    width: 389px;
    font-size: 12px;
    font-weight: bold;}
footer .call{width:300px}
footer .showroom{
    width: 440px;
    line-height: 24px;
    margin-left: 91px;
    font-size: 11px;
    font-weight: bold;}
footer .link ul a{padding-right:4px}
footer .connect{float:right;margin-top:20px;margin-right:10px}
footer .connect a{display:inline-block;font-size:25px;height:32px;margin-left:10px;text-align:center;width:32px;font-family:FontAwesome}
footer .showroom br{padding-bottom:5px}
footer .connect a:hover{color:#ff9100}
.fb:before{content:"\f09a"}
.tw:before{content:"\f099"}
.gg:before{content:"\f0d5"}
.ytb:before{content:"\f167"}
.ist:before{content:"\f16d"}
.row_manufacturer{border-top:1px solid #dedede;margin-top:18px;padding-top:10px}
.row_product_lq .price span,
aside.product_l .product_item .price span,
aside.slider_row .row_product .owl-item .price span{color:#888!important;text-decoration:line-through;font-weight:400;margin-right:5px;}
.brackRum{font-size:12px}
aside.navigation{clear:both;height:21px;padding-top:6px;line-height:29px}
section.content_ld{margin-top:10px!important;display:table;border-radius:2px}
aside.navigation .brackRum{margin:auto;width:1170px}
.add_cart{background:url(../../images/cart.png) no-repeat 6px #ef4679;border:1px solid #ef4679!important;color:#fff!important;display:none;position:absolute;padding:16px 12px 16px 16px;width:5px;border-radius:2px;right:0;top:0;cursor:pointer}
.top_cart{background:#f7f7f7;height:30px;line-height:30px;width:656px}
.cart_oder ul{clear:both}
.cart_oder ul li{padding-right:10px;padding-left:10px;display:table-cell;height:100%;vertical-align:middle}
.bottom_cart li{border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3}
.cart_oder ul li.sp{width:300px}
.cart_oder ul li.dg,.cart_oder ul li.tt{width:100px;text-align:center}
.cart_oder ul li.sl{width:70px;text-align:center}
.bottom_cart{border-left:1px solid #e3e3e3}
.bottom_cart .cartImg{padding-right:5px;max-height:60px;width:auto!important;max-width:80%}
.bottom_cart li{padding-top:5px;padding-bottom:5px}
.bottom_cart li.dg,.bottom_cart li.tt{line-height:60px}
.pro_pos_giga{background:#FD1D55;position:absolute;float:right;padding:0px 10px;color:#fff;border-radius:5px;height:30px;width:30px;text-align:center;line-height:30px;left:0;top:20px;z-index: 2;}
.pro_pos_giga span{font-weight:700}
.buy1get1free{z-index:100;position:absolute;top:17px;right:17px;background:rgba(255,212,36,.9);color:#ee4d2d;font-size:10pt;text-align:center;padding:10px 0;width:48px;font-weight:700;font-family:Arial;animation-name:buy1get1free;animation-duration:2s;animation-iteration-count:infinite}
.buy1get1free:after{content:"";width:0;height:0;left:0;bottom:-8px;border-style:solid;position:absolute;border-width:0 24px 8px;border-color:transparent rgba(255,212,36,.9)}
@keyframes buy1get1free {
0%{color:red}
50%{color:#fff}
100%{color:red}
}
.banner_header_product{text-align:center;z-index:1;position:absolute}
.promotion_limited{font-family:Roboto;font-size:20px;overflow:hidden;background:#202020;background-size:60%;animation:promotion 3s linear infinite;-webkit-background-clip:text;-webkit-text-fill-color:rgba(255,255,255,0);font-weight: bold;z-index: 10; position: relative;}
.reduction{display: flex;align-items: center;background: #DBDBDB;padding: 10px;border-radius: 7px;}
.reduction p:first-child{background: #FFFFFF;color: #A0A0A0;padding: 3px 8px;border-radius: 29px;font-weight: bold;margin-right: 10px;}
.reduction p {margin: 0;font-size: 19px;line-height: 1.3;color: #3D3D3D;}
.endow-combo{border: 3px dashed #D9D9D8;padding: 10px;border-radius: 5px;margin-top: 12px;max-height: 140px;
    overflow: auto;}
.endow-combo h2{font-size: 20px;font-weight: bold;margin-bottom: 5px;}
.endow-combo-product{display: flex;align-items: center;margin-bottom: 8px;height: 100px;}
.endow-combo-product p {margin: 0;font-size: 15px;}
.endow-combo-product .content{padding-left: 30px;}
.endow-combo-product .title{font-weight: bold;color: #4A4A4A;}
.endow-combo-product .plus{font-size: 50px;padding: 0px 20px;color: #9F9F9F;cursor: pointer;}
.endow-combo-product .price{margin-bottom: 4px;}
@keyframes promotion {
0%{background-position:-500%}
100%{background-position:100%}
}

.bottom_cart .capnhatCartTxt{border:1px solid #ddd;height:20px;line-height:20px;margin-top:17px;text-align:center;width:40px}
.cart_oder{width:656px}
.cart_right{float:right;padding-top:5px;padding-bottom:15px;margin-right:9px}
.btdatHang{background:#B4B4B4;clear:both;cursor:pointer;height:34px;line-height:34px;margin-top:5px;padding-left:20px;padding-right:20px;text-align:center;border-radius:2px;color:#fff;display:block}
.boxDathang .dhnBottomRight:hover,.btdatHang:hover{background:#d62e4d;color:#fff}
#tongTienCart,.bottom_cart .tt{font-size:14px;font-weight:400}
#tongTienCartFinal{color:red;font-weight:700;font-size:15pt}
.cart_left{float:left;padding-bottom:10px;margin-left:9px}
.cart_left .btdatHang{width:160px;margin-left:8px;border-radius:0}
.cart_left .btdatHang:hover{background:#d62e4d!important;color:#fff!important}
.Cart_title_pro{display:block;overflow:hidden}
.delete_Cart{cursor:pointer;color:#ef4679}
.delete_Cart:before{content:"\f057";font-family:FontAwesome;color:#ef4679;font-size:16px;padding-right:3px}
.title_gio_hang{clear:both;color:#333;padding-left:20px;height:40px;line-height:40px;font-weight:700;display: flex;flex-direction: column;align-items: center;justify-content: center;font-size: 19px;}
#poup_all_to{background:#fff;transition:all .3s}
.title_gio_hang .close_poup{border:2px solid #fff;border-radius:22px;color:#fff;cursor:pointer;display:block;float:right;font-size:16px;height:27px;line-height:27px;margin-right:10px;margin-top:5px;text-align:center;width:27px}
.login-cart{padding: 16px 10px 0px 10px;}
.login-cart span:last-child{padding: 7px 3px;
    border-radius: 31px;
    color: #4C4C4C;
    font-size: 14px;
    font-weight: bold;
    text-decoration: underline;}
.select-row select{    margin: 10px 5px;
    border: 2px solid #dedede;
    padding: 7px 10px;
    border-radius: 10px;}
.boxDathang{border: 2px solid #D4D5D3;border-radius:5px;clear:both;padding-bottom:30px;width:100%}
.boxDathang .dhn_gioi_tinh,.boxDathang input,.boxDathang textarea{border:2px solid #dedede;    padding: 7px 16px;
    border-radius: 10px;}
.boxDathang #dhn_ho_ten,.boxDathang .inLhVews,.boxDathang .inLhVewsTex{width:550px}
.boxDathang .dhnBottomRight{background:#ef4679 none repeat scroll 0 0;color:#fff;margin:15px auto 5px;padding:10px 5px;text-align:center;width:140px;cursor:pointer}
.title_nhan_hang{text-align:center;width:100%!important;padding:0!important}
.title_nhan_hang span{display:block;line-height:30px}
.title_nhan_hang span.xnHn_bt{line-height:14px!important;font-weight:400}
.error,.errorr{border:1px solid #d62e4d!important;color:#d62e4d!important}
.theleall{clear:both;margin:auto;padding:8px 35px 8px 14px;padding-bottom:10px;width:980px}
h1.titile_km{clear:both;text-align:center;padding-top:15px;padding-bottom:10px;font-size:15px;font-weight:700}
.thongbao{clear:both;width:360px;padding-left:10px;padding-right:10px;padding-bottom:20px;display:block;text-align:center}
.icon_bolt:before,.icon_check:before,.icon_double_right:before,.icon_f06b:before,.icon_hand_o_right:before,.icon_long_arrow_right:before,.icon_quote_left:before,.icon_quote_right:before,.icon_sign_in:before,.icon_trophy:before,.icon_umbrella:before{font-family:FontAwesome;margin-right:4px;float:left}
.icon_check:before{content:"\f00c";font-size:14px;color:#d62e4d}
.icon_trophy:before{content:"\f091";font-size:24px;color:#ffa001}
.icon_hand_o_right:before{content:"\f0a4";font-size:24px;color:#38538a}
.icon_bolt:before{content:"\f0e7";font-size:16px;color:#ffa001}
.icon_umbrella:before{content:"\f0e9";font-size:25px;color:#666}
.icon_double_right:before{content:"\f101";font-size:20px}
.icon_f06b:before{content:"\f06b";font-size:22px;color:#666}
.icon_sign_in:before{content:"\f090";font-size:16px;color:#fea204}
.icon_long_arrow_right:before{content:"\f178";font-size:13px;color:#666}
.icon_quote_left:before,
.icon_quote_right:before{content:"\f10d";font-size:20px}
.content_ld .brackRum{background:#fff none repeat scroll 0 0;clear:both;height:25px;margin-right:10px;overflow:hidden}
.brackRum span{display:block;float:left;padding-right:4px;font-size: 16px;}
.brackRum h1{float:left;line-height:30px;padding-left:4px;font-size: 16px;font-weight: bold;}
aside.content_top{clear:both;margin-top:8px;width:1180px}
aside.content_top .item img{min-height:160px}
article.content_list,aside.content_list{float:left;width:1170px;
    padding: 6px 6px;
    border-radius: 10px;}
.content-body .title:after{content: "";
    background: #575050;
    width: 60%;
    height: 1px;
    position: absolute;
    bottom: -3px;
    left: 21%;}
article.content_list h2{font-size:18px}
article.content_list h3{font-size:16px}
article.content_list a{color:#494B4E}
article.content_list ul, .category_product_content ul {padding:5px;list-style:none;list-style-type: disc !important;padding-left: 30px !important;}
.category_product_content p {margin:0;}
.category_product_content em img { max-width: 100%; }
.content_border{display: table;margin-top: 8px;width: 905px;border-top: 1px solid #eee;border-left: 1px solid #eee;}
.content-body{display: flex; flex-wrap: wrap;}
.content-body-genki{display: flex;flex-wrap: wrap;justify-content: start;}
.item_genki{max-width: 36%;
    flex: 0 0 32%;
    padding: 7px 9px;
    padding-right: 0;}
.item_genki-wp{display: block;
    border: 2px solid #D4D5D3;
    border-radius: 6px;height: 100%;}
.item_genki .title{position: relative;}
.item_genki .title::after{content: "";
    width: 165px;
    height: 2px;
    position: absolute;
    background: #9C9C9C;
    bottom: -5px;
    left: 17%;}
.content-body .item{width: 47%;margin-right: 25px;}
.content-body .item .title{font-weight: bold;position: relative;text-align: center;}
.article_search::before{content: "\f002";
    font-family: FontAwesome;
    color: #4E4E4E;
    font-size: 16px;}
.article_search {
       border: medium none;
    cursor: pointer;
    float: right;
    height: 32px;
    position: absolute;
    width: 32px;
    z-index: 99999;
    background: 0 0;
    right: 5px;
    top: 3%;
}
.text-capitalize {
  text-transform: capitalize;
}

/* Áp dụng việc viết thường cho phần còn lại */
.text-lowercase {
  text-transform: lowercase;
}
.action-time{    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;}
.put_cacul{display: flex;
    align-items: center;
    justify-content: center;
    background: #FD1D55;
    color: #fff;
    padding: 6px 0px;
    margin: 10px 0px;
    border-radius: 5px;}
.content-body img{width: 100%;height: auto;}
.filter-wp{display: flex;justify-content: space-between;align-items: center;}
.filter-wp .input_search{height: 20px;width: 300px;border-radius: 7px;outline: none;padding: 4px 10px;border: 2px solid #cdcbcb;}
aside.content_pro_hot .product_item{border-bottom:1px dotted #e8e8e8;border-radius:2px;clear:both;margin-bottom:15px;padding:10px}
aside.content_pro_hot .product_item h2{clear:both;height:36px;overflow:hidden;padding:5px;text-align:center}
aside.content_pro_hot .product_item .price{clear:both;font-size:15px;margin:auto;text-align:center}
aside.content_pro_hot .product_item .price span{color:#888!important;font-weight:400;margin-right:5px;text-decoration:line-through}
aside.content_pro_hot .product_item .images img{width:172px}
aside.right_content{float:right;width:300px}
aside.right_content .titile_h{background: #E2E2E2;border-radius: 5px;margin: 10px 0px;}
aside.right_content .titile_h span{color:#000000;display:inline-block;line-height:32px;width: 100%;text-align: center;font-size: 18px;padding: 5px 0px;font-weight: bold;}
aside.right_content .filter .content_v{clear:both;height:80px;padding-bottom:5px;padding-top:5px}
aside.right_content .filter .content_v .images{float:left;width:120px;overflow:hidden;height:80px}
aside.right_content .filter .content_v .images img{height:100%;border-radius: 5px;}
aside.right_content .filter .content_v .detail{float:left;width:170px;float:right}
aside.right_content .filter .content_v .detail a{font-weight:700}
aside.right_content .filter .content_v .images span{background:rgba(0,0,0,.2) none repeat scroll 0 0;border-radius:0 2px 0 0;color:#fff;font-size:20px;height:32px;line-height:32px;margin:48px 0 0;position:absolute;text-align:center;width:32px}
aside.right_content .filter{clear:both;padding-top:5px}
aside.right_content .filter .content_v .images div{background:rgba(0,0,0,0) linear-gradient(to bottom,transparent 0,rgba(0,0,0,.8) 100%) repeat scroll 0 0;color:#fff;display:block;font-size:16px;height:24px;margin-top:45px;padding-left:8px;padding-top:11px;position:absolute;width:112px}
aside.content_list .allV{float:left;height:356px;overflow:hidden;text-align:justify;width:100%}
aside.content_list .allV .images{clear:both;height:300px;overflow:hidden;border-radius: 6px;padding: 5px;}
aside.content_list .allV .images img{width:100%;min-height:215px}
aside.content_list .allV h2{overflow:hidden;padding-right:10px;text-align:center;text-transform:uppercase}
aside.content_list .allV h2 a{font-size:14px;font-weight:700}
aside.content_list .allV figure{padding-right:21px;padding-top:5px;height:62px;overflow:hidden}
.content_list .pagingDetail{height:37px;line-height:38px;margin-right:15px;text-align:center;font-size:15px}
.content_list_de{padding-right:20px;width:834px!important}
.content_list .pagingDetail a{padding-left:8px;padding-right:8px}
.content_list .pagingDetail strong{color: #FD6E91;display:inline-block;height:37px;padding-left:15px;padding-right:15px;border-radius:2px}
aside.content_pro_hot .product_item:last-child{border:none!important}
h1.titile_dCon{font-family:arial;font-size:24px;letter-spacing:1px;line-height:140%;padding-top:5px;text-align:center;text-transform:uppercase;font-weight: bold;}
article.content_list span.date{float:left;padding-bottom:4px;padding-top:4px;color:#777;font-weight: bold;}
.clear{clear:both}
article.content_list img{height:auto!important;max-width:700px}
.cnShare{clear:both;display:table;height:18px;margin:auto;padding:2px}
.content_list_top{padding:10px}
.NewTitleH{border-bottom:1px solid #e4e4e4;clear:both;font-size:16px;height:4px;margin-bottom:30px;margin-top:9px;padding-bottom:6px;text-align:center}
.newNews{clear:both;width:866px}
.NewTitleH span{background:#fff none repeat scroll 0 0;font-family:arial;border:4px solid #eaeaea;padding:8px 20px 6px;border-radius:2px}
.InContentA{clear:both;background:#fff;display:table}
.tags{clear:both;padding-top:20px;padding-bottom:20px}
.comentDetail{clear:both;background:#fff;padding:10px}
.newNewsLeftD{float:left;margin-right:25px;overflow:hidden;padding-bottom:10px;width:260px}
.newNewsLeftD .newNewsLeftDImg{clear:both;height:140px;overflow:hidden;border-radius:2px}
.newNewsLeftD h3{height:40px;overflow:hidden;padding-top:6px}
article.thele{border-right:1px solid #f1f1f1;float:left;width:860px}
article.content_list img{max-width:100%;height:auto!important}
article.content_list p{color:#333;font-size:14px;font-weight:400;line-height:21px;letter-spacing:.1px}
.nav_content{clear:both;width:190px}
section.product_d .images_d{float:left;overflow:hidden;text-align:center;width:450px;padding: 5px;}
section.product_d .images_d img{max-height:450px;}
aside.product_l .product_item .images img{max-height:266px;max-width:100%;transform: translateY(10px);}
section.product_d .detailP{clear:both;background:#fff;display:table;padding:27px 0px 16px;margin-top:6px;width:1150px}
#commentPhanTrang{background:#fff;padding-left:15px;padding-right:15px;padding-bottom:15px;max-height: 543px;overflow: auto;height: 100%;}
section.product_d .detailP .owl-buttons div:before{content:"";color:#fff;font-family:FontAwesome;font-size:23px;font-style:normal;font-weight:400;line-height:29px;position:relative;text-align:center;transition:all .4s ease 0s}
section.product_d .detailP .owl-buttons div{border-radius:2px 0 0 2px;bottom:50%;font-size:20px;height:29px;padding-left:9px;padding-right:6px;position:absolute;right:0;text-align:center;width:15px;z-index:9;background:rgba(216,216,216,.5) none repeat scroll 0 0}
section.product_d .detailP .owl-buttons div.owl-prev{left:0!important;border-radius:0 2px 2px 0!important}
section.product_d .detailP .owl-buttons div.owl-next:before{content:"\f105"!important;padding-left:4px!important}
section.product_d .detailP .desProduct{float:left;padding-left:10px;width:675px}
section.product_d .detailP .desProduct h1.detailPT{clear:both;font-size:20px;padding-bottom:10px;line-height:140%;font-weight: bold;    color: #202020;text-transform: uppercase;}
.proFtiter{clear:both;font-size: 15px;padding: 8px 0px;position: relative;}
.proFtiter:first-child::after{content: "";width: 2px;height: 12px;position: absolute;background: #282828;right: 20px;top: 13px;}
.proFtiter span{color:#282828;font-size:14px}
.proDha{clear:both;display:table}
.proDha .buy-now{background:#FD1D55;color:#fff;cursor:pointer;float:left;padding:8px;text-align:center;width:150px;font-family:Arial,sans-senif;font-weight:700;margin-top:11px;border-radius: 5px;font-size: 15px;}
.proDha .add-cart{background:#FD1D55;color:#fff;cursor:pointer;float:left;padding:8px;text-align:center;width:161px;font-family:Arial,sans-senif;font-weight:700;margin-top:11px;border-radius: 5px;font-size: 15px;margin-right: 10px;}
.proDha .advise{background:#F9AEB0;color:#fff;cursor:pointer;float:left;padding:8px 10px;text-align:center;width:161px;font-family:Arial,sans-senif;font-weight:700;margin-top:11px;border-radius: 5px;font-size: 15px;}
.num-cart{float: left;display: flex;align-items: center;transform: translateY(12px);margin-right: 10px;border: 1px solid #DFE0DE;border-radius: 6px;}
.num-cart span{font-size: 20px;padding: 6px 12px;cursor: pointer;border: 1px solid #DFE0DE;}
.num-cart .input_number{width: 40px;text-align: center;border: none;}
.content-detail-left{width: 837px;margin-right: 10px;}
.content-detail{display: flex;}
.content-detail .item-toggle{margin-bottom: 10px;}
.content-detail .item-toggle .fa-chevron-down:before{color: #666;display: block;float: left;font-family: FontAwesome;font-size: 20px;font-style: normal;font-weight: 400;margin-left: 5px;text-align: center;width: 35px;}
.content-detail .item-toggle .title{font-size: 20px;background: linear-gradient(to left, #DFDFDF, #F5F4F4, #DFDFDF);color: #333;padding: 18px 16px;border-radius: 4px;display: flex;align-items: center;justify-content: space-between;cursor: pointer;text-transform: uppercase;}
.content-detail .item-toggle .product,
.content-detail .item-toggle .content-3{display: none;width: 99.8%;border: 2px solid #F1F3F2;border-radius: 10px;}
.content-detail .item-toggle .title img{width: 20px;}
.content-detail .list-toggle{margin-right: 10px;width: 100%;}
.proDha .btDah .bttOp,
.right_roduct_hd .btDah .bttOp{clear:both;display:block;font-weight:700}
.row_product_lq .owl-buttons{display:none}
.rview-wp{display: flex;align-items: center;}
.rview-wp span{border-right: 1px solid;padding: 0px 12px;color: #777777;font-size: 16px;color: #525252;
    font-weight: 600;}
.rview-wp span:last-child{border: none;}
.list-promotion{display: flex;align-items: center;padding-top: 10px;}
.list-promotion h2{font-size: 35px;color: #ef0d51;font-weight: bold;}
.list-voucher{    display: flex;flex-wrap: wrap;width: 100%;}
.list-voucher img{max-width: 100%;flex: 0 0 33%;}
.lc__section-review {color: #767979;}
.u-flex {display: flex;align-items: center;}
.box-title {    font-size: 16px;
    padding: 10px;
    text-transform: uppercase;
    font-weight: bold;}
.badge-primary {color: #fff;background-color: #007bff;}
.badge {display: inline-block;padding: 0.25em 0.4em;font-size: 75%;font-weight: 700;line-height: 1;text-align: center;white-space: nowrap;vertical-align: baseline;border-radius: 0.25rem;transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;background: #FD1D55;}
.lc__reviews-rating {border-top: 1px solid #F1F3F2;border-bottom: 1px solid #F1F3F2;;padding: 17px 0px;}
.lc__reviews-rating .list{display: flex;-ms-flex-wrap: wrap;flex-wrap: wrap;margin-right: -15px;margin-left: -15px;}
.lc__reviews-rating .list .item{flex: 0 0 33.333333%;max-width: 33.333333%;}
.lc__starviews {text-align: center;}
.txt-tit {font-size: 18px;padding-bottom: 14px;}
.lc__starviews .number {margin-bottom: 14px;font-size: 42px;color: #407bb8;font-weight: 600;}
.lc__reviews-progressviews {padding: 10px;}
.progress-line.progress-sm {height: 8px;border-radius: 6px;}
.progress-bar {display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;-ms-flex-pack: center;justify-content: center;overflow: hidden;color: #fff;text-align: center;white-space: nowrap;background-color: #007bff;transition: width .6s ease;}
.lc__reviews-sendviews{flex-direction: column;align-items: center;}
.lc__reviews-sendviews p {font-size: 17px;}
.lc__reviews-sendviews a {font-size: 16px;padding: 4px 30px;background: #FD1D55;outline: none;border: none;color: #fff;border-radius: 5px;}
.txt-view {font-size: 14px;color: #9ba0ab;}
.lc__cmt-block {padding: 14px;border-bottom: 1px solid #ddd;}
.lc__cmt-avatar {margin-right: 10px;}
.avatar-circle .avatar-picture {display: flex;justify-content: center;align-items: center;background: #b6c0ce;padding: 15px 22px;border-radius: 50%;}
.lc__cmt-content {position: relative;padding-left: 14px;}
.avatar-name {font-weight: 700;font-size: 17px;}
.lc__rating-star {display: flex;margin-bottom: 0;justify-content: center;}
.lc__rating-star i:before{color: #B2B2B2;display: block;float: left;font-family: FontAwesome;font-size: 20px;font-style: normal;font-weight: 400;margin-left: 5px;text-align: center;width: 18px;content: "\f005";cursor: pointer;}
.lc__rating-star i.active:before{color: #FDC558;}
.comment-month .lc__rating-star{justify-content: start;}
.comment-month i:before{color: #B2B2B2;display: block;font-family: FontAwesome;font-size: 16px;font-style: normal;width: 14px;content: "\f005";margin-left: 0;margin-right: 4px;}
.progress-block i:before{color: #B2B2B2;display: block;float: left;font-family: FontAwesome;font-size: 15px;font-style: normal;font-weight: 400;text-align: center;width: 18px;content: "\f005";}
.lc__cmt-content--full {font-size: 17px;}
.modal{position: fixed;top: 0;left: 0;z-index: 1050;width: 100%;height: 100%;overflow: hidden;outline: 0;display: none;}
.modal-wrapper{position: absolute;z-index: 9999;top: 6em;left: 50%;width: 32em;margin-left: -16em;background-color: #fff;box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);}
.modal-header{position: relative;background-color: #fff;box-shadow: 0 1px 2px hsla(0, 0%, 0%, 0.06);display: flex;-ms-flex-align: start;align-items: flex-start;-ms-flex-pack: justify;justify-content: space-between;padding: 0.7rem 1rem;border-bottom: 1px solid #dee2e6;border-top-left-radius: calc(0.3rem - 1px);border-top-right-radius: calc(0.3rem - 1px);}
.modal-heading {font-size: 1.125em;margin: 0;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;}
.modal-body {padding: 2rem 2rem 0rem 2rem;}
.title-star{text-align: center;font-size: 16px;margin: 0;margin-bottom: 9px;}
.modal-content {position: relative;display: -ms-flexbox;display: flex;-ms-flex-direction: column;flex-direction: column;width: 100%;pointer-events: auto;background-color: #fff;background-clip: padding-box;border-radius: 0.3rem;outline: 0;}
.modal-footer{display: -ms-flexbox;display: flex;-ms-flex-wrap: wrap;flex-wrap: wrap;-ms-flex-align: center;align-items: center;-ms-flex-pack: end;justify-content: center;padding: 0.75rem;border-top: 1px solid #dee2e6;border-bottom-right-radius: calc(0.3rem - 1px);border-bottom-left-radius: calc(0.3rem - 1px);}
.modal-overlay{position: fixed;z-index: 10;top: 0;left: 0;width: 100%;height: 100%;background: hsla(0, 0%, 0%, 0.5);opacity: 0;transition: visibility 0s linear 0.3s, opacity 0.3s;visibility: hidden;}
.modal.is-visible {visibility: visible;display: block;}
.modal.is-visible .modal-overlay{opacity: 1;visibility: visible;transition-delay: 0s;}
.close-review i:before{color: #666;display: block;float: left;font-family: FontAwesome;font-size: 20px;font-style: normal;font-weight: 400;margin-left: 5px;text-align: center;width: 35px;cursor: pointer;}
.btn_evaluate{color: #fff;background-color: #6c757d;border-color: #6c757d;border: none;padding: 8px 24px;cursor: pointer;}
.row {display: -ms-flexbox;display: flex;-ms-flex-wrap: wrap;flex-wrap: wrap}
.col-12 {-ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%;}
.col-md-6 {-ms-flex: 0 0 50%;flex: 0 0 50%;max-width: 50%;}
.col-md-12 {-ms-flex: 0 0 100%;flex: 0 0 100%;max-width: 100%;}
.form-group {margin-bottom: 1rem;margin-right: 11px;}
.form-input {position: relative;display: block;width: 100%;font-family: inherit;padding: 5.5px 0px 5.5px 7px;color: #334155;background-color: #fff;background-clip: padding-box;border: 1px solid #d8e0e8;font-size: 11px;transition: all 0.3s;}
.check-form-review {display: flex;align-items: center;}
aside.ckProduct{clear:both;margin-top:10px}
aside.ckProduct .deCk{display:table;width:332px;float:left;height:50px}
.deCkTlnq .ttCK{line-height:42px}
aside.ckProduct .icon:before{color:#666;display:block;float:left;font-family:FontAwesome;font-size:20px;font-style:normal;font-weight:400;margin-left:5px;margin-top:11px;text-align:center;width:38px}
.deCkTtct .icon:before{content:"\f1f0"}
.deCkTtct .ttCK{display:block;float:left;width:280px}
.deCkGhMpTq .icon:before{content:"\f0d1"}
.deCkHln .icon:before{content:"\f087"}
.deCkHlndt .icon:before{content:"\f1b8"}
.deCkTlnq .icon:before{content:"\f06b"}
.deCktmhg .icon:before{content:"\f044"}
.deCkGhMpTq .ttCK,.deCkHln .ttCK{line-height:40px}
.deCkGhMpTq,.deCkHln,.deCktmhg{padding-bottom:0!important;padding-top:0!important}
.deCktmhg .ttCK{line-height:38px}
aside.productEditQri{float:right;width:300px;display: none;}
.detailProduct-relate{width: 1170px;}
aside.product{float:left;width:868px}
aside.product .de_Product_t{clear:both;height:37px;margin-bottom:-1px;margin-right:10px;position:relative;z-index:99}
aside.product .de_Product_t span{background:#e4e4e4 none repeat scroll 0 0;display:inline-block;float:left;font-size:14px;height:38px;line-height:40px;margin-bottom:-1px;padding-left:20px;padding-right:20px;position:relative}
.de_Product_in{margin-left:-16px!important;width:857px;border-bottom:1px solid #eee}
aside.product .hdSudDetail{clear:both;padding-top:10px}
aside.product article{border:1px solid #eee;margin-right:0px;padding:15px;clear:both}
aside.product article img{max-width:816px;height:auto!important}
.rightDetailHA{clear:both;font-size:14px;line-height:24px;margin-right:0px;background:#fff;padding:0px 15px;}
.clear10px{clear:both;height:10px}
.commemntKdD{clear:both;margin-right:0px;display:table;width:100%;background:#fff;padding-bottom:12px}
.commemntKdD #noi_dung_com{    border: 2px solid #A1A1A1;float: left;height: 49px;margin-top: 12px;padding: 10px;margin-left: 12px;width: 450px;border-radius: 11px;}
.comMentproductFD{float:left;margin-left:7px;margin-top:12px;width:308px}
.comMentproductFD input{border: 2px solid #A1A1A1;clear: both;height: 22px;width: 100%;border-radius: 6px;padding: 4px 7px;}
.comMentproductFD #email_com{margin-top:6px}
.btBinhLuan{background: #FD1D55;border: 2px solid #FD1D55;color: #fff;cursor: pointer;height: 72px;position: absolute;right: 16px;top: 12px;border-top-right-radius: 10px;border-bottom-right-radius: 10px;padding: 0px 10px;text-transform: uppercase;}
.commentDetailTopLeft{clear:both;padding-top:8px}
.commentDetailTopLeft .titl{font-weight:700;padding-right:5px;text-transform:capitalize}
.commentDetailTopLeft .date{color:#888}
.bt_bLuan{float:left;margin-left:6px;margin-top:12px;width:119px}
.bt_bLuan #diem{border:1px solid #ddd;clear:both;height:20px;width:122px}
.clearTraloiFion{clear:both;color:#c70000;cursor:pointer}
.commentTraloi{background:#f1f1f1 none repeat scroll 0 0;clear:both;color:#333;display:block;margin-left:-3px;margin-top:9px;padding-bottom:10px;padding-left:10px;position:relative;padding-top:4px;border-radius:2px}
.imagrTraloiE{border-bottom:1px dotted #ddd;clear:both;margin-right:10px}
.commentTraloi .imagrTraloiE:last-child{border:none!important}
.cmtralTOp{clear:both;font-weight:700;margin-top:6px}
.cmtralTOp span{background:#ef4679 none repeat scroll 0 0;border-radius:2px;color:#fff;font-weight:400;padding:1px 8px;position:relative}
.cmtralBt{clear:both;padding-bottom:5px;padding-top:5px}
.btTopMt{border-bottom:16px solid #f1f1f1;border-left:12px solid transparent;border-right:12px solid transparent;height:0;margin-top:-12px;position:absolute;width:0}
.right_roduct_hd{clear:both}
.right_roduct_hd .btDah{background:#929599 none repeat scroll 0 0;color:#fff;cursor:pointer;clear:both;margin-top:5px;text-align:center;padding:10px;font-family:Arial,sans-senif}
.title_plq{border-bottom:1px solid #ddd;clear:both;height:25px;margin-right:10px;margin-top:18px;margin-bottom:18px}
.thuong_hieu{clear:both;padding:5px 5px;border-radius:2px;position:relative}
.thuong_hieu_cate{border: 2px solid #D4D5D3;border-radius: 7px;}
.thuong_hieu_cate .owl-wrapper-outer {transform: translateY(34%);}
.content_cate_product #filter_cate{border: 2px solid #C6C6C6;border-radius: 7px;}
header .menu nav .menu_leve_1 .parent{font-family:Arial,Helvetica,sans-serif;text-transform:uppercase;font-size:13px;margin-left:20px;margin-right:24px;color:rgba(0,0,0,.9);line-height:36px;padding-top:3px;position: relative;display: flex;align-items: center;}
header .menu nav .menu_leve_1 .parent.about:after{background: none;}
header .menu nav .menu_leve_1 .discount:first-child:after{right: -22px!important;}
header .menu nav .menu_leve_1 .parent:after{content: "";background: red;height: 17px;width: 1px;position: absolute;top: 50%;transform: translateY(-50%);right: -21px;}
header .menu nav .menu_leve_1 .parent:hover{color:#ef4679}
.title_plq span{background:#fff none repeat scroll 0 0;border:4px solid #eaeaea;display:table;margin:auto;padding:10px 20px;font-size:15px;border-radius:4px}
.row_product_lq{clear:both;margin-top:0px;padding-top:12px;width:860px}
.product-private{padding: 18px 10px;font-size: 24px;font-weight: bold;}
.list-trans{display: flex;}
.list-trans .item{padding: 16px 0px;font-size: 15px;}
.list-trans .fa-truck:before,
.list-trans .fa-cc-visa:before,
.list-trans .fa-edit:before,
.list-trans .fa-thumbs-up:before,
.list-trans .fa-exchange:before,
.list-trans .fa-gift:before{color: #666;display: block;float: left;font-family: FontAwesome;font-size: 20px;font-style: normal;font-weight: 400;margin-left: 5px;text-align: center;width: 35px;}
.detRight_ban_bt{clear:both;display:block;height: 196px;}
.commentDetailTKDelte{color:#ed1c24}
aside.filter{float:left;}
.filter-hot .title-parent a{font-size: 16px; font-weight: bold;padding-bottom: 10px;display: block;}
.filter-hot .list .title a{font-size: 17px;padding-bottom: 10px;display: flex;justify-content: space-between;align-items: center;}
.filter-hot .list .list-child{padding-left: 10px;}
.filter-hot .list .list-child a{display: block;padding-bottom: 10px;color: rgba(179, 179, 179, 1);}
.filter_v{border-right:1px solid #efefef;border-radius:2px;clear:both;padding:10px;background:#fff;margin-top:9px;width:200px!important}
aside.product_l{float:right;padding-bottom:20px;width:936px;border-radius:2px}
aside.filter .general{clear:both;padding-bottom:10px;position:relative}
aside.filter .general .titile{font-family:"Roboto Condensed",Helvetica,Arial,sans-senif;padding-bottom:6px;padding-top:6px;font-weight:700;font-size:14px;text-transform: uppercase;letter-spacing: 2.5px;font-weight: bold;}
aside.filter .general .filter .iconE,aside.filter .general .filter .iconV{background:#fff none repeat scroll 0 0;border:1px solid #ccc;border-radius:10px;cursor:pointer;display:block;float:left;height:10px;margin-right:7px;margin-top:4px;width:10px}
aside.filter .general .filter .iconEavtive{background:#ef4679!important;border-color:#ef4679!important}
aside.filter .general .filter .age{clear: both;cursor: pointer;padding: 4px 0px;font-size: 16px;font-weight: bold;}
aside.filter .general .functionkg{clear:both;padding-top:5px;padding-bottom:5px}
aside.filter .general .functionkg span{width:30px;display:block;float:left;text-align:right;padding-right:5px}
aside.filter .general .functionkg select{border: 1px solid #e2e2e2;width: 198px;color: #777;padding: 9px 8px;border-radius: 10px;}
aside.filter #dotuoi{border:none!important}
aside.filter .thuong_hieu_ft{position:relative}
aside.product_l .product_item{float: left;overflow: hidden;position: relative;width: 291px;margin-bottom: 25px;border-radius: 4px;padding: 0px 9px 20px 0px;margin-right: 20px;}
aside.product_l .product_item h2{height:40px;overflow:hidden;text-align:center;font-weight:400;padding-bottom:5px;position:relative;}
aside.product_l .product_item h2:after{content: "";
    width: 165px;
    height: 2px;
    position: absolute;
    background: #9C9C9C;
    bottom: 0;
    left: 20%;}
.cps-block-content {
	background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,.1), 0 2px 6px 2px rgba(60,64,67,.15);
    display: block;
    margin-right: auto;
    max-height: 300px;
    min-height: 0;
    overflow: hidden;
    padding: 15px;
    position: relative;
    text-align: justify;
   width: 97%;
    margin-top: 16px;
}
aside.product_l .product_boder{display:table;margin-top:8px;width:960px;padding-left: 20px;}
aside.product_l .product_boder .list{display: flex;align-items: center;margin: 20px 0px;position: relative;}
aside.product_l .product_boder .list .title{font-size: 16px;font-weight: 600;}
aside.product_l .product_boder .list .item{padding: 6px 20px;background: #3C375A;margin: 0px 9px;border-radius: 5px;color: #fff;}
.title-category{font-size: 20px;display: flex;align-items: center;font-weight: bold;}
.title-category span{font-size: 10px;
    padding-left: 6px;
    color: #817878dd;
    transform: translateY(3px);}
#ma_giam_gia{border:1px solid #ddd;margin-top:12px;margin-left:8px;padding-left:8px;height:25px;width:190px}
aside.thuongHieuShoe{background:#e8e8e8 none repeat scroll 0 0;clear:both;color:#888;margin-bottom:-20px;padding:6px 20px;position:relative;text-align:center}
aside.navigation .brackRum .titileBrum{display:inline;color: #373737;font-weight: bold;}
.banRight_Ca{clear:both;display:block;margin-top:10px}
aside.product_l .titile_category{clear:both;display:table;margin:-47px auto auto;padding-bottom:8px;padding-top:20px}
.header_line{width:1170px;margin:auto;background:#d9d9d9;text-align:center;height:35px;line-height:35px;font-family:Arial,Helvetica,sans-serif;font-size:15px;color:#000;border-radius:0 0 3px 3px}
aside.product_l .titile_category span{display:block;padding-left:15px;padding-right:15px;float:left;text-transform:uppercase;font-weight:400;font-family:Arial,Helvetica,sans-serif;font-size:16px}
.seeMore{    cursor: pointer;
    text-align: center;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,.1), 0 2px 6px 2px rgba(60,64,67,.15);
    color: #212529;
    display: flex;
    font-size: 14px;
    height: 34px;
    justify-content: center;
    margin: 0 auto 15px;
    max-width: 335px;}
.seeMore:hover {
    border: 1px solid;
background-color: rgba(217, 83, 79, .1);
    color: #d70018;
}
.seeMore span:before{content:"\f0d7";font-family:FontAwesome;font-size:15px}
section.product_d .detailP .desProduct .des{padding-top:5px;padding-bottom:10px;font-size: 16px;color: #525252;
    font-weight: 600;}
.searDelete{cursor:pointer;height:30px;margin-top:10px!important;width:17px;padding-left: 8px;}
.searDelete:before{content:"\f057";font-family:FontAwesome}
.yeu_cau_tu_van{background:rgba(0,0,0,0) url(../../images/yeu_cau.png) no-repeat scroll center center;height:448px;margin-bottom:-20px;margin-top:93px;position:relative}
.yeu_cau_tu_van_in{background:rgba(0,0,0,0) url(../../images/bg.png) repeat scroll 0 0;overflow:hidden;z-index:999;height:448px;color:#fff}
.yeu_cau_all{width:1170px;margin:auto}
.box_yeu_cau_tu_van{float:left;margin-left:59px;width:454px}
.yctvGioiThieu{background:#fff none repeat scroll 0 0;color:#333;float:right;margin-top:25px;padding:15px;width:550px}
.titile_yeu_cau_tu_van{font-size:22px;padding-top:20px;text-align:center}
.lineDhnh #dhn_Ghichu,.lineDhnh input{height:25px;opacity:1;cursor:text;padding-left:10px}
.lineDhnh select{height:40px;width:380px;margin-top:10px;padding-left:5px;border:1px solid #e5e5e5}
#dhn_Ghichu{height:60px!important;padding-top:10px}
.dhnBottomRight{background: #ef4679 none repeat scroll 0 0;color: #fff;cursor: pointer;display: table;font-weight: 700;padding: 10px 20px;width: 91%;text-align: center;border-radius: 4px;}
.complete-order-mobile{display: none;}
.dhnBottomRight:hover{background:#f44336}
.tai_sao_mhhad{clear:both;position:relative;width:1170px;margin:20px auto auto}
.bo_kem_tr_t{background:rgba(255,255,255,.7);clear:both;font-family:arial;font-size:14px;line-height:20px;padding:17px 0;position:absolute;text-align:center;font-weight:700;z-index:9999;bottom:37%;width:100%}
.tai_sao_mhhad_in{margin:auto;width:1200px;overflow:hidden;clear:both}
.tai_sao_mhhad_video{border:5px solid #eaeaea;float:left;height:313px;overflow:hidden}
.sakura_dtnb_in_left{background:#fdfcfa none repeat scroll 0 0;border:6px solid #eaeaea;float:left;margin-top:20px;overflow:hidden;width:877px}
.sakura_dtnb_in_right{float:right;width:300px}
.showroom_kd img{width:100%;height:auto!important;border-radius:2px}
.dacTinhNoiBac{margin:auto;padding:10px}
.dacTinhNoiBac h3{font-family:arial;font-size:16px;text-align:center}
.dacTinhNoiBac p{margin:0;padding:7px 0 0}
.showroom_kd{clear:both}
.showroom_kd_all{clear:both;width:1170px;margin:auto;position:relative}
.showroom_kd_all_ht .showroom_kd_item{border-bottom:1px solid #e1e1e1!important;border-top:medium none}
.bnYecatuvans{align-items:center;background:#09a none repeat scroll 0 0;border-bottom:3px solid #e1e1e1;border-left:3px solid #e1e1e1;border-top:3px solid #e1e1e1;color:#fff;cursor:pointer;font-family:arial;font-size:15px;font-weight:700;height:15px;justify-content:center;padding:10px 18px;position:fixed;right:0;top:51px;z-index:1}
.showroom_kd_item{background:#fff none repeat scroll 0 0;clear:both;padding:4px 4px 0}
.showroom_kd_all .owl-pagination,
. .showroom_kd_all .owl-buttons{display:none}
.bo_kem_tr span{border-left:26px solid transparent;border-right:26px solid transparent;border-top:26px solid #e34d86;clear:both;display:table;height:0;margin:auto;position:relative;width:0;z-index:999}
.bo_nam_cc_nam_n{height:400px}
.iteam_right_nn{padding-top:10px}
.sakura_dtnb{clear:both;height:436px;overflow:hidden}
.sakura_dtnb_iteam{float:left;height:145px;margin-left:15px;margin-right:10px;overflow:hidden;padding-bottom:15px;text-align:center;width:192px}
.sakura_dtnb_iteam img{border:4px solid #eaeaea;height:auto;width:180px}
.sakura_dtnb_in_des{clear:both;font-size:14px;margin:14px auto 0;padding:10px 10px 0;text-align:center}
.sakura_dtnb_in_dt{background:#eaeaea none repeat scroll 0 0;clear:both;font-size:14px;margin-top:20px;padding-top:4px;text-align:center}
.doc_them,.thu_ngon{color:#f44578;margin-left:6px}
.doc_them:after,.thu_ngon:after{content:"\f0d7";font-family:FontAwesome;padding-left:5px}
.thu_ngon:after{content:"\f0d8"!important}
#thongBaoMgg{clear:both;font-size:12px;padding-left:9px;padding-top:4px}
#giam_gia{font-weight:700}
.pTitile .user_lv2{position:absolute;top:31px;background:#fff;box-shadow:0 5px 5px rgba(0,0,0,.2);padding:5px 15px;z-index:9999;display:none;width: 200px}
.pTitile .user_lv2 li a{color:#333}
.grid .grid-item{float:left;width:200px}
.step-indicator{border-collapse:separate;display:table;margin-left:0;position:relative;table-layout:fixed;text-align:center;vertical-align:middle;padding:20px 0}
.step-indicator li{display:table-cell;position:relative;float:none;padding:0;width:1%}
.step-indicator li:after{background-color:#e5e5e5;content:"";display:block;height:1px;position:absolute;width:100%;top:28px;left:50%}
.step-indicator li:last-child:after{display:none}
.step-indicator li.active .step{border-color:#ef4679;color:#ef4679}
.step-indicator li .caption{margin-top:5px}
.step-indicator li .caption,.step-indicator li .caption a{color:#999}
.step-indicator li.active .caption,.step-indicator li.active .step_icon i{color:#ef4679;border-color:#ef4679}
.step-indicator li.complete:after{background-color:#ef4679}
.step-indicator li.complete .caption{color:#ef4679}
.step-indicator li.complete .step_icon i{background:#ef4679;color:#fff;border-color:#ef4679}
.step-indicator li .step{background-color:#fff;border-radius:50%;border:1px solid $wizard-color-neutral;color:$wizard-color-neutral;font-size:$wizard-step-font-size;height:$wizard-step-width-height;line-height:$wizard-step-width-height;margin:0 auto;position:relative;width:$wizard-step-width-height;z-index:1}
.step-indicator li:hover{cursor:pointer}
.step-indicator .step_icon i{padding:20px;background:#fff;border-radius:50px;border:1px solid #999;position:relative;z-index:500;width:15px;color:#999}
.des_pay i{border-style:solid;border-width:1px;border-radius:50px;display:inline-block;padding:10px;width:13px}
.des_pay i.fa-check{color:#0f0;border-color:#0f0}
.des_pay i.fa-times{color:red;border-color:red}
.form_tt input{margin-top:0}
#form_tt .fa{font-size:15pt;padding:15px}
#form_tt .fa.fa-square-o{color:#ccc}
#form_tt .fa-check-square-o{color:#FD1D55}
.swal-text{background-color:#fefae3;padding:17px;border:1px solid #f0e1a1;display:block;margin:22px;text-align:center;color:#61534e}
.swal-footer{background-color:#f5f8fa;margin-top:32px;border-top:1px solid #e9eef1;overflow:hidden}
.swal-button{background-color:#ef4679}
.swal-button:not([disabled]):hover{background-color:#ef668f}
.multiColor{position:relative;margin-bottom:45px}
.multiColor ul{position:absolute;left:100px;z-index:100}
.listColor li{border:1px solid #e5e5e5;margin:-1px 0;padding:0;width:300px;cursor:pointer;background:#fff;clear:both;overflow:hidden}
.listColor li:hover{background:#f0f0f0}
.listColor li.item{display:none}
.listColor li span{vertical-align:middle;height:28px;display:block;float:left}
.listColor li span.colorCode{width:30px;margin-right:5px}
.listColor li span.colorName{line-height:28px;text-indent:5px}
.listColor li.seleted i{float:right;line-height:28px;margin-right:10px}
.multiColor .titleColor{font-weight:700;float:left;line-height:28px}
.multiColor_2{margin-bottom:10px}
.multiColor_2 span{width:35px;height:35px;display:inline-block;cursor:pointer;margin-right:10px;border-width:2px;border-style:solid;box-shadow:2px 2px 5px 2px #ccc;border-radius:100px}
.multiColor_2 span.selected{border-color:#f47d3a!important}
.listMultiSize{display:inline-block}
.listMultiSize li{display:inline-block;margin:10px 2px;border:1px solid #ccc;color:#333;padding:8px 10px;cursor:pointer}
.itemPriceSizeHidden{display:none}
.itemPriceSizeShow{display:block}
.listMultiSize li.outOfStockSize,.listMultiSize li.outOfStockSize:hover{border-color:rgba(0,0,0,.09);color:#999;cursor:not-allowed}
.listMultiSize li.selected,.listMultiSize li:hover{border-color:#f44578;color:#f44578}
.suggestCombo{background:#fff}
.suggestCombo.suggestComboShow{display:block}
.suggestCombo .title{font-size:17px;padding:8px 0 15px;margin:0 10px}
.suggestCombo .item i.fa-plus{font-size:35px;color:#ccc}
.listVideo{display:flex}
.listVideo li:nth-child(2){margin:0 15px}
.listVideo li{position:relative}
.listVideo img.icon{position:absolute;left:40%;top:40%}
.listVideo img.image{max-width:100%}
.images_d_list{max-width:450px}
.image_product{width:auto;height:500px}
.hotline-phone-ring-wrap{position:fixed;bottom:0;left:0;z-index:999999}
.hotline-phone-ring{position:relative;visibility:visible;background-color:transparent;width:110px;height:110px;cursor:pointer;z-index:11;-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);transition:visibility .5s;left:0;bottom:0;display:block}
.hotline-phone-ring-circle{width:85px;height:85px;top:10px;left:10px;position:absolute;background-color:transparent;border-radius:100%;border:2px solid #e60808;-webkit-animation:phonering-alo-circle-anim 1.2s infinite ease-in-out;animation:phonering-alo-circle-anim 1.2s infinite ease-in-out;transition:all .5s;-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%;opacity:.5}
.hotline-phone-ring-circle-fill{width:55px;height:55px;top:25px;left:25px;position:absolute;background-color:#ef4679;border-radius:100%;border:2px solid transparent;-webkit-animation:phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;animation:phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;transition:all .5s;-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%}
.hotline-phone-ring-img-circle{background-color:#ef4679;width:33px;height:33px;top:37px;left:37px;position:absolute;background-size:20px;border-radius:100%;border:2px solid transparent;-webkit-animation:phonering-alo-circle-img-anim 1s infinite ease-in-out;animation:phonering-alo-circle-img-anim 1s infinite ease-in-out;-webkit-transform-origin:50% 50%;-ms-transform-origin:50% 50%;transform-origin:50% 50%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;align-items:center;justify-content:center}
.hotline-phone-ring-img-circle .pps-btn-img{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}
.hotline-phone-ring-img-circle .pps-btn-img img{width:20px;height:20px}
.hotline-bar{position:absolute;background:#ef4679;height:40px;width:150px;line-height:40px;border-radius:3px;padding:0 10px;background-size:100%;cursor:pointer;transition:all .8s;-webkit-transition:all .8s;z-index:9;box-shadow:0 14px 28px rgba(0,0,0,.25),0 10px 10px rgba(0,0,0,.1);border-radius:50px!important;left:33px;bottom:37px}
.hotline-bar>a{color:#fff;text-decoration:none;font-size:13px;font-weight:700;text-indent:40px;display:block;letter-spacing:1px;line-height:40px;font-family:Arial}
.hotline-bar>a:active,.hotline-bar>a:hover{color:#fff}
@-webkit-keyframes phonering-alo-circle-anim {
0%{-webkit-transform:rotate(0) scale(.5) skew(1deg);-webkit-opacity:.1}
30%{-webkit-transform:rotate(0) scale(.7) skew(1deg);-webkit-opacity:.5}
100%{-webkit-transform:rotate(0) scale(1) skew(1deg);-webkit-opacity:.1}
}
@-webkit-keyframes phonering-alo-circle-fill-anim {
0%{-webkit-transform:rotate(0) scale(.7) skew(1deg);opacity:.6}
50%{-webkit-transform:rotate(0) scale(1) skew(1deg);opacity:.6}
100%{-webkit-transform:rotate(0) scale(.7) skew(1deg);opacity:.6}
}
@-webkit-keyframes phonering-alo-circle-img-anim {
0%{-webkit-transform:rotate(0) scale(1) skew(1deg)}
10%{-webkit-transform:rotate(-25deg) scale(1) skew(1deg)}
20%{-webkit-transform:rotate(25deg) scale(1) skew(1deg)}
30%{-webkit-transform:rotate(-25deg) scale(1) skew(1deg)}
40%{-webkit-transform:rotate(25deg) scale(1) skew(1deg)}
50%,
100%{-webkit-transform:rotate(0) scale(1) skew(1deg)}
}
.header_large{width:100%;left:0;position:absolute;border-radius:5px;}
.header_small{width:100%;top:0;left:0;height:294px;border-radius:5px}
/* #codeme Css mới cho menu thương hiệu*/
.menuHidenth{width: 800px!important;border: 1px solid #ececec!important;box-shadow: 0 1px 3px rgba(204,204,204,.5)!important;left: 15px;position: absolute;border-radius: 3px;top: 23px;}
.brand{display:inline-flex;overflow:hidden;width:100%}
.brand p{margin:0;font-size:13pt;margin:5px 0 10px 0}
.brand .brand_left{float:left;width:280px;padding:5px 5px 5px 10px}
.brand_left input{width:95%;font-size:9pt;border-radius:5px;border:1px solid #e0e0eb;height:25px;padding-left:5px}
.brand_left_boxsearch{width:100%;display:inline-flex;position:relative}
.icon-search{position:absolute;right:6%;top:25%}
.brand_left_boxsearch_result{height:15rem;overflow-y:scroll;overflow-x:hidden;margin:10px 10px 10px 0}
::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-track{background:#f1f1f1}
::-webkit-scrollbar-thumb{background:#888}
::-webkit-scrollbar-thumb:hover{background:#555}
.brand .brand_right{float:right;width:485px;padding:5px}
.brand .brand_right .brand_right_hot{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}
.brand .brand_right .brand_right_item{width:24%;height:70px;margin-bottom:10px;margin-right:4px;padding:0}
.brand .brand_right .brand_right_item_child:hover{border:solid 2px #E0E0EB;border-radius:5px;transition:.3s}
.brand .brand_right .brand_right_item img{margin:auto;width:95%;padding:0 4px}
.brand_right_button{height: 30px;display: flex!important;align-items: center;justify-content: center;border: solid 2px #E0E0EB;border-radius: 5px;width: 100%;}
.brand_right_button:hover{background-color:#333078;color:#fff;transition:.3s}
/*DONE*/
.listNewRelated li{border-bottom:1px solid #e5e5e5;padding:25px 0}
.listNewRelated li h3{margin:0 0 15px}
.listNewRelated li h3 a{font-weight:700;font-size:20px;line-height:25px}
.listNewRelated li .flexBox{display:flex}
.listNewRelated li .flexBox p{flex-grow:1;margin:0;font-weight:300;font-size:12pt;line-height:18pt}
.listNewRelated li .flexBox p a{background:#ef4679 none repeat scroll 0 0;color:#fff;padding:8px 20px;font-size:11pt;line-height:60px}
.listNewRelated li .flexBox figure{margin:0;max-height:180px;width:300px;overflow:hidden;margin-right:20px}
.listNewRelated li figure img{max-width:none}
section .groupPrice .priceBig{font-size:16px;position:relative}
section .groupPrice .priceFinal{color: #FD1D55;font-size: 25px;font-weight: bold;padding-left: 10px;}
section .groupPrice .priceDiscount{position:relative}
section .groupPrice .priceOutOfStock{color:#666;font-size:20px;font-weight:300;line-height:35px}
.list_image_detail{position:relative}
.list_image_detail .downPercent{position: absolute;top: 6px;font-size: 20px;text-align: center;padding: 12px 0;width: 59px;z-index: 2;background: #FD1D55;left: 7%;color: #fff;border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;}
.list_image_detail .downPercent:after{content:"";width:0;height:0;left:0;bottom:-8px;position:absolute;}
section .groupPrice .linethow{text-decoration:line-through;color:#444}
section#promotion .bannerFull{line-height:12px}
section#promotion .container{background:#fff;margin:15px 0;padding:15px;width:1140px}
section#promotion .listProduct li{display:inline-block;width:250px;vertical-align:top;cursor:pointer;margin:35px 16px}
section#promotion .listProduct li figure{text-align:center}
section#promotion .listProduct li figure img{height:200px}
section#promotion .listProduct li .price{font-weight:700;margin:5px 0}
section#promotion .listProduct li h2{margin:5px 0;font-size:11pt;height:60px}
section#promotion .listProduct li .price .dl{text-decoration:line-through;color:#999;font-weight:400}
section#promotion .listProduct li .btnAddCart{border:1px solid #717476;text-align:center;padding:5px;font-size:10pt;text-transform:uppercase}
section#promotion .listProduct li:hover .btnAddCart{border-color:#ef4679;color:#ef4679}
section#promotion .ckProduct{width:1000px;margin:auto;text-align:center}
section#promotion .ckProduct .deCk{display:inline-flex;float:none;width:375px;text-align:left;vertical-align:top;align-items:center;border-bottom:1px solid #ccc;margin:0 20px}
section#promotion .ckProduct .deCk:nth-child(5),section#promotion .ckProduct .deCk:nth-child(6){border-bottom:none}
section#promotion .ckProduct .deCk .ttCK{line-height:20px;width:100%}

.title_brand{color: #1e1b1b;text-align: center;font-size: 15px;font-weight: bold;-webkit-text-stroke: thin;}
.row_product_h h3 , .product_item h3 , .row_product_lq h3{text-align: center;}
.row_product_h h2{padding: 0;}

}
/* ===== hết mục 2 ===== */

/* ============================================================
   3. GHI ĐÈ CO GIÃN — chỉ áp dưới 1170px, từ 1170px trở lên giữ nguyên
   ============================================================ */

/* Khung 1170px cố định đổi sang co giãn, chỉ ở khoảng hẹp hơn 1170px.
   Từ 1170px trở lên giữ nguyên như bản gốc để không đổi một pixel nào. */
@media (min-width: 768px) and (max-width: 1169px) {
  .container,
header .menu,
header,
section,
footer,
aside.navigation .brackRum,
article.content_list,
aside.content_list,
.detailProduct-relate,
.header_line,
.yeu_cau_all,
.tai_sao_mhhad,
.showroom_kd_all {
    width: 100%;
    max-width: 1170px;
  }
}

/* Trang danh sách bài viết: section.content_ld là display:table nên giãn theo nội dung;
   owl đo dải banner lúc khởi tạo rồi đặt cứng, khung table lại giãn theo đó và giữ 1170px
   ở mọi khổ tablet. Dưới 1170px cho section làm khối thường, dải banner tính cả padding. */
/* Bố cục hai cột của trang danh sách và trang bài viết (danh mục, thương hiệu, tìm kiếm,
   giảm giá, blog, clinic & spa): cột lọc bên trái ~225px, cột nội dung rộng cứng 936px
   và float:right. Dưới 1170px tổng hai cột vượt màn hình nên cột nội dung trượt đè sang
   trái (lề trái âm). Cho cột nội dung lấy phần còn lại; mốc 1259px trùng với lưới thẻ. */
@media (min-width: 768px) and (max-width: 1259px) {
  /* section và khung bên trong là display:table nên nở theo nội dung và không tính padding
     vào bề rộng; cho chúng làm khối thường để bám đúng bề rộng màn hình. */
  section.content_ld { display: block; }
  /* lề chung --hd-gutter (mục 5) để breadcrumb, nội dung và khối liên quan thẳng hàng */
  section.content_ld,
  aside.navigation .brackRum { padding-left: var(--hd-gutter); padding-right: var(--hd-gutter); box-sizing: border-box; }
  /* Khung chi tiết sản phẩm rộng cứng 1150px: với lề trên, ở 1170–1197px nó lòi ra
     khỏi section. Cho co theo khung (dưới 1170px luật co giãn đã làm việc này). */
  section.product_d .detailP { width: 100%; box-sizing: border-box; }
  /* Khung danh sách/dải banner rộng cứng 1170px, nay nằm trong section đã có padding */
  aside.content_list,
  article.content_list { width: 100%; box-sizing: border-box; }
  /* Khối "sản phẩm liên quan" rộng cứng 1170px nằm trong section đã có padding 10px
     nên thò ra 20px ở dải 1170–1259px. */
  .detailProduct-relate { width: 100%; max-width: 100%; box-sizing: border-box; }
  /* Trang đặt hàng: khung 1170px + padding 20px (content-box) = 1210px. */
  section#dat_hang { width: 100%; max-width: 1170px; box-sizing: border-box; }
  aside.product_l { width: calc(100% - 235px); box-sizing: border-box; }
  /* Các view đặt width nội tuyến 908px cho khung này */
  aside.product_l .product_boder {
    display: block;
    width: 100% !important;
    padding-left: 0 !important;
    box-sizing: border-box;
  }
  aside.product_l .product_ajax,
  aside.product_l .cps-block-content,
  aside.product_l .content-body,
  aside.product_l .content-body-genki { width: 100%; max-width: 100%; box-sizing: border-box; }

  /* Thẻ bài viết: width 47% cộng margin-right 25px cố định, ở cột hẹp tổng hai thẻ vượt
     100% nên rớt còn một thẻ mỗi hàng và chừa mảng trống lớn. Dùng gap để luôn đủ hai thẻ. */
  .content-body { gap: 16px; }
  .content-body .item { width: calc(50% - 8px); margin-right: 0; }

  /* Thanh lọc/sắp xếp: desktop dàn hai đầu với ô tìm kiếm rộng cứng 300px, cột hẹp thì tràn.
     Cho xuống dòng khi thiếu chỗ và ô tìm kiếm co theo phần còn lại. */
  .filter-wp { flex-wrap: wrap; gap: 8px 12px; }
  .filter-wp > div { position: relative; flex: 1 1 220px; min-width: 0; }
  .filter-wp .input_search { width: 100%; box-sizing: border-box; }
}

/* Thẻ dịch vụ Clinic & Spa: desktop cố định 3 thẻ mỗi hàng (32%), ở cột hẹp thành quá nhỏ
   và số cột đổi không đều. Cho thẻ tự chọn số cột theo chỗ trống: 3 rồi 2 thẻ mỗi hàng. */
@media (min-width: 768px) and (max-width: 1259px) {
  .content-body-genki { gap: 16px; }
  .content-body-genki .item_genki {
    flex: 1 1 240px;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Trang chi tiết bài viết: nội dung rộng cứng 834px + cột phải 300px = 1134px.
   Dưới 1170px hai khối chồng lên nhau rồi tràn ra ngoài. */
/* Còn đủ chỗ cho hai cột: nội dung lấy phần còn lại, cột phải vẫn 300px. */
@media (min-width: 1024px) and (max-width: 1259px) {
  article.content_list_de { width: calc(100% - 320px) !important; box-sizing: border-box; }
}
/* Hẹp hơn: cột phải xuống dưới, căn giữa, các mục dàn đều theo chỗ trống. */
@media (max-width: 1023px) {
  article.content_list_de { width: 100% !important; float: none; padding-right: 0; box-sizing: border-box; }
  aside.right_content {
    float: none;
    width: 100%;
    max-width: 780px;
    margin: 16px auto 0;
    padding: 0 10px;
    box-sizing: border-box;
  }
  aside.right_content .filter { display: flex; flex-wrap: wrap; gap: 14px 16px; }
  /* Mỗi mục là một hàng ảnh + tiêu đề như desktop; hai mục một hàng khi đủ rộng */
  aside.right_content .filter .content_v {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    gap: 12px;
    height: auto;
    padding: 0;
  }
  aside.right_content .filter .content_v .images {
    float: none;
    flex: none;
    width: 120px;
    height: 80px;
    position: relative;
  }
  aside.right_content .filter .content_v .images img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
  aside.right_content .filter .content_v .detail { float: none; width: auto; flex: 1 1 auto; margin: 0; }
  /* Các nét trang trí của cột phải nằm trong khối min-768; dưới 768px khối này vẫn hiển thị
     nên lấy lại đúng dáng desktop: tiêu đề nền xám căn giữa, số thứ tự nằm trong ảnh. */
  aside.right_content .titile_h { background: #E2E2E2; border-radius: 5px; margin: 10px 0; }
  aside.right_content .titile_h span {
    display: inline-block;
    width: 100%;
    padding: 5px 0;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    line-height: 32px;
    text-align: center;
  }
  aside.right_content .filter .content_v .images span {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 0 2px 0 0;
    background: rgba(0, 0, 0, .2);
    color: #fff;
    font-size: 20px;
    text-align: center;
  }
}
/* Mũi tên "next" của dải banner (style trong view) có hộp rộng ~100px đặt right:-60px;
   ký tự mũi tên nằm trong khung, phần thò ra chỉ là khoảng trắng nhưng gây cuộn ngang
   khi viewport hẹp hơn ~1302px. Cắt phần thừa đó, hình không đổi. */
@media (max-width: 1301px) {
  aside.content_list-slider { overflow-x: clip; }
}

/* Khối tài khoản/giỏ hàng có right:-15px cố tình thò ra ngoài khung 1170px; khi viewport
   chưa rộng tới 1200px thì 15px đó thành tràn ngang. Từ 1200px trở lên đã đủ lề, giữ nguyên. */
@media (max-width: 1199px) {
  header .actions { right: 0; }
}

/* Header bị ép min-width:1024px nên không co xuống được ở khổ tablet.
   Gỡ giới hạn đó để header co theo khung, hết tràn ngang 768–1169px. */
@media (max-width: 1169px) {
  header { min-width: 0; }

  /* Ô tìm kiếm / logo / khối tài khoản: xem khối "HEADER DESKTOP/TABLET" bên dưới,
     dùng chung một bộ luật cho cả >=1170px nên không đặt lại ở đây nữa. */

  /* Thu gọn khoảng cách để bớt số lần phải xuống hàng. */
  .menu_leve_1 .parent { margin-left: 10px; margin-right: 12px; }

  /* Trang sản phẩm khuyến mãi: khung 1140px và banner ảnh gốc 1170px tràn ngang */
  section#promotion .container { width: auto; max-width: 1140px; box-sizing: border-box; }
  section#promotion .bannerFull img { max-width: 100%; height: auto; }
  section#promotion .ckProduct { width: auto; max-width: 1000px; }
}

/* ============================================================
   HEADER DESKTOP/TABLET — CÂN ĐỐI Ở MỌI BỀ RỘNG (>=768px)
   Gộp chung một bộ luật cho cả khổ desktop (>=1170px) và khổ co giãn
   768–1169px để khi kéo dãn không có điểm "nhảy" ở mốc 1170px.
   ============================================================ */
@media (min-width: 768px) {

  /* --- Hàng trên: ô tìm kiếm | logo | tài khoản+giỏ hàng ---
     Cả ba đều position:absolute trong .container (không đổi được vì .topbar
     nằm sau trong HTML nhưng phải hiện ở trên). Vì vậy căn bằng cách tính mốc:
     - ô tìm kiếm: bám mép trái, rộng 397px ở khung 1170px, hẹp hơn thì co theo
       khung (đúng bằng công thức cũ min(397px, 50% - 110px)).
     - khối tài khoản: bỏ chiều rộng cứng 495px và phần thò ra 15px, bám mép phải.
     - logo: đặt giữa khoảng trống còn lại bằng left/right + margin auto, nên
       luôn cách đều ô tìm kiếm và khối tài khoản. */
  header .hd-desktop .formSearch {
    width: min(397px, calc(50% - 110px));
    max-width: none;
  }
  header .hd-desktop .actions { width: auto; right: 0; }
  header .hd-desktop .logo_had {
    /* mép phải ô tìm kiếm (cộng 2px viền) */
    left: calc(min(397px, 50% - 110px) + 2px);
    /* bề rộng khối tài khoản/giỏ hàng của khách vãng lai */
    right: 325px;
    width: 68px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Đã đăng nhập thì khối bên phải là "Xin chào, <tên>" nên rộng hơn khối khách
     vãng lai; nới mốc phải để logo không bị dồn sát lời chào.
     Trình duyệt không hỗ trợ :has() thì giữ mốc của khách vãng lai. */
  @supports selector(:has(*)) {
    header .hd-desktop > .container:has(.user_lv1) .logo_had { right: 360px; }
  }

  /* --- Hàng menu ---
     Menu sống là .item_sub_menu_bar (thẻ <nav> trong file đã bị comment).
     Luôn một hàng, cả cụm (DANH MỤC + các mục) căn giữa khung.
     Cỡ chữ / giãn chữ / khoảng cách co tuyến tính từ 768px đến 1170px và
     chạm đúng giá trị gốc (16px, 3.2px, 30px) ở 1170px. */
  header .menu .container {
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 clamp(10px, 1.5vw, 24px) 10px;
  }
  /* DANH MỤC: bỏ chiều rộng cứng 150px (chính nó làm dấu | dính sát chữ),
     thay bằng đúng khoảng đệm của các mục còn lại nên hai bên dấu | bằng nhau. */
  header #hamber_menu {
    flex: none;
    width: auto;
    padding-right: clamp(7px, 5.72vw - 36.9px, 30px);
  }
  header #hamber_menu a.txt_color_1 { width: auto; float: none; }
  /* span DANH MỤC có letter-spacing nội tuyến 3.6px */
  header #hamber_menu .menu_hamber span {
    font-size: clamp(12px, 0.995vw + 4.36px, 16px);
    letter-spacing: clamp(0.5px, 0.672vw - 4.66px, 3.2px) !important;
  }
  header .item_sub_menu_bar {
    display: flex;
    /* không giãn chiếm hết chỗ, nếu không DANH MỤC bị đẩy sát mép trái */
    flex: 0 1 auto;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    min-width: 0;
    float: none;
  }
  header .item_sub_menu_bar .menu_leve_1,
  header .item_sub_menu_bar > a { float: none; }
  header .item_sub_menu_bar .item-lv1 {
    white-space: nowrap;
    padding: 0 clamp(7px, 5.72vw - 36.9px, 30px);
    font-size: clamp(12px, 0.995vw + 4.36px, 16px);
    letter-spacing: clamp(0.5px, 0.672vw - 4.66px, 3.2px);
  }

  /* Mọi dấu | trên thanh menu dùng chung một kiểu và cùng căn giữa theo chiều dọc */
  header #hamber_menu:before,
  header .item_sub_menu_bar .item-lv1::after,
  header .item_sub_menu_bar .item-lv1:nth-child(2)::after {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 1.5px;
    height: 17px;
    background: #5B5B5B;
  }
  header .item_sub_menu_bar .item-lv1:last-child::after { background: none; }

  /* --- Canh dọc "DANH MỤC" cho khớp các mục còn lại --- */
  header #hamber_menu { display: flex; align-items: center; }
  header #hamber_menu a.txt_color_1 {
    display: flex;
    align-items: center;
    padding: 0;
    line-height: 1;
  }
  header .item_sub_menu_bar { transform: none; padding-top: 0; }
  header .item_sub_menu_bar .item-lv1 {
    margin-top: 0;
    display: flex;
    align-items: center;
    line-height: 1;
  }
}

/* ============================================================
   THẺ SẢN PHẨM — KHOẢNG CÁCH GIÁ → SAO/GIỎ HÀNG.
   ============================================================ */
/* Thẻ trong các dải trượt (trang chủ, sản phẩm liên quan): dùng chung mọi khổ.
   Lưới danh sách ở khổ mobile đã có luật riêng trong category.css nên không đụng tới. */
.overlay_product > .price {
  height: 52px;
  padding-top: 0;
  padding-bottom: 2px;
  box-sizing: border-box;
  justify-content: flex-end;
}
.overlay_product > .price > br { display: none; }

@media (min-width: 768px) {
  .row_product_lq .price,
  aside.product_l .product_item .price,
  aside.slider_row .row_product .owl-item .price {
    height: 52px;
    padding-top: 0;
    padding-bottom: 2px;
    box-sizing: border-box;
    justify-content: flex-end;
  }
  .row_product_lq .price > br,
  aside.product_l .product_item .price > br,
  aside.slider_row .row_product .owl-item .price > br { display: none; }
}

/* Header/footer dùng chung một HTML — mỗi khổ chỉ hiện phần của mình. */
@media (min-width: 768px) {
  .hd-mobile,
  .ft-mobile { display: none !important; }
}
@media (max-width: 767px) {
  .hd-desktop,
  .ft-desktop { display: none !important; }
}

/* Header mobile: tab của menu trượt và menu thả của nút tài khoản. */
.hd-mobile .tab-content { display: none; }
.hd-mobile .tab-content.active { display: block; }
.hd-mobile .dropdown { position: relative; display: inline-block; }
.hd-mobile .dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  z-index: 1;
  min-width: 160px;
  background-color: #f9f9f9;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.hd-mobile .dropdown-content a { display: block; padding: 12px 16px; color: #000; text-decoration: none; }
.hd-mobile .dropdown-content a:hover { background-color: #f1f1f1; }

/* Trang tài khoản: hai bản markup dùng chung một view, mỗi khổ hiện phần của mình. */
@media (min-width: 768px) { .u-mobile { display: none !important; } }
@media (max-width: 767px) { .u-desktop { display: none !important; } }

/* ============================================================
   4. RESPONSIVE CHO MARKUP DESKTOP Ở KHỔ HẸP
   Các trang đã gộp về một bộ view dùng markup desktop, nên cần
   luật riêng dưới 768px. Chỉ nới các ràng buộc cứng, không đổi
   thiết kế: chiều cao cố định, chiều rộng 1170px, overflow:hidden
   ============================================================ */

@media (max-width: 767px) {

  /* Breadcrumb: chiều cao cố định 21-25px làm chữ xuống dòng bị tràn
     ra ngoài hộp và đè lên nội dung dưới. */
  aside.navigation {
    height: auto;
    min-height: 0;
    line-height: 1.5;
    padding: 6px var(--hd-gutter);
    margin-top: 0;
  }

  /* Khung breadcrumb đang rộng cứng 1170px trong khung 390px,
     phần thừa bị overflow:hidden cắt mất chữ. */
  aside.navigation .brackRum,
  .content_ld .brackRum {
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: visible;
  }

  /* Các mẩu breadcrumb đang float nên không tự xuống dòng gọn;
     chuyển sang flex có wrap. */
  .brackRum {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 4px;
  }
  /* Khung nội dung trang danh sách (bài viết, dịch vụ): các cột đang rộng cứng
     834–960px và float trái/phải kiểu desktop; ở khổ hẹp cho chiếm đủ khung. */
  section.content_ld { display: block; width: 100%; }
  aside.product_l,
  aside.content_list,
  article.content_list,
  .row_product_lq,
  .content_list_de {
    float: none;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }
  /* View có style nội tuyến width:908px nên phải dùng !important để đè. */
  aside.product_l .product_boder {
    width: 100% !important;
    padding-left: 0 !important;
    box-sizing: border-box;
  }

  /* Lưới thẻ 3 cột 291px: khổ nhỏ 1 thẻ mỗi hàng, khổ vừa 2 thẻ, căn giữa. */
  aside.product_l .product_item {
    float: none;
    width: 100%;
    margin-right: 0;
    padding: 0 0 20px 0;
    box-sizing: border-box;
  }
  aside.product_l .product_item .images { max-width: 100%; height: auto; }

  /* Ô slider bài viết cao cứng 356px, ảnh ép min-height: để ảnh tự co. */
  aside.content_list .allV { height: auto; }
  aside.content_list .allV .images img { min-height: 0; height: auto; max-width: 100%; }

  /* Lưới bài viết: luật flex/47%/img 100% của desktop nằm trong khối min-width:768,
     nên ở khổ hẹp ảnh hiện nguyên cỡ gốc (936–1000px) và bị cắt. */
  .content-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .content-body .item { width: 100%; margin-right: 0; }
  .content-body img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .content-body .item .title { font-weight: bold; text-align: center; }

  /* Tiêu đề trang danh sách: căn giữa, có lề hai bên. */
  .title-category {
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    padding: 4px 10px;
    margin: 0;
  }

  /* Thanh lọc/sắp xếp: desktop dàn hai đầu (luật bị khoá ở >=768);
     ở khổ hẹp xếp dọc, mỗi điều khiển chiếm đủ bề ngang. */
  .filter-wp {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 10px 10px;
  }
  .filter-wp ul.filter-article {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
  }
  .filter-wp ul.filter-article h2.title { margin: 0; font-size: 14px; white-space: nowrap; }
  /* select có style nội tuyến width:204px; margin-left:10px. */
  .filter-wp #filter_arti {
    flex: 1;
    width: auto !important;
    margin-left: 0 !important;
    min-height: 36px;
  }
  /* Nút đảo chiều sắp xếp đang absolute right:3px nên lạc ra mép phải. */
  .filter-wp ul.filter-article > button { position: static !important; flex: none; }
  .filter-wp > div { position: relative; width: 100%; }
  .filter-wp .input_search {
    width: 100%;
    height: 36px;
    box-sizing: border-box;
    padding-right: 40px;
  }
  .filter-wp .article_search {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Dải banner bài viết: trên desktop là owlCarousel (khởi tạo trong bundle JS desktop).
     Ở khổ hẹp bundle đó không nạp, nên khi chưa có .owl-carousel thì dùng dải vuốt
     ngang có snap bằng CSS thuần, thay vì để các banner xếp chồng dọc. */
  aside.content_list-slider:not(.owl-carousel) {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 10px 8px;
    box-sizing: border-box;
  }
  aside.content_list-slider:not(.owl-carousel)::-webkit-scrollbar { display: none; }
  aside.content_list-slider:not(.owl-carousel) > .allV {
    flex: 0 0 86%;
    width: auto;
    float: none;
    scroll-snap-align: center;
  }

  /* Thẻ dịch vụ Clinic & Spa (.content-body-genki): lưới dàn đều, căn giữa. */
  .content-body-genki {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 0 10px;
  }
  .content-body-genki .item_genki { width: 100%; }

  /* Danh sách bài dạng .allV (trang giới thiệu, tin tức): chữ đang dính sát mép màn hình.
     Cho lề hai bên và lưới căn giữa giống trang blog. Không đụng dải vuốt ngang. */
  aside.content_list:not(.content_list-slider) {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 0 10px;
  }
  aside.content_list:not(.content_list-slider) > .allV { width: 100%; float: none; }
  aside.content_list .allV h2.titile { margin: 8px 0 4px; line-height: 1.4; }

  /* Trang sản phẩm khuyến mãi: ảnh cao cố định 200px nên ảnh ngang tràn sang cột bên */
  section#promotion .listProduct li figure { margin: 0; }
  section#promotion .listProduct li figure img { height: auto; max-height: 200px; max-width: 100%; }
  /* Luật .price chung cao cố định 25px: giá gốc + giá giảm hai dòng đè lên nút */
  section#promotion .listProduct li .price { height: auto; }

  /* Nhãn "Xem thêm" trên thẻ sản phẩm chỉ hiện khi rê chuột ở desktop */
  .overlay_product .see-more { display: none; }
  /* Sao đánh giá và giỏ hàng cùng một hàng như bản mobile cũ (ảnh sao có width nội tuyến 105–122px) */
  /* space-around đẩy sao và giỏ hàng ra hai mép thẻ (cách nhau tới 79px ở khổ ~600px);
     căn giữa và để hai thứ cạnh nhau như desktop. */
  .overlay_product .actions-destop { display: flex; align-items: center; justify-content: center; gap: 10px; }

  /* .owl-carousel đặt width:100% còn bản mobile thêm lề 4px hai bên nên dư 8px so với màn hình. */
  aside.slider_row .row_product.owl-carousel { width: auto; }
  .overlay_product .actions-destop .rating { width: 100px !important; height: auto !important; }
  .overlay_product .actions-destop .cart img { width: 32px !important; }

  .brackRum span,
  .brackRum h1 {
    float: none;
    display: inline;
    line-height: 1.5;
  }

}

/* Trang chủ dưới 1170px: slider và thanh tab vốn tính theo khung 1170px cố định. */
@media (max-width: 1169px) {
  /* Slider: ảnh có width="1170" và khung cao cứng 330px */
  .home-page .q_HomeSlide { height: auto; }
  .home-page .q_HomeSlide img { width: 100%; height: auto; }

  /* Thanh tab: bỏ translateX nội tuyến, chữ dài được xuống dòng */
  .home-page .thuong_hieu { padding: 0; margin: 16px 0 10px; }
  .home-page .thuong_hieu_list-v1 { position: relative; box-sizing: border-box; padding: 0 20px; margin: 0; border-radius: 6px; }
  .home-page .thuong_hieu_list-v1 li {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none !important;
    height: 44px !important;
    padding: 0 6px;
    line-height: 1.3;
    font-size: 13px;
    font-weight: bold;
    color: #333;
  }
  .home-page .thuong_hieu_list-v1 li .fa-chevron-down { display: none; }
  .home-page .thuong_hieu_list-v1 li.active { color: #FD1F56; }
  .home-page .thuong_hieu_list-v1 .item { display: block; padding: 0; }
  /* Nút chuyển tab của owl: mũi tên hai đầu thay cho chữ prev/next */
  .home-page .thuong_hieu_list-v1 .owl-controls { position: static; }
  .home-page .thuong_hieu_list-v1 .owl-pagination { display: none; }
  .home-page .thuong_hieu_list-v1 .owl-buttons div {
    position: absolute;
    top: 0;
    width: 22px;
    height: 44px;
    padding: 0;
    font-size: 0;
    line-height: 44px;
    text-align: center;
    background: none;
  }
  .home-page .thuong_hieu_list-v1 .owl-buttons .owl-prev { left: 0; right: auto; }
  .home-page .thuong_hieu_list-v1 .owl-buttons .owl-next { right: 0; left: auto; }
  .home-page .thuong_hieu_list-v1 .owl-buttons div:before {
    font-family: FontAwesome;
    font-size: 22px;
    color: #666;
    content: "\f104";
  }
  .home-page .thuong_hieu_list-v1 .owl-buttons .owl-next:before { content: "\f105"; }

  /* H1 cỡ chữ 1px hiện thành một vạch mờ; ẩn khỏi màn hình nhưng vẫn giữ cho SEO */
  .home-page > h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* Tiêu đề khối lớn ("DÀNH RIÊNG CHO BẠN", "MÃ KHUYẾN MÃI", "SẢN PHẨM LIÊN QUAN"...)
   đặt cứng font-size:43px ngay trong style nội tuyến của view nên không co lại khi
   thu màn hình: chữ tràn ra, xuống dòng và đè lên hai vạch trang trí hai bên.
   Cho co tuyến tính, chạm đúng 43px/8.5px (hoặc 3.5px) từ 1170px trở lên.
   Dùng bộ chọn theo style nội tuyến để chỉ đụng đúng các tiêu đề đó. */
h2.parent > a[style*="font-size: 43px"] {
  font-size: clamp(20px, 2.95vw + 8.5px, 43px) !important;
}
h2.parent > a[style*="letter-spacing: 8.5px"] {
  letter-spacing: clamp(2px, 0.833vw - 1.25px, 8.5px) !important;
}
h2.parent > a[style*="letter-spacing: 3.5px"] {
  letter-spacing: clamp(1px, 0.32vw - 0.25px, 3.5px) !important;
}

/* Trang chủ dưới 768px. View có nhiều style nội tuyến cỡ desktop (chữ 43–50px,
   iframe 750px) nên phải dùng !important để đè. */
@media (max-width: 767px) {
  .home-page .q_HomeSlide .owl-controls { text-align: center; }
  .home-page .q_HomeSlide .owl-controls .owl-page { display: inline-block; margin: 5px 2px 0; }
  .home-page .q_HomeSlide .owl-controls .owl-page span { display: block; width: 8px; height: 8px; margin: 4px 5px; border-radius: 20px; background: #c3cbc8; opacity: .5; }
  .home-page .q_HomeSlide .owl-controls .active span { background: #869791; opacity: 1; }
  .home-page .mini-banner { display: none; }

  /* Nhãn "Quà tặng kèm theo" nằm đè lên mép trên ảnh như desktop */
  .home-page .title_bolo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    margin: 0;
    padding: 3px 10px;
    border-radius: 5px;
    background: #e5e5e5;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .home-page #liveStreamFacebook { margin: 16px 0 5px !important; }
  .home-page #liveStreamFacebook iframe { width: 100%; height: 250px; }

  /* Tiêu đề khối */
  .home-page h2.parent { padding: 8px 10px !important; }
  .home-page h2.parent > a {
    font-size: 22px !important;
    letter-spacing: 3px !important;
    padding-left: 0 !important;
    -webkit-text-stroke: 0 !important;
  }
  .home-page h2.parent .line-before,
  .home-page h2.parent .line-after { width: 12%; }
  .home-page .row_product_flash { padding-top: 10px !important; }
  /* FLASH SALE: chữ bên trái, đồng hồ bên phải trên cùng một hàng */
  .home-page .row_product_flash h2.parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 8px;
  }
  .home-page .row_product_flash h2.parent > div[style*="opacity"] { display: none; }
  .home-page .row_product_flash h2.parent > a { font-size: 26px !important; letter-spacing: 4px !important; }

  .home-page .see_more-wp { padding: 0 10px 10px; }

  /* Mã khuyến mãi: thẻ rộng cứng 267px ở desktop */
  .home-page .row_product_khuyen_mai .row_product_h { width: auto; position: relative; padding: 0 5px; }
  .home-page .row_product_khuyen_mai .row_product_h img { width: 100%; height: auto; }
}

/* Trang landing bộ sản phẩm (bo-tri-nam, the-le, phục hồi da, HCL): khung rộng cứng 980–1025px
   đặt trong \3c style> của view nên cần "body" để thắng; dưới 1170px cho co theo màn hình. */
@media (max-width: 1169px) {
  body .thele { width: auto; max-width: 1008px; box-sizing: border-box; padding: 0 10px; }
  body .theleall { width: auto; max-width: 980px; box-sizing: border-box; }
  body .botrinnam { width: auto; max-width: 1025px; }
  .botrinamall img,
  .botrinnam img { max-width: 100%; height: auto; }
  .boxDathang,
.boxDathang input,
.boxDathang textarea,
.dmhadTav input,
.dmhadTav textarea,
.dmhadTav select { box-sizing: border-box; max-width: 100%; }
}
@media (max-width: 767px) {
  body .theleall { padding: 8px 12px; }
}

/* Bảng đơn hàng có width="980" cứng: dưới 1170px cuộn ngang trong khung riêng thay vì làm tràn cả trang. */
@media (max-width: 1169px) {
  .cartDOnhang { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 767px) {
  .cartDOnhang table.donhang { width: 100%; min-width: 560px; }
}

/* Trang đặt nhanh giao ngay (dùng chung mọi khổ): form một cột, ô nhập giãn đủ khung.
   Bản cũ dùng JS đặt chiều rộng theo cửa sổ nên các ô lệch nhau và tràn ngang. */
#cart_dathang { max-width: 600px; margin: 24px auto 0; padding: 16px; box-sizing: border-box; }
#cart_dathang .boxDathang { width: 100%; box-sizing: border-box; padding: 0 12px 20px; }
#cart_dathang .title_nhan_hang { height: auto; line-height: 1.5; padding: 12px 0; text-align: center; }
#cart_dathang .title_nhan_hang span { display: block; }
#cart_dathang .lineDhnh input,
#cart_dathang .lineDhnh textarea { display: block; width: 100% !important; margin: 10px 0 0; box-sizing: border-box; }

/* Khổ vừa (480–767px): thẻ danh sách chia 2 cột, xếp từ trái sang (căn giữa thì thẻ lẻ
   — 1 sản phẩm hoặc thẻ cuối hàng — bị dạt vào giữa). */
@media (min-width: 480px) and (max-width: 767px) {
  aside.product_l .product_boder { display: flex; flex-wrap: wrap; justify-content: flex-start; }
  aside.product_l .product_boder > .product_item { width: 48%; margin: 0 1% 20px; }
  /* Tiêu đề và thanh lọc luôn chiếm trọn một hàng trong khung flex. */
  aside.product_l .product_boder > .title-category,
  aside.product_l .product_boder > .filter-wp,
  aside.product_l .product_boder > .lt-toggle,
  aside.product_l .product_boder > .lt-panel { flex-basis: 100%; }
  .content-body-genki .item_genki,
aside.content_list:not(.content_list-slider) > .allV,
.content-body .item { width: calc(50% - 8px); }
}

/* ############################################################
   B. DÙNG CHUNG — thành phần có trên nhiều trang
   ############################################################ */

/* ============================================================
   5. LỀ HAI BÊN Ở KHỔ HẸP — TRANG CHỦ VÀ TRANG BLOG
   ============================================================ */

:root { --hd-gutter: clamp(10px, 3vw, 24px); }

/* Trang chủ: từ 1170px trở lên khung 1170px đã có lề tự nhiên. */
@media (max-width: 1169px) {
  section.content_v.home-page {
    box-sizing: border-box;
    padding-left: var(--hd-gutter);
    padding-right: var(--hd-gutter);
  }
  /* banner không còn chạm mép thì bo góc cho khớp các thẻ bên dưới */
  section.content_v.home-page > .q_HomeSlide .owl-wrapper-outer { border-radius: 8px; }
}

/* Blog / chuyên mục bài viết: từ 768px trở lên hai cột đã có khoảng cách. */
@media (max-width: 767px) {
  section.content_ld > aside.content_list-slider {
    /* mục 4 ép aside.content_list { width:100% !important } */
    width: auto !important;
    margin-left: var(--hd-gutter);
    margin-right: var(--hd-gutter);
  }
  aside.product_l .content-body,
  aside.product_l .content-body-genki {
    padding-left: var(--hd-gutter);
    padding-right: var(--hd-gutter);
  }
}

/* ============================================================
   6. MENU THẢ XUỐNG DANH MỤC / THƯƠNG HIỆU (header >=768px)
   ============================================================ */

@media (min-width: 768px) {
  header #hamber_menu:hover::after,
  header .item_sub_menu_bar .menu_leve_1:hover::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 24px;
  }
}
/* Dưới 1170px dropdown THƯƠNG HIỆU (800px) rộng hơn phần còn lại của màn hình nên tràn
   khỏi mép phải. Giới hạn bề rộng theo khung nhìn, cột "Featured brands" co giãn; JS
   (general.js, fitDropdownToViewport) dịch phần còn thò ra vì vị trí nút phụ thuộc chữ.
   Bảng DANH MỤC tự co theo khung ở mục 7. */
@media (min-width: 768px) and (max-width: 1169px) {
  header .menuHidenth {
    /* 818px = 800px + đệm/viền của bản gốc: cùng cỡ với khổ >=1170px, không nhảy ở mốc */
    box-sizing: border-box;
    width: 818px !important;
    max-width: calc(100vw - 20px);
    /* "transition: all .3s" gốc làm phần dịch trái bằng JS trượt chậm theo */
    transition: none;
  }
  header .menuHidenth .brand .brand_left {
    flex: 0 0 clamp(210px, 32%, 280px);
    box-sizing: border-box;
  }
  header .menuHidenth .brand .brand_right {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* ============================================================
   7. MENU DANH MỤC Ở HEADER (>=768px) — nút ba gạch + bảng danh mục
   View: header.php (#hamber_menu)
   ============================================================ */

@keyframes dm-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 768px) {
  header #hamber_menu {
    --dm-ink: #1f1f1f;
    --dm-text: #454545;
    --dm-muted: #8a8a8a;
    --dm-line: #e9e9e9;
    --dm-tint: #f7f6f5;
    --dm-accent: #ef4679;
  }

  /* --- nút: ba gạch vẽ bằng CSS (không chờ font icon tải chậm nên không xê dịch chữ),
     mở thì gạch trên/dưới xoay thành dấu ×, gạch giữa mờ đi --- */
  header #hamber_menu .menu_hamber {
    gap: clamp(6px, 0.5vw + 2px, 10px);
    color: #5B5B5B;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  header #hamber_menu .menu_hamber:focus-visible {
    outline: 2px solid var(--dm-ink);
    outline-offset: 6px;
    border-radius: 2px;
  }
  header #hamber_menu .hb-icon {
    position: relative;
    flex: none;
    display: block;
    width: clamp(15px, 0.75vw + 7px, 18px);
    height: 12px;
  }
  header #hamber_menu .hb-icon::before,
  header #hamber_menu .hb-icon::after,
  header #hamber_menu .hb-icon > span {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    display: block;
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
    transition: transform .24s cubic-bezier(.2, .7, .2, 1), opacity .16s ease;
  }
  header #hamber_menu .hb-icon::before { top: 0; }
  header #hamber_menu .hb-icon > span { top: 5.25px; }
  header #hamber_menu .hb-icon::after { top: 10.5px; }
  header #hamber_menu.is-open .hb-icon::before { transform: translateY(5.25px) rotate(45deg); }
  header #hamber_menu.is-open .hb-icon::after { transform: translateY(-5.25px) rotate(-45deg); }
  header #hamber_menu.is-open .hb-icon > span { opacity: 0; transform: scaleX(.3); }

  /* --- khung thả xuống --- */
  header #sub_menu_web {
    display: none;
    position: absolute;
    left: 0;
    top: 35px;
    z-index: 50;
    width: auto;
    background: #fff;
    border: 1px solid var(--dm-line);
    border-radius: 2px;
    box-shadow: 0 20px 40px -24px rgba(20, 20, 20, .28), 0 2px 6px rgba(20, 20, 20, .04);
  }
  header #hamber_menu.is-open #sub_menu_web {
    display: block;
    animation: dm-in .18s cubic-bezier(.2, .7, .2, 1);
  }

  /* --- cột cấp 1 --- */
  /* rộng theo tên danh mục dài nhất để không mục nào phải xuống dòng */
  header #sub_menu_web .col_menu_cap1 {
    float: none;
    width: max-content;
    min-width: 208px;
    max-width: 300px;
    box-sizing: border-box;
    padding: 8px 0;
    background: none;
    border: 0;
  }
  header #sub_menu_web .col_menu_cap1 a.parent_menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: auto;
    height: auto;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 20px 10px 24px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: .01em;
    color: var(--dm-text);
    transition: color .15s ease, background-color .15s ease;
  }
  /* vạch nhấn bên trái của mục đang xem */
  header #sub_menu_web .col_menu_cap1 a.parent_menu::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--dm-accent);
    transform: scaleY(0);
    transition: transform .2s cubic-bezier(.2, .7, .2, 1);
  }
  /* mũi tên ">" của mục có bảng con */
  header #sub_menu_web .sub_item_menu > a.parent_menu::after {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    margin-right: 2px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    opacity: .4;
    transform: rotate(45deg);
    transition: transform .2s cubic-bezier(.2, .7, .2, 1), opacity .15s ease;
  }
  header #sub_menu_web .col_menu_cap1 a.parent_menu:hover,
  header #sub_menu_web .sub_item_menu.is-active > a.parent_menu {
    color: var(--dm-ink);
    background: var(--dm-tint);
  }
  header #sub_menu_web .sub_item_menu.is-active > a.parent_menu::before { transform: scaleY(1); }
  header #sub_menu_web .sub_item_menu.is-active > a.parent_menu::after {
    opacity: .85;
    transform: translateX(2px) rotate(45deg);
  }
  header #sub_menu_web a:focus-visible {
    outline: 2px solid var(--dm-ink);
    outline-offset: -2px;
  }

  /* --- bảng cấp 2/3, nằm sát bên phải cột, dùng chung đường viền --- */
  header #sub_menu_web .conten_hover_submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -1px;
    width: 680px;
    height: auto;
    min-height: calc(100% + 2px);
    box-sizing: border-box;
    padding: 24px 32px 28px;
    background: #fff;
    border: 1px solid var(--dm-line);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 20px 40px -24px rgba(20, 20, 20, .28);
  }
  header #sub_menu_web .sub_item_menu.is-active > .conten_hover_submenu { display: block; }

  header #sub_menu_web .sm-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--dm-line);
  }
  header #sub_menu_web .sm-eyebrow {
    min-width: 0;
    font-size: 11px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--dm-muted);
  }
  header #sub_menu_web .sm-all {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--dm-ink);
    white-space: nowrap;
    transition: color .15s ease;
  }
  header #sub_menu_web .sm-all::after {
    content: "";
    width: 5px;
    height: 5px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s cubic-bezier(.2, .7, .2, 1);
  }
  header #sub_menu_web .sm-all:hover { color: var(--dm-accent); }
  header #sub_menu_web .sm-all:hover::after { transform: translateX(3px) rotate(45deg); }

  header #sub_menu_web .sm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    column-gap: clamp(20px, 1.5vw + 8px, 32px);
  }
  header #sub_menu_web .col_hover_submenu {
    display: block;
    width: auto;
    margin: 0;
    position: static;
    min-width: 0;
  }
  header #sub_menu_web .col_hover_submenu > a {
    display: block;
    margin: 0;
    padding: 8px 0;
    font-size: 14px;
    line-height: 20px;
    color: var(--dm-text);
    transition: color .15s ease;
  }
  header #sub_menu_web .col_hover_submenu > a strong { font-weight: 600; }
  /* gạch chân mảnh chạy từ trái sang khi rê chuột (xuống dòng vẫn đúng nhờ clone) */
  header #sub_menu_web .col_hover_submenu > a strong,
  header #sub_menu_web .col_hover_submenu li a {
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    transition: background-size .25s cubic-bezier(.2, .7, .2, 1), color .15s ease;
  }
  header #sub_menu_web .col_hover_submenu > a:hover { color: var(--dm-ink); }
  header #sub_menu_web .col_hover_submenu > a:hover strong,
  header #sub_menu_web .col_hover_submenu li a:hover { background-size: 100% 1px; }
  header #sub_menu_web .col_hover_submenu ul {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
  }
  header #sub_menu_web .col_hover_submenu li { width: auto; padding: 0; }
  header #sub_menu_web .col_hover_submenu li a {
    display: inline;
    font-size: 13px;
    line-height: 28px;
    color: var(--dm-muted);
  }
  header #sub_menu_web .col_hover_submenu li a:hover { color: var(--dm-ink); }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  header #hamber_menu.is-open #sub_menu_web { animation: none; }
  header #hamber_menu .hb-icon::before,
  header #hamber_menu .hb-icon::after,
  header #hamber_menu .hb-icon > span { transition: none; }
}

/* ============================================================
   8. MENU TRƯỢT Ở KHỔ MOBILE (#mySidenav, <768px)
   View: header.php (.hd-mobile). JS: assets/front/js/hd-mobile/animation.js — openNav()/
   closeNav() gắn .is-open
   ============================================================ */

@media (max-width: 767px) {
  .hd-mobile #mySidenav {
    --sn-ink: #1f1f1f;
    --sn-text: #454545;
    --sn-muted: #8a8a8a;
    --sn-line: #ececec;
    --sn-rail: #f6f6f6;
    --sn-accent: #ef4679;
    --sn-head-h: 60px;
    --sn-rail-w: clamp(92px, 22vw + 20px, 128px);
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform .3s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .3s;
  }
  .hd-mobile #mySidenav.is-open {
    transform: none;
    visibility: visible;
    transition: transform .3s cubic-bezier(.22, .61, .36, 1), visibility 0s;
  }
  .hd-mobile .iconMenu { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .hd-mobile .iconMenu:focus-visible {
    outline: 2px solid var(--sn-ink, #1f1f1f);
    outline-offset: 2px;
    border-radius: 8px;
  }

  /* --- thanh trên --- */
  .hd-mobile #mySidenav .menu-mobile-header {
    height: var(--sn-head-h);
    justify-content: flex-start;
    gap: 8px;
    /* 5px: nút × trùng đúng chỗ nút ba gạch ở header */
    padding: 0 8px 0 5px;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid var(--sn-line);
  }
  .hd-mobile #mySidenav .bodyTranparent { flex: none; }
  /* nút đóng: cùng cỡ, cùng khung bo góc với nút ba gạch ở header nên như chính nút đó
     chuyển thành dấu × */
  .hd-mobile #mySidenav .closebtn {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid #dcdcdc;
    border-radius: 7px;
    background: #fff;
    color: var(--sn-ink);
    font-size: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color .15s ease, background-color .15s ease;
  }
  .hd-mobile #mySidenav .closebtn::before,
  .hd-mobile #mySidenav .closebtn::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: calc(50% - .75px);
    height: 1.5px;
    border-radius: 1px;
    background: currentColor;
    transform: rotate(45deg);
  }
  .hd-mobile #mySidenav .closebtn::after { transform: rotate(-45deg); }
  .hd-mobile #mySidenav .closebtn:active { background: var(--sn-rail); border-color: #cfcfcf; }
  .hd-mobile #mySidenav .menu-mobile-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f4f4f4;
    transition: border-color .15s ease, background-color .15s ease;
  }
  .hd-mobile #mySidenav .menu-mobile-search-input:focus-within { background: #fff; border-color: #d6d6d6; }
  /* 16px: iOS không tự phóng to trang khi chạm vào ô nhập */
  .hd-mobile #mySidenav .mobile-search-input {
    height: 38px;
    background: transparent;
    font-size: 16px;
    color: var(--sn-ink);
  }
  .hd-mobile #mySidenav .mobile-search-input::placeholder { color: var(--sn-muted); }
  .hd-mobile #mySidenav .home-btn {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }
  .hd-mobile #mySidenav .home-btn svg { width: 22px; height: 22px; }
  .hd-mobile #mySidenav .home-btn path { fill: var(--sn-ink); }
  .hd-mobile #mySidenav button:focus-visible,
  .hd-mobile #mySidenav a:focus-visible {
    outline: 2px solid var(--sn-ink);
    outline-offset: -2px;
  }

  /* --- thân: cột tab | nội dung --- */
  .hd-mobile #mySidenav > .brand {
    display: flex;
    align-items: stretch;
    min-height: calc(100% - var(--sn-head-h));
  }
  .hd-mobile #mySidenav .brand-left {
    flex: 0 0 var(--sn-rail-w);
    width: var(--sn-rail-w);
    background: var(--sn-rail);
    border-right: 1px solid var(--sn-line);
  }
  .hd-mobile #mySidenav .brand-left .list {
    position: sticky;
    top: var(--sn-head-h);
    margin: 0;
    padding: 0;
    border: 0;
  }
  .hd-mobile #mySidenav .brand-left .list > a { display: block; }
  .hd-mobile #mySidenav .brand-left li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    box-sizing: border-box;
    padding: 12px 10px;
    border-bottom: 1px solid var(--sn-line);
    text-align: center;
    transition: background-color .15s ease;
  }
  .hd-mobile #mySidenav .brand-left li span {
    font-size: 10.5px;
    line-height: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sn-muted);
    transition: color .15s ease;
  }
  .hd-mobile #mySidenav .brand-left li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: var(--sn-accent);
    transform: scaleY(0);
    transition: transform .2s cubic-bezier(.2, .7, .2, 1);
  }
  /* tab đang mở liền mạch với phần nội dung: nền trắng, che đường kẻ dọc */
  .hd-mobile #mySidenav .brand-left .tab-button.active li {
    margin-right: -1px;
    background: #fff;
  }
  .hd-mobile #mySidenav .brand-left .tab-button.active li span { color: var(--sn-ink); }
  .hd-mobile #mySidenav .brand-left .tab-button.active li::before { transform: scaleY(1); }
  .hd-mobile #mySidenav .brand-left a:active li { background: #efefef; }

  .hd-mobile #mySidenav .brand-right {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 20px 16px 40px;
    box-sizing: border-box;
  }
  .hd-mobile #mySidenav .brand-right h2 { margin: 0; padding: 0; }
  .hd-mobile #mySidenav .brand-right .brands,
  .hd-mobile #mySidenav .brand-right .list-brand-head span {
    min-width: 0;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sn-ink);
  }
  .hd-mobile #mySidenav .brand-right .brands-sub {
    margin: 20px 0 12px;
    font-size: 11px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sn-muted);
  }

  /* logo thương hiệu nổi bật: lưới ô 3:2, logo nằm gọn trong ô */
  .hd-mobile #mySidenav .brand-right .thuong_hieu_list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
  }
  .hd-mobile #mySidenav .brand-right .thuong_hieu_list li { display: block; margin: 0; }
  .hd-mobile #mySidenav .brand-right .thuong_hieu_list a {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    padding: 8px 10px;
    box-sizing: border-box;
    border: 1px solid var(--sn-line);
    border-radius: 4px;
    background: #fff;
    transition: border-color .15s ease;
  }
  .hd-mobile #mySidenav .brand-right .thuong_hieu_list a:active { border-color: #cfcfcf; }
  .hd-mobile #mySidenav .brand-right .thuong_hieu_list img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    padding: 0;
    object-fit: contain;
  }
  .hd-mobile #mySidenav .brand-right .brand_right_button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    margin: 20px 0 0;
    padding: 0 16px;
    box-sizing: border-box;
    border: 1px solid var(--sn-ink);
    border-radius: 2px;
    background: transparent;
    color: var(--sn-ink);
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: background-color .15s ease, color .15s ease;
  }
  .hd-mobile #mySidenav .brand-right .brand_right_button:active { background: var(--sn-ink); color: #fff; }

  /* tab danh mục: tiêu đề + "Xem tất cả", lưới ảnh danh mục con */
  .hd-mobile #mySidenav .list-brand { padding: 0; }
  .hd-mobile #mySidenav .list-brand-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
  }
  .hd-mobile #mySidenav .list-brand-head > a { flex: none; }
  .hd-mobile #mySidenav .list-brand-head .all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    letter-spacing: .02em;
    color: var(--sn-muted);
    list-style: none;
  }
  .hd-mobile #mySidenav .list-brand-head .all i { display: none; }
  .hd-mobile #mySidenav .list-brand-head .all::after {
    content: "";
    width: 5px;
    height: 5px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
  }
  .hd-mobile #mySidenav .list-brand > ul.list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 20px 12px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .hd-mobile #mySidenav .list-brand a.item_lv2 {
    display: flex;
    flex-direction: column;
    width: auto;
    margin: 0;
    padding: 0;
    border-radius: 0;
    text-align: center;
  }
  .hd-mobile #mySidenav .list-brand a.item_lv2 li { list-style: none; }
  .hd-mobile #mySidenav .list-brand .item-img {
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--sn-line);
    border-radius: 4px;
    background: #fafafa;
    transition: border-color .15s ease;
  }
  .hd-mobile #mySidenav .list-brand a.item_lv2:active .item-img { border-color: #cfcfcf; }
  .hd-mobile #mySidenav .list-brand .item-img img.img-menu {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  /* danh mục chưa có ảnh (src rỗng): để ô nền trơn thay vì biểu tượng ảnh hỏng */
  .hd-mobile #mySidenav .list-brand .item-img img[src=""] { visibility: hidden; }
  .hd-mobile #mySidenav .list-brand .item-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: 8px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: var(--sn-ink);
  }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .hd-mobile #mySidenav,
  .hd-mobile #mySidenav.is-open { transition: none; }
}

/* ============================================================
   9. BREADCRUMB "Trang chủ › …" — MỘT KIỂU, MỘT VỊ TRÍ CHO MỌI TRANG
   Markup chung: aside.navigation > .brackRum > span (liên kết + "›") … + mục cuối là trang
   hiện tại (span.titileBrum / h1.contentDeatil / span có style nội tuyến)
   ============================================================ */

aside.navigation {
  /* hàng menu phía trên đã có đệm dưới ~9px: 13 + 9 ≈ 22, cân với khoảng dưới */
  --bc-top: 13px;
  --bc-bottom: 22px;
  clear: both;
  float: none;
  height: auto;
  min-height: 0;
  margin: 0;
  padding-top: var(--bc-top);
  padding-bottom: var(--bc-bottom);
  line-height: normal;
}
aside.navigation .brackRum {
  display: block;
  float: none;
  height: auto;
  margin-top: 0;
  margin-bottom: 0;
  overflow: visible;
  background: none;
  font-family: Muli, Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: .01em;
  color: #7a7a7a;
}
aside.navigation .brackRum span,
aside.navigation .brackRum h1,
aside.navigation .brackRum a {
  display: inline;
  float: none;
  margin: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}
aside.navigation .brackRum a { transition: color .15s ease; }
aside.navigation .brackRum a:hover {
  color: #1f1f1f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* mục cuối = trang hiện tại; !important để thắng style nội tuyến cũ trong một số view */
aside.navigation .brackRum > :last-child {
  color: #1f1f1f !important;
  font-weight: 600 !important;
  text-transform: none !important;
}
/* Khoảng cách dưới do breadcrumb quyết định: khối nội dung đầu tiên của từng loại trang
   bỏ phần lề/đệm trên cũ của nó (nếu không mỗi trang lệch thêm 8–52px). Các trang mở đầu
   bằng khung có viền/nền (dải logo thương hiệu, slider bài viết) vốn đã sát mép. */
aside.navigation + section.content_ld,
aside.navigation + section.product_d { margin-top: 0 !important; }
/* trang thương hiệu A–Z */
aside.navigation + section.content_ld .brand-dir__head { padding-top: 0; }
/* chi tiết sản phẩm */
aside.navigation + section.product_d .detailP { margin-top: 0; padding-top: 0; }
/* danh sách bài viết / clinic / tìm kiếm */
aside.navigation + section.content_ld > aside.product_l > .product_boder:first-child { margin-top: 0; }
aside.navigation + section.content_ld > aside.product_l > .product_boder:first-child > h1.title-category:first-child { padding-top: 0; }
/* chi tiết bài viết, giới thiệu, dịch vụ clinic: cột bài viết và cột "Bài viết xem nhiều"
   cùng bắt đầu ngay dưới breadcrumb */
aside.navigation + section.content_ld > article.content_list_de,
aside.navigation + section.content_ld > article.content_list_de .content_list_top { padding-top: 0; }
aside.navigation + section.content_ld > article.content_list_de h1.titile_dCon { margin-top: 0; padding-top: 0; }
aside.navigation + section.content_ld > aside.right_content > .titile_h:first-child { margin-top: 0; }
/* trang tag: khối đệm .clear10px rỗng + đệm trên của danh sách */
aside.navigation + section.content_ld > .clear10px:first-child { display: none; }
aside.navigation + section.content_ld > .clear10px:first-child + aside.content_list { padding-top: 0; }
/* danh sách ở đây là float nên margin-top của cột phải (768–1023px, cột rơi xuống dưới) lọt
   qua section và đẩy cả trang xuống 16px thay vì tạo khoảng cách dưới danh sách */
aside.navigation + section.content_ld > .clear10px:first-child ~ aside.right_content { margin-top: 0; }
/* trang tìm kiếm: tiêu đề "Tìm kiếm: …" */
aside.navigation + section.content_ld > aside.product_l > h1.titile_category:first-child { padding-top: 0; }

@media (max-width: 767px) {
  aside.navigation {
    --bc-top: 12px;
    --bc-bottom: 16px;
    line-height: normal;
  }
  aside.navigation .brackRum {
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 19px;
  }
  /* Roboto của site chỉ có 400/700 */
  aside.navigation .brackRum > :last-child { font-weight: 700 !important; }
  /* trang danh sách sản phẩm (danh mục, thương hiệu, giảm giá): dải logo phía trên bị ẩn ở
     khổ này nên tiêu đề danh mục là nội dung đầu tiên — bỏ lề/đệm trên của nó */
  aside.navigation ~ section.content_ld > aside.product_l > .product_boder:first-child { margin-top: 0; }
  aside.navigation ~ section.content_ld > aside.product_l > .product_boder:first-child > h1.title-category:first-child { padding-top: 0; }
}

/* ============================================================
   10. NÚT "XEM TẤT CẢ" (.see_more) — trang chủ, chi tiết bài viết, chi tiết sản phẩm
   ============================================================ */

.see_more-wp {
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 6px 0 18px;
}
.see_more-wp > a.see_more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 20px 0 24px;
  box-sizing: border-box;
  border: 1.5px solid var(--hd-accent);
  border-radius: 999px;
  background: #fff;
  color: var(--hd-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
/* Mũi tên: thân + đầu, cùng màu chữ */
.see_more-wp > a.see_more::after {
  content: "";
  flex: none;
  width: 16px;
  height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 5h13.5M10.5 1l4 4-4 4'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 5h13.5M10.5 1l4 4-4 4'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .2s ease;
}
.see_more-wp > a.see_more:hover,
.see_more-wp > a.see_more:focus-visible {
  background: var(--hd-accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(239, 70, 121, .25);
}
.see_more-wp > a.see_more:hover::after { transform: translateX(4px); }
.see_more-wp > a.see_more:focus-visible { outline: 2px solid var(--hd-accent); outline-offset: 3px; }
@media (max-width: 767px) {
  .see_more-wp > a.see_more { height: 38px; padding: 0 18px 0 20px; font-size: 11.5px; letter-spacing: 1.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .see_more-wp > a.see_more,
  .see_more-wp > a.see_more::after { transition: none; }
}

/* ============================================================
   11. NÚT "XEM THÊM SẢN PHẨM" (.seeMore)
   ============================================================ */

div.seeMore {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 0 0 auto;            /* nằm trong khung flex của lưới thẻ ở khổ hẹp */
  width: max-content;
  max-width: 100%;
  height: 42px;
  margin: 18px auto 24px;
  padding: 0 26px;
  box-sizing: border-box;
  border: 1.5px solid var(--hd-accent);
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  color: var(--hd-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
div.seeMore span { display: none; } /* mũi tên FontAwesome cũ, nếu view còn giữ */
div.seeMore::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M5 1v7.5M1.5 5.5 5 9l3.5-3.5'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M5 1v7.5M1.5 5.5 5 9l3.5-3.5'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .2s ease;
}
div.seeMore:hover {
  border-color: var(--hd-accent);
  background: var(--hd-accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(239, 70, 121, .25);
}
div.seeMore:hover::after { transform: translateY(2px); }
@media (max-width: 767px) {
  div.seeMore { height: 40px; padding: 0 22px; font-size: 11.5px; letter-spacing: 1.5px; }
}
@media (prefers-reduced-motion: reduce) {
  div.seeMore, div.seeMore::after { transition: none; }
}

/* ============================================================
   12. PHÂN TRANG Ở KHỔ MOBILE
   ============================================================ */

@media (max-width: 767px) {
  .content_list .pagingDetail,
  .pagingDetail {
    height: auto;
    line-height: 32px;
    margin: 14px 0 6px;
    padding: 0 10px;
    box-sizing: border-box;
    text-align: center;
    font-size: 15px;
  }
  .content_list .pagingDetail a,
  .pagingDetail a {
    display: inline-block;
    min-width: 16px;
    padding: 0 9px;
    color: #333;
  }
  .content_list .pagingDetail strong,
  .pagingDetail strong {
    display: inline-block;
    min-width: 16px;
    padding: 0 9px;
    border-radius: 2px;
    color: #FD6E91;
  }
}

/* ============================================================
   13. THANH CÔNG CỤ GỘP Ở KHỔ HẸP (.lt-panel) — danh sách bài viết, Clinic & Spa
   ============================================================ */

.lt-toggle,
.lt-panel { display: none; }

@media (max-width: 1023px) {
  /* Cột nội dung dùng trọn bề ngang vì cột lọc đã vào ngăn trượt. */
  body.lt-on aside.product_l { width: 100%; float: none; }
  body.lt-on aside.filter#filter_cate { float: none; }
  /* Tiêu đề trang (CLINIC & SPA, BLOGS, tên chuyên mục) là khung flex bám trái cho
     bố cục hai cột; khi cột lọc đã vào ngăn trượt thì căn giữa theo cả khung như ở
     khổ mobile. Khung .product_boder cách đều hai mép nên tâm chữ = tâm trang. */
  body.lt-on aside.product_l .product_boder > .title-category {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
  /* 768–1023: tiêu đề không có đệm nên dính breadcrumb và nút; lấy khoảng cách
     như khổ mobile (~9px trên, ~7px dưới). */
  @media (min-width: 768px) {
    body.lt-on aside.product_l .product_boder > .title-category { padding: 10px 10px 5px; }
  }

  .lt-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 4px 0 10px;
    padding: 9px 14px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    color: #4a4a4a;
    font: 700 14px/1.2 inherit;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    outline: none;
  }
  .lt-toggle:hover,
.lt-toggle.is-open { border-color: #ef4679; color: #ef4679; }

  /* Ba gạch vẽ bằng CSS để không phải thêm ảnh/biểu tượng mới. */
  .lt-toggle-bars {
    position: relative;
    flex: none;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
  }
  .lt-toggle-bars::before,
  .lt-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
  }
  .lt-toggle-bars::before { top: -6px; }
  .lt-toggle-bars::after { top: 6px; }

  .lt-toggle-text { flex: 1 1 auto; text-align: left; }
  .lt-toggle-caret {
    flex: none;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s ease;
  }
  .lt-toggle.is-open .lt-toggle-caret { transform: translateY(2px) rotate(-135deg); }

  /* Ngăn trượt: đóng thì cao 0, mở thì giãn theo nội dung. */
  .lt-panel {
    display: block;
    overflow: hidden;
    max-height: 0;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    transition: max-height .25s ease, margin-bottom .25s ease, border-color .25s ease;
  }
  .lt-panel.is-open {
    max-height: 1200px;
    margin-bottom: 14px;
    padding: 12px;
    border-color: #e2e2e2;
  }

  /* Thanh sắp xếp/tìm kiếm trong ngăn: ô sắp xếp và ô tìm kiếm nằm chung một hàng,
     cả hai cùng co lại theo bề ngang còn lại thay vì xuống dòng. */
  .lt-panel .filter-wp {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
  }
  .lt-panel .filter-wp ul.filter-article {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
  }
  .lt-panel .filter-wp ul.filter-article h2.title { flex: none; margin: 0; white-space: nowrap; }
  /* select có style nội tuyến width:204px; margin-left:10px */
  .lt-panel .filter-wp #filter_arti {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    margin-left: 0 !important;
  }
  .lt-panel .filter-wp > div {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
  }
  .lt-panel .filter-wp .input_search {
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    padding-right: 40px;
  }
  .lt-panel .filter-wp .article_search {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
  }
  /* Khổ rất hẹp: bỏ nhãn "SẮP XẾP" để hai ô còn đủ chỗ hiển thị nội dung. */
  @media (max-width: 519px) {
    .lt-panel .filter-wp ul.filter-article h2.title { display: none; }
  }

  /* Cột lọc khi nằm trong ngăn: dùng trọn bề ngang, giữ nguyên kiểu thẻ đã thiết kế
     (xem mục 14) nhưng bỏ bóng đổ vì đã nằm trong khung có viền riêng. */
  .lt-panel > aside.filter {
    float: none;
    width: 100%;
    margin: 12px 0 0;
    box-sizing: border-box;
    box-shadow: none;
    border: 1px solid var(--hd-line);
  }
  .lt-panel > aside.filter:first-child { margin-top: 0; }
  .lt-panel > aside.filter.filter-simple .filter_v { width: 100% !important; }
  /* Ngăn trượt rộng gấp mấy lần cột lọc nên danh sách chia hai cột cho đỡ dài.
     Dùng CSS columns (không phải flex) để mỗi mục vẫn là một khối nguyên vẹn. */
  .lt-panel > aside.filter.filter-simple .general .filter .dropdown-options > div,
  .lt-panel > aside.filter.filter-simple .general > .filter.filter-hot:not(.dropdown-container) {
    display: block !important;
    column-count: 2;
    column-gap: 0;
    column-rule: 1px solid #f2f2f2;
  }
  .lt-panel > aside.filter.filter-simple .general .filter .age {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }
  /* Máy hẹp: hai cột làm tiêu đề dài bị bẻ thành 4 dòng, quay về một cột. */
  @media (max-width: 479px) {
    .lt-panel > aside.filter.filter-simple .general .filter .dropdown-options > div,
    .lt-panel > aside.filter.filter-simple .general > .filter.filter-hot:not(.dropdown-container) {
      column-count: 1;
    }
  }
  /* Ngăn trượt rộng nên logo trong cột lọc phải có trần, không thì phình to. */
  .lt-panel > aside.filter.filter-simple .general > img {
    max-width: 150px;
    margin: 12px auto 10px;
  }
}

/* ============================================================
   14. THANH LỌC (.filter-wp) VÀ CỘT DANH MỤC (aside.filter.filter-simple)
   Áp dụng cho trang danh sách bài viết (/lam-dep/), trang chuyên mục bài viết
   và Clinic & Spa
   ============================================================ */

/* Biến dùng chung để dễ chỉnh về sau */
:root {
  --hd-accent: #ef4679;
  --hd-accent-soft: #fdeff4;
  --hd-line: #e7e7e7;
  --hd-text: #4a4a4a;
  --hd-muted: #9a9a9a;
}

/* ---------- Thanh sắp xếp + tìm kiếm ---------- */
.filter-wp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 2px 0 16px;
}
.filter-wp ul.list.filter-article {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.filter-wp ul.filter-article h2.title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--hd-muted);
  white-space: nowrap;
}
/* select có style nội tuyến padding/margin-left/width */
.filter-wp #filter_arti {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 210px !important;
  margin-left: 0 !important;
  padding: 0 36px 0 15px !important;
  height: 38px;
  box-sizing: border-box;
  border: 1px solid var(--hd-line);
  border-radius: 999px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238a8a8a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--hd-text);
  cursor: pointer;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.filter-wp #filter_arti:hover { border-color: #d3d3d3; }
.filter-wp #filter_arti:focus {
  border-color: var(--hd-accent);
  box-shadow: 0 0 0 3px rgba(239, 70, 121, .12);
}
/* Nút xám xoay 90° trong view chỉ là mũi tên giả của ô select (không có sự kiện);
   select đã có mũi tên riêng nên ẩn đi. */
.filter-wp ul.filter-article > button { display: none !important; }

.filter-wp > div { position: relative; flex: 0 1 auto; }
.filter-wp .input_search {
  width: 300px;
  height: 38px;
  box-sizing: border-box;
  padding: 0 44px 0 16px;
  border: 1px solid var(--hd-line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: var(--hd-text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.filter-wp .input_search::placeholder { color: #b6b6b6; }
.filter-wp .input_search:hover { border-color: #d3d3d3; }
.filter-wp .input_search:focus {
  border-color: var(--hd-accent);
  box-shadow: 0 0 0 3px rgba(239, 70, 121, .12);
}
.filter-wp .article_search {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  float: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .15s;
}
.filter-wp .article_search:hover { background: var(--hd-accent-soft); }
.filter-wp .article_search::before { color: var(--hd-accent); font-size: 15px; }

/* ---------- Thanh sắp xếp của trang danh sách sản phẩm ----------
   Cùng markup kiểu cũ (h2 "SẮP XẾP" + select trần + nút xám xoay 90°) nên dùng
   chung kiểu với thanh lọc ở trên. Chỉ nhắm các <ul class="list"> là con trực tiếp
   của .product_boder; ul.list trong thanh lọc bài viết và trong cột lọc không dính. */
/* Dưới 768px thanh này bị ẩn (đã có thanh lọc mobile riêng) nên chỉ áp dụng từ 768px;
   nếu không, độ ưu tiên cao hơn của các luật dưới đây sẽ làm nó hiện lại. */
@media (min-width: 768px) {
  aside.product_l .product_boder > ul.list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 2px 0 16px;
    padding: 0;
    list-style: none;
    position: relative;
  }
  aside.product_l .product_boder > ul.list > h2.title {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--hd-muted);
    white-space: nowrap;
  }
  aside.product_l .product_boder > ul.list > #mySelect {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 210px !important;
    margin-left: 0 !important;
    padding: 0 36px 0 15px !important;
    height: 38px;
    box-sizing: border-box;
    border: 1px solid var(--hd-line);
    border-radius: 999px;
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238a8a8a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .4px;
    color: var(--hd-text);
    cursor: pointer;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
  }
  aside.product_l .product_boder > ul.list > #mySelect:hover { border-color: #d3d3d3; }
  aside.product_l .product_boder > ul.list > #mySelect:focus {
    border-color: var(--hd-accent);
    box-shadow: 0 0 0 3px rgba(239, 70, 121, .12);
  }
  /* nút xám xoay 90° chỉ là mũi tên giả của select, không gắn sự kiện nào */
  aside.product_l .product_boder > ul.list > button { display: none !important; }
  /* "(N sản phẩm)" */
  aside.product_l .product_boder > ul.list > span {
    font-size: 13px;
    color: var(--hd-muted);
    white-space: nowrap;
  }
}

/* ---------- Cột danh mục ----------
   Lưu ý độ ưu tiên: bản gốc có `aside.filter .general .filter .age` (0,4,1) nên
   mọi luật về chữ/đệm của mục phải viết dài ít nhất bằng đó mới đè được. */
aside.filter.filter-simple {
  box-sizing: border-box;
  float: left;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 25, 26, .06), 0 8px 24px rgba(20, 25, 26, .06);
  overflow: hidden;
}
aside.filter.filter-simple .filter_v {
  /* 224px = phần còn lại của khung 1170px sau cột nội dung 936px, trừ khe hở.
     Trang chi tiết Clinic & Spa đặt width nội tuyến !important nên giữ số của nó. */
  width: 224px !important;
  border: 0 !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  background: transparent;
  box-sizing: border-box;
}
aside.filter.filter-simple .general {
  padding-bottom: 0;
  box-sizing: border-box;
}

/* Tiêu đề thẻ: trang bài viết không có sẵn tiêu đề trong HTML nên vẽ bằng ::before;
   trang Clinic & Spa đã có dòng "Dịch vụ phòng khám" nên dùng chính dòng đó. */
aside.filter.filter-simple:not(.filter-clinic) .general::before {
  content: "Danh mục";
  display: block;
  padding: 13px 16px;
  border-bottom: 1px solid var(--hd-line);
  background: #fafafa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #333;
}
aside.filter.filter-simple .general > img {
  display: block;
  width: auto !important;
  max-width: 62%;
  height: auto;
  margin: 16px auto 12px;
}
/* Dòng tiêu đề của trang Clinic & Spa */
aside.filter.filter-simple .general .filter.dropdown-container > .age:first-child {
  align-items: center;
  padding: 12px 16px !important;
  border-top: 1px solid var(--hd-line);
  border-bottom: 1px solid var(--hd-line);
  border-left: 0;
  background: #fafafa;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #333;
}
aside.filter.filter-simple .general .filter.dropdown-container > .age:first-child:hover {
  background: #f5f5f5;
  color: #333;
}
/* mũi tên ">" xoay 90° trong view */
aside.filter.filter-simple .general .filter.dropdown-container > .age:first-child > span:last-child {
  font-size: 12px;
  color: var(--hd-muted);
  line-height: 1;
}

/* Các mục trong danh sách */
aside.filter.filter-simple .general .filter .age {
  position: relative;
  /* Các mục của trang bài viết là thẻ <a> (inline); phải cho thành khối thì mới
     xếp thành danh sách được. Dòng tiêu đề của Clinic & Spa có display:flex nội
     tuyến nên không bị đụng tới. */
  display: block;
  clear: none;
  margin: 0;
  padding: 11px 16px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.45;
  color: var(--hd-text);
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
/* Các mục của Clinic & Spa là <a> mang style nội tuyến font-weight:100 và
   -webkit-line-clamp:2. Khi mục có thêm padding dọc, phần cắt của line-clamp tính
   theo hộp nội dung còn overflow lại cắt ở hộp padding nên luôn lòi ra nửa dòng thứ ba.
   Bỏ cắt dòng, cho tiêu đề hiện đủ — đằng nào cắt cũng mất chữ. */
aside.filter.filter-simple .general .filter .dropdown-options .age {
  display: block !important;
  -webkit-line-clamp: none !important;
  overflow: visible !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-transform: none;
}
aside.filter.filter-simple .general .filter .age + .age,
aside.filter.filter-simple .general .filter .dropdown-options .age + .age {
  border-top: 1px solid #f2f2f2;
}
aside.filter.filter-simple .general .filter .age:hover,
aside.filter.filter-simple .general .filter .age.active {
  background: var(--hd-accent-soft);
  color: var(--hd-accent);
  border-left-color: var(--hd-accent);
}
aside.filter.filter-simple .dropdown-options > div { gap: 0; }

/* Khổ mobile: thanh lọc xếp dọc, mỗi ô chiếm đủ bề ngang; thẻ danh mục dùng trọn
   bề ngang và có lề hai bên như phần nội dung. */
@media (max-width: 767px) {
  .filter-wp {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 14px 10px;
    box-sizing: border-box;
  }
  .filter-wp ul.list.filter-article { width: 100%; }
  .filter-wp #filter_arti { flex: 1 1 auto; width: auto !important; }
  .filter-wp > div { width: 100%; flex: none; }
  .filter-wp .input_search { width: 100%; }

  aside.filter.filter-simple {
    float: none;
    width: auto;
    margin: 14px 14px 20px;
  }
  aside.filter.filter-simple .filter_v { width: 100% !important; }

  /* Nút "DANH MỤC & BỘ LỌC" và ngăn trượt thụt vào cùng lề với lưới thẻ bên dưới
     (--hd-gutter, mục 5). */
  aside.product_l .product_boder > .lt-toggle,
  aside.product_l .product_boder > .lt-panel {
    /* <button> luôn co theo nội dung dù là khối, nên phải đặt width tường minh. */
    width: calc(100% - 2 * var(--hd-gutter));
    margin-left: var(--hd-gutter);
    margin-right: var(--hd-gutter);
    flex-basis: calc(100% - 2 * var(--hd-gutter));
    box-sizing: border-box;
  }
}

/* Widget chọn nhiều (script đặt lịch của genkiderma) đặt chiều rộng cứng lúc khởi tạo
   và không đo lại khi đổi kích thước cửa sổ, nên kéo màn hình nhỏ lại thì tràn ngang. */
.multiselect-dropdown { max-width: 100%; box-sizing: border-box; }

/* ============================================================
   15. GIỮ CHỖ CHO CAROUSEL TRƯỚC KHI OWL KHỞI TẠO (chỉ hiệu năng, chống CLS)
   ============================================================ */

.home-page .q_HomeSlide:not(.owl-carousel) > :not(:first-child) { display: none; }
.home-page .q_HomeSlide:not(.owl-carousel) > :first-child { display: block; }
.home-page .row_product:not(.owl-carousel),
.home-page .thuong_hieu_list-v1:not(.owl-carousel) {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 50%;
  align-items: start;
  overflow: hidden;
}
@media (min-width: 768px) { /* dưới 768px .mini-banner bị ẩn (mục 4), không được đè display */
  .home-page .mini-banner:not(.owl-carousel) {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 50%;
    align-items: start;
    overflow: hidden;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .home-page .q_HomeSlide:not(.owl-carousel) { padding-bottom: 20px; } /* chỗ của dãy chấm phân trang */
}
@media (min-width: 769px) and (max-width: 979px) {
  .home-page .row_product:not(.owl-carousel),
.home-page .thuong_hieu_list-v1:not(.owl-carousel),
.home-page .mini-banner:not(.owl-carousel) { grid-auto-columns: calc(100% / 3); }
}
@media (min-width: 980px) and (max-width: 1199px) {
  .home-page .row_product:not(.owl-carousel),
.home-page .thuong_hieu_list-v1:not(.owl-carousel),
.home-page .mini-banner:not(.owl-carousel) { grid-auto-columns: 25%; }
}
@media (min-width: 1200px) {
  .home-page .row_product:not(.owl-carousel) { grid-auto-columns: 20%; }
  .home-page .thuong_hieu_list-v1:not(.owl-carousel) { grid-auto-columns: calc(100% / 6); }
  .home-page .mini-banner:not(.owl-carousel) { grid-auto-columns: calc(100% / 3); }
}
/* Logo header mobile có width/height gốc trong HTML để giữ chỗ trước khi ảnh tải (chống CLS);
   height:auto để chiều cao vẫn theo tỉ lệ ảnh như trước (mục 1: width 50px). */
header .mainMenu .logo img { height: auto; }

/* ============================================================
   16. MŨI TÊN OWL (.owl-prev / .owl-next) MÀU HỒNG — mọi trang
   ============================================================ */

/* Quy tắc cũ tô mũi tên xám (#D5D5D5 ở dải bài viết blog, #9C9C9C, #ABABA8, #666, viền #ddd): đổi sang hồng chủ đạo */
.owl-theme .owl-buttons :is(.owl-prev, .owl-next) { color: var(--pc-accent); border-color: var(--pc-accent) !important; }
.owl-theme .owl-buttons :is(.owl-prev, .owl-next)::before { color: var(--pc-accent) !important; }
.owl-theme .owl-buttons :is(.owl-prev, .owl-next):hover::before { color: var(--pc-accent-dark) !important; }
aside.slider_row .owl-buttons div:hover { background: var(--pc-accent-soft); }
/* Mũi tên trắng trên nền xám mờ (ảnh chi tiết sản phẩm, dải voucher): nền hồng, mũi tên trắng */
:is(section.product_d .detailP, .list-voucher) .owl-buttons div { background: var(--pc-accent) !important; }
:is(section.product_d .detailP, .list-voucher) .owl-buttons div:hover { background: var(--pc-accent-dark) !important; }
:is(section.product_d .detailP, .list-voucher) .owl-buttons div::before { color: #fff !important; }

/* ============================================================
   17. TÊN SẢN PHẨM TRÊN THẺ — CẮT 2 DÒNG, CÓ DẤU "…"
   Áp cho cả thẻ trang danh mục (.product_item) và thẻ trang chủ (.row_product_h)
   ============================================================ */

.overlay_product > h2 > a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   18. THẺ SẢN PHẨM DÙNG CHUNG (.pcard) — mọi trang
   View: application/views/front/common/product_card.php
     div.{row_product_h | product_item}.pcard-cell  = ô trong lưới/carousel của từng trang (giữ bề rộng, khoảng cách)
       div.pcard.overlay_product                      = thẻ nhìn thấy
   Luật cũ của từng trang (mục 1/3, category.css…) nhắm vào .row_product_h / .product_item / .images / h2 / .price
   với độ ưu tiên tới (0,3,2) nên bộ chọn ở đây lặp class (.pcard.pcard.pcard.pcard.pcard) để luôn thắng mà không cần !important
   ============================================================ */

:root {
  --pc-accent: #ef4679;
  --pc-accent-dark: #e23a6c;
  --pc-accent-soft: #fdeff4;
  --pc-ink: #222;
  --pc-text: #555;
  --pc-muted: #999;
  --pc-line: #ececec;
  --pc-radius: 12px;
  --pc-pad: 12px;
}
@media (max-width: 767px) {
  :root { --pc-radius: 10px; --pc-pad: 10px; }
}

/* ---------- Ô bao: bỏ mọi kiểu thẻ cũ, giữ vị trí trong lưới ---------- */
.pcard-cell.pcard-cell.pcard-cell {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: left;
}
/* ô trong dải owl: chiếm hết owl-item (owl-item lo khoảng cách) */
.row_product_h.pcard-cell.pcard-cell.pcard-cell { flex: 1 1 auto; width: auto; margin: 0; }
/* dải owl có thẻ dùng chung: thẻ cao đều, cách nhau 12px (8px ở mobile) */
.row_product .owl-wrapper:has(> .owl-item > .pcard-cell) { display: flex !important; }
.row_product .owl-item:has(> .pcard-cell) { display: flex; float: none; box-sizing: border-box; padding: 0 6px; }
@media (max-width: 767px) {
  .row_product .owl-item:has(> .pcard-cell) { padding: 0 4px; }
}

/* ---------- Thẻ ---------- */
.pcard.pcard.pcard.pcard.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 0 var(--pc-pad);
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  background: #fff;
  text-align: left;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
@media (hover: hover) {
  .pcard.pcard.pcard.pcard.pcard:hover {
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(34, 34, 34, .09);
    transform: translateY(-2px);
  }
  .pcard.pcard.pcard.pcard.pcard:hover .images > img:not(.banner_header_product) { transform: scale(1.04); }
}

/* Ảnh vuông, nền trắng, không viền; ảnh nằm giữa khung */
.pcard.pcard.pcard.pcard.pcard > .images {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: none;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: var(--pc-pad);
  box-sizing: border-box;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.pcard.pcard.pcard.pcard.pcard > .images > img:not(.banner_header_product) {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  transform: none;
  transition: transform .35s ease;
}
/* Khung khuyến mãi (framePromotion) phủ đúng khung ảnh */
.pcard.pcard.pcard.pcard.pcard .framePromotion { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pcard.pcard.pcard.pcard.pcard .framePromotion img { width: 100%; height: 100%; max-height: none; object-fit: contain; transform: none; }

/* Nhãn trên ảnh */
.pcard.pcard.pcard.pcard.pcard > .pro_pos_giga {
  position: absolute;
  top: 10px;
  left: 10px;
  right: auto;
  z-index: 3;
  width: auto;
  height: auto;
  margin: 0;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--pc-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}
.pcard.pcard.pcard.pcard.pcard > .pro_pos_giga span { font-weight: 700; }
.pcard.pcard.pcard.pcard.pcard > .buy1get1free {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: auto;
  padding: 3px 8px;
  border-radius: 6px;
  background: #ffd424;
  color: #c2185b;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  animation: none;
}
.pcard.pcard.pcard.pcard.pcard > .buy1get1free::after { content: none; }
.pcard.pcard.pcard.pcard.pcard > .title_bolo {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  z-index: 3;
  width: auto;
  margin: 0;
  padding: 3px 9px;
  transform: none;
  border-radius: 999px;
  background: var(--pc-accent-soft);
  color: var(--pc-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3px;
  line-height: 1.5;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Thương hiệu */
.pcard.pcard.pcard.pcard.pcard > h3 {
  height: auto;
  margin: 4px var(--pc-pad);
  padding: 0;
  text-align: left;
  line-height: 1.3;
}
.pcard.pcard.pcard.pcard.pcard > h3 a { text-decoration: none; }
.pcard.pcard.pcard.pcard.pcard > h3 .title_brand {
  display: block;
  overflow: hidden;
  margin-left: -.35em; /* tên hãng bắt đầu bằng &nbsp;: kéo về thẳng mép với tên sản phẩm */
  color: var(--pc-muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-text-stroke: 0;
}
.pcard.pcard.pcard.pcard.pcard > h3 a:hover .title_brand { color: var(--pc-accent); }

/* Tên sản phẩm: luôn giữ chỗ 2 dòng, cắt "…" */
.pcard.pcard.pcard.pcard.pcard > h2 {
  position: static;
  height: auto;
  min-height: calc(2 * 1.45em);
  margin: 0 var(--pc-pad);
  padding: 0;
  overflow: visible;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
}
.pcard.pcard.pcard.pcard.pcard > h2::after,
.pcard.pcard.pcard.pcard.pcard > h2 a::after,
.pcard.pcard.pcard.pcard.pcard > h2 a::before { content: none; } /* vạch kẻ dưới tên sản phẩm của thẻ cũ (category.css, mục 1/3) */
.pcard.pcard.pcard.pcard.pcard > h2 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  color: var(--pc-ink);
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  text-decoration: none;
}
.pcard.pcard.pcard.pcard.pcard > h2 a:hover { color: var(--pc-accent); }

/* Giá: giá bán đậm màu hồng, giá gốc gạch ngang cùng hàng (xuống dòng khi thẻ hẹp) */
.pcard.pcard.pcard.pcard.pcard > .price {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 2px 8px;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 10px var(--pc-pad) 0;
  box-sizing: border-box;
  color: var(--pc-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}
.pcard.pcard.pcard.pcard.pcard > .price > span {
  margin: 0;
  color: var(--pc-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}
.pcard.pcard.pcard.pcard.pcard > .price > span:first-child {
  color: var(--pc-accent) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: -.2px;
  text-decoration: none !important;
}
.pcard.pcard.pcard.pcard.pcard > .price sup { font-size: .75em; }

/* Lượt xem + nút giỏ hàng: dồn xuống đáy thẻ */
.pcard.pcard.pcard.pcard.pcard > .actions-destop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: auto;
  min-height: 36px;
  margin-top: auto;
  padding: 10px var(--pc-pad) 0;
}
.pcard.pcard.pcard.pcard.pcard > .actions-destop > .pc-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 10px;
  min-width: 0;
  color: var(--pc-muted);
  font-size: 11.5px;
  line-height: 1.3;
}
.pcard .pc-stat { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.pcard .pc-stat svg {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pcard .pc-stat--views { color: var(--pc-text); }
.pcard .pc-stat--views svg { color: var(--pc-accent); }
.pcard .pc-stat--views b { font-weight: 600; color: var(--pc-ink); }
.pcard .pc-stat--sold { color: var(--pc-text); }
.pcard .pc-stat--sold svg { color: var(--pc-accent); }
.pcard.pcard.pcard.pcard.pcard > .actions-destop > .cart {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--pc-accent-soft);
  transition: background-color .2s;
}
.pcard.pcard.pcard.pcard.pcard > .actions-destop > .cart img {
  width: 20px !important;
  height: auto;
  max-height: none;
  transform: none;
  transition: filter .2s;
}
.pcard.pcard.pcard.pcard.pcard > .actions-destop > .cart:hover { scale: 1; background: var(--pc-accent); }
.pcard.pcard.pcard.pcard.pcard > .actions-destop > .cart:hover img { filter: brightness(0) invert(1); }

@media (max-width: 767px) {
  .pcard.pcard.pcard.pcard.pcard > h2 { font-size: 13px; }
  .pcard.pcard.pcard.pcard.pcard > .price > span:first-child { font-size: 15px !important; }
  .pcard.pcard.pcard.pcard.pcard > .actions-destop { min-height: 32px; }
  .pcard.pcard.pcard.pcard.pcard > .actions-destop > .pc-stats { gap: 2px 8px; font-size: 11px; }
  .pcard .pc-stat svg { width: 13px; height: 13px; }
  .pcard.pcard.pcard.pcard.pcard > .actions-destop > .cart { width: 32px; height: 32px; }
  .pcard.pcard.pcard.pcard.pcard > .actions-destop > .cart img { width: 18px !important; }
  .pcard.pcard.pcard.pcard.pcard > .title_bolo { top: 8px; right: 8px; padding: 2px 7px; font-size: 9px; }
  .pcard.pcard.pcard.pcard.pcard > .pro_pos_giga { top: 8px; left: 8px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .pcard.pcard.pcard.pcard.pcard,
  .pcard.pcard.pcard.pcard.pcard > .images > img { transition: none; }
}

/* Lưới thẻ cho các trang không có lưới riêng (sản phẩm nổi bật, sản phẩm yêu thích): cùng cỡ thẻ trang chủ */
.pcard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 16px 12px;
  max-width: 1170px;
  margin: 16px auto 24px;
  padding: 0;
  box-sizing: border-box;
  clear: both;
}
@media (max-width: 1169px) {
  .pcard-grid { padding: 0 var(--hd-gutter, 16px); } /* như lề trang chủ dưới 1170px */
}
@media (max-width: 767px) {
  .pcard-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; } /* 600–767px: 3 cột như dải trang chủ */
}
@media (max-width: 599px) {
  .pcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Lưới trang danh sách (danh mục, thương hiệu, giảm giá/mới/bán chạy, tìm kiếm): cỡ thẻ giống trang chủ.
   Trước đây 3 cột thẻ 291px (trang chủ 224px) và .product_boder rộng cứng 960px + đệm 20px, lấn ra ngoài cột phải.
   Lưới tự chọn số cột theo chỗ trống, thẻ tối thiểu 215px: 4 cột ở 1440px (~225px), 3 cột ở 1024–1170px, 2 cột
   dưới đó; mobile luôn 2 cột cách 8px như trang chủ. Nút "Xem thêm" nối thẻ vào .product_boder (ngoài .product_ajax)
   nên lưới đặt ở .product_boder, .product_ajax dùng display:contents; phần không phải thẻ chiếm trọn một hàng. */
aside.product_l .product_boder:has(.pcard-cell) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 16px 12px;
  align-items: stretch;
  width: auto;
  padding-left: 0;
  padding-right: 0;
}
aside.product_l .product_boder:has(.pcard-cell) > .product_ajax { display: contents; }
aside.product_l .product_boder:has(.pcard-cell) > :not(.pcard-cell):not(.product_ajax) { grid-column: 1 / -1; }
/* lặp .pcard-cell: category.css (nạp sau) có "aside.product_l .product_boder > .product_ajax > .product_item" cùng độ ưu tiên */
aside.product_l .product_boder .product_item.pcard-cell.pcard-cell {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
}
@media (max-width: 767px) {
  aside.product_l .product_boder:has(.pcard-cell) {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 600–767px: 3 cột như dải trang chủ */
    gap: 12px 8px;
    padding-left: var(--hd-gutter);
    padding-right: var(--hd-gutter);
  }
}
@media (max-width: 599px) {
  aside.product_l .product_boder:has(.pcard-cell) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Dải thẻ "Sản phẩm liên quan", "Hoa Anh Đào gợi ý" (chi tiết sản phẩm), "Dành riêng cho bạn" (bài viết): cùng lề
   và khoảng cách như dải trang chủ để thẻ cùng cỡ. Trang chi tiết bị đệm hai lần (section.product_d 24px + khung 24px)
   và khổ mobile thêm lề 4px; hàng thẻ nới -6px (mobile -4px) hai bên như .row_product trang chủ. */
aside.slider_row.detailProduct-relate:has(.pcard-cell) > .row_product { width: auto; margin-left: -6px; margin-right: -6px; }
@media (min-width: 768px) {
  section.product_d aside.slider_row.detailProduct-relate:has(.pcard-cell) { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}
@media (max-width: 767px) {
  aside.slider_row.detailProduct-relate:has(.pcard-cell) { margin-left: 0; margin-right: 0; padding-left: var(--hd-gutter); padding-right: var(--hd-gutter); }
  aside.slider_row.detailProduct-relate:has(.pcard-cell) > .row_product { margin-left: -4px; margin-right: -4px; }
}

/* ============================================================
   19. THẺ BÀI VIẾT DÙNG CHUNG (.post-card) — trang chủ, /lam-dep, danh mục bài viết
   View: application/views/front/common/post_card.php. Helper: blog_helper.php.
   ============================================================ */

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #f1eef0;
  border-radius: var(--pc-radius);
  background: #fff;
  box-shadow: 0 2px 10px rgba(34, 34, 34, .05);
  text-align: left;
  transition: box-shadow .25s ease, transform .25s ease;
}
.post-card:hover { box-shadow: 0 10px 24px rgba(239, 70, 121, .12); transform: translateY(-3px); }
/* cả thẻ bấm được qua ::after của link tiêu đề: viền focus đặt lên thẻ */
.post-card:has(.post-card__title a:focus-visible) { outline: 2px solid var(--pc-accent); outline-offset: 2px; }
/* ảnh bài viết phần lớn là banner 936×490: giữ đúng tỉ lệ để không cắt chữ trên banner */
.post-card__img { position: relative; overflow: hidden; aspect-ratio: 936 / 490; background: #f6f3f4; }
.post-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .94);
  color: var(--pc-accent);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .8px;
  line-height: 1.4;
  text-transform: uppercase;
}
.post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 14px 16px;
}
/* Nhãn danh mục: nền hồng chủ đạo, nằm trên lớp bấm của thẻ nên dẫn về trang danh mục Blogs */
.post-card .post-card__tag {
  position: relative;
  z-index: 2;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  margin: 0 0 10px;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--pc-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: background-color .2s;
}
.post-card .post-card__tag:hover { background: var(--pc-accent-dark); color: #fff; }
.post-card .post-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: calc(2em * 1.45); /* luôn chừa 2 dòng: ngày tháng các thẻ thẳng hàng */
  margin: 0 0 12px;
  padding: 0;
  font-size: clamp(14.5px, .25vw + 13px, 16px);
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  text-transform: none;
}
.post-card .post-card__title a { color: var(--pc-ink); font: inherit; text-decoration: none; transition: color .2s; }
.post-card .post-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card:hover .post-card__title a { color: var(--pc-accent); }
.post-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}
.post-card__foot time { color: var(--pc-muted); font-size: 12px; line-height: 1.4; }
.post-card__go {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--pc-line);
  border-radius: 50%;
  color: var(--pc-accent);
  transition: background-color .2s, border-color .2s, color .2s;
}
.post-card__go::before { content: "\f178"; font-family: FontAwesome; font-size: 11px; line-height: 1; }
.post-card:hover .post-card__go { border-color: var(--pc-accent); background: var(--pc-accent); color: #fff; }

/* Dạng hàng (ảnh trái, chữ phải): cột phải đầu trang Blogs; danh sách bài trên điện thoại */
.post-card--row {
  display: grid;
  grid-template-columns: min(38%, 190px) minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
}
.post-card--row:hover { transform: none; }
.post-card--row .post-card__img { align-self: start; aspect-ratio: 4 / 3; border-radius: 8px; }
.post-card--row .post-card__body { padding: 2px 0 0; }
.post-card--row .post-card__tag { margin-bottom: 6px; padding: 2px 8px; font-size: 10.5px; }
.post-card--row .post-card__title { min-height: 0; margin-bottom: 6px; font-size: 14.5px; font-weight: 500; }
.post-card--row .post-card__go { width: 24px; height: 24px; }
@media (max-width: 767px) {
  .post-grid .post-card {
    display: grid;
    grid-template-columns: min(38%, 190px) minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }
  .post-grid .post-card:hover { transform: none; }
  /* giữ tỉ lệ banner (không cắt chữ), căn giữa theo chiều cao chữ */
  .post-grid .post-card .post-card__img { align-self: center; border-radius: 8px; }
  .post-grid .post-card .post-card__body { padding: 2px 0 0; }
  .post-grid .post-card .post-card__tag { margin-bottom: 6px; padding: 2px 8px; font-size: 10.5px; }
  .post-grid .post-card .post-card__title { min-height: 0; margin-bottom: 6px; font-size: 14.5px; font-weight: 500; }
  .post-grid .post-card .post-card__go { width: 24px; height: 24px; }
}

/* Dạng nổi bật: bài lớn giữa đầu trang Blogs */
.post-card--feature .post-card__body { padding: 16px 20px 18px; }
.post-card--feature .post-card__title { font-size: clamp(17px, .5vw + 13px, 20px); line-height: 1.4; }
.post-card--feature .post-card__go { width: 32px; height: 32px; }

/* ============================================================
   20. FOOTER CHUNG (.site-footer) — mọi khổ
   View: application/views/front/common/footer.php. Thay cho 2 bản cũ .ft-desktop / .ft-mobile.
   Luật cũ `footer{width:1170px;border-top;background}` vẫn còn ở trên: chặn lại ở đây
   ============================================================ */

footer.site-footer {
  --sf-bg: #f8f4f3;
  --sf-ink: #2a2226;
  --sf-text: #6b6266;
  --sf-muted: #9a9095;
  --sf-line: #ece4e2;
  clear: both;
  /* đóng khung giữa trang như footer cũ (1170px, bo 2 góc trên), không trải hết bề ngang */
  width: min(1170px, calc(100% - 2 * var(--hd-gutter)));
  max-width: none;
  margin: 20px auto 0;
  padding: 0 40px;
  border: 0;
  border-radius: 16px 16px 0 0;
  background: var(--sf-bg);
  box-sizing: border-box;
  color: var(--sf-text);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}
.site-footer__inner { width: 100%; margin: 0; }
.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1.25fr);
  gap: 40px;
  padding: 44px 0 36px;
}
.site-footer__logo { display: inline-block; margin-bottom: 14px; }
.site-footer__logo img { display: block; width: 64px; height: 64px; border-radius: 10px; }
.site-footer__contact { margin: 0 0 18px; padding: 0; list-style: none; }
.site-footer__contact li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0 0 4px; font-size: 13px; }
.site-footer__contact span { color: var(--sf-muted); }
.site-footer__contact a { color: var(--sf-ink); font-weight: 600; text-decoration: none; }
.site-footer__contact a:hover { color: var(--pc-accent); }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(42, 34, 38, .07);
  color: var(--sf-ink);
  text-decoration: none;
  transition: background-color .2s, color .2s, transform .2s;
}
.site-footer__social a:hover { background: var(--pc-accent); color: #fff; transform: translateY(-2px); }
.site-footer__social svg { display: block; }
.site-footer__zalo { font-size: 10px; font-weight: 800; letter-spacing: -.2px; }
.site-footer .site-footer__title {
  margin: 4px 0 18px;
  padding: 0;
  color: var(--sf-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
}
.site-footer__col { background: none; } /* luật cũ nav{background:#fff} */
.site-footer__col ul { margin: 0; padding: 0; list-style: none; }
.site-footer__col li { margin: 0 0 11px; }
.site-footer__col a { color: var(--sf-text); font-size: 13.5px; text-decoration: none; transition: color .2s; }
.site-footer__col a:hover { color: var(--pc-accent); }
.site-footer__form { display: flex; gap: 8px; margin: 0 0 10px; }
.site-footer__form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--sf-line);
  border-radius: 10px;
  background: #fff;
  color: var(--sf-ink);
  font-size: 13.5px;
  box-sizing: border-box;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.site-footer__form input:focus { border-color: var(--pc-accent); box-shadow: 0 0 0 3px rgba(239, 70, 121, .12); }
.site-footer__form input.error { border-color: #d93025; }
.site-footer__form button {
  flex: none;
  height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--pc-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s;
}
.site-footer__form button:hover { background: var(--pc-accent-dark); }
.site-footer__hint { margin: 0 0 18px; color: var(--sf-muted); font-size: 12.5px; }
.site-footer__bct { display: inline-block; }
.site-footer__bct img { display: block; width: 123px; height: auto; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  padding: 20px 0 84px; /* chừa chỗ nút gọi / Zalo / chat nổi ở góc dưới (bản cũ dùng .foterAdd) */
  border-top: 1px solid var(--sf-line);
  font-size: 12px;
  line-height: 1.7;
}
.site-footer__legal p { margin: 0; color: var(--sf-muted); }
.site-footer__legal strong { color: var(--sf-text); font-weight: 600; }
.site-footer__copy { margin: 0; color: var(--sf-muted); white-space: nowrap; }
.site-footer__top { color: var(--pc-accent); font-weight: 600; text-decoration: none; }

@media (min-width: 768px) and (max-width: 1023px) {
  footer.site-footer { padding: 0 28px; }
  .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; padding-top: 44px; }
}
@media (max-width: 767px) {
  footer.site-footer { margin-top: 14px; padding: 0 18px; border-radius: 14px 14px 0 0; }
  .site-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding: 36px 0 28px; }
  .site-footer__brand, .site-footer__news { grid-column: 1 / -1; }
  .site-footer .site-footer__title { margin-bottom: 12px; font-size: 14.5px; }
  .site-footer__col li { margin-bottom: 9px; }
  .site-footer__col a { font-size: 13px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }
  .site-footer__copy { white-space: normal; }
}

/* ############################################################
   C. THEO TRANG
   ############################################################ */

/* ============================================================
   21. TRANG CHỦ (mọi khổ)
   View: application/views/front/defaults/defaults.php (+ HTML tab "HOT DEAL…" do
   front/defaults::filter() tạo ra). Các biến CSS --hp-* dùng trong các khối trang chủ
   ============================================================ */

section.content_v.home-page {
  --hp-accent: #ef4679;
  --hp-accent-dark: #e23a6c;
  --hp-accent-soft: #fdeff4;
  --hp-ink: #222;
  --hp-text: #555;
  --hp-muted: #999;
  --hp-line: #ececec;
  --hp-radius: 12px;
  --hp-gap: clamp(36px, 1vw + 30px, 44px);  /* khoảng cách giữa các khối: 36px ở mobile, tối đa 44px ở desktop */
  --hp-card-pad: 12px;
  padding-bottom: 8px; 
  overflow-x: clip;
}
@media (max-width: 767px) {
  section.content_v.home-page { --hp-card-pad: 10px; --hp-radius: 10px; }
}

/* ---------- Banner ---------- */
section.content_v.home-page > .q_HomeSlide { height: auto; margin-top: 12px; }
section.content_v.home-page > .q_HomeSlide .owl-wrapper-outer { border-radius: var(--hp-radius); }
section.content_v.home-page > .q_HomeSlide img { display: block; width: 100%; height: auto; }

/* Chấm phân trang (banner, dải sản phẩm, bài viết): chấm xám, chấm đang xem kéo dài màu hồng */
section.content_v.home-page .owl-controls { text-align: center; }
section.content_v.home-page .owl-pagination { margin: 10px 0 0; line-height: 0; }
/* mục 1 (mobile) đặt mọi .owl-page position:absolute cùng một chỗ, chồng lên nhau và đè lên chữ */
section.content_v.home-page .owl-controls .owl-page {
  position: static;
  display: inline-block;
  width: auto;
  height: auto;
  margin: 0;
  padding: 4px 3px;
  background: none;
  font-size: 0;
  line-height: 0;
}
section.content_v.home-page .owl-controls .owl-page span {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 99px;
  background: #d9d9d9;
  opacity: 1;
  transition: width .25s ease, background-color .25s ease;
}
section.content_v.home-page .owl-controls .owl-page.active span { width: 22px; background: var(--hp-accent) !important; }

/* ---------- H1 SEO ---------- */
/* H1 cỡ chữ 1px (SEO) hiện thành một vạch mờ: ẩn khỏi màn hình ở mọi khổ, vẫn giữ trong HTML */
section.content_v.home-page > h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* ---------- Banner phụ ---------- */
section.content_v.home-page { --hp-top-gap: 18px; } /* cố định: khổ lớn không bị xa hơn khổ nhỏ */
section.content_v.home-page .mini-banner { margin-top: var(--hp-top-gap); }
section.content_v.home-page .mini-banner .item { padding: 0 8px; }
section.content_v.home-page .mini-banner img { display: block; width: 100%; height: auto; border-radius: var(--hp-radius); }

/* ---------- Thanh tab HOT DEAL / BÁN CHẠY / … ---------- */
section.content_v.home-page .thuong_hieu { margin: var(--hp-top-gap) 0 6px; padding: 0; border-radius: 0; }
/* Không dùng owl (front-bundle.js): một hàng căn giữa màn hình; không đủ chỗ thì cuộn ngang, tab đang chọn
   được JS kéo vào giữa. margin auto ở tab đầu/cuối = căn giữa mà vẫn cuộn được tới tab đầu (justify-content:center
   sẽ làm mất phần bên trái khi tràn). Ghi đè lưới giữ chỗ của mục 15. */
section.content_v.home-page .thuong_hieu_list-v1 {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  box-sizing: border-box;
  margin: 0;
  padding: 2px 0 6px;
  overflow-x: auto;
  overflow-y: hidden;
  background: none !important;
  border-radius: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
section.content_v.home-page .thuong_hieu_list-v1::-webkit-scrollbar { display: none; }
section.content_v.home-page .thuong_hieu_list-v1 .item { display: block; flex: none; padding: 4px; text-decoration: none; }
section.content_v.home-page .thuong_hieu_list-v1 .item:first-child { margin-left: auto; }
section.content_v.home-page .thuong_hieu_list-v1 .item:last-child { margin-right: auto; }
section.content_v.home-page .thuong_hieu_list-v1 li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px !important;
  margin: 0;
  padding: 0 12px;
  box-sizing: border-box;
  transform: none !important;
  border: 1px solid var(--hp-accent);
  border-radius: 999px;
  background: #fff;
  color: var(--hp-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s, box-shadow .2s;
}
section.content_v.home-page .thuong_hieu_list-v1 li .fa-chevron-down { display: none; }
/* mặc định đã viền + chữ hồng; rê chuột thêm nền hồng nhạt; tab đang chọn tô kín (bên dưới) */
section.content_v.home-page .thuong_hieu_list-v1 li:hover { background: var(--hp-accent-soft); }
section.content_v.home-page .thuong_hieu_list-v1 li.active {
  border-color: var(--hp-accent);
  background: var(--hp-accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(239, 70, 121, .25);
}
/* Mũi tên owl hai đầu thanh tab */
@media (max-width: 767px) {
  section.content_v.home-page .thuong_hieu_list-v1 { margin: 0 calc(var(--hd-gutter) * -1); padding: 2px var(--hd-gutter) 6px; }
  section.content_v.home-page .thuong_hieu_list-v1 .item { padding: 4px 3px; }
  section.content_v.home-page .thuong_hieu_list-v1 li { height: 38px !important; padding: 0 8px; font-size: 12px; letter-spacing: 0; }
  section.content_v.home-page .thuong_hieu_list-v1 li.active { box-shadow: 0 4px 10px rgba(239, 70, 121, .22); }
}
/* Màn rất hẹp (~320–399px): tên tab dài ("HOT DEAL TRONG TUẦN") bị cắt, cho xuống 2 dòng */
@media (max-width: 399px) {
  section.content_v.home-page .thuong_hieu_list-v1 li { height: 42px !important; padding: 0 6px; font-size: 11.5px; line-height: 1.2; white-space: normal; }
}

/* ---------- Tiêu đề khối ---------- */
section.content_v.home-page h2.parent.hp-title {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: var(--hp-gap) 0 18px !important;
  padding: 0 !important;
  border-radius: 0;
  background: none;
  text-align: center;
}
section.content_v.home-page h2.parent.hp-title > a {
  display: block;
  padding: 0 !important;
  color: var(--hp-ink) !important;
  font-family: inherit;
  font-size: clamp(20px, 1.1vw + 13px, 28px) !important;
  font-weight: 700;
  letter-spacing: clamp(1.5px, .25vw, 3px) !important;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: normal;
  -webkit-text-stroke: 0;
  text-decoration: none;
}
section.content_v.home-page h2.parent.hp-title::after {
  content: "";
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: var(--hp-accent);
}
section.content_v.home-page h2.parent.hp-title > a[href="#"] { cursor: default; }
@media (max-width: 767px) {
  section.content_v.home-page h2.parent.hp-title { gap: 10px; margin-bottom: 16px !important; }
}

/* ---------- Dải sản phẩm: khung chung ---------- */
section.content_v.home-page aside.slider_row { margin: 0; padding: 0; }
section.content_v.home-page aside.slider_row .row_product {
  margin: 0 -6px;
  padding: 0;
  border-radius: 0;
  overflow: visible;
}
section.content_v.home-page aside.slider_row .row_product.owl-carousel { width: auto; }
/* Dải sản phẩm dùng chấm phân trang; khi đổi tab, front-bundle.js khởi tạo lại owl với navigation:true
   nên hiện thêm mũi tên mảnh đè lên thẻ: ẩn để giống lần tải đầu */
section.content_v.home-page aside.slider_row .row_product .owl-buttons { display: none; }
/* thẻ đổ bóng khi rê chuột: chừa chỗ trên/dưới để owl không cắt mất bóng */
section.content_v.home-page aside.slider_row .row_product .owl-wrapper-outer { padding: 4px 0 8px; }
/* Thẻ cao đều trong một hàng (owl v1 tự đặt display:block nội tuyến cho .owl-wrapper) */
section.content_v.home-page aside.slider_row .row_product .owl-wrapper { display: flex !important; }
section.content_v.home-page aside.slider_row .row_product .owl-item {
  display: flex;
  float: none;
  box-sizing: border-box;
  padding: 0 6px;
}
/* Trước khi owl khởi tạo (mục 15): lưới tạm cùng khoảng cách */
section.content_v.home-page aside.slider_row .row_product:not(.owl-carousel) { align-items: stretch; }
section.content_v.home-page aside.slider_row .row_product:not(.owl-carousel) > .row_product_h { margin: 0 6px !important; }
@media (max-width: 767px) {
  section.content_v.home-page aside.slider_row .row_product { margin: 0 -4px; }
  section.content_v.home-page aside.slider_row .row_product .owl-item { padding: 0 4px; }
  section.content_v.home-page aside.slider_row .row_product:not(.owl-carousel) > .row_product_h { margin: 0 4px !important; }
}

/* Dãy chấm luôn hiện ở trang chủ: dải ít sản phẩm (vừa một khung) owl ẩn .owl-controls (display:none nội tuyến),
   để lại khoảng trống dưới dải và làm khối tab thấp đi ~22px khi chuyển tab. Ép hiện, khi đó owl vẫn dựng 1 chấm. */
section.content_v.home-page :is(.row_product, .row_product_khuyen_mai, .q_HomeSlide, .hp-posts).owl-carousel > .owl-controls { display: block !important; }
section.content_v.home-page aside.slider_row .row_product .owl-controls { min-height: 26px; } /* margin 10 + chấm 16 */
/* Chỉ một trang thì owl không gắn .active (số trang của thẻ tính ra 0): cho chấm duy nhất kiểu "đang xem" */
section.content_v.home-page .owl-controls .owl-page:only-child span { width: 22px; background: var(--hp-accent) !important; }
/* Trước khi owl khởi tạo (lần tải đầu / ngay khi HTML AJAX vừa chèn) cũng chừa đúng khoảng đó */
section.content_v.home-page aside.slider_row .row_product:not(.owl-carousel) { margin-bottom: 38px; } /* 4+8 khung owl + 26 chấm */

/* Nút "Xem tất cả" dưới mỗi dải */
section.content_v.home-page .see_more-wp { margin: 14px 0 0; padding: 0; }

/* ---------- FLASH SALE ---------- */
section.content_v.home-page aside.row_product_flash { margin-top: var(--hp-gap); padding: 0 !important; }
section.content_v.home-page aside.row_product_flash > h2.hp-flash-head {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin: 0 0 18px;
  padding: 16px clamp(16px, 2.5vw, 28px) !important;
  border-radius: var(--hp-radius);
  background: linear-gradient(100deg, var(--hp-accent), #ff7a9c);
}
section.content_v.home-page aside.row_product_flash > h2.hp-flash-head > a {
  padding: 0;
  color: #fff !important;
  font-family: inherit;
  font-size: clamp(22px, 1.5vw + 14px, 32px) !important;
  font-weight: 800;
  letter-spacing: clamp(2px, .3vw, 4px) !important;
  line-height: 1.1;
  text-decoration: none;
  text-shadow: none;
  -webkit-text-stroke: 0;
}
section.content_v.home-page .hp-flash-head .flash-sale { margin: 0; }
section.content_v.home-page .hp-flash-head .countdown { display: flex; align-items: center; gap: 4px; color: #fff; font-size: 16px; font-weight: 700; }
section.content_v.home-page .hp-flash-head .item_count_down {
  min-width: 34px;
  margin: 0;
  padding: 6px 0;
  border-radius: 8px;
  background: #fff;
  color: var(--hp-ink);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  text-align: center;
  -webkit-text-stroke: 0;
}
section.content_v.home-page aside.row_product_flash .row_product .overlay_product { border-color: #fbd3df; }

/* ---------- MÃ KHUYẾN MÃI ---------- */
section.content_v.home-page aside.slider_row_discount { margin: 0; padding: 0; border-radius: 0; }
section.content_v.home-page aside.slider_row_discount .discount-hot { display: flex; justify-content: center; margin: -6px 0 18px; padding: 0; }
section.content_v.home-page aside.slider_row_discount .discount-hot .login-hot {
  margin: 0;
  padding: 8px 18px;
  border: 1px solid var(--hp-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hp-text);
  font-size: 13px;
  font-weight: 600;
  -webkit-text-stroke: 0;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
section.content_v.home-page aside.slider_row_discount .discount-hot .login-hot:hover { border-color: var(--hp-accent); color: var(--hp-accent); }
section.content_v.home-page aside.slider_row_discount .row_product_khuyen_mai { margin: 0 -6px; padding: 0; }
section.content_v.home-page aside.slider_row_discount .row_product_khuyen_mai .row_product_h {
  width: auto;
  margin: 0;
  padding: 0 6px;
  box-sizing: border-box;
  overflow: visible;
  background: none;
}
section.content_v.home-page aside.slider_row_discount .row_product_khuyen_mai .images {
  display: block;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--hp-radius);
}
section.content_v.home-page aside.slider_row_discount .row_product_khuyen_mai .images img { display: block; width: 100%; height: auto; max-height: none; transform: none; }
/* mục 1/3 đặt hàng nút đè lên đáy ảnh voucher (position:absolute): đưa xuống dưới ảnh để không che nội dung ảnh */
section.content_v.home-page aside.slider_row_discount .row_product_khuyen_mai .check {
  position: static;
  left: auto;
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 2px 0;
  padding: 0;
}
section.content_v.home-page .row_product_khuyen_mai .check .hp-voucher-cond {
  margin: 0;
  padding: 0;
  color: var(--hp-muted);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
section.content_v.home-page .row_product_khuyen_mai .check .hp-voucher-cond:hover { color: var(--hp-accent); }
section.content_v.home-page .row_product_khuyen_mai .check .receive-now {
  width: auto;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--hp-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .2s;
}
section.content_v.home-page .row_product_khuyen_mai .check .receive-now:hover { background: var(--hp-accent-dark); }
@media (max-width: 767px) {
  section.content_v.home-page aside.slider_row_discount .row_product_khuyen_mai { margin: 0 -4px; }
  section.content_v.home-page aside.slider_row_discount .row_product_khuyen_mai .row_product_h { padding: 0 4px; }
  section.content_v.home-page .row_product_khuyen_mai .check .receive-now { padding: 5px 10px; font-size: 11px; }
}

/* ---------- THƯƠNG HIỆU NỔI BẬT (.hp-brands) ----------
   View: defaults.php (thanh tên) + brand_panel.php (banner + dải sản phẩm, cũng là HTML AJAX /filter/brand).
   Banner cao cố định ở từng khổ để đổi thương hiệu không làm nhảy bố cục. */
section.content_v.home-page .hp-brands { margin: 0; padding: 0; }
/* Dải logo: logo xám nhạt, logo đang chọn có màu + viền hồng + thanh tiến trình 4s (khi đang tự chuyển).
   Logo căn giữa khi ít, cuộn ngang khi nhiều (JS kéo logo đang chọn vào giữa). Mũi tên = thương hiệu trước/sau. */
section.content_v.home-page .hp-brand-strip { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
section.content_v.home-page .hp-brand-track {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  gap: 12px;
  min-width: 0;
  padding: 6px 2px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
section.content_v.home-page .hp-brand-track::-webkit-scrollbar { display: none; }
/* mờ dần hai đầu dải khi có logo bị khuất (JS gắn .is-overflow) — báo hiệu còn logo để lướt */
section.content_v.home-page .hp-brand-track.is-overflow {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
section.content_v.home-page .hp-brand-logo {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 72px;
  padding: 10px 16px;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  scroll-snap-align: center;
  transition: border-color .25s, box-shadow .25s;
}
section.content_v.home-page .hp-brand-logo:first-child { margin-left: auto; }
section.content_v.home-page .hp-brand-logo:last-child { margin-right: auto; }
section.content_v.home-page .hp-brand-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .25s, opacity .25s;
}
section.content_v.home-page .hp-brand-logo__name {
  color: var(--hp-muted);
  font-size: 13px;
  font-weight: 700; /* 800 kéo theo font Roboto Black 54KB ở mobile */
  letter-spacing: .6px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: color .25s;
}
section.content_v.home-page .hp-brand-logo:hover { border-color: #f6b7ca; }
section.content_v.home-page .hp-brand-logo:hover img { filter: none; opacity: 1; }
section.content_v.home-page .hp-brand-logo:hover .hp-brand-logo__name { color: var(--hp-ink); }
section.content_v.home-page .hp-brand-logo.is-active { border-color: var(--hp-accent); box-shadow: 0 6px 16px rgba(239, 70, 121, .18); }
section.content_v.home-page .hp-brand-logo.is-active img { filter: none; opacity: 1; }
section.content_v.home-page .hp-brand-logo.is-active .hp-brand-logo__name { color: var(--hp-accent); }
section.content_v.home-page .hp-brand-logo:focus-visible { outline: 2px solid var(--hp-accent); outline-offset: 2px; }
/* mũi tên trước / sau */
section.content_v.home-page .hp-brand-nav {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--hp-line);
  border-radius: 50%;
  background: #fff;
  color: var(--hp-ink);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(34, 34, 34, .06);
  transition: background-color .2s, border-color .2s, color .2s;
}
section.content_v.home-page .hp-brand-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: -5px 0 0 -3px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(-135deg);
}
section.content_v.home-page .hp-brand-nav--next::before { margin-left: -7px; transform: rotate(45deg); }
section.content_v.home-page .hp-brand-nav:hover { border-color: var(--hp-accent); background: var(--hp-accent); color: #fff; }
section.content_v.home-page .hp-brand-nav:focus-visible { outline: 2px solid var(--hp-accent); outline-offset: 2px; }
section.content_v.home-page .hp-brands.is-single .hp-brand-nav { display: none; }
/* đổi nội dung (thương hiệu / tab): mờ nhanh rồi hiện lại, khung không đổi cao (mục giữ chỗ dãy chấm ở trên) */
section.content_v.home-page .hp-brand-panel,
section.content_v.home-page aside.ty { transition: opacity .18s ease; }
section.content_v.home-page .hp-brand-panel.is-fading,
section.content_v.home-page aside.ty.is-fading { opacity: 0; }
section.content_v.home-page .hp-brand-panel { position: relative; transition: opacity .2s; }
/* Đổi thương hiệu kiểu slider (script cuối defaults.php): slide mới đè lên slide cũ rồi cùng trượt ngang.
   Lúc trượt cắt phần tràn ngang, chừa 8px để không cắt mất bóng thẻ và lề -6px của hàng thẻ. */
section.content_v.home-page .hp-brand-panel.is-sliding { overflow: clip; overflow-clip-margin: 8px; }
section.content_v.home-page .hp-brand-slide { will-change: auto; }
section.content_v.home-page .hp-brand-slide.is-entering { position: absolute; top: 0; left: 0; width: 100%; will-change: transform; }
section.content_v.home-page .hp-brand-panel.is-loading { opacity: .45; pointer-events: none; }

/* Banner thương hiệu */
section.content_v.home-page .hp-brand-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 220px;
  margin: 0 0 16px;
  padding: 0 clamp(20px, 4vw, 48px);
  box-sizing: border-box;
  overflow: hidden;
  border-radius: var(--hp-radius);
  background:
    radial-gradient(circle at 82% 50%, rgba(239, 70, 121, .14), transparent 55%),
    linear-gradient(110deg, #fdeff4 0%, #fff6f2 55%, #ffe6ee 100%);
  text-decoration: none;
}
section.content_v.home-page .hp-brand-hero__body { display: flex; flex: 1 1 auto; align-items: center; gap: 22px; min-width: 0; }
section.content_v.home-page .hp-brand-hero__logo {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  padding: 14px;
  box-sizing: border-box;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(34, 34, 34, .07);
}
section.content_v.home-page .hp-brand-hero__logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
section.content_v.home-page .hp-brand-hero__initial { color: var(--hp-accent); font-size: 48px; font-weight: 800; line-height: 1; }
section.content_v.home-page .hp-brand-hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
section.content_v.home-page .hp-brand-hero__eyebrow { color: var(--hp-accent); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
section.content_v.home-page .hp-brand-hero__name {
  max-width: 100%;
  overflow: hidden;
  color: var(--hp-ink);
  font-size: clamp(22px, 1.2vw + 14px, 32px);
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
section.content_v.home-page .hp-brand-hero__meta { color: var(--hp-text); font-size: 13.5px; }
section.content_v.home-page .hp-brand-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin-top: 10px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--hp-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color .2s;
}
section.content_v.home-page .hp-brand-hero__cta::after {
  content: "";
  width: 14px;
  height: 9px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 5h13.5M10.5 1l4 4-4 4'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 5h13.5M10.5 1l4 4-4 4'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .2s;
}
section.content_v.home-page .hp-brand-hero:hover .hp-brand-hero__cta { background: var(--hp-accent-dark); }
section.content_v.home-page .hp-brand-hero:hover .hp-brand-hero__cta::after { transform: translateX(3px); }
section.content_v.home-page .hp-brand-hero__shots { display: flex; flex: none; gap: 14px; }
section.content_v.home-page .hp-brand-hero__shot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(34, 34, 34, .07);
  transition: transform .3s ease;
}
section.content_v.home-page .hp-brand-hero__shot:nth-child(2) { transform: translateY(-10px); }
section.content_v.home-page .hp-brand-hero:hover .hp-brand-hero__shot { transform: translateY(-4px); }
section.content_v.home-page .hp-brand-hero:hover .hp-brand-hero__shot:nth-child(2) { transform: translateY(-14px); }
section.content_v.home-page .hp-brand-hero__shot img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
/* Banner riêng do admin tải lên (đủ rộng): phủ kín khung cao cố định */
section.content_v.home-page .hp-brand-hero--image { padding: 0; background: #f6f6f6; }
section.content_v.home-page .hp-brand-hero--image picture { display: block; width: 100%; height: 100%; }
section.content_v.home-page .hp-brand-hero__img { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1023px) {
  section.content_v.home-page .hp-brand-hero { height: 190px; }
  section.content_v.home-page .hp-brand-hero__logo { width: 108px; height: 108px; }
  section.content_v.home-page .hp-brand-hero__shot { width: 120px; height: 120px; }
  section.content_v.home-page .hp-brand-hero__shot:nth-child(3) { display: none; }
}
@media (max-width: 767px) {
  section.content_v.home-page .hp-brand-strip { gap: 6px; margin-bottom: 12px; }
  section.content_v.home-page .hp-brand-track { gap: 8px; padding: 4px 2px 10px; }
  section.content_v.home-page .hp-brand-logo { width: 112px; height: 56px; padding: 8px 12px; border-radius: 10px; }
  section.content_v.home-page .hp-brand-logo__name { font-size: 11.5px; }
  section.content_v.home-page .hp-brand-nav { width: 32px; height: 32px; }
  section.content_v.home-page .hp-brand-nav::before { width: 8px; height: 8px; }
  section.content_v.home-page .hp-brand-hero { height: 128px; margin-bottom: 12px; padding: 0 16px; gap: 12px; }
  section.content_v.home-page .hp-brand-hero__body { gap: 14px; }
  section.content_v.home-page .hp-brand-hero__logo { width: 84px; height: 84px; padding: 10px; border-radius: 14px; }
  section.content_v.home-page .hp-brand-hero__initial { font-size: 34px; }
  section.content_v.home-page .hp-brand-hero__eyebrow { font-size: 10px; letter-spacing: 1px; }
  section.content_v.home-page .hp-brand-hero__name { font-size: 19px; }
  section.content_v.home-page .hp-brand-hero__meta { font-size: 12px; }
  section.content_v.home-page .hp-brand-hero__cta { height: auto; margin-top: 4px; padding: 0; background: none; color: var(--hp-accent); font-size: 12.5px; }
  section.content_v.home-page .hp-brand-hero:hover .hp-brand-hero__cta { background: none; }
  section.content_v.home-page .hp-brand-hero__shots { display: none; }
}

/* ---------- BÀI VIẾT NỔI BẬT ---------- */
/* Mỗi danh mục Blogs một bài, thẻ .post-card dùng chung (mục 19). Luôn một hàng (owl, front-bundle.js):
   4 thẻ · 3 thẻ ≤1023px · 2 thẻ ≤767px · 1 thẻ ≤479px, dãy chấm để xem tiếp */
section.content_v.home-page .hp-posts { width: auto; margin: 0 -10px; }
/* chừa chỗ cho bóng và cú nhấc thẻ khi rê chuột (owl cắt phần tràn) */
section.content_v.home-page .hp-posts .owl-wrapper-outer { padding: 4px 0 10px; }
section.content_v.home-page .hp-posts .owl-wrapper { display: flex !important; } /* thẻ cao đều */
section.content_v.home-page .hp-posts .owl-item { display: flex; float: none; box-sizing: border-box; padding: 0 10px; }
section.content_v.home-page .hp-posts .owl-item > .post-card { width: 100%; }
/* Trước khi owl khởi tạo: đúng một hàng, cùng số thẻ, chừa chỗ dãy chấm */
section.content_v.home-page .hp-posts:not(.owl-carousel) {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 25%;
  overflow: hidden;
  padding: 4px 0 36px; /* 10 dưới thẻ + 26 dãy chấm */
}
section.content_v.home-page .hp-posts:not(.owl-carousel) > .post-card { margin: 0 10px; }
section.content_v.home-page .hp-posts-wp .see_more-wp { margin-top: 14px; }
@media (max-width: 1023px) {
  section.content_v.home-page .hp-posts:not(.owl-carousel) { grid-auto-columns: calc(100% / 3); }
}
@media (max-width: 767px) {
  section.content_v.home-page .hp-posts { margin: 0 -6px; }
  section.content_v.home-page .hp-posts .owl-item { padding: 0 6px; }
  section.content_v.home-page .hp-posts:not(.owl-carousel) { grid-auto-columns: 50%; }
  section.content_v.home-page .hp-posts:not(.owl-carousel) > .post-card { margin: 0 6px; }
}
@media (max-width: 479px) {
  section.content_v.home-page .hp-posts:not(.owl-carousel) { grid-auto-columns: 100%; }
}

/* ---------- Livestream ---------- */
section.content_v.home-page > .hp-live { max-width: 750px; margin: 28px auto 0 !important; text-align: center; }
section.content_v.home-page > .hp-live iframe {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  border-radius: var(--hp-radius);
}

/* Lưới giữ chỗ trước khi owl khởi tạo (mục 15): cùng số cột với cấu hình owl trong front-bundle.js */
@media (min-width: 600px) and (max-width: 768px) {
  section.content_v.home-page .row_product:not(.owl-carousel) { grid-auto-columns: calc(100% / 3); }
}

@media (prefers-reduced-motion: reduce) {
  /* trừ slide THƯƠNG HIỆU NỔI BẬT: chủ shop yêu cầu luôn có hiệu ứng trượt */
  section.content_v.home-page *:not(.hp-brand-slide),
  section.content_v.home-page *::before { transition: none !important; }
}

/* Ảnh chụp nền màu/bóng đổ, gần vuông: front-bundle.js gắn .is-fill lên khung → ảnh phủ kín khung (cover),
   bỏ đệm. Dùng chung cho mọi thẻ sản phẩm (trang chủ, danh sách, liên quan/gợi ý). !important vì các luật
   khung ảnh cũ (mục 1/3) có độ ưu tiên rất khác nhau. */
.images.is-fill { padding: 0 !important; }
.images.is-fill img:not(.banner_header_product) {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  transform: none !important;
}
/* giữ hiệu ứng phóng nhẹ ảnh khi rê chuột (mục 18) cho cả ảnh phủ kín */
@media (hover: hover) {
  .pcard:hover .images.is-fill img:not(.banner_header_product) { transform: scale(1.04) !important; }
}

/* ============================================================
   22. "MUA THEO DANH MỤC" (trang chủ) — KHUNG ẢNH CỐ ĐỊNH, THẺ CAO ĐỀU
   View: application/views/front/defaults/defaults.php (a.item-buy-category)
   ============================================================ */

aside.slider_row .row_product .row_product_h .item-buy-category img {
  width: 75%;
  max-width: 75%;
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 157px;
  object-fit: contain;
}
/* Tên danh mục dài ("Chăm sóc tóc và da đầu") xuống 2 dòng ở thẻ hẹp làm thẻ đó cao hơn:
   chừa sẵn chỗ cho 2 dòng và căn giữa chữ theo chiều dọc. */
@media (max-width: 767px) {
  .item-buy-category p {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(2 * 1.3em + 22px); /* 2 dòng + đệm 10+10 + viền trên 2px */
    line-height: 1.3;
    box-sizing: border-box;
  }
}

/* ============================================================
   23. TRANG DANH SÁCH SẢN PHẨM (danh mục, thương hiệu) — DẢI LOGO THƯƠNG HIỆU
   Khung viền .thuong_hieu_cate rộng theo section (100% dưới 1170px) nên chạm sát
   hai mép. Dưới 768px dải này ẩn (category.css). Cho cùng lề với nội dung
   ============================================================ */

@media (min-width: 768px) and (max-width: 1169px) {
  section > .thuong_hieu.thuong_hieu_cate {
    margin-left: var(--hd-gutter);
    margin-right: var(--hd-gutter);
    box-sizing: border-box;
  }
}

/* ============================================================
   24. TRANG DANH SÁCH SẢN PHẨM — NÚT "DANH MỤC & BỘ LỌC" DƯỚI 768px
   list-tools-collapse.js gom ô sắp xếp (ul.list + #mySelect) và cột lọc left_250
   (#filter_cate) vào ngăn trượt dưới tiêu đề
   ============================================================ */

@media (max-width: 767px) {
  body.lt-products.lt-on .mb-filterbar { display: none; }

  /* Ô sắp xếp: nhãn + select dạng viên thuốc như thanh lọc bài viết (mục 14) */
  body.lt-products aside.product_l .lt-panel > ul.list {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid #f0f0f0;
    list-style: none;
    position: relative;
  }
  body.lt-products .lt-panel > ul.list > h2.title {
    flex: none;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--hd-muted);
    white-space: nowrap;
  }
  body.lt-products .lt-panel > ul.list > #mySelect {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;          /* view: width:204px nội tuyến */
    margin-left: 0 !important;
    padding: 0 36px 0 15px !important;
    height: 38px;
    box-sizing: border-box;
    border: 1px solid var(--hd-line);
    border-radius: 999px;
    background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238a8a8a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E") no-repeat right 14px center;
    font-size: 13px;
    font-weight: 700;
    color: var(--hd-text);
    outline: none;
  }
  body.lt-products .lt-panel > ul.list > #mySelect:focus {
    border-color: var(--hd-accent);
    box-shadow: 0 0 0 3px rgba(239, 70, 121, .12);
  }
  /* nút xám xoay 90° chỉ là mũi tên giả của select; "(N sản phẩm)" đã có ở tiêu đề */
  body.lt-products .lt-panel > ul.list > button,
  body.lt-products .lt-panel > ul.list > span { display: none !important; }

  /* Cột lọc left_250 trong ngăn */
  body.lt-products aside.product_l .lt-panel > aside#filter_cate {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  body.lt-products .lt-panel > aside#filter_cate .filter_v {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-sizing: border-box;
  }
}
@media (max-width: 767px) {
  /* Khung sản phẩm đã có lề --hd-gutter (category.css) nên nút/ngăn không thụt thêm */
  body.lt-products aside.product_l .product_boder > .lt-toggle,
  body.lt-products aside.product_l .product_boder > .lt-panel {
    width: 100%;
    flex-basis: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Mỗi nhóm lọc cách nhau bằng một đường mảnh, tiêu đề nhóm in hoa giãn chữ */
  body.lt-products .lt-panel #filter_cate .clear15px { display: none; }
  body.lt-products .lt-panel #filter_cate .general {
    padding: 14px 0 0;
    margin: 14px 0 0;
    border-top: 1px solid #f0f0f0;
  }
  body.lt-products .lt-panel #filter_cate .general:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
  body.lt-products .lt-panel #filter_cate .general > .titile {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #333;
  }
  body.lt-products .lt-panel #filter_cate .general:empty { display: none; }

  /* Logo thương hiệu / danh mục (#loaida) */
  body.lt-products .lt-panel #loaida img { display: block; width: auto; max-width: 140px; height: auto; margin: 0 auto; }
  body.lt-products .lt-panel #loaida .filter-hot a { display: block; padding: 7px 0; color: var(--hd-text); font-size: 14px; }
  body.lt-products .lt-panel #loaida .filter-hot h2.title-parent a { font-weight: 700; }
  body.lt-products .lt-panel #loaida .filter-hot li { list-style: none; }

  /* Khoảng giá: hai ô nằm cạnh nhau */
  body.lt-products .lt-panel #khoanggia .filter { display: flex; gap: 10px; }
  body.lt-products .lt-panel #khoanggia .filter > .clear { display: none; }
  body.lt-products .lt-panel #khoanggia .functionkg { flex: 1 1 0; min-width: 0; margin: 0; float: none; width: auto; }
  body.lt-products .lt-panel #khoanggia select,
  body.lt-products .lt-panel #thuonghieu .brand_left_boxsearch input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    border: 1px solid var(--hd-line);
    border-radius: 999px;
    background-color: #fff;
    font-size: 13px;
    color: var(--hd-text);
    outline: none;
  }
  body.lt-products .lt-panel #khoanggia select {
    padding: 0 30px 0 14px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238a8a8a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
  }
  body.lt-products .lt-panel #khoanggia select:focus,
  body.lt-products .lt-panel #thuonghieu .brand_left_boxsearch input:focus {
    border-color: var(--hd-accent);
    box-shadow: 0 0 0 3px rgba(239, 70, 121, .12);
  }

  /* Thương hiệu: ô tìm có kính lúp bên trong, danh sách 2 cột cuộn trong khung */
  body.lt-products .lt-panel #thuonghieu .brand_left { width: 100%; float: none; padding: 0; }
  body.lt-products .lt-panel #thuonghieu .brand_left_boxsearch { position: relative; width: 100%; margin: 0 0 8px; }
  body.lt-products .lt-panel #thuonghieu .brand_left_boxsearch input { padding: 0 40px 0 16px !important; }
  body.lt-products .lt-panel #thuonghieu .brand_left_boxsearch .icon-search {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--hd-accent);
  }
  body.lt-products .lt-panel #thuonghieu .brand_left_boxsearch_result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
    max-height: 260px;
    overflow-y: auto;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
  }
  body.lt-products .lt-panel #thuonghieu .brand_left_boxsearch_result li { min-width: 0; }
  body.lt-products .lt-panel #thuonghieu .brand_left_boxsearch_result li br { display: none; }
  body.lt-products .lt-panel #thuonghieu .brand_left_boxsearch_result a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--hd-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.lt-products .lt-panel #thuonghieu .brand_left_boxsearch_result a.active {
    color: var(--hd-accent);
    font-weight: 700;
  }
  /* Máy rất hẹp: một cột cho tên thương hiệu không bị cắt */
  @media (max-width: 359px) {
    body.lt-products .lt-panel #thuonghieu .brand_left_boxsearch_result { grid-template-columns: 1fr; }
  }
}
/* Mục 6 hiện nút ở mọi khổ dưới 1024px (khoảng của trang bài viết); trang sản phẩm
   chỉ gom dưới 768px, từ 768px cột lọc vẫn ở chỗ cũ nên không cần nút. */
@media (min-width: 768px) {
  body.lt-products .lt-toggle,
  body.lt-products .lt-panel { display: none; }
}

/* ============================================================
   25. CHI TIẾT SẢN PHẨM — KHỐI THÔNG TIN BÊN PHẢI ẢNH (.desProduct)
   View: application/views/front/product/detail.php
   ============================================================ */

section.product_d .detailP .desProduct h1.detailPT {
  margin: 0 0 10px;
  padding: 0;
  font-size: clamp(20px, 1.2vw + 12px, 26px);
  line-height: 1.35;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: #1f1f1f;
}
section.product_d .detailP .desProduct .des {
  margin: 0 0 14px;
  padding: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #5a5a5a;
}

/* Đánh giá + lượt xem */
section.product_d .detailP .desProduct .rview-wp {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
section.product_d .detailP .desProduct .rview-wp img { width: 96px !important; height: auto; }
section.product_d .detailP .desProduct .rview-wp span {
  padding: 0;
  border: 0;
  font-size: 13.5px;
  color: #8a8a8a;
}
section.product_d .detailP .desProduct .rview-wp span::after { content: none; }

/* Thương hiệu / xuất xứ (div ngay sau .rview-wp) và dung tích (div kế tiếp):
   các dòng thông tin có vạch mảnh ngăn cách, nhãn xám - giá trị đậm */
section.product_d .detailP .desProduct > .rview-wp + div,
section.product_d .detailP .desProduct > .rview-wp + div + div {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 28px;
  margin: 0;
  padding: 11px 0;
  border-top: 1px solid #eee;
  font-size: 14.5px;
  color: #777;
}
section.product_d .detailP .desProduct > .rview-wp + div + div { border-bottom: 1px solid #eee; }
section.product_d .detailP .desProduct .proFtiter {
  clear: none;
  margin: 0;
  padding: 0 !important;
  font-size: 14.5px;
  color: #777;
}
section.product_d .detailP .desProduct .proFtiter::after { content: none !important; }
section.product_d .detailP .desProduct .proFtiter span,
section.product_d .detailP .desProduct .proFtiter strong,
section.product_d .detailP .desProduct .proFtiter a { font-size: 14.5px; font-weight: 700; color: #222; }
section.product_d .detailP .desProduct .proFtiter a:hover span { color: var(--hd-accent); }
/* "Dung tích:" và giá trị (style nội tuyến 16px, gạch chân) */
section.product_d .detailP .desProduct > .rview-wp + div + div > span {
  padding-left: 0 !important;
  font-size: 14.5px !important;
  text-decoration: none !important;
}
section.product_d .detailP .desProduct > .rview-wp + div + div > span:nth-of-type(2) {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px !important;
  border: 1px solid var(--hd-accent);
  border-radius: 999px;
  color: var(--hd-accent);
  font-weight: 700;
}
section.product_d .detailP .desProduct .listMultiSize { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
section.product_d .detailP .desProduct .listMultiSize li {
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
}

/* Giá: điểm nhấn của khối */
section.product_d .detailP .desProduct .groupPrice {
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  margin: 16px 0 18px;
  padding: 0;
  font-size: 14px;
  color: #777;
}
section.product_d .detailP .desProduct .groupPrice .priceFinal {
  padding-left: 6px;
  font-size: clamp(26px, 1.2vw + 18px, 32px);
  font-weight: 800;
  letter-spacing: -.3px;
  color: #fd1d55;
}
section.product_d .detailP .desProduct .groupPrice .priceDiscount .priceFinal { padding-left: 0; }
section.product_d .detailP .desProduct .groupPrice .linethow { font-size: 16px; color: #9a9a9a; }

/* Hàng mua: số lượng + 2 nút, cùng chiều cao; hẹp thì xuống dòng thay vì tràn */
section.product_d .detailP .desProduct .proDha {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
}
section.product_d .detailP .desProduct .proDha .num-cart {
  flex: 0 0 auto;
  max-width: none;
  display: flex;
  align-items: stretch;
  height: 48px;
  margin: 0 !important;
  float: none;
  transform: none;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
section.product_d .detailP .desProduct .proDha .num-cart span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  padding: 0;
  border: 0;
  font-size: 20px;
  color: #555;
  user-select: none;
  transition: background-color .15s, color .15s;
}
section.product_d .detailP .desProduct .proDha .num-cart span:hover { background: var(--hd-accent-soft); color: var(--hd-accent); }
section.product_d .detailP .desProduct .proDha .num-cart .input_number {
  width: 44px;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  outline: none;
}
section.product_d .detailP .desProduct .proDha .buy-now,
section.product_d .detailP .desProduct .proDha .add-cart {
  flex: 1 1 150px;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 48px;
  margin: 0 !important;
  padding: 0 14px;
  float: none;
  box-sizing: border-box;
  border-radius: 10px;
  font-family: inherit;
  cursor: pointer;
  user-select: none;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
section.product_d .detailP .desProduct .proDha .btDah .bttOp {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .6px;
  white-space: nowrap;
}
section.product_d .detailP .desProduct .proDha .buy-now {
  border: 1.5px solid #fd1d55;
  background: #fd1d55;
  color: #fff;
  box-shadow: 0 6px 16px rgba(253, 29, 85, .25);
}
section.product_d .detailP .desProduct .proDha .buy-now:hover { background: #e8114a; border-color: #e8114a; }
section.product_d .detailP .desProduct .proDha .add-cart {
  border: 1.5px solid #fd1d55;
  background: #fff;
  color: #fd1d55;
}
section.product_d .detailP .desProduct .proDha .add-cart:hover { background: #fff0f4; }
@media (max-width: 767px) {
  /* detail-product.css: margin-right 2px !important trên .buy-now, cỡ chữ 11px trên .add-cart */
  section.product_d .detailP .desProduct .proDha .add-cart { font-size: inherit; }
  section.product_d .detailP .desProduct .proDha .buy-now,
  section.product_d .detailP .desProduct .proDha .add-cart { flex-basis: 130px; }
  section.product_d .detailP .desProduct .proDha .btDah .bttOp { font-size: 13px; letter-spacing: .3px; }
}

/* Ảnh lớn của gallery (lightSlider #image-gallery): img mặc định inline nên chừa khoảng chân chữ ~5px dưới ảnh,
   ảnh nền màu (vd. Obagi nền xám) lộ một vạch trắng ở đáy khung. display:block để ảnh khít khung. */
#image-gallery .lslide img,
#image-gallery > li img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
/* Khung ảnh vuông cố định cho mọi sản phẩm (không đổi cao thấp giữa các sản phẩm/ảnh). Ảnh mặc định hiện trọn
   (contain) trên nền cùng màu nền ảnh (front-bundle.js tô li theo màu 4 góc). Ảnh gần vuông (tỉ lệ 0.85–1.18, vd.
   800x875) được front-bundle.js gắn .is-fill → phủ kín khung (cắt tối đa ~7% mép), không còn dải trắng hai bên. */
#image-gallery > li { aspect-ratio: 1 / 1; overflow: hidden; }
#image-gallery > li > a { display: block; width: 100%; height: 100%; }
#image-gallery > li img:not(.banner_header_product) {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
#image-gallery > li.is-fill img:not(.banner_header_product) { object-fit: cover; }

/* ============================================================
   26. KHỐI "DÀNH RIÊNG CHO BẠN" (.detailProduct-relate) - dùng cùng cách xếp flex như khổ mobile (mục 32)
   ============================================================ */

@media (max-width: 1259px) {
  aside.detailProduct-relate {
    padding-left: var(--hd-gutter);
    padding-right: var(--hd-gutter);
    box-sizing: border-box;
  }
  aside.detailProduct-relate > h2.parent {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 24px);
    flex-wrap: nowrap;
  }
  aside.detailProduct-relate > h2.parent > .line-before,
  aside.detailProduct-relate > h2.parent > .line-after {
    position: static;
    flex: 1 1 auto;
    width: auto !important;
    min-width: 10px;
    margin: 0;
  }
  aside.detailProduct-relate > h2.parent > a {
    flex: 0 1 auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
    white-space: nowrap;
  }
}

/* ============================================================
   27. TRANG THƯƠNG HIỆU A–Z (/thuong-hieu.html)
   View: application/views/front/product/danh_sach_thuong_hieu.php (.brand-dir)
   ============================================================ */

.brand-dir {
  --bd-ink: #1f1f1f;
  --bd-text: #3d3d3d;
  --bd-muted: #8a8a8a;
  --bd-line: #ebebeb;
  --bd-accent: #ef4679;
  --bd-alpha-h: 48px;
  --bd-letter-col: clamp(64px, 5vw + 40px, 120px);
  --bd-space-page: clamp(28px, 2.5vw + 18px, 56px);
  --bd-space-group: clamp(18px, 0.5vw + 14px, 24px);
  padding-bottom: var(--bd-space-page);
}

/* luật chung "section { overflow: hidden }" ở khổ mobile làm thanh chữ cái mất sticky */
section.content_ld--brands { overflow: visible; }

/* --- tiêu đề trang --- */
.brand-dir__head {
  padding: var(--bd-space-page) 0 clamp(20px, 1.5vw + 12px, 32px);
  text-align: center;
}
.brand-dir .brand-dir__title {
  margin: 0;
  /* bù khoảng giãn chữ sau ký tự cuối để chữ nằm đúng giữa */
  padding-left: .22em;
  font-size: clamp(20px, 1vw + 16px, 30px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bd-ink);
}
.brand-dir .brand-dir__meta {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: .02em;
  color: var(--bd-muted);
}

/* --- thanh chữ cái --- */
.brand-dir__alpha {
  --fade-l: 0px;
  --fade-r: 0px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  border-top: 1px solid var(--bd-line);
  border-bottom: 1px solid var(--bd-line);
}
/* dải tràn ngang (khổ hẹp): làm mờ mép còn chữ bị che để người dùng biết vuốt được */
.brand-dir__alpha.is-scrollable:not(.at-end) { --fade-r: 40px; }
.brand-dir__alpha.is-scrollable:not(.at-start) { --fade-l: 24px; }
.brand-dir__alpha.is-scrollable .brand-dir__letters {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
          mask-image: linear-gradient(to right, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent);
}
.brand-dir__letters {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.brand-dir__letters::-webkit-scrollbar { display: none; }
.brand-dir__letters li { flex: 1 0 auto; }
.brand-dir__letters a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: var(--bd-alpha-h);
  box-sizing: border-box;
  padding: 0 4px;
  font-size: 13px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--bd-muted);
  -webkit-tap-highlight-color: transparent;
  transition: color .15s ease;
}
.brand-dir__letters a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 16px;
  height: 2px;
  margin-left: -8px;
  background: var(--bd-accent);
  transform: scaleX(0);
  transition: transform .2s cubic-bezier(.2, .7, .2, 1);
}
.brand-dir__letters a:hover,
.brand-dir__letters a.is-active { color: var(--bd-ink); }
.brand-dir__letters a.is-active::after { transform: scaleX(1); }
.brand-dir a:focus-visible {
  outline: 2px solid var(--bd-ink);
  outline-offset: -2px;
  border-radius: 2px;
}

/* --- nhóm chữ cái --- */
.brand-dir__group {
  display: grid;
  grid-template-columns: var(--bd-letter-col) minmax(0, 1fr);
  align-items: start;
  padding: var(--bd-space-group) 0;
  border-bottom: 1px solid var(--bd-line);
  /* nhảy tới nhóm: đỉnh nhóm nằm ngay dưới thanh chữ cái (cao + 2 đường viền) */
  scroll-margin-top: calc(var(--bd-alpha-h) + 2px);
}
.brand-dir .brand-dir__letter {
  margin: 0;
  /* đỉnh chữ cái ngang đỉnh chữ của hàng tên thương hiệu đầu tiên */
  padding-top: 6px;
  font-size: clamp(28px, 0.6vw + 26px, 36px);
  line-height: 1;
  font-weight: 300;
  color: var(--bd-ink);
}
.brand-dir .brand-dir__letter::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin-top: 10px;
  background: var(--bd-accent);
}
.brand-dir__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr));
  column-gap: clamp(16px, 1.5vw + 8px, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.brand-dir__list li { min-width: 0; }
.brand-dir__list a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--bd-text);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color .15s ease, text-decoration-color .2s ease;
}
.brand-dir__list a:hover {
  color: var(--bd-ink);
  text-decoration-color: var(--bd-accent);
}

/* dưới 768px: section.content_ld không có lề nên khối tự lấy lề chung của trang */
@media (max-width: 767px) {
  .brand-dir {
    --bd-alpha-h: 44px;
    padding-left: var(--hd-gutter);
    padding-right: var(--hd-gutter);
  }
}
@media (min-width: 768px) {
  .brand-dir__letters a { min-width: 30px; font-size: 14px; }
}
/* điện thoại: chữ cái đứng trên danh sách (cùng hàng với vạch nhấn), danh sách 2 cột */
@media (max-width: 575px) {
  .brand-dir__group {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
    padding: 20px 0 12px;
  }
  .brand-dir .brand-dir__letter {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 0;
    font-size: 28px;
  }
  .brand-dir .brand-dir__letter::after { margin-top: 0; }
  .brand-dir__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-dir__letters a::after,
  .brand-dir__list a { transition: none; }
}

/* ============================================================
   28. DẢI BÀI VIẾT ĐẦU TRANG (.content_list-slider)
   ============================================================ */

@media (min-width: 768px) {
  aside.content_list-slider .allV { height: auto; }
  aside.content_list-slider .allV .images {
    height: auto;
    max-height: 310px;
    box-sizing: border-box;
  }
}
aside.content_list-slider .allV .images img {
  min-height: 0;
  height: auto;
  width: 100%;
  aspect-ratio: 936 / 490;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 4px;
}
/* Tiêu đề: cắt ở 2 dòng và luôn giữ chỗ đủ 2 dòng. Cắt trên thẻ a (không có đệm
   dọc) để line-clamp không lòi nửa dòng thứ ba. */
aside.content_list-slider .allV h2 {
  min-height: calc(2 * 20px);
  line-height: 20px;
}
aside.content_list-slider .allV h2 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  line-height: 20px;
}

/* ============================================================
   29. DẢI BÀI VIẾT ĐẦU TRANG BLOG Ở KHỔ HẸP + KHOẢNG CÁCH TIÊU ĐỀ "BLOGS"
   View: application/views/front/content/defaults.php, category.php
   ============================================================ */

@media (max-width: 767px) {
  section.content_ld > aside.content_list-slider {
    padding: 10px 5px;
    border-radius: 10px;
    box-sizing: border-box;
  }
  /* khoảng cách giữa các bài: đệm trong mỗi thẻ (owl tự tính bề rộng .owl-item) */
  aside.content_list-slider .allV {
    padding: 0 5px;
    box-sizing: border-box;
  }
  aside.content_list-slider .allV .images img { border-radius: 8px; }
  aside.content_list-slider .allV h2.titile {
    margin: 10px 0 2px;
    padding: 0 4px;
    text-align: center;
    text-transform: uppercase;
  }
  aside.content_list-slider .allV h2.titile a { font-weight: 700; }
}
@media (max-width: 1023px) {
  /* dải bài viết float:left (mục 2) nên section bọc nó cao 0 và lề trên của h1 bị nuốt:
     cho section bao trọn float để lề tính từ đáy dải */
  section.content_ld:has(> aside.content_list-slider) { display: flow-root; }
  section.content_ld > aside.product_l > .product_boder > h1.title-category {
    margin-top: 18px;
    margin-bottom: 12px;
  }
}

/* ============================================================
   30. DANH SÁCH BÀI VIẾT (/lam-dep/, /lam-dep/<chuyên mục>) — LƯỚI THẺ .post-card (mục 19)
   View: application/views/front/content/defaults.php, category.php; AJAX "Sắp xếp": content::filter_content()
   ============================================================ */

aside.product_l .content-body.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  background: none;
  border-radius: 0;
  box-sizing: border-box;
  max-width: 908px; /* bằng thanh "Sắp xếp / tìm kiếm" phía trên (width 908px trong view) */
}
/* khối phân trang nằm trong lưới: chiếm trọn một hàng */
aside.product_l .content-body.post-grid > .content_list { grid-column: 1 / -1; float: none; width: auto !important; }
/* chỉ một trang: khối phân trang rỗng vẫn chiếm chỗ, đẩy footer ra xa */
aside.product_l .content-body.post-grid > .content_list:has(.pagingDetail:empty), aside.product_l .content-body.post-grid > .content_list:not(:has(.pagingDetail *)) { display: none; }
@media (max-width: 767px) {
  /* điện thoại: danh sách dọc, ảnh trái chữ phải (kiểu .post-card--row) */
  aside.product_l .content-body.post-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 var(--hd-gutter); }
}

/* ============================================================
   31. ĐẦU TRANG BLOGS (.blog-hero) — /lam-dep và trang danh mục bài viết
   View: application/views/front/content/blog_hero.php
   ============================================================ */

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  width: min(1170px, calc(100% - 2 * var(--hd-gutter)));
  margin: 0 auto 36px;
  padding: 44px 40px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fcf6f4 0%, #f8ebe8 100%);
  box-sizing: border-box;
}
.blog-hero__intro { min-width: 0; }
.blog-hero__intro::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 22px;
  border-radius: 2px;
  background: var(--pc-accent);
}
.blog-hero__eyebrow {
  margin: 0;
  color: #b25b74;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.blog-hero__title {
  margin: 12px 0 16px;
  padding: 0;
  color: #2a2226;
  font-family: "Playfair Display", "Times New Roman", serif; /* Playfair nạp trong view (có bộ chữ tiếng Việt) */
  font-size: clamp(24px, 1.1vw + 15px, 31px);
  font-weight: 400;
  line-height: 1.28;
  text-align: left;
  text-transform: none;
}
.blog-hero__desc { margin: 0 0 26px; color: #6b6266; font-size: 14px; line-height: 1.75; }
a.blog-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 24px;
  border-radius: 99px;
  background: var(--pc-accent);
  box-shadow: 0 6px 16px rgba(239, 70, 121, .25);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s, transform .2s;
}
a.blog-hero__btn::after { content: "\f178"; font-family: FontAwesome; font-size: 12px; }
a.blog-hero__btn:hover { background: var(--pc-accent-dark); color: #fff; transform: translateY(-1px); }
.blog-hero__feature { min-width: 0; }
.blog-hero__feature .post-card { height: 100%; box-shadow: 0 10px 30px rgba(120, 60, 80, .10); }
.blog-hero__list { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
/* bài bên phải nằm thẳng trên nền đầu trang, ảnh vuông */
.blog-hero__list .post-card--row {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.blog-hero__list .post-card--row:hover { box-shadow: none; }
.blog-hero__list .post-card--row .post-card__img { border-radius: 10px; }
.blog-hero__list .post-card__go { border-color: transparent; background: #fff; }
@media (min-width: 768px) and (max-width: 1023px) {
  .blog-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 24px; padding: 36px 28px; }
  .blog-hero__intro { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .blog-hero { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: 24px; padding: 28px 18px; border-radius: 14px; }
  .blog-hero__intro::before { margin-bottom: 16px; }
  .blog-hero__desc { margin-bottom: 20px; }
  .blog-hero__list { gap: 14px; }
  .blog-hero__list .post-card--row { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
}

/* ============================================================
   32. BÀI VIẾT / TRANG GIỚI THIỆU — LỀ TRÁI PHẢI CÂN ĐỐI
   ============================================================ */

@media (max-width: 1259px) {
  article.content_list,
  article.content_list_de,
  aside.content_list:not(.content_list-slider) {
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }
}
@media (max-width: 767px) {
  article.content_list,
  article.content_list_de,
  aside.content_list:not(.content_list-slider) {
    padding-left: 14px;
    padding-right: 14px;
  }
  /* Tiêu đề và phần chân bài (ngày đăng, chia sẻ) nằm ngoài khung nội dung
     ở một số view — cho cùng lề để không bị lệch so với thân bài. */
  article.content_list > h1,
  article.content_list .titile_dCon { padding-left: 0; padding-right: 0; }
}

/* Hai vạch trang trí hai bên tiêu đề khối là position:absolute nên ở khổ mobile
   (h2 trở lại display:block) chúng nằm đè lên chữ. Cho cả cụm thành một hàng
   flex: chữ ở giữa, hai vạch tự co theo chỗ còn lại. */
@media (max-width: 767px) {
  h2.parent {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
  }
  h2.parent > .line-before,
  h2.parent > .line-after {
    position: static;
    flex: 1 1 auto;
    width: auto !important;
    min-width: 10px;
    margin: 0;
  }
  h2.parent > a {
    flex: 0 1 auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
    white-space: nowrap;
  }
}

/* ============================================================
   33. CHI TIẾT BÀI VIẾT (/lam-dep/<chuyên mục>/<bài>.html) — TRÌNH BÀY LẠI
   View: application/views/front/content/detail.php (article.article-detail, .article-body)
   ============================================================ */

article.article-detail {
  --ad-text: #333;
  --ad-head: #1f1f1f;
  --ad-muted: #8a8a8a;
  --ad-accent: #e8336d;
  --ad-accent-soft: #fdeef3;
  --ad-line: #ececec;
}
article.article-detail .InContentA {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
}

/* ---- đầu bài: nhãn chuyên mục, tiêu đề, ngày cập nhật ---- */
article.article-detail .content_list_top {
  padding: 0 0 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--ad-line);
  text-align: left;
}
article.article-detail .article-cat {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ad-accent-soft);
  color: var(--ad-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  text-decoration: none;
}
article.article-detail h1.titile_dCon {
  margin: 0;
  padding: 0;
  font-family: inherit;
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  font-weight: 700;
  color: var(--ad-head);
}
article.article-detail .cnShare {
  display: block;
  height: auto;
  margin: 10px 0 0;
  padding: 0;
}
article.article-detail .cnShare .date {
  float: none; /* mục 2: span.date float:left => khung đầu bài không tính dòng này, vạch kẻ đè lên chữ */
  display: inline-block;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ad-muted);
}
article.article-detail .cnShare .date .fa { margin-right: 4px; }

/* ---- thân bài: kiểu chữ ---- */
article.article-detail .article-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ad-text);
  overflow-wrap: break-word;
}
/* bỏ font/cỡ chữ nội tuyến của trình soạn thảo (Verdana 14px, Arial 11pt…) để mọi bài cùng
   một kiểu; cỡ lớn có chủ ý (18px) được giữ */
article.article-detail .article-body [style*="font-family"] { font-family: inherit !important; }
article.article-detail .article-body [style*="font-size:10"],
article.article-detail .article-body [style*="font-size: 10"],
article.article-detail .article-body [style*="font-size:11"],
article.article-detail .article-body [style*="font-size: 11"],
article.article-detail .article-body [style*="font-size:12"],
article.article-detail .article-body [style*="font-size: 12"],
article.article-detail .article-body [style*="font-size:13"],
article.article-detail .article-body [style*="font-size: 13"],
article.article-detail .article-body [style*="font-size:14"],
article.article-detail .article-body [style*="font-size: 14"],
article.article-detail .article-body [style*="font-size:16"],
article.article-detail .article-body [style*="font-size: 16"] { font-size: inherit !important; }
article.article-detail .article-body [style*="line-height"] { line-height: inherit !important; }
article.article-detail .article-body p {
  margin: 0 0 16px;
  padding: 0;
  text-align: left;
}
/* luật chung cũ đặt p/li 14px: dùng cỡ chữ của thân bài */
article.article-detail .article-body p,
article.article-detail .article-body li,
article.article-detail .article-body td,
article.article-detail .article-body th { font-size: inherit; line-height: inherit; }
article.article-detail .article-body p[style*="text-align:center"],
article.article-detail .article-body p[style*="text-align: center"] { text-align: center; }
article.article-detail .article-body strong,
article.article-detail .article-body b { color: var(--ad-head); font-weight: 700; }
article.article-detail .article-body a {
  color: var(--ad-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
article.article-detail .article-body a:hover { text-decoration-thickness: 2px; }

/* ---- tiêu đề con ---- */
article.article-detail .article-body h2,
article.article-detail .article-body h3,
article.article-detail .article-body h4 {
  margin: 30px 0 12px;
  padding: 0;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ad-head);
  text-transform: none;
  text-align: left;
}
article.article-detail .article-body h2 {
  font-size: 22px;
  padding-left: 12px;
  border-left: 4px solid var(--ad-accent);
}
article.article-detail .article-body h3 { font-size: 19px; }
article.article-detail .article-body h4 { font-size: 17px; }
article.article-detail .article-body h2 *,
article.article-detail .article-body h3 *,
article.article-detail .article-body h4 * { font-size: inherit !important; color: inherit !important; }

/* ---- ảnh, chú thích, video, bảng ---- */
article.article-detail .article-body img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 8px auto;
  border-radius: 12px;
}
article.article-detail .article-body figure {
  margin: 24px 0;
  text-align: center;
}
article.article-detail .article-body figure img { margin: 0 auto; }
article.article-detail .article-body figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ad-muted);
  font-style: italic;
}
article.article-detail .article-body iframe,
article.article-detail .article-body video {
  display: block;
  max-width: 100%;
  margin: 20px auto;
  border: 0;
  border-radius: 12px;
}
article.article-detail .article-body iframe[src*="youtube"],
article.article-detail .article-body iframe[src*="youtu.be"] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
}
article.article-detail .article-body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border-collapse: collapse;
  font-size: 15px;
}
article.article-detail .article-body td,
article.article-detail .article-body th {
  padding: 8px 12px;
  border: 1px solid var(--ad-line);
}

/* ---- danh sách, trích dẫn, đường kẻ ---- */
article.article-detail .article-body ul,
article.article-detail .article-body ol {
  margin: 0 0 18px;
  padding-left: 24px !important;
}
article.article-detail .article-body ul { list-style: disc !important; }
article.article-detail .article-body ol { list-style: decimal !important; }
article.article-detail .article-body li {
  margin: 0 0 8px;
  padding-left: 4px;
}
article.article-detail .article-body li::marker { color: var(--ad-accent); }
article.article-detail .article-body li > p { margin-bottom: 6px; }
article.article-detail .article-body blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 4px solid var(--ad-accent);
  background: var(--ad-accent-soft);
  border-radius: 0 10px 10px 0;
}
article.article-detail .article-body hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--ad-line);
}

/* ---- khung bài: thẻ trắng có bóng nhẹ từ 768px ---- */
@media (min-width: 768px) {
  article.article-detail .InContentA {
    padding: 32px 36px 20px;
    border: 1px solid var(--ad-line);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
  }
}

/* ---- mobile ---- */
@media (max-width: 767px) {
  article.article-detail .content_list_top { padding-bottom: 14px; margin-bottom: 18px; }
  article.article-detail h1.titile_dCon { font-size: 22px; line-height: 1.4; }
  article.article-detail .article-body { font-size: 15.5px; line-height: 1.7; }
  article.article-detail .article-body h2 { font-size: 19px; margin-top: 26px; }
  article.article-detail .article-body h3 { font-size: 17px; margin-top: 22px; }
  article.article-detail .article-body h4 { font-size: 16px; }
  article.article-detail .article-body img { border-radius: 10px; }
  article.article-detail .article-body ul,
  article.article-detail .article-body ol { padding-left: 20px !important; }
}

/* ============================================================
   34. TRANG CLINIC & SPA (/clinic-spa.html) — LƯỚI THẺ DỊCH VỤ ĐỀU NHAU
   View: application/views/front/content/clinic_spa.php (.content-body-genki chỉ có ở trang này)
   ============================================================ */

aside.product_l .content-body-genki {
  display: grid;
  /* tối đa 3 cột; thẻ không hẹp hơn 220px (hẹp hơn thì bớt cột) */
  grid-template-columns: repeat(auto-fill, minmax(max(220px, calc((100% - 32px) / 3)), 1fr));
  gap: 16px;
  justify-content: initial;
}
aside.product_l .content-body-genki > .item_genki {
  width: auto;
  max-width: none;
  flex: none;
  padding: 0;
  min-width: 0;
}
.content-body-genki .item_genki-wp {
  /* viền gốc chỉ khai báo cho >=768px */
  border: 2px solid #D4D5D3;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background: #fff;
}
/* ảnh: cùng một khung tỉ lệ cho mọi thẻ */
.content-body-genki .item_genki-wp > a:first-child { display: block; }
.content-body-genki .item_genki-wp > a:first-child img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2; /* ảnh dịch vụ 600x400 */
  object-fit: cover;
}
/* phần chữ chiếm phần còn lại, nút đẩy xuống đáy thẻ */
.content-body-genki .item_genki-wp > div {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 10px 12px 12px !important;
}
.content-body-genki .item_genki .title {
  min-height: calc(2 * 1.4em);
  line-height: 1.4;
  padding-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-body-genki .item_genki .title::after {
  width: 60%;
  left: 20%;
  bottom: -2px;
}
.content-body-genki .item_genki .price { padding: 12px 0 8px !important; }
/* thông tin thời lượng / lượt mua: mỗi mục không bao giờ gãy giữa chừng; thiếu chỗ thì
   mục thứ hai xuống dòng riêng, căn giữa */
.content-body-genki .action-time {
  /* kiểu gốc (flex, căn giữa, 12px) chỉ khai báo cho >=768px */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 4px 14px;
  min-height: 22px;
  line-height: 1.4;
  color: #555;
}
.content-body-genki .action-time > span {
  white-space: nowrap;
  padding-left: 0 !important;
}
.content-body-genki .put_cacul {
  /* nền hồng gốc chỉ khai báo cho >=768px: dưới 768px nút là chữ trắng trên nền trong suốt */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FD1D55;
  font-weight: bold;
  text-decoration: none;
  margin: auto 0 0;
  padding: 10px 0;
  border-radius: 6px;
  color: #fff;
}
.content-body-genki .put_cacul > span { padding-left: 0 !important; }
.content-body-genki .action-time + .put_cacul { margin-top: auto; }
.content-body-genki .action-time { margin-bottom: 12px; }
.content-body-genki .item_genki .des:empty { display: none; } /* mô tả trống chỉ chiếm chỗ */

@media (max-width: 767px) {
  aside.product_l .content-body-genki {
    grid-template-columns: repeat(auto-fill, minmax(max(160px, calc((100% - 12px) / 2)), 1fr));
    gap: 12px;
  }
  .content-body-genki .item_genki .title { font-size: 13px !important; }
  .content-body-genki .item_genki .price span { font-size: 18px !important; }
}
@media (max-width: 359px) {
  aside.product_l .content-body-genki { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   35. CHI TIẾT DỊCH VỤ CLINIC & SPA (/dich-vu-cham-soc-da-co-ban/...)
   ============================================================ */

section.content_ld > article.content_list_de:only-child {
  float: none;
  width: 100% !important; /* .content_list_de { width: 834px !important } */
  max-width: 100%;
  box-sizing: border-box;
}
/* Form đặt hẹn: khối họ tên / email / SĐT / số khách là <ul> còn dấu chấm đầu dòng,
   có padding 15px và mỗi cột chỉ rộng 80% (45% từ 1024px) nên không thẳng mép với
   lịch và các ô bên dưới. Cho cùng mép; từ 1024px chia hai cột bằng nhau. */
#appointment-section .form-info {
  list-style: none;
  margin: 0 0 6px;
  /* bằng đệm của cột Bootstrap .col-md-* chứa lịch và các ô bên dưới;
     !important vì luật danh sách trong bài viết đặt padding-left 30px !important */
  padding: 0 15px !important;
}
#appointment-section .form-info > li {
  width: 100%;
  margin: 0;
  float: none;
}
#appointment-section .form-info > li > div { margin-bottom: 12px; }
#appointment-section .form-info input.form-control { width: 100%; box-sizing: border-box; }
@media (min-width: 1024px) {
  #appointment-section .form-info { display: flex; gap: 24px; }
  #appointment-section .form-info > li { flex: 1 1 0; min-width: 0; }
}

/* ============================================================
   36. TRANG ĐĂNG NHẬP (/dang-nhap.html) — THẺ ĐĂNG NHẬP
   View: application/views/front/user/dang_nhap.php (section.auth-page)
   ============================================================ */

section.auth-page {
  display: block;
  width: 100%;
  max-width: none;
  padding: clamp(24px, 5vw, 56px) var(--hd-gutter);
  box-sizing: border-box;
  background: linear-gradient(180deg, #fdf1f5 0%, #fff 100%);
}
section.auth-page .auth-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 40px) clamp(20px, 5vw, 40px);
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #f1e4e9;
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(20, 25, 26, .08);
}
section.auth-page h1.auth-title {
  margin: 0;
  padding: 0;
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 700;
  text-align: center;
  text-transform: none;
  color: #222;
}
section.auth-page .auth-sub {
  margin: 6px 0 24px;
  font-size: 14px;
  text-align: center;
  color: var(--hd-muted);
}
section.auth-page .dangKyAll {
  text-align: left;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
section.auth-page .auth-label {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #444;
}
section.auth-page .inputDangky {
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  color: #222;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
section.auth-page .inputDangky::placeholder { color: #b3b3b3; }
section.auth-page .inputDangky:hover { border-color: #c8c8c8; }
section.auth-page .inputDangky:focus {
  border-color: var(--hd-accent);
  box-shadow: 0 0 0 3px rgba(239, 70, 121, .14);
}
/* Chỗ hiện lỗi dưới mỗi ô; trống thì chỉ là khoảng cách giữa hai ô */
section.auth-page #tb_email_user,
section.auth-page #tb_mat_khau {
  min-height: 16px;
  padding: 4px 0 0;
  font-size: 12.5px;
  color: #d93a68;
}
section.auth-page #tb_email_user { margin-bottom: 8px; }
section.auth-page a.quenMatKh {
  align-self: flex-end;
  display: inline-block;
  margin: 2px 0 18px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--hd-accent);
  text-align: right;
}
section.auth-page a.quenMatKh:hover { text-decoration: underline; }
section.auth-page #dang_ky {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 10px;
  background: var(--hd-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .6px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 6px 18px rgba(239, 70, 121, .28);
  transition: background-color .15s, box-shadow .15s, transform .15s;
}
section.auth-page #dang_ky:hover { background: #e23a6c; box-shadow: 0 8px 22px rgba(239, 70, 121, .34); }
section.auth-page #dang_ky:active { transform: translateY(1px); }

/* "hoặc đăng nhập nhanh với" — chữ giữa hai vạch */
section.auth-page .dang_nhap_nv {
  display: flex;
  align-items: center;
  gap: 12px;
  height: auto;
  margin: 26px 0 16px;
  border: 0;
  font-size: 12.5px;
  color: var(--hd-muted);
}
section.auth-page .dang_nhap_nv::before,
section.auth-page .dang_nhap_nv::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #ececec;
}
section.auth-page .dang_nhap_nv span { padding: 0; background: none; white-space: nowrap; }

/* Hai nút mạng xã hội: viền mảnh, biểu tượng màu thương hiệu */
section.auth-page .auth-social { display: flex; gap: 12px; }
section.auth-page a.tiep_tuc_dn_fb {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  margin: 0;
  padding: 0 10px;
  box-sizing: border-box;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #fff !important; /* user.css: .gg { background: #ea4235 !important } */
  color: #333;
  font-size: 14px;
  font-weight: 600;
  transition: border-color .15s, background-color .15s;
}
section.auth-page a.tiep_tuc_dn_fb:hover { border-color: #bdbdbd; background: #fafafa !important; }
section.auth-page a.tiep_tuc_dn_fb::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  padding: 0;
  font-family: inherit;
  background: no-repeat center / contain;
}
section.auth-page a.tiep_tuc_dn_fb.fb::before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%231877F2'/%3E%3Cpath fill='%23fff' d='M15.1 12.6h-2.2V20h-3v-7.4H8.4V10h1.5V8.4C9.9 6.4 10.8 5 13.2 5c.9 0 1.9.1 1.9.1v2.3h-1.1c-1 0-1.1.5-1.1 1.1V10h2.4l-.2 2.6z'/%3E%3C/svg%3E");
}
section.auth-page a.tiep_tuc_dn_fb.gg::before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.4-.4-3.5z'/%3E%3Cpath fill='%23FF3D00' d='m6.3 14.7 6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.4-.4-3.5z'/%3E%3C/svg%3E");
}

section.auth-page .auth-foot {
  margin: 24px 0 0;
  font-size: 14px;
  text-align: center;
  color: #666;
}
section.auth-page a.tao_tai_khoan_moi_ne {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: 700;
  color: var(--hd-accent);
}
section.auth-page a.tao_tai_khoan_moi_ne:hover { text-decoration: underline; }

/* ============================================================
   37. TRANG ĐĂNG KÝ (/dang-ky.html) — cùng kiểu thẻ với trang đăng nhập (mục 36)
   View: application/views/front/user/dang_ky.php
   ============================================================ */

section.auth-page .auth-card--wide { max-width: 560px; }
section.auth-page .dangKyAll.auth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px 14px;
}
@media (min-width: 520px) {
  section.auth-page .dangKyAll.auth-grid { grid-template-columns: 1fr 1fr; }
  section.auth-page .auth-field--full { grid-column: 1 / -1; }
}
section.auth-page .auth-field { display: flex; flex-direction: column; min-width: 0; }
section.auth-page .auth-label em { font-style: normal; color: var(--hd-accent); }
section.auth-page .thongBaoError:empty { display: none; }
section.auth-page .thongBaoError { padding: 4px 0 0; font-size: 12.5px; color: #d93a68; }
/* JS thêm .error/.errorr vào ô sai: viền đỏ nhẹ thay cho viền đỏ đậm mặc định */
section.auth-page .inputDangky.error,
section.auth-page .inputDangky.errorr {
  border-color: #e0567f !important;
  color: #222 !important;
  box-shadow: 0 0 0 3px rgba(224, 86, 127, .12);
}

/* Giới tính: hai nút chọn dạng viên thuốc, radio thật vẫn nằm trong form */
section.auth-page .auth-seg {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}
section.auth-page .auth-seg input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
section.auth-page .auth-seg label {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
section.auth-page .auth-seg label:hover { border-color: #c8c8c8; }
section.auth-page .auth-seg input[type=radio]:checked + label {
  border-color: var(--hd-accent);
  background: var(--hd-accent-soft);
  color: var(--hd-accent);
}
section.auth-page .auth-seg input[type=radio]:focus-visible + label {
  box-shadow: 0 0 0 3px rgba(239, 70, 121, .2);
}
section.auth-page .auth-grid #dang_ky { margin-top: 6px; }
section.auth-page .auth-grid .auth-foot { margin-top: 18px; }
section.auth-page .auth-foot a { font-weight: 700; color: var(--hd-accent); }
section.auth-page .auth-foot a:hover { text-decoration: underline; }

/* ============================================================
   38. TRANG NHẬP MÃ XÁC NHẬN (/nhap-ma-xac-nhan) — cùng kiểu thẻ đăng nhập (mục 36)
   View: application/views/front/user/nhap_ma_xn.php
   ============================================================ */

section.auth-page .auth-otp { max-width: 420px; text-align: center; }
/* biểu tượng tin nhắn trong vòng tròn hồng nhạt */
section.auth-page .auth-otp-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--hd-accent-soft);
  position: relative;
}
section.auth-page .auth-otp-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 30px;
  height: 30px;
  background: var(--hd-accent);
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20.5l1.4-4.8A8 8 0 1 1 21 12z'/%3E%3Cpath d='M8.5 12h.01M12 12h.01M15.5 12h.01' stroke-width='2.6'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20.5l1.4-4.8A8 8 0 1 1 21 12z'/%3E%3Cpath d='M8.5 12h.01M12 12h.01M15.5 12h.01' stroke-width='2.6'/%3E%3C/svg%3E") no-repeat center / contain;
}
section.auth-page .auth-otp .auth-sub { line-height: 1.6; }
section.auth-page .auth-otp .auth-phone {
  display: inline-block;
  margin-top: 2px;
  font-size: 17px;
  letter-spacing: .5px;
  color: #222;
}
section.auth-page .auth-otp .dangKyAll { text-align: left; }
/* ô mã: chữ to, căn giữa, giãn khoảng để dễ đọc từng số */
section.auth-page .auth-otp .inputDangky.auth-code {
  height: 54px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 8px;
  text-align: center;
}
section.auth-page .auth-otp .inputDangky.auth-code::placeholder {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: normal;
}
section.auth-page .auth-otp .thongBaoError { min-height: 16px; padding: 4px 0 10px; font-size: 12.5px; color: #d93a68; text-align: center; }
section.auth-page .auth-otp .auth-note {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #faf6f7;
  font-size: 12.5px;
  line-height: 1.55;
  color: #7a7a7a;
  text-align: center;
}
section.auth-page .auth-otp .inputDangky.error {
  border-color: #e0567f !important;
  color: #222 !important;
  box-shadow: 0 0 0 3px rgba(224, 86, 127, .12);
}
section.auth-page .auth-otp #dang_ky { margin-top: 14px; }

/* ============================================================
   39. TRANG QUÊN MẬT KHẨU (/quen-mat-khau.html) — dùng lại thẻ nhập mã (mục 38),
   chỉ đổi biểu tượng thành ổ khoá. View: application/views/front/user/quenmatkhau.php
   ============================================================ */

section.auth-page .auth-forgot .auth-otp-icon::before {
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3M12 14.5v2'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3M12 14.5v2'/%3E%3C/svg%3E");
}
section.auth-page .auth-forgot #id_dien_thoai { min-height: 14px; padding: 4px 0 6px; font-size: 12.5px; color: #d93a68; }
/* khối chứa nút: JS đổi tạm thành ảnh loading, giữ chiều cao để thẻ không giật */
section.auth-page .auth-forgot #btnProcess {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 8px;
}
section.auth-page .auth-forgot #btnProcess img { margin: 0 !important; }
section.auth-page .auth-forgot .inputDangky.error {
  border-color: #e0567f !important;
  color: #222 !important;
  box-shadow: 0 0 0 3px rgba(224, 86, 127, .12);
}

/* ============================================================
   40. TRANG ĐẶT HÀNG (/dat-hang/) — FORM GIAO HÀNG, HÓA ĐƠN, NÚT HOÀN TẤT
   View: application/views/reponsive/cart/dat_hang_body.php (+ cart.css, \3c style> trong view)
   ============================================================ */

section#dat_hang {
  box-sizing: border-box;
  padding: clamp(16px, 2.5vw, 24px) var(--hd-gutter) 28px;
  gap: 20px;
}
@media (max-width: 1023px) {
  section#dat_hang { display: flex; flex-direction: column; align-items: stretch; }
  section#dat_hang > .infoCart { order: 1; width: 100%; margin: 0; }
  section#dat_hang > .boxDathang { order: 2; width: 100%; }
}
section#dat_hang > .boxDathang,
section#dat_hang > .infoCart {
  box-sizing: border-box;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
}
section#dat_hang > .boxDathang { padding: 22px clamp(16px, 3vw, 28px) 24px; }
section#dat_hang > .infoCart { padding: 22px clamp(16px, 2.4vw, 24px) 24px; }
@media (min-width: 1024px) {
  section#dat_hang > .infoCart { margin-left: 0; position: sticky; top: 16px; }
}

/* Tiêu đề khối */
section#dat_hang h1 { padding: 0 0 16px; font-size: 18px; letter-spacing: .5px; }
section#dat_hang .title_gio_hang {
  height: auto;
  margin: 18px 0 14px;
  padding: 0;
  line-height: 1.4;
  text-align: center;
}
section#dat_hang .title_gio_hang span { display: block; font-size: 16px; font-weight: 700; color: #222; }
section#dat_hang .title_gio_hang .xnHn_bt { margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--hd-muted); }
section#dat_hang .login-cart { font-size: 13.5px; line-height: 1.5; }

/* Form: lưới một cột, hàng email/SĐT và hàng Tỉnh/Quận/Phường chia cột khi đủ chỗ */
section#dat_hang .form-cart {
  display: grid;
  gap: 12px;
  padding: 0 !important;               /* nội tuyến padding:12px */
}
section#dat_hang .form-cart .input-row,
section#dat_hang .form-cart .select-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin: 0;
}
@media (min-width: 600px) {
  section#dat_hang .form-cart .input-row:nth-child(2) { grid-template-columns: 1fr 1fr; }
  section#dat_hang .form-cart .select-row { grid-template-columns: repeat(3, 1fr); }
}
section#dat_hang .form-cart input,
section#dat_hang .form-cart select,
section#dat_hang .form-cart textarea {
  display: block;
  width: 100% !important;
  min-width: 0;
  height: 46px;
  margin: 0 !important;
  padding: 0 14px;
  box-sizing: border-box;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  background-color: #fff;
  font-size: 14px;
  line-height: normal;
  text-indent: 0;
  color: #222;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
section#dat_hang .form-cart select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%238a8a8a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  text-overflow: ellipsis;
}
section#dat_hang .form-cart textarea { height: 104px; padding: 12px 14px; resize: vertical; }
section#dat_hang .form-cart input::placeholder,
section#dat_hang .form-cart textarea::placeholder { color: #a9a9a9; }
section#dat_hang .form-cart input:focus,
section#dat_hang .form-cart select:focus,
section#dat_hang .form-cart textarea:focus {
  border-color: var(--hd-accent);
  box-shadow: 0 0 0 3px rgba(239, 70, 121, .14);
}

/* Bảng hình thức thanh toán: bỏ lề cứng */
section#dat_hang .tttt table { width: 100% !important; margin: 0 !important; padding: 0 !important; }
/* ô tick hình thức thanh toán là icon Font Awesome 4 (fa-check-square-o); dưới 768px trang nạp thêm
   Font Awesome 5 và luật .fa của bản 5 đổi font sang bản 5 (không có icon này) => ô trống. */
section#dat_hang .tttt label .fa { font-family: FontAwesome !important; font-weight: normal !important; }

/* Nút hoàn tất: mỗi khổ chỉ hiện một nút (xem đầu mục), cùng một kiểu, trọn bề ngang khung */
section#dat_hang .complete-order-mobile { display: none !important; }
@media (max-width: 1023px) {
  section#dat_hang .infoCart .complete-order-destop { display: none !important; }
  section#dat_hang .boxDathang .complete-order-mobile { display: flex !important; }
}
section#dat_hang .boxDathang .complete-order-mobile,
section#dat_hang .infoCart .complete-order-destop {
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 50px;
  margin: 18px 0 0 !important;
  padding: 0;
  box-sizing: border-box;
  border-radius: 10px;
  background: var(--hd-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 6px 18px rgba(239, 70, 121, .28);
  transition: background-color .15s, box-shadow .15s;
}
@media (min-width: 1024px) {
  section#dat_hang .infoCart .complete-order-destop { display: flex !important; }
}
section#dat_hang .boxDathang .complete-order-mobile:hover,
section#dat_hang .infoCart .complete-order-destop:hover { background: #e23a6c; box-shadow: 0 8px 22px rgba(239, 70, 121, .34); }

/* Ô mã giảm giá + "Chọn thêm mã" */
section#dat_hang #boxDiscount .detail { gap: 10px; align-items: center; }
section#dat_hang #boxDiscount .detail input {
  width: auto;
  min-width: 0;
  height: 42px;
  margin: 0;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  text-indent: 12px;
}
section#dat_hang #boxDiscount .detail input:focus { border-color: var(--hd-accent); outline: none; }
section#dat_hang #boxDiscount .detail .btdatHang {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 96px;
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
}
section#dat_hang .choose_voucher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  margin-left: auto;
  height: 34px;
  padding: 0 14px;
  border: 1px dashed var(--hd-accent);
  border-radius: 999px;
  background: var(--hd-accent-soft);
  color: var(--hd-accent);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
  transition: background-color .15s, color .15s;
}
/* biểu tượng phiếu giảm giá (thay cho dấu ">") */
section#dat_hang .choose_voucher::before {
  content: "";
  flex: none;
  width: 16px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath fill='%23000' d='M1 1h14v3.2a1.8 1.8 0 0 0 0 3.6V11H1V7.8a1.8 1.8 0 0 0 0-3.6V1zm9.5 1.5v1.2h1V2.5h-1zm0 2.5v2h1V5h-1zm0 3.3v1.2h1V8.3h-1z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath fill='%23000' d='M1 1h14v3.2a1.8 1.8 0 0 0 0 3.6V11H1V7.8a1.8 1.8 0 0 0 0-3.6V1zm9.5 1.5v1.2h1V2.5h-1zm0 2.5v2h1V5h-1zm0 3.3v1.2h1V8.3h-1z'/%3E%3C/svg%3E") no-repeat center / contain;
}
section#dat_hang .choose_voucher:hover { background: var(--hd-accent); color: #fff; box-shadow: none; border-radius: 999px; }
section#dat_hang #boxTotal { margin-top: 16px; padding-top: 14px; }
section#dat_hang #boxTotal > div { margin: 6px 0; }

/* ============================================================
   41. TRANG ĐẶT HÀNG THÀNH CÔNG (/thank.html) — THẺ CHÚC MỪNG + CHI TIẾT ĐƠN
   View: application/views/front/cart/dathangthanhcong.php (class .ty-*)
   ============================================================ */

section.ty-page {
  --ty-ink: #1d1d1f;
  --ty-text: #4b4b50;
  --ty-muted: #8b8b93;
  --ty-line: #ededf0;
  --ty-radius: 18px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) var(--hd-gutter) 12px;
  font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ty-text);
  -webkit-font-smoothing: antialiased;
}
section.ty-page *,
section.ty-page h1,
section.ty-page h2,
section.ty-page strong,
section.ty-page a { font-family: inherit; }

/* --- Thẻ chúc mừng --- */
section.ty-page .ty-hero {
  padding: clamp(28px, 4.5vw, 44px) clamp(18px, 5vw, 56px) clamp(24px, 3.5vw, 32px);
  border: 1px solid #f6dde6;
  border-radius: var(--ty-radius);
  background:
    radial-gradient(110% 80% at 50% -10%, #ffe1eb 0%, rgba(255, 225, 235, 0) 62%),
    #fff;
  text-align: center;
}
section.ty-page .ty-check {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6f9c 0%, var(--hd-accent) 100%);
  box-shadow: 0 0 0 8px rgba(239, 70, 121, .12), 0 10px 22px rgba(239, 70, 121, .3);
  animation: ty-pop .5s cubic-bezier(.2, 1.4, .4, 1) both;
}
section.ty-page .ty-check::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 16px;
  width: 15px;
  height: 28px;
  border: solid #fff;
  border-width: 0 4.5px 4.5px 0;
  border-radius: 2px;
  transform: rotate(45deg);
}
section.ty-page .ty-check--empty { background: #ececef; box-shadow: 0 0 0 8px rgba(0, 0, 0, .03); }
section.ty-page .ty-check--empty::after {
  content: "!";
  left: 0; top: 0; width: 100%; height: 100%;
  border: 0;
  transform: none;
  font-size: 36px;
  font-weight: 800;
  line-height: 68px;
  text-align: center;
  color: #9a9aa2;
}
section.ty-page .ty-check--warn { background: linear-gradient(135deg, #ffb547 0%, #f08a00 100%); box-shadow: 0 0 0 8px rgba(240, 138, 0, .12); }
section.ty-page .ty-check--warn::after { color: #fff; }
@keyframes ty-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { section.ty-page .ty-check { animation: none; } }

section.ty-page .ty-title {
  margin: 0 0 8px;
  padding: 0;
  font-size: clamp(24px, 1.6vw + 16px, 32px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.3px;
  text-transform: none;
  color: var(--ty-ink);
}
section.ty-page .ty-lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ty-text);
}
section.ty-page .ty-lead strong { font-weight: 600; color: var(--ty-ink); }

/* Tiến trình 3 bước */
section.ty-page .ty-steps {
  display: flex;
  justify-content: center;
  max-width: 520px;
  margin: 26px auto 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
section.ty-page .ty-steps li {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ty-muted);
}
/* đường nối giữa hai chấm */
section.ty-page .ty-steps li + li::before {
  content: "";
  position: absolute;
  top: 9px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--ty-line);
}
section.ty-page .ty-steps li.is-done + li::before { background: var(--hd-accent); }
section.ty-page .ty-step-dot {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid var(--ty-line);
  border-radius: 50%;
  background: #fff;
}
section.ty-page .ty-steps .is-done .ty-step-dot {
  border-color: var(--hd-accent);
  background: var(--hd-accent) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2.5 6.2 5 8.5l4.5-5'/%3E%3C/svg%3E") no-repeat center / 12px;
}
section.ty-page .ty-steps .is-current .ty-step-dot {
  border-color: var(--hd-accent);
  box-shadow: 0 0 0 4px rgba(239, 70, 121, .15);
}
section.ty-page .ty-steps .is-current .ty-step-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--hd-accent);
}
section.ty-page .ty-steps .is-done,
section.ty-page .ty-steps .is-current { color: var(--ty-ink); font-weight: 600; }
section.ty-page .ty-step-label { padding: 0 4px; text-align: center; }

/* --- Dải tóm tắt --- */
section.ty-page .ty-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 16px;
  border: 1px solid var(--ty-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
section.ty-page .ty-sum-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
  border-left: 1px solid var(--ty-line);
  margin-left: -1px;           /* ô đầu mỗi hàng không có vạch trái */
}
section.ty-page .ty-sum-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--ty-muted);
}
section.ty-page .ty-sum-value { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ty-ink); }
section.ty-page .ty-sum-code { color: var(--hd-accent); letter-spacing: .3px; }
section.ty-page .ty-sum-money { color: #e8114a; }
@media (max-width: 599px) {
  section.ty-page .ty-summary { grid-template-columns: 1fr; }
  section.ty-page .ty-sum-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-left: 0;
    margin-left: 0;
    border-top: 1px solid var(--ty-line);
  }
  section.ty-page .ty-sum-item:first-child { border-top: 0; }
  section.ty-page .ty-sum-value { text-align: right; }
}

/* --- Lưới chi tiết --- */
section.ty-page .ty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}
/* Khối sản phẩm trải hết bề ngang; khối Thanh toán + Giao hàng (cột thứ hai trong
   markup) xếp cạnh nhau, rộng và cao bằng nhau từ 768px. Đơn không có khối thanh
   toán thì khối Giao hàng chiếm trọn hàng. */
section.ty-page .ty-col { display: grid; gap: 16px; min-width: 0; }
@media (min-width: 768px) {
  section.ty-page .ty-col:not(.ty-col--main) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  section.ty-page .ty-col:not(.ty-col--main) > .ty-card:only-child { grid-column: 1 / -1; }
}
section.ty-page .ty-card {
  padding: 20px clamp(16px, 2.4vw, 24px);
  border: 1px solid var(--ty-line);
  border-radius: var(--ty-radius);
  background: #fff;
}
section.ty-page .ty-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--ty-line);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ty-ink);
}
section.ty-page .ty-card-title::before {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--hd-accent-soft) no-repeat center / 18px 18px;
}
section.ty-page .ty-ic-pay::before { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4679' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2.5'/%3E%3Cpath d='M2.5 10h19M6.5 15h3'/%3E%3C/svg%3E"); }
section.ty-page .ty-ic-ship::before { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4679' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
section.ty-page .ty-ic-bag::before { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4679' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12.5H6L5 8z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E"); }
section.ty-page .ty-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 999px;
  background: #f3f3f5;
  font-size: 12px;
  font-weight: 600;
  color: var(--ty-muted);
}
section.ty-page .ty-vnpay { margin-left: auto; font-size: 14px; font-weight: 800; letter-spacing: 0; }

/* Dòng nhãn – giá trị: nhãn cột cố định nên các giá trị thẳng hàng */
section.ty-page .ty-rows { margin: 0; }
section.ty-page .ty-rows > div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 2px 12px;
  padding: 11px 0;
  border-bottom: 1px solid #f4f4f6;
  font-size: 14.5px;
  line-height: 1.55;
}
section.ty-page .ty-rows > div:last-child { border-bottom: 0; padding-bottom: 0; }
section.ty-page .ty-rows dt { margin: 0; font-weight: 400; color: var(--ty-muted); }
section.ty-page .ty-rows dd { margin: 0; font-weight: 500; color: var(--ty-ink); overflow-wrap: anywhere; }
section.ty-page .ty-rows dd strong { font-weight: 600; }
section.ty-page .ty-note { display: block; margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--ty-muted); }
section.ty-page .ty-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}
section.ty-page .ty-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
section.ty-page .ty-badge--ok { background: #e8f7ee; color: #12893f; }
section.ty-page .ty-badge--err { background: #fdecec; color: #d12c2c; }

/* Sản phẩm */
section.ty-page .ty-items { margin: 0; padding: 0; list-style: none; }
section.ty-page .ty-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f4f4f6;
}
section.ty-page .ty-item-img {
  width: 64px;
  height: 64px;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid var(--ty-line);
  border-radius: 12px;
  background: #fff;
}
section.ty-page .ty-item-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
section.ty-page .ty-item-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ty-ink);
}
section.ty-page .ty-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ty-muted);
}
section.ty-page .ty-item-meta span + span::before { content: "·"; margin-right: 12px; color: #c9c9cf; }
section.ty-page .ty-item-price { font-size: 15px; font-weight: 600; color: var(--ty-ink); white-space: nowrap; }
section.ty-page .ty-empty-items { margin: 10px 0 0; font-size: 14px; color: var(--ty-muted); }

/* Phần tổng tiền: một khung nền xám rất nhạt trải hết khối, các dòng phụ (tạm tính,
   giảm giá) chữ nhỏ; vạch đứt ngăn cách rồi tới dòng tổng to, đậm, màu hồng */
section.ty-page .ty-total {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 16px clamp(16px, 2.4vw, 22px);
  border: 1px solid var(--ty-line);
  border-radius: 14px;
  background: #fafafb;
}
section.ty-page .ty-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ty-text);
}
section.ty-page .ty-total-row > span:last-child { font-weight: 500; color: var(--ty-ink); font-variant-numeric: tabular-nums; }
section.ty-page .ty-total-row--disc > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
section.ty-page .ty-total-row--disc > span:last-child { color: #12893f; }
section.ty-page .ty-total-row--disc em {
  font-style: normal;
  padding: 1px 8px;
  border: 1px dashed #9ad3ae;
  border-radius: 6px;
  background: #eefaf2;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #12893f;
}
section.ty-page .ty-total-row--grand {
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ty-ink);
}
/* có dòng phụ phía trên thì thêm vạch đứt ngăn cách */
section.ty-page .ty-total-row + .ty-total-row--grand {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px dashed #dcdce2;
}
section.ty-page .ty-total-row--grand > span { white-space: nowrap; }
section.ty-page .ty-total-row--grand strong {
  font-size: clamp(22px, .8vw + 17px, 26px);
  font-weight: 700;
  letter-spacing: -.3px;
  color: #e8114a;
  font-variant-numeric: tabular-nums;
}

/* --- Nút cuối trang --- */
section.ty-page .ty-actions { margin: 28px 0 0; padding: 4px 0 8px; text-align: center; }
section.ty-page .ty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  height: 52px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--hd-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .2px;
  text-transform: none;
  box-shadow: 0 8px 22px rgba(239, 70, 121, .28);
  transition: background-color .15s, box-shadow .15s;
}
section.ty-page .ty-btn::after {
  content: "";
  width: 16px;
  height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 5h13.5M10.5 1l4 4-4 4'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 5h13.5M10.5 1l4 4-4 4'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .2s;
}
section.ty-page .ty-btn:hover { background: #e23a6c; color: #fff; box-shadow: 0 10px 26px rgba(239, 70, 121, .36); }
section.ty-page .ty-btn:hover::after { transform: translateX(4px); }
section.ty-page .ty-help { margin: 14px 0 0; font-size: 13.5px; color: var(--ty-muted); }
section.ty-page .ty-help a { font-weight: 600; color: var(--hd-accent); }

