/* ============================================================
   CHỐNG SÉT ANH QUỐC — Complete Stylesheet
   Palette: --c-red #da332e | --c-blue #3798db | --c-white #fff
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-red:        #da332e;
  --c-red-dark:   #b02420;
  --c-red-light:  #fdf0f0;
  --c-blue:       #3798db;
  --c-blue-dark:  #2576b0;
  --c-blue-light: #e8f4fc;
  --c-white:      #ffffff;
  --c-gray-50:    #f7f7f7;
  --c-gray-100:   #f0f0f0;
  --c-gray-200:   #e0e0e0;
  --c-gray-400:   #aaa;
  --c-text:       #1e1e1e;
  --c-text-muted: #666;
  --c-dark:       #111827;
  --radius:       6px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,.12);
  --transition:   .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-gray-50);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ── UTILITIES ────────────────────────────────────────────── */
.show-desktop { display: block; }
.show-mobile  { display: none  !important; }
.show-ipad    { display: block; }
.non-ipad     { display: block; }

/* Li trong menu ngang — ghi đè display thành flex */
#main_menu-horizontal > li { display: flex !important; }
#main_menu-horizontal > li.show-desktop { display: flex !important; }
#main_menu-horizontal > li.show-ipad    { display: flex !important; }
#main_menu-horizontal > li.non-ipad     { display: flex !important; }
#main_menu-horizontal > li.other        { display: flex !important; }

/* Submenu items luôn block */
.sub_menu li,
.sub_menu li.layer,
.sub_menu li.non-ipad { display: block !important; }


/* ════════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════════ */
.fix { position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-md); }

.top-header {
  background: var(--c-red);
  color: var(--c-white);
  padding: 6px 0;
  font-size: 13px;
}
.top-header .box-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.list-top-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.list-top-header li {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.list-top-header a { color: var(--c-white); opacity: .9; transition: opacity var(--transition); }
.list-top-header a:hover { opacity: 1; text-decoration: underline; }
.list-top-header i { font-size: 14px; }

.bot-header {
  background: var(--c-white);
  padding: 12px 0;
  border-bottom: 3px solid var(--c-red);
}
.bot-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
#logoID img { height: 56px; width: auto; object-fit: contain; }

.form-box .search {
  display: flex;
  border: 1.5px solid var(--c-blue);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.form-box .search:focus-within { border-color: var(--c-red); }
.form-box .search input[type="text"] {
  border: none; outline: none;
  padding: 9px 14px; font-size: 14px;
  width: 280px; background: var(--c-white); color: var(--c-text);
}
.form-box .search button {
  background: var(--c-red); color: var(--c-white);
  border: none; padding: 9px 20px;
  cursor: pointer; font-size: 14px; font-weight: 500;
  white-space: nowrap; transition: background var(--transition);
}
.form-box .search button:hover { background: var(--c-red-dark); }


/* ════════════════════════════════════════════════════════════
   HORIZONTAL MENU
   ════════════════════════════════════════════════════════════ */
.menu-horizontal { background: var(--c-blue); }

.list-menu-horizontal {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  height: 44px;
}
.list-menu-horizontal > li {
  position: relative;
  height: 44px;
  display: flex !important;
  align-items: center;
}
.list-menu-horizontal > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--c-white);
  padding: 0 18px;
  height: 44px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
  transition: background var(--transition);
}
.list-menu-horizontal > li:hover > a,
.list-menu-horizontal > li > a:focus { background: var(--c-blue-dark); }
.list-menu-horizontal > li.other > a { background: var(--c-red); }
.list-menu-horizontal > li.other:hover > a { background: var(--c-red-dark); }

/* Dropdown */
.sub_menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: var(--c-blue-dark);
  min-width: 240px;
  border-top: 3px solid var(--c-red);
  box-shadow: var(--shadow-md);
  z-index: 9999;
}
.list-menu-horizontal .nav-item:hover > .sub_menu { display: block; }
.sub_menu li { position: relative; }
.sub_menu li a {
  display: block;
  color: var(--c-white);
  padding: 10px 18px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition), padding-left var(--transition);
}
.sub_menu li a:hover { background: var(--c-red); padding-left: 24px; }

