/* ===========================================================
   NhÃ  thuá»‘c An PhÆ°á»›c â€” Polish khá»›p máº«u (style-v3)
   Náº¡p SAU style-v2.css. Má»¥c tiÃªu: bÃ¡m SÃT file máº«u
   trangchu.html (Tailwind) â€” pháº³ng, sáº¡ch, chuáº©n nhÃ  thuá»‘c.
   Giá»¯ nguyÃªn toÃ n bá»™ HTML/PHP, class .ap-*, slug/link.
   Token máº«u: primary #0056b3 Â· navy #0b336a Â· green #009b4e
   Â· font Plus Jakarta Sans Â· ná»n tráº¯ng Â· bÃ³ng nháº¹.
   =========================================================== */
:root{
    --ap-blue:#0056b3;
    --ap-blue-dark:#0b336a;
    --ap-blue-deep:#0b336a;
    --ap-blue-soft:#eff6ff;
    --ap-green:#009b4e;
    --ap-green-dark:#007e3f;
    --ap-red:#dc2626;
    --ap-amber:#f59e0b;
    --ap-text:#1f2937;
    --ap-muted:#6b7280;
    --ap-border:#e5e7eb;
    --ap-bg:#ffffff;
    --ap-surface-dim:#f8f9fa;
    --ap-radius:12px;
    --ap-radius-lg:16px;
    --ap-shadow-sm:0 1px 2px rgba(0,0,0,.06);
    --ap-shadow:0 1px 3px rgba(0,0,0,.08);
    --ap-shadow-md:0 6px 18px -6px rgba(0,0,0,.14);
    --ap-font-body:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
}

/* ===== Ná»n & chá»¯: pháº³ng, sáº¡ch nhÆ° máº«u (KHÃ”NG gradient mesh) ===== */
body{
    font-family:var(--ap-font-body);
    color:var(--ap-text);
    background:var(--ap-bg);
    -webkit-font-smoothing:antialiased;
}
.wrap-content{ max-width:1200px; }

/* ===== Heading section: sans bold, KHÃ”NG serif ===== */
.ap-section-head h2,
.ap-hero-text h1,
.ap-toa .ap-toa-text h2{
    font-family:var(--ap-font-body);
    letter-spacing:0;
}

/* ============ HEADER ============ */
.ap-header{
    padding:10px 0;
}
.ap-header .wrap-content{
    max-width:1200px !important;
    gap:22px !important;
}
.ap-header .ap-logo{
    flex:0 0 180px;
}
.ap-header .ap-logo img{
    max-height:58px;
}
.ap-search,
.ap-header .ap-search.search-group{
    border:1px solid var(--ap-border) !important;
    border-radius:9999px;
}
.ap-header .ap-search.search-group{
    flex:1 1 auto !important;
    max-width:none;
    min-width:360px;
}
.ap-search-btn{
    background:var(--ap-blue) !important;
    border-radius:0 9999px 9999px 0 !important;
    width:50px !important;
}
.ap-header-actions{
    flex:0 0 auto;
    gap:22px !important;
}
.ap-header-action.ap-hotline{
    min-width:190px;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    white-space:nowrap;
}
.ap-header-action.ap-hotline i{
    flex:0 0 auto;
    color:var(--ap-blue);
    font-size:30px;
    line-height:1;
}
.ap-header-action.ap-hotline span{
    display:flex;
    flex-direction:column;
    justify-content:center;
    color:#667085;
    font-size:15px;
    line-height:1.2;
    text-align:left;
}
.ap-header-action.ap-hotline b{
    display:block;
    color:var(--ap-red);
    font-size:22px;
    font-weight:800;
    line-height:1.05;
    letter-spacing:.2px;
}

