/* =====================================================================
   giao-dien-tu-hoc.css — LOP PHU GIAO DIEN centosy.vn (skill thiet-ke-giao-dien-web-tu-hoc)
   Nap SAU style_2020.css trong web_v1/header.php. Moi khoi = 1 viec anh Hoa da duyet 01/10/2026
   (mockup PA2 "Hien dai" + goi CSS mobile + header gon). Marker [GD-047x]. Rollback: xoa khoi, hoac go <link>.
   ===================================================================== */

/* [GD-047a] Chu than mobile >=16px */
@media (max-width: 767px) {
  body { font-size: 16px; line-height: 1.5; }
  .home-product-title a, .home-product-title { font-size: 16px !important; line-height: 1.3 !important; }
  .prodes_st, .prodes_st p, .prodes_st span, .prodes_st li, .prodes_st td, .prodes_st strong, .prodes_st em, .prodes_st a { font-size: 16px !important; line-height: 1.6 !important; }
  .item-wrap .home-product-title { height: 44px !important; overflow: hidden; }
  .item-wrap .home-product-title a { display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 40px; max-height: 40px; line-height: 20px !important; white-space: normal; }
  .new-desc-box p { font-size: 16px; line-height: 1.5; }
  #center > .container > h1.h5 { font-size: 16px; line-height: 1.35; padding: 0 12px; }
  #footer, #footer p, #footer li, #footer a, #footer span, #footer b, #footer strong { font-size: 16px; line-height: 1.55; }
  .breadcrum, .breadcrum a, .breadcrum span { font-size: 16px; }
  ol.breadcrum { display: block; white-space: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-left: 12px; scrollbar-width: none; }
  ol.breadcrum::-webkit-scrollbar { display: none; }
  ol.breadcrum .breadcrum-item { display: inline-block; float: none; white-space: nowrap; }
  .count-rate, .count-rate a { font-size: 16px; }
  .cen-trust li { font-size: 16px; }
  .product-faq summary, .product-faq details > div { font-size: 16px; line-height: 1.5; }
  .color-select-text { font-size: 14px; }
  #rate-form p, .input-account-form p { font-size: 16px; }
  .cat-pad-top li a { font-size: 15px; }
}
/* /GD-047a */

/* [GD-047b] Vung cham >=44px mobile */
@media (max-width: 767px) {
  #txtQuery { height: 44px; font-size: 16px; }
  #btnFindSubmitPad, #btnFindSubmit { min-width: 44px; height: 44px; }
  .top-home-nav span { display: inline-block; min-width: 44px; min-height: 44px; line-height: 44px; text-align: center; }
  .header-cart-zone > a { display: inline-block; min-width: 44px; min-height: 44px; }
  .cat-pad-top li a { display: inline-block; min-height: 44px; line-height: 44px; padding: 0 6px; }
  .breadcrum-item a, .breadcrum-item span { display: inline-block; min-height: 44px; line-height: 44px; }
  select.color-select-choice { height: 46px; font-size: 16px; }
  .add-number .button-changenumber { min-width: 46px; height: 46px; font-size: 18px; }
  .add-number #txtQty { height: 46px; font-size: 16px; }
  #btn-buy-primary, #btn-support { min-height: 50px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
  .rate-box-scroll { display: inline-block; min-height: 44px; line-height: 44px; }
  .lSAction > a { width: 44px; height: 44px; }
  .number-buy > .col-md-3, .number-buy .add-number { height: auto !important; }
  .number-buy .add-number { margin-bottom: 14px; align-items: center; }
  a.new-title.view-detail-ar { display: inline-block; min-height: 44px; line-height: 44px; }
  .cat-tree-nav li a.has-icon { min-height: 46px; display: flex; align-items: center; }
  .cen-trust li a { display: inline-block; min-height: 44px; line-height: 44px; }
  .menu-mb li a, .menu-mb li button { min-width: 200px; min-height: 48px; font-size: 16px; }
}
/* /GD-047b */