/* Sub-sub menu */
.sub_menu_item {
  display: none;
  position: absolute;
  top: 0; left: 100%;
  background: #1d6fa8;
  min-width: 220px;
  border-top: 3px solid var(--c-red);
  box-shadow: var(--shadow-md);
  z-index: 9999;
}
.sub_menu li:hover > .sub_menu_item { display: block; }
.sub_menu_item li a { font-size: 12px; }


/* ════════════════════════════════════════════════════════════
   MAIN LAYOUT
   ════════════════════════════════════════════════════════════ */
.content { padding: 0; background: var(--c-gray-50); }
.content > .container { padding-top: 18px; padding-bottom: 24px; }

.mobile-box-wrap { display: flex; align-items: flex-start; gap: 20px; }
.box-wrap-left { width: 230px; flex-shrink: 0; }
.box-wrap-right { flex: 1; min-width: 0; }


/* ════════════════════════════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════════════════════════════ */
.side-bar-menu {
  background: var(--c-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
#head-mobile {
  background: var(--c-red);
  color: var(--c-white);
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.button { display: none; }

#menu > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-gray-200);
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}
#menu > li > a:hover { background: var(--c-red-light); color: var(--c-red); }
#menu ul { background: var(--c-gray-50); }
#menu ul li a {
  display: block;
  padding: 8px 14px 8px 26px;
  font-size: 13px;
  color: var(--c-text-muted);
  border-bottom: 1px solid var(--c-gray-100);
  transition: color var(--transition), background var(--transition);
}
#menu ul li a:hover { color: var(--c-red); background: var(--c-red-light); }

/* Dịch vụ & Sản phẩm HOT */
.new-post { margin-bottom: 18px; }
.new-post .title {
  font-size: 15px; font-weight: 600;
  color: var(--c-red);
  border-bottom: 2px solid var(--c-red);
  padding-bottom: 7px; margin-bottom: 12px;
  text-transform: uppercase; letter-spacing: .3px;
}
.new-post .list-new-post { display: flex; flex-direction: column; gap: 0; }
.new-post .list-new-post .box-wrap {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-gray-100);
  transition: background var(--transition);
}
.new-post .list-new-post .box-wrap:hover { background: var(--c-gray-50); }
.left-post { width: 56px; flex-shrink: 0; }
.left-post img { border-radius: 4px; width: 56px; height: 42px; object-fit: cover; }
.right-post .title { font-size: 0; border: none; padding: 0; margin: 0; }
.right-post .title a {
  font-size: 12.5px; color: var(--c-text);
  font-weight: 400; line-height: 1.4;
  transition: color var(--transition);
}
.right-post .title a:hover { color: var(--c-red); }

.sanphamHOT .box-wrap {
  flex-direction: column; align-items: flex-start;
  gap: 6px; padding: 10px 0;
  border-bottom: 1px solid var(--c-gray-100);
}
.sanphamHOT img {
  width: 100%;
  border: 1px solid var(--c-gray-200);
  border-radius: 4px; background: var(--c-white);
}
.sanphamHOT h4 { margin-top: 6px; }
.sanphamHOT h4 a {
  font-size: 13px; color: var(--c-text);
  font-weight: 500; line-height: 1.4;
  transition: color var(--transition);
}
.sanphamHOT h4 a:hover { color: var(--c-red); }
.sanphamHOT .price { font-size: 12px; color: var(--c-text-muted); }
.sanphamHOT .price strong { color: var(--c-red); }


/* ════════════════════════════════════════════════════════════
   HERO / CAROUSEL
   ════════════════════════════════════════════════════════════ */
.hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.k-carousel { position: relative; }
.k-carousel-inner { position: relative; width: 100%; overflow: hidden; }
.carousel-item { display: none; }
.carousel-item.active { display: block; }
.carousel-item img { width: 100%; min-height: 360px; }

.k-carousel-indicator {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.k-carousel-indicator li {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 1.5px solid var(--c-white);
  cursor: pointer; transition: background var(--transition);
}
.k-carousel-indicator li.active { background: var(--c-red); border-color: var(--c-red); }

.k-pre-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  background: rgba(0,0,0,.35);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  font-size: 0; line-height: 0; color: transparent;
}
.k-pre-next:hover { background: var(--c-red); }
.carousel-control-prev { left: 12px; }
.carousel-control-next { right: 12px; }
.carousel-control-prev::after {
  content: '';
  display: block; width: 10px; height: 10px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(45deg) translate(2px, -2px);
}
.carousel-control-next::after {
  content: '';
  display: block; width: 10px; height: 10px;
  border-right: 2.5px solid #fff; border-top: 2.5px solid #fff;
  transform: rotate(45deg) translate(-2px, 2px);
}