/* ============ NAV xanh ============ */
.ap-nav{
    background:var(--ap-blue);
    height:56px;
}
.ap-nav > .wrap-content{
    height:56px;
    justify-content:flex-start !important;
    gap:18px !important;
}
.ap-nav .ap-allcat{
    background:#004a99;
    height:42px;
    padding:0 18px !important;
    border-radius:0;
    align-self:center;
}
.ap-nav ul.menu-main{
    flex:1 1 auto !important;
    width:auto !important;
    height:56px;
    display:flex !important;
    align-items:center;
    justify-content:space-between !important;
}
.ap-nav .menu-main > li{
    flex:1 1 0;
    min-width:0;
}
.ap-nav .menu-main > li > a{
    height:56px;
    padding:0 !important;
    display:flex;
    align-items:center;
    justify-content:center;
}
.ap-nav .menu-main > li > a h2{
    width:100%;
    height:56px;
    line-height:56px;
    padding:0 10px !important;
    font-size:14px !important;
    letter-spacing:0;
}
.ap-nav ul li a:hover,
.ap-nav .menu-main li a:hover{ color:#dbeafe; }
.ap-nav .menu-main > li > a.active,
.ap-nav .menu-main > li:hover > a{
    background:rgba(255,255,255,.14);
}
.ap-nav .menu-main > li > a:hover h2{
    background:transparent !important;
}
.ap-nav .menu-main > li.mega-menu{
    position:static;
}
.ap-nav .menu-main > li.mega-menu > ul{
    left:50% !important;
    right:auto !important;
    top:56px !important;
    width:min(1120px, calc(100vw - 40px)) !important;
    max-height:420px;
    padding:22px 24px;
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px 34px;
    overflow:auto;
    border:1px solid #e5e7eb;
    border-radius:0 0 8px 8px;
    box-shadow:0 18px 36px rgba(15,23,42,.12) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateX(-50%) translateY(8px) scale(.98) !important;
    transform-origin:top center !important;
    transition:opacity .18s ease, visibility .18s ease, transform .18s ease !important;
}
.ap-nav .menu-main > li.mega-menu:hover > ul{
    opacity:1 !important;
    visibility:visible !important;
    transform:translateX(-50%) translateY(0) scale(1) !important;
    pointer-events:auto !important;
}
.ap-nav .menu-main > li.mega-menu > ul > li{
    float:none !important;
    width:auto !important;
    padding:0 !important;
}
.ap-nav .menu-main > li.mega-menu > ul > li > a{
    border:0 !important;
    color:#111827 !important;
    padding:0 !important;
}
.ap-nav .menu-main > li.mega-menu > ul > li > a h2{
    color:#111827 !important;
    border-bottom:1px solid #c7ddf8 !important;
    margin:0 0 10px !important;
    padding:0 0 10px !important;
    font-size: 16px !important;
    line-height:1.35;
    text-transform:uppercase;
    font-weight: 600;
}
.ap-nav .menu-main > li.mega-menu > ul > li > ul{
    position:static !important;
    height:auto !important;
    max-height:240px;
    display:block !important;
    overflow-y:auto;
    overflow-x:hidden;
    transform:none !important;
    opacity:0 !important;
    visibility:hidden !important;
    box-shadow:none !important;
    border:0 !important;
    padding:0 !important;
    pointer-events:none !important;
}
.ap-nav .menu-main > li.mega-menu:hover > ul > li > ul{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
}
.ap-nav .menu-main > li.mega-menu > ul > li > ul > li{
    float:none !important;
    width:100% !important;
    padding:0 !important;
}
.ap-nav .menu-main > li.mega-menu > ul > li > ul > li > a{
    border:0 !important;
    color:#111827 !important;
    padding:0 !important;
}
.ap-nav .menu-main > li.mega-menu > ul > li > ul > li > a:hover{color:#0255b2 !important} 
.ap-nav .menu-main > li.mega-menu > ul > li > ul > li > a h2{
    /* color:#111827 !important; */
    border:0 !important;
    margin:0 !important;
    padding:7px 0 !important;
    font-size: 15px !important;
    line-height:1.35;
    text-align:left;
    text-transform:none;
}
.ap-nav .menu-main > li.mega-menu > ul > li > ul::-webkit-scrollbar{
    width:4px;
}
.ap-nav .menu-main > li.mega-menu > ul > li > ul::-webkit-scrollbar-thumb{
    background:#cbd5e1;
    border-radius:9999px;
}
@media (max-width:768px){
    .ap-header .ap-logo{
        flex:0 0 150px;
    }
    .ap-header .ap-search.search-group{
        min-width:0;
        flex:1 1 260px !important;
    }
    .ap-nav,
    .ap-nav > .wrap-content{
        height:auto;
    }
    .ap-nav ul.menu-main{
        display:none !important;
    }
}

/* ============ HERO â€” pháº³ng, ná»n xanh nháº¡t, KHÃ”NG glass/gradient ============ */
.ap-hero{
    position:relative;
    overflow:hidden;
    padding:48px 0;
    background:var(--ap-blue-soft);
}
.ap-hero::before{ display:none; }
.ap-hero .wrap-content{ gap:32px; align-items:flex-start; }
.ap-hero-text{ animation:none; padding-top:8px; }
.ap-hero-text h1{
    font-size:42px;
    font-weight:800;
    line-height:1.1;
    letter-spacing:0;
    color:var(--ap-blue);
    margin:0 0 14px;
}
.ap-hero-text h1 b{
    color:var(--ap-blue);
    background:none;
    -webkit-text-fill-color:currentColor;
}
.ap-hero-text .ap-hero-sub{
    font-size:18px;
    line-height:1.55;
    color:#374151;
    max-width:30em;
    margin-bottom:24px;
}
/* Äiá»ƒm nháº¥n: 2 cá»™t, KHÃ”NG card glass */
.ap-hero-points{ gap:18px 28px; margin-bottom:30px; }
.ap-hero-points .ap-hp{
    background:none;
    border:0;
    border-radius:0;
    padding:0;
    box-shadow:none;
    backdrop-filter:none;
    flex:0 0 auto;
}
.ap-hero-points .ap-hp strong{ font-size:14px; font-weight:700; color:#1f2937; }
.ap-hero-points .ap-hp span{ font-size:13px; color:var(--ap-muted); }

/* áº¢nh hero: pháº³ng, KHÃ”NG viá»n/Ä‘á»• bÃ³ng sÃ¢u */
.ap-hero-img img{
    border-radius:0;
    box-shadow:none;
    border:0;
    animation:none;
}
/* Card tÆ° váº¥n: tráº¯ng Ä‘áº·c, bÃ³ng vá»«a (nhÆ° máº«u) */
.ap-hero-consult{
    background:#fff;
    border:1px solid #f3f4f6;
    border-radius:var(--ap-radius-lg);
    box-shadow:0 20px 40px -16px rgba(0,0,0,.25);
    backdrop-filter:none;
    animation:none;
    max-width:288px;
    padding:24px;
}
.ap-hero-consult h4{
    justify-content:center;
    font-weight:700;
    color:#1f2937;
}
.ap-hero-consult h4::before{ display:none; }
.ap-hero-consult a{ border-radius:8px; }
.ap-hero-consult a.zalo{ background:#0068ff; }
.ap-hero-consult a.mess{ background:#0084ff; }
.ap-hero-consult a.call{ background:var(--ap-green); }

/* ============ NÃºt CTA â€” pháº³ng, KHÃ”NG gradient ============ */
.ap-btn{
    border-radius:9999px;
    padding:13px 30px;
    font-weight:700;
    box-shadow:var(--ap-shadow);
    transition:background .18s ease;
}
.ap-btn-blue{ background:var(--ap-blue-dark); }
.ap-btn-blue:hover{ background:#082a57; transform:none; filter:none; }
.ap-btn-green{ background:var(--ap-green); }
.ap-btn-green:hover{ background:var(--ap-green-dark); transform:none; filter:none; }
.ap-hero-btns .ap-btn{ box-shadow:var(--ap-shadow-md); }


.ap-commit{
    background:#fff;
    border:0;
    border-bottom:1px solid #f3f4f6;
    border-radius:0;
    box-shadow:none;
    margin:0 auto;
    padding:48px 0;
    gap:16px;
}
.ap-commit .ap-commit-item:not(:last-child)::after{ display:none; }
.ap-commit .ap-commit-item i{
    width: 45px;
    height:48px;
    line-height:48px;
    margin:0 auto 12px;
    border-radius:0;
    background:none;
    color:var(--ap-blue);
    font-size:24px;
}
.ap-commit .ap-commit-item:hover i{ transform:none; }
.ap-commit .ap-commit-item strong{
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    color:#1f2937;
}
.ap-commit .ap-commit-item span{ font-size:10.5px; color:var(--ap-muted); }
.ap-commit .ap-commit-item .ap-commit-ic-img{ width:40px; height:40px; margin-bottom:12px; }

/* ============ TIÃŠU Äá»€ SECTION â€” viá»n dÆ°á»›i máº£nh, chá»¯ xanh uppercase ============ */
.ap-section{ margin-bottom:48px; }
.ap-section-head{
    border-bottom:1px solid var(--ap-border);
    padding-bottom:16px;
    margin-bottom:32px;
    align-items:flex-end;
}
.ap-section-head h2{
    font-size:20px;
    font-weight:700;
    text-transform:uppercase;
    color:var(--ap-blue);
    letter-spacing:0;
    padding-left:0;
}
.ap-section-head h2::before{ display:none; }
.ap-section-head a.ap-viewall{
    border:0;
    background:none;
    padding:0;
    border-radius:0;
    color:#2563eb;
    font-size:14px;
    font-weight:500;
}
.ap-section-head a.ap-viewall:hover{
    background:none;
    color:#2563eb;
    text-decoration:underline;
    box-shadow:none;
}
.ap-section-head a.ap-viewall:hover i{ transform:none; }

/* ============ DANH Má»¤C Ná»”I Báº¬T â€” vÃ²ng trÃ²n, hover bÃ³ng nháº¹ ============ */
.ap-cats{ gap:16px; }
.ap-cats .ap-cat-ic{
    border-radius:9999px;
    border:0;
    box-shadow:none;
    width:80px; height:80px;
    margin:0 auto 12px;
    padding:8px;
}
.ap-cats .ap-cat:hover .ap-cat-ic{
    transform:none;
    box-shadow:var(--ap-shadow-md);
}
.ap-cats .ap-cat h3{ font-size:12px; font-weight:500; transition:color .18s ease; }
.ap-cats .ap-cat:hover h3{ color:var(--ap-blue); }
/* mÃ u pastel ná»n trÃ²n xen káº½ nhÆ° máº«u */
.ap-cats .ap-cat:nth-child(8n+1) .ap-cat-ic{background:var(--ap-blue-soft)}
.ap-cats .ap-cat:nth-child(8n+2) .ap-cat-ic{background:#fdf2f8}
.ap-cats .ap-cat:nth-child(8n+3) .ap-cat-ic{background:#fefce8}
.ap-cats .ap-cat:nth-child(8n+4) .ap-cat-ic{background:#fef2f2}
.ap-cats .ap-cat:nth-child(8n+5) .ap-cat-ic{background:#fee2e2}
.ap-cats .ap-cat:nth-child(8n+6) .ap-cat-ic{background:var(--ap-blue-soft)}
.ap-cats .ap-cat:nth-child(8n+7) .ap-cat-ic{background:#fdf2f8}
.ap-cats .ap-cat:nth-child(8n+8) .ap-cat-ic{background:#faf5ff}

/* ============ CARD Sáº¢N PHáº¨M DÃ™NG CHUNG ============ */
.ap-pcard{
    border:1px solid #f3f4f6;
    border-radius:8px;
    box-shadow:var(--ap-shadow-sm);
    padding:16px;
    min-height:100%;
}
.ap-pcard.product{
    float:none !important;
    width:auto !important;
    text-align:left !important;
    margin:0 !important;
}
.ap-pcard:hover{
    transform:none;
    box-shadow:var(--ap-shadow-md);
    border-color:#f3f4f6;
}
.ap-pcard .ap-pcard-img{
    padding:0;
    height:170px;
    margin-bottom:16px;
    background:#f4fbfa;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.ap-pcard .ap-pcard-img img{
    width:100%;
    height:100%;
    max-height:100%;
    object-fit:contain;
}
.ap-pcard:hover .ap-pcard-img img{ transform:none; }
.ap-pcard .ap-pcard-body{ padding:0; }
.ap-pcard .ap-pcard-badge{
    border-radius:4px;
    padding:4px 8px;
    font-size:10px;
    box-shadow:none;
    background:var(--ap-red);
    letter-spacing:0;
}
.ap-pcard .ap-pcard-badge.chinhhang{ background:#22c55e; }
.ap-pcard .ap-pcard-name{ font-size:14px; font-weight:700; transition:color .18s ease; }
.ap-pcard:hover .ap-pcard-name{ color:var(--ap-blue); }
.ap-pcard .ap-pcard-desc{
    font-size:12px;
    line-height:1.45;
    min-height:34px;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.ap-pcard .ap-pcard-rating i{ color:var(--ap-amber); }
.ap-pcard .ap-pcard-price .new{
    background:none;
    -webkit-text-fill-color:currentColor;
    color:var(--ap-red);
    font-weight:700;
    font-size:16px;
}
.ap-pcard .ap-pcard-cart{
    width:38px; height:38px;
    background:var(--ap-blue-soft);
    color:var(--ap-blue);
    box-shadow:none;
}
.ap-pcard .ap-pcard-cart:hover{
    background:var(--ap-blue);
    color:#fff;
    transform:none;
    filter:none;
}
.ap-detail-mb-related-grid .ap-pcard .ap-pcard-price .new{
    font-size: 13px;
}
.ap-detail-mb-related-grid .ap-pcard .ap-pcard-price .old{
    font-size:12px;
    margin: 0;
}
/* ============ BANNER Gá»¬I TOA â€” ná»n xanh nháº¡t pháº³ng, KHÃ”NG gradient/hoáº¡ tiáº¿t ============ */
.ap-toa{
    background:var(--ap-blue-soft);
    border-radius:var(--ap-radius-lg);
    padding:32px;
    box-shadow:none;
    overflow:hidden;
}
.ap-toa::before,
.ap-toa::after{ display:none; }
.ap-toa .ap-toa-text h2{
    color:var(--ap-blue);
    font-size:24px;
    font-weight:700;
    text-transform:uppercase;
}
.ap-toa .ap-toa-text h2 b{ color:var(--ap-blue); }
.ap-toa .ap-toa-text p{ color:var(--ap-muted); font-size:14px; }
.ap-toa .ap-toa-btns .ap-btn{ border-radius:9999px; padding:11px 24px; font-weight:500; font-size:14px; }
.ap-toa .ap-toa-btns .ap-btn-blue{ background:#0068ff; color:#fff; }
.ap-toa .ap-toa-btns .ap-btn-blue:hover{ background:#0058e0; color:#fff; }
.ap-toa .ap-toa-btns .ap-btn-green{
    background:#fff;
    color:#0084ff;
    border:1px solid #0084ff;
}
.ap-toa .ap-toa-btns .ap-btn-green:hover{ background:var(--ap-blue-soft); color:#0084ff; }

/* ============ VÃŒ SAO CHá»ŒN (tiÃªu chÃ­) â€” GIá»® NGUYÃŠN form, polish khá»›p máº«u ============ */
.ap-why{ gap:24px; }
.ap-why .ap-why-item{
    background:var(--ap-surface-dim);
    border:1px solid #f3f4f6;
    border-radius:var(--ap-radius);
    padding:16px;
    box-shadow:none;
    align-items:flex-start;
}
.ap-why .ap-why-item:hover{ transform:none; box-shadow:none; }
.ap-why .ap-why-item i{
    width:48px; height:48px; line-height:48px; text-align:center;
    border-radius:9999px;
    background:#dbeafe;
    color:var(--ap-blue);
    font-size:20px;
}
.ap-why .ap-why-item:nth-child(2) i{ background:#dcfce7; color:var(--ap-green); }
.ap-why .ap-why-item:nth-child(3) i{ background:#fef9c3; color:#ca8a04; }
.ap-why .ap-why-item strong{
    font-size:14px;
    font-weight:600;
    text-transform:uppercase;
    color:#1f2937;
}
.ap-why .ap-why-item span{ font-size:12px; color:var(--ap-muted); }

/* ============ TIN Tá»¨C â€” card gá»n theo máº«u trang chá»§ ============ */
.ap-section:has(.ap-news) .ap-section-head{
    margin-bottom:18px;
    padding-bottom:12px;
}
.ap-section:has(.ap-news) .ap-section-head h2{
    font-size:18px;
    line-height:1.25;
    color:#0b336a;
}
.ap-section:has(.ap-news) .ap-section-head a.ap-viewall{
    font-size:13px;
}
.ap-news{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:22px;
}
.ap-news .ap-news-card{
    display:block;
    overflow:hidden;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:6px;
    box-shadow:none;
}
.ap-news .ap-news-card:hover{
    transform:none;
    box-shadow:none;
    border-color:#dbe3ee;
}
.ap-news .ap-news-thumb{
    display:block;
    /* height:132px; */
    aspect-ratio:auto;
    overflow:hidden;
    background:#f3f4f6;
}
.ap-news .ap-news-thumb img{
    /* width:100%; */
    /* height:100%; */
    object-fit:cover;
}
.ap-news .ap-news-card:hover .ap-news-thumb img{ transform:none; }
.ap-news .ap-news-info{
    display:block;
    min-height:90px;
    padding:12px 12px 14px;
}
.ap-news .ap-news-date{
    background:none;
    color:#6b7280;
    display:block;
    padding:0;
    border-radius:0;
    font-weight:400;
    font-size:11.5px;
    line-height:1.25;
    margin-bottom:8px;
}
.ap-news .ap-news-date i{ display:none; }
.ap-news .ap-news-title{
    color:#111827;
    font-size:14px;
    font-weight:700;
    line-height:1.38;
    min-height:39px;
    margin:0;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.ap-news .ap-news-card:hover .ap-news-title{ color:var(--ap-blue); }

/* ============ FOOTER â€” navy pháº³ng, KHÃ”NG gradient/viá»n sÃ¡ng ============ */
.ap-footer{
    background:var(--ap-blue-dark);
    color:#dbeafe;
    margin-top:0;
    padding:48px 0 24px;
}
.ap-footer::before{ display:none; }
.ap-footer h3,
.ap-footer .title-footer{
    color:#fff;
    font-size:18px;
    font-weight:700;
    text-transform:uppercase;
    padding-bottom:0;
}
.ap-footer h3::before,
.ap-footer h3::after,
.ap-footer .title-footer::before,
.ap-footer .title-footer::after{ display:none !important; }
.ap-footer ul li a:hover{ color:#fff; padding-left:0; }
.ap-footer .ap-footer-bottom{ border-top:1px solid #1e4080; color:#93c5fd; }
.ap-footer .ap-badge-bct{
    background:var(--ap-green);
    border:0;
    color:#fff;
    border-radius:6px;
}

/* ============ Bá» animation reveal (máº«u khÃ´ng cÃ³) ============ */
@media (prefers-reduced-motion:no-preference){
    .ap-section{ animation:none; }
}

/* ============ Homepage match áº£nh chuáº©n - dá»¯ liá»‡u admin ============ */
.ap-hero{
    padding:48px 0 88px;
    background:#eef6ff;
}
.ap-hero .wrap-content{
    display:grid;
    grid-template-columns:minmax(360px,430px) minmax(0,1fr);
    align-items:center;
    gap:30px;
}
.ap-hero-text{
    max-width:470px;
}
.ap-hero-text h1{
    letter-spacing:0;
    font-size:40px;
    line-height:1.12;
    max-width:440px;
}
.ap-hero-img{
    min-height:360px;
    min-width:0;
}
.ap-hero-img > a{
    display:block;
    height:360px;
    overflow:hidden;
}
.ap-hero-img img{
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    object-position:center;
}
.ap-hero-consult{
    right:24px;
    top:50%;
    transform:translateY(-50%);
}

.ap-commit{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:0;
    margin:-48px auto 30px;
    padding:22px 0;
    background:#fff;
    border:1px solid #eef2f7;
    border-radius:8px;
    box-shadow:0 16px 36px rgba(15,23,42,.08);
}
.ap-commit .ap-commit-item{
    min-width:0;
    padding:0 18px;
    border-right:1px solid #edf2f7;
}
.ap-commit .ap-commit-item:last-child{ border-right:0; }
.ap-commit .ap-commit-item i{
    color:var(--ap-green);
    font-size:28px;
}

.ap-cats{
    grid-template-columns:repeat(8,1fr);
    gap:16px;
}
.ap-cats .ap-cat-ic{
    width:100%;
    height:auto;
    aspect-ratio:1/1;
    border-radius:8px;
    padding:10px;
    margin:0 auto 10px;
}
.ap-cats .ap-cat-ic img{
    width:86%;
    height:86%;
}
.ap-cats .ap-cat h3{
    min-height:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:1.35;
}

.ap-toa{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
    min-height:210px;
}
.ap-toa .ap-toa-text{
    flex:1 1 430px;
    position:relative;
    z-index:1;
}
.ap-toa-media{
    flex:0 1 420px;
    display:flex;
    justify-content:center;
    align-items:center;
}
.ap-toa-media img{
    max-width:100%;
    max-height:220px;
    object-fit:contain;
}

.ap-footer{
    padding:36px 0 0;
}
.ap-footer .ap-footer-grid{
    grid-template-columns:1.15fr 1.15fr .9fr 1.2fr !important;
    gap:36px;
}
.ap-footer .footer-news{
    width:auto !important;
    float:none !important;
}
.ap-footer .title-footer{
    font-size:15px;
    margin-bottom:16px;
    white-space:normal;
    border:0 !important;
    text-decoration:none !important;
}
.ap-footer-intro{
    font-size:13.5px;
    line-height:1.7;
    color:#dbeafe;
    margin-bottom:16px;
}
.ap-footer-cert-label{
    margin:0 0 8px;
    font-weight:600;
    color:#fff;
}
.ap-footer .ap-badge-bct{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:8px 12px;
    font-size:12px;
    font-weight:700;
}
.ap-footer-contact li{
    display:flex;
    align-items:flex-start;
    gap:10px;
}
.ap-footer-contact li i{
    width:18px;
    margin-top:3px;
    color:#fff;
}
.ap-footer .footer-ul li{
    margin-bottom:10px;
    font-size:13.5px;
    line-height:1.5;
}
.ap-footer .footer-powered{
    margin-top:28px;
    /* padding:16px 0; */
    border-top:1px solid rgba(255,255,255,.1);
    background:#063b85 !important;
}
.ap-footer .footer-powered .wrap-content{
    min-height:auto;
}
.ap-footer .copyright,
.ap-footer .footer-designer{
    margin:0;
    color:#bfdbfe;
    font-size:12px;
}
.float-contact,
.btn-zalo,
.btn-phone,
.scrollToTop{
    display:none !important;
}

/* ============ TRANG DANH Má»¤C Sáº¢N PHáº¨M ============ */
.ap-cat-strip{
    display:grid;
    grid-template-columns:repeat(8,minmax(0,1fr));
    gap:14px;
    margin:18px 0 28px;
}
.ap-cat-tile{
    min-height:118px;
    border:1px solid var(--ap-border);
    border-radius:8px;
    background:#fff;
    color:#111827;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px 10px;
    text-align:center;
    font-size:13px;
    font-weight:600;
    line-height:1.35;
    text-decoration:none !important;
    box-shadow:var(--ap-shadow-sm);
}
.ap-cat-tile:hover,
.ap-cat-tile.active{
    border-color:var(--ap-blue);
    color:var(--ap-blue);
    box-shadow:0 10px 24px rgba(0,86,179,.10);
}
.ap-cat-tile-ic{
    width:54px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.ap-cat-tile-ic img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}
.ap-cat-head{
    margin:0 0 22px;
}
.ap-cat-head h1{
    font-size:28px;
    line-height:1.25;
    margin:0 0 10px;
    color:#111827;
    font-weight:800;
}
.ap-cat-head h1 span{
    color:var(--ap-muted);
    font-size:16px;
    font-weight:600;
}
.ap-cat-desc{
    max-width:760px;
    color:var(--ap-muted);
    margin:0;
    line-height:1.7;
}
.ap-cat-layout{
    display:grid;
    grid-template-columns:250px minmax(0,1fr);
    gap:24px;
    align-items:start;
}
.ap-filter{
    min-width:0;
}
.ap-filter-backdrop,
.ap-filter-head-mobile,
.ap-filter-open,
.ap-filter-close{
    display:none;
}
.ap-filter-form,
.ap-prescription-box{
    background:#fff;
    border:1px solid #eef2f7;
    border-radius:8px;
    box-shadow:var(--ap-shadow-sm);
}
.ap-filter-form{
    padding:18px 16px;
}
.ap-filter-block{
    padding:0 0 16px;
    margin:0 0 16px;
    border-bottom:1px solid #eef2f7;
}
.ap-filter-block:last-of-type{
    border-bottom:0;
    margin-bottom:0;
}
.ap-filter-block h4{
    margin:0 0 12px;
    font-size:14px;
    line-height:1.4;
    font-weight:800;
    color:#111827;
}
.ap-filter-block label,
.ap-filter-link{
    display:flex;
    align-items:center;
    gap:9px;
    min-height:28px;
    margin:0 0 8px;
    color:#1f2937;
    font-size:13px;
    font-weight:500;
    line-height:1.35;
    text-decoration:none !important;
    cursor:pointer;
}
.ap-filter-block label:last-child,
.ap-filter-link:last-child{
    margin-bottom:0;
}
.ap-filter-block input[type="radio"],
.ap-filter-block input[type="checkbox"]{
    width:14px;
    height:14px;
    margin:0;
    accent-color:var(--ap-blue);
    flex:0 0 auto;
}
.ap-filter-block label span,
.ap-filter-link span{
    min-width:0;
    flex:1 1 auto;
}
.ap-filter-block label em,
.ap-filter-link em{
    flex:0 0 auto;
    color:#64748b;
    font-style:normal;
    font-size:12px;
}
.ap-filter-link.active,
.ap-filter-link:hover{
    color:var(--ap-blue);
}
.ap-price-inputs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    margin-bottom:12px;
}
.ap-price-inputs input{
    min-width:0;
    width:100%;
    height:36px;
    border:1px solid var(--ap-border);
    border-radius:6px;
    padding:0 10px;
    font-size:13px;
    outline:none;
}
.ap-price-inputs input:focus{
    border-color:var(--ap-blue);
    box-shadow:0 0 0 3px rgba(0,86,179,.10);
}
.ap-filter-actions{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding-top:4px;
}
.ap-btn-filter,
.ap-btn-clear{
    min-height:40px;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:13px;
    font-weight:700;
    text-decoration:none !important;
}
.ap-btn-filter{
    border:0;
    background:var(--ap-blue);
    color:#fff;
    cursor:pointer;
}
.ap-btn-filter:hover{
    background:#004a99;
}
.ap-btn-clear{
    color:#64748b;
    background:#f8fafc;
}
.ap-btn-clear:hover{
    color:var(--ap-blue);
}
.ap-prescription-box{
    margin-top:16px;
    padding:18px 16px;
}
.ap-prescription-box img{
    width:100%;
    max-height:150px;
    object-fit:contain;
    margin-bottom:12px;
}
.ap-prescription-box strong{
    display:block;
    color:#111827;
    font-size:14px;
    line-height:1.45;
    margin-bottom:8px;
}
.ap-prescription-box p{
    color:#64748b;
    font-size:12.5px;
    line-height:1.6;
    margin:0 0 12px;
}
.ap-prescription-box a{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:38px;
    border-radius:6px;
    background:var(--ap-green);
    color:#fff;
    font-size:13px;
    font-weight:700;
    text-decoration:none !important;
}
.ap-cat-main{
    min-width:0;
}
.ap-products.col-4,
.ap-products.col-5{
    width:100% !important;
    max-width:100% !important;
    flex:none !important;
    padding-left:0 !important;
    padding-right:0 !important;
}
.ap-cat-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:16px;
    margin-bottom:18px;
}
.ap-filter-open{
    min-height:38px;
    border:1px solid var(--ap-blue);
    border-radius:6px;
    background:#fff;
    color:var(--ap-blue);
    padding:0 14px;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:13px;
    font-weight:800;
}
.ap-cat-total{
    color:#64748b;
    font-size:14px;
}
.ap-toolbar-actions{
    display:flex;
    align-items:center;
    gap:12px;
}
.ap-sort{
    display:flex;
    align-items:center;
    gap:8px;
    color:#64748b;
    font-size:13px;
}
.ap-sort select{
    height:38px;
    min-width:160px;
    border:1px solid var(--ap-border);
    border-radius:6px;
    padding:0 34px 0 12px;
    background:#fff;
    color:#111827;
    font-size:13px;
    outline:none;
}
.ap-view-switch{
    display:flex;
    gap:6px;
}
.ap-view-switch button{
    width:38px;
    height:38px;
    border:1px solid var(--ap-border);
    border-radius:6px;
    background:#fff;
    color:#64748b;
}
.ap-view-switch button.active{
    color:#fff;
    border-color:var(--ap-blue);
    background:var(--ap-blue);
}
.ap-cat-main .ap-products.col-4{
    grid-template-columns:repeat(4,minmax(0,1fr));
}
.ap-cat-main .ap-pcard{
    min-width:0;
}
.ap-pcard .ap-pcard-disc{
    position:absolute;
    top:14px;
    right:14px;
    z-index:2;
    min-width:38px;
    height:24px;
    padding:0 8px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff1f2;
    color:#e11d48;
    font-size:11px;
    font-weight:800;
}
.ap-pcard .ap-pcard-badge.kedon{
    background:var(--ap-blue);
}
.ap-pcard .ap-pcard-foot{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:auto;
}
.ap-pcard .ap-pcard-advise{
    flex:1 1 auto;
    min-height:36px;
    border:1px solid var(--ap-green);
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    color:var(--ap-green);
    font-size:12.5px;
    font-weight:700;
    text-decoration:none !important;
}
.ap-pcard .ap-pcard-advise:hover{
    background:var(--ap-green);
    color:#fff;
}
.ap-pcard .ap-pcard-advise.disabled{
    border-color:#e5e7eb;
    color:#9ca3af;
    pointer-events:none;
}
.ap-no-result,
.ap-loading{
    min-height:160px;
    border:1px dashed var(--ap-border);
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#64748b;
    background:#f8fafc;
}
.ap-load-more-wrap{
    display:flex;
    justify-content:center;
    margin:24px 0 0;
}
.ap-load-more{
    min-width:220px;
    min-height:44px;
    border:1px solid var(--ap-blue);
    border-radius:6px;
    background:#fff;
    color:var(--ap-blue);
    font-size:14px;
    font-weight:800;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
}
.ap-load-more:hover{
    background:var(--ap-blue);
    color:#fff;
}
.ap-load-more[disabled]{
    opacity:.75;
    cursor:wait;
}
.ap-interest{
    margin-top:34px;
}
.ap-interest h2{
    margin:0 0 12px;
    font-size:20px;
    line-height:1.35;
    color:#111827;
    font-weight:800;
}
.ap-interest-tabs{
    display:flex;
    align-items:center;
    gap:24px;
    overflow-x:auto;
    border-bottom:1px solid #eef2f7;
    margin-bottom:18px;
}
.ap-interest-tabs a{
    flex:0 0 auto;
    padding:0 0 12px;
    color:#111827;
    font-size:14px;
    font-weight:600;
    text-decoration:none !important;
    border-bottom:3px solid transparent;
}
.ap-interest-tabs a.active,
.ap-interest-tabs a:hover{
    color:var(--ap-green);
    border-bottom-color:var(--ap-green);
}
.ap-products-interest{
    grid-template-columns:repeat(4,minmax(0,1fr));
}

@media (max-width:1200px){
    .ap-cats{ grid-template-columns:repeat(4,1fr); }
    .ap-cat-strip{ grid-template-columns:repeat(4,minmax(0,1fr)); }
    .ap-products-interest{ grid-template-columns:repeat(4,minmax(0,1fr)); }
    .ap-footer .ap-footer-grid{ grid-template-columns:1fr 1fr !important; }
}
@media (min-width:769px){
    .app-commit-in{}
.app-commit-in .ap-commit{
    /* display: flex; */
    margin: 2rem auto 2rem;
}
.app-commit-in .ap-commit .ap-commit-item{
    display: flex;
    text-align: left;
    /* align-items: center; */
}
.app-commit-in .ap-commit .ap-commit-item i{
    margin: 0;
    /* width: auto; */
    text-align: ce;
}
.app-commit-in .ap-commit .ap-commit-content {
  display: flex;
  flex-direction: column; /* Xếp <strong> ở trên và <span> ở dưới */
  /* height: 100%; */
  /* align-items: center; */
  padding-top: 4px;
}
}
@media (max-width:768px){
    .ap-hero{ padding:28px 0 40px; }
    .ap-hero .wrap-content{ grid-template-columns:1fr; }
    .ap-hero-text{ max-width:100%; }
    .ap-hero-img{ min-height:0; }
    .ap-hero-img > a{ height:260px; }
    .ap-hero-consult{ position:static; transform:none; max-width:100%; margin-top:16px; }
    .ap-commit{ grid-template-columns:repeat(2,1fr); margin:18px auto 28px; }
    .ap-commit .ap-commit-item{ border-right:0; border-bottom:1px solid #edf2f7; padding:16px; }
    .ap-commit .ap-commit-item:nth-last-child(-n+2){ border-bottom:0; }
    .ap-toa{ flex-direction:column; align-items:flex-start; }
    .ap-toa-media{ width:100%; flex-basis:auto; }
    .ap-footer .ap-footer-grid{ grid-template-columns:1fr !important; }
    body.ap-filter-active{ overflow:hidden; }
    .ap-cat-layout{ grid-template-columns:1fr; }
    .ap-cat-toolbar{
        align-items:center;
        flex-direction:row;
        flex-wrap:wrap;
    }
    .ap-filter-open{ display:inline-flex; }
    .ap-cat-total{ margin-left:auto; }
    .ap-toolbar-actions{ width:100%; justify-content:space-between; }
    .ap-filter-backdrop{
        display:block;
        position:fixed;
        inset:0;
        z-index:1000;
        background:rgba(15,23,42,.45);
        opacity:0;
        visibility:hidden;
        transition:opacity .22s ease, visibility .22s ease;
    }
    .ap-filter{
        position:fixed;
        top:0;
        left:0;
        bottom:0;
        z-index:1001;
        width:min(88vw,360px);
        max-width:360px;
        margin:0;
        padding:16px;
        background:#fff;
        box-shadow:18px 0 40px rgba(15,23,42,.18);
        overflow-y:auto;
        transform:translateX(-105%);
        transition:transform .24s ease;
    }
    body.ap-filter-active .ap-filter{ transform:translateX(0); }
    body.ap-filter-active .ap-filter-backdrop{
        opacity:1;
        visibility:visible;
    }
    .ap-filter-head-mobile{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        padding:0 0 14px;
        margin-bottom:14px;
        border-bottom:1px solid #eef2f7;
    }
    .ap-filter-head-mobile strong{
        font-size:18px;
        line-height:1.35;
        color:#111827;
    }
    .ap-filter-close{
        display:flex;
        align-items:center;
        justify-content:center;
        width:36px;
        height:36px;
        border:1px solid var(--ap-border);
        border-radius:6px;
        background:#fff;
        color:#111827;
    }
    .ap-filter-form,
    .ap-filter .ap-prescription-box{
        border:0;
        box-shadow:none;
        border-radius:0;
        padding:0;
    }
    .ap-filter .ap-prescription-box{
        margin-top:18px;
        padding-top:18px;
        border-top:1px solid #eef2f7;
    }
    .ap-cat-main .ap-products.col-4,
    .ap-products-interest{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:480px){
    .ap-cats{ grid-template-columns:repeat(2,1fr); }
    .ap-cat-strip{ grid-template-columns:repeat(2,minmax(0,1fr)); }
    .ap-commit{ grid-template-columns:1fr; }
    .ap-commit .ap-commit-item{ border-bottom:1px solid #edf2f7 !important; }
    .ap-commit .ap-commit-item:last-child{ border-bottom:0 !important; }
}

.ap-detail-page{
    --ap-detail-blue:#1250dc;
    --ap-detail-green:#009b55;
    --ap-detail-red:#e11d28;
    --ap-detail-border:#e5eaf1;
    color:#101828;
}
.ap-detail-hero{
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);
    gap:34px;
    align-items:start;
    margin:24px 0 34px;
}
.ap-detail-media,
.ap-detail-summary,
.ap-detail-card,
.ap-detail-sidebox{
    border:1px solid var(--ap-detail-border);
    border-radius:8px;
    background:#fff;
}
.ap-detail-media{ padding:18px; }
.ap-detail-photo-wrap{
    position:relative;
    min-height:420px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.ap-detail-auth{
    position:absolute;
    top:0;
    left:0;
    z-index:2;
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 12px;
    color:var(--ap-detail-green);
    background:#eaf8f0;
    border:1px solid #bee9d0;
    border-radius:6px;
    font-size:13px;
    font-weight:700;
    text-decoration:none !important;
}
.ap-detail-photo,
.ap-detail-photo img{
    display:block;
    max-width:100%;
}
.ap-detail-photo img{
    /*max-height:430px;*/
    object-fit:contain;
}
.ap-detail-thumbs{
    display:flex;
    gap:10px;
    overflow-x:auto;
    padding:14px 0 4px;
}
.ap-detail-thumb{
    flex:0 0 72px;
    width:72px;
    height:72px;
    border:1px solid var(--ap-detail-border);
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
}
.ap-detail-thumb img{
    max-width:64px;
    max-height:64px;
    object-fit:contain;
}
.ap-detail-service-strip{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:14px;
    color:#667085;
    font-size:13px;
}
.ap-detail-service-strip span{
    display:flex;
    align-items:center;
    gap:7px;
    min-width:0;
}
.ap-detail-service-strip i{ color:var(--ap-detail-green); }
.ap-detail-summary{
    padding:22px;
}
.ap-detail-titleline h1{
    margin:8px 0;
    font-size:28px;
    line-height:1.28;
    font-weight:800;
    color:#101828;
}
.ap-detail-kedon{
    display:inline-flex;
    padding:5px 10px;
    border-radius:6px;
    background:#edf4ff;
    color:var(--ap-detail-blue);
    font-size:12px;
    font-weight:800;
    text-transform:uppercase;
}
.ap-detail-subtitle{
    margin:0 0 12px;
    color:#475467;
    font-size:15px;
}
.ap-detail-rating{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:16px;
    color:#667085;
    font-size:14px;
}
.ap-detail-rating > span{
    color:#101828;
    font-weight:700;
}
.ap-detail-rating i{ color:#f6b500; font-size:13px; }
.ap-detail-rating a{ color:var(--ap-detail-blue); text-decoration:none !important; }
.ap-detail-rating em{
    margin-left:10px;
    font-style:normal;
}
.ap-detail-price{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
}
.ap-detail-price strong{
    color:var(--ap-detail-red);
    font-size:28px;
    line-height:1;
    font-weight:800;
}
.ap-detail-price small{
    color:var(--ap-detail-red);
    font-size:16px;
    font-weight:800;
    margin-left:-7px;
}
.ap-detail-price del{ color:#98a2b3; }
.ap-detail-price span{
    color:var(--ap-detail-red);
    background:#fff1f3;
    border-radius:999px;
    padding:4px 8px;
    font-weight:700;
    font-size:13px;
}
.ap-detail-verified{
    color:var(--ap-detail-green);
    font-size:16px;
    margin-left:8px;
    vertical-align:middle;
    display: none;
}
.ap-detail-prescription{
    border:1px solid #d7eadf;
    background:#f6fbf8;
    border-radius:8px;
    padding:16px;
    margin-bottom:18px;
}
.ap-detail-prescription h2{
    margin:0 0 6px;
    font-size:16px;
    font-weight:800;
}
.ap-detail-prescription p{
    margin:0 0 12px;
    color:#475467;
}
.ap-detail-prescription div{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.ap-detail-prescription a,
.ap-detail-buy button,
.ap-detail-consult .phone,
.ap-detail-consult .chat{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:40px;
    padding:0 14px;
    border-radius:6px;
    font-weight:700;
    text-decoration:none !important;
}
.ap-detail-prescription .send,
.ap-detail-buy button,
.ap-detail-consult .phone{
    border:1px solid var(--ap-detail-green);
    background:var(--ap-detail-green);
    color:#fff;
}
.ap-detail-prescription .chat,
.ap-detail-consult .chat{
    border:1px solid #cfd8e3;
    background:#fff;
    color:#344054;
}
.ap-detail-specs{
    display:grid;
    gap:10px;
    margin:18px 0;
}
.ap-detail-specs div{
    display:grid;
    grid-template-columns:150px minmax(0,1fr);
    gap:12px;
    font-size:14px;
}
.ap-detail-specs span{ color:#667085; }
.ap-detail-specs b{
    color:#101828;
    font-weight:700;
}
.ap-detail-units{
    margin:20px 0 16px;
}
.ap-detail-units label{
    display:block;
    margin-bottom:10px;
    color:#111827;
    font-size:16px;
    font-weight:700;
}
.ap-detail-units > div{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.ap-detail-units .size-pro-detail{
    position:relative;
    min-width:86px;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #d7e0ec;
    border-radius:8px;
    padding:0 18px;
    color:#344054 !important;
    background:#fff;
    font-size:15px;
    font-weight:700;
    box-shadow:0 1px 2px rgba(16,24,40,.04);
    cursor:pointer;
    transition:background .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}
.ap-detail-units .size-pro-detail.active{
    border-color:var(--ap-detail-blue);
    background:#eef5ff;
    color:var(--ap-detail-blue) !important;
    font-weight:800;
    box-shadow:0 0 0 3px rgba(18,80,220,.1);
}
.ap-detail-units .size-pro-detail span{
    position:relative;
    z-index:2;
    color:inherit !important;
    line-height:1;
}
.ap-detail-units .size-pro-detail:before{
    content:none !important;
    display:none !important;
}
.ap-detail-units .size-pro-detail input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.ap-detail-buy{
    display:grid;
    grid-template-columns:auto 132px minmax(210px,320px);
    gap:14px;
    align-items:center;
    margin-top:20px;
}
.ap-detail-buy > span{
    color:#111827;
    font-size:16px;
    font-weight:800;
}
.ap-detail-buy .quantity-pro-detail{
    height:44px;
    display:grid;
    grid-template-columns:38px 1fr 38px;
    align-items:center;
    border:1px solid #d7e0ec;
    border-radius:10px;
    background:#fff;
    box-shadow:0 1px 2px rgba(16,24,40,.05);
    overflow:hidden;
}
.ap-detail-buy .quantity-pro-detail span{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    background:#f8fafc;
    color:#475467;
    font-size:18px;
    font-weight:800;
    transition:background .18s ease,color .18s ease;
}
.ap-detail-buy .quantity-pro-detail span:hover{
    background:#eef5ff;
    color:var(--ap-detail-blue);
}
.ap-detail-buy .qty-pro{
    width:100%;
    height:100%;
    border:0;
    border-left:1px solid #edf2f7;
    border-right:1px solid #edf2f7;
    color:#111827;
    text-align:center;
    font-weight:700;
    background:#fff;
}
.ap-detail-buy button{
    border-color:var(--ap-detail-blue);
    background:var(--ap-detail-blue);
    min-height:44px;
    border-radius:10px;
    padding:0 22px;
    font-size:16px;
    box-shadow:0 8px 18px rgba(18,80,220,.18);
    cursor:pointer;
    transition:background .18s ease,box-shadow .18s ease,transform .18s ease;
}
.ap-detail-buy button:hover{
    background:#0d45c3;
    box-shadow:0 10px 22px rgba(18,80,220,.22);
    transform:translateY(-1px);
}
.ap-detail-shipping{
    display:grid;
    gap:7px;
    border:1px solid #d9e9ff;
    background:#f5f9ff;
    border-radius:8px;
    padding:12px 14px;
    margin-top:14px;
    color:#344054;
    font-size:14px;
}
.ap-detail-shipping p{
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin:0;
}
.ap-detail-shipping i{
    color:var(--ap-detail-blue);
    margin-top:2px;
}
.ap-detail-stock{
    border-radius:6px;
    padding:10px 12px;
    margin:12px 0;
    font-weight:700;
}
.ap-detail-stock.wait{ color:#b45309; background:#fffbeb; }
.ap-detail-stock.out{ color:#b42318; background:#fff1f3; }
.ap-detail-files{
    display:grid;
    gap:6px;
    margin-top:16px;
}
.ap-detail-files a{
    color:var(--ap-detail-blue);
    text-decoration:none !important;
}
.ap-detail-body{
    display:grid;
    grid-template-columns:260px minmax(0,1fr);
    gap:28px;
    align-items:start;
}
.ap-detail-sidebar{
    display:grid;
    gap:16px;
}
.ap-detail-sidebox{
    padding:16px;
}
.ap-detail-sidebox h2,
.ap-detail-card h2,
.ap-detail-related h2{
    margin:0 0 14px;
    font-size:18px;
    line-height:1.35;
    font-weight:800;
    color:#101828;
}
.ap-detail-sidebox > a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 0;
    border-bottom:1px solid #edf2f7;
    color:#344054;
    text-decoration:none !important;
}
.ap-detail-sidebox > a:last-child{/* border-bottom:0; */}
.ap-detail-consult div{
    color:#667085;
    font-size:14px;
    margin-bottom:12px;
}
.ap-detail-consult .phone,
.ap-detail-consult .chat{
    width:100%;
    margin-top:8px;
}
.ap-detail-commitments p{
    display:flex;
    gap:8px;
    align-items:flex-start;
    margin:9px 0;
    color:#344054;
}
.ap-detail-commitments i{ color:var(--ap-detail-green); margin-top:3px; }
.ap-detail-main{
    min-width:0;
    display:grid;
    gap:18px;
}
.ap-detail-card{
    padding:18px;
}
.ap-detail-intro{
    color:#344054;
    line-height:1.7;
}
.ap-detail-tabnav{
    display:flex;
    gap:24px;
    overflow-x:auto;
    border-bottom:1px solid var(--ap-detail-border);
    margin:-4px -18px 18px;
    padding:0 18px;
}
.ap-detail-tabnav button{
    flex:0 0 auto;
    border:0;
    background:transparent;
    color:#344054;
    padding:0 0 13px;
    font-weight:700;
    cursor:pointer;
    border-bottom:3px solid transparent;
}
.ap-detail-tabnav button.active{
    color:var(--ap-detail-blue);
    border-bottom-color:var(--ap-detail-blue);
}
.ap-detail-tabpane{ display:none; }
.ap-detail-tabpane.active{ display:block; }
.ap-detail-table{
    border-top:1px solid #edf2f7;
    margin-bottom:18px;
}
.ap-detail-table > div{
    display:grid;
    grid-template-columns:190px minmax(0,1fr);
    border-bottom:1px solid #edf2f7;
}
.ap-detail-table span{
    padding:12px 14px;
    background:#f8fafc;
    color:#475467;
    font-weight:700;
}
.ap-detail-table p{
    margin:0;
    padding:12px 14px;
    color:#101828;
}
.ap-detail-rich{
    color:#344054;
    line-height:1.75;
}
.ap-detail-rich table{
    max-width:100% !important;
    width:100% !important;
}
.qa-list-detail{
    display:grid;
    gap:12px;
}
.qa-item-detail{
    border:1px solid #edf2f7;
    border-radius:8px;
    padding:14px;
}
.qa-question{ margin:0 0 10px; font-weight:700; }
.qa-q-label{ color:var(--ap-detail-blue); margin-right:6px; }
.qa-answer{
    background:#f8fafc;
    border-radius:6px;
    padding:12px;
}
.qa-answer p{ margin:0; }
.qa-a-label{ color:var(--ap-detail-green); font-weight:700; margin-bottom:6px !important; }
.ap-detail-related{
    margin-top:30px;
}
.ap-detail-related-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
}
@media (max-width:1024px){
    .ap-detail-hero,
    .ap-detail-body{
        grid-template-columns:1fr;
    }
    .ap-detail-sidebar{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .ap-detail-related-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:768px){
    .ap-detail-hero{ gap:18px; margin-top:14px; }
    .ap-detail-media,
    .ap-detail-summary,
    .ap-detail-card,
    .ap-detail-sidebox{ border-radius:6px; }
    .ap-detail-photo-wrap{ min-height:280px; }
    .ap-detail-titleline h1{ font-size:22px; }
    .ap-detail-price strong{ font-size:24px; }
    .ap-detail-service-strip,
    .ap-detail-sidebar{
        grid-template-columns:1fr;
    }
    .ap-detail-buy{
        grid-template-columns:1fr;
    }
    .ap-detail-buy .quantity-pro-detail{ width:132px; }
    .ap-detail-specs div,
    .ap-detail-table > div{
        grid-template-columns:1fr;
        gap:0;
    }
    .ap-detail-table span{ padding-bottom:4px; }
    .ap-detail-table p{ padding-top:4px; }
    .ap-detail-related-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.ap-detail-mb{
    overflow:hidden;
    /*padding:10px 10px 92px;*/
    background:#fff;
}
.ap-detail-mb *{
    max-width:100%;
    box-sizing:border-box;
}
.ap-detail-mb-head{
    padding:0 4px 12px;
}
.ap-detail-mb-head h1{
    margin:8px 0 6px;
    color:#101828;
    font-size:20px;
    line-height:1.35;
    font-weight:800;
}
.ap-detail-mb-gallery{
    border:1px solid #edf2f7;
    border-radius:10px;
    background:#fff;
    padding:10px;
}
.ap-detail-mb-photo{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:260px;
    aspect-ratio:1/0.78;
    background:#fff;
}
.ap-detail-mb-photo img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}
.ap-detail-mb-thumbs{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding:10px 0 2px;
    -webkit-overflow-scrolling:touch;
}
.ap-detail-mb-thumb{
    flex:0 0 66px;
    width:66px;
    height:66px;
    border:1px solid #e5eaf1;
    border-radius:8px;
    background:#fff;
    padding:4px;
    cursor:pointer;
}
.ap-detail-mb-thumb.active{
    border-color:var(--ap-detail-blue);
    box-shadow:0 0 0 2px rgba(18,80,220,.12);
}
.ap-detail-mb-thumb img{
    width:100%;
    height:100%;
    object-fit:contain;
}
.ap-detail-mb-services{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    padding:12px 2px;
}
.ap-detail-mb-services span{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:5px;
    color:#667085;
    text-align:center;
    font-size:11px;
    line-height:1.3;
}
.ap-detail-mb-services i{
    color:var(--ap-detail-green);
    font-size:18px;
}
.ap-detail-mb-summary,
.ap-detail-mb-accordion,
.ap-detail-mb-related,
.ap-detail-mb-consult{
    border-top:1px solid #edf2f7;
    padding:14px 4px;
}
.ap-detail-mb .ap-detail-price{
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:14px;
}
.ap-detail-mb .ap-detail-price strong{
    font-size:24px;
}
.ap-detail-mb .ap-detail-price small{
    margin-left:-4px;
    font-size:13px;
}
.ap-detail-mb .ap-detail-prescription{
    margin-bottom:14px;
    padding:14px;
}
.ap-detail-mb .ap-detail-prescription h2{
    font-size:14px;
}
.ap-detail-mb .ap-detail-prescription a{
    min-height:36px;
    padding:0 10px;
    font-size:12px;
}
.ap-detail-mb-specs{
    display:grid;
    gap:10px;
    margin:12px 0;
}
.ap-detail-mb-specs div{
    display:grid;
    grid-template-columns:100px minmax(0,1fr);
    gap:10px;
    color:#101828;
    font-size:13px;
}
.ap-detail-mb-specs span{
    color:#667085;
}
.ap-detail-mb-specs b{
    font-weight:700;
}
.ap-detail-mb-jump{
    border:0;
    background:transparent;
    color:var(--ap-detail-blue);
    padding:2px 0;
    text-align:left;
    font-weight:700;
}
.ap-detail-mb .ap-detail-units{
    margin:16px 0 12px;
}
.ap-detail-mb .ap-detail-units label{
    font-size:14px;
}
.ap-detail-mb .ap-detail-units .size-pro-detail{
    min-width:78px;
    min-height:40px;
    padding:0 14px;
    font-size:14px;
}
.ap-detail-mb-qty{
    display:flex;
    align-items:center;
    gap:14px;
    margin:14px 0;
}
.ap-detail-mb-qty > span{
    color:#111827;
    font-weight:800;
}
.ap-detail-mb-qty .quantity-pro-detail{
    width:112px;
    height:38px;
    display:grid;
    grid-template-columns:34px 1fr 34px;
    border:1px solid #d7e0ec;
    border-radius:8px;
    overflow:hidden;
}
.ap-detail-mb-qty .quantity-pro-detail span{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f8fafc;
    color:#475467;
    font-size:17px;
    font-weight:800;
}
.ap-detail-mb-qty .qty-pro{
    width:100%;
    border:0;
    border-left:1px solid #edf2f7;
    border-right:1px solid #edf2f7;
    text-align:center;
    font-weight:800;
}
.ap-detail-mb .ap-detail-shipping{
    margin-top:12px;
}
.ap-detail-mb-acc{
    border-bottom:1px solid #edf2f7;
}
.ap-detail-mb-acc-head{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border:0;
    background:#fff;
    padding:14px 0;
    color:#101828;
    text-align:left;
    font-size:16px;
    font-weight:800;
}
.ap-detail-mb-acc-head i{
    color:#667085;
    transition:transform .2s ease;
}
.ap-detail-mb-acc.active .ap-detail-mb-acc-head i{
    transform:rotate(180deg);
}
.ap-detail-mb-acc-body{
    display:none;
    padding:0 0 14px;
}
.ap-detail-mb-acc.active .ap-detail-mb-acc-body{
    display:block;
}
.ap-detail-mb .ap-detail-table{
    margin-bottom:12px;
}
.ap-detail-mb .ap-detail-table > div{
    grid-template-columns:1fr;
}
.ap-detail-mb .ap-detail-table span{
    padding:10px 12px 4px;
}
.ap-detail-mb .ap-detail-table p{
    padding:4px 12px 10px;
}
.ap-detail-mb .ap-detail-rich{
    font-size:14px;
    line-height:1.7;
}
.ap-detail-mb-related h2,
.ap-detail-mb-consult h2{
    margin:0 0 12px;
    font-size:18px;
    font-weight:800;
}
.ap-detail-mb-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.ap-detail-mb-more{
    display:block;
    border:1px solid #cfd8e3;
    border-radius:8px;
    margin-top:14px;
    padding:11px 12px;
    color:var(--ap-detail-blue);
    text-align:center;
    font-weight:800;
    text-decoration:none !important;
}
.ap-detail-mb-consult{
    border:1px solid #e0f2e8;
    border-radius:10px;
    background:#f6fbf8;
    margin-top:14px;
    padding:14px;
}
.ap-detail-mb-consult div{
    color:#475467;
    font-size:13px;
}
.ap-detail-mb-consult .phone,
.ap-detail-mb-consult .chat{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:40px;
    border-radius:8px;
    margin-top:10px;
    font-weight:800;
    text-decoration:none !important;
}
.ap-detail-mb-consult .phone{
    background:var(--ap-detail-green);
    color:#fff;
}
.ap-detail-mb-consult .chat{
    border:1px solid #cfd8e3;
    background:#fff;
    color:#344054;
}
.ap-detail-mb-sticky{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:999;
    display:grid;
    grid-template-columns:56px minmax(0,1fr);
    gap:8px;
    padding:8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top:1px solid #edf2f7;
    background:#fff;
    box-shadow:0 -8px 22px rgba(16,24,40,.08);
}
.ap-detail-mb-sticky a,
.ap-detail-mb-sticky button{
    min-height:48px;
    border-radius:10px;
    text-decoration:none !important;
    font-weight:800;
}
.ap-detail-mb-sticky-chat,
.ap-detail-mb-sticky-fav{
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #edf2f7;
    background:#fff;
    color:#344054;
    font-size:20px;
    line-height:1;
}
.ap-detail-mb-sticky-chat{
    color:var(--ap-detail-green);
}
.ap-detail-mb-sticky-chat span,
.ap-detail-mb-sticky-fav span{
    display:none;
}
.ap-detail-mb-sticky-cart{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid var(--ap-detail-blue);
    background:var(--ap-detail-blue);
    color:#fff;
    font-size:15px;
    white-space:nowrap;
}

/* ============ Mobile header: á»•n Ä‘á»‹nh khi cuá»™n ============ */
@media (max-width:1001px){
    .ap-header,
    .ap-header.header_fixed{
        position:sticky;
        top:0;
        z-index:1002;
        padding:10px 12px 12px;
        background:var(--ap-blue) !important;
    }
    .ap-header .wrap-content{
        width:100%;
        max-width:none !important;
        padding:0 !important;
        overflow:visible !important;
        display:grid !important;
        grid-template-columns:minmax(0,1fr) 48px 48px;
        align-items:center;
        gap:10px !important;
    }
    .ap-header .ap-logo.logo-header,
    .ap-header.header_fixed .logo-header{
        display:flex !important;
        align-items:center;
        justify-content:flex-start;
        width:auto !important;
        max-width:180px !important;
        min-width:0;
        flex:initial !important;
        text-align:left;
    }
    .ap-header .ap-logo img{
        display:block;
        width:auto;
        max-width:180px;
        max-height:56px;
        object-fit:contain;
    }
    .ap-header .menu-res{
        display:flex !important;
        align-items:center;
        justify-content:center;
        position:static !important;
        width:48px;
        height:48px;
        z-index:1;
    }
    .ap-header .icon_menu_mobi{
        display:flex;
        align-items:center;
        justify-content:center;
        width:48px;
        height:48px;
        margin:0;
    }
    .ap-header #hamburger{
        width:44px;
        height:44px;
        padding:0;
    }
    .ap-header #hamburger:before,
    .ap-header #hamburger:after,
    .ap-header #hamburger span{
        width:34px;
        height:4px;
        left:0;
        right:0;
        background:#fff;
    }
    .ap-header #hamburger:before{ top:11px; }
    .ap-header #hamburger span{ top:20px; }
    .ap-header #hamburger:after{ top:29px; }
    .ap-header .ap-search.search-group{
        display:none !important;
    }
    .ap-header .ap-header-actions{
        display:flex !important;
        align-items:center;
        justify-content:flex-end;
        gap:0 !important;
        min-width:0;
        flex:initial !important;
    }
    .ap-header .ap-header-action.hidden-1200{
        display:none !important;
    }
    .ap-header .ap-header-action[href="gio-hang"]{
        display:flex;
        align-items:center;
        justify-content:center;
        width:48px;
        height:48px;
        padding:0;
        color:#fff !important;
        text-decoration:none !important;
        font-size:0;
    }
    .ap-header .ap-header-action[href="gio-hang"] > span:last-child{
        display:none !important;
    }
    .ap-header .ap-cart-badge{
        position:relative;
        display:flex;
        align-items:center;
        justify-content:center;
        width:44px;
        height:44px;
        color:#fff;
    }
    .ap-header .ap-cart-badge i{
        color:#fff !important;
        font-size:25px;
        line-height:1;
    }
    .ap-header .ap-cart-count{
        position:absolute;
        top:1px;
        right:0;
        min-width:22px;
        height:22px;
        padding:0 5px;
        border-radius:999px;
        background:var(--ap-red);
        color:#fff;
        font-size:13px;
        font-weight:800;
        line-height:22px;
        text-align:center;
    }
    .ap-header .search-group.search-group-sub.hidden-up-1001,
    .ap-header.header_fixed .search-group.search-group-sub{
        display:block !important;
        position:relative !important;
        width:100% !important;
        max-width:none !important;
        margin:10px 0 0 !important;
        padding:0 !important;
        background:transparent !important;
        z-index:2;
    }
    .ap-header .search-group.search-group-sub .search,
    .ap-header.header_fixed .search-group.search-group-sub .search,
    .ap-header.header_fixed .search{
        display:flex !important;
        align-items:center;
        position:relative !important;
        top:auto !important;
        left:auto !important;
        right:auto !important;
        width:100% !important;
        max-width:100% !important;
        min-width:0 !important;
        height:50px !important;
        margin:0 !important;
        border:1px solid #dbe7f6 !important;
        border-radius:10px !important;
        background:#fff !important;
        overflow:hidden !important;
    }
    .ap-header .search-group.search-group-sub input{
        flex:1 1 auto;
        width:auto !important;
        height:100% !important;
        float:none !important;
        padding:0 62px 0 16px !important;
        border:0 !important;
        outline:none;
        background:transparent;
        color:var(--ap-text);
        font-size:15px !important;
        text-indent:0 !important;
    }
    .ap-header .search-group.search-group-sub .search p{
        position:absolute !important;
        top:50% !important;
        right:7px;
        transform:translateY(-50%);
        width:40px !important;
        height:40px !important;
        margin:0 !important;
        float:none !important;
        border-radius:999px;
        background:#177acc url(../images/lk.png) center/17px no-repeat !important;
        cursor:pointer;
    }
    .ap-header .search-group-sub .res-autosearch{
        position:absolute;
        top:calc(100% + 6px);
        left:0;
        right:0;
        width:100%;
        z-index:20;
    }
}

@media (max-width:420px){
    .ap-header .wrap-content{
        grid-template-columns:minmax(0,1fr) 44px 44px;
        gap:8px !important;
    }
    .ap-header .ap-logo.logo-header,
    .ap-header.header_fixed .logo-header{
        max-width:165px !important;
    }
    .ap-header .ap-logo img{
        max-width:165px;
        max-height:52px;
    }
    .ap-header .menu-res,
    .ap-header .icon_menu_mobi,
    .ap-header .ap-header-action[href="gio-hang"]{
        width:44px;
        height:44px;
    }
}

@media (max-width:360px){
    .ap-header .ap-logo.logo-header,
    .ap-header.header_fixed .logo-header{
        max-width:145px !important;
    }
    .ap-header .ap-logo img{
        max-width:145px;
    }
}

@media (max-width:768px){
    .ap-detail-mb .ap-pcard .ap-pcard-body{
        position:relative;
    }
    .ap-detail-mb .ap-pcard .ap-pcard-price{
        min-height:48px;
        margin-bottom:0;
        padding-right:58px;
        display:flex;
        flex-direction:column;
        justify-content:center;
    }
    .ap-detail-mb .ap-pcard .ap-pcard-foot{
        position:absolute;
        right:0;
        bottom:0;
        margin:0;
        gap:0;
    }
    .ap-detail-mb .ap-pcard .ap-pcard-advise:not(.disabled){
        display:none !important;
    }
    .ap-detail-mb .ap-pcard .ap-pcard-cart{
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}