/* [GD-047c] CHI 1 HE NOI tren mobile: cot 3 icon -> thanh day 3 nut Goi / Cua hang / Zalo;
   an 2 nut Goi ngay + Dia chi; trang SP giu thanh .cen-sticky-cta (Goi/Zalo/Them gio) */
@media (max-width: 767px) {
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  #footer > a.call-now-mb, #footer > a.address-mb { display: none !important; }
  .sweb-mobile-action {
    position: fixed !important; left: 0 !important; right: 0 !important; top: auto !important; bottom: 0 !important;
    width: 100% !important; height: auto !important; margin: 0 !important; transform: none !important;
    display: flex !important; background: #fff; border-top: 1px solid #E5E7EB;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, .08); padding-bottom: env(safe-area-inset-bottom, 0px); z-index: 9000;
  }
  .sweb-mobile-action .header-link-icons {
    flex: 1 1 0; width: auto !important; height: 60px !important; margin: 0 !important; position: relative;
    border-left: 1px solid #EEF0F3; border-radius: 0 !important; background: transparent !important;
  }
  .sweb-mobile-action .header-link-icons:first-child { border-left: 0; }
  .sweb-mobile-action .header-link-icons > a {
    display: flex !important; flex-direction: column; align-items: center; justify-content: center;
    height: 60px !important; width: 100%; text-decoration: none; color: #14213D; font-size: 14px; font-weight: 600; line-height: 1.2;
  }
  .sweb-mobile-action .icon-action { width: 28px !important; height: 28px !important; float: none !important; margin: 0 auto 3px !important; transform: none !important; animation: none !important; background-size: contain; }
  .sweb-mobile-action .icon-action::before, .sweb-mobile-action .icon-action::after { animation: none !important; display: none !important; }
  .sweb-mobile-action .header-link-icons:nth-child(1) > a::after { content: "Gọi"; }
  .sweb-mobile-action .header-link-icons:nth-child(2) > a::after { content: "Cửa hàng"; }
  .sweb-mobile-action .header-link-icons:nth-child(3) > a::after { content: "Zalo"; }
  /* trang san pham: da co thanh Goi/Zalo/Them gio -> an thanh chung, nang thanh SP len chuan 56px */
  body:has(.cen-sticky-cta) .sweb-mobile-action { display: none !important; }
  /* bong bong chat Subiz: nang len tren thanh day de khong de nut */
  html body #wpwidget .mobile .widget-layout.widget-layout--right { bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important; }
  .cen-sticky-cta { z-index: 9001; padding-bottom: env(safe-area-inset-bottom, 0px); box-shadow: 0 -4px 16px rgba(15, 23, 42, .08); }
  .cen-sticky-cta a, .cen-sticky-cta button { min-height: 56px; font-size: 16px; font-weight: 600; display: flex !important; align-items: center; justify-content: center; }
}
/* /GD-047c */

/* [GD-047d] Header mobile gon: an dai hotline (da co nut Goi o thanh day), logo 40px, o tim kiem 44px */
@media (max-width: 767px) {
  #header .header-call.mb { display: none; }
  #header .header-logo .logo { height: auto; margin-bottom: 0; }
  #header .header-logo .logo .h1 { margin: 8px 0 6px; height: 40px; }
  #header .header-logo .logo img { height: 40px; width: auto; margin: 0 auto 0 42px; }
  #header nav.topnav { top: -78px; }
  #header nav.topnav > .container { padding: 0; }
  #header .top-home-nav { left: 6px; margin: 0; width: 44px; height: 44px; }
  #header .top-home-nav span { position: absolute; left: 0; top: 0; margin: 0 !important; padding: 0 !important; width: 44px; text-indent: 0 !important; }
  #header #head-cart-box { top: 4px; }
  #header .label-search { margin-left: 0; }
  #header #searchBox { left: 0; top: 4px; width: 100%; }
  #header #frmSearch, #header #srh-form { width: 100%; }
  #header #txtQuery { width: 100%; box-sizing: border-box; padding-right: 52px; border-radius: 24px; }
  #header #btnFindSubmitPad { left: auto; right: 0; }
  body > .clearfix { height: 62px; }
  section#center { margin-top: 8px !important; }
  ol.breadcrum { margin-top: 2px !important; }
}
/* /GD-047d */