/* ════════════════════════════════════════════════════════════
   PRODUCT SECTIONS
   ════════════════════════════════════════════════════════════ */
.list-product-by-category {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 14px 16px 18px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.info-list {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 2px solid var(--c-red);
  padding-bottom: 8px; margin-bottom: 14px;
}
.info-list .name-category {
  font-size: 17px; font-weight: 600;
  color: var(--c-red); text-transform: uppercase; letter-spacing: .3px;
}
.info-list > a {
  font-size: 13px; color: var(--c-blue); font-weight: 500;
  padding: 3px 10px; border: 1px solid var(--c-blue);
  border-radius: 20px; white-space: nowrap;
  transition: all var(--transition);
}
.info-list > a:hover { background: var(--c-blue); color: var(--c-white); }

.list-product-by-category .box-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.list-item-product {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.list-item-product:hover {
  border-color: var(--c-blue);
  box-shadow: 0 4px 16px rgba(55,152,219,.18);
  transform: translateY(-2px);
}
.top-product { background: var(--c-gray-50); }
.top-product a { display: block; }
.top-product img {
  width: 100%; object-fit: contain; padding: 8px;
  transition: transform .3s ease;
}
.list-item-product:hover .top-product img { transform: scale(1.04); }
.bottom-product { padding: 8px 10px 10px; }
.name-product { margin-bottom: 4px; }
.name-product a {
  font-size: 13px; color: var(--c-text); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--transition);
}
.name-product a:hover { color: var(--c-red); }
.bottom-product .price { font-size: 12px; color: var(--c-text-muted); }
.bottom-product .price strong { color: var(--c-red); font-weight: 600; }

/* News */
.list-product-by-category.list-new .box-wrap { display: flex; flex-direction: column; gap: 14px; }
.item-new-post.left, .item-new-post.right {
  display: flex; gap: 12px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.item-new-post:empty { display: none; }
.item-new-post:hover { border-color: var(--c-blue); box-shadow: var(--shadow-sm); }
.top-new { flex-shrink: 0; width: 140px; }
.top-new img { width: 140px; height: 95px; object-fit: cover; }
.bot-new { padding: 10px 12px 10px 0; display: flex; flex-direction: column; justify-content: center; }
.title-new a {
  font-size: 14px; font-weight: 600; color: var(--c-text); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
  transition: color var(--transition);
}
.title-new a:hover { color: var(--c-red); }
.detail-new {
  font-size: 13px; color: var(--c-text-muted); margin-top: 5px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}


/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.footer { background: var(--c-dark); color: #c8cdd6; padding: 36px 0 0; margin-top: 24px; }
.footer .box-wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 28px; }
.footer h6.title {
  color: var(--c-white); font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px;
  border-bottom: 2px solid var(--c-red);
  padding-bottom: 8px; margin-bottom: 14px;
}
.footer .alltext { font-size: 13px; line-height: 2; color: #aab; }
.footer .alltext strong { color: var(--c-white); }
.footer .alltext a { color: var(--c-blue); }
.footer .alltext a:hover { text-decoration: underline; }
.footer .contact li { padding: 4px 0; font-size: 13px; color: #aab; display: flex; align-items: center; gap: 7px; }
.footer .contact li i { color: var(--c-red); font-size: 14px; }
.footer .contact a { color: #aab; transition: color var(--transition); }
.footer .contact a:hover { color: var(--c-blue); }
.footer .contact .ana { color: #8892a0; font-size: 12px; }
.footer .contact .divider { border-top: 1px solid rgba(255,255,255,.08); margin: 6px 0; width: 100%; }
.footer iframe { border-radius: 4px; display: block; height: 160px !important; }
.txt_copyright {
  background: var(--c-red); color: var(--c-white);
  text-align: center; padding: 11px 16px; font-size: 13px; margin-top: 28px;
}
.txt_copyright a { color: rgba(255,255,255,.85); text-decoration: underline; }
.txt_copyright a:hover { color: var(--c-white); }


/* ════════════════════════════════════════════════════════════
   FLOATING: HOTLINE RING
   ════════════════════════════════════════════════════════════ */
.hotline-phone-ring-wrap {
  position: fixed; bottom: 80px; left: 20px; z-index: 999;
  display: flex; align-items: center; gap: 10px;
}
.hotline-phone-ring {
  width: 54px; height: 54px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hotline-phone-ring-circle,
.hotline-phone-ring-circle-fill { position: absolute; inset: 0; border-radius: 50%; }
.hotline-phone-ring-circle {
  border: 3px solid rgba(218,51,46,.4);
  animation: ringPulse 1.8s infinite ease-out;
}
.hotline-phone-ring-circle-fill {
  background: var(--c-red); opacity: .15;
  animation: ringPulse 1.8s infinite ease-out .3s;
}
.hotline-phone-ring-img-circle {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--c-red);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(218,51,46,.4);
  position: relative; z-index: 1;
}
.hotline-phone-ring-img-circle img { width: 28px; height: 28px; }
.hotline-bar { background: var(--c-red); padding: 7px 14px; border-radius: 20px; box-shadow: var(--shadow-sm); }
.hotline-bar a { color: var(--c-white); font-size: 14px; font-weight: 600; }
@keyframes ringPulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}


/* ════════════════════════════════════════════════════════════
   FLOATING: SOCIAL NAV
   ════════════════════════════════════════════════════════════ */
.lienlac { position: fixed; right: 16px; bottom: 80px; z-index: 999; }
.giuseart-nav ul { display: flex; flex-direction: column; gap: 8px; }
.giuseart-nav li { position: relative; list-style: none; }
.giuseart-nav li a {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-blue); color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), transform var(--transition);
  font-size: 0; line-height: 0; overflow: hidden;
}
.giuseart-nav li a svg {
  width: 22px; height: 22px;
  fill: none; stroke: #fff; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.giuseart-nav li a img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.giuseart-nav li a:hover { transform: scale(1.12); }

.giuseart-nav li._cart  a { background: var(--c-red); }
.giuseart-nav li._cart  a:hover { background: var(--c-red-dark); }
.giuseart-nav li._phone a { background: #0068ff; }
.giuseart-nav li._zalo  a { background: #fff; padding: 0; }
.giuseart-nav li._sms   a { background: #34c759; }
.giuseart-nav li._fb    a { background: #fff; padding: 0; }
.giuseart-nav li._youtube a { background: #ff0000; }

.giuseart-nav .c-number {
  position: absolute; top: -3px; right: -3px;
  background: var(--c-red); color: #fff;
  font-size: 10px; width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; line-height: 1;
  border: 1.5px solid #fff; z-index: 2;
}
.giuseart-nav li a[title]::before {
  content: attr(title);
  position: absolute; right: calc(100% + 8px); top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.75); color: #fff;
  font-size: 12px; line-height: 1;
  padding: 5px 9px; border-radius: 4px;
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.giuseart-nav li a[title]:hover::before { opacity: 1; }


/* ════════════════════════════════════════════════════════════
   BACK TO TOP
   ════════════════════════════════════════════════════════════ */
.backtotop {
  position: fixed; right: 16px; bottom: 28px; z-index: 999;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-blue);
  display: none; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-sm);
  transition: background var(--transition);
}
.backtotop:hover { background: var(--c-red); }
.backtotop i, .backtotop svg { display: none; }
.backtotop::after {
  content: '';
  display: block; width: 10px; height: 10px;
  border-left: 2.5px solid #fff; border-top: 2.5px solid #fff;
  transform: rotate(45deg) translate(2px, 2px);
}


/* ════════════════════════════════════════════════════════════
   MOBILE MENU
   ════════════════════════════════════════════════════════════ */
#mobile-menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px; color: var(--c-text);
}
.mobile-menu-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 1100;
}
.mobile-nav {
  position: fixed; top: 0; left: -280px;
  width: 280px; height: 100%;
  background: var(--c-white); z-index: 1200;
  overflow-y: auto; transition: left .3s ease;
  box-shadow: 4px 0 20px rgba(0,0,0,.15);
}
.mobile-nav.open { left: 0; }
.mobile-nav-header {
  background: var(--c-red); color: var(--c-white);
  padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; font-weight: 600;
}
.mobile-nav-close { background: none; border: none; color: var(--c-white); font-size: 20px; cursor: pointer; }
.mobile-nav ul { padding: 8px 0; }
.mobile-nav ul li a {
  display: block; padding: 11px 18px; font-size: 14px;
  color: var(--c-text); border-bottom: 1px solid var(--c-gray-100);
  font-weight: 500; transition: color var(--transition), background var(--transition);
}
.mobile-nav ul li a:hover { color: var(--c-red); background: var(--c-red-light); }
.mobile-nav ul li ul li a { padding-left: 32px; font-size: 13px; color: var(--c-text-muted); font-weight: 400; }


.breadcrumb { background: var(--c-white); padding: 8px 0; font-size: 13px; color: var(--c-text-muted); border-bottom: 1px solid var(--c-gray-200); }
.breadcrumb a { color: var(--c-blue); }
.breadcrumb a:hover { color: var(--c-red); }
.breadcrumb span { margin: 0 5px; }


/* ════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .box-wrap-left { width: 200px; }
  .list-product-by-category .box-wrap { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .footer .box-wrap { grid-template-columns: 1fr 1fr; gap: 22px; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET NHỎ (≤ 900px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .show-desktop { display: none !important; }
  .non-ipad     { display: none !important; }
  .show-ipad    { display: block; }
  #main_menu-horizontal > li.show-ipad                        { display: flex !important; }
  #main_menu-horizontal > li.non-ipad:not(.show-ipad)         { display: none !important; }
  #main_menu-horizontal > li.show-desktop:not(.show-ipad)     { display: none !important; }
  .box-wrap-left { display: none !important; }
  .list-menu-horizontal > li > a { padding: 0 13px; font-size: 13px; }
  .form-box .search input[type="text"] { width: 180px; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .show-mobile  { display: block !important; }
  .show-desktop { display: none  !important; }
  .show-ipad    { display: none  !important; }
  .non-ipad     { display: none  !important; }
  #main_menu-horizontal li { display: none !important; }

  .top-header { padding: 5px 0; font-size: 12px; }
  .top-header .box-wrap { flex-direction: column; align-items: flex-start; gap: 2px; }
  .list-top-header { gap: 3px 12px; }
  .list-top-header li:last-child { display: none !important; }

  .bot-header .container { flex-wrap: wrap; gap: 10px; }
  #logoID img { height: 44px; }
  .form-box { width: 100%; order: 3; }
  .form-box .search { width: 100%; }
  .form-box .search input[type="text"] { flex: 1; width: auto; font-size: 14px; }

  #mobile-menu-toggle { display: flex; }
  .menu-horizontal { display: none !important; }

  .mobile-box-wrap { flex-direction: column; }
  .box-wrap-left   { display: none !important; }
  .box-wrap-right  { width: 100%; }

  .carousel-item img { min-height: 180px; max-height: 220px; }
  .k-pre-next { width: 30px; height: 30px; }

  .list-product-by-category { padding: 12px 10px 14px; }
  .list-product-by-category .box-wrap { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .name-product a  { font-size: 12px; }
  .info-list .name-category { font-size: 15px; }

  .item-new-post.left, .item-new-post.right { flex-direction: column; }
  .top-new { width: 100%; }
  .top-new img { width: 100%; height: 160px; }
  .bot-new { padding: 10px 12px; }

  .footer { padding: 24px 0 0; }
  .footer .box-wrap { grid-template-columns: 1fr; gap: 22px; }
  .footer iframe { height: 140px !important; }

  .hotline-phone-ring-wrap { bottom: 60px; left: 12px; }
  .hotline-bar { display: none; }
  .lienlac { right: 10px; bottom: 60px; }
  .giuseart-nav li a { width: 38px; height: 38px; }
  .giuseart-nav li a img { width: 38px; height: 38px; }
  .backtotop { right: 10px; bottom: 16px; width: 36px; height: 36px; }
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — VERY SMALL (≤ 360px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .list-product-by-category .box-wrap { grid-template-columns: repeat(2, 1fr); }
}