/* [GD-047e] He tieu de + nut + card theo mockup PA2 */
@media (max-width: 767px) {
  .cat-pad-header { border: 0 !important; background: transparent !important; padding: 0 12px; margin-top: 8px; }
  .cat-pad-header { height: auto !important; overflow: hidden; }
  .cat-pad-header h2 { background: transparent !important; width: auto !important; height: auto !important; padding: 0 !important; text-align: left !important; line-height: 1.2; border: 0 !important; min-width: 0 !important; max-width: 68%; }
  .cat-pad-header .cat-pad-top { width: auto !important; float: right; margin: 0; }
  .cat-pad-header h2::before, .cat-pad-header h2::after { display: none !important; }
  .cat-pad-header h2 a { color: #14213D !important; font-size: 20px; font-weight: 800; text-transform: none; letter-spacing: -.2px; display: inline-block; padding: 6px 0 8px; position: relative; }
  .cat-pad-header h2 a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 4px; border-radius: 4px; background: #FC4C02; }
  .home-product-pad.w100 .spot-ps { height: auto !important; }
  .home-product-pad.w100 .spot-ps .spotlight-products { display: flex !important; height: auto !important; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 10px; padding: 4px 12px 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
  .home-product-pad.w100 .spot-ps .spotlight-products::-webkit-scrollbar { display: none; }
  .home-product-pad.w100 .spot-ps .list-product-cate { flex: 0 0 31%; width: auto !important; height: auto !important; margin: 0 !important; float: none !important; background: #FFF7F1; border-radius: 14px; padding: 10px 4px 6px; text-align: center; scroll-snap-align: start; }
  .home-product-pad.w100 .spot-ps .list-product-cate img { width: 78px; height: 78px; object-fit: contain; }
  .home-product-pad.w100 .spot-ps .list-product-cate .home-product-title { height: auto !important; margin: 4px 0 0; }
  .home-product-pad.w100 .spot-ps .list-product-cate .home-product-title a { font-size: 14px !important; font-weight: 600; color: #14213D; display: block; min-height: 44px; line-height: 1.25 !important; white-space: normal; }
  .item-wrap { border-radius: 14px !important; border: 1px solid #EEF0F3 !important; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(15, 23, 42, .04); }
}
#btn-buy-primary, #btn-support, .cen-sticky-cta .cta-buy { border-radius: 12px; font-weight: 700; }
#btn-support { background: #14213D !important; }
.cen-sticky-cta .cta-buy { background: #FC4C02 !important; border-radius: 0; }
/* /GD-047e */

/* [GD-047f] Tuong phan chu footer (nen xam #B8B9BB -> chu dam hon) */
#footer .bot-info.cua-hang, #footer .bot-info.cua-hang a, #footer .bot-info.cua-hang p, #footer .bot-info.cua-hang span { color: #111827; }
#footer a { color: #1F2937; }
/* /GD-047f */

/* [GD-047g] Thanh tin cay duoi hero (HTML trong web_v1/home.php) */
.gd-trust { list-style: none; display: flex; margin: 12px 12px 4px; padding: 12px 4px; background: #FFF7F1; border-radius: 14px; }
.gd-trust li { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: #14213D; font-size: 14px; font-weight: 600; line-height: 1.25; border-left: 1px solid #F3DCCB; }
.gd-trust li:first-child { border-left: 0; }
.gd-trust .gd-ic { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #FC4C02; color: #FC4C02; font-size: 16px; font-weight: 700; }
@media (min-width: 768px) { .gd-trust { max-width: 1206px; margin: 14px auto 6px; } .gd-trust li { flex-direction: row; justify-content: center; gap: 10px; font-size: 16px; text-align: left; } }
/* /GD-047g */
